/* Compact sharing controls next to the brand, without third-party widgets. */
.share-tools{display:flex;align-items:center;gap:5px;flex-shrink:0}.share-tools a,.share-tools button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:34px;padding:5px;background:#0e202d55;border:1px solid #ba3e7547;border-radius:9px;color:#e1c6d8;cursor:pointer;transition:background .2s,color .2s,border-color .2s}.share-tools svg{width:19px;height:19px;pointer-events:none}.share-tools a:hover,.share-tools button:hover{background:#a9356933;color:#ff91bb;border-color:#a93569}.share-tools :focus-visible{outline:2px solid #ba3e75;outline-offset:3px}.landing-header{gap:22px}
#share-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;background:#0e202deb;backdrop-filter:blur(18px);border:1px solid #385366;border-radius:20px;color:#f3f6fa;box-shadow:0 24px 100px #0008}#share-dialog::backdrop{background:#020b13a8;backdrop-filter:blur(3px)}#share-dialog h2{font-size:24px;margin:0 20px 16px 0}#share-dialog p,#share-dialog label{color:#b8cbd9;font-size:14px}#share-url{width:100%;margin:8px 0 18px;padding:12px;border:1px solid #375366;border-radius:9px;background:#1b3040;color:#f3f6fa;font-size:16px}#share-copy{width:100%;border:0;font:600 14px system-ui;cursor:pointer}#share-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#d3e2ed;font-size:28px;cursor:pointer}#share-status:empty{display:none}
@media(min-width:1101px) and (max-width:1450px){.landing-header{flex-wrap:wrap;padding:24px 30px}.landing-header nav{order:3;flex-basis:100%}.landing-header .auth-links{margin-left:auto}}
@media(max-width:760px){.landing-header .share-tools{order:2;flex-basis:100%;justify-content:flex-start;gap:8px}.share-tools a,.share-tools button{width:36px;height:36px}.landing-header .auth-links{margin-left:auto}.landing-header nav{order:3}}
@media(prefers-reduced-motion:reduce){.share-tools a,.share-tools button{transition:none}}

