#member-profile-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 28px));max-height:90dvh;padding:0;border:1px solid #eadce6;border-radius:24px;background:#fff;color:#433348;box-shadow:0 30px 100px #38263944;overscroll-behavior:contain;font-family:Inter,system-ui,sans-serif}
#member-profile-dialog::backdrop{background:#281c32a3;backdrop-filter:blur(4px)}
.member-profile-close{position:sticky;float:right;top:14px;right:14px;margin:14px 14px -54px 0;z-index:5;width:40px;height:40px;border-radius:50%;border:1px solid #ebdeea;background:#fff;color:#67405b;font-size:27px;cursor:pointer;box-shadow:0 2px 8px #30203014}
.smart-profile-details{max-width:760px;margin:auto;background:#fff;border-radius:20px;overflow:hidden}.smart-profile-header{padding:24px 72px 22px 26px;position:relative}.smart-profile-header h2{margin:0 0 6px;font-size:25px;font-weight:700;line-height:1.3}.smart-profile-location{margin:0;color:#837287;font-size:13px}.profile-presence{display:inline-flex;gap:6px;align-items:center;font-size:11px;color:#857a87;margin-top:10px}.profile-presence:before{content:'';width:7px;height:7px;background:#a9a1ab;border-radius:50%}.profile-presence.is-online{color:#327963}.profile-presence.is-online:before{background:#45ac83}
.smart-profile-body{padding:24px 26px 0}.smart-profile-body h3{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9b738d;margin:24px 0 8px}.smart-profile-body p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.smart-profile-body .profile-send-message{display:flex;gap:9px;align-items:center;justify-content:center;padding:13px 18px;border-radius:12px;color:white;background:#22796f;text-decoration:none;font-size:14px;font-weight:600}.profile-extra-details{display:grid;grid-template-columns:1fr 1fr;gap:24px 20px;margin:26px 0}.profile-extra-details dt{color:#907c91;font-size:12px;margin-bottom:7px}.profile-extra-details dd{margin:0;color:#48364e;font-size:14px;overflow-wrap:anywhere}.profile-interests-fact{grid-column:1/-1}.profile-interest-chips{display:flex;flex-wrap:wrap;gap:7px}.profile-interest-chips span{padding:7px 11px;border:1px solid #edd6e3;background:#fcf4f8;border-radius:20px;font-size:12px;color:#945273}.verification-badges{display:flex;gap:8px;flex-wrap:wrap}.verification-badges span{padding:8px 10px;border-radius:9px;background:#f4f0f5;color:#817086;font-size:11px}.verification-badges .verified{background:#eaf6f0;color:#2e7d61}.profile-link-button{border:0;background:transparent;color:#a53760;font:600 13px Inter,sans-serif;padding:9px 0;cursor:pointer}.profile-secondary-actions{border-top:1px solid #f0e5ed;padding:14px 0}.profile-secondary-actions [role=status]{display:block;font-size:12px}.profile-safety{padding:12px 0 24px;font-size:13px;color:#857189}.profile-safety summary{cursor:pointer}.profile-safety form{display:grid;gap:12px;margin-top:16px}.profile-safety label{display:grid;gap:6px}.profile-safety select,.profile-safety textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #dfcfde;border-radius:10px;font:inherit}.profile-safety button{border:1px solid #ddc4d4;border-radius:10px;background:#f9f0f6;color:#993c65;padding:10px;font:600 13px Inter,sans-serif;cursor:pointer}.profile-sticky-actions{position:sticky;bottom:0;display:flex;gap:12px;background:#fffefeee;padding:16px 0;border-top:1px solid #efe2eb;backdrop-filter:blur(8px)}.profile-sticky-actions form,.profile-sticky-actions>span{flex:1}.profile-sticky-actions button{width:100%;border:1px solid #e3d7e3;border-radius:12px;background:#faf6fa;color:#8e7a90;padding:12px;font:600 14px Inter,sans-serif;cursor:pointer}.profile-sticky-actions .profile-like{background:#a53760;color:white;border-color:#a53760}.member-profile-status:empty{display:none}.member-profile-status{padding:30px;text-align:center}.member-profile-content .member-photo-slide img{height:340px;object-fit:contain;background:#f7f0f6}
.profile-privacy{border:0;border-top:1px solid #eadfea;margin:0;padding:20px 28px}.profile-privacy legend{float:left;width:100%;font-weight:600;font-size:14px;margin-bottom:5px}.profile-privacy p{font-size:12px;color:#8b7a90}.profile-privacy>div{display:flex;gap:18px;flex-wrap:wrap}.profile-privacy label{display:flex;align-items:center;gap:7px;font-size:13px}.profile-privacy input[type=checkbox]{appearance:auto;width:18px;height:18px;accent-color:#a53760;position:static;opacity:1}.contact-access-requests{margin-top:22px;border-top:1px solid #eadfea;padding-top:18px}.contact-access-requests p{font-size:12px;color:#8b7a90}.contact-request-row{display:flex;gap:10px;align-items:center;padding:10px 0;font-size:13px;flex-wrap:wrap}.contact-request-row span{flex:1}.contact-request-row button{padding:8px 12px;border:1px solid #ddc9da;border-radius:8px;background:#f9f0f6;color:#97365e;cursor:pointer}
.interest-picker{border:1px solid #dfd1e0;border-radius:12px;background:#fff}.interest-picker summary{padding:13px;cursor:pointer;font-size:13px;color:#674361}.interest-options{padding:12px;border-top:1px solid #eee3ed}.interest-options input[type=search]{margin-bottom:12px}.interest-checkboxes{max-height:270px;overflow:auto;display:grid;gap:7px}.interest-checkboxes label{display:flex;align-items:center;gap:10px;padding:7px;font-size:13px;border-radius:8px;cursor:pointer}.interest-checkboxes label:has(:checked){background:#faeaf2;color:#a53760}.interest-checkboxes input[type=checkbox]{appearance:auto!important;opacity:1!important;position:static!important;width:17px!important;height:17px!important;accent-color:#a53760;flex-shrink:0}.interest-checkboxes [hidden]{display:none}.account-input select[data-interest-select][hidden]{display:none}.profile-privacy input:focus-visible,.interest-picker summary:focus-visible{outline:2px solid #b981a5;outline-offset:3px}
@media(max-width:600px){#member-profile-dialog{max-height:94dvh;border-radius:18px}.smart-profile-header{padding:22px 65px 18px 20px}.smart-profile-body{padding:20px 20px 0}.member-profile-content .member-photo-slide img{height:280px}.profile-extra-details{gap:20px 12px}.profile-privacy{padding:20px}.profile-privacy>div{gap:14px}}

.account-verification{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #eadfea}.account-verification h3{font-size:14px;margin-top:0}.account-verification p{font-size:12px;color:#95819b}
.profile-sticky-actions-single form,.profile-sticky-actions-single>span{flex:1 1 100%}

#member-profile-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
#member-profile-dialog .member-profile-close{position:absolute;right:14px;top:14px;margin:0;float:none}
.member-profile-content{min-height:0;overflow:auto;overscroll-behavior:contain}
.member-profile-actions{flex-shrink:0;padding:0 26px;background:#fff}
.member-profile-actions[hidden]{display:none}
.member-profile-actions .profile-sticky-actions{position:static;border:0;margin:0}
.member-photo-placeholder{height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:radial-gradient(circle at 25% 20%,#f8dfe9,transparent 65%),linear-gradient(135deg,#f5edf6,#e9e1f0);color:#a06086}
.member-photo-placeholder>span{display:grid;place-items:center;width:150px;height:150px;border:1px solid #fff;border-radius:50%;background:#fffb;font:500 70px Inter,sans-serif;box-shadow:0 8px 30px #8c527416}
.member-photo-placeholder small{font-size:12px;color:#9a7b96}
@media(max-width:600px){.member-profile-actions{padding:0 20px}.member-photo-placeholder{height:280px}}

/* Keep identity and actions outside the single scrolling profile panel. */
#member-profile-dialog { max-height: calc(100dvh - 32px); margin: auto; }
#member-profile-dialog .member-profile-heading { flex: 0 0 auto; background: #fff; border-bottom: 1px solid #eee4ed; }
#member-profile-dialog .member-profile-heading:empty { display: none; }
#member-profile-dialog .smart-profile-header { box-sizing: border-box; margin: 0; padding: 24px 76px 20px 26px; }
#member-profile-dialog .smart-profile-header h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
#member-profile-dialog .member-profile-close { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0; line-height: 1; }
#member-profile-dialog .member-profile-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #c7afc0 #faf6f9; -webkit-overflow-scrolling: touch; }
#member-profile-dialog .member-profile-content:focus-visible { outline: 2px solid #b981a5; outline-offset: -2px; }
#member-profile-dialog .smart-profile-details { margin: 0; border-radius: 0; overflow: visible; }
#member-profile-dialog .member-photo-slide img, #member-profile-dialog .member-photo-placeholder { height: clamp(190px, 36dvh, 320px); }
#member-profile-dialog .smart-profile-body { padding: 20px 26px 12px; }
#member-profile-dialog .match-chip { display: inline-flex; margin-top: 10px; }
#member-profile-dialog .member-profile-actions { padding: 12px 26px; border-top: 1px solid #eee4ed; box-shadow: 0 -4px 16px #442d3c06; }
#member-profile-dialog .profile-sticky-actions { padding: 0; gap: 12px; align-items: stretch; background: #fff; }
#member-profile-dialog .profile-sticky-actions form { display: flex; margin: 0; min-width: 0; }
#member-profile-dialog .profile-sticky-actions button, #member-profile-dialog .profile-sticky-actions > span { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border-radius: 12px; line-height: 1.4; font-size: 14px; font-weight: 600; }
#member-profile-dialog .profile-sticky-actions > span { border: 1px solid #e8c9d9; background: #fcf0f6; color: #a53760; }
@media (max-width: 600px) {
    #member-profile-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
    #member-profile-dialog .smart-profile-header { padding: 20px 66px 16px 20px; }
    #member-profile-dialog .smart-profile-header h2 { font-size: 22px; }
    #member-profile-dialog .smart-profile-body { padding: 18px 20px 12px; }
    #member-profile-dialog .member-profile-actions { padding: 12px 20px; }
    #member-profile-dialog .profile-extra-details { grid-template-columns: 1fr; }
}
.account-input select[data-language-select][hidden],.account-input [data-language-other-panel][hidden]{display:none}

.member-profile-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #ede5ee;margin:0 0 20px;padding:0;position:sticky;top:0;background:#fff;z-index:2}
.member-profile-tabs button{flex:1;min-width:0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#8b7a90;padding:14px 10px;font:600 13px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.member-profile-tabs button[aria-selected="true"]{color:#a53760;border-bottom-color:#a53760;background:#fff7fb}
.member-profile-tabs button:focus-visible{outline:2px solid #9273ab;outline-offset:-4px}
.member-profile-panel[hidden]{display:none!important}
.member-profile-panel{padding:4px 0 20px;outline-offset:-2px}
.member-profile-panel>h3:first-child{margin-top:20px}
.member-profile-panel .profile-extra-details{margin-bottom:0}
.member-profile-panel[data-profile-panel="media"] .member-photo-gallery{border-radius:14px;overflow:hidden;margin-top:12px}
.member-profile-panel .profile-secondary-actions{border-top:0}
@media(max-width:450px){.member-profile-tabs{gap:0;margin-inline:-8px}.member-profile-tabs button{font-size:12px;padding:13px 7px}}

#member-profile-dialog .member-photo-gallery-strip .member-photo-slide img,#member-profile-dialog .member-photo-gallery-strip .member-photo-placeholder{height:126px}
#member-profile-dialog .member-photo-gallery-strip .member-photo-slide img{object-fit:cover}
@media(max-width:450px){#member-profile-dialog .member-photo-gallery-strip .member-photo-slide img,#member-profile-dialog .member-photo-gallery-strip .member-photo-placeholder{height:108px}}

#member-profile-dialog .member-photo-gallery-featured .member-photo-slide img,#member-profile-dialog .member-photo-gallery-featured .member-photo-placeholder{height:clamp(260px,48dvh,460px)}
#member-profile-dialog .member-photo-gallery-featured .member-photo-slide img{object-fit:contain}
