/* Compact inbox and clear membership states. */
#conversations-page-view{background:linear-gradient(155deg,#faf8ff,#f5f6fc 65%,#eef2ff);}
#conversations-page-view .conversation-inbox-shell{max-width:760px;padding-top:18px;}
#conversations-page-view .conversation-inbox-intro{display:flex;justify-content:flex-end;margin-bottom:14px;}
#conversations-page-view .conversation-inbox-stats{display:flex;align-items:center;gap:7px;padding:10px 16px;width:auto;border:1px solid #e6def3;border-radius:30px;background:#ffffffc9;box-shadow:none;}
#conversations-page-view .conversation-inbox-stats i{display:block;width:1px;height:15px;background:#ddd3eb;margin:0 7px;}
#conversations-page-view .conversation-search-box{border-radius:18px;background:#fff;border:1px solid #e9e1f3;box-shadow:0 6px 22px #532b8d08;}
#conversations-page-view .conversation-list-item{border-radius:20px;border:1px solid #eee7f7;background:#fff;box-shadow:0 5px 24px #542c8208;transition:box-shadow .2s,transform .2s;}
#conversations-page-view .conversation-list-item:hover{box-shadow:0 9px 28px #542c8214;transform:translateY(-1px);}
#conversations-page-view .conversation-list-item.has-unread{border-color:#d7c4f6;background:linear-gradient(115deg,#fff,#f7f2ff);}
.account-sidebar{position:sticky;top:96px;min-width:0;}
#my-account-page-view .account-sidebar .account-tabs{position:static;}
#my-account-page-view .account-logout-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:16px;margin-top:16px;border:1px solid #ecd6df;border-radius:14px;background:#fff7fa;color:#a12d53;font:600 13px Poppins,system-ui;cursor:pointer;}
#identity-instructions[hidden]{display:none!important;}
#account-panel-identity:has(.is-verified){background:linear-gradient(145deg,#fff,#f4faf7)!important;}
.member-search{position:relative;max-width:520px;margin:0 auto 20px;}
.member-search>label{display:flex;align-items:center;gap:10px;border:1px solid #e3dbef;border-radius:30px;background:#fff;padding:10px 16px;color:#806899;box-shadow:0 4px 20px #39246006;}
.member-search input{border:0;outline:0;min-width:0;width:100%;background:transparent;font:400 13px Poppins,system-ui;color:#292036;}
.member-search>label:focus-within{border-color:#8d5bd5;box-shadow:0 0 0 3px #6d2fd014;}
.member-search-results{position:absolute;inset:calc(100% + 8px) 0 auto;max-height:360px;overflow-y:auto;z-index:30;background:#fff;border:1px solid #e8dff2;border-radius:18px;box-shadow:0 15px 40px #3c1a7026;padding:12px;font-size:13px;}
.member-search-results[hidden]{display:none;}
.member-search-results button{width:100%;display:flex;align-items:center;gap:13px;border:0;background:none;border-radius:12px;padding:10px;text-align:left;color:#33283f;cursor:pointer;}
.member-search-results button:hover{background:#f6f1fc;}
.member-search-results strong,.member-search-results small{display:block;}.member-search-results small{font-size:11px;color:#82728b;margin-top:3px;}
.fans-search-holder{max-width:960px;margin:22px auto 0;padding:0 20px;}
.discovery-search-holder{grid-column:1/-1;width:100%;padding:0 12px;}
.member-avatar-badged{display:inline-flex;position:relative;flex:none;width:54px;height:54px;}
.member-avatar-badged img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.membership-crown{display:inline-flex;position:absolute;right:-6px;top:-10px;width:25px;height:25px;transform:rotate(20deg);z-index:4;color:#bc8218;filter:drop-shadow(0 2px 3px #6b460f33);pointer-events:none;}
.membership-crown svg{width:100%;height:100%;fill:#ffd76a;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round;}
.membership-crown.is-vip{color:#498fa7;filter:drop-shadow(0 2px 4px #52b6d74d);}.membership-crown.is-vip svg{fill:#d6f6ff;}
.account-nav-badged{position:relative;}.account-nav-badged>.membership-crown{left:26px;right:auto;top:0;width:18px;height:18px;}
.member-photo-shell>.membership-crown{left:18px;top:58px;right:auto;width:31px;height:31px;}
.conversation-avatar-wrap{overflow:visible!important;}.conversation-avatar-wrap>.membership-crown{top:-9px;right:-5px;}
.profile-avatar-crowned{position:relative;overflow:visible!important;}.profile-avatar-crowned>img{border-radius:50%;}
#subscription-page-view .duration-card .current-plan-tag{position:static;transform:none;left:auto;top:auto;box-shadow:none;text-transform:none;letter-spacing:0;white-space:normal;width:fit-content;display:block;margin-top:7px;padding:3px 5px;border-radius:6px;background:#e9f6ed;color:#27734b;font-size:9px;line-height:1.4;font-weight:600;}
.duration-card.is-current-plan{border-color:#72a78b;}
@media(max-width:800px){.account-sidebar{position:static;}#my-account-page-view.account-detail-open .account-sidebar{display:none;}.fans-search-holder{margin-top:14px;padding:0 14px;}.member-search{margin-bottom:12px;}.mobile-nav-item.account-nav-badged>.membership-crown{left:calc(50% + 1px);top:0;width:17px;height:17px;}#conversations-page-view .conversation-inbox-shell{padding-top:12px;}#conversations-page-view .conversation-inbox-stats{width:100%;justify-content:center;}#conversations-page-view .conversation-inbox-intro{margin-bottom:12px;}}
@media(prefers-reduced-motion:reduce){#conversations-page-view .conversation-list-item{transition:none;}}
/* Shared navigation and account controls. */
.account-user-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;overflow:visible;}
.account-user-icon>svg{width:20px;height:20px;}
.account-user-icon>.membership-crown{width:16px;height:16px;top:-8px;right:-7px;left:auto;}
#affinities-page-view>.landing-header{position:sticky;top:0;z-index:100;}
#affinities-page-view>.member-section-header{position:static;margin:0 auto;padding:22px 24px 0;max-width:620px;border:0;background:transparent;box-shadow:none;}
#affinities-page-view>.member-section-header>.member-section-back{display:none!important;}
#affinities-page-view>.landing-container{padding-top:20px!important;}
#account-panel-photos,#account-panel-profile{padding:30px!important;gap:24px!important;}
#account-panel-photos{background:#fff;border:1px solid #e7e4ed;border-radius:24px;box-shadow:0 8px 30px #49256a07;}
#account-panel-photos .account-space-heading p{line-height:1.8;max-width:550px;color:#71667c;}
#account-panel-photos .account-photos{margin:0 0 20px;}
#account-panel-photos .account-photos>p{line-height:1.7;}
#account-panel-photos .btn-badoo-outline{height:auto!important;min-height:44px;font-size:13px!important;padding:12px 18px!important;}
#account-panel-profile .account-fields-row{gap:24px;align-items:start;}
#account-panel-profile .form-label{display:block;margin-bottom:10px;line-height:1.5;}
#account-panel-profile .form-group{margin:0;}
.account-country-picker{display:grid;gap:10px;}
.account-country-picker .form-input{width:100%;min-width:0;}
.account-country-picker small{font-size:11px;line-height:1.5;color:#746680;}
.account-country-picker small:empty{display:none;}
#account-panel-subscriptions{padding:30px;}
#account-panel-subscriptions>.account-space-heading{margin-bottom:26px;}
#account-panel-subscriptions h3{font-size:17px;margin:30px 0 12px;}
#account-panel-subscriptions .fans-payment-row{padding:24px;border:1px solid #e6e0ee;border-radius:22px;background:linear-gradient(135deg,#fff,#f8f5fe);box-shadow:0 8px 26px #4f2c8208;margin-bottom:16px;}
.subscription-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.subscription-card-heading>strong{font-size:19px;color:#33224d;}
.subscription-state{display:inline-flex;padding:5px 10px;border-radius:30px;background:#e7f4ef;color:#237755;font-size:11px;font-weight:600;white-space:nowrap;}
#account-panel-subscriptions .fans-payment-row>p{color:#776b82;font-size:13px;line-height:1.7;margin:8px 0;}
.subscription-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;}
#account-panel-subscriptions .subscription-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;flex:1 1 190px;white-space:normal;line-height:1.5;padding:13px 18px;border-radius:14px;cursor:pointer;}
#account-panel-subscriptions .subscription-actions>.fans-primary{box-shadow:0 5px 16px #6d2fd024;}
#account-panel-subscriptions .subscription-actions>.fans-secondary{background:#fff;border:1px solid #ddd4e9;color:#655473;}
#account-panel-subscriptions .fans-subscription-note{font-size:13px;line-height:1.8;color:#756b80;}
@media(max-width:800px){#account-panel-photos,#account-panel-profile,#account-panel-subscriptions{padding:20px!important;}#account-panel-profile .account-fields-row{gap:20px;}#account-panel-subscriptions .fans-payment-row{padding:20px;}#account-panel-subscriptions .subscription-actions{flex-direction:column;}#account-panel-subscriptions .subscription-actions>button{flex:auto;width:100%;}.mobile-nav-item .account-user-icon{flex:0 0 22px;}#affinities-page-view>.member-section-header{padding:20px 18px 0;}#account-panel-photos .account-photos-grid{gap:12px;}}
@media(min-width:801px) and (max-width:1150px){#account-panel-photos .account-photos-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Stable page width and accessible form sizing, including iOS focus. */
html{scrollbar-gutter:stable;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{max-width:100%;overflow-x:clip}
#fans-page-view,.fans-body,.fans-layout,.fans-main,.fans-feed,.fans-post,.fans-profile{min-width:0;max-width:100%;box-sizing:border-box}
.fans-layout{width:min(100%,600px)}
.fans-stories{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.fans-post-copy,.fans-creator-link{overflow-wrap:anywhere;min-width:0}
.fans-post>img,.fans-post>video{aspect-ratio:4/5;object-fit:contain;background:#f4f1f8}
@media(max-width:900px),(pointer:coarse){
 input:not([type=checkbox]):not([type=radio]),select,textarea,[contenteditable=true]{font-size:16px!important}
 #fans-page-view .landing-header{width:100%;max-width:100%;box-sizing:border-box}
 .fans-body{width:100%;padding-inline:0}
 .fans-stories>button{flex-shrink:0}
}
.fans-album{display:flex;width:100%;max-width:100%;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin}
.fans-album-item{position:relative;flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;background:#f2eef6}
.fans-album-item img,.fans-album-item video{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;max-height:680px}
.fans-album-number{position:absolute;right:12px;top:12px;padding:4px 9px;border-radius:20px;background:#15131caa;color:white;font:500 12px system-ui}
.fans-grid-tile .fans-album,.fans-grid-tile .fans-album-item{height:100%;overflow:hidden}.fans-grid-tile .fans-album-item img,.fans-grid-tile .fans-album-item video{height:100%;object-fit:cover}
.fans-selection{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}
.fans-selection>div{min-width:0;padding:8px;border:1px solid #e4dcef;border-radius:14px;background:#faf8ff}
.fans-selection img,.fans-selection video{width:100%;height:100px;object-fit:cover;border-radius:8px}
.fans-selection small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-block:6px}
.fans-selection button{border:0;padding:7px 10px;background:#eee6fa;color:#6c279c;border-radius:8px;cursor:pointer}
.fans-story-dialog{width:min(470px,100%);height:min(900px,100dvh);max-height:100dvh;padding:12px 0 max(12px,env(safe-area-inset-bottom));overflow:hidden;box-sizing:border-box}
.fans-story-dialog[open]{display:flex;flex-direction:column}
.fans-story-media{flex:1;min-height:0;overflow:auto;touch-action:pan-y}
.fans-story-media .fans-album{height:100%}.fans-story-media .fans-album-item{background:#17111e}
.fans-story-media img,.fans-story-media video{height:100%;max-height:58dvh;aspect-ratio:auto}
.fans-story-progress span{overflow:hidden}.fans-story-progress i{display:block;height:100%;width:0;background:white}
.fans-story-reply{display:flex;gap:8px;padding:8px 14px;align-items:center}
.fans-story-reply input{flex:1;width:0;min-width:0;border:1px solid #ffffff55;border-radius:25px;background:#ffffff12;padding:12px 16px;color:white;font:400 16px system-ui}
.fans-story-reply button{border:0;border-radius:22px;background:#6d2fd0;color:white;padding:12px 16px;cursor:pointer}
.fans-story-reply-note{margin:0 14px 8px!important;font-size:12px;color:#e1d9eb}
@media(max-width:600px){.fans-story-dialog{border-radius:0;width:100%;height:100dvh;max-width:100%;margin:0}.fans-story-controls{padding-block:6px}}

/* Creator profile: a compact social gallery with accessible management actions. */
.fans-professional{display:flex;flex-direction:column;gap:6px;width:100%;padding:16px 18px;margin:12px 0;border:1px solid #eee9f6;border-radius:16px;background:linear-gradient(110deg,#f1edf9,#f8f6fc);color:#282239;text-align:left;cursor:pointer}
.fans-professional small{color:#716780;line-height:1.4}.fans-professional small span{float:right}
.fans-profile-buttons{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important}
.fans-profile-buttons>button{min-width:0;padding:12px 6px!important;font-size:13px!important;justify-content:center;white-space:normal}
.fans-profile-title h1{overflow-wrap:anywhere;min-width:0}
.fans-profile-grid .fans-grid-tile{position:relative;min-width:0;overflow:hidden}
.fans-paid-badge{position:absolute;bottom:8px;left:8px;padding:4px 8px;border-radius:7px;background:#352052e8;color:white;font-size:11px;font-weight:600;z-index:2;pointer-events:none}
.fans-post-menu{position:relative;flex-shrink:0}.fans-post-menu summary{list-style:none;font-size:24px;cursor:pointer;padding:4px 12px;border-radius:12px}.fans-post-menu summary::-webkit-details-marker{display:none}
.fans-post-menu>div{position:absolute;right:0;top:100%;min-width:210px;background:white;border:1px solid #e6ddf3;box-shadow:0 12px 40px #30204b26;border-radius:14px;padding:6px;z-index:8}
.fans-post-menu button{display:block;width:100%;padding:12px;text-align:left;border:0;border-radius:8px;background:transparent;color:#332348;font-size:14px;cursor:pointer}.fans-post-menu button:hover{background:#f3eefb}
.fans-photos-dialog,.fans-qr-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px);border:0;border-radius:24px;padding:24px;width:560px;overflow:auto;overscroll-behavior:contain}
.fans-photos-dialog::backdrop,.fans-qr-dialog::backdrop{background:#20152c99;backdrop-filter:blur(5px)}
.fans-photos-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.fans-photos-dialog h2{font-size:20px;margin:0}.fans-photos-dialog .account-photos{margin:0}
.fans-qr-dialog{background:linear-gradient(145deg,#692bd4 0%,#a23ad0 48%,#ee4f91 100%);color:white;text-align:center;width:450px;padding:26px}
.fans-qr-close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #ffffff6b;background:#ffffff24;color:white;border-radius:50%;cursor:pointer}
.fans-qr-brand{display:block;margin:12px 0 24px;font-weight:600;letter-spacing:.04em}
.fans-qr-card{background:white;padding:12px 12px 24px;border-radius:24px;box-shadow:0 16px 42px #4f104f24;color:#5326a6;overflow:hidden}
.fans-qr-card img{display:block;width:100%;height:auto;aspect-ratio:1;max-width:100%}.fans-qr-card strong{font-size:20px;overflow-wrap:anywhere}
.fans-qr-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.fans-qr-actions button{border:0;border-radius:15px;background:white;color:#43235d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:14px 4px;min-height:80px;cursor:pointer}.fans-qr-actions button>span:first-child{font-size:28px;line-height:24px}.fans-qr-actions button>span:last-child{font-size:11px;line-height:1.4}
.fans-qr-note{font-size:12px;line-height:1.5;color:#fff;margin:20px 0 8px}.fans-qr-dialog [role=status]{font-size:13px;min-height:1.5em}
.studio-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:600px){.fans-profile .fans-profile-bio{padding-top:4px}.fans-profile-stats>div span{font-size:10px}.fans-profile-stats{gap:9px}.fans-grid-tabs button span{font-size:11px}.fans-photos-dialog{padding:16px}.fans-qr-dialog{padding:18px}.fans-paid-badge{font-size:10px;left:5px;bottom:5px;padding:3px 6px}.studio-nav{grid-template-columns:1fr!important}}
.fans-photos-dialog,.fans-qr-dialog{margin:auto}
.fans-profile .fans-professional{width:calc(100% - 32px);margin:8px 16px 12px}
@media(max-width:600px){
 .fans-profile-title{padding:10px 16px}.fans-profile-overview{padding:18px 18px 8px}
 .fans-profile-bio p{margin:6px 0 8px;line-height:1.5}.fans-profile .fans-professional{padding:12px 14px}
 .fans-profile .fans-stories{padding:10px 16px 12px}.fans-profile .fans-stories .fans-avatar{width:54px;height:54px}
 .fans-profile .fans-grid-tabs button{padding:13px 6px}
}
/* Album backgrounds must not cover the actual profile thumbnails. */
.fans-grid-tile .fans-album-item img,.fans-grid-tile .fans-album-item video{z-index:0}
/* Compact horizontal discovery suggestions; scrolling stays inside the strip. */
#authenticated-app-view .member-activity{width:100%;max-width:1100px;min-width:0;margin:16px auto 20px;padding:0;box-sizing:border-box;border:1px solid #e9e5f0;border-radius:18px;background:#fff;overflow:hidden}
.suggestions-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 10px}
.suggestions-heading h2{font:600 15px/1.4 Poppins,system-ui;margin:0;color:#242038}.suggestions-heading p{font:400 11px/1.4 Poppins,system-ui;margin:3px 0 0;color:#817b8d}
.suggestions-close,.suggestion-dismiss{display:grid;place-items:center;padding:0;border:0;background:transparent;color:#716a80;cursor:pointer;font:400 24px/1 system-ui;min-width:30px;min-height:30px;border-radius:50%}
.suggestions-close:hover,.suggestion-dismiss:hover{background:#f2eef9;color:#5326a6}
.suggestions-track{display:flex;gap:10px;padding:0 14px 14px;overflow-x:auto;max-width:100%;min-width:0;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#ddd3ef transparent}
.suggestion-card{position:relative;box-sizing:border-box;flex:0 0 156px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;padding:14px 10px 10px;border:1px solid #eae6f1;border-radius:14px;background:linear-gradient(180deg,#fff,#fcfbfe);scroll-snap-align:start}
.suggestion-dismiss{position:absolute;right:3px;top:3px;min-width:26px;min-height:26px;font-size:20px;z-index:1}
.suggestion-portrait{padding:0;border:0;background:#f2eafc;border-radius:50%;width:64px;height:64px;overflow:hidden;cursor:pointer;margin-bottom:4px;flex-shrink:0}
.suggestion-portrait img{width:100%;height:100%;display:block;object-fit:cover}
.suggestion-card strong{font:600 12px/1.4 Poppins,system-ui;color:#272239;width:100%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.suggestion-age{font:400 10px/1.5 Poppins,system-ui;color:#81768d;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.suggestion-card .suggestion-open{display:block;width:100%;margin-top:5px;border:0;border-radius:9px;padding:9px 4px;min-height:34px;background:linear-gradient(110deg,#7351e5,#5835bd);color:#fff;font:600 10px/1.4 Poppins,system-ui;cursor:pointer;box-shadow:0 3px 8px #6d2fd015}
.suggestion-open:hover{background:#5428ad}.suggestion-open:focus-visible,.suggestion-portrait:focus-visible{outline:3px solid #b694fa;outline-offset:2px}
.fans-qr-actions button svg{width:26px;height:26px;stroke-width:1.8}
@media(max-width:600px){#authenticated-app-view .member-activity{margin:12px 0 16px;border-radius:14px}.suggestions-heading{padding:11px 12px 9px}.suggestions-track{padding:0 10px 11px;gap:8px}.suggestion-card{flex-basis:140px;padding:12px 8px 9px}.suggestion-portrait{width:56px;height:56px}.suggestions-heading h2{font-size:14px}}
.public-profile-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px 20px 0;background:white}.public-profile-actions[hidden]{display:none}
.public-profile-actions button{display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 5px;border:1px solid #e8dff4;border-radius:13px;background:#f6f0fc;color:#6d2fd0;font:600 12px/1.3 Poppins,system-ui;cursor:pointer;min-height:48px}
.public-profile-actions .public-action-message{background:linear-gradient(120deg,#7937df,#5424ab);color:white;border-color:transparent}.public-profile-actions .is-liked{color:#c2255c;background:#fff0f6;border-color:#f3cedd}.public-profile-actions button:disabled{opacity:.65;cursor:default}
button.fans-profile-avatar{padding:0;border:0;background:transparent;cursor:pointer;flex-shrink:0;border-radius:50%}.fans-profile-avatar>.fans-avatar{outline:2px solid #e0d9e8;box-shadow:none}.fans-profile-avatar.has-stories>.fans-avatar{outline:3px solid #9b44df;box-shadow:0 0 0 6px #f5e9fc}
.fans-avatar-menu,.fans-profile-photos-viewer{margin:auto;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:20px;border:0;border-radius:22px;box-sizing:border-box;overflow:auto;background:white;color:#30213d}
.fans-avatar-menu::backdrop,.fans-profile-photos-viewer::backdrop{background:#21112b99;backdrop-filter:blur(4px)}
.fans-avatar-menu header,.fans-profile-photos-viewer header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.fans-avatar-menu h2,.fans-profile-photos-viewer h2{font:600 17px/1.4 Poppins,system-ui;margin:0}
.fans-media-choice{display:flex;align-items:center;gap:12px;width:100%;padding:17px 14px;margin-top:9px;border:1px solid #e9dff4;border-radius:14px;background:#faf7fe;color:#5f2ca9;font:500 14px Poppins,system-ui;cursor:pointer}.fans-media-choice[hidden]{display:none}
.fans-profile-photo-stage{position:relative;background:#f5f1f8;border-radius:16px;overflow:hidden;touch-action:pan-y}.fans-profile-photo-stage img{display:block;width:100%;height:min(58dvh,540px);object-fit:contain}
.fans-profile-photo-stage button{position:absolute;top:calc(50% - 20px);width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff88;border-radius:50%;color:white;background:#251b36b8;cursor:pointer}.fans-photo-previous{left:10px}.fans-photo-next{right:10px}.fans-photo-next svg{transform:rotate(180deg)}.fans-profile-photo-stage button:disabled{opacity:.25;cursor:default}.fans-photo-counter{text-align:center;color:#75617f;font:500 12px Poppins,system-ui;margin:14px 0 0}
@media(max-width:420px){.public-profile-actions{padding:14px 12px 0;gap:7px}.public-profile-actions button{flex-direction:column;gap:5px;font-size:11px}.fans-avatar-menu,.fans-profile-photos-viewer{padding:16px}}

@media(max-width:767px){#public-profile-page-view .btn-auth-back-black{flex:0 0 42px;color:#5424ab!important}#public-profile-page-view .btn-auth-back-black svg{display:block!important;color:#5424ab!important;stroke:currentColor}#public-profile-back-label{display:none}}

/* Member page chrome and bounded publications. */
.member-section-title{font:600 clamp(16px,2vw,21px)/1.3 Poppins,system-ui;color:#392050;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}
.account-profile-resolving{padding:32px;text-align:center;color:#6c5c79;grid-column:2;min-height:180px}
html.chat-viewport-locked,html.chat-viewport-locked body{overflow:hidden!important;overscroll-behavior:none;height:100%}
#messaging-page-view{overflow:hidden;min-height:0!important;max-height:100dvh}
#messaging-page-view>div:first-child,#messaging-page-view>.chat-safety-notice,#messaging-page-view>.chat-input-toolbar{flex-shrink:0}
#chat-messages-container{min-height:0;overscroll-behavior:contain;overflow-anchor:none}
.fans-post-dialog{width:min(520px,calc(100vw - 32px));max-height:min(780px,84dvh);margin:auto;padding-top:44px;box-shadow:0 24px 90px #25113250}
.fans-post-dialog .fans-album-item{height:min(42dvh,400px);min-height:0;background:#f3eff8}
.fans-post-dialog .fans-album-item img,.fans-post-dialog .fans-album-item video{height:100%;max-height:100%;object-fit:contain;width:100%}
.fans-post-dialog .fans-dialog-close{position:sticky;float:right;top:0;margin:-38px 8px 4px 0;z-index:5;background:#f3edf8;color:#5424ab}
@media(max-width:800px){
 .studio-nav{grid-template-columns:1fr!important;gap:8px}.studio-nav button{min-height:66px;padding:14px 16px}.studio-nav button>svg:last-child{display:block}.studio-nav small{display:block!important}
 .account-profile-resolving{grid-column:1;padding:24px 12px}.fans-post-dialog{width:calc(100vw - 28px);max-height:82dvh;border-radius:20px}.member-section-title{max-width:75vw}
}

@media(max-width:800px){.studio-workspace.is-section-open .studio-nav,.studio-workspace.is-section-open .studio-hero{display:none}.studio-dashboard-return{font-size:13px;min-height:44px}.studio-heading{align-items:center}}
@media(max-width:800px){#account-panel-creator .studio-nav button{flex-direction:row;align-items:center;text-align:left;min-height:68px;padding:14px 16px;gap:13px}#account-panel-creator .studio-nav button>span{flex:1}#account-panel-creator .studio-nav strong{font-size:13px}#account-panel-creator .studio-nav small{font-size:11px;margin-top:2px}#account-panel-creator .studio-hero{padding:22px}#account-panel-creator .studio-hero h2{font-size:24px}}

/* Afrifans is a standalone workspace: one page and one back action at a time. */
#afrifans-studio-page-view{min-height:100dvh;background:#faf8fd;color:#30203e;padding-bottom:100px;overflow-x:clip}
.studio-page-header{position:sticky;top:0;z-index:30;background:#ffffffed;backdrop-filter:blur(16px);border-bottom:1px solid #ece6f3}
.studio-page-header>div{max-width:1060px;margin:auto;display:flex;align-items:center;gap:22px;padding:14px 24px;min-height:72px;box-sizing:border-box}
.studio-page-header h1{font:600 20px/1.35 Poppins,system-ui;margin:0;overflow-wrap:anywhere}
.studio-page-back{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;flex:none;border:1px solid #e6dbf1;border-radius:13px;padding:10px 14px;background:#fff;color:#684092;font:500 12px/1.4 Poppins,system-ui;cursor:pointer}
.studio-page-back:hover{background:#f3edf9}.studio-page-back:focus-visible{outline:3px solid #a16ae8;outline-offset:3px}
.studio-page-content{max-width:1000px;margin:auto;padding:26px 24px;box-sizing:border-box;min-width:0}
.studio-content-tools{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:0 0 24px;padding:18px;border:1px solid #e9e0f3;background:white;border-radius:16px}
.studio-content-tools label{display:grid;gap:8px;flex:1 1 220px;font:500 12px/1.5 Poppins,system-ui;color:#654a78}
.studio-content-tools input,.studio-content-tools select{box-sizing:border-box;width:100%;min-height:46px;padding:10px;border:1px solid #dfd2ec;border-radius:10px;background:white;color:#38234e;font:400 16px/1.5 Poppins,system-ui}
.studio-content-tools [role=status]{font:400 12px Poppins,system-ui;color:#897595}
#afrifans-studio-page-view[data-section=overview] .studio-page-content{max-width:780px}
#afrifans-studio-page-view .studio-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0}
#afrifans-studio-page-view .studio-nav button{flex-direction:row;align-items:center;text-align:left}
#afrifans-studio-page-view .studio-workspace.is-section-open .studio-nav,#afrifans-studio-page-view .studio-workspace.is-section-open .studio-hero{display:none}
#afrifans-studio-page-view .studio-heading{margin-top:0}
#afrifans-studio-page-view[data-section=overview] .studio-heading{margin-top:24px}
#afrifans-studio-page-view:not([data-section=overview]) .studio-heading h2{display:none}
#afrifans-studio-page-view .studio-heading>div:empty{display:none}
#afrifans-studio-page-view .studio-workspace .fans-own-posts{max-height:none;overflow:visible}
#afrifans-studio-page-view .studio-filters input,#afrifans-studio-page-view .studio-filters select,#afrifans-studio-page-view .fans-form input,#afrifans-studio-page-view .fans-form select,#afrifans-studio-page-view .fans-form textarea{font-size:16px}
@media(max-width:800px){
 .studio-page-header>div{padding:10px 14px;gap:12px;min-height:66px}.studio-page-header h1{font-size:16px}.studio-page-back{padding:10px;font-size:11px}
 .studio-page-content{padding:20px 16px}.studio-page-header svg{width:18px;height:18px}
 #afrifans-studio-page-view .studio-nav{grid-template-columns:1fr}
 #afrifans-studio-page-view .studio-hero{padding:20px!important}
 #afrifans-studio-page-view .studio-hero h2{font-size:23px!important}
}

.fans-file-picker{padding:16px;border:1px dashed #cdb8e7;border-radius:15px;background:#faf7fe;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.fans-file-picker input[hidden]{display:none!important}.fans-file-picker [data-file-summary]{font:400 12px/1.6 Poppins,system-ui;color:#705b80;overflow-wrap:anywhere;max-width:100%}.fans-file-picker button{max-width:100%;white-space:normal;text-align:left;min-height:44px}
.fans-selection>div{min-width:0}.fans-selection small{overflow-wrap:anywhere}.fans-video-placeholder{display:flex;align-items:center;justify-content:center;min-height:120px;padding:14px;background:#ede5f7;color:#6b458b;font:500 12px/1.6 Poppins,system-ui;text-align:center;border-radius:10px}