html.auth-open{overflow:hidden}.has-site-share{flex-wrap:wrap}.has-site-share>.share-tools{margin-right:auto}.has-site-share>nav{margin-left:auto}.site-share-header{display:flex;justify-content:center;padding:14px 20px;background:#0b1721;border-bottom:1px solid #294150}.header.has-site-share{gap:20px}.header.has-site-share .share-tools a{margin:0}.header.has-site-share .share-tools button{min-width:0;font:inherit}.header.has-site-share .share-tools svg{display:block}@media(max-width:760px){.header.has-site-share .share-tools{order:2;flex-basis:100%;margin:0}.header.has-site-share>nav{order:1}}#share-copy{display:block;padding:13px 18px;border-radius:12px;background:#ba3e75;color:#fff}#share-copy:hover{background:#a93569}#share-dialog{box-sizing:border-box}#share-url{box-sizing:border-box}#share-dialog :focus-visible{outline:2px solid #ba3e75;outline-offset:3px}

.share-button-label{display:none}
#share-dialog .share-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}
#share-dialog .share-choices[hidden]{display:none}
#share-dialog .share-choices a,#share-dialog .share-choices button{box-sizing:border-box;width:100%;min-height:44px;height:auto;padding:10px;gap:8px;font:500 13px system-ui;text-decoration:none;justify-content:flex-start}
#share-dialog .share-choices svg{flex-shrink:0}
@media(max-width:760px){
 #global-share-tools>[data-share]:not([data-share="native"]){display:none}
 #global-share-tools>[data-share="native"]{width:auto;min-height:40px;padding:8px 12px;gap:8px;font:600 14px system-ui}
 #global-share-tools .share-button-label{display:inline}
 .has-site-share>#global-share-tools{flex-basis:auto;order:0;margin-right:auto}
}

#mobile-site-nav{display:none}
@media(max-width:700px){
 body.has-mobile-site-nav{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 body.has-mobile-site-nav .profile-sidebar,body.has-mobile-site-nav .search-header>nav{display:none!important}
 body.has-mobile-site-nav #mobile-site-nav{display:flex;position:fixed;left:0;bottom:0;width:100%;box-sizing:border-box;z-index:50;align-items:stretch;gap:2px;padding:5px 3px max(5px,env(safe-area-inset-bottom));margin:0;background:#0b1721;border-top:1px solid #294150;overflow-x:auto;scrollbar-width:none}
 #mobile-site-nav::-webkit-scrollbar{display:none}
 #mobile-site-nav a{display:flex;flex:1 0 42px;min-width:0;min-height:54px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:5px 2px;border:0;border-radius:10px;background:transparent;color:#d5e2ec;text-decoration:none;font:500 8px/1.2 system-ui;white-space:nowrap}
 #mobile-site-nav svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 #mobile-site-nav a[aria-current=page]{background:#40263c;color:#ff91bb}
 #mobile-site-nav a[data-mobile-nav=premium]{background:#ba3e75;color:#fff}
 #mobile-site-nav a:focus-visible{outline:2px solid #ba3e75;outline-offset:-2px}
 #mobile-site-nav a>span:not(.mobile-nav-badge){max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.2}
}
@media(max-width:760px){#global-share-tools .share-button-label{display:none}#global-share-tools>[data-share="native"]{width:44px;height:44px;padding:10px}}
.site-wallet-balance{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:42px;padding:9px 13px;border:1px solid #d7ad57;border-radius:12px;background:linear-gradient(135deg,#453720,#27251e);color:#f5d68c;font:650 14px/1.3 system-ui;white-space:nowrap;box-sizing:border-box}
.site-wallet-balance .wallet-amount{color:#f33980;font-variant-numeric:tabular-nums}
.site-wallet-balance img{display:block;width:22px;height:26px;flex:none}
.search-header.has-site-wallet{display:flex;flex-wrap:wrap}
.search-header.has-site-wallet>.site-wallet-balance{margin-left:auto}
.site-share-header.has-site-wallet{gap:16px;flex-wrap:wrap}
@media(max-width:700px){.site-wallet-balance{font-size:12px;padding:7px 10px;min-height:38px}.has-site-wallet{flex-wrap:wrap;gap:10px}}
.conversation-head>.site-wallet-balance{margin-left:auto}
.conversation-head.has-site-wallet>.chat-theme-trigger{margin-left:0}
.conversation-head.has-site-wallet #peer{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.conversation-head.has-site-wallet{flex-wrap:wrap;flex-shrink:0;padding-block:10px}.conversation-head.has-site-wallet #peer{flex:1 1 calc(100% - 48px)}.conversation-head>.site-wallet-balance{font-size:11px;padding:6px 8px;gap:5px;min-height:34px}}
#mobile-site-nav a{position:relative}
#mobile-site-nav .mobile-nav-badge{position:absolute;top:1px;right:3px;background:#ba3e75;color:#fff;border-radius:12px;padding:2px 4px;font:700 10px/1.2 system-ui}
#mobile-site-nav .mobile-nav-badge[hidden]{display:none}
.landing-header .auth-links [hidden]{display:none!important}

.footer-legal-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px;min-width:0}
.footer-legal-links a{color:inherit;text-decoration:underline;text-underline-offset:3px;font:inherit}
.footer-legal-links a:hover{color:#e29bbb}
.footer-legal-links a:focus-visible{outline:2px solid #ba3e75;outline-offset:4px;border-radius:2px}
@media(max-width:700px){footer>.footer-legal-links{order:3;flex-basis:100%;gap:10px 18px}footer>span:last-child{margin-left:auto}}

.legal-document-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:28px;border:1px solid #385366;border-radius:16px;background:#10222e;color:#edf4fa;font:15px/1.6 system-ui}
.legal-document-dialog::backdrop{background:#020b13b8;backdrop-filter:blur(3px)}
.legal-document-dialog h2{margin:0 0 20px;font-size:24px;line-height:1.3;overflow-wrap:anywhere}
.legal-document-dialog p{margin:0 0 24px;color:#bdcbd5}
.legal-document-dialog button{display:block;margin-left:auto;padding:10px 20px;border:1px solid #c45a73;border-radius:10px;background:#672739;color:#ffe8ed;font:600 14px system-ui;cursor:pointer}
.legal-document-dialog button:hover{background:#863248}
.legal-document-dialog button:focus-visible{outline:2px solid #e29bbb;outline-offset:3px}
@media(max-width:700px){.legal-document-dialog{padding:22px 18px}.legal-document-dialog h2{font-size:21px}}
.legal-document-content h3{margin:28px 0 12px;color:#edf4fa;font-size:18px;line-height:1.4}.legal-document-content p{margin:0 0 14px;overflow-wrap:anywhere}.legal-document-content ul{padding-left:22px;color:#bdcbd5}.legal-document-content li{margin:8px 0}.legal-document-content .legal-draft-notice{padding:12px 14px;background:#3b301b;border:1px solid #bd994c;border-radius:8px;color:#f1d487}.legal-document-dialog #legal-document-title:focus{outline:none}

/* Social links slide right from the shared disclosure button. */
#global-share-tools{position:relative;z-index:20}
#global-share-tools .share-social-menu{position:absolute;left:calc(100% + 8px);top:0;display:flex;flex-wrap:wrap;gap:5px;width:max-content;box-sizing:border-box;background:transparent;border:0;opacity:0;visibility:hidden;transform:translateX(-12px);pointer-events:none;transition:opacity .2s ease,transform .2s ease,visibility .2s}
#global-share-tools.share-expanded .share-social-menu{opacity:1;visibility:visible;transform:translateX(0);pointer-events:auto}
#global-share-tools .share-social-menu>a,#global-share-tools .share-social-menu>button{display:inline-flex;flex-shrink:0;background:transparent}
@media(prefers-reduced-motion:reduce){#global-share-tools .share-social-menu{transition:none}}

#mobile-footer-drawer{display:none}
@media(max-width:700px){
 body.has-mobile-footer-drawer{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
 #mobile-footer-drawer{display:block;position:fixed;z-index:49;isolation:isolate}
 .mobile-footer-toggle{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:100%;height:34px;padding:6px;border:0;border-top:1px solid #294150;border-radius:0;background:#0b1721;color:#b9cbd8;cursor:pointer}
 .mobile-footer-toggle svg{width:100px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
 .mobile-footer-toggle:focus-visible{outline:2px solid #ba3e75;outline-offset:-3px}
 #mobile-footer-panel{position:absolute;bottom:100%;left:0;width:100%;max-height:60dvh;overflow:auto;background:#0b1721;border-top:1px solid #294150;box-shadow:0 -12px 24px #0004;transform:translateY(100%);opacity:0;visibility:hidden;transition:transform .2s ease,opacity .2s ease,visibility .2s}
 #mobile-footer-drawer.is-open #mobile-footer-panel{transform:translateY(0);opacity:1;visibility:visible}
 #mobile-footer-drawer.is-open .mobile-footer-toggle svg{transform:rotate(180deg)}
 #mobile-footer-panel>footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;width:100%;max-width:none;margin:0;padding:20px 18px;box-sizing:border-box;border:0;background:transparent;color:#a6b9c9;font-size:13px}
 #mobile-footer-panel .footer-legal-links{flex-basis:100%;flex-direction:column;gap:12px}
}
@media(prefers-reduced-motion:reduce){#mobile-footer-panel,.mobile-footer-toggle svg{transition:none}}

@media(max-width:480px){
 .member-dialog[open] .review-rating{gap:4px}
 .member-dialog[open] .review-rating label{gap:2px;min-width:0}
 .member-dialog[open] .review-rating input{width:14px;height:14px;flex:0 0 14px}
 .member-dialog[open] .review-rating span{font-size:20px}
}

/* Shared review form: also used on search and messages. */
.review-author{display:flex;align-items:center;gap:12px;margin-bottom:18px}.review-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#253b47;color:#f5d68c;overflow:hidden}.review-avatar img{width:100%;height:100%;object-fit:cover}.review-name-premium{color:#20f7f7}.review-name-vip{color:#f4d27e}.review-form label{display:block;margin:12px 0}.review-form input:not([type=radio]),.review-form textarea{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #375366;border-radius:10px;background:#0b1d29;color:#f3f6fa;font:inherit}.review-rating{display:flex;gap:12px;border:0;padding:0}.review-rating label{cursor:pointer}.review-rating span,.review-stars{font-size:24px;color:#f4d27e}.review-rating input:checked+span{text-shadow:0 0 10px #f4d27e}.review-actions{display:flex;gap:12px}.review-hint{font-size:13px;color:#b8cbd9}
.review-rating label span{color:#627686}.review-rating label:has(input:checked) span,.review-rating label:has(~label input:checked) span{color:#f4d27e}
.member-dialog .review-avatar{flex:0 0 54px;width:54px;height:54px}.member-dialog .review-avatar img{display:block;width:54px;height:54px;max-width:54px;border-radius:50%;object-fit:cover}.member-dialog .review-author{display:flex;align-items:center;gap:12px;margin-bottom:18px}.member-dialog .review-form>label{display:flex;flex-direction:column;gap:8px;margin:14px 0;position:static}.member-dialog .review-form>label>input,.member-dialog .review-form>label>textarea{margin:0;position:static;font-size:16px}.member-dialog .review-rating{display:flex;flex-direction:row;flex-wrap:nowrap;gap:12px;min-width:0;margin:16px 0;padding:0;border:0}.member-dialog .review-rating label{display:flex;align-items:center;gap:4px;margin:0;position:static}.member-dialog .review-rating input{width:16px;height:16px;min-height:0;margin:0;position:static}.member-dialog .review-rating legend{padding:0;margin-bottom:10px}.member-dialog .review-name{min-width:0;overflow-wrap:anywhere}.member-dialog .review-actions{display:flex;gap:12px;flex-wrap:wrap}[data-member-review][hidden],#mobile-site-nav [data-mobile-nav="reviews"][hidden]{display:none!important}

/* Mobile gifts/likes/guests disclosure opens above the navigation bar. */
#mobile-activity-menu{display:none}
@media(max-width:700px){
 #mobile-site-nav #mobile-activity-toggle{display:flex;flex:1 0 42px;min-width:0;min-height:54px;align-items:center;justify-content:center;padding:5px 2px;border:0;border-radius:10px;background:transparent;color:#d5e2ec;cursor:pointer}
 #mobile-site-nav #mobile-activity-toggle[aria-expanded=true]{background:#40263c;color:#ff91bb}
 #mobile-site-nav #mobile-activity-toggle:focus-visible{outline:2px solid #ba3e75;outline-offset:-2px}
 #mobile-activity-menu{display:flex;position:fixed;z-index:55;flex-direction:column;gap:3px;padding:7px;border:1px solid #294150;border-radius:12px;background:#0b1721;box-shadow:0 8px 28px #0006;opacity:0;visibility:hidden;transform:translateY(12px);pointer-events:none;transition:transform 150ms ease,opacity 150ms ease,visibility 150ms}
 #mobile-activity-menu.is-open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
 #mobile-activity-menu a{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 12px;border-radius:8px;color:#d5e2ec;text-decoration:none;font:500 14px/1.2 system-ui}
 #mobile-activity-menu a:hover,#mobile-activity-menu a:focus-visible{background:#40263c;color:#ff91bb}
 #mobile-activity-menu a:focus-visible{outline:2px solid #ba3e75;outline-offset:-2px}
 #mobile-activity-menu svg{width:23px;height:23px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 #mobile-activity-menu .mobile-nav-badge{margin-left:auto;background:#ba3e75;color:#fff;border-radius:12px;padding:2px 5px;font:700 10px/1.2 system-ui}
 #mobile-activity-menu .mobile-nav-badge[hidden]{display:none}
}
@media(prefers-reduced-motion:reduce){#mobile-activity-menu{transition:none}}

/* Session cards are shared by profile, search and messenger dialogs. */
.member-session-card{box-sizing:border-box;padding:20px 22px;border:1px solid #294150;border-radius:16px;background:linear-gradient(105deg,#0b1d29 75%,#112330);margin:16px 0;overflow-wrap:anywhere}
.member-session-card h3{margin:0 0 18px}.member-session-card p{margin:12px 0}.member-session-card .member-button{margin-top:6px}
@media(max-width:540px){.member-session-card{padding:16px;border-radius:14px}}

/* Mobile single-value picker sits above any existing editor dialog. */
dialog.site-select-picker{box-sizing:border-box;width:calc(100% - 28px);max-width:480px;max-height:80dvh;margin:auto;padding:0;border:1px solid #375366;border-radius:18px;background:#102330;color:#f3f6fa;box-shadow:0 20px 60px #0008;font:16px/1.4 system-ui;overflow:hidden}
dialog.site-select-picker::backdrop{background:#0009}
dialog.site-select-picker>header{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #294150}
dialog.site-select-picker h2{flex:1;min-width:0;margin:0;font:600 18px/1.3 system-ui;overflow-wrap:anywhere}
dialog.site-select-picker .site-select-close{width:auto;margin:0;padding:10px 12px;border:1px solid #375366;border-radius:10px;background:#1b3242;color:#f3f6fa;font:inherit;cursor:pointer}
dialog.site-select-picker .site-select-options{max-height:calc(80dvh - 100px);overflow:auto;overscroll-behavior:contain;padding:8px}
dialog.site-select-picker .site-select-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:12px;border:0;border-radius:10px;background:transparent;color:#e6eef4;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}
dialog.site-select-picker .site-select-options button[aria-selected=true]{background:#40263c;color:#ff91bb}
dialog.site-select-picker .site-select-options button[aria-selected=true]::after{content:'✓';flex-shrink:0}
dialog.site-select-picker button:focus-visible{outline:2px solid #ff91bb;outline-offset:-2px}
dialog.site-select-picker .site-select-options button:disabled{opacity:.45;cursor:default}

/* Accessible radios remain keyboard-selectable; only the stars are drawn. */
.member-dialog[open] .review-rating{gap:4px}
.member-dialog[open] .review-rating label{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-height:44px;gap:0;cursor:pointer;border-radius:8px}
.member-dialog[open] .review-rating input{position:absolute;width:1px;height:1px;min-height:0;margin:0;opacity:0;clip-path:inset(50%);flex:none}
.member-dialog[open] .review-rating label span{font-size:32px;line-height:1;color:#8195a5;text-shadow:none}
.member-dialog[open] .review-rating label.is-selected span{color:#f4d27e}
.member-dialog[open] .review-rating label:focus-within{outline:2px solid #ff91bb;outline-offset:1px}
