/* Shared public people UI. Uses the existing findensaunagus.dk directory/card/detail language. */
.sgg-people-directory-page{background:transparent;color:#171717}.sgg-people-directory-page .fsg-facility-shell{padding-top:112px;padding-bottom:72px}.sgg-people-directory-page .fsg-facility-hero-copy{max-width:820px}.sgg-people-directory-page .fsg-facility-results{margin-top:20px}.sgg-people-result-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sgg-people-result-actions .btn{min-height:40px;padding:9px 14px;border-radius:999px;font-size:12px;font-weight:700}.sgg-people-results-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.sgg-filter-text-field{position:relative;display:block;margin:0}.sgg-filter-text-field>i{position:absolute;left:13px;top:50%;transform:translateY(-50%);z-index:1;color:#83837d;font-size:13px;pointer-events:none}.sgg-filter-text-field input{width:100%;height:44px;padding:0 13px 0 38px;border:1px solid #d9d9d4;border-radius:9px;background:#fff;color:#171717;font:550 13px/1 'Figtree',sans-serif;outline:none}.sgg-filter-text-field input:focus{border-color:#8f8f89;box-shadow:0 0 0 3px rgba(17,17,17,.055)}

.sgg-person-card{height:100%;overflow:hidden;border:1px solid #deded9!important;border-radius:18px!important;background:#fff;box-shadow:none!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.sgg-person-card:hover{transform:translateY(-2px);border-color:#cdcdc7!important;box-shadow:0 12px 28px rgba(23,23,23,.06)!important}
.sgg-person-card-media-link{display:block;color:inherit;text-decoration:none}
.sgg-person-card-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#e9e8e2}
.sgg-person-card-cover{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.sgg-person-card:hover .sgg-person-card-cover{transform:scale(1.015)}
.sgg-person-card-cover-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:linear-gradient(145deg,#efeee8,#deddd5);color:#777770}
.sgg-person-card-cover-fallback i{font-size:30px;opacity:.72}
.sgg-person-card-media:after{content:"";position:absolute;inset:auto 0 0;height:48%;background:linear-gradient(to bottom,transparent,rgba(17,17,17,.12));pointer-events:none}
.sgg-person-card-city{top:12px!important;left:12px!important;right:auto!important;z-index:2;display:inline-flex!important;align-items:center;gap:5px;max-width:calc(100% - 24px);padding:7px 10px!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:999px!important;background:rgba(255,255,255,.93)!important;color:#252521!important;box-shadow:0 4px 14px rgba(17,17,17,.08);font-size:10px!important;font-weight:750!important;line-height:1!important;backdrop-filter:blur(8px)}
.sgg-person-card-city i{font-size:11px}
.sgg-person-card-body{position:relative;padding:0 18px 14px!important}
.sgg-person-card-identity{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:end;margin-top:-31px;position:relative;z-index:3}
.sgg-person-card-avatar{display:flex;align-items:center;justify-content:center;overflow:hidden;width:72px;height:72px;border:4px solid #fff;border-radius:50%;background:#efefea;color:#484843;box-shadow:0 3px 12px rgba(17,17,17,.1);font-size:20px;font-weight:850;letter-spacing:-.035em;text-decoration:none}
.sgg-person-card-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.sgg-person-card-avatar span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#efefea}
.sgg-person-card-identity-copy{min-width:0;padding:36px 0 2px}
.sgg-person-card-identity-copy h2{margin:0;font-size:19px;font-weight:850;line-height:1.14;letter-spacing:-.025em}
.sgg-person-card-identity-copy h2 a{display:block;overflow:hidden;color:#171717;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
.sgg-person-card-identity-copy h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.sgg-person-card-kicker{display:flex;align-items:center;gap:5px;margin:5px 0 0;color:#73736d;font-size:10.5px;font-weight:700;line-height:1.3}
.sgg-person-card-kicker i{font-size:11px}
.sgg-person-card-copy{display:-webkit-box;margin:11px 0 0;overflow:hidden;color:#5e5e59;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.sgg-person-card-chips{margin-top:12px}
.sgg-people-chip-row{display:flex;flex-wrap:wrap;gap:7px}
.sgg-people-chip-row>span{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border:1px solid #deded9;border-radius:999px;background:#fff;color:#555550;font-size:10px;font-weight:650}
.sgg-people-chip-row.is-large>span{min-height:32px;padding:6px 12px;font-size:11px}
.sgg-person-card-footer{padding:12px 16px 15px 18px!important;border-top:1px solid #ecece7!important;background:#fff!important}
.sgg-person-card-footer-row,.sgg-card-relation-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sgg-person-card-status{display:flex;min-width:0;flex-direction:column}
.sgg-person-card-status .price-label{margin:0!important;color:#85857f;font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.sgg-person-card-status strong{overflow:hidden;color:#33332f;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.sgg-person-card-footer .btn{min-height:36px;padding:7px 13px!important;border-radius:999px!important;font-size:11px}
.sgg-person-connect-form{margin:0}
.sgg-card-inline-action{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#363632;font:750 11px/1.2 'Figtree',sans-serif;cursor:pointer;text-decoration:none}
.sgg-card-inline-action:hover{color:#000;text-decoration:underline;text-underline-offset:3px}
.sgg-card-inline-status{display:inline-flex;align-items:center;gap:6px;color:#176b45;font-size:11px;font-weight:750}
.sgg-card-request-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%}
.sgg-card-request-actions form{margin:0}
.sgg-card-request-primary,.sgg-card-request-secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:36px;padding:8px 12px;border-radius:9px;font:750 11px/1 'Figtree',sans-serif;cursor:pointer}
.sgg-card-request-primary{border:1px solid #171717;background:#171717;color:#fff}
.sgg-card-request-primary:hover{background:#000}
.sgg-card-request-secondary{border:1px solid #deded9;background:#fff;color:#555550}
.sgg-card-request-secondary:hover{border-color:#bdbdb7;background:#f7f7f4;color:#171717}
.sgg-people-empty{max-width:760px;margin:34px auto 0;padding:42px 24px!important;border:1px solid #e5e5e0!important;border-radius:20px!important;background:#fff!important;text-align:center}.sgg-people-empty>i{font-size:24px}.sgg-people-empty h2{margin:10px 0 6px;font-size:22px;font-weight:800}.sgg-people-empty p{margin:0 auto;max-width:560px;color:#6f6f69;font-size:13px}.sgg-people-empty .btn{margin-top:16px}


/* Canonical public person profile — shared by member and gusmaster profiles. */
.sgg-person-profile-page{background:#faf9f5;color:#171717}
.sgg-person-profile-page .breadcrumb-bund{display:block!important}
.sgg-person-detail-header{margin-top:84px;padding:0!important}
.sgg-person-detail-header .photo-wrap{padding-top:8px;padding-bottom:0}
.sgg-person-cover-shell{overflow:hidden;border-radius:22px;background:#efefea}
.sgg-person-cover-grid{height:300px!important;background:#efefea}
.sgg-person-cover-grid .photo-item,.sgg-person-cover-grid .photo-item img{width:100%;height:100%}
.sgg-person-cover-grid .photo-item img{object-fit:cover;object-position:center 42%}

.sgg-person-profile-head{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:0;padding:22px 10px 18px}
.sgg-person-identity{display:flex;align-items:center;min-width:0;gap:18px}
.sgg-person-profile-avatar{display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 104px;width:104px;height:104px;border:4px solid #fff;border-radius:50%;background:#efefea;color:#50504b;box-shadow:0 3px 14px rgba(0,0,0,.06);font-size:30px;font-weight:800;letter-spacing:-.05em}
.sgg-person-profile-avatar img{width:100%;height:100%;object-fit:cover}
.sgg-person-identity-copy{min-width:0}
.sgg-person-identity-copy h1,.sgg-person-identity-copy .display-6{margin:0!important;color:#171717;font-size:clamp(34px,3.3vw,42px)!important;font-weight:800!important;line-height:1.04!important;letter-spacing:-.04em!important}
.sgg-person-place-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 18px;margin-top:8px;color:#6c6c66;font-size:13px;line-height:1.4}
.sgg-person-place-meta span{display:inline-flex;align-items:center;gap:6px;min-width:0}
.sgg-person-place-meta i{font-size:13px}
.sgg-person-identity-copy .sgg-people-chip-row{margin-top:10px!important}
.sgg-people-chip-row{display:flex;flex-wrap:wrap;gap:7px}
.sgg-people-chip-row.is-large>span{min-height:32px;padding:6px 12px;border:1px solid #deded9;border-radius:999px;background:#fff;color:#555550;font-size:12px;font-weight:650;line-height:1.2}
.sgg-gusmaster-type-pill{display:inline-flex;align-items:center;min-height:30px;padding:6px 11px;border:1px solid #deded9;border-radius:999px;background:#f8f8f5;color:#62625d;font-size:11px;font-weight:750}
.sgg-gusmaster-profile-lead{max-width:820px;margin:0 10px 16px;color:#5e5e58;font-size:15px;line-height:1.6}

.sgg-person-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}
.sgg-person-profile-actions form{margin:0}
.sgg-person-profile-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 16px;border-radius:999px;font-size:13px;font-weight:700;line-height:1.1;white-space:nowrap}
.sgg-person-profile-actions .btn.is-icon{width:44px;padding:0}
.sgg-profile-more-menu{position:relative}
.sgg-profile-more-menu>summary{list-style:none;cursor:pointer}
.sgg-profile-more-menu>summary::-webkit-details-marker{display:none}
.sgg-profile-more-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:190px;padding:7px;border:1px solid #deded9;border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(17,17,17,.12)}
.sgg-profile-more-popover form{margin:0}
.sgg-profile-more-popover button{width:100%;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#454540;text-align:left;font:650 12px/1.2 'Figtree',sans-serif}
.sgg-profile-more-popover button:hover{background:#f6f6f2}

.sgg-profile-tabs{display:flex;align-items:center;gap:30px;min-height:54px;margin:0 10px;padding:0;border-bottom:1px solid #deded8;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sgg-profile-tabs::-webkit-scrollbar{display:none}
.sgg-profile-tabs button,.sgg-profile-tabs a{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;min-height:54px;padding:0;border:0;background:transparent;color:#4b4b46;text-decoration:none;white-space:nowrap;font:700 13px/1.2 'Figtree',sans-serif;cursor:pointer}
.sgg-profile-tabs button:hover,.sgg-profile-tabs a:hover,.sgg-profile-tabs button.is-active,.sgg-profile-tabs a.is-active{color:#111}
.sgg-profile-tabs button.is-active:after,.sgg-profile-tabs a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:#171717}
.sgg-profile-tabs button:focus-visible,.sgg-profile-tabs a:focus-visible{outline:2px solid #171717;outline-offset:3px;border-radius:4px}

.sgg-person-profile-content{padding-top:20px}
.sgg-profile-layout-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(280px,.9fr);gap:20px;align-items:start}
.sgg-profile-main-column,.sgg-profile-side-column{display:grid;min-width:0;gap:16px}
.sgg-profile-card{min-width:0;padding:24px;border:1px solid #deded9;border-radius:18px;background:#fff;box-shadow:none}
.sgg-profile-card h2{margin:0 0 16px;color:#171717;font-size:22px;font-weight:800;line-height:1.2;letter-spacing:-.025em}
.sgg-profile-prose{color:#3d3d38;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.sgg-profile-prose p{margin-bottom:12px}.sgg-profile-prose p:last-child{margin-bottom:0}
.sgg-profile-facts{position:sticky;top:108px}
.sgg-profile-fact{display:grid;grid-template-columns:22px minmax(88px,.8fr) minmax(0,1.2fr);gap:10px;align-items:center;padding:12px 0;border-top:1px solid #eeeeea;font-size:13px;line-height:1.4}
.sgg-profile-fact:first-of-type{border-top:0}
.sgg-profile-fact i{color:#5f5f59;font-size:14px}
.sgg-profile-fact span{color:#74746e}
.sgg-profile-fact strong{min-width:0;color:#252521;font-size:13px;font-weight:700;text-align:right;overflow-wrap:anywhere}
.sgg-profile-checks{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.sgg-profile-checks li{display:flex;align-items:flex-start;gap:10px;color:#3e3e3a;font-size:14px;line-height:1.45}
.sgg-profile-checks li>span{display:flex;align-items:center;justify-content:center;flex:0 0 27px;width:27px;height:27px;border:1px solid #cfe5d8;border-radius:50%;background:#f5fbf7;color:#176b45}
.sgg-profile-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.sgg-profile-section-heading h2{margin-bottom:3px}
.sgg-profile-section-heading p{margin:0;color:#777771;font-size:12px;line-height:1.5}
.sgg-profile-sauna-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.sgg-profile-sauna-grid>.sauna-place{width:100%;min-width:0;margin:0}
.sgg-profile-sauna-grid .sauna-card{height:100%;margin:0}
.sgg-profile-tab-panel[hidden]{display:none!important}
.sgg-member-gate{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center}
.sgg-member-gate-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#f3f3ef;color:#555550}
.sgg-member-gate strong{display:block;font-size:14px;font-weight:800}
.sgg-member-gate p{margin:4px 0 0;color:#777771;font-size:12px;line-height:1.5}

@media(max-width:991.98px){
  .sgg-person-cover-grid{height:260px!important}
  .sgg-person-profile-head{align-items:flex-start;flex-wrap:wrap}
  .sgg-person-profile-actions{width:100%;justify-content:flex-start}
  .sgg-profile-layout-grid{grid-template-columns:minmax(0,1.45fr) minmax(250px,.85fr)}
}

@media(max-width:767.98px){
  .sgg-people-directory-page .fsg-facility-shell{padding-top:88px;padding-right:16px!important;padding-left:16px!important}
  .sgg-people-result-actions{justify-content:flex-start;width:100%;margin-top:10px}
  .sgg-people-results-grid{grid-template-columns:1fr}

  .sgg-person-detail-header{margin-top:68px}
  .sgg-person-detail-header .photo-wrap{max-width:none!important;padding:0!important}
  .sgg-person-detail-header .photo-wrap>.row{margin-right:0!important;margin-left:0!important}
  .sgg-person-detail-header .photo-wrap>.row>[class*="col-"]{padding-right:0!important;padding-left:0!important}
  .sgg-person-cover-shell{border-radius:0!important}
  .sgg-person-cover-grid{height:210px!important}
  .sgg-person-profile-head{display:block;padding:16px 16px 12px}
  .sgg-person-identity{align-items:center;gap:12px}
  .sgg-person-profile-avatar{width:76px;height:76px;flex-basis:76px;border-width:3px;font-size:22px}
  .sgg-person-identity-copy h1,.sgg-person-identity-copy .display-6{font-size:29px!important;line-height:1.04!important}
  .sgg-person-place-meta{gap:5px 11px;margin-top:6px;font-size:11px}
  .sgg-person-place-meta span{gap:5px}
  .sgg-person-identity-copy .sgg-people-chip-row{margin-top:8px!important}
  .sgg-person-identity-copy .sgg-people-chip-row.is-large>span{min-height:29px;padding:5px 9px;font-size:10px}
  .sgg-person-profile-actions{width:100%;margin:14px 0 0;gap:8px;justify-content:flex-start}
  .sgg-person-profile-actions>form{flex:1 1 auto}
  .sgg-person-profile-actions>form>.btn{width:100%}
  .sgg-person-profile-actions>.btn:not(.is-icon),.sgg-person-profile-actions>a.btn{flex:1 1 auto}
  .sgg-person-profile-actions .btn{min-height:42px;padding:9px 13px;font-size:12px}
  .sgg-gusmaster-profile-lead{margin:0 16px 13px;font-size:14px;line-height:1.55}
  .sgg-profile-tabs{gap:22px;min-height:50px;margin:0;padding:0 16px;scroll-padding-inline:16px}
  .sgg-profile-tabs button,.sgg-profile-tabs a{min-height:50px;font-size:12px}
  .sgg-person-profile-content{max-width:none!important;padding:14px 16px 0!important}
  .sgg-person-profile-content>.row{margin:0!important}
  .sgg-person-profile-content>.row>[class*="col-"]{padding:0!important}
  .sgg-profile-layout-grid{grid-template-columns:1fr;gap:14px}
  .sgg-profile-main-column,.sgg-profile-side-column{gap:14px}
  .sgg-profile-card{padding:18px 16px;border-radius:16px}
  .sgg-profile-card h2{margin-bottom:13px;font-size:19px}
  .sgg-profile-prose{font-size:14px;line-height:1.65}
  .sgg-profile-facts{position:static}
  .sgg-profile-fact{grid-template-columns:20px minmax(78px,.85fr) minmax(0,1.15fr);gap:8px;padding:11px 0;font-size:12px}
  .sgg-profile-fact strong{font-size:12px}
  .sgg-profile-checks li{font-size:13px}
  .sgg-profile-section-heading{align-items:flex-start;flex-direction:column;gap:4px}
  .sgg-profile-sauna-grid{grid-template-columns:1fr;gap:14px}
  .sgg-member-gate{grid-template-columns:38px minmax(0,1fr);align-items:start}
  .sgg-member-gate>.d-flex{grid-column:1/-1;width:100%}
  .sgg-member-gate>.d-flex .btn{flex:1}
  .sgg-member-gate-icon{width:38px;height:38px}
  .sgg-profile-more-popover{position:fixed;right:12px;bottom:12px;left:12px;top:auto;width:auto;max-height:calc(100dvh - 24px);overflow:auto}
}

@media(max-width:420px){
  .sgg-person-cover-grid{height:190px!important}
  .sgg-person-profile-head{padding-right:14px;padding-left:14px}
  .sgg-person-profile-avatar{width:68px;height:68px;flex-basis:68px;font-size:20px}
  .sgg-person-identity-copy h1,.sgg-person-identity-copy .display-6{font-size:26px!important}
  .sgg-person-place-meta{font-size:10.5px}
  .sgg-person-profile-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto}
  .sgg-person-profile-actions>form{min-width:0}
  .sgg-person-profile-actions>form>.btn,.sgg-person-profile-actions>a.btn:first-child,.sgg-person-profile-actions>button.btn:first-child{width:100%}
  .sgg-profile-tabs{padding-right:14px;padding-left:14px}
  .sgg-person-profile-content{padding-right:14px!important;padding-left:14px!important}
}

/* Gusmester invite state + modal. Keep actions usable on desktop and mobile. */
.sgg-person-profile-actions .sgg-profile-relation-state{pointer-events:none;opacity:1!important;color:#555550}
.sgg-person-profile-actions .sgg-profile-relation-state.is-active{border-color:#cfe5d8;background:#f5fbf7;color:#176b45}
.sgg-public-invite-dialog{width:min(560px,calc(100vw - 32px));max-width:560px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:auto;border:1px solid #dcdcd7;border-radius:18px;background:#fff;color:#171717;box-shadow:0 28px 90px rgba(17,17,17,.22)}
.sgg-public-invite-dialog::backdrop{background:rgba(17,17,17,.42);backdrop-filter:blur(2px)}
.sgg-public-invite-dialog[open]{display:block}
.sgg-public-invite-close-form{position:absolute;top:14px;right:14px;z-index:2;margin:0}
.sgg-public-invite-close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #deded9;border-radius:50%;background:#fff;color:#171717;font:inherit;cursor:pointer}
.sgg-public-invite-copy{padding:28px 72px 19px 28px;border-bottom:1px solid #ecece7}
.sgg-public-invite-copy>span{display:block;color:#85857f;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.sgg-public-invite-copy h2{margin:5px 0 8px;color:#171717;font-size:25px;font-weight:850;line-height:1.12;letter-spacing:-.035em}
.sgg-public-invite-copy p{margin:0;color:#6f6f69;font-size:13px;line-height:1.55}
.sgg-public-invite-form{display:grid;gap:18px;padding:22px 28px 28px}
.sgg-public-invite-form label{display:flex;flex-direction:column;gap:7px;margin:0;color:#444440;font-size:13px;font-weight:700}
.sgg-public-invite-form label em{color:#94948f;font-style:normal;font-weight:550}
.sgg-public-invite-form textarea{width:100%;min-height:132px;padding:12px 13px;border:1px solid #d9d9d4;border-radius:11px;background:#fff;color:#171717;font:550 14px/1.5 'Figtree',sans-serif;resize:vertical;outline:0}
.sgg-public-invite-form textarea:focus{border-color:#777772;box-shadow:0 0 0 3px rgba(23,23,23,.06)}
.sgg-public-invite-actions{display:flex;justify-content:flex-end;gap:9px}
.sgg-public-invite-actions .btn{min-height:44px;margin:0;padding:10px 16px;border-radius:999px;font-size:13px;font-weight:750}
@media(max-width:767.98px){
  .sgg-public-invite-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:16px}
  .sgg-public-invite-copy{padding:24px 58px 17px 20px}
  .sgg-public-invite-copy h2{font-size:22px}
  .sgg-public-invite-form{padding:18px 20px calc(20px + env(safe-area-inset-bottom))}
  .sgg-public-invite-form textarea{font-size:16px}
  .sgg-public-invite-actions{display:grid;grid-template-columns:1fr 1fr}
  .sgg-public-invite-actions .btn{width:100%}
}
@media(max-width:420px){
  .sgg-public-invite-actions{grid-template-columns:1fr}
}

/* Relationship actions: one stable state row across directory + profile. */
.sgg-person-card-relation{margin-top:12px;padding-top:11px;border-top:1px solid #ecece7;min-height:36px;display:flex;align-items:center}
.sgg-person-card-relation .sgg-person-connect-form{width:100%;margin:0;padding:0;border:0}
.sgg-card-inline-status.is-pending{color:#6b6251}
.sgg-community-action-error{display:block;margin-top:8px;color:#9c2d2d;font-size:11px;font-weight:650;line-height:1.35}
.sgg-community-action-busy{opacity:.62;pointer-events:none}

@media(max-width:520px){
  .sgg-person-card{border-radius:16px!important}
  .sgg-person-card-media{aspect-ratio:16/8.8}
  .sgg-person-card-body{padding-right:16px!important;padding-left:16px!important}
  .sgg-person-card-identity{grid-template-columns:66px minmax(0,1fr);gap:11px;margin-top:-28px}
  .sgg-person-card-avatar{width:66px;height:66px;border-width:3px;font-size:18px}
  .sgg-person-card-identity-copy{padding-top:32px}
  .sgg-person-card-identity-copy h2{font-size:18px}
  .sgg-person-card-footer{padding-right:14px!important;padding-left:16px!important}
  .sgg-card-request-actions{grid-template-columns:1fr 1fr}
}

/* v9.6.83 — keep the improved community request/discovery states without changing public profile layout. */
.sgg-directory-request-link{display:inline-flex!important;align-items:center;gap:7px}
.sgg-directory-request-link>span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#171717;color:#fff;font-size:10px;font-weight:850;line-height:1}
.sgg-directory-request-link.has-requests{border-color:#171717!important;background:#fff!important;color:#171717!important}
.sgg-directory-request-callout{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:center;margin:0 0 18px;padding:14px 16px;border:1px solid #deded9;border-radius:14px;background:#fafaf7;color:#171717}
.sgg-directory-request-callout-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#171717;color:#fff;font-size:15px}
.sgg-directory-request-callout>div{display:flex;min-width:0;flex-direction:column;gap:2px}
.sgg-directory-request-callout>div>span{color:#878781;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.sgg-directory-request-callout>div>strong{font-size:13px;font-weight:850;line-height:1.35}
.sgg-directory-request-callout p{margin:0;color:#74746e;font-size:10.5px;line-height:1.45}
.sgg-directory-request-callout>a{display:inline-flex;align-items:center;gap:7px;color:#171717;font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap}
.sgg-directory-request-callout>a:hover{text-decoration:underline;text-underline-offset:3px}
.sgg-person-card-media{position:relative}
.sgg-person-card-relation-badge{position:absolute;right:12px;bottom:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:5px 9px;border:1px solid rgba(255,255,255,.8);border-radius:999px;background:#fff;color:#171717;box-shadow:0 4px 14px rgba(23,23,23,.12);font-size:9.5px;font-weight:850;line-height:1}
.sgg-person-card-relation-badge.is-outgoing{background:rgba(255,255,255,.94);color:#676761}
.sgg-person-card-relation[data-sgg-connection-state="incoming"]{margin-top:11px;padding-top:11px;border-top:1px solid #ecece7}
.sgg-person-card-relation[data-sgg-connection-state="incoming"]:before{content:"Vil oprette forbindelse med dig";display:block;margin-bottom:7px;color:#6f6f69;font-size:9.5px;font-weight:750;line-height:1.35}
@media(max-width:767.98px){
  .sgg-directory-request-callout{grid-template-columns:38px minmax(0,1fr);margin-bottom:14px;padding:12px}
  .sgg-directory-request-callout-icon{width:38px;height:38px}
  .sgg-directory-request-callout>a{grid-column:2;white-space:normal}
  .sgg-person-card-relation-badge{right:10px;bottom:10px}
}


/* v9.6.84 — public profile mobile polish.
   One CTA language across public member/gusmaster profiles: pill actions, no
   duplicated guest login on member profiles, and the cover begins behind the
   fixed mobile navbar instead of being pushed down by an artificial spacer. */
.sgg-person-profile-page :is(a.btn,button.btn,span.btn){border-radius:999px!important}
.sgg-person-profile-page .sgg-member-gate>.d-flex .btn{
  min-height:44px;
  padding:10px 18px;
  border-radius:999px!important;
  font-size:13px;
  font-weight:750;
  line-height:1.1;
}

@media(max-width:767.98px){
  /* Navbar is fixed. Let the cover itself start at y=0 and continue behind
     it, just like the site's canonical mobile place-detail hero. Increasing
     the media height preserves the same visible cover height below navbar. */
  .sgg-person-detail-header{margin-top:0!important}
  .sgg-person-cover-grid{height:282px!important}
  .sgg-person-cover-shell .top-actions-left{top:16px}
  .sgg-person-cover-shell .top-actions-left .btn{margin-top:72px}

  .sgg-person-profile-actions .btn,
  .sgg-person-profile-actions form>.btn{
    min-height:44px;
    padding:10px 16px;
    border-radius:999px!important;
  }
  .sgg-member-gate>.d-flex{gap:8px!important}
  .sgg-member-gate>.d-flex .btn{min-height:46px}

  /* A signed-out community profile has only the share action in its header.
     Keep that action compact and on the right instead of stretching it like
     a primary login CTA. */
  body.sgg-community-profile-page:not(.logged-in) .sgg-person-profile-actions{
    display:flex;
    justify-content:flex-end;
  }
  body.sgg-community-profile-page:not(.logged-in) .sgg-person-profile-actions>.btn{
    flex:0 0 auto;
    width:auto;
  }
}

@media(max-width:420px){
  .sgg-person-cover-grid{height:262px!important}
  .sgg-person-cover-shell .top-actions-left .btn{margin-top:72px}
  body.sgg-community-profile-page:not(.logged-in) .sgg-person-profile-actions{
    display:flex;
    justify-content:flex-end;
  }
}


/* v9.6.85 — gusmaster identity uses the same verified mark as venue profiles.
   "Gusmester" is role text, not a competing badge. */
.sgg-person-role-label{
  display:block;
  margin:0 0 4px;
  color:#777771;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.sgg-person-identity-copy .sgg-verified-profile--person{
  margin-left:0;
  font-size:25px;
  vertical-align:middle;
}
@media(max-width:767.98px){
  .sgg-person-role-label{margin-bottom:3px;font-size:9px}
  .sgg-person-identity-copy .sgg-verified-profile--person{font-size:21px}
}

/* v9.6.86 — calmer discovery cards. Keep cover/avatar and relationship tools,
   remove decorative badges/chip overload and present information like a real directory. */
.sgg-person-card--clean{
  border-color:#deded9!important;
  border-radius:12px!important;
  box-shadow:none!important;
  transition:border-color .15s ease!important;
}
.sgg-person-card--clean:hover{
  transform:none!important;
  border-color:#bfbfb9!important;
  box-shadow:none!important;
}
.sgg-person-card--clean .sgg-person-card-media{aspect-ratio:16/8.6;background:#e9e8e3}
.sgg-person-card--clean .sgg-person-card-media:after{display:none}
.sgg-person-card--clean:hover .sgg-person-card-cover{transform:none}
.sgg-person-card--clean .sgg-person-card-cover-fallback{background:#e9e8e3;color:#777771}
.sgg-person-card--clean .sgg-person-card-body{display:flex;min-height:0;flex-direction:column;padding:0 17px 16px!important}
.sgg-person-card--clean .sgg-person-card-identity{grid-template-columns:64px minmax(0,1fr);gap:12px;margin-top:-25px;align-items:end}
.sgg-person-card--clean .sgg-person-card-avatar{width:64px;height:64px;border-width:3px;box-shadow:none;font-size:18px}
.sgg-person-card--clean .sgg-person-card-identity-copy{padding:29px 0 1px}
.sgg-person-card--clean .sgg-person-card-identity-copy h2{font-size:18px;font-weight:800;letter-spacing:-.022em}
.sgg-person-card--clean .sgg-person-card-meta{margin:5px 0 0;color:#777771;font-size:10.5px;font-weight:550;line-height:1.35}
.sgg-person-card--clean .sgg-person-card-copy{margin:13px 0 0;color:#5e5e58;font-size:11.5px;line-height:1.5;-webkit-line-clamp:2}
.sgg-person-card--clean .sgg-person-card-detail{margin:13px 0 0;color:#555550;font-size:10.5px;font-weight:600;line-height:1.45}
.sgg-person-card--clean .sgg-person-card-detail>span{margin-right:7px;color:#8a8a84;font-size:9px;font-weight:750;letter-spacing:.055em;text-transform:uppercase}
.sgg-person-card--clean .sgg-person-card-simple-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px}
.sgg-person-card--clean .sgg-person-card-quiet-meta,.sgg-person-card--clean .sgg-person-card-relation-copy{display:inline-flex;align-items:center;gap:5px;color:#777771;font-size:10px;font-weight:600;line-height:1.3}
.sgg-person-card--clean .sgg-person-card-relation-copy:empty{display:block}
.sgg-person-card--clean .sgg-person-card-primary{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:8px 13px!important;border-radius:999px!important;font-size:10.5px;font-weight:750;line-height:1}
.sgg-person-card--clean .sgg-person-card-primary i{font-size:11px}
.sgg-person-card--clean .sgg-person-card-relation--clean{min-height:0;margin:13px 0 0;padding:12px 0 0;border-top:1px solid #ecece7}
.sgg-person-card--clean .sgg-person-card-relation--clean[data-sgg-connection-state="incoming"]:before{display:none}
.sgg-person-card--clean .sgg-person-card-relation--clean .sgg-person-connect-form{width:auto}
.sgg-person-card--clean .sgg-card-inline-action{font-size:10.5px;font-weight:700}
.sgg-person-card--clean .sgg-card-request-actions{grid-template-columns:1fr 1fr;gap:7px}
.sgg-person-card--clean .sgg-card-request-primary,.sgg-person-card--clean .sgg-card-request-secondary{min-height:34px;padding:7px 11px;border-radius:999px;font-size:10.5px}
.sgg-person-card--clean .sgg-card-request-secondary{background:#fff}

@media(max-width:520px){
  .sgg-person-card--clean{border-radius:12px!important}
  .sgg-person-card--clean .sgg-person-card-media{aspect-ratio:16/8.4}
  .sgg-person-card--clean .sgg-person-card-body{padding-right:15px!important;padding-left:15px!important}
  .sgg-person-card--clean .sgg-person-card-identity{grid-template-columns:60px minmax(0,1fr);margin-top:-24px}
  .sgg-person-card--clean .sgg-person-card-avatar{width:60px;height:60px}
  .sgg-person-card--clean .sgg-person-card-identity-copy{padding-top:28px}
  .sgg-person-card--clean .sgg-person-card-simple-footer{padding-top:14px}
}
.sgg-person-card--clean .sgg-card-inline-action{
  min-height:34px;
  padding:7px 11px;
  border:1px solid #deded9;
  border-radius:999px;
  background:#fff;
  color:#393936;
  text-decoration:none;
}
.sgg-person-card--clean .sgg-card-inline-action:hover{border-color:#bdbdb7;background:#f7f7f4;color:#171717;text-decoration:none}
