/* FANSIVA layout, rebuilt from the supplied WHAT'S ON visual reference. */
:root{--what-bg:#0B0B0D;--what-surface:#151518;--what-muted:#92929B;--what-line:#ffffff14;--what-radius:20px;--what-width:1180px}
body{background:var(--what-bg);font:1.0625rem/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Segoe UI",system-ui,sans-serif}.topbar{gap:24px;height:auto;min-height:72px;padding:14px max(20px,calc((100% - var(--what-width))/2));background:#0B0B0Dcc;border-bottom:1px solid var(--what-line);backdrop-filter:blur(20px)}.brand{font-size:15px;letter-spacing:.14em}.desktop-nav{gap:4px;margin-left:16px}.desktop-nav a{min-height:44px;padding:10px 14px;border-radius:12px;color:var(--what-muted)}.desktop-nav a:hover{color:#fff;background:transparent}.page{max-width:var(--what-width);width:100%;padding:0 20px 56px}.feed-wrap{max-width:none;margin:0}.home-hero{position:relative;padding:72px 0 24px}.home-hero:before{content:"";position:absolute;inset:-60px -20px auto;height:440px;background:radial-gradient(60% 70% at 15% 0,#e3263630,transparent 70%);pointer-events:none;z-index:-1}.hero-kicker{display:inline-flex;align-items:center;gap:10px;color:var(--what-muted);font-size:.9375rem;margin:0 0 20px}.hero-kicker i{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 0 #e3263699;animation:fansiva-pulse 2s infinite}@keyframes fansiva-pulse{70%,100%{box-shadow:0 0 0 10px #e3263600}}.home-hero h1{max-width:780px;margin:0;font-size:clamp(44px,8vw,92px);line-height:1.02;font-weight:800;letter-spacing:-.035em}.home-hero>p{max-width:560px;color:var(--what-muted);margin:20px 0 28px;font-size:19px}.home-search{display:flex;gap:8px;max-width:640px;background:var(--what-surface);border:1px solid var(--what-line);border-radius:999px;padding:6px}.home-search input{flex:1;min-width:0;background:none!important;border:0!important;box-shadow:none!important;padding:0 16px;min-height:44px}.home-search button{min-height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--accent);color:var(--bg);font-weight:700}.home-chips{display:flex;gap:8px;overflow-x:auto;padding:18px 0 4px;scrollbar-width:none}.home-chips a{white-space:nowrap;min-height:44px;display:flex;align-items:center;padding:0 16px;border:1px solid var(--what-line);border-radius:999px;background:var(--what-surface);color:var(--what-muted);font-size:14px}.home-chips a:first-child{background:var(--accent);border-color:var(--accent);color:var(--bg);font-weight:700}.home-section{padding:40px 0}.home-section h2{margin:0 0 20px;font-size:1.625rem;letter-spacing:-.02em}.discovery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.discovery-card{display:flex;flex-direction:column;min-height:100%;overflow:hidden;border:1px solid var(--what-line);border-radius:var(--what-radius);background:var(--what-surface);transition:transform .25s,border-color .25s}.discovery-card:hover{transform:translateY(-4px);border-color:#ffffff30}.discovery-image{position:relative;aspect-ratio:16/10;background:radial-gradient(120% 90% at 20% 0,#e32636,transparent 60%),linear-gradient(160deg,#64151f,#0B0B0D);overflow:hidden}.discovery-image img{display:block;width:100%;height:100%;object-fit:cover}.discovery-image span{position:absolute;bottom:14px;left:14px;padding:8px 12px;border-radius:999px;background:var(--accent);color:var(--bg);font-size:.8125rem;font-weight:700}.discovery-body{padding:16px 18px 20px}.discovery-body h3{margin:0 0 4px;font-size:1.25rem;letter-spacing:-.01em}.discovery-body p{margin:0;color:var(--what-muted);font-size:.9375rem}.discovery-body small{display:block;margin-top:6px;color:var(--what-muted);font-size:.8125rem}.feed-tabs,.story-row{max-width:640px}.post-card{max-width:640px;border:1px solid var(--what-line);border-radius:var(--what-radius);background:var(--what-surface);overflow:hidden;margin-bottom:18px}.post-author{padding:14px}.post-image,.post-art{border-radius:0}.post-actions,.caption,.comments{padding-left:16px;padding-right:16px}.post-grid{columns:3;gap:18px}.post-grid .post-card{margin-bottom:18px;border-radius:var(--what-radius)}.profile-posts{columns:3;gap:18px}.profile-posts .post-card{border-radius:var(--what-radius);margin-bottom:18px}.auth-card,.compose,.messages,.notification-list,.admin-list{border-color:var(--what-line);background:var(--what-surface);border-radius:var(--what-radius)}.upload-dropzone{border-radius:var(--what-radius)!important;background:var(--what-surface)!important}.tabbar{background:#151518e6;border-top:1px solid var(--what-line);border-radius:0;left:0;right:0;bottom:0;box-shadow:none}.tabbar a{border-radius:14px}.tabbar .create-tab{border-radius:14px;box-shadow:none}.tabbar .create-tab{color:#0B0B0D}.tabbar a[aria-current]{background:transparent;color:var(--accent)}
@media(max-width:820px){.topbar{padding:12px 20px}.page{padding:0 20px calc(74px + env(safe-area-inset-bottom))}.home-hero{padding:40px 0 8px}.home-hero h1{font-size:clamp(44px,12vw,64px)}.home-hero>p{font-size:17px}.discovery-grid{grid-template-columns:1fr}.post-card{border-radius:var(--what-radius)}.post-grid,.profile-posts{columns:2;gap:8px}.post-grid .post-card,.profile-posts .post-card{border-radius:10px;margin-bottom:8px}.tabbar{padding:6px 6px calc(6px + env(safe-area-inset-bottom));height:auto}.tabbar .create-tab{height:42px;width:42px;align-content:center}}

/* FANSIVA social refresh: premium dark surfaces, vivid red accents. */
:root{--fs-bg:#0b0b0d;--fs-panel:#151518;--fs-panel-2:#1c1c21;--fs-line:#ffffff12;--fs-red:#ed2638;--fs-muted:#9b9ba5}
/* Inbox and one-to-one DM */
.dm-page{max-width:760px;height:min(760px,calc(100dvh - 116px));min-height:520px;margin:22px auto 0;display:grid;grid-template-rows:76px 1fr auto;border:1px solid var(--fs-line);border-radius:24px;overflow:hidden;background:linear-gradient(160deg,#17171b,#111114 72%);box-shadow:0 22px 70px #0005}
.dm-header{display:flex;align-items:center;gap:13px;padding:0 20px;border-bottom:1px solid var(--fs-line);background:#19191de8}
.dm-back{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#ffffff09;color:#fff;font-size:30px;line-height:1}
.dm-avatar{width:44px;height:44px}.dm-person{display:grid;gap:2px}.dm-person strong{font-size:15px}.dm-person small{font-size:11px;color:var(--fs-muted)}.dm-profile-link{margin-left:auto;color:var(--fs-muted);letter-spacing:3px;padding:10px}
.dm-log{padding:24px 22px;overflow:auto;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}.dm-date{align-self:center;color:#777781;font-size:9px;letter-spacing:.16em;margin:2px 0 12px}.dm-message{max-width:min(76%,480px);padding:12px 15px 9px;border:1px solid #ffffff08;border-radius:18px 18px 18px 5px;background:#28282e;color:#f7f7f8;font-size:14px;line-height:1.45;overflow-wrap:anywhere;box-shadow:0 5px 16px #0002}.dm-message.mine{align-self:flex-end;border-color:#ff697533;border-radius:18px 18px 5px 18px;background:linear-gradient(135deg,#f02b40,#c91d31);color:#fff}.dm-message small{display:block;margin-top:5px;font-size:10px;color:#ffffffa8;text-align:right}.dm-empty{margin:auto;text-align:center;color:var(--fs-muted);display:grid;justify-items:center;gap:8px}.dm-empty-icon{width:54px;height:54px;border:1px solid #ed263844;background:#ed263814;color:#ff6674;border-radius:18px;display:grid;place-items:center;font-size:24px}.dm-empty strong{color:#f5f5f6;font-size:15px}.dm-empty p{font-size:12px;margin:0}.dm-composer{display:flex;align-items:center;gap:10px;padding:13px 15px;border-top:1px solid var(--fs-line);background:#141417}.dm-composer input{min-width:0;flex:1;height:48px;padding:0 16px;border:1px solid #ffffff12;border-radius:15px;background:#202025;color:#fff;outline:none}.dm-composer input:focus{border-color:#ed263888;box-shadow:0 0 0 3px #ed263817}.dm-composer button{width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:15px;background:var(--fs-red);color:white;box-shadow:0 6px 18px #ed263833}.dm-composer svg{width:21px;height:21px;fill:currentColor}
.inbox-page{max-width:760px;margin:30px auto}.inbox-heading{padding:8px 4px 22px}.inbox-heading h1{margin:6px 0;font-size:34px;letter-spacing:-.04em}.inbox-heading p{margin:0;color:var(--fs-muted);font-size:13px}.inbox-list{overflow:hidden;border:1px solid var(--fs-line);border-radius:20px;background:var(--fs-panel)}.inbox-item{display:flex;align-items:center;gap:13px;padding:16px 18px;border-bottom:1px solid var(--fs-line);transition:background .18s}.inbox-item:last-child{border-bottom:0}.inbox-item:hover{background:#ffffff07}.inbox-item .avatar{width:46px;height:46px}.inbox-copy{min-width:0;flex:1}.inbox-copy strong,.inbox-copy small{display:block}.inbox-copy strong{font-size:14px}.inbox-copy small{margin-top:4px;color:var(--fs-muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-arrow{color:#777;font-size:24px}
/* Profile header */
.profile-modern{max-width:850px;margin:26px auto}.profile-cover{height:150px;position:relative;overflow:hidden;border:1px solid #ffffff12;border-radius:23px;background:radial-gradient(65% 140% at 82% 0,#f02b403d,transparent 68%),radial-gradient(45% 120% at 15% 100%,#8d1b2c55,transparent 70%),linear-gradient(120deg,#1b171b,#17171c 55%,#211116)}.profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 25%,#ffffff05 25.2%,transparent 25.8%,transparent 70%,#ffffff05 70.2%,transparent 70.8%)}.profile-cover span{position:absolute;right:22px;bottom:17px;color:#ffffff55;font-size:9px;letter-spacing:.22em;font-weight:800}.profile-main-head{display:flex;align-items:flex-end;gap:18px;padding:0 24px;margin-top:-43px;position:relative}.profile-avatar{width:104px!important;height:104px!important;border:5px solid #0b0b0d;box-shadow:0 8px 26px #0008;font-size:34px!important}.profile-identity{padding:0 0 7px}.profile-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-identity h1{font-size:29px;margin:0;letter-spacing:-.04em}.profile-identity p{font-size:13px;color:#aaaab3;margin:4px 0 0}.profile-you{font-size:8px;letter-spacing:.1em;color:#ff8490;border:1px solid #ed26384a;background:#ed263814;padding:5px 8px;border-radius:20px}.profile-stats{display:flex;gap:0;margin:19px 24px 0;padding:15px 0;border-top:1px solid var(--fs-line);border-bottom:1px solid var(--fs-line)}.profile-stats>div{min-width:105px;display:grid;gap:1px;padding:0 20px;border-right:1px solid var(--fs-line)}.profile-stats>div:first-child{padding-left:0}.profile-stats>div:last-child{border:0}.profile-stats strong{font-size:18px}.profile-stats span{font-size:11px;color:var(--fs-muted)}.profile-actions-modern{margin:17px 24px 24px}.profile-actions-modern form{margin:0}.profile-actions-modern .button{min-height:40px;border-radius:12px;font-size:12px}.profile-actions-modern .button.ghost{background:#ffffff08}.profile-more{margin-left:auto;color:var(--fs-muted);padding:8px 12px;letter-spacing:3px}.profile-edit{margin:18px 24px}.profile-post-heading{display:flex;align-items:end;justify-content:space-between;padding:10px 2px 14px}.profile-post-heading .eyebrow{font-size:9px}.profile-post-heading h2{font-size:21px;margin:3px 0 0;letter-spacing:-.03em}.profile-post-heading>span{font-size:11px;color:var(--fs-muted)}
/* Post actions and comments inspired by the supplied social UI. */
.post-modern{border-radius:19px;background:#151518;border-color:#ffffff14;box-shadow:0 10px 30px #0002}.post-modern .post-author{padding:14px 16px}.post-author-meta{display:grid;gap:2px}.post-author-meta strong{font-size:13px}.post-author-meta small{font-size:10px;color:var(--fs-muted)}.post-modern .post-image{max-height:620px}.post-engagement{padding:0 15px 13px}.post-action-row{display:flex;align-items:center;gap:12px;padding:11px 0 5px}.reaction-wrap{position:relative}.reaction-wrap form{margin:0}.reaction-main,.post-action{width:37px;height:37px;display:grid;place-items:center;border:0;border-radius:50%;background:#ffffff09;color:#f1f1f3;font-size:22px;transition:background .18s,transform .18s}.reaction-main:hover,.post-action:hover{background:#ffffff16;transform:translateY(-1px)}.reaction-main.is-liked{color:#ff4052;background:#ed26381b}.post-action{font-size:19px;color:#b8b8c0}.reaction-picker{position:absolute;z-index:4;left:-5px;bottom:45px;display:flex;gap:3px;padding:7px 9px;border:1px solid #ffffff17;border-radius:30px;background:#242429;box-shadow:0 12px 35px #0009;opacity:0;visibility:hidden;transform:translateY(7px);transition:.18s}.reaction-wrap:hover .reaction-picker,.reaction-wrap:focus-within .reaction-picker,.reaction-picker.open{opacity:1;visibility:visible;transform:translateY(0)}.reaction-picker button{width:32px;height:32px;border:0;border-radius:50%;background:transparent;font-size:20px;cursor:pointer;transition:transform .15s}.reaction-picker button:hover{transform:scale(1.25)}.post-social-meta{display:flex;align-items:center;justify-content:space-between;padding:1px 0 7px}.like-count{font-size:11px;color:#d7d7dc;font-weight:650}.comment-count{border:0;background:none;color:var(--fs-muted);font-size:11px;cursor:pointer}.comment-count span{color:#ff7d89}.post-modern .caption{padding:4px 0 8px;font-size:12px;line-height:1.55}.post-modern .caption strong{margin-right:5px}.comments-panel{padding-top:9px;border-top:1px solid var(--fs-line)}.comment-list{display:grid;gap:9px;max-height:210px;overflow:auto}.comment-list p{display:grid;gap:2px;margin:0;font-size:11px}.comment-list strong{color:#f0f0f2}.comment-list p span{color:#c4c4cb;overflow-wrap:anywhere}.comment-list .no-comments{color:var(--fs-muted)}.comment-form{display:flex;align-items:center;gap:8px;margin-top:12px;padding:5px 6px 5px 13px;border:1px solid #ffffff13;border-radius:30px;background:#202025}.comment-form input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:12px;padding:8px 0}.comment-form input::placeholder{color:#777780}.comment-form button{width:33px;height:33px;border:0;border-radius:50%;background:var(--fs-red);color:white;font-size:16px}.profile-posts{columns:2;column-gap:16px}.profile-posts .post-card{width:100%;display:inline-block;break-inside:avoid}
@media(max-width:720px){.dm-page{height:calc(100dvh - 145px);min-height:470px;margin:0 -4px;border-radius:19px}.dm-header{padding:0 13px}.dm-log{padding:18px 14px}.dm-composer{padding:10px}.inbox-page{margin:16px auto}.inbox-heading h1{font-size:29px}.profile-modern{margin:10px auto}.profile-cover{height:112px;border-radius:18px}.profile-main-head{padding:0 13px;gap:12px;margin-top:-35px}.profile-avatar{width:82px!important;height:82px!important;border-width:4px;font-size:27px!important}.profile-identity h1{font-size:23px}.profile-identity p{font-size:11px}.profile-stats{margin:15px 13px 0}.profile-stats>div{min-width:0;flex:1;padding:0 13px}.profile-stats strong{font-size:16px}.profile-actions-modern{margin:14px 13px 20px}.profile-post-heading{padding:8px 2px 12px}.profile-posts{columns:1}.reaction-picker{gap:0;padding:5px 7px}.reaction-picker button{width:29px;height:29px;font-size:18px}}
.reaction-picker form{display:contents}.reaction-picker button{padding:0}

/* FANSIVA refinement pass: compact navigation, richer profile editor and discovery feed. */
.topbar{min-height:66px;height:66px;padding:0 max(24px,calc((100% - 1320px)/2));gap:30px;background:#0b0b0df2}
.desktop-nav{align-items:center;gap:8px;margin-left:12px}
.desktop-nav a{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:0 16px;border:1px solid transparent;border-radius:13px;color:#aaaab3;font-size:13px;transition:.18s}
.desktop-nav a span{font-size:17px;color:#777780}
.desktop-nav a:hover{color:#fff;background:#ffffff08;border-color:#ffffff0d}
.desktop-nav a:hover span{color:#ed2638}
.top-actions{gap:12px}
.page{max-width:1320px;padding-top:22px}
/* Reaction summary: top three most-used emoji, followed by the total. */
.post-social-meta{min-height:30px}
.reaction-summary{display:flex;align-items:center;gap:0;min-width:0}
.reaction-summary-item{position:relative;display:grid;place-items:center;width:23px;height:23px;margin-right:-5px;border:2px solid #151518;border-radius:50%;background:#27272d;font-size:12px;line-height:1;box-shadow:0 1px 3px #0007}
.reaction-summary-item:first-child{z-index:3}.reaction-summary-item:nth-child(2){z-index:2}.reaction-summary-item:nth-child(3){z-index:1;margin-right:7px}
.reaction-summary strong{margin-left:4px;color:#898992;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
/* Profile settings */
.settings-page{width:min(100%,760px);margin:34px auto 70px}
.settings-heading{margin:0 0 26px;padding:0 4px}
.settings-heading h1{margin:8px 0 7px;font-size:clamp(34px,5vw,48px);line-height:1.08;letter-spacing:-.045em}
.settings-heading p{margin:0;color:#9999a3;font-size:14px}
.settings-form{padding:26px;border:1px solid #ffffff13;border-radius:24px;background:linear-gradient(145deg,#19191e,#131316 70%);box-shadow:0 22px 65px #0003}
.settings-photo-card{display:flex;align-items:center;gap:20px;padding:4px 0 25px;border-bottom:1px solid #ffffff12}
.settings-avatar-wrap{position:relative;flex:0 0 auto}
.settings-avatar{width:94px;height:94px;border:3px solid #ed26384d;box-shadow:0 0 0 6px #ed263810;font-size:32px}
.settings-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.online-dot{position:absolute;right:5px;bottom:5px;width:13px;height:13px;border:3px solid #17171b;border-radius:50%;background:#48c78e}
.settings-photo-copy{display:grid;justify-items:start;gap:7px;min-width:0}
.settings-photo-copy>strong{font-size:16px}
.settings-photo-copy p{max-width:430px;margin:0 0 3px;color:#9696a0;font-size:12px;line-height:1.55}
.photo-change{min-height:38px;padding:0 15px;border:1px solid #ffffff1b!important;border-radius:11px!important;background:#ffffff08!important;color:#f5f5f7!important;font-size:12px;cursor:pointer}
.photo-change:hover{border-color:#ed26386b!important;background:#ed263812!important}
.file-name{color:#777780;font-size:10px}
.visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.settings-field{padding:24px 0 20px}
.field-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.field-heading label{font-size:14px;font-weight:700}
.field-heading span,.bio-foot{color:#777780;font-size:11px}
.settings-field textarea{display:block;width:100%;min-height:142px;resize:vertical;padding:16px 17px;border:1px solid #ffffff17;border-radius:15px;background:#101013;color:#f7f7f8;outline:0;font-size:14px;line-height:1.6;transition:border-color .18s,box-shadow .18s}
.settings-field textarea:focus{border-color:#ed263888;box-shadow:0 0 0 4px #ed263814}
.settings-field textarea::placeholder{color:#686871}
.bio-foot{display:flex;justify-content:space-between;gap:12px;margin-top:9px}
.settings-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px;border-top:1px solid #ffffff12}
.settings-footer .text-link{font-size:12px}
.save-profile{min-height:46px;padding:0 22px;border-radius:12px;gap:12px;box-shadow:0 8px 22px #ed26382b}
.save-profile span{font-size:18px;line-height:1}
/* Instagram-like discovery stream */
.explore-page{max-width:920px;margin:8px auto 70px}
.explore-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:6px 0 18px}
.explore-heading h1{margin:5px 0 4px;font-size:clamp(34px,5vw,46px);letter-spacing:-.045em;line-height:1.1}
.explore-heading p{margin:0;color:#92929c;font-size:13px}
.refresh-feed{flex:0 0 auto;min-height:40px;border:1px solid #ffffff18!important;background:#17171b!important;color:#eee!important;font-size:12px}
.refresh-feed span{margin-right:6px;color:#ff5969;font-size:17px}
.explore-search{max-width:100%;margin:10px 0 22px}
.explore-search input{min-height:48px;border-radius:13px}
.explore-search button{min-width:72px;border-radius:12px}
.explore-stories{margin:0 0 26px;padding:17px 18px 15px;border:1px solid #ffffff12;border-radius:19px;background:#141417}
.stories-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.stories-title strong{font-size:14px}.stories-title span{color:#777780;font-size:11px}
.story-strip{display:flex;gap:19px;overflow-x:auto;padding:2px 2px 5px;scrollbar-width:thin;scrollbar-color:#38383f transparent}
.explore-story{display:grid;justify-items:center;gap:6px;flex:0 0 62px;min-width:0}
.story-ring{display:grid;place-items:center;width:59px;height:59px;padding:3px;border-radius:50%;background:linear-gradient(135deg,#ff596b,#ed2638 52%,#6e1b2b)}
.story-ring .avatar{width:100%;height:100%;border:2px solid #141417;font-style:normal;font-size:17px}
.story-ring .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.explore-story small{max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c8c8ce;font-size:10px}
.explore-feed-heading{display:flex;align-items:center;justify-content:space-between;max-width:640px;margin:0 auto 13px}
.explore-feed-heading h2{margin:0;font-size:19px;letter-spacing:-.02em}
.explore-feed-heading>span{color:#777780;font-size:11px}
.explore-feed{display:flex;flex-direction:column;align-items:center}
.explore-feed .post-card{width:min(100%,640px);max-width:640px;margin:0 auto 20px}
.explore-feed .post-image{width:100%;max-height:700px;object-fit:cover}
@media(max-width:820px){.topbar{height:60px;min-height:60px;padding:0 16px;gap:10px}.desktop-nav{margin-left:0;gap:2px}.desktop-nav a{gap:5px;padding:0 9px;font-size:11px}.desktop-nav a span{font-size:15px}.page{padding:14px 16px calc(82px + env(safe-area-inset-bottom))}.settings-page{margin:12px auto 35px}.settings-form{padding:19px;border-radius:19px}.settings-heading{margin-bottom:19px}.settings-photo-card{gap:14px}.settings-avatar{width:78px;height:78px}.settings-photo-copy p{font-size:11px}.explore-page{margin:0 auto 40px}.explore-heading{align-items:flex-start}.explore-heading h1{font-size:34px}.explore-heading p{max-width:280px;font-size:11px}.refresh-feed{min-height:36px;padding:0 10px;font-size:10px}.explore-stories{padding:14px 12px}.story-strip{gap:13px}.explore-feed .post-card{width:100%;margin-bottom:14px}}
@media(max-width:520px){.desktop-nav a{padding:0 6px;font-size:10px}.desktop-nav a span{display:none}.settings-photo-card{align-items:flex-start}.settings-avatar{width:68px;height:68px;font-size:24px}.settings-photo-copy p{max-width:235px}.settings-footer{align-items:stretch;flex-direction:column-reverse}.settings-footer .text-link{align-self:flex-start}.save-profile{width:100%}.explore-heading{display:block}.refresh-feed{margin-top:12px}.explore-heading h1{font-size:32px}}

/* Live notifications popover and reaction count cluster */
.top-actions{position:relative}.notification-anchor{position:relative}.notification-trigger{background:#101014;color:#d8d8df;cursor:pointer}.notification-popover{position:absolute;right:0;top:calc(100% + 14px);z-index:1000;width:min(370px,calc(100vw - 28px));max-height: min(560px,75vh);overflow:hidden;border:1px solid #ffffff1b;border-radius:18px;background:#17171b;box-shadow:0 22px 70px #000b;animation:notification-in .16s ease-out}.notification-popover[hidden]{display:none}.notification-popover>header{display:flex;align-items:center;justify-content:space-between;padding:16px 17px;border-bottom:1px solid #ffffff12}.notification-popover>header strong{font-size:16px}.notification-popover>header a{color:#ff6978;font-size:12px}.notification-popover-list{max-height:470px;overflow:auto}.notification-popover-item{display:flex;align-items:center;gap:11px;padding:12px 14px;border-bottom:1px solid #ffffff0d;transition:background .15s}.notification-popover-item:hover{background:#ffffff08}.notification-popover-item.unread{background:#ed26380b}.notification-popover-item .notification-avatar{width:43px;height:43px;flex:0 0 43px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(140deg,#ed2638,#55202a);font-weight:800}.notification-avatar img{width:100%;height:100%;object-fit:cover}.notification-copy{min-width:0;flex:1;font-size:12px;line-height:1.45;color:#d9d9df}.notification-copy strong{color:#fff}.notification-copy small{display:block;margin-top:3px;color:#898993;font-size:10px}.notification-kind-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#ffffff0b;font-size:17px}.notification-empty{padding:24px;text-align:center;color:#92929b;font-size:12px}.reaction-summary{display:inline-flex;align-items:center;gap:0;min-width:0}.reaction-summary-item{position:relative;display:grid;place-items:center;width:23px;height:23px;margin-right:-5px;border:2px solid #151518;border-radius:50%;background:#27272d;font-size:12px;line-height:1;box-shadow:0 1px 3px #0007}.reaction-summary-item:first-child{z-index:3}.reaction-summary-item:nth-child(2){z-index:2}.reaction-summary-item:nth-child(3){z-index:1;margin-right:7px}.reaction-summary .like-count{margin-left:5px;color:#898992;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.post-social-meta{justify-content:flex-start;gap:12px}.post-social-meta .comment-count{margin-left:auto}@keyframes notification-in{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.avatar.small{width:38px;height:38px;min-width:38px;min-height:38px;border-radius:50%;overflow:hidden;padding:0;border:1px solid #ffffff20}.avatar.small img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.inline-action-error{display:block;color:#ff8994;font-size:11px;margin:4px 8px}

/* Header avatar: keep the uploaded photo edge-to-edge inside the same circular frame. */
.topbar .top-actions > a.topbar-avatar.avatar.small{display:block!important;position:relative!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;overflow:hidden!important;border:2px solid #ed2638!important;border-radius:50%!important;background:#19191d!important;line-height:0!important;isolation:isolate}
.topbar .top-actions > a.topbar-avatar.avatar.small img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
/* Fast, subtle cross-page visual transition; browser keeps the navigation native. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:fs-page-out .12s ease both}
::view-transition-new(root){animation:fs-page-in .16s ease both}
@keyframes fs-page-out{to{opacity:.82}}
@keyframes fs-page-in{from{opacity:.88}to{opacity:1}}

/* Explore publishing and audience controls */
.explore-heading-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.new-post-button{min-height:40px;padding:0 15px;border-radius:12px;gap:6px;font-size:12px;box-shadow:0 7px 20px #ed26382b}.new-post-button span{font-size:18px;line-height:1}.compose-modern{width:min(100%,650px);margin:28px auto 70px;padding:clamp(20px,4vw,34px);border:1px solid #ffffff15;border-radius:22px;background:linear-gradient(145deg,#19191e,#111114);box-shadow:0 24px 80px #0005}.compose-topline{display:flex;align-items:center;justify-content:space-between}.compose-close{display:grid;place-items:center;width:35px;height:35px;border:1px solid #ffffff1b;border-radius:11px;color:#aaa;font-size:24px}.compose-modern h1{margin:12px 0 3px;font-size:clamp(26px,4vw,34px);letter-spacing:-.04em}.compose-subtitle{margin:0 0 23px;color:#90909a;font-size:13px}.compose-form{display:grid;gap:17px}.compose-upload{position:relative;display:grid;justify-items:center;gap:7px;min-height:210px;padding:27px 18px;border:1px dashed #ffffff2b;border-radius:17px;background:#101014;cursor:pointer;text-align:center;overflow:hidden}.compose-upload input{position:absolute;width:1px;height:1px;opacity:0}.compose-upload-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ed26384d;border-radius:15px;background:#ed263814;color:#ff6473;font-size:28px}.compose-upload strong{font-size:14px}.compose-upload small{color:#85858f;font-size:11px}.compose-image-preview{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#08080a}.compose-upload.has-image .compose-image-preview{display:block}.compose-upload.has-image>*:not(input):not(.compose-image-preview){opacity:0;pointer-events:none}.compose-caption-label{display:grid;gap:8px;color:#e8e8eb;font-size:13px;font-weight:650}.compose-caption-label textarea{width:100%;min-height:116px;resize:vertical;padding:14px 15px;border:1px solid #ffffff18;border-radius:14px;background:#101014;color:#fff;outline:0;font:inherit;font-weight:400}.compose-caption-label textarea:focus,.compose-audience select:focus{border-color:#ed263888;box-shadow:0 0 0 3px #ed263817}.compose-caption-label textarea::placeholder{color:#696973}.compose-char-count{justify-self:end;color:#777780;font-size:10px;font-weight:400}.compose-audience{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid #ffffff15;border-radius:14px;background:#111115}.compose-audience>div{display:grid;gap:3px}.compose-audience strong{font-size:12px}.compose-audience small{color:#888892;font-size:10px}.compose-audience select{max-width:58%;min-height:39px;padding:0 10px;border:1px solid #ffffff1c;border-radius:10px;background:#1d1d22;color:#f5f5f6;font-size:11px}.adult-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #ed26383b;border-radius:14px;background:#ed26380b;cursor:pointer}.adult-option>input{width:17px;height:17px;accent-color:#ed2638}.adult-option>span{display:grid;gap:3px;flex:1}.adult-option strong{font-size:12px}.adult-option small{color:#9999a3;font-size:10px;line-height:1.5}.adult-option>b{display:grid;place-items:center;min-width:37px;height:28px;border-radius:8px;background:#ed26381b;color:#ff7380;font-size:11px}.adult-info{padding:11px 13px;border-radius:10px;background:#ed263812;color:#ff9aa4;font-size:11px;line-height:1.5}.adult-info[hidden]{display:none}.compose-publish{width:100%;min-height:47px;border-radius:12px;font-size:14px;box-shadow:0 8px 25px #ed26382b}

/* Age-sensitive image preview: blurred for everyone until explicitly revealed. */
.post-image-wrap{position:relative;overflow:hidden;background:#09090b}.post-image-wrap .post-image{display:block;width:100%;max-height:700px;object-fit:cover}.censored-image{filter:blur(22px) brightness(.55)!important;transform:scale(1.06)}.post-image-wrap.is-censored{min-height:260px}.censor-overlay{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px;background:linear-gradient(135deg,#09090bd9,#111114a8);text-align:center}.censor-badge{padding:5px 9px;border:1px solid #ed263866;border-radius:999px;background:#ed26381c;color:#ff8792;font-size:10px;font-weight:750;letter-spacing:.04em}.censor-overlay strong{color:#fff;font-size:14px}.censor-overlay small{color:#b0b0b8;font-size:11px}.reveal-image-button{min-height:38px;margin-top:5px;padding:0 17px;border:0;border-radius:10px;background:#ed2638;color:#fff;font-size:12px;font-weight:750;box-shadow:0 7px 20px #ed26383b}.post-image-wrap.is-revealed .censored-image,.discovery-image.is-revealed .censored-image{filter:none!important;transform:none}.discovery-image .censor-overlay{gap:6px}.discovery-image .censor-overlay strong{font-size:12px}.discovery-image .censor-overlay small{font-size:10px}.discovery-image .reveal-image-button{min-height:32px;font-size:10px}.discovery-author{position:absolute;z-index:3;bottom:14px;left:14px;padding:8px 12px;border-radius:999px;background:var(--accent);color:var(--bg);font-size:.8125rem;font-weight:700}.discovery-image.is-censored .discovery-author{display:none}
@media(max-width:520px){.explore-heading-actions{margin-top:12px}.explore-heading-actions .button{flex:1;justify-content:center}.compose-modern{margin:10px auto 45px;padding:18px;border-radius:18px}.compose-upload{min-height:175px}.compose-audience{align-items:flex-start;flex-direction:column}.compose-audience select{max-width:none;width:100%}.censor-overlay strong{font-size:12px}}

/* Verified identity and contextual post actions */
.verified-badge{display:inline-block;width:18px;height:18px;object-fit:contain;margin-left:4px;vertical-align:-4px;filter:drop-shadow(0 1px 1px #0002)}
.profile-name-row .verified-badge{width:22px;height:22px;vertical-align:-5px}
.post-menu-wrap{position:relative;margin-left:auto;z-index:12}
.post-menu-trigger{display:grid;place-items:center;min-width:38px;height:36px;border:0;border-radius:10px;background:transparent;color:#a8a8b1;font-size:20px;letter-spacing:2px;cursor:pointer}
.post-menu-trigger:hover,.post-menu-trigger[aria-expanded="true"]{background:#ffffff0d;color:#fff}
.post-menu{position:absolute;top:calc(100% + 8px);right:0;width:min(286px,calc(100vw - 42px));padding:7px;border:1px solid #ffffff16;border-radius:15px;background:#202024;box-shadow:0 18px 55px #000b;z-index:30;animation:notification-in .14s ease-out}
.post-menu[hidden]{display:none}
.post-menu>a,.post-menu>form>button{display:flex;align-items:flex-start;gap:12px;width:100%;padding:11px 10px;border:0;border-radius:10px;background:transparent;color:#d7d7dc;text-align:left;text-decoration:none;cursor:pointer}
.post-menu>a:hover,.post-menu>form>button:hover{background:#ffffff0a}
.post-menu>a>span:first-child,.post-menu>form>button>span:first-child{width:22px;flex:0 0 22px;color:#96969f;font-size:17px;text-align:center}
.post-menu strong{display:block;color:#f1f1f3;font-size:12px;font-weight:700;line-height:1.35}
.post-menu small{display:block;margin-top:3px;color:#888891;font-size:10px;line-height:1.4}
.post-menu .menu-danger strong,.post-menu .menu-danger>span:first-child{color:#ff6574}
.post-is-archived{outline:1px dashed #ed263866;outline-offset:3px}
.comments-closed-note{margin:0;padding:12px 14px;color:#9999a3;font-size:12px;border-top:1px solid #ffffff0d}
.admin-users article{align-items:center}
.admin-user-identity{display:flex;align-items:center;gap:11px;min-width:0}
.admin-user-identity .avatar{width:40px;height:40px;flex:0 0 40px}
.admin-user-identity>div{min-width:0}
.admin-user-identity strong,.admin-user-identity small{display:block;overflow-wrap:anywhere}
.admin-user-identity small,.admin-protected-label{color:#898992;font-size:11px}
.admin-users .button{white-space:nowrap}
.compose-modern{border-color:#ffffff1b;background:linear-gradient(155deg,#1b1b20 0%,#121216 72%);}
.compose-upload{transition:border-color .18s,background .18s,transform .18s}
.compose-upload:hover,.compose-upload:focus-within{border-color:#ed2638a6;background:#151217}
.compose-upload:active{transform:scale(.995)}
.compose-caption-label textarea{transition:border-color .18s,box-shadow .18s}
.compose-audience{box-shadow:inset 0 1px #ffffff05}
@media(max-width:520px){.post-menu{right:-5px}.admin-users article{align-items:flex-start;gap:12px;flex-direction:column}.admin-users article form,.admin-users article .button{width:100%}}

.admin-nav-link{color:#ff9ba4!important;font-weight:750}.admin-shortcut{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #e3263670;border-radius:11px;color:#ff9ba4;font-size:12px;font-weight:800;white-space:nowrap}.admin-shortcut:hover,.admin-nav-link:hover{background:#e3263618}


/* Post caption and comment identity/actions */
.post-caption-top{display:flex;align-items:baseline;gap:6px;padding:12px 16px;color:#e8e8ec;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.post-caption-top a{flex:0 0 auto;color:#fff;font-weight:750;text-decoration:none}
.post-caption-top span{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.comment-item{display:flex;align-items:flex-start;gap:9px;padding:6px 0}
.comment-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border-radius:50%;background:#29292f;color:#fff;font-size:12px;font-weight:750;text-decoration:none}
.comment-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.comment-content{display:grid;flex:1;min-width:0;gap:2px}
.comment-username{width:fit-content;color:#fff;font-size:12px;font-weight:750;text-decoration:none}
.comment-body{color:#c4c4cb;font-size:12px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.comment-delete-form{flex:0 0 auto;margin-left:auto}
.comment-delete{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:transparent;color:#888;font-size:20px;line-height:1;cursor:pointer}
.comment-delete:hover{background:#ff40521a;color:#ff6574}

/* Instagram-style inline comments: readable conversation rows and a clear composer. */
.post-modern .comments-panel{padding:14px 0 2px;border-top:1px solid #ffffff12}
.post-modern .comment-list{display:flex;flex-direction:column;gap:12px;max-height:300px;padding:2px 2px 10px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#414149 transparent}
.post-modern .comment-item{display:flex;align-items:flex-start;gap:10px;padding:0;min-width:0}
.post-modern .comment-avatar{flex:0 0 34px;width:34px;height:34px;border:1px solid #ffffff17;background:linear-gradient(145deg,#34343b,#202025);font-size:12px}
.post-modern .comment-content{display:block;min-width:0;padding:8px 11px 9px;border:1px solid #ffffff0b;border-radius:4px 14px 14px 14px;background:#202025;line-height:1.5}
.post-modern .comment-username{display:inline;margin-right:6px;color:#fff;font-size:12px;font-weight:750}
.post-modern .comment-body{display:inline;color:#d0d0d6;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.post-modern .comment-delete-form{margin:3px 0 0 auto}
.post-modern .comment-delete{width:25px;height:25px;font-size:18px;opacity:.65}
.post-modern .comment-delete:hover{opacity:1}
.post-modern .no-comments{display:block;margin:4px 0 12px;padding:15px 12px;border:1px dashed #ffffff1c;border-radius:13px;color:#9999a3;text-align:center;font-size:12px}
.post-modern .comment-form{position:relative;display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:6px 7px 6px 15px;border:1px solid #ffffff18;border-radius:16px;background:#101013;box-shadow:inset 0 1px #ffffff05;transition:border-color .18s,box-shadow .18s}
.post-modern .comment-form:focus-within{border-color:#ed263878;box-shadow:0 0 0 3px #ed263814}
.post-modern .comment-form input{height:38px;min-height:38px;padding:0;background:transparent;color:#f5f5f7;font-size:13px}
.post-modern .comment-form input::placeholder{color:#777780}
.post-modern .comment-form button{flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#f2384b,#cf1e32);font-size:17px;box-shadow:0 5px 14px #ed26382c;transition:transform .16s,filter .16s}
.post-modern .comment-form button:hover{filter:brightness(1.12);transform:translateY(-1px)}
.post-modern .comment-form button:disabled{opacity:.55;cursor:wait}
.post-modern .comments-closed-note{margin-top:8px;padding:12px 2px 3px;border-top:0}
.post-modern .comment-count{font-size:12px}
@media(max-width:520px){
 .post-modern .comments-panel{padding-top:12px}
 .post-modern .comment-list{max-height:260px;gap:10px}
 .post-modern .comment-avatar{flex-basis:31px;width:31px;height:31px}
 .post-modern .comment-content{padding:7px 9px}
 .post-modern .comment-form{border-radius:14px}
}



/* Comment replies: nested conversation and compact reply actions. */
.post-modern .comment-thread{display:flex;flex-direction:column;gap:8px;min-width:0}
.post-modern .comment-replies{display:flex;flex-direction:column;gap:9px;margin:0 0 2px 43px;padding-left:12px;border-left:2px solid #ffffff12}
.post-modern .comment-reply-item{gap:8px}
.post-modern .comment-reply-item .comment-avatar{flex-basis:28px;width:28px;height:28px;font-size:10px}
.post-modern .comment-reply-toggle{display:inline-flex;margin-top:6px;padding:0;border:0;background:transparent;color:#92929c;font-size:10px;font-weight:700;cursor:pointer}
.post-modern .comment-reply-toggle:hover{color:#ff7b88}
.post-modern .comment-reply-form{margin:8px 0 2px;padding:4px 5px 4px 10px;border-radius:12px}
.post-modern .comment-reply-form[hidden]{display:none}
.post-modern .comment-reply-form input{height:32px;min-height:32px;font-size:11px}
.post-modern .comment-reply-form button{flex-basis:30px;width:30px;height:30px;border-radius:9px;font-size:14px}
.post-modern .comment-delete-form{display:block;flex:0 0 auto}
.post-modern .comment-delete-form button{cursor:pointer}
@media(max-width:520px){.post-modern .comment-replies{margin-left:29px;padding-left:9px}}


/* Make feed cards feel like links to their dedicated post page. */
.post-card[data-post-url], .discovery-card[data-post-url] { cursor: pointer; }


/* Admin dashboard refresh */
.admin-dashboard{max-width:980px;margin:0 auto;padding:42px 0 90px}
.admin-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:34px 32px;margin:22px 0 22px;border:1px solid #ffffff12;border-radius:26px;background:radial-gradient(75% 130% at 100% 0,#e3263626,transparent 70%),linear-gradient(135deg,#19191f,#101014)}
.admin-hero h1{font-size:clamp(32px,5vw,48px);line-height:1.05;letter-spacing:-.04em;margin:10px 0}
.admin-hero p,.admin-section-heading p{color:var(--what-muted);margin:8px 0 0}
.admin-online{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#b8bbc4;font-size:13px;padding:10px 14px;border-radius:999px;background:#ffffff09;border:1px solid #ffffff12}
.admin-online i{width:8px;height:8px;border-radius:50%;background:#36d68a;box-shadow:0 0 12px #36d68a80}
.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:42px}
.admin-metrics article{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:20px;border:1px solid #ffffff12;border-radius:18px;background:#151518}
.admin-metric-icon{grid-row:span 2;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e326361c;color:#ff6670;font-size:20px}
.admin-metrics strong{font-size:27px;line-height:1.1}
.admin-metrics small{color:var(--what-muted);font-size:12px}
.admin-section{margin:0 0 42px}
.admin-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.admin-section-heading h2{font-size:25px;letter-spacing:-.025em;margin:4px 0 0}
.admin-count{font-size:12px;color:#f1a1a5;background:#e3263618;border:1px solid #e3263635;border-radius:999px;padding:7px 11px}
.admin-report-list,.admin-user-list{display:grid;gap:10px}
.admin-report-card,.admin-user-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #ffffff12;border-radius:18px;background:#151518}
.admin-report-copy{min-width:0}
.admin-report-tag{display:inline-block;color:#ffc36b;background:#ffc36b16;border-radius:7px;padding:4px 8px;font-size:11px;margin-bottom:8px}
.admin-report-copy strong{display:block;font-size:14px}
.admin-report-copy p{color:#b6b6bf;margin:5px 0;font-size:13px;overflow-wrap:anywhere}
.admin-report-copy small{color:#777782;font-size:11px}
.admin-actions,.admin-user-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.admin-action-button{min-height:36px;padding:0 12px;border-radius:10px;border:1px solid #ffffff1b;background:#ffffff08;color:#e6e6eb;font-size:12px;font-weight:650;cursor:pointer}
.admin-action-button:hover{background:#ffffff14}
.admin-action-button.primary{background:#e32636;color:#fff;border-color:#e32636}
.admin-action-button.danger{color:#ff858b;border-color:#ff596333;background:#ff59630d}
.admin-action-button.verified-on{color:#7fc6ff;border-color:#3c9df055;background:#238be51a}
.admin-action-button.verified-off{color:#b4b4bd}
.admin-user-search{display:flex;align-items:center;gap:10px;padding:7px 8px 7px 14px;margin-bottom:14px;border:1px solid #ffffff18;border-radius:14px;background:#151518}
.admin-user-search>span{font-size:20px;color:#92929b}
.admin-user-search input{flex:1;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;padding:8px 2px;color:#fff}
.admin-user-search button{border:0;border-radius:10px;padding:9px 17px;background:#e32636;color:white;font-weight:700;cursor:pointer}
.admin-user-search>a{font-size:12px;color:#aaa;padding:0 8px}
.admin-user-identity{display:flex;align-items:center;gap:13px;min-width:0}
.admin-user-avatar{width:46px;height:46px;flex:0 0 46px}
.admin-user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.admin-user-copy{min-width:0}
.admin-user-copy>strong{display:block;font-size:14px}
.admin-user-copy>small{display:block;color:#92929b;font-size:12px;overflow-wrap:anywhere}
.admin-user-meta{display:flex;align-items:center;gap:9px;margin-top:5px;color:#777782;font-size:10px}
.admin-user-meta em{font-style:normal;color:#ffb45c}
.verified-badge-inline{display:inline-grid;place-items:center;vertical-align:middle;margin-left:5px;width:16px;height:16px;border-radius:50%;background:#2698f5;color:white;font-size:11px}
.admin-protected-label{font-size:11px;color:#a5a5ae;padding:8px 10px;border:1px solid #ffffff18;border-radius:9px}
.admin-empty{padding:24px;text-align:center;color:#9999a3;background:#151518;border:1px dashed #ffffff20;border-radius:16px}
.admin-footnote{font-size:11px;color:#777782;margin-top:14px}
.post-detail-page{max-width:720px;margin:0 auto;padding-top:26px}
.post-detail-back{display:inline-flex;margin:0 0 16px;color:#a5a5ae;font-size:13px}
.post-detail-page>h1{font-size:22px;margin:0 0 18px}
/* Chat attachments */
.dm-composer{position:relative}
.dm-attach-button{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid #ffffff1b;border-radius:50%;color:#c7c7cf;font-size:25px;cursor:pointer;background:#ffffff08}
.dm-attach-button:hover{color:#fff;background:#ffffff16}
.dm-attachment-name{position:absolute;left:12px;bottom:calc(100% + 8px);max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 10px;border-radius:8px;background:#292930;color:#d8d8df;font-size:11px}
.dm-message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.dm-attachment-image{display:block;max-width:min(300px,65vw);margin-top:8px;overflow:hidden;border-radius:12px}
.dm-attachment-image img{display:block;width:100%;max-height:340px;object-fit:cover}
.dm-attachment-file{display:flex;align-items:center;gap:12px;margin-top:8px;padding:11px 13px;border:1px solid #ffffff20;border-radius:12px;color:#fff;background:#00000016;max-width:280px}
.dm-attachment-file>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#ffffff12;font-size:20px}
.dm-attachment-file strong,.dm-attachment-file small{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-attachment-file strong{font-size:12px}
.dm-attachment-file small{font-size:10px;color:#a7a7b0;margin-top:2px}
@media(max-width:680px){
 .admin-dashboard{padding-top:20px}
 .admin-hero{align-items:flex-start;flex-direction:column;padding:24px 20px}
 .admin-online{white-space:normal}
 .admin-metrics{gap:8px}
 .admin-metrics article{padding:13px 10px;grid-template-columns:30px 1fr;column-gap:7px}
 .admin-metric-icon{width:30px;height:30px;font-size:15px}
 .admin-metrics strong{font-size:21px}
 .admin-metrics small{font-size:10px}
 .admin-report-card,.admin-user-card{align-items:flex-start;flex-direction:column}
 .admin-actions,.admin-user-actions{justify-content:flex-start;width:100%}
 .admin-user-actions form{flex:1}
 .admin-user-actions button{width:100%}
 .admin-user-search{gap:6px}
 .admin-user-search button{padding:9px 12px}
}


/* Chat: everyone-delete message state */
.dm-delete-message{display:block;margin-top:5px;padding:2px 0;border:0;background:transparent;color:var(--muted,#9a9a9a);font-size:11px;cursor:pointer;opacity:.75}
.dm-delete-message:hover{color:var(--danger,#e05b68);opacity:1}
.dm-delete-message:disabled{opacity:.45;cursor:wait}
.dm-message-deleted .dm-deleted-text{color:var(--muted,#999);font-style:italic}

/* Early members, block controls and community giveaways */
.early-member-badge{display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:3px 7px;border:1px solid #d8ae5545;border-radius:999px;background:#d8ae5516;color:#f0c96e;font-size:9px;font-weight:750;vertical-align:middle;white-space:nowrap}
.blocked-profile-note{margin:20px 24px;padding:18px;border:1px solid #ffffff16;border-radius:16px;background:#17171b;color:#b8b8c0}.blocked-profile-note p{margin:0 0 12px;font-size:13px}
.giveaway-admin-form{display:grid;gap:13px;padding:18px;border:1px solid #ffffff14;border-radius:18px;background:#141417}.giveaway-admin-form label{display:grid;gap:6px;color:#c9c9cf;font-size:12px;font-weight:650}.giveaway-admin-form input:not([type=checkbox]),.giveaway-admin-form textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #ffffff19;border-radius:10px;background:#0d0d10;color:#fff;font:inherit}.giveaway-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.giveaway-check{display:flex!important;align-items:center;gap:9px!important}.giveaway-check input{accent-color:#ed2638}.giveaway-admin-list{display:grid;gap:10px;margin-top:14px}.giveaway-admin-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px;border:1px solid #ffffff12;border-radius:14px;background:#151518}.giveaway-admin-item p{margin:5px 0;color:#aaaab3;font-size:12px}.giveaway-admin-item small{color:#777780;font-size:10px}
.explore-giveaway{max-width:640px;margin:0 auto 24px;padding:21px;border:1px solid #d7ad5545;border-radius:20px;background:radial-gradient(80% 100% at 100% 0,#d8ae5518,transparent 70%),#171619;box-shadow:0 14px 40px #0003}.giveaway-eyebrow{color:#e7c36f;font-size:10px;font-weight:800;letter-spacing:.13em}.explore-giveaway h2{margin:8px 0;font-size:23px;letter-spacing:-.03em}.explore-giveaway>p{margin:0 0 14px;color:#c2c0c4;font-size:13px;white-space:pre-wrap}.giveaway-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#96939a;font-size:10px}.giveaway-rule{display:block;margin:12px 0;color:#e8c878;font-size:11px}.giveaway-locked{margin:12px 0!important;color:#ffb5bd!important;font-size:12px!important}.explore-giveaway form,.explore-giveaway .button{margin-top:15px}.explore-giveaway .button{min-height:40px}
@media(max-width:650px){.giveaway-form-grid{grid-template-columns:1fr}.giveaway-admin-item{align-items:flex-start;flex-direction:column}.blocked-profile-note{margin:16px 12px}}

/* Blocked accounts inside profile settings */
.blocked-users-section{margin-top:26px;padding:22px;border:1px solid var(--border,rgba(255,255,255,.1));border-radius:20px;background:var(--surface,rgba(255,255,255,.025))}
.blocked-users-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}
.blocked-users-heading h2{margin:5px 0 6px;font-size:20px;letter-spacing:-.03em}
.blocked-users-heading p{margin:0;color:var(--muted,#92929c);font-size:12px;line-height:1.5}
.blocked-users-count{display:grid;place-items:center;min-width:32px;height:32px;padding:0 9px;border:1px solid #ffffff18;border-radius:999px;color:var(--text,#fff);font-size:12px;font-weight:700}
.blocked-users-list{display:grid;gap:9px}
.blocked-user-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid #ffffff12;border-radius:14px;background:rgba(0,0,0,.12)}
.blocked-user-identity{display:flex;align-items:center;gap:11px;min-width:0;color:inherit;text-decoration:none}
.blocked-user-avatar{width:42px;height:42px;flex:0 0 42px;overflow:hidden}
.blocked-user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.blocked-user-identity>span:last-child{display:grid;gap:3px;min-width:0}
.blocked-user-identity strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}
.blocked-user-identity small{font-size:10px;color:var(--muted,#92929c)}
.unblock-user-button{min-height:35px;padding:0 13px;white-space:nowrap;font-size:11px}
.blocked-users-empty{display:grid;justify-items:center;gap:7px;padding:26px 12px;color:var(--muted,#92929c);text-align:center}
.blocked-users-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#24b47e18;color:#55d6a4}
.blocked-users-empty p{margin:0;font-size:12px}
@media(max-width:480px){.blocked-users-section{padding:16px}.blocked-user-row{padding:9px}.unblock-user-button{padding:0 9px;font-size:10px}}


/* Profile presence, clickable follow counts and connection directory */
.profile-avatar{position:relative}
.profile-stats>a{min-width:105px;display:grid;gap:1px;padding:0 20px;border-right:1px solid var(--fs-line);color:inherit;text-decoration:none}
.profile-stats>a:hover strong{color:#ff6876}
.profile-stats>a strong{font-size:18px}
.profile-stats>a span{font-size:11px;color:var(--fs-muted)}
.profile-presence{margin:8px 24px 0;color:var(--fs-muted);font-size:11px}
.profile-presence .presence-online{display:inline-flex;align-items:center;gap:7px;color:#58d99b}
.profile-presence .presence-online i{width:7px;height:7px;border-radius:50%;background:#35d58a;box-shadow:0 0 9px #35d58a88}
.settings-field>input{width:100%;min-height:46px;padding:11px 13px;border:1px solid #ffffff1c;border-radius:12px;background:#101014;color:#f5f5f7;font:inherit}
.settings-field>input:disabled{opacity:.55;cursor:not-allowed}
.username-change-note{display:block;margin-top:7px;color:var(--fs-muted);font-size:11px}
.connections-page{max-width:720px;margin:30px auto}
.connections-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.connections-back{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff18;border-radius:12px;color:#ddd;text-decoration:none}
.connections-heading h1{margin:0;font-size:25px}
.connections-heading p{margin:3px 0 0;color:var(--fs-muted);font-size:12px}
.connections-list{display:grid;gap:9px}
.connection-user{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #ffffff12;border-radius:15px;background:#151518;color:inherit;text-decoration:none}
.connection-user:hover{border-color:#ed263855;background:#1b171b}
.connection-user .avatar{width:46px;height:46px;flex:0 0 46px}
.connection-user-copy{display:grid;gap:3px;min-width:0}
.connection-user-copy strong{font-size:13px}
.connection-user-copy small{font-size:11px;color:var(--fs-muted)}
.connections-empty{padding:28px 16px;border:1px dashed #ffffff20;border-radius:15px;color:var(--fs-muted);text-align:center;font-size:13px}
@media(max-width:520px){.profile-stats>a{min-width:0;padding:0 12px}.profile-presence{margin-left:12px}.connections-page{margin-top:18px}}


/* Avatar crop editor */
.avatar-crop-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.78);backdrop-filter:blur(10px)}
.avatar-crop-modal[hidden]{display:none}
.avatar-crop-dialog{width:min(100%,440px);padding:22px;border:1px solid #ffffff20;border-radius:22px;background:#17171b;box-shadow:0 24px 90px #0009}
.avatar-crop-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
.avatar-crop-heading h2{margin:5px 0;font-size:22px;letter-spacing:-.03em}
.avatar-crop-heading p{margin:0;color:#a5a5af;font-size:12px;line-height:1.5}
.avatar-crop-close{width:34px;height:34px;border:1px solid #ffffff20;border-radius:50%;background:#ffffff08;color:#fff;font-size:23px;cursor:pointer}
.avatar-crop-stage{width:min(100%,320px);aspect-ratio:1;margin:0 auto;overflow:hidden;border:2px solid #ed2638;border-radius:14px;background:#08080a;touch-action:none}
.avatar-crop-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}
.avatar-crop-stage canvas.is-dragging{cursor:grabbing}
.avatar-crop-zoom{display:grid;grid-template-columns:auto 1fr 35px;align-items:center;gap:12px;margin:18px 0;color:#d4d4da;font-size:12px}
.avatar-crop-zoom input{width:100%;accent-color:#ed2638}
.avatar-crop-zoom span{text-align:right;color:#aaa;font-variant-numeric:tabular-nums}
.avatar-crop-actions{display:flex;justify-content:flex-end;gap:9px}
.avatar-crop-actions button{min-height:42px}
@media(max-width:480px){.avatar-crop-dialog{padding:17px}.avatar-crop-actions button{flex:1;padding-inline:10px}.avatar-crop-stage{width:min(100%,300px)}}


/* Profile banner upload and wide cropper */
.settings-photo-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.settings-photo-buttons .photo-change{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.profile-cover.has-profile-banner{background-size:cover;background-position:center;background-repeat:no-repeat}
.profile-cover.has-profile-banner:after{background:linear-gradient(180deg,transparent 45%,#0005)}
.banner-crop-dialog{width:min(100%,680px)}
.banner-crop-stage{width:100%;max-width:600px;aspect-ratio:1020/315;height:auto;border-radius:12px}
.banner-crop-stage canvas{width:100%;height:100%}
@media(max-width:600px){.settings-photo-card{align-items:flex-start;flex-wrap:wrap}.settings-photo-copy{width:calc(100% - 112px)}.settings-photo-buttons{gap:7px}.settings-photo-buttons .photo-change{font-size:10px;padding:0 10px}.banner-crop-dialog{padding:14px}}


/* On-demand list of people who liked a post. */
.likes-list-trigger{display:inline-flex;align-items:center;gap:5px;padding:3px 0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left}
.likes-list-trigger:hover .like-count{color:#ff6876}
.likes-list-modal{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.72);backdrop-filter:blur(9px);opacity:1;transition:opacity .18s ease}
.likes-list-modal[hidden]{display:none}
.likes-list-dialog{width:min(100%,390px);max-height:min(600px,80vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff1c;border-radius:20px;background:#17171b;box-shadow:0 24px 90px #0009;animation:likes-list-pop .2s ease both}
.likes-list-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 19px;border-bottom:1px solid #ffffff12}
.likes-list-heading h2{margin:0;font-size:17px}.likes-list-heading p{margin:3px 0 0;color:#92929c;font-size:11px}
.likes-list-close{width:34px;height:34px;border:1px solid #ffffff1b;border-radius:50%;background:#ffffff08;color:#fff;font-size:23px;cursor:pointer}
.likes-list-content{overflow:auto;padding:9px 12px;overscroll-behavior:contain}
.likes-list-user{display:flex;align-items:center;gap:12px;min-height:58px;padding:8px;border-radius:12px;color:inherit;text-decoration:none;transition:background .15s ease}
.likes-list-user:hover{background:#ffffff0b}.likes-list-user strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.likes-list-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;overflow:hidden;border-radius:50%;background:#292930;color:#fff;font-size:13px;font-weight:700}
.likes-list-avatar img{width:100%;height:100%;object-fit:cover}.likes-list-reaction{font-size:18px}
.likes-list-loading,.likes-list-empty{padding:22px 10px;color:#a4a4ad;text-align:center;font-size:12px}
body.likes-list-open{overflow:hidden}
@keyframes likes-list-pop{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
/* A light page-entry motion complements native cross-document View Transitions. */
@keyframes fs-content-enter{from{opacity:.94;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){body>.page{animation:fs-content-enter .22s ease-out both}}
@media(prefers-reduced-motion:reduce){.likes-list-modal,.likes-list-dialog,.likes-list-user{animation:none!important;transition:none!important}body>.page{animation:none!important}}

/* Two-bubble comment action icon */
.post-action.comment-toggle{line-height:0}
.post-action.comment-toggle .comment-icon{display:block;width:20px;height:20px;flex:none}

/* Admin IP ban management */
.ip-ban-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;padding:18px;border:1px solid #ffffff14;border-radius:18px;background:#141417}
.ip-ban-form label{display:grid;gap:6px;color:#c9c9cf;font-size:12px;font-weight:650}
.ip-ban-form input{width:100%;min-width:0;min-height:40px;padding:10px 12px;border:1px solid #ffffff19;border-radius:10px;background:#0d0d10;color:#fff;font:inherit}
.ip-ban-list{display:grid;gap:9px;margin-top:14px}
.ip-ban-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #ffffff12;border-radius:14px;background:#151518}
.ip-ban-item>div{display:grid;gap:4px;min-width:0}.ip-ban-item strong{font-size:13px;font-variant-numeric:tabular-nums}.ip-ban-item small{color:#92929b;font-size:11px;overflow-wrap:anywhere}
@media(max-width:680px){.ip-ban-form{grid-template-columns:1fr}.ip-ban-form button{width:100%}.ip-ban-item{align-items:flex-start;flex-direction:column}.ip-ban-item form,.ip-ban-item button{width:100%}}


/* Comment likes and direct-message emoji controls */
.comment-like-toggle{display:inline-flex;align-items:center;gap:5px;width:max-content;margin-top:5px;padding:2px 5px;border:0;border-radius:8px;background:transparent;color:#85858f;font-size:11px;cursor:pointer}
.comment-like-toggle:hover,.comment-like-toggle.is-liked{color:#ff5365}
.comment-like-toggle.is-liked{background:#ed263814}
.comment-like-toggle span{font-size:10px;font-variant-numeric:tabular-nums}
.dm-composer{position:relative}
.dm-emoji-toggle{flex:0 0 40px!important;width:40px!important;height:40px!important;border:1px solid #ffffff14!important;border-radius:13px!important;background:#ffffff0a!important;color:#f5f5f7!important;font-size:23px!important;box-shadow:none!important}
.dm-emoji-picker{position:absolute;z-index:12;left:48px;bottom:65px;display:grid;grid-template-columns:repeat(4,36px);gap:5px;padding:9px;border:1px solid #ffffff18;border-radius:15px;background:#242429;box-shadow:0 12px 35px #0009}
.dm-emoji-picker[hidden],.dm-message-emoji-picker[hidden]{display:none}
.dm-emoji-picker button,.dm-message-emoji-picker button{width:34px;height:34px;border:0;border-radius:9px;background:transparent;font-size:21px;cursor:pointer}
.dm-emoji-picker button:hover,.dm-message-emoji-picker button:hover{background:#ffffff14}
.dm-reaction-row{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:7px}
.dm-reaction-chip,.dm-react-add{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:31px;height:25px;padding:0 7px;border:1px solid #ffffff19;border-radius:999px;background:#ffffff0b;color:#f2f2f4;font-size:13px;cursor:pointer}
.dm-reaction-chip span{font-size:10px;color:#c9c9d0}
.dm-reaction-chip.is-mine{border-color:#ed5365a8;background:#ed263826}
.dm-react-add{width:25px;min-width:25px;height:25px;color:#a4a4ad;font-size:16px}
.dm-message-emoji-picker{position:absolute;z-index:8;left:0;bottom:31px;display:flex;flex-wrap:wrap;gap:2px;max-width:260px;padding:6px;border:1px solid #ffffff1c;border-radius:13px;background:#25252b;box-shadow:0 10px 28px #0009}
.dm-message-emoji-picker button{width:30px;height:30px;font-size:18px}
@media(max-width:520px){.dm-emoji-picker{left:36px;grid-template-columns:repeat(4,34px)}.dm-emoji-toggle{flex-basis:36px!important;width:36px!important}}


/* Compact comment footer: Like · Reply · time, matching the reference. */
.post-modern .comment-content{position:relative}
.post-modern .comment-actions{position:relative;display:flex;align-items:center;gap:12px;margin-top:5px;min-height:16px}
.post-modern .comment-actions .comment-like-toggle,
.post-modern .comment-actions .comment-reply-toggle{display:inline-flex;align-items:center;gap:4px;margin:0;padding:0;border:0;background:transparent;color:#85858e;font-size:11px;font-weight:500;line-height:1.4;cursor:pointer}
.post-modern .comment-actions .comment-like-toggle:hover,
.post-modern .comment-actions .comment-like-toggle.is-liked{color:#ef5968}
.post-modern .comment-actions .comment-reply-toggle:hover{color:#dedee3}
.post-modern .comment-actions time{color:#696972;font-size:10px;line-height:1.4}
.post-modern .comment-reaction-picker{position:absolute;z-index:20;left:-5px;bottom:24px;display:flex;align-items:center;gap:4px;padding:7px 9px;border:1px solid #ffffff18;border-radius:13px;background:#242429;box-shadow:0 8px 26px #0009}
.post-modern .comment-reaction-picker[hidden]{display:none}
.post-modern .comment-reaction-picker button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:9px;background:transparent;font-size:20px;cursor:pointer;transition:transform .14s,background .14s}
.post-modern .comment-reaction-picker button:hover{background:#ffffff13;transform:scale(1.14)}
.post-modern .comment-like-count{font-size:10px;color:inherit}


/* Compact message composer icon row */
.dm-composer{display:flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid #ffffff12;border-radius:999px;background:#202024}
.dm-composer .dm-emoji-toggle,.dm-composer .dm-attach-button,.dm-composer>button[type="submit"]{width:36px!important;height:36px!important;min-width:36px;flex:0 0 36px!important;display:grid;place-items:center;padding:0;border:0!important;border-radius:50%!important;background:#ffffff08!important;color:#85858d!important;box-shadow:none!important;cursor:pointer}
.dm-composer .dm-emoji-toggle{color:#f04458!important}
.dm-composer .dm-emoji-toggle svg,.dm-composer .dm-attach-button svg{width:21px;height:21px;fill:none!important;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dm-composer .dm-attach-button{font-size:0}
.dm-composer .dm-attach-button:hover,.dm-composer>button[type="submit"]:hover{background:#ffffff14!important;color:#d5d5db!important}
.dm-composer .dm-emoji-toggle:hover{background:#f0445818!important}
.dm-composer #message-input{min-width:0;flex:1;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important}
.dm-composer>button[type="submit"] svg{width:23px;height:23px;fill:currentColor}
.dm-emoji-picker{left:8px;bottom:58px}
@media(max-width:520px){.dm-composer{gap:6px;padding:6px 8px}.dm-composer .dm-emoji-toggle,.dm-composer .dm-attach-button,.dm-composer>button[type="submit"]{width:34px!important;height:34px!important;min-width:34px;flex-basis:34px!important}}


/* Comment composer: match the message box icon treatment. */
.post-modern .comment-form{position:relative;gap:7px;padding:6px 8px 6px 13px;border-radius:999px;background:#202024}
.post-modern .comment-form .comment-emoji-toggle,.post-modern .comment-form .comment-attach-button{width:34px;height:34px;min-width:34px;flex:0 0 34px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#ffffff08;color:#85858d;cursor:pointer}
.post-modern .comment-form .comment-emoji-toggle{color:#f04458}
.post-modern .comment-form .comment-emoji-toggle svg,.post-modern .comment-form .comment-attach-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.post-modern .comment-form .comment-attach-button{font-size:0}
.post-modern .comment-form .comment-attach-button.has-file{color:#f04458;background:#f0445818}
.post-modern .comment-form .comment-emoji-toggle:hover,.post-modern .comment-form .comment-attach-button:hover{background:#ffffff16}
.post-modern .comment-form>button[type="submit"]{width:33px;height:33px;min-width:33px;flex:0 0 33px;border-radius:50%;font-size:16px}
.post-modern .comment-form input[name="body"]{height:36px;min-height:36px;flex:1;min-width:0}
.post-modern .comment-emoji-picker{position:absolute;z-index:9;left:8px;bottom:53px;display:grid;grid-template-columns:repeat(4,34px);gap:4px;padding:8px;border:1px solid #ffffff1c;border-radius:14px;background:#25252b;box-shadow:0 10px 28px #0009}
.post-modern .comment-emoji-picker[hidden]{display:none}
.post-modern .comment-emoji-picker button{width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;font-size:19px;cursor:pointer}
.post-modern .comment-emoji-picker button:hover{background:#ffffff16}
.post-modern .comment-attachment{display:block;width:max-content;max-width:min(240px,70%);margin-top:6px;overflow:hidden;border-radius:12px}
.post-modern .comment-attachment img{display:block;max-width:100%;max-height:190px;object-fit:cover}
@media(max-width:520px){.post-modern .comment-form{gap:5px;padding:5px 6px 5px 10px}.post-modern .comment-form .comment-emoji-toggle,.post-modern .comment-form .comment-attach-button{width:32px;height:32px;min-width:32px;flex-basis:32px}}


/* Smooth inline interactions: avoid layout flashes and accidental double taps. */
.post-modern .comment-form.is-submitting{opacity:.72;border-color:#ed263866}
.post-modern .comment-form.is-submitting>button[type="submit"]{opacity:.65;transform:none;cursor:wait}
.comment-like-toggle.is-pending{opacity:.55;pointer-events:none}
.reaction-main:disabled{opacity:.6;cursor:wait;transform:none}
.post-modern .comment-list{overscroll-behavior:contain;scroll-behavior:smooth}
.post-modern .comment-thread{animation:comment-appear .18s ease-out both}
@keyframes comment-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.post-modern .comment-thread{animation:none}.post-modern .comment-list{scroll-behavior:auto}}


/* Public comment reaction totals and smooth composer reveal */
.comment-reaction-summary{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:3px 0 2px}
.comment-reaction-summary[hidden]{display:none}
.comment-reaction-total{display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border:1px solid #ffffff12;border-radius:999px;background:#ffffff08;font-size:12px;line-height:1.4}
.comment-reaction-total small{font-size:10px;color:#a9a9b2;font-variant-numeric:tabular-nums}
.comments-panel-enter{animation:comments-panel-reveal .2s ease-out both;transform-origin:top}
@keyframes comments-panel-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.comment-actions .comment-like-toggle,.comment-actions .comment-reply-toggle{transition:color .14s ease,background .14s ease,opacity .14s ease}
@media(prefers-reduced-motion:reduce){.comments-panel-enter{animation:none}}

/* Explore images retain each upload's native aspect ratio. */
.explore-feed .post-image-wrap{height:auto;min-height:0;overflow:hidden}
.explore-feed .post-image-wrap .post-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.bug-hunter-badge{display:inline-block;width:28px;height:28px;margin-left:5px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 0 5px #9b4dff66)}
.bug-hunter-admin-button{color:#d7a5ff;border-color:#a56cff55;background:#8e42e511}

/* Clear feedback while a post is being published. */
.compose-publish:disabled{opacity:.7;cursor:wait;filter:saturate(.7);transform:none;box-shadow:none}


/* Fansiva confirmation dialog (replaces the browser-native confirm window). */
.fs-confirm-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:14px;background:rgba(0,0,0,.72);backdrop-filter:blur(7px);animation:fs-confirm-fade .16s ease both}
.fs-confirm-dialog{width:min(500px,100%);overflow:hidden;border:1px solid #ffffff20;border-radius:18px;background:#151515;box-shadow:0 24px 80px #000a;animation:fs-confirm-pop .18s ease both}
.fs-confirm-header{padding:22px 20px;background:#1b1b1b;border-bottom:1px solid #ffffff14}
.fs-confirm-header h2{margin:0;color:#f3f3f4;font-size:16px;font-weight:750;letter-spacing:-.02em}
.fs-confirm-body{min-height:112px;display:flex;align-items:center;padding:24px 20px;color:#c7c7cc;font-size:14px;line-height:1.55}
.fs-confirm-actions{display:flex;justify-content:flex-end;gap:10px;padding:13px 20px 20px;border-top:1px solid #ffffff12}
.fs-confirm-actions button{min-width:66px;min-height:38px;padding:0 17px;border:1px solid #ffffff20;border-radius:11px;color:#dedee2;background:#252525;font:inherit;font-size:13px;font-weight:650;cursor:pointer;transition:background .15s ease,transform .15s ease}
.fs-confirm-actions button:hover{background:#303030;transform:translateY(-1px)}
.fs-confirm-actions .fs-confirm-accept{border-color:#bd2639;background:#b9273b;color:#fff;box-shadow:0 5px 16px #b9273b35}
.fs-confirm-actions .fs-confirm-accept:hover{background:#d12c43}
body.fs-confirm-open{overflow:hidden}
@keyframes fs-confirm-fade{from{opacity:0}to{opacity:1}}
@keyframes fs-confirm-pop{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.fs-confirm-modal,.fs-confirm-dialog{animation:none}}


/* Username search in Explore */
.profile-search-wrap{position:relative;max-width:620px}
.profile-search-wrap input{padding-right:46px}
.profile-search-icon{position:absolute;right:17px;top:50%;transform:translateY(-50%);color:#92929c;font-size:22px;pointer-events:none}
.profile-search-results{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;max-height:360px;overflow:auto;padding:7px;border:1px solid #ffffff1b;border-radius:15px;background:#19191e;box-shadow:0 18px 50px #000b}
.profile-search-results[hidden]{display:none}
.profile-search-hint{margin:0;padding:13px;color:#92929c;font-size:12px}
.profile-search-result{display:flex;align-items:center;gap:11px;padding:9px;border-radius:10px;color:#f5f5f7;text-decoration:none}
.profile-search-result:hover{background:#ffffff0b}
.profile-search-copy{display:grid;gap:3px}.profile-search-copy strong{font-size:12px}.profile-search-copy small{color:#85858f;font-size:10px}

/* Group messaging */
.inbox-toolbar{display:flex;justify-content:flex-end;margin:0 0 14px}
.group-create-trigger{display:inline-flex;align-items:center;gap:9px}
.group-create-icon,.group-chat-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border:1px solid #ed26384a;border-radius:14px;background:#ed263817;color:#ff8490;font-size:20px}
.group-chat-avatar.small-group-avatar{width:43px;height:43px;flex-basis:43px;border-radius:14px}
.group-inbox-item{border-color:#ffffff13}
.group-create-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:16px;background:#000b;backdrop-filter:blur(7px)}
.group-create-modal[hidden]{display:none}
.group-create-dialog{width:min(520px,100%);max-height:min(86vh,760px);overflow:auto;padding:22px;border:1px solid #ffffff1c;border-radius:20px;background:#17171c;box-shadow:0 25px 80px #000b}
.group-create-dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.group-create-dialog h2{margin:5px 0 0;font-size:22px}
.group-create-close{width:34px;height:34px;border:1px solid #ffffff1a;border-radius:10px;background:#222228;color:#ddd;font-size:22px}
.group-create-dialog form{display:grid;gap:12px}
.group-create-dialog label,.group-invite-form label{display:grid;gap:7px;color:#ddd;font-size:12px;font-weight:700}
.group-create-dialog input,.group-invite-form input{width:100%;min-height:42px;padding:0 12px;border:1px solid #ffffff1b;border-radius:11px;background:#101014;color:#fff;font:inherit;font-size:13px}
.group-user-results{display:flex;flex-wrap:wrap;gap:7px}
.group-user-result,.group-selected-chip{padding:8px 11px;border:1px solid #ffffff19;border-radius:999px;background:#222228;color:#eee;font-size:11px;cursor:pointer}
.group-user-result:hover,.group-selected-chip:hover{border-color:#ed2638a0}
.group-selected-users{display:flex;flex-wrap:wrap;gap:7px}
.group-selected-chip{border-color:#ed26384d;background:#ed263815;color:#ff9ba4}
.group-cap-note,.group-invite-form>small{margin:0;color:#92929c;font-size:11px;line-height:1.5}
.group-dm-header{gap:12px}
.group-settings-toggle{border:0;background:transparent;color:#aaa;cursor:pointer;font-size:20px}
.group-settings-panel{padding:15px;margin:0 0 12px;border:1px solid #ffffff16;border-radius:15px;background:#17171c}
.group-settings-panel h3{margin:0 0 12px;font-size:14px}
.group-member-list{display:grid;gap:8px;margin-bottom:14px}
.group-member-row{display:flex;align-items:center;gap:9px;padding:8px;border-radius:11px;background:#ffffff06}
.group-member-row>span:nth-child(2){display:grid;flex:1;gap:2px;min-width:0}
.group-member-row strong{font-size:11px}.group-member-row small{color:#92929c;font-size:10px}
.group-member-row .button{padding:7px 9px;font-size:10px}
.group-remove-member{width:28px;height:28px;border:0;border-radius:8px;background:#ed263815;color:#ff7885;font-size:18px}
.group-invite-form{display:grid;gap:9px;padding-top:12px;border-top:1px solid #ffffff12}
.group-message-author{display:block;margin-bottom:5px;color:#ff9ba4;font-size:10px}
.group-dm-log .dm-message{max-width:min(78%,560px)}
.group-message-composer{margin-top:10px}
.group-invitation-page{display:grid;place-items:center;min-height:65vh;padding:30px 12px}
.group-invitation-card{width:min(480px,100%);padding:32px 26px;border:1px solid #ffffff19;border-radius:22px;background:linear-gradient(145deg,#1c1c22,#121216);text-align:center;box-shadow:0 20px 65px #0006}
.group-invitation-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border:1px solid #ed26384c;border-radius:20px;background:#ed263817;color:#ff8b96;font-size:30px}
.group-invitation-card h1{margin:8px 0 12px;font-size:clamp(24px,5vw,32px)}
.group-invitation-card p{color:#bcbcc5;font-size:13px;line-height:1.7}
.group-invitation-card p strong{color:#fff}
.group-invitation-meta{margin:17px 0;padding:12px;border-radius:11px;background:#ffffff08;color:#9999a3;font-size:11px}
.group-invitation-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}
.group-invitation-status{margin:20px 0}
@media(max-width:560px){.group-create-dialog{padding:18px}.group-member-row{flex-wrap:wrap}.group-member-row .button{font-size:9px}.group-invitation-card{padding:26px 18px}}

.group-chat-avatar svg,.group-create-icon svg,.group-invitation-icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.group-invitation-icon svg{width:32px;height:32px}


/* Group creation modal: lift the panel and tighten its primary action */
.group-create-modal{place-items:start center;padding:7vh 16px 20px;overflow-y:auto}
.group-create-dialog{margin:0 auto;max-height:86vh}
.group-create-dialog form>button[type="submit"]{justify-self:start;width:auto;min-width:0;min-height:38px;padding:9px 16px;border-radius:10px;font-size:12px;font-weight:700}
.group-create-trigger{min-height:38px;padding:8px 13px;font-size:12px;border-radius:10px}
.group-create-icon{width:36px;height:36px;flex-basis:36px;border:1px solid #ff4358;background:linear-gradient(145deg,#ff3048,#a90e2c);color:#fff;box-shadow:0 0 0 3px #ed263825,0 5px 18px #ed263855}
.group-create-icon svg{width:24px;height:24px;stroke-width:2.25}
@media(max-width:560px){.group-create-modal{padding:5vh 10px 14px}.group-create-dialog{max-height:90vh}.group-create-dialog form>button[type="submit"]{width:auto}}


/* Group photo, image attachments and member search avatars */
.group-chat-avatar{overflow:hidden}
.group-chat-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.group-avatar-form{display:grid;gap:10px;padding:12px 0;margin:0 0 14px;border-bottom:1px solid #ffffff12}
.group-avatar-upload{display:flex!important;align-items:center;gap:12px;cursor:pointer}
.group-avatar-upload>img,.group-avatar-placeholder{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:14px;object-fit:cover;border:1px solid #ffffff22;background:#ffffff0a;color:#ff8490;font-size:24px}
.group-avatar-upload>span:nth-child(2){display:grid;gap:4px}
.group-avatar-upload strong{font-size:12px;color:#eee}
.group-avatar-upload small{font-size:10px;color:#999}
.group-avatar-upload input[type=file]{max-width:170px;font-size:10px;color:#aaa}
.group-avatar-form>.button{justify-self:start}
.group-user-result,.group-selected-chip{display:inline-flex;align-items:center;gap:8px}
.group-user-result img,.group-selected-chip img{width:27px;height:27px;flex:0 0 27px;border-radius:50%;object-fit:cover;background:#333}
.group-selected-chip img{width:21px;height:21px;flex-basis:21px}
.group-delete-form{padding-top:12px;border-top:1px solid #ffffff12}
.group-delete-form .button.danger{min-height:36px;padding:8px 13px;border:1px solid #ed263855;border-radius:10px;background:#ed26381a;color:#ff7b88;font-size:11px}
.group-message-composer{position:relative}
.group-message-composer .dm-emoji-picker{bottom:62px;left:8px}
.group-message-composer .dm-attachment-name{position:absolute;left:104px;bottom:58px;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-message-composer .dm-attach-button,.group-message-composer .dm-emoji-toggle{flex:0 0 38px}
.group-dm-log .dm-attachment-image img{display:block;max-width:min(300px,65vw);max-height:340px;object-fit:contain;border-radius:12px}

.group-invitation-icon{overflow:hidden}
.group-invitation-icon img{width:100%;height:100%;object-fit:cover;border-radius:inherit}


/* Refined group avatar picker and sender profile identities */
.group-avatar-form{display:block;padding:10px 0 16px;margin:0 0 14px;border-bottom:1px solid #ffffff12}
.group-avatar-upload{position:relative!important;display:grid!important;place-items:center;width:66px;height:66px;margin:0!important;border-radius:20px;overflow:visible;background:linear-gradient(145deg,#29232b,#17171d);border:1px solid #ffffff22;box-shadow:0 8px 22px #0005;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.group-avatar-upload:hover{transform:translateY(-2px);border-color:#ff647c99;box-shadow:0 10px 26px #0008,0 0 0 3px #ff647c14}
.group-avatar-upload>img,.group-avatar-placeholder{width:100%;height:100%;display:grid;place-items:center;border:0;border-radius:19px;object-fit:cover;background:linear-gradient(145deg,#30242d,#191a22);color:#ff8497}
.group-avatar-placeholder svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.group-avatar-camera{position:absolute;right:-5px;bottom:-5px;width:26px;height:26px;display:grid;place-items:center;border:2px solid #17171d;border-radius:50%;background:linear-gradient(145deg,#ff647c,#bd2946);color:white;box-shadow:0 3px 10px #0007}
.group-avatar-camera svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.group-message-heading{display:flex;align-items:center;gap:8px;margin-bottom:5px}
.group-message-avatar{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#34303b;color:#fff;text-decoration:none;font-size:11px;font-weight:700;border:1px solid #ffffff1c}
.group-message-avatar img{width:100%;height:100%;object-fit:cover}
.group-message-author{font-size:11px;font-weight:700;color:#ff9aaa;text-decoration:none}
.group-message-author:hover{text-decoration:underline}


/* Align group message text with the sender name and allow avatar click-to-change */
.group-dm-log .dm-message-text{display:block;margin-left:35px}
.group-dm-log .dm-attachment-image,.group-dm-log .dm-attachment-file{margin-left:35px}
.group-header-avatar-form{display:block;flex:0 0 auto;margin:0}
.group-header-avatar-upload{position:relative;display:grid;place-items:center;cursor:pointer;overflow:visible;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.group-header-avatar-upload:hover{transform:translateY(-2px);border-color:#ff647caa;box-shadow:0 0 0 3px #ff647c1c}
.group-header-avatar-upload>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.group-header-avatar-upload .group-header-camera-mark{position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;display:grid;place-items:center;border:2px solid #17171d;border-radius:50%;background:#e83e5a;color:white;box-shadow:0 2px 7px #0008}
.group-header-camera-mark svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}


/* Approved content creator badge */
.approved-creator-badge{display:inline-block;width:52px;height:26px;margin-left:1px;object-fit:contain;vertical-align:-6px;filter:drop-shadow(0 0 5px #ff4ca866)}
.post-approved-creator-badge{width:46px;height:23px;margin-left:1px;vertical-align:-6px}
.approved-creator-admin-button{color:#ff9bd4;border-color:#e64f9b66;background:linear-gradient(110deg,#e64f9b18,#f7bb4310)}

/* Fixed square group avatar and crop flow */
.group-header-avatar-form{width:42px;height:42px;min-width:42px;max-width:42px;flex:0 0 42px;overflow:visible;margin:0;padding:0;line-height:0}
.group-header-avatar-upload{box-sizing:border-box!important;width:42px!important;height:42px!important;min-width:42px;max-width:42px;min-height:42px;max-height:42px;flex:0 0 42px!important;padding:0!important;overflow:hidden!important;border-radius:14px!important;line-height:0}
.group-header-avatar-upload>img{display:block;width:100%!important;height:100%!important;min-width:0;max-width:none;min-height:0;max-height:none;object-fit:cover;object-position:center;border-radius:inherit}
.group-header-avatar-upload .group-header-camera-mark{z-index:2}
.group-avatar-crop-modal{z-index:11000}
.group-avatar-crop-modal .avatar-crop-stage{border-radius:18px}

/* RINA account connection */
.rina-login-button{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;margin-top:16px;padding:13px 15px;border:1px solid #ffffff20;border-radius:14px;background:linear-gradient(135deg,#20232a,#17181d);color:#fff;text-decoration:none;transition:border-color .18s,transform .18s}
.rina-login-button:hover{border-color:#ed526d99;transform:translateY(-1px)}
.rina-login-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#ef536d,#92283d);font-weight:900;font-size:20px}
.rina-login-button strong,.rina-login-button small,.rina-connected strong,.rina-connected small{display:block}
.rina-login-button strong{font-size:13px}.rina-login-button small,.rina-connected small{margin-top:3px;color:#a3a3ad;font-size:11px}
.rina-login-arrow{margin-left:auto;color:#ff8296;font-size:20px}
.rina-settings-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0;padding:20px;border:1px solid #ffffff16;border-radius:18px;background:#17181d}
.rina-settings-card h2{margin:5px 0;font-size:18px}.rina-settings-card p{max-width:580px;margin:0;color:#a4a4ad;font-size:13px;line-height:1.6}
.rina-connected{display:flex;align-items:center;gap:10px;min-width:180px}
.rina-status-dot{width:9px;height:9px;border-radius:50%;background:#37c98a;box-shadow:0 0 0 4px #37c98a20}
.rina-connect-button{white-space:nowrap}
@media(max-width:650px){.rina-settings-card{align-items:flex-start;flex-direction:column}.rina-connect-button{width:100%;justify-content:center}}


/* RINA character chooser and character-linked registration */
.rina-character-page{max-width:900px;margin:36px auto 70px}
.rina-character-welcome{display:grid;justify-items:center;gap:9px;max-width:620px;margin:0 auto 24px;padding:34px 24px;border:1px solid #ffffff15;border-radius:22px;background:linear-gradient(145deg,#19191e,#131316);text-align:center}
.rina-verified-pill{padding:6px 13px;border:1px solid #55c65a55;border-radius:999px;background:#55c65a17;color:#71d36d;font-size:12px;font-weight:800}
.rina-character-welcome h1{margin:7px 0 0;font-size:clamp(25px,5vw,34px);letter-spacing:-.04em}
.rina-character-welcome p{margin:0;color:#a5a5ae;font-size:13px}
.rina-character-panel{padding:22px 24px;border:1px solid #ffffff17;border-radius:22px;background:#17171b}
.rina-character-panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.rina-character-panel-heading h2{margin:0;font-size:17px}
.rina-character-panel-heading p{margin:4px 0 0;color:#9999a3;font-size:12px}
.rina-character-panel-heading p strong{color:#ff7586}
.rina-character-list{display:grid}
.rina-character-row{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(150px,1fr) auto;align-items:center;gap:18px;padding:14px 4px;border-bottom:1px solid #ffffff12}
.rina-character-row:last-child{border-bottom:0}
.rina-character-identity{display:flex;align-items:center;gap:12px;min-width:0}
.rina-character-avatar{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;overflow:hidden;border:1px solid #ffffff20;border-radius:50%;background:#292930;color:#fff;font-size:16px;font-weight:800}
.rina-character-avatar img{width:100%;height:100%;object-fit:cover}
.rina-character-name{display:grid;gap:3px;min-width:0}
.rina-character-name strong{overflow:hidden;color:#f4f4f6;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.rina-character-name small{color:#85858f;font-size:10px}
.rina-character-account{display:grid;gap:4px;min-width:0}
.rina-character-account strong{overflow:hidden;color:#f0f0f2;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.rina-link-label{color:#7fce9f;font-size:10px}
.rina-unlinked-label{color:#a1a1aa;font-size:11px}
.rina-character-action form{margin:0}
.rina-character-action .button{min-width:108px;min-height:38px;justify-content:center;padding:0 15px;border-radius:11px;font-size:11px;white-space:nowrap}
.rina-no-characters{padding:26px 8px;color:#a2a2ab;text-align:center;font-size:13px}
.rina-back-login{display:inline-block;margin-top:17px;color:#a6a6af;font-size:12px}
.rina-register-selected{display:grid;gap:4px;margin:0 0 16px;padding:13px 15px;border:1px solid #ed526d45;border-radius:13px;background:#ed26380d}
.rina-register-selected span{color:#ff8296;font-size:9px;font-weight:800;letter-spacing:.1em}
.rina-register-selected strong{font-size:14px}
.rina-register-selected small{color:#9b9ba4;font-size:11px}
@media(max-width:650px){.rina-character-page{margin:18px auto 45px}.rina-character-welcome{padding:26px 16px}.rina-character-panel{padding:17px 14px;border-radius:17px}.rina-character-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:13px 0}.rina-character-account{grid-column:1;grid-row:2;padding-left:58px}.rina-character-action{grid-column:2;grid-row:1/3}.rina-character-action .button{min-width:94px;padding:0 10px;font-size:10px}.rina-character-avatar{width:42px;height:42px;flex-basis:42px}}


/* Compact account header and dropdown */
.topbar .desktop-nav a[href*="messages"]{display:none}
.topbar .top-actions{display:flex;align-items:center;gap:10px}
.topbar .message-shortcut,.topbar .notification-trigger{position:relative;display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;border:1px solid #ffffff12;border-radius:50%;background:#19191d;color:#e7e7eb;font-size:19px}
.topbar .message-shortcut:hover,.topbar .notification-trigger:hover{background:#242429;color:#fff}
.account-menu-anchor{position:relative}
.topbar .account-menu-trigger{display:flex;align-items:center;gap:9px;min-height:42px;padding:3px 12px 3px 4px;border:1px solid #ffffff12;border-radius:999px;background:#19191d;color:#f5f5f6}
.topbar .account-menu-trigger>strong{max-width:115px;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.topbar .account-menu-trigger .topbar-avatar{position:relative;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;min-width:34px;min-height:34px;overflow:hidden;border:1px solid #ffffff25;border-radius:50%;background:#2b2b30;color:#fff;line-height:1}
.topbar .account-menu-trigger .topbar-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.account-menu-chevron{color:#96969f;font-size:15px}
.account-menu-popover{position:absolute;z-index:40;top:calc(100% + 12px);right:0;width:300px;padding:8px;border:1px solid #ffffff16;border-radius:17px;background:#151518;box-shadow:0 18px 55px #0009}
.account-menu-popover[hidden]{display:none}
.account-menu-profile,.account-menu-item{display:flex;align-items:center;gap:13px;width:100%;min-height:58px;padding:10px 12px;border:0;border-radius:11px;background:transparent;color:#e8e8eb;text-align:left}
.account-menu-profile:hover,.account-menu-item:hover{background:#ffffff0b}
.account-menu-profile strong,.account-menu-item strong{font-size:13px;font-weight:650}
.account-menu-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border-radius:50%;background:#2a2a30;font-weight:800}
.account-menu-avatar img{width:100%;height:100%;object-fit:cover}
.account-menu-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#29292e;color:#e5e5e8;font-size:18px}
.account-menu-logout{margin-top:5px;padding-top:5px;border-top:1px solid #ffffff12}
.account-menu-logout .account-menu-item{cursor:pointer}
.account-menu-logout .account-menu-item:hover{background:#e3263615;color:#ff7885}
.account-menu-logout button{font:inherit}
.topbar .notification-popover{z-index:45}

/* General settings layout */
.general-settings-page,.appearance-settings-page,.accounts-page{max-width:900px;margin:30px auto 70px}
.general-settings-page .settings-heading,.appearance-settings-page .settings-heading{margin-bottom:18px}
.general-settings-page .settings-heading h1,.appearance-settings-page .settings-heading h1,.accounts-heading h1{margin:4px 0;font-size:22px}
.general-settings-page .settings-heading p,.appearance-settings-page .settings-heading p,.accounts-heading p{margin:4px 0;color:#9b9ba4;font-size:13px}
.general-settings-form{padding:22px 20px;border:1px solid #ffffff17;border-radius:18px;background:#151518}
.general-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px}
.general-field{display:grid;gap:4px;min-width:0;padding:10px 13px;border:1px solid #303036;border-radius:12px;background:#111113}
.general-field.full{grid-column:1/-1}
.general-field>span,.appearance-bio-field>span{color:#aeb5c0;font-size:11px}
.general-field input,.general-field select{width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:#f5f5f6;font-size:14px}
.general-field input:disabled{opacity:.6}
.general-field input[type=date]{color-scheme:dark}
.general-field select option{background:#17171b;color:#fff}
.general-field small{color:#85858e;font-size:10px}
.general-settings-footer{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px}
.general-settings-footer .button{min-width:150px;min-height:42px;justify-content:center;border-radius:11px}
.rina-settings-card{margin-top:20px}
.blocked-users-section{margin-top:24px}

/* Avatar and banner editor inspired by the supplied reference */
.appearance-form{padding:20px;border:1px solid #ffffff17;border-radius:18px;background:#151518}
.appearance-preview-card{position:relative;margin-bottom:55px}
.appearance-banner-preview{position:relative;display:grid;place-items:center;width:100%;height:230px;overflow:hidden;border-radius:13px;background:#303033;cursor:pointer}
.appearance-banner-preview img{width:100%;height:100%;object-fit:cover}
.appearance-image-placeholder{color:#c7c7cb;font-size:26px}
.appearance-upload-hint{position:absolute;right:13px;bottom:12px;padding:7px 11px;border:1px solid #ffffff25;border-radius:8px;background:#09090abf;color:#fff;font-size:11px;opacity:0;transition:opacity .18s}
.appearance-banner-preview:hover .appearance-upload-hint{opacity:1}
.appearance-avatar-preview{position:absolute;left:50%;bottom:-54px;display:grid;place-items:center;width:138px;height:138px;overflow:hidden;transform:translateX(-50%);border:6px solid #242428;border-radius:50%;background:#303033;color:#fff;font-size:35px;font-weight:800;cursor:pointer}
.appearance-avatar-preview img{width:100%;height:100%;object-fit:cover}
.appearance-camera{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:34px;height:34px;border:2px solid #303033;border-radius:50%;background:#e7e7e9;color:#29292d;font-size:16px}
.appearance-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 20px}
.appearance-upload-field{display:grid;gap:5px;padding:13px;border:1px solid #ffffff16;border-radius:12px;background:#111113;cursor:pointer}
.appearance-upload-field strong{font-size:13px}
.appearance-upload-field span{color:#b7b7bf;font-size:12px}
.appearance-upload-field small,.appearance-bio-field small{color:#85858e;font-size:10px}
.appearance-bio-field{display:grid;gap:7px}
.appearance-bio-field textarea{width:100%;padding:12px;border:1px solid #303036;border-radius:11px;background:#111113;color:#f5f5f6;resize:vertical}
.visually-hidden-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}

/* Linked RINA character accounts */
.accounts-heading{margin-bottom:20px}
.accounts-club-meta{display:inline-flex;gap:7px;align-items:center;margin-top:12px;padding:7px 11px;border:1px solid #ffffff14;border-radius:9px;background:#17171b;color:#9999a2;font-size:11px}
.accounts-club-meta strong{color:#f4f4f5}
.accounts-list{padding:8px 22px;border:1px solid #ffffff17;border-radius:18px;background:#151518}
.accounts-row{display:grid;grid-template-columns:52px minmax(150px,1fr) minmax(140px,1fr) auto;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #ffffff12}
.accounts-row:last-child{border-bottom:0}
.accounts-character-avatar{display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border:1px solid #ffffff20;border-radius:50%;background:#29292e;font-weight:800}
.accounts-character-avatar img{width:100%;height:100%;object-fit:cover}
.accounts-character-copy,.accounts-fansiva-copy{display:grid;gap:3px;min-width:0}
.accounts-character-copy strong,.accounts-fansiva-copy strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.accounts-character-copy small,.accounts-fansiva-copy span,.accounts-fansiva-copy small{color:#92929b;font-size:10px}
.accounts-current-label{color:#6dcc8a!important}
.accounts-action .button{min-width:105px;min-height:38px;justify-content:center;border-radius:10px;font-size:11px}
.accounts-current-pill{padding:7px 10px;border:1px solid #58bf7b44;border-radius:999px;background:#58bf7b12;color:#75d393;font-size:10px;white-space:nowrap}
.accounts-empty{display:grid;justify-items:center;gap:10px;padding:55px 20px;border:1px solid #ffffff17;border-radius:18px;background:#151518;text-align:center}
.accounts-empty>span{font-size:30px;color:#aaa}
.accounts-empty h2{margin:0;font-size:17px}
.accounts-empty p{max-width:440px;margin:0 0 8px;color:#9999a3;font-size:12px}
.accounts-empty .button{min-height:40px;justify-content:center}

@media(max-width:680px){
 .topbar .top-actions{gap:6px}
 .topbar .message-shortcut,.topbar .notification-trigger{width:36px;height:36px;min-width:36px}
 .topbar .account-menu-trigger{gap:6px;padding:2px 8px 2px 3px}
 .topbar .account-menu-trigger>strong{max-width:72px;font-size:11px}
 .topbar .account-menu-trigger .topbar-avatar{width:31px;height:31px;min-width:31px;min-height:31px;flex-basis:31px}
 .account-menu-popover{right:-3px;width:min(290px,calc(100vw - 24px))}
 .general-settings-form,.appearance-form{padding:15px}
 .general-settings-grid{gap:10px}
 .general-field{padding:9px}
 .appearance-banner-preview{height:175px}
 .appearance-avatar-preview{width:112px;height:112px;bottom:-45px}
 .appearance-preview-card{margin-bottom:48px}
 .accounts-list{padding:7px 13px}
 .accounts-row{grid-template-columns:44px minmax(0,1fr) auto;gap:9px;padding:13px 0}
 .accounts-character-avatar{width:42px;height:42px}
 .accounts-fansiva-copy{grid-column:2;grid-row:2}
 .accounts-action{grid-column:3;grid-row:1/3}
 .accounts-action .button{min-width:88px;padding:0 10px}
}

.settings-appearance-link{position:relative;display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;margin:0 0 18px;padding:0 15px 14px;border:1px solid #ffffff17;border-radius:16px;background:#151518;overflow:hidden}
.settings-appearance-banner{grid-column:1/-1;display:block;height:85px;margin:0 -15px;background:#303033}
.settings-appearance-banner img{width:100%;height:100%;object-fit:cover}
.settings-appearance-avatar{position:absolute;top:42px;left:28px;display:grid;place-items:center;width:82px;height:82px;overflow:hidden;border:5px solid #151518;border-radius:50%;background:#303036;color:#fff;font-weight:800}
.settings-appearance-avatar img{width:100%;height:100%;object-fit:cover}
.settings-appearance-copy{display:grid;gap:3px;padding-left:105px}
.settings-appearance-copy strong{font-size:13px}
.settings-appearance-copy small{color:#96969f;font-size:11px}
.settings-appearance-arrow{padding:8px 11px;border-radius:9px;background:#e32636;color:#fff;font-size:11px;font-weight:700}
@media(max-width:580px){.settings-appearance-link{grid-template-columns:1fr}.settings-appearance-arrow{justify-self:start;margin-left:105px}}

.topbar .topbar-bell-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}


/* Profile refinement: consistent alignment, readable details and a true two-column feed */
.profile-modern{max-width:900px;margin:26px auto 60px}
.profile-cover{height:160px;border-radius:22px}
.profile-main-head{align-items:center;min-height:108px;margin-top:-48px;padding:0 26px;gap:18px}
.profile-avatar{flex:0 0 108px;width:108px!important;height:108px!important}
.profile-identity{min-width:0;flex:1;padding:38px 0 0}
.profile-identity h1{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.profile-identity .profile-bio{margin-top:5px;line-height:1.45}
.profile-details{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}
.profile-details span{display:inline-flex;align-items:center;gap:6px;min-height:25px;padding:4px 9px;border:1px solid #ffffff13;border-radius:999px;background:#ffffff06;color:#c5c5cc;font-size:10px}
.profile-details i{color:#ff7180;font-style:normal;font-size:12px}
.profile-stats{margin-top:17px}
.profile-posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;columns:unset}
.profile-posts .post-card{display:block;width:100%;margin:0;break-inside:auto;min-width:0}
.profile-posts>.empty{grid-column:1/-1}
.profile-post-heading{padding-top:16px}

/* Refined avatar/banner editor */
.appearance-form{padding:20px 20px 18px}
.appearance-preview-card{margin-bottom:58px}
.appearance-banner-preview{height:230px;border:1px solid #ffffff12;background:linear-gradient(135deg,#24242a,#303036)}
.appearance-banner-preview img{object-fit:cover}
.appearance-upload-hint{display:inline-flex;align-items:center;gap:7px}
.appearance-upload-hint svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.appearance-avatar-preview{width:136px;height:136px;bottom:-58px;border-width:6px;background:#29292f;box-shadow:0 12px 30px #0008}
.appearance-camera{right:5px;bottom:5px;width:38px;height:38px;border:3px solid #242428;background:#ed2638;color:#fff;box-shadow:0 4px 14px #0006}
.appearance-camera svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.appearance-upload-grid{gap:12px;margin:0 0 20px}
.appearance-upload-field{display:flex;align-items:center;gap:12px;min-height:78px;padding:14px 15px;border-color:#ffffff16;background:linear-gradient(145deg,#17171b,#111113);transition:border-color .18s,background .18s}
.appearance-upload-field:hover{border-color:#ed263866;background:#1b171b}
.appearance-upload-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff08;color:#ff7886}
.appearance-upload-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.appearance-upload-copy{display:grid;gap:4px;min-width:0}
.appearance-upload-copy strong{font-size:12px}
.appearance-upload-copy small{color:#92929c;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.appearance-upload-arrow{margin-left:auto;color:#888891;font-size:17px}
.appearance-bio-field textarea{min-height:112px;line-height:1.5}
.appearance-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:17px;border-top:1px solid #ffffff12}
.appearance-actions .button{display:inline-flex;align-items:center;justify-content:center;min-width:145px;min-height:43px;padding:0 18px;border-radius:12px;font-size:12px;font-weight:750}
.appearance-actions .button.ghost{border:1px solid #ffffff1c;background:#ffffff05;color:#e2e2e6}
.appearance-actions .button:not(.ghost){box-shadow:0 7px 20px #ed26382b}

/* Custom dark select: avoid browser-default white/grey control */
.general-field select{min-height:28px;padding:3px 28px 3px 0!important;appearance:none;-webkit-appearance:none;border:0!important;border-radius:0!important;background-color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a5a5ae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 4px center!important;color:#f4f4f5!important;cursor:pointer}
.general-field select:focus{outline:none!important}
.general-field select option{background:#19191e;color:#f4f4f5}

/* Small screens keep profile content balanced */
@media(max-width:720px){
 .profile-modern{margin:12px auto 45px}
 .profile-cover{height:125px;border-radius:17px}
 .profile-main-head{min-height:86px;margin-top:-39px;padding:0 13px;gap:11px;align-items:center}
 .profile-avatar{flex-basis:84px;width:84px!important;height:84px!important}
 .profile-identity{padding-top:30px}
 .profile-identity h1{font-size:22px}
 .profile-details{gap:5px;margin-top:7px}
 .profile-details span{font-size:9px;padding:3px 7px}
 .profile-posts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .appearance-form{padding:14px}
 .appearance-banner-preview{height:175px}
 .appearance-avatar-preview{width:108px;height:108px;bottom:-48px}
 .appearance-preview-card{margin-bottom:52px}
 .appearance-upload-grid{gap:8px}
 .appearance-upload-field{min-height:74px;padding:10px;gap:8px}
 .appearance-upload-icon{flex-basis:32px;width:32px;height:32px}
 .appearance-upload-copy small{font-size:9px}
 .appearance-actions{justify-content:stretch}
 .appearance-actions .button{flex:1;min-width:0;padding:0 10px}
}
@media(max-width:420px){
 .profile-posts{grid-template-columns:1fr}
 .profile-main-head{align-items:flex-end}
 .profile-identity{padding-top:34px;padding-bottom:5px}
}


/* Unified profile identity row: badges and personal chips share one baseline */
.profile-main-head{align-items:center}
.profile-identity{min-width:0;flex:1;padding:30px 0 0}
.profile-name-row{display:flex;align-items:center;align-content:center;gap:8px 10px;flex-wrap:wrap;min-width:0}
.profile-name-row h1{display:flex;align-items:center;gap:7px;flex:0 0 auto;min-width:0}
.profile-name-row .profile-you{flex:0 0 auto;white-space:nowrap}
.profile-name-row .profile-details{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;min-width:0}
.profile-name-row .profile-details span{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 9px;white-space:nowrap;line-height:1}
.profile-identity .profile-bio{margin:6px 0 0;line-height:1.4}
@media(max-width:720px){
 .profile-main-head{align-items:center}
 .profile-identity{padding:25px 0 0}
 .profile-name-row{gap:7px}
 .profile-name-row h1{font-size:21px}
 .profile-name-row .profile-details{gap:5px}
 .profile-name-row .profile-details span{min-height:24px;padding:3px 7px;font-size:9px}
 .profile-identity .profile-bio{font-size:10px;margin-top:5px}
}


/* Fixed Lucide-style SVG navigation icons */
.nav-svg-icon{display:inline-block!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:0!important;padding:0!important;vertical-align:middle!important;color:currentColor!important;overflow:visible}
.desktop-nav a{display:inline-flex;align-items:center;gap:8px}
.topbar .admin-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.topbar .message-shortcut,.topbar .notification-trigger{display:inline-flex;align-items:center;justify-content:center}
.tabbar a .nav-svg-icon{display:block!important;margin:0 auto 2px!important}


/* Four-step account registration */
.registration-progress{display:grid;gap:10px;margin:4px 0 28px}
.registration-progress>span,.registration-review>span,.rina-register-selected>span{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--fs-muted,#999)}
.registration-progress>strong{font-size:13px;color:var(--fs-red,#ed2638)}
.registration-progress-track{height:5px;border-radius:20px;background:#ffffff12;overflow:hidden}
.registration-progress-track i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#c91d31,#ff5364);transition:width .2s}
.registration-progress-labels{display:flex;justify-content:space-between;color:#85858f;font-size:10px}
.registration-form{gap:15px}
.registration-form label{display:grid;gap:8px}
.registration-form input:not([type=checkbox]),.registration-form select{width:100%;min-height:48px;padding:0 14px;border:1px solid #ffffff1c;border-radius:13px;background:#1b1b20;color:#fff;font:inherit;outline:none}
.registration-form input:focus,.registration-form select:focus{border-color:#ed263899;box-shadow:0 0 0 3px #ed26381a}
.registration-form input[type=file]{padding:12px;height:auto}
.registration-form input[type=date]{color-scheme:dark}
.registration-form .check{display:flex;align-items:center;gap:10px;font-size:13px;color:#c8c8ce}
.registration-form .check input{width:17px;height:17px;accent-color:#ed2638}
.registration-form .button{width:100%;min-height:49px;display:flex;align-items:center;justify-content:center;gap:9px}
.registration-avatar-preview{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px;border:1px solid #ffffff16;border-radius:15px;background:#ffffff06;color:#d8d8dd;font-size:12px}
.registration-avatar-preview img,.registration-character-avatar{width:58px;height:58px;object-fit:cover;border-radius:14px}
.registration-skip-form{margin-top:8px;text-align:center}
.registration-text-button,.registration-back-link{display:inline-block;padding:9px 4px;border:0;background:none;color:#aaaab4;font:inherit;font-size:12px;text-decoration:none;cursor:pointer}
.registration-text-button:hover,.registration-back-link:hover{color:#fff}
.registration-back-link{margin-top:8px}
.registration-review{display:grid;gap:10px;margin:18px 0;padding:15px;border:1px solid #ffffff16;border-radius:16px;background:#ffffff05}
.registration-review p{display:flex;justify-content:space-between;gap:12px;margin:0;font-size:13px}
.registration-review p small{color:#9999a3}
.registration-review p strong{text-align:right;color:#f5f5f6}
.rina-register-selected{display:grid;justify-items:start;gap:7px;margin:16px 0;padding:15px;border:1px solid #ed263844;border-radius:16px;background:#ed26380d}
.rina-register-selected strong{font-size:17px}
.rina-register-selected small{color:#aaaab4;font-size:11px}
@media(max-width:520px){.registration-progress{margin-bottom:22px}.registration-review p{font-size:12px}.registration-form input:not([type=checkbox]),.registration-form select{min-height:46px}}


/* Registration avatar picker */
.registration-avatar-form{gap:18px}
.registration-avatar-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.registration-avatar-picker{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:224px;padding:24px 16px;border:1px dashed #ed263866;border-radius:22px;background:radial-gradient(ellipse at 50% 0,#ed26381b,transparent 68%),#ffffff04;cursor:pointer;text-align:center;transition:border-color .2s,background .2s,transform .2s}
.registration-avatar-picker:hover{border-color:#ff5364;background:radial-gradient(ellipse at 50% 0,#ed263827,transparent 68%),#ffffff06;transform:translateY(-2px)}
.registration-avatar-art{position:relative;display:grid;place-items:center;width:116px;height:116px;border-radius:50%;padding:5px;border:1px solid #ed263866;background:linear-gradient(145deg,#ed263855,#ffffff0a);box-shadow:0 10px 35px #ed26381c}
.registration-avatar-art>img{width:100%;height:100%;object-fit:cover;border-radius:50%;background:#202026}
.registration-avatar-art>img[hidden],.registration-avatar-placeholder[hidden]{display:none!important}
.registration-avatar-placeholder{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at 50% 35%,#ed263833,#1b1b20 72%)}
.registration-camera-icon{display:grid;place-items:center;width:46px;height:46px;border:1px solid #ed263866;border-radius:50%;background:#ed26381c;color:#ff7b88;font-size:30px;font-weight:300;line-height:1}
.registration-avatar-edit{position:absolute;right:1px;bottom:3px;display:grid;place-items:center;width:31px;height:31px;border:3px solid #151518;border-radius:50%;background:#ed2638;color:#fff;font-size:15px}
.registration-avatar-picker>strong{font-size:14px;color:#f5f5f6}
.registration-avatar-picker>small{font-size:11px;color:#9999a3}
.registration-avatar-input:focus-visible+.registration-avatar-picker{outline:2px solid #ff5364;outline-offset:4px}
@media(max-width:520px){.registration-avatar-picker{min-height:205px}.registration-avatar-art{width:104px;height:104px}}


/* Admin dashboard simplification */
.admin-dashboard{max-width:1080px;padding-top:26px}
.admin-hero{padding:25px 28px;margin:12px 0 16px;border-radius:20px}
.admin-hero h1{font-size:clamp(29px,4vw,40px)}
.admin-metrics{gap:10px;margin-bottom:26px}
.admin-metrics article{padding:15px 18px;border-radius:15px}
.admin-section{margin-bottom:28px}
.admin-section-heading{margin-bottom:13px}
.admin-section-heading h2{font-size:21px}
.admin-report-card,.admin-user-card{align-items:stretch;flex-direction:column;gap:13px;padding:15px;border-radius:16px}
.admin-user-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.admin-user-identity{align-items:flex-start}
.admin-user-meta{flex-wrap:wrap;row-gap:5px}
.admin-user-controls{border-top:1px solid #ffffff10;padding-top:10px}
.admin-user-controls>summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;color:#f0f0f3;font-size:12px;font-weight:700}
.admin-user-controls>summary::-webkit-details-marker{display:none}
.admin-user-controls>summary:before{content:"＋";display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#ed26381a;color:#ff7b88;font-size:17px}
.admin-user-controls[open]>summary:before{content:"−"}
.admin-user-controls>summary span{margin-left:auto;color:#777782;font-size:10px;font-weight:500}
.admin-user-actions{justify-content:flex-start;padding-top:12px;gap:7px}
.admin-user-actions form{margin:0}
.admin-user-actions .admin-action-button{min-height:34px;font-size:11px}
.admin-rina-card{padding:12px 14px;border:1px solid #ed263833;border-radius:13px;background:linear-gradient(110deg,#ed263810,#ffffff03)}
.admin-rina-heading{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.admin-rina-heading>strong{font-size:12px}
.admin-rina-mark{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#ed263826;color:#ff7582;font-size:12px;font-weight:800}
.admin-rina-status{margin-left:auto;padding:3px 8px;border-radius:20px;background:#36d68a16;color:#69d9a3;font-size:9px}
.admin-rina-fields{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:12px}
.admin-rina-fields>div{display:grid;gap:3px;min-width:0}
.admin-rina-fields small{color:#85858f;font-size:9px}
.admin-rina-fields strong{font-size:11px;overflow-wrap:anywhere}
.admin-rina-fields .admin-rina-id{font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;color:#d6d6dc}
.admin-rina-character-id{font-family:ui-monospace,SFMono-Regular,monospace}
.admin-user-search{margin-bottom:13px}
.admin-report-list,.admin-user-list{gap:8px}
@media(max-width:650px){
 .admin-rina-fields{grid-template-columns:1fr 1fr}
 .admin-rina-fields>div:last-child{grid-column:1/-1}
 .admin-user-controls>summary span{display:none}
 .admin-hero{padding:21px 18px}
}

/* Membership packages and badges */
.membership-nav-link{color:#ff9aa5!important}
.home-hero{position:relative}
.home-membership-cta{position:absolute;right:0;top:0;display:inline-flex;align-items:center;gap:9px;padding:11px 15px;border:1px solid #ed526a55;border-radius:13px;background:linear-gradient(120deg,#ed26381c,#ffffff05);color:#ffd4d9;text-decoration:none;font-size:12px;font-weight:750}
.home-membership-cta span,.home-membership-cta b{color:#ff8292}
.membership-page{max-width:1120px;margin:24px auto 70px}
.membership-hero{padding:32px;border:1px solid #ed526a30;border-radius:24px;background:radial-gradient(ellipse at 85% 10%,#ed263826,transparent 45%),linear-gradient(135deg,#1b171c,#111114)}
.membership-hero .eyebrow{color:#ff8795;font-size:10px;font-weight:800;letter-spacing:2px}
.membership-hero h1{margin:8px 0;font-size:clamp(28px,4vw,42px);letter-spacing:-1.4px}
.membership-hero p{max-width:560px;color:#aaaab4;font-size:13px;line-height:1.7}
.membership-wallet{display:inline-flex;gap:8px;align-items:center;margin-top:12px;padding:9px 13px;border:1px solid #ffffff18;border-radius:12px;background:#ffffff08;color:#ddd;font-size:12px}
.membership-wallet strong{color:#fff}
.membership-current{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0;padding:16px 18px;border:1px solid var(--membership-color,#ed526a55);border-radius:16px;background:#ffffff08}
.membership-current strong{color:var(--membership-color,#ff8795)}
.membership-current small{display:block;color:#aaa;font-size:10px}
.membership-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:22px}
.membership-card{display:flex;flex-direction:column;min-width:0;padding:21px 18px;border:1px solid color-mix(in srgb,var(--membership-color) 38%,#ffffff10);border-radius:19px;background:linear-gradient(155deg,color-mix(in srgb,var(--membership-color) 12%,#19191e),#121216 65%)}
.membership-card h2{margin:13px 0 4px;font-size:21px}
.membership-card p{min-height:34px;margin:0;color:#9999a4;font-size:11px;line-height:1.5}
.membership-price{margin:18px 0 4px;color:#fff;font-size:25px;font-weight:850;letter-spacing:-.8px}
.membership-duration{color:#858590;font-size:10px}
.membership-perks{display:grid;gap:10px;margin:20px 0;padding:0;list-style:none;color:#d4d4da;font-size:11px}
.membership-perks li{display:flex;gap:8px;align-items:center}
.membership-perks li:before{content:"✓";color:var(--membership-color);font-weight:900}
.membership-card form{margin-top:auto}
.membership-card button{width:100%;min-height:42px;border:0;border-radius:11px;background:var(--membership-color);color:#111;font-weight:800;cursor:pointer}
.membership-card button:disabled{opacity:.4;cursor:not-allowed}
.membership-badge{display:inline-flex;vertical-align:middle;align-items:center;margin-left:6px;padding:3px 8px;border:1px solid color-mix(in srgb,var(--membership-color) 65%,transparent);border-radius:20px;background:color-mix(in srgb,var(--membership-color) 17%,transparent);color:var(--membership-color);font-size:9px;font-weight:850;letter-spacing:.2px;white-space:nowrap}
.post-menu-note{display:flex;gap:10px;align-items:center;padding:10px 12px;color:#888;font-size:11px}
.post-menu-note strong,.post-menu-note small{display:block}
.post-menu-note strong{color:#ddd;font-size:11px}.post-menu-note small{margin-top:3px;color:#85858f;font-size:10px}
@media(max-width:900px){.membership-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.membership-page{margin-top:12px}.membership-hero{padding:23px 19px}.membership-grid{grid-template-columns:1fr}.membership-card{padding:19px}.home-membership-cta{position:static;margin:0 0 15px}.membership-current{align-items:flex-start;flex-direction:column}}

.post-boosted-label{color:#e9b95e;font-weight:800}


/* Membership page refinement */
.home-membership-cta{z-index:2;box-shadow:0 8px 24px #ed26381a;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.home-membership-cta:hover{transform:translateY(-2px);border-color:#ff8292aa;background:linear-gradient(120deg,#ed26382b,#ffffff08)}
.membership-page{width:min(1120px,calc(100% - 32px))}
.membership-hero{position:relative;overflow:hidden;box-shadow:0 18px 55px #0003}
.membership-hero:after{content:"✦";position:absolute;right:7%;top:8%;font-size:clamp(90px,15vw,170px);line-height:1;color:#ffffff08;pointer-events:none}
.membership-hero>*{position:relative;z-index:1}
.membership-card{position:relative;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.membership-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--membership-color);opacity:.85}
.membership-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--membership-color) 75%,#fff 5%);box-shadow:0 16px 34px #0004}
.membership-card button{transition:filter .18s ease,transform .18s ease}
.membership-card button:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}
.membership-card button:focus-visible,.home-membership-cta:focus-visible{outline:2px solid var(--membership-color,#ff8292);outline-offset:3px}
.membership-badge{min-height:21px}
.membership-current{box-shadow:0 10px 28px #0002}
.post-boosted-label{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border:1px solid #e9b95e44;border-radius:20px;background:#e9b95e12}
@media(max-width:560px){
 .membership-page{width:calc(100% - 22px)}
 .membership-hero:after{right:4%;top:12%;font-size:88px}
 .membership-current{gap:12px}
 .membership-current>div:last-child{width:100%;padding-top:10px;border-top:1px solid #ffffff12}
 .membership-card:hover{transform:none}
}


/* Wallet and membership use the exact same shared .desktop-nav anchor styles as Home and Explore. */


/* Creator subscriptions */
.creator-dashboard{max-width:850px;margin:24px auto 80px;padding:0 16px}.creator-dashboard>header{margin-bottom:24px}.creator-dashboard h1{font-size:clamp(28px,5vw,40px);margin:8px 0}.creator-dashboard>header p{color:#a1a1aa;line-height:1.6}
.creator-plan-form,.creator-existing-plans,.creator-public-plans{border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.025);padding:20px;margin:18px 0}.creator-plan-form h2,.creator-existing-plans h2,.creator-public-plans h2{margin:0 0 16px;font-size:19px}.creator-plan-form label{display:block;color:#d4d4d8;font-size:13px;margin:12px 0}.creator-plan-form input,.creator-plan-form textarea,.creator-plan-form select{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:12px 13px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#101014;color:#fff;font:inherit}.creator-plan-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.creator-existing-plans>article,.creator-plan-grid>article{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08)}.creator-existing-plans>article:last-child{border-bottom:0}.creator-existing-plans p,.creator-plan-grid p{color:#a1a1aa;font-size:13px;line-height:1.5}.creator-existing-plans small{display:block;color:#a1a1aa;margin-top:5px}.creator-empty{color:#a1a1aa;padding:16px 0}.creator-public-plans{margin:20px 0}.creator-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.creator-plan-grid>article{display:block;border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:16px}.creator-plan-grid .button{margin-top:12px}.subscription-plan-picker{padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:12px;margin:12px 0}.subscription-plan-picker small{display:block;color:#a1a1aa;margin:5px 0 12px}.subscription-plan-picker label{display:flex;align-items:center;gap:8px;padding:7px 0}.subscription-post-lock{padding:24px;border:1px solid rgba(211,177,75,.3);border-radius:15px;background:rgba(211,177,75,.045)}.subscription-post-lock h3{margin:8px 0}.subscription-post-lock>p{color:#a1a1aa;font-size:13px;line-height:1.6}.subscription-post-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:16px}.subscription-post-plans article{padding:15px;border:1px solid rgba(255,255,255,.12);border-radius:12px}.subscription-post-plans article p{color:#a1a1aa;font-size:12px}.subscription-post-plans article b{font-size:13px}.subscription-post-plans .button{width:100%;margin-top:12px}
@media(max-width:600px){.creator-plan-form-row{grid-template-columns:1fr}.creator-existing-plans>article{align-items:flex-start;flex-direction:column}.creator-existing-plans>article form,.creator-existing-plans>article .button{width:100%}}


/* Creator-only subscription access: visual lock cards and package selector refresh */
.discovery-card-locked{display:flex;min-height:290px;background:radial-gradient(circle at 50% 20%,#ed26381a,transparent 55%),linear-gradient(145deg,#1c171b,#111115);border:1px solid #d9b65a35}
.discovery-lock-content{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:25px;text-align:center;text-decoration:none;color:#f5f5f6}
.discovery-lock-icon{display:grid;place-items:center;width:54px;height:54px;border:1px solid #d9b65a55;border-radius:18px;background:#d9b65a12;color:#f0ce79;font-size:25px}
.discovery-lock-content>strong{font-size:17px;letter-spacing:-.3px}
.discovery-lock-content>small{color:#a6a2a8;font-size:11px}
.discovery-lock-content>b{display:inline-flex;align-items:center;gap:8px;margin-top:5px;padding:10px 15px;border:1px solid #d9b65a55;border-radius:11px;background:#d9b65a12;color:#f1d68f;font-size:11px}
.discovery-lock-content>b span{font-size:15px}
.subscription-plan-picker{display:grid;gap:16px;margin:4px 0;padding:20px;border:1px solid #ed263844;border-radius:19px;background:radial-gradient(ellipse at 0 0,#ed263814,transparent 55%),linear-gradient(145deg,#1b191f,#121216);box-shadow:0 14px 38px #0003}
.subscription-plan-picker[hidden]{display:none!important}
.subscription-picker-heading{display:flex;align-items:center;gap:12px}
.subscription-picker-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #ed263855;border-radius:13px;background:#ed26381a;color:#ff8290;font-size:19px}
.subscription-picker-heading>div{display:grid;gap:5px;min-width:0}
.subscription-picker-heading strong{font-size:14px;color:#f7f5f6}
.subscription-picker-heading small{color:#9999a4;font-size:11px;line-height:1.55}
.subscription-plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.subscription-plan-option{position:relative;display:flex;align-items:flex-start;gap:11px;min-width:0;padding:15px;border:1px solid #ffffff18;border-radius:15px;background:#ffffff05;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.subscription-plan-option:hover{border-color:#ed263877;background:#ed26380b;transform:translateY(-1px)}
.subscription-plan-option:has(input:checked){border-color:#ed526a;background:linear-gradient(135deg,#ed26381b,#ffffff06);box-shadow:inset 0 0 0 1px #ed263822}
.subscription-plan-option input{position:absolute;width:1px;height:1px;opacity:0}
.plan-option-check{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;margin-top:1px;border:1px solid #ffffff30;border-radius:7px;color:transparent;font-size:12px;font-weight:900;transition:all .18s}
.subscription-plan-option:has(input:checked) .plan-option-check{border-color:#ed526a;background:#ed2638;color:#fff}
.plan-option-copy{display:grid;gap:7px;flex:1;min-width:0}
.plan-option-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.plan-option-title strong{overflow:hidden;color:#f5f5f6;font-size:13px;text-overflow:ellipsis}
.plan-option-title b{flex:0 0 auto;color:#ff9ba5;font-size:13px}
.plan-option-copy>small{color:#9b9ba5;font-size:10px;line-height:1.5}
.plan-option-meta{display:flex;align-items:center;gap:7px;color:#d7b96f;font-size:9px;font-weight:750}
.plan-option-meta i{color:#696973;font-style:normal}
.subscription-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #ffffff12}
.subscription-picker-footer>span{color:#ff9ba5;font-size:11px;font-weight:800}
.subscription-picker-footer>small{color:#777782;font-size:10px}
.subscription-picker-empty{padding:16px;border:1px dashed #ffffff24;border-radius:13px;text-align:center}
.subscription-picker-empty strong{font-size:13px}
.subscription-picker-empty p{color:#9999a4;font-size:11px;line-height:1.5}
.subscription-picker-empty a{display:inline-flex;gap:7px;color:#ff9ba5;font-size:11px;font-weight:800;text-decoration:none}
@media(max-width:620px){.subscription-plan-picker{padding:15px}.subscription-plan-options{grid-template-columns:1fr}.subscription-picker-footer{align-items:flex-start;flex-direction:column;gap:5px}.discovery-card-locked{min-height:240px}}


/* Subscription post identity and premium checkout presentation */
.post-author-locked{position:relative;z-index:1;padding:16px 18px;border-bottom:1px solid #ffffff0d}
.subscription-post-lock{overflow:hidden;padding:22px;background:radial-gradient(ellipse at 50% 0,#d7b15b16,transparent 58%),linear-gradient(145deg,#19191f,#111115);border:1px solid #d7b15b35;border-radius:0 0 18px 18px}
.subscription-lock-heading{position:relative;display:grid;justify-items:center;gap:9px;padding:9px 10px 22px;text-align:center}
.subscription-lock-heading .eyebrow{color:#d9bc79;font-size:9px;font-weight:850;letter-spacing:1.7px}
.subscription-lock-mark{display:grid;place-items:center;width:54px;height:54px;margin:5px 0;border:1px solid #d9bc7960;border-radius:18px;background:linear-gradient(145deg,#d9bc7922,#d9bc7908);color:#f1d99c;font-size:24px;box-shadow:0 8px 30px #d9bc7912}
.subscription-lock-heading h3{margin:0;color:#f7f5ef;font-size:21px;letter-spacing:-.6px}
.subscription-lock-heading p{max-width:440px;margin:0;color:#a8a6a0;font-size:12px;line-height:1.65}
.subscription-post-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.subscription-post-plans>article{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:17px;border:1px solid #d9bc7930;border-radius:15px;background:linear-gradient(155deg,#ffffff09,#ffffff03);box-shadow:0 10px 28px #0002}
.locked-plan-label{color:#d8bb78;font-size:8px;font-weight:900;letter-spacing:1.4px}
.subscription-post-plans>article>strong{color:#f5f2eb;font-size:16px}
.subscription-post-plans>article>p{min-height:32px;margin:0;color:#a6a4a0;font-size:11px;line-height:1.55}
.subscription-post-plans>article>b{margin-top:auto;color:#f2d58d;font-size:19px;letter-spacing:-.4px}
.subscription-post-plans>article>b small{color:#a7a39a;font-size:10px;font-weight:600}
.subscription-buy-link{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:42px;margin-top:5px;border:1px solid #d8bb7870!important;background:linear-gradient(110deg,#d7b15b,#b99143)!important;color:#17140e!important;font-size:11px;font-weight:900;text-decoration:none;box-shadow:0 7px 20px #d7b15b1c}
.subscription-buy-link:hover{filter:brightness(1.08);transform:translateY(-1px)}
.subscription-no-plans{grid-column:1/-1;color:#aaa;font-size:12px;text-align:center}
@media(max-width:560px){.subscription-post-lock{padding:15px}.subscription-lock-heading h3{font-size:18px}.subscription-post-plans{grid-template-columns:1fr}}

/* Premium subscription checkout */
.subscription-checkout-page{width:min(100%,1080px);margin:34px auto 76px;padding:0 20px}
.checkout-back-link{display:inline-flex;align-items:center;gap:8px;margin:0 0 24px;color:#a5a5ae;text-decoration:none;font-size:13px;transition:color .2s}
.checkout-back-link:hover{color:#fff}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,480px);align-items:center;gap:clamp(28px,6vw,82px)}
.checkout-intro{padding:24px 0}
.checkout-kicker{display:inline-flex;align-items:center;gap:9px;color:#d5b66c;font-size:10px;font-weight:800;letter-spacing:.2em}
.checkout-kicker-dot{width:7px;height:7px;border-radius:50%;background:#e8c56d;box-shadow:0 0 14px #e8c56d88}
.checkout-intro h1{margin:22px 0 16px;color:#f7f7f8;font-size:clamp(38px,5.4vw,64px);line-height:1.04;letter-spacing:-.055em;font-weight:800}
.checkout-intro h1 span{color:#e8c56d}
.checkout-intro>p{max-width:410px;margin:0;color:#9b9ba5;font-size:15px;line-height:1.8}
.checkout-creator{display:flex;align-items:center;gap:13px;margin-top:38px;padding-top:22px;border-top:1px solid #ffffff15}
.checkout-creator-avatar{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border:1px solid #e8c56d55;border-radius:50%;background:#242329;color:#f4d58a;font-size:18px;font-weight:800}
.checkout-creator-avatar img{width:100%;height:100%;object-fit:cover}
.checkout-creator>div:nth-child(2){display:grid;gap:3px}
.checkout-creator>div:nth-child(2) small{color:#777781;font-size:9px;font-weight:800;letter-spacing:.14em}
.checkout-creator>div:nth-child(2) strong{color:#f4f4f5;font-size:14px}
.checkout-creator-mark{margin-left:auto;color:#e8c56d;font-size:23px}
.checkout-card{position:relative;overflow:hidden;padding:30px;border:1px solid #e8c56d40;border-radius:25px;background:radial-gradient(100% 55% at 100% 0,#d4a94a14,transparent 72%),linear-gradient(150deg,#1c1b20,#121216 78%);box-shadow:0 28px 90px #0007,inset 0 1px #ffffff0b}
.checkout-card:before{content:"";position:absolute;top:0;left:30px;right:30px;height:2px;background:linear-gradient(90deg,transparent,#e8c56d,transparent)}
.checkout-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.checkout-card-label{color:#92929c;font-size:9px;font-weight:800;letter-spacing:.14em}
.checkout-lock{padding:6px 9px;border:1px solid #e8c56d38;border-radius:30px;background:#e8c56d12;color:#e8c56d;font-size:9px;font-weight:800;letter-spacing:.06em}
.checkout-card h2{margin:23px 0 7px;color:#fff;font-size:30px;line-height:1.15;letter-spacing:-.04em}
.checkout-description{min-height:42px;margin:0;color:#a2a2ab;font-size:13px;line-height:1.65}
.checkout-price-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0;padding:20px 0;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}
.checkout-price-row>div:first-child{display:grid;gap:3px}
.checkout-price-row>div:first-child strong{color:#f4d58a;font-size:36px;line-height:1;font-weight:850;letter-spacing:-.04em}
.checkout-price-row>div:first-child strong small{font-size:19px}
.checkout-price-row>div:first-child>span{color:#85858f;font-size:10px}
.checkout-duration{display:grid;gap:4px;text-align:right;color:#f4f4f5;font-size:12px;font-weight:850;letter-spacing:.08em}
.checkout-duration small{color:#85858f;font-size:8px;letter-spacing:.13em}
.checkout-includes{display:grid;gap:12px;margin:0 0 22px}
.checkout-includes>div{display:flex;align-items:center;gap:10px;color:#d1d1d7;font-size:12px}
.checkout-includes>div span{width:19px;height:19px;display:grid;place-items:center;flex:0 0 19px;border-radius:50%;background:#e8c56d18;color:#e8c56d;font-size:11px;font-weight:900}
.checkout-wallet{padding:15px 16px;border:1px solid #ffffff12;border-radius:14px;background:#ffffff06}
.checkout-wallet>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.checkout-wallet>div span{color:#9b9ba5;font-size:11px}
.checkout-wallet>div strong{color:#fff;font-size:14px;white-space:nowrap}
.checkout-wallet>p{margin:7px 0 0;color:#777781;font-size:10px}
.checkout-wallet>p.checkout-insufficient{color:#ff929b}
.checkout-actions{display:grid;gap:12px;margin-top:18px}
.checkout-buy-button{width:100%;min-height:54px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 18px;border:0;border-radius:14px;background:linear-gradient(110deg,#f0d48c,#c99a43);color:#17130b;font:inherit;font-size:13px;font-weight:850;cursor:pointer;box-shadow:0 10px 28px #d4a94a25;transition:transform .2s,filter .2s,box-shadow .2s}
.checkout-buy-button:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 14px 34px #d4a94a35}
.checkout-buy-button span{font-size:19px}
.checkout-buy-button:disabled{cursor:not-allowed;filter:grayscale(.55);opacity:.55;box-shadow:none}
.checkout-actions>a{justify-self:center;color:#9999a3;text-decoration:none;font-size:11px}
.checkout-actions>a:hover{color:#fff}
.checkout-footnote{margin:18px 0 0;color:#73737d;text-align:center;font-size:9px;line-height:1.6}
/* Featured posts receive a visible gold frame in every feed/profile layout. */
.post-card.post-is-boosted{border:1.5px solid #f0c64f!important;box-shadow:inset 0 0 0 1px #f0c64f38,0 0 0 1px #f0c64f22,0 0 24px #f0c64f20!important}
.post-card.post-is-boosted:hover{border-color:#ffdc78!important;box-shadow:inset 0 0 0 1px #ffdc7855,0 0 0 1px #f0c64f44,0 0 30px #f0c64f2c!important}
@media(max-width:760px){.subscription-checkout-page{margin:16px auto 55px;padding:0 14px}.checkout-layout{grid-template-columns:1fr;gap:18px}.checkout-intro{padding:8px 2px 0}.checkout-intro h1{margin:14px 0 10px;font-size:42px}.checkout-intro>p{font-size:13px}.checkout-creator{margin-top:20px;padding-top:15px}.checkout-card{padding:23px 19px;border-radius:21px}.checkout-card h2{font-size:26px}.checkout-price-row{margin:19px 0;padding:17px 0}.checkout-price-row>div:first-child strong{font-size:31px}}

/* Premium dedicated post view: editorial media + conversation workspace. */
.post-detail-page{width:min(100% - 32px,1120px);max-width:1120px;margin:0 auto;padding:30px 0 54px}
.post-detail-heading{display:flex;align-items:center;gap:22px;margin:0 0 18px}
.post-detail-heading>div{min-width:0}
.post-detail-heading .eyebrow{display:block;margin-bottom:5px;color:#ed7884;font-size:10px;font-weight:800;letter-spacing:.16em}
.post-detail-heading h1{margin:0;color:#f7f7fa;font-size:clamp(23px,3vw,31px);font-weight:800;letter-spacing:-.045em}
.post-detail-heading p{margin:5px 0 0;color:#92929d;font-size:12px}
.post-detail-heading .post-detail-back{flex:none;margin:0;padding:10px 13px;border:1px solid #ffffff17;border-radius:12px;background:#ffffff07;color:#c5c5ce;text-decoration:none;transition:.18s}
.post-detail-heading .post-detail-back:hover{border-color:#ed53666b;background:#ed263812;color:#fff}
.post-detail-focus{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);grid-template-rows:auto auto minmax(0,1fr);gap:0;max-width:100%;overflow:hidden;border:1px solid #ffffff17;border-radius:25px;background:linear-gradient(145deg,#17171c,#101014 72%);box-shadow:0 28px 90px #0008}
.post-detail-focus>.post-author{grid-column:1/-1;grid-row:1;min-width:0;padding:19px 23px;border-bottom:1px solid #ffffff12;background:linear-gradient(100deg,#ffffff08,transparent 70%)}
.post-detail-focus>.post-caption-top{grid-column:2;grid-row:2;display:block;min-width:0;margin:0;padding:21px 23px 10px;color:#d7d7df;font-size:14px;line-height:1.75}
.post-detail-focus>.post-caption-top a{display:block;margin:0 0 5px;color:#fff;font-size:12px}
.post-detail-focus>.post-image-wrap,.post-detail-focus>.post-art{grid-column:1;grid-row:2/4;align-self:stretch;display:grid;place-items:center;min-width:0;min-height:620px;max-height:850px;margin:0;overflow:hidden;border:0;border-right:1px solid #ffffff12;border-radius:0;background:#08080a}
.post-detail-focus>.post-image-wrap .post-image{display:block;width:100%;height:100%;max-height:850px;object-fit:contain;background:#08080a}
.post-detail-focus>.post-art{min-height:620px}
.post-detail-focus>.post-engagement{grid-column:2;grid-row:3;display:flex;flex-direction:column;min-width:0;margin:0;padding:10px 22px 22px;border-left:0}
.post-detail-focus .post-action-row{padding:4px 0 8px;border-bottom:1px solid #ffffff0d}
.post-detail-focus .post-social-meta{padding:11px 0 13px;border-bottom:1px solid #ffffff0d}
.post-detail-focus .comments-panel:not([hidden]){display:flex;flex:1;flex-direction:column;min-height:0;margin-top:0;padding:15px 0 0;border-top:0}
.post-detail-focus .comment-list{flex:1;max-height:min(58vh,560px);gap:15px;padding:2px 3px 14px}
.post-detail-focus .comment-item{gap:11px}
.post-detail-focus .comment-avatar{flex-basis:36px;width:36px;height:36px;border:1px solid #ffffff20;background:linear-gradient(145deg,#3a3035,#202027)}
.post-detail-focus .comment-content{padding:10px 13px 9px;border:1px solid #ffffff0e;border-radius:5px 17px 17px 17px;background:linear-gradient(145deg,#24242b,#1a1a20);box-shadow:0 5px 18px #0002}
.post-detail-focus .comment-username{font-size:12px;color:#fff}
.post-detail-focus .comment-body{font-size:13px;line-height:1.65;color:#d8d8df}
.post-detail-focus .comment-replies{margin-left:47px;padding-left:14px;border-left:2px solid #ed53664a}
.post-detail-focus .comment-reply-item .comment-avatar{flex-basis:30px;width:30px;height:30px}
.post-detail-focus .comment-actions{gap:15px;margin-top:8px}
.post-detail-focus .comment-actions button{font-size:11px}
.post-detail-focus .comment-actions time{margin-left:auto}
.post-detail-focus .comment-reply-form{margin-top:10px;padding:5px 7px 5px 12px;border:1px solid #ffffff17;border-radius:14px;background:#111116}
.post-detail-focus .comment-form:not(.comment-reply-form){margin-top:14px;padding:7px 9px 7px 14px;border:1px solid #ffffff1b;border-radius:16px;background:linear-gradient(135deg,#222229,#17171d);box-shadow:0 8px 26px #0003}
.post-detail-focus .comment-form:focus-within{border-color:#ed5366a0;box-shadow:0 0 0 3px #ed26381a,0 8px 26px #0003}
.post-detail-focus .comment-form input[name="body"]{height:40px;min-height:40px;font-size:13px}
.post-detail-focus .comment-form>button[type="submit"]{width:36px;height:36px;min-width:36px;flex:0 0 36px;border-radius:12px;background:linear-gradient(145deg,#fa5263,#c91d32);box-shadow:0 7px 18px #ed263833}
.post-detail-focus .comment-emoji-picker{left:8px;bottom:58px;grid-template-columns:repeat(4,38px);gap:5px;padding:11px;border:1px solid #ffffff20;border-radius:17px;background:rgba(30,30,37,.97);backdrop-filter:blur(18px);box-shadow:0 18px 48px #000b;animation:fs-emoji-in .16s ease-out both}
.post-detail-focus .comment-emoji-picker-label{grid-column:1/-1;padding:1px 3px 7px;color:#a8a8b2;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.post-detail-focus .comment-emoji-picker button{width:36px;height:36px;border-radius:11px;font-size:21px;transition:background .15s,transform .15s}
.post-detail-focus .comment-emoji-picker button:hover{background:#ed536626;transform:translateY(-2px) scale(1.08)}
.post-detail-focus .comment-emoji-toggle,.post-detail-focus .comment-attach-button{width:36px!important;height:36px!important;min-width:36px!important;flex-basis:36px!important;border-radius:11px!important;background:#ffffff09!important}
.post-detail-focus .comment-emoji-toggle:hover{color:#ff7582!important;background:#ed536622!important}
.post-detail-focus .comment-attachment{max-width:78%;border:1px solid #ffffff15;border-radius:14px}
.post-detail-focus .comment-attachment img{max-height:240px}
@keyframes fs-emoji-in{from{opacity:0;transform:translateY(7px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:820px){
 .post-detail-page{width:min(100% - 20px,620px);padding-top:20px}
 .post-detail-focus{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto}
 .post-detail-focus>.post-author{grid-column:1;grid-row:1;padding:16px}
 .post-detail-focus>.post-caption-top{grid-column:1;grid-row:2;padding:16px 18px 10px}
 .post-detail-focus>.post-image-wrap,.post-detail-focus>.post-art{grid-column:1;grid-row:3;min-height:0;max-height:none;aspect-ratio:4/4.5;border-right:0;border-bottom:1px solid #ffffff12}
 .post-detail-focus>.post-image-wrap .post-image{height:100%;max-height:720px;object-fit:contain}
 .post-detail-focus>.post-engagement{grid-column:1;grid-row:4;padding:12px 17px 19px}
 .post-detail-focus .comment-list{max-height:420px}
}
@media(max-width:520px){
 .post-detail-heading{align-items:flex-start;gap:12px;margin-bottom:13px}
 .post-detail-heading .post-detail-back{padding:8px 10px;font-size:11px}
 .post-detail-heading h1{font-size:22px}
 .post-detail-focus{border-radius:19px}
 .post-detail-focus>.post-engagement{padding:10px 13px 16px}
 .post-detail-focus .comment-content{padding:9px 10px}
 .post-detail-focus .comment-replies{margin-left:34px;padding-left:10px}
 .post-detail-focus .comment-form:not(.comment-reply-form){gap:5px;padding:6px}
 .post-detail-focus .comment-form .comment-emoji-toggle,.post-detail-focus .comment-form .comment-attach-button{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}
}
@media(prefers-reduced-motion:reduce){.post-detail-focus .comment-emoji-picker{animation:none}}

/* Post sharing: keep the share control anchored at the lower-right of the action row. */
.post-action-row .post-share-button{margin-left:auto}
.post-action-row .post-share-button:hover{color:#fff;background:#ed26381f}
.fansiva-share-toast{position:fixed;z-index:10050;left:50%;bottom:calc(28px + env(safe-area-inset-bottom));transform:translate(-50%,12px);padding:12px 18px;border:1px solid #ffffff1c;border-radius:13px;background:#242429;color:#fff;font-size:13px;font-weight:650;box-shadow:0 12px 36px #0008;opacity:0;visibility:hidden;transition:opacity .18s,transform .18s,visibility .18s;pointer-events:none}
.fansiva-share-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}

/* Direct-message photo mode picker and four-second view-once viewer. */
.dm-attach-wrap{position:relative;display:flex;align-items:center;flex:0 0 auto}
.dm-attach-wrap .dm-attach-button{padding:0;font:inherit}
.dm-attach-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dm-photo-mode-panel{position:absolute;z-index:80;left:0;bottom:calc(100% + 12px);width:min(300px,calc(100vw - 36px));padding:12px;border:1px solid #ffffff1c;border-radius:16px;background:#1b1b21;box-shadow:0 18px 55px #0009}
.dm-photo-mode-panel[hidden]{display:none}
.dm-photo-mode-panel>strong{display:block;margin:2px 5px 9px;color:#a7a7b2;font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.dm-photo-mode-panel>button{display:flex;align-items:center;gap:11px;width:100%;padding:11px 9px;border:0;border-radius:11px;background:transparent;color:#f5f5f7;text-align:left;cursor:pointer}
.dm-photo-mode-panel>button:hover{background:#ffffff0c}
.dm-photo-mode-panel>button>span:first-child{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #ed263844;border-radius:11px;background:#ed263817;color:#ff8290;font-size:18px}
.dm-photo-mode-panel b,.dm-photo-mode-panel small{display:block}
.dm-photo-mode-panel b{font-size:12px}
.dm-photo-mode-panel small{margin-top:4px;color:#9999a5;font-size:10px;line-height:1.4}
.dm-once-open{display:flex;align-items:center;gap:12px;min-width:230px;margin-top:8px;padding:12px 14px;border:1px solid #ed26384d;border-radius:14px;background:linear-gradient(135deg,#ed26381a,#ffffff06);color:#fff;text-align:left;cursor:pointer}
.dm-once-open:hover{border-color:#ed2638aa;background:#ed263825}
.dm-once-open:disabled{opacity:.6;cursor:wait}
.dm-once-open>span:last-child{display:grid;gap:4px}
.dm-once-open strong{font-size:12px}
.dm-once-open small{color:#b4aeb5;font-size:10px}
.dm-once-icon{display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;border:1px solid #ed263866;border-radius:50%;color:#ff7b89;font-size:19px}
.dm-once-status{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:9px 11px;border:1px solid #ffffff14;border-radius:10px;background:#ffffff06;color:#bdbdc6;font-size:11px}
.dm-once-status.expired{color:#9696a0}
.dm-once-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:#050507ed;backdrop-filter:blur(12px)}
.dm-once-modal[hidden]{display:none}
.dm-once-dialog{position:relative;display:grid;justify-items:center;gap:12px;width:min(100%,560px);max-height:92dvh;padding:16px;border:1px solid #ffffff20;border-radius:20px;background:#17171c;box-shadow:0 25px 100px #000b}
.dm-once-countdown{position:absolute;z-index:2;top:25px;right:25px;display:grid;place-items:center;width:48px;height:48px;border:2px solid #ffffffbd;border-radius:50%;background:#111c;color:#fff;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums;box-shadow:0 3px 18px #0008}
.dm-once-photo-stage{display:grid;place-items:center;width:100%;min-height:180px;max-height:calc(92dvh - 115px);overflow:hidden;border-radius:13px;background:#08080a}
.dm-once-photo-stage img{display:block;max-width:100%;max-height:calc(92dvh - 145px);object-fit:contain}
.dm-once-expired{margin:5px 0;color:#d2d2d8;font-size:13px}
.dm-once-close{min-height:37px;padding:0 20px;border:1px solid #ffffff20;border-radius:10px;background:#ffffff0a;color:#fff;font:inherit;font-size:11px;cursor:pointer}
@media(max-width:560px){.dm-photo-mode-panel{left:-5px}.dm-once-dialog{padding:10px;border-radius:16px}.dm-once-countdown{top:18px;right:18px;width:43px;height:43px}}


/* Inbox username search and chronological mixed DM/group list. */
.inbox-search-wrap{position:relative;flex:1 1 320px;min-width:0;max-width:520px}
.inbox-user-search{display:block;width:100%;min-height:44px;padding:0 15px;border:1px solid #ffffff18;border-radius:13px;background:#ffffff08;color:#f4f4f7;font:inherit;font-size:13px;outline:none;transition:border-color .18s,box-shadow .18s}
.inbox-user-search::placeholder{color:#858590}
.inbox-user-search:focus{border-color:#ed53668a;box-shadow:0 0 0 3px #ed26381a}
.inbox-search-results{position:absolute;z-index:100;top:calc(100% + 8px);left:0;right:0;max-height:340px;overflow:auto;padding:7px;border:1px solid #ffffff1c;border-radius:15px;background:#1b1b21;box-shadow:0 18px 48px #0009}
.inbox-search-results[hidden]{display:none}
.inbox-search-result{display:flex;align-items:center;gap:11px;padding:9px;border-radius:10px;color:#f4f4f7;text-decoration:none}
.inbox-search-result:hover{background:#ffffff0d}
.inbox-search-result .avatar{width:36px;height:36px;flex:0 0 36px}
.inbox-search-result-copy{display:grid;gap:3px;min-width:0}
.inbox-search-result-copy strong{font-size:12px}
.inbox-search-result-copy small,.inbox-search-empty{color:#9999a5;font-size:10px}
.inbox-search-empty{margin:8px;padding:8px}
.inbox-toolbar{align-items:center}
.group-attach-wrap{position:relative;display:flex;align-items:center;flex:0 0 auto}
.group-attach-wrap .dm-photo-mode-panel{left:0}
@media(max-width:560px){.inbox-toolbar{align-items:stretch;flex-direction:column}.inbox-search-wrap{width:100%;max-width:none;flex-basis:auto}.inbox-toolbar>.group-create-trigger{width:100%;justify-content:center}}


/* Give the inbox search its own full-width row instead of crowding the group action. */
.inbox-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:13px!important}
.inbox-toolbar .inbox-search-wrap{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important}
.inbox-toolbar .inbox-user-search{box-sizing:border-box;width:100%;height:48px;padding:0 17px 0 43px;border:1px solid var(--border,#ffffff20);border-radius:14px;background-color:var(--surface-2,#17171d);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:15px center;color:var(--text,#f4f4f7);font-size:13px;transition:border-color .18s,box-shadow .18s}
.inbox-toolbar .inbox-user-search:focus{border-color:#e85b70;box-shadow:0 0 0 3px #e85b701a;outline:none}
.inbox-toolbar>.group-create-trigger{align-self:flex-end;min-height:42px;margin:0}
.inbox-search-results{top:calc(100% + 7px);border-radius:14px}
@media(max-width:560px){.inbox-toolbar>.group-create-trigger{width:auto;align-self:stretch;justify-content:center}}

/* Original WhatsApp-style message context panel. */
.dm-context-menu{position:fixed;z-index:10050;width:244px;max-width:min(244px,calc(100vw - 16px));padding:7px;border:1px solid #ffffff1b;border-radius:14px;background:rgba(29,29,34,.98);box-shadow:0 18px 55px #000a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);animation:dm-context-in .12s ease-out}
.dm-context-menu[hidden]{display:none}
.dm-context-reactions{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:4px 3px 7px}
.dm-context-reactions button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:transparent;font-size:20px;cursor:pointer;transition:background .12s,transform .12s}
.dm-context-reactions button:hover{background:#ffffff16;transform:scale(1.12)}
.dm-context-divider{height:1px;margin:2px 3px 5px;background:#ffffff16}
.dm-context-action{display:flex;align-items:center;gap:12px;width:100%;height:38px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#f2f2f4;text-align:left;font-size:14px;font-weight:400;cursor:pointer}
.dm-context-action:hover{background:#ffffff12}
.dm-context-icon{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;color:#bfc0c8;font-size:16px}
.dm-context-action[data-context-action="delete"]{color:#ff7887}
.dm-context-action[data-context-action="delete"] .dm-context-icon{color:#ff7887}
.dm-pinned-message{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:0;border-bottom:1px solid #ffffff12;background:#202026;color:#eee;text-align:left;cursor:pointer}
.dm-pinned-message strong{flex:0 0 auto;color:#ff7b89;font-size:12px;font-weight:600}
.dm-pinned-message span{overflow:hidden;color:#c8c8cf;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.dm-reply-preview{display:flex;align-items:center;gap:12px;padding:9px 14px;border-top:1px solid #ffffff12;background:#202026;color:#eee}
.dm-reply-preview span{flex:1;min-width:0;overflow:hidden;color:#ff9aa5;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.dm-reply-preview button{width:28px;height:28px;border:0;border-radius:8px;background:#ffffff10;color:#ddd;font-size:19px;cursor:pointer}
.dm-message-edit-input{display:block;width:100%;min-height:64px;resize:vertical;padding:8px;border:1px solid #ffffff30;border-radius:9px;background:#17171c;color:inherit;font:inherit}
.dm-message-edit-controls{display:flex;justify-content:flex-end;gap:7px;margin-top:7px}
.dm-message-edit-controls button{padding:5px 12px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff12;color:#fff;font-size:12px;cursor:pointer}
.dm-message-edit-controls button:last-child{border-color:#ed2638;background:#ed2638;color:#fff}
.dm-message-selected{outline:2px solid #ff7180;outline-offset:2px}
.dm-message-highlight{animation:dm-message-highlight 1.2s ease}
@keyframes dm-message-highlight{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 3px #ff6975aa}}
@keyframes dm-context-in{from{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.dm-message{cursor:context-menu}

/* WhatsApp-style sent, delivered and read ticks in direct messages. */
.dm-message-time{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.dm-message-status{display:inline-flex;align-items:center;color:#92939b;font-size:12px;font-weight:700;letter-spacing:-3px;padding-right:3px;line-height:1}
.dm-message-status.is-read{color:#36a9ff}


/* Premium WhatsApp-inspired message actions and compact pinned preview. */
.dm-context-menu{width:232px;max-height:min(76vh,520px);overflow-y:auto;overscroll-behavior:contain;padding:8px;border:1px solid rgba(255,255,255,.12);border-radius:17px;background:rgba(24,25,31,.96);box-shadow:0 22px 65px rgba(0,0,0,.48),0 2px 10px rgba(0,0,0,.2);backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%)}
.dm-context-heading{padding:7px 11px 8px;color:#8f929d;font-size:9px;font-weight:800;letter-spacing:1.15px}
.dm-context-action{height:40px;gap:11px;padding:0 11px;border-radius:10px;font-size:13px;font-weight:500;transition:background .15s,color .15s,transform .15s}
.dm-context-action:hover{background:rgba(255,255,255,.085);transform:translateX(2px)}
.dm-context-icon{width:19px;height:19px;flex-basis:19px;color:#aeb3c0}
.dm-context-icon svg{width:16px;height:16px}
.dm-context-action[data-context-action="delete"]{margin-top:3px;border-top:1px solid rgba(255,255,255,.08);border-radius:0 0 10px 10px;padding-top:5px}
.dm-pinned-message{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;height:48px;min-height:48px;max-height:48px;overflow:hidden;padding:5px 12px;border:0;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(100deg,rgba(37,39,48,.98),rgba(29,30,37,.96));text-align:left}
.dm-pinned-marker{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:1px solid rgba(232,91,112,.2);border-radius:10px;background:rgba(232,91,112,.1);color:#f07b8c}
.dm-pinned-marker svg{width:15px;height:15px}
.dm-pinned-copy{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;min-width:0;gap:2px;overflow:hidden}
.dm-pinned-copy strong{overflow:hidden;color:#f1a0aa;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.dm-pinned-excerpt{display:block;min-width:0;max-width:100%;overflow:hidden;color:#c5c7d0;font-size:11px;line-height:14px;text-overflow:ellipsis;white-space:nowrap}
.dm-pinned-jump{flex:0 0 auto;color:#a5a8b3;font-size:10px;font-weight:600}
.dm-message-status{min-width:12px;font-size:12px;letter-spacing:-3px}
.dm-message-status.is-read{color:#35a9ff}
@media(max-width:560px){.dm-context-menu{width:224px;max-width:calc(100vw - 16px)}.dm-pinned-message{height:44px;min-height:44px;max-height:44px}}


/* Correct neutral sent/delivered ticks; only read receipts are blue. */
.dm-message .dm-message-time .dm-message-status:not(.is-read){color:#a1a3ab!important}
.dm-message .dm-message-time .dm-message-status.is-read{color:#35a9ff!important}
.dm-forwarded-label,.dm-edited-label{display:block;width:max-content;max-width:100%;font-size:10px;line-height:1.25;font-style:italic;color:rgba(210,214,224,.58);letter-spacing:.1px}
.dm-edited-label{margin-top:2px}
.dm-share-modal{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;padding:18px;background:rgba(5,7,12,.62);backdrop-filter:blur(9px)}
.dm-share-modal[hidden]{display:none}
.dm-share-dialog{width:min(420px,100%);max-height:min(78vh,620px);overflow:hidden;display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:#20212a;box-shadow:0 24px 80px rgba(0,0,0,.5);color:#f6f6f8}
.dm-share-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dm-share-dialog header div{display:grid;gap:4px}
.dm-share-dialog header strong{font-size:16px}
.dm-share-dialog header small{font-size:12px;color:#9da1ad}
.dm-share-close{width:32px;height:32px;border:0;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-size:22px;cursor:pointer}
.dm-share-search{width:100%;height:42px;padding:0 13px;border:1px solid rgba(255,255,255,.12);border-radius:12px;outline:none;background:rgba(255,255,255,.06);color:#fff}
.dm-share-results{min-height:56px;overflow:auto;display:grid;gap:6px}
.dm-share-results>p{margin:0;padding:16px 6px;text-align:center;color:#999eaa;font-size:13px}
.dm-share-user{display:flex;align-items:center;gap:10px;width:100%;padding:9px;border:0;border-radius:12px;background:transparent;color:#fff;text-align:left;cursor:pointer}
.dm-share-user:hover{background:rgba(255,255,255,.08)}
.dm-share-avatar{width:36px;height:36px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#393b48;color:#fff;font-weight:700}
.dm-share-avatar img{width:100%;height:100%;object-fit:cover}
.dm-share-user strong{flex:1;font-size:13px}
.dm-share-user>span:last-child{font-size:12px;color:#a7b9ff}
.dm-share-toast{position:fixed;z-index:10090;left:50%;bottom:28px;transform:translateX(-50%);padding:11px 17px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#252832;color:#fff;font-size:13px;box-shadow:0 10px 35px rgba(0,0,0,.3)}

/* RINA in-game location cards */
.dm-location-wrap{position:relative;flex:0 0 38px;width:38px;height:38px}
.dm-composer .dm-location-share{box-sizing:border-box;position:relative;flex:0 0 38px;width:38px;height:38px;min-width:38px;min-height:38px;padding:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.055);color:#b9c5ff;font-size:20px;line-height:1;box-shadow:none;cursor:pointer}
.dm-location-symbol{display:block;line-height:1;font-size:20px}
.dm-location-picker-trigger{position:absolute;right:2px;bottom:1px;padding:0 1px;border-radius:4px;background:#272832;color:#c6c9d8;font-size:9px;line-height:10px}
.dm-composer .dm-location-share:hover{background:rgba(130,145,255,.14);border-color:rgba(150,165,255,.35)}
.dm-composer .dm-location-share:disabled{opacity:.5;cursor:wait}
.dm-location-icon-picker{position:absolute;z-index:10020;left:0;bottom:48px;width:190px;padding:11px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:#20212a;box-shadow:0 14px 38px #0008;color:#f4f4f6}
.dm-location-icon-picker[hidden]{display:none}
.dm-location-icon-picker>strong{display:block;margin:0 0 9px;color:#bfc3d0;font-size:11px}
.dm-location-icon-options{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}
.dm-location-icon-options button{box-sizing:border-box;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;border:1px solid #ffffff12;border-radius:8px;background:#ffffff08;color:#e5e7ef;font-size:18px;line-height:1;box-shadow:none;cursor:pointer}
.dm-location-icon-options button:hover{border-color:#9aa8ff66;background:#8796ff22}
.dm-location-card{display:flex;align-items:center;gap:10px;min-width:220px;max-width:min(100%,360px);padding:12px;border:1px solid rgba(139,155,255,.22);border-radius:14px;background:linear-gradient(135deg,rgba(104,124,230,.14),rgba(255,255,255,.035))}
.dm-location-card{display:flex;align-items:center;gap:10px;min-width:220px;max-width:min(100%,360px);padding:12px;border:1px solid rgba(139,155,255,.22);border-radius:14px;background:linear-gradient(135deg,rgba(104,124,230,.14),rgba(255,255,255,.035))}
.dm-location-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(128,146,255,.16);color:#aebcff;font-size:26px}
.dm-location-details{min-width:0;display:grid;gap:3px;flex:1}
.dm-location-details strong{font-size:13px;color:#fff}
.dm-location-details span{font-size:12px;color:#d5d8e2;overflow-wrap:anywhere}
.dm-location-details small{font-size:10px;color:#999eae}
.dm-location-waypoint{flex:0 0 auto;padding:8px 10px;border:1px solid rgba(153,169,255,.3);border-radius:10px;background:rgba(116,135,255,.14);color:#cbd3ff;font-size:11px;font-weight:700;cursor:pointer}
.dm-location-waypoint:hover{background:rgba(116,135,255,.24)}
.dm-location-waypoint:disabled{opacity:.6;cursor:wait}

/* Keep the reaction glyph visible after asynchronous like updates. */
.reaction-main{line-height:1;overflow:visible;flex-shrink:0}
.reaction-main .reaction-glyph{display:inline-block;min-width:1em;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:22px;opacity:1;visibility:visible}
.reaction-main.is-liked .reaction-glyph{filter:none;opacity:1}
.post-image-wrap img[data-lazy-src],.discovery-image img[data-lazy-src]{display:block;width:100%;min-height:220px;max-height:620px;object-fit:cover;background:#19191f}
.post-image-wrap img.is-lazy-loaded,.discovery-image img.is-lazy-loaded{min-height:0}

.dm-location-symbol{width:21px;height:21px;display:block;flex:none}
.dm-location-icon svg{width:22px;height:22px;display:block}


/* Profile redesign: full-width cover, identity row, details rail and compact action menu */
.profile-redesign{width:min(100%,1120px);max-width:1120px;margin:24px auto 40px}
.profile-hero{overflow:visible;border:1px solid #ffffff16;border-radius:20px;background:#151518;box-shadow:0 18px 48px #0003}
.profile-redesign .profile-cover{height:auto;aspect-ratio:3.15/1;min-height:180px;max-height:340px;position:relative;background-position:center 42%;background-size:cover;border-radius:19px 19px 0 0}
.profile-redesign .profile-cover:not(.has-profile-banner){display:grid;place-items:center;background:radial-gradient(ellipse at 25% 0,#4b2630,transparent 55%),linear-gradient(125deg,#24242a,#101013)}
.profile-cover-edit{position:absolute;right:18px;bottom:16px;padding:9px 13px;border:1px solid #ffffff33;border-radius:10px;background:#111c;color:#fff;font-size:12px;text-decoration:none;backdrop-filter:blur(10px)}
.profile-more-wrap{position:absolute;right:15px;top:14px;z-index:12}
.profile-more-trigger{width:38px;height:38px;border:1px solid #ffffff18;border-radius:50%;background:#08090bcc;color:#fff;font-size:24px;line-height:1;cursor:pointer}
.profile-more-menu{position:absolute;right:0;top:46px;width:220px;padding:6px;border:1px solid #ffffff16;border-radius:13px;background:#202024;box-shadow:0 16px 38px #0009}
.profile-more-menu[hidden]{display:none}
.profile-more-menu form{margin:0}
.profile-more-menu a,.profile-more-menu button{display:flex;width:100%;align-items:center;gap:11px;padding:12px 10px;border:0;border-radius:8px;background:transparent;color:#eee;text-align:left;text-decoration:none;font:inherit;font-size:13px;cursor:pointer}
.profile-more-menu a:hover,.profile-more-menu button:hover{background:#ffffff0d}
.profile-more-menu span{width:18px;color:#a6a6ad;font-size:17px}
.profile-hero-body{position:relative;padding:0 22px}
.profile-avatar-wrap{position:relative;width:112px;height:112px;margin-top:-54px;z-index:2}
.profile-redesign .profile-avatar{width:112px;height:112px;border:5px solid #151518;box-shadow:0 5px 18px #0006}
.profile-avatar-edit{position:absolute;right:2px;bottom:5px;width:30px;height:30px;display:grid;place-items:center;border:2px solid #151518;border-radius:50%;background:#e92d42;color:#fff;text-decoration:none}
.profile-hero-actions{position:absolute;right:22px;top:22px;display:flex;align-items:center;gap:9px}
.profile-hero-actions form{margin:0}
.profile-icon-action{width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff18;border-radius:11px;background:#242428;color:#ddd;text-decoration:none}
.profile-message-button,.profile-follow-button,.profile-edit-button{min-height:40px;padding:0 18px;border-radius:11px}
.profile-follow-button{background:linear-gradient(110deg,#ef4056,#b91e34)}
.profile-name-row{display:block;padding:8px 0 18px}
.profile-name-row h1{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:clamp(22px,3vw,29px);font-weight:760;letter-spacing:-.035em}
.profile-name-row h1 .membership-badge,.profile-name-row h1 img,.profile-name-row h1 .early-member-badge{flex:none}
.profile-handle{margin:1px 0 0;color:#8f8f99;font-size:13px}
.profile-redesign .profile-bio{margin:10px 0 0;color:#ddd;font-size:14px;line-height:1.55}
.profile-tabs{display:flex;gap:0;overflow-x:auto;border-top:1px solid #ffffff12}
.profile-tabs a{flex:none;padding:15px 13px 13px;color:#9b9ba4;text-decoration:none;font-size:12px;white-space:nowrap;border-bottom:2px solid transparent}
.profile-tabs a.active{color:#f2f2f4;border-color:#ec3044}
.profile-tabs b{margin-left:5px;color:#ee5262}
.profile-content-grid{display:grid;grid-template-columns:minmax(245px,310px) minmax(0,1fr);gap:18px;margin-top:22px;align-items:start}
.profile-info-panel{display:grid;gap:0;padding:16px;border:1px solid #ffffff13;border-radius:16px;background:#151518}
.profile-stat-line{display:flex;align-items:center;gap:11px;padding:8px 2px;color:#e6e6e8;font-size:13px;line-height:1.4}
.profile-stat-line>span{width:19px;color:#96969f;font-size:16px;text-align:center}
.profile-stat-line a{color:#ef7180;text-decoration:none;margin-left:4px}
.profile-info-edit{margin-top:10px;padding-top:13px;border-top:1px solid #ffffff12;color:#f06b79;font-size:12px;text-decoration:none}
.profile-feed-column{min-width:0}
.profile-redesign .profile-stats{display:flex;gap:25px;margin:0 0 14px;padding:13px 16px;border:1px solid #ffffff13;border-radius:14px;background:#151518}
.profile-redesign .profile-stats>div,.profile-redesign .profile-stats>a{display:grid;gap:2px;color:inherit;text-decoration:none}
.profile-redesign .profile-stats strong{font-size:16px}.profile-redesign .profile-stats span{font-size:11px;color:#999}
.profile-redesign .profile-post-heading{margin:10px 0 13px}
.relationship-settings-field{position:relative;display:grid;gap:9px}
.relationship-partner-panel{position:relative;display:grid;gap:8px;padding:13px;border:1px solid #ffffff14;border-radius:12px;background:#ffffff05}
.relationship-partner-panel[hidden]{display:none}
.relationship-partner-panel>label{font-size:12px;color:#c5c5cb}
.relationship-user-results{position:absolute;z-index:8;top:100%;left:0;right:0;max-height:230px;overflow:auto;padding:5px;border:1px solid #ffffff18;border-radius:12px;background:#202024;box-shadow:0 12px 28px #0008}
.relationship-user-results[hidden]{display:none}
.relationship-user-option{display:flex;width:100%;align-items:center;gap:10px;padding:8px;border:0;border-radius:8px;background:transparent;color:#fff;text-align:left;cursor:pointer}
.relationship-user-option:hover{background:#ffffff0c}
.relationship-user-option img{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#333}
.appearance-banner-preview{aspect-ratio:3.15/1!important;max-height:300px;min-height:150px}
.appearance-avatar-preview{width:116px!important;height:116px!important}
@media(max-width:760px){
 .profile-redesign{margin:12px auto 30px}
 .profile-redesign .profile-cover{aspect-ratio:2.25/1;min-height:145px}
 .profile-hero-body{padding:0 14px}
 .profile-avatar-wrap{width:88px;height:88px;margin-top:-43px}
 .profile-redesign .profile-avatar{width:88px;height:88px}
 .profile-hero-actions{right:12px;top:13px;gap:6px}
 .profile-hero-actions .button{padding:0 11px;min-height:36px;font-size:11px}
 .profile-icon-action{width:36px;height:36px}
 .profile-name-row h1{font-size:22px;gap:6px}
 .profile-tabs a{padding:13px 10px;font-size:11px}
 .profile-content-grid{grid-template-columns:1fr;gap:13px;margin-top:14px}
 .profile-info-panel{grid-template-columns:1fr 1fr;column-gap:10px;padding:12px}
 .profile-stat-line{font-size:11px;gap:7px;padding:7px 0}
 .profile-info-edit{grid-column:1/-1}
 .profile-redesign .profile-stats{gap:18px}
}
@media(max-width:420px){.profile-hero-actions{top:9px}.profile-hero-actions .profile-icon-action{display:none}.profile-hero-actions .button{font-size:10px;padding:0 9px}.profile-info-panel{grid-template-columns:1fr}}


/* Relationship request screen: compact styling that leaves the existing profile design untouched. */
.relationship-request-page{width:min(100% - 28px,620px);margin:36px auto}
.relationship-request-card{padding:26px;border:1px solid #ffffff16;border-radius:20px;background:linear-gradient(145deg,#1b1b22,#111115);box-shadow:0 18px 55px #0005;text-align:center}
.relationship-request-card>.eyebrow{color:#ff8995;font-size:10px;letter-spacing:.16em}
.relationship-request-people{display:flex;align-items:center;justify-content:center;gap:22px;margin:24px 0}
.relationship-request-person{display:grid;justify-items:center;gap:8px;min-width:100px}
.relationship-request-person .avatar{width:66px;height:66px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#34343e;color:white;font-size:22px}
.relationship-request-person .avatar img{width:100%;height:100%;object-fit:cover}
.relationship-request-person strong{font-size:12px;color:#f3f3f5}
.relationship-request-heart{color:#ef6275;font-size:28px}
.relationship-request-card h1{margin:0 0 9px;font-size:22px}
.relationship-request-card p{margin:0 auto 9px;color:#c5c5ce;font-size:13px;line-height:1.6}
.relationship-request-card>small{color:#92929c;font-size:11px}
.relationship-request-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}
.relationship-request-actions form{margin:0}
.relationship-request-back{display:inline-block;margin-top:20px;color:#ff8995;font-size:12px;text-decoration:none}


/* Profile layout refinements: keep the established left rail, align the cover and actions. */
.profile-redesign .profile-cover{
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
.profile-redesign .profile-hero-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.profile-redesign .profile-hero-actions .profile-message-button,
.profile-redesign .profile-hero-actions .profile-follow-button{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:112px;
  min-height:42px;
  padding:0 18px;
  margin:0;
  border:1px solid #ffffff18;
  border-radius:12px;
  font-size:13px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  text-decoration:none;
}
.profile-redesign .profile-hero-actions .profile-message-button{
  background:#25252b;
  color:#f4f4f6;
}
.profile-redesign .profile-hero-actions .profile-follow-button{
  background:linear-gradient(110deg,#ef4056,#b91e34);
  color:#fff;
  box-shadow:0 7px 20px #ed26382b;
}
.profile-redesign .profile-hero-actions form{
  display:flex;
  margin:0;
}
.profile-redesign .profile-info-panel{
  position:relative;
  display:grid;
  gap:2px;
  padding:18px 17px 16px;
  border:1px solid #ffffff17;
  border-radius:17px;
  background:linear-gradient(155deg,#19191e 0%,#131316 78%);
  box-shadow:0 12px 34px #0002,inset 0 1px #ffffff08;
}
.profile-redesign .profile-info-panel:before{
  content:"HAKKINDA";
  display:block;
  margin:0 0 8px;
  padding:0 2px 11px;
  border-bottom:1px solid #ffffff12;
  color:#92929d;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
}
.profile-redesign .profile-stat-line{
  min-width:0;
  min-height:38px;
  padding:7px 8px;
  border-radius:10px;
  color:#e6e6eb;
  font-size:12px;
  transition:background .18s ease;
}
.profile-redesign .profile-stat-line:hover{
  background:#ffffff08;
}
.profile-redesign .profile-stat-line>span{
  display:grid;
  flex:0 0 27px;
  width:27px;
  height:27px;
  place-items:center;
  border:1px solid #ffffff10;
  border-radius:8px;
  background:#ffffff08;
  color:#f07886;
  font-size:14px;
}
.profile-redesign .profile-stat-line a{
  min-width:0;
  overflow-wrap:anywhere;
  color:#ff8793;
  font-weight:600;
}
.profile-redesign .profile-info-edit{
  display:block;
  margin:8px 2px 0;
  padding:13px 3px 2px;
  border-top:1px solid #ffffff12;
  font-weight:650;
}
@media(max-width:760px){
  .profile-redesign .profile-cover{
    background-position:center center!important;
    aspect-ratio:2.25/1;
  }
  .profile-redesign .profile-hero-actions{
    top:13px;
    right:12px;
    gap:7px;
  }
  .profile-redesign .profile-hero-actions .profile-message-button,
  .profile-redesign .profile-hero-actions .profile-follow-button{
    min-width:0;
    min-height:36px;
    padding:0 12px;
    font-size:11px;
  }
}
@media(max-width:420px){
  .profile-redesign .profile-hero-actions .profile-message-button,
  .profile-redesign .profile-hero-actions .profile-follow-button{
    min-height:34px;
    padding:0 9px;
    font-size:10px;
  }
}


/* Final profile alignment: show the complete banner and keep actions on the username line. */
.profile-redesign .profile-cover.has-profile-banner{
  background-size:contain!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-color:#09090c!important;
}
.profile-redesign .profile-title-line{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 16px;
  min-width:0;
}
.profile-redesign .profile-title-line>h1{
  flex:0 1 auto;
  min-width:0;
}
.profile-redesign .profile-title-line .profile-you{
  flex:0 0 auto;
}
.profile-redesign .profile-hero-actions{
  position:static!important;
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin-left:auto;
}
.profile-redesign .profile-hero-actions form{
  display:flex;
  flex:0 0 auto;
  margin:0;
}
.profile-redesign .profile-hero-actions .profile-icon-action{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:12px;
}
.profile-redesign .profile-hero-actions .profile-message-button,
.profile-redesign .profile-hero-actions .profile-follow-button{
  min-width:108px;
  min-height:42px;
  padding:0 15px;
}
.profile-redesign .profile-name-row{
  padding-top:8px;
}
@media(max-width:760px){
  .profile-redesign .profile-cover.has-profile-banner{
    background-size:contain!important;
  }
  .profile-redesign .profile-title-line{
    align-items:flex-start;
    gap:10px;
  }
  .profile-redesign .profile-hero-actions{
    flex-wrap:wrap;
    margin-left:auto;
    gap:6px;
  }
  .profile-redesign .profile-hero-actions .profile-icon-action{
    width:36px;
    height:36px;
    flex-basis:36px;
  }
  .profile-redesign .profile-hero-actions .profile-message-button,
  .profile-redesign .profile-hero-actions .profile-follow-button{
    min-width:0;
    min-height:36px;
    padding:0 11px;
    font-size:11px;
  }
}
@media(max-width:520px){
  .profile-redesign .profile-title-line{
    flex-direction:column;
    align-items:stretch;
  }
  .profile-redesign .profile-hero-actions{
    margin:5px 0 0;
    justify-content:flex-start;
  }
}

.profile-redesign .profile-cover.has-profile-banner:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-image:inherit;
  background-position:center;
  background-size:cover;
  filter:blur(18px);
  opacity:.42;
  transform:scale(1.04);
  pointer-events:none;
}
.profile-redesign .profile-cover.has-profile-banner:after{
  z-index:1;
  background:linear-gradient(0deg,#09090c35,transparent 45%);
  pointer-events:none;
}
.profile-redesign .profile-cover.has-profile-banner{
  isolation:isolate;
}
.profile-redesign .profile-cover.has-profile-banner>*{
  position:relative;
  z-index:2;
}


/* Profile cover: use the full available width and keep the overflow menu inside its right edge. */
.profile-redesign .profile-cover{
  display:block;
  width:100%;
  box-sizing:border-box;
  overflow:visible;
}
.profile-redesign .profile-cover.has-profile-banner{
  background-size:100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.profile-redesign .profile-more-wrap{
  top:14px!important;
  right:14px!important;
  z-index:20!important;
}
.profile-redesign .profile-more-trigger{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid #ffffff45;
  border-radius:12px;
  background:#08090bdc;
  color:#fff;
  font-size:25px;
  line-height:1;
  box-shadow:0 5px 18px #0007;
  backdrop-filter:blur(10px);
}
.profile-redesign .profile-more-menu{
  z-index:30;
}
.profile-redesign .profile-more-menu .profile-menu-icon{
  display:inline-grid;
  flex:0 0 22px;
  width:22px;
  height:22px;
  place-items:center;
  color:#ff8995;
  font-size:16px;
  line-height:1;
}
@media(max-width:760px){
  .profile-redesign .profile-cover.has-profile-banner{
    background-size:100% 100%!important;
  }
  .profile-redesign .profile-more-wrap{
    top:10px!important;
    right:10px!important;
  }
  .profile-redesign .profile-more-trigger{
    width:36px;
    height:36px;
  }
}


/* Profile header finishing fixes */
.profile-redesign .profile-hero{overflow:visible!important}
.profile-redesign .profile-cover{
  position:relative!important;
  z-index:4!important;
  overflow:visible!important;
  isolation:isolate;
}
.profile-redesign .profile-cover:before,
.profile-redesign .profile-cover.has-profile-banner:before{
  content:none!important;
  display:none!important;
  filter:none!important;
  opacity:0!important;
}
.profile-redesign .profile-cover:after,
.profile-redesign .profile-cover.has-profile-banner:after{
  content:none!important;
  display:none!important;
  background:none!important;
}
.profile-redesign .profile-more-wrap{
  position:absolute!important;
  display:block!important;
  top:14px!important;
  right:14px!important;
  z-index:50!important;
}
.profile-redesign .profile-more-trigger{
  position:relative;
  z-index:51;
  visibility:visible!important;
  opacity:1!important;
}
.profile-redesign .profile-more-menu{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  z-index:52!important;
}
.profile-redesign .profile-avatar-wrap{position:relative}
.profile-redesign .profile-avatar-edit-link{
  position:absolute;
  right:-5px;
  bottom:5px;
  z-index:6;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:3px solid #151518;
  border-radius:50%;
  background:#ed2638;
  color:#fff;
  box-shadow:0 5px 16px #0007;
  text-decoration:none;
  transition:transform .18s ease,background .18s ease;
}
.profile-redesign .profile-avatar-edit-link:hover{transform:translateY(-2px);background:#ff4053}
.profile-redesign .profile-avatar-edit-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-redesign .profile-info-panel,
.profile-redesign .profile-info-panel *{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif!important;
}
.profile-redesign .profile-stat-line{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:39px;
  font-size:12px!important;
  font-weight:500;
  line-height:1.4;
}
.profile-redesign .profile-stat-line>span{
  box-sizing:border-box;
  display:inline-flex!important;
  flex:0 0 27px!important;
  width:27px!important;
  height:27px!important;
  align-items:center;
  justify-content:center;
  margin:0;
  font-family:"Segoe UI Symbol","Apple Symbols",sans-serif!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1!important;
}
.profile-redesign .profile-stat-line a{
  font:inherit!important;
  font-weight:600!important;
}
@media(max-width:760px){
  .profile-redesign .profile-more-wrap{top:10px!important;right:10px!important}
  .profile-redesign .profile-avatar-edit-link{width:31px;height:31px;right:-4px;bottom:3px}
}


/* Keep the cover in its own area; the avatar starts below it without overlap. */
.profile-redesign .profile-cover{
  height:160px!important;
  min-height:160px!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.profile-redesign .profile-cover.has-profile-banner{background-size:cover!important}
.profile-redesign .profile-hero-body{padding-top:12px!important}
.profile-redesign .profile-avatar-wrap{margin-top:0!important}
.profile-redesign .profile-more-menu .profile-menu-icon{
  display:inline-flex!important;flex:0 0 22px!important;width:22px!important;height:22px!important;
  align-items:center!important;justify-content:center!important;
}
.profile-redesign .profile-more-menu .profile-menu-icon svg{
  display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
@media(max-width:760px){
  .profile-redesign .profile-cover{height:145px!important;min-height:145px!important;aspect-ratio:auto!important}
  .profile-redesign .profile-cover.has-profile-banner{background-size:cover!important}
  .profile-redesign .profile-hero-body{padding-top:12px!important}
  .profile-redesign .profile-avatar-wrap{margin-top:0!important}
}


/* Remove all decorative lighting from uploaded profile banners. */
.profile-redesign .profile-cover,
.profile-redesign .profile-cover.has-profile-banner{
  box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  background-color:#09090c!important;
}
.profile-redesign .profile-cover:before,
.profile-redesign .profile-cover:after,
.profile-redesign .profile-cover.has-profile-banner:before,
.profile-redesign .profile-cover.has-profile-banner:after{
  content:none!important;
  display:none!important;
  opacity:0!important;
  filter:none!important;
  box-shadow:none!important;
  background:none!important;
}
.profile-redesign .profile-info-panel,
.profile-redesign .profile-info-panel *:not(svg):not(path){
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
.profile-redesign .profile-stat-line{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.45!important;
}
.profile-redesign .profile-stat-line .profile-stat-icon{
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 27px!important;
  width:27px!important;
  height:27px!important;
  align-items:center!important;
  justify-content:center!important;
  padding:5px!important;
  border:1px solid #ffffff10!important;
  border-radius:8px!important;
  background:#ffffff08!important;
  color:#f07886!important;
}
.profile-redesign .profile-stat-line .profile-stat-icon svg{
  display:block!important;
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.profile-redesign .profile-stat-line a{
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}


/* Restore the earlier large 3.15:1 profile cover proportions. */
.profile-redesign .profile-cover{
  height:auto!important;
  aspect-ratio:3.15/1!important;
  min-height:180px!important;
  max-height:340px!important;
  background-size:cover!important;
  background-position:center 42%!important;
  background-repeat:no-repeat!important;
  border-radius:19px 19px 0 0!important;
}
.profile-redesign .profile-cover.has-profile-banner{
  background-size:cover!important;
  background-position:center 42%!important;
}
.profile-redesign .profile-hero-body{padding-top:0!important}
.profile-redesign .profile-avatar-wrap{margin-top:0!important}
@media(max-width:760px){
  .profile-redesign .profile-cover{
    height:auto!important;
    aspect-ratio:2.25/1!important;
    min-height:145px!important;
    max-height:none!important;
  }
  .profile-redesign .profile-cover.has-profile-banner{background-size:cover!important}
  .profile-redesign .profile-hero-body{padding-top:0!important}
  .profile-redesign .profile-avatar-wrap{margin-top:0!important}
}


/* Premium creator studio: earnings and subscription library */
.creator-studio{width:min(1120px,calc(100% - 36px));margin:28px auto 90px;color:#f7f7fa}
.creator-studio-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:220px;overflow:hidden;padding:38px 42px;border:1px solid #ffffff16;border-radius:26px;background:radial-gradient(ellipse at 78% 8%,#ed40552b,transparent 42%),linear-gradient(120deg,#19191f,#101014 72%);box-shadow:0 24px 70px #0002}
.creator-studio-hero-copy{position:relative;z-index:2;max-width:650px}
.creator-studio-hero .eyebrow{color:#ff8795;font-size:10px;font-weight:850;letter-spacing:.2em}
.creator-studio-hero h1{margin:12px 0 10px;font-size:clamp(30px,4.5vw,48px);line-height:1.06;letter-spacing:-.055em}
.creator-studio-hero p{max-width:590px;margin:0;color:#a6a6b1;font-size:14px;line-height:1.75}
.creator-studio-highlights{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:22px;color:#d6d6dc;font-size:12px}
.creator-studio-highlights span{display:flex;align-items:center;gap:7px}
.creator-studio-highlights i{color:#ff8492;font-style:normal}
.creator-studio-hero-mark{position:relative;display:grid;flex:0 0 170px;width:170px;height:170px;place-items:center;border:1px solid #ff8a982b;border-radius:50%;background:radial-gradient(circle,#ed40552a 0%,#ed40550b 54%,transparent 72%);color:#ff8795}
.creator-studio-hero-logo{display:block;width:82px;height:82px;max-width:70%;max-height:70%;object-fit:contain;filter:drop-shadow(0 5px 14px #0005)}
.creator-studio-hero-mark>span{font-size:74px;font-weight:900;letter-spacing:-.1em;text-shadow:0 0 45px #ed405555}
.creator-studio-hero-mark>i{position:absolute;top:22px;right:27px;font-size:23px;font-style:normal}
.creator-studio-layout{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(0,1.3fr);gap:18px;margin-top:20px;align-items:start}
.creator-studio-panel{min-width:0;padding:25px;border:1px solid #ffffff13;border-radius:21px;background:linear-gradient(145deg,#19191f,#111115 76%);box-shadow:0 14px 42px #0002}
.creator-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:22px}
.creator-panel-kicker{display:block;color:#f07d8b;font-size:9px;font-weight:850;letter-spacing:.17em}
.creator-panel-heading h2,.creator-subscription-heading h2{margin:7px 0 5px;font-size:21px;letter-spacing:-.035em}
.creator-panel-heading p{margin:0;color:#92929e;font-size:12px;line-height:1.6}
.creator-panel-icon,.creator-plan-count{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;border:1px solid #ed526a38;border-radius:12px;background:#ed263815;color:#ff8b98;font-size:20px}
.creator-plan-count{font-size:13px;font-weight:800}
.creator-plan-form{padding:0;margin:0;border:0;border-radius:0;background:none}
.creator-plan-form label{display:block;margin:0 0 15px;color:#c8c8d0;font-size:11px;font-weight:700;letter-spacing:.02em}
.creator-plan-form input,.creator-plan-form textarea,.creator-plan-form select{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:13px 14px;border:1px solid #ffffff18;border-radius:12px;outline:none;background:#0c0c10;color:#f6f6f8;font:inherit;font-size:13px;transition:border-color .18s,box-shadow .18s}
.creator-plan-form input:focus,.creator-plan-form textarea:focus,.creator-plan-form select:focus{border-color:#ed526a99;box-shadow:0 0 0 3px #ed263815}
.creator-plan-form textarea{resize:vertical;min-height:100px}
.creator-plan-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.creator-primary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:46px;padding:0 16px;border:0;border-radius:12px;background:linear-gradient(110deg,#f04b60,#bd2439);color:#fff;text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 9px 25px #ed26382b;cursor:pointer}
.creator-primary-button b{font-size:16px}
.creator-plan-form>.creator-primary-button{width:100%;margin-top:4px}
.creator-plan-list{display:grid;gap:0}
.creator-plan-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-top:1px solid #ffffff10}
.creator-plan-item:first-child{border-top:0;padding-top:0}
.creator-plan-item-main{display:flex;align-items:flex-start;gap:12px;min-width:0}
.creator-plan-symbol{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;border:1px solid #ed526a35;border-radius:12px;background:#ed263812;color:#ff8c99}
.creator-plan-item-main strong{display:block;color:#f4f4f6;font-size:14px}
.creator-plan-item-main p{margin:5px 0;color:#9999a4;font-size:11px;line-height:1.5}
.creator-plan-item-main small{color:#dedee4;font-size:11px;font-weight:750}
.creator-plan-item-main small i,.creator-subscription-main small i{padding:0 4px;color:#696975;font-style:normal}
.creator-plan-item-actions{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex:0 0 auto}
.creator-plan-status,.creator-subscription-status{display:inline-flex;align-items:center;gap:6px;color:#9c9ca7;font-size:10px;font-weight:750}
.creator-plan-status i,.creator-subscription-status i{width:6px;height:6px;border-radius:50%;background:#777}
.creator-plan-status.is-active,.creator-subscription-status.is-active{color:#7cdbad}
.creator-plan-status.is-active i,.creator-subscription-status.is-active i{background:#45c88c;box-shadow:0 0 10px #45c88c66}
.creator-plan-status.is-paused,.creator-subscription-status.is-expired{color:#a0a0aa}
.creator-plan-toggle{padding:7px 10px;border:1px solid #ffffff18;border-radius:9px;background:#ffffff08;color:#dedee5;font-size:10px;font-weight:750;cursor:pointer}
.creator-plan-toggle:hover{border-color:#ed526a66;color:#ff9aa5}
.creator-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:235px;padding:25px;text-align:center}
.creator-empty-state>span{display:grid;width:52px;height:52px;place-items:center;border:1px solid #ed526a35;border-radius:17px;background:#ed263812;color:#ff8997;font-size:23px}
.creator-empty-state strong{margin-top:15px;font-size:15px}
.creator-empty-state p{max-width:330px;margin:7px 0 16px;color:#92929d;font-size:12px;line-height:1.6}
.subscriptions-hero{background:radial-gradient(ellipse at 80% 12%,#7f67df29,transparent 42%),linear-gradient(120deg,#19191f,#101014 72%)}
.subscriptions-hero .eyebrow{color:#b9a8ff}
.subscriptions-hero .creator-studio-hero-mark{border-color:#a78bfa38;background:radial-gradient(circle,#a78bfa2b 0%,#a78bfa0b 54%,transparent 72%);color:#c2afff}
.creator-hero-link{display:inline-flex;align-items:center;gap:16px;margin-top:19px;color:#e7dfff;text-decoration:none;font-size:12px;font-weight:750}
.creator-hero-link b{color:#b8a4ff;font-size:16px}
.subscription-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0 28px}
.subscription-overview article{display:flex;flex-direction:column;gap:7px;padding:18px 20px;border:1px solid #ffffff13;border-radius:16px;background:linear-gradient(145deg,#19191f,#111115)}
.subscription-overview article span{color:#92929e;font-size:9px;font-weight:850;letter-spacing:.13em}
.subscription-overview article strong{font-size:28px;line-height:1;font-weight:850;letter-spacing:-.05em}
.subscription-overview article small{color:#898994;font-size:10px}
.creator-subscription-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 2px 13px}
.creator-subscription-heading>span{color:#898994;font-size:11px}
.creator-subscription-list{overflow:hidden;border:1px solid #ffffff13;border-radius:20px;background:#141418}
.creator-subscription-item{display:flex;align-items:center;gap:15px;padding:19px 21px;border-top:1px solid #ffffff10}
.creator-subscription-item:first-child{border-top:0}
.creator-subscription-avatar{display:grid;flex:0 0 48px;width:48px;height:48px;overflow:hidden;place-items:center;border:1px solid #ffffff1c;border-radius:15px;background:linear-gradient(145deg,#39313e,#1c1b22);color:#f5a0aa;font-size:18px;font-weight:800}
.creator-subscription-avatar img{width:100%;height:100%;object-fit:cover}
.creator-subscription-main{flex:1;min-width:0}
.creator-subscription-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.creator-subscription-title strong{font-size:14px}
.creator-subscription-main>a{display:inline-block;margin-top:3px;color:#c0aaff;text-decoration:none;font-size:11px;font-weight:700}
.creator-subscription-main p{margin:6px 0;color:#a1a1ab;font-size:11px;line-height:1.5}
.creator-subscription-main small{color:#858590;font-size:10px}
.creator-subscription-open{display:inline-flex;align-items:center;gap:12px;flex:0 0 auto;padding:10px 12px;border:1px solid #ffffff17;border-radius:10px;color:#e8e8ed;text-decoration:none;font-size:10px;font-weight:750}
.creator-subscription-open b{color:#bba8ff;font-size:14px}
.subscription-empty{min-height:290px}
.subscription-empty .creator-primary-button{color:#fff}
@media(max-width:850px){.creator-studio-layout{grid-template-columns:1fr}.creator-studio-hero{min-height:190px}.creator-studio-hero-mark{flex-basis:130px;width:130px;height:130px}.creator-studio-hero-mark>span{font-size:58px}}
@media(max-width:600px){.creator-studio{width:calc(100% - 24px);margin:14px auto 70px}.creator-studio-hero{min-height:0;padding:25px 22px;border-radius:20px}.creator-studio-hero-mark{position:absolute;right:-26px;top:18px;opacity:.28}.creator-studio-hero-copy{max-width:100%}.creator-studio-hero p{max-width:100%;font-size:12px}.creator-studio-highlights{gap:9px 13px;font-size:10px}.creator-studio-panel{padding:19px 16px;border-radius:17px}.creator-plan-form-row{grid-template-columns:1fr}.creator-plan-item{align-items:flex-start}.creator-plan-item-actions{gap:8px}.subscription-overview{gap:8px}.subscription-overview article{padding:14px 11px}.subscription-overview article span{font-size:8px}.subscription-overview article strong{font-size:23px}.subscription-overview article small{font-size:9px}.creator-subscription-item{align-items:flex-start;flex-wrap:wrap;padding:16px}.creator-subscription-avatar{flex-basis:42px;width:42px;height:42px}.creator-subscription-main{width:calc(100% - 58px);flex:none}.creator-subscription-open{margin-left:57px}.creator-subscription-main p{font-size:10px}}

/* Premium homepage and lightweight feed cards */
.home-premium{width:min(1180px,calc(100% - 36px));margin:22px auto 90px}
.home-premium-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);gap:30px;overflow:hidden;min-height:320px;padding:42px;border:1px solid #ffffff15;border-radius:27px;background:radial-gradient(ellipse at 15% 0%,#ed263826,transparent 48%),linear-gradient(120deg,#1b171d,#101014 75%);box-shadow:0 25px 70px #0003}
.home-premium-copy{position:relative;z-index:2;max-width:650px}
.home-premium-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#ff929e;font-size:9px;font-weight:850;letter-spacing:.2em}
.home-premium-eyebrow i{width:6px;height:6px;border-radius:50%;background:#f05267;box-shadow:0 0 12px #f05267}
.home-premium-copy h1{margin:17px 0 10px;font-size:clamp(38px,5.8vw,66px);line-height:.99;letter-spacing:-.065em}
.home-premium-copy h1 em{color:#ff7f90;font-style:normal}
.home-premium-copy>p{max-width:520px;margin:0;color:#a5a5b0;font-size:13px;line-height:1.75}
.home-premium-search{display:flex;align-items:center;gap:10px;max-width:560px;margin-top:23px;padding:5px 6px 5px 14px;border:1px solid #ffffff1b;border-radius:14px;background:#09090dbd}
.home-premium-search>span{color:#ff8795;font-size:23px}
.home-premium-search input{min-width:0;flex:1;border:0;background:transparent;color:#fff;font:inherit;font-size:12px;outline:none}
.home-premium-search button{display:inline-flex;align-items:center;gap:13px;min-height:39px;padding:0 14px;border:0;border-radius:10px;background:#ed4055;color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.home-premium-search button b{font-size:15px}
.home-premium-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.home-premium-chips a{padding:7px 11px;border:1px solid #ffffff14;border-radius:999px;background:#ffffff06;color:#b8b8c1;text-decoration:none;font-size:10px}
.home-premium-chips a:first-child{border-color:#ed526a66;background:#ed263817;color:#ff9aa5}
.home-premium-aside{position:relative;display:flex;flex-direction:column;justify-content:center;overflow:hidden;min-height:230px;padding:25px;border:1px solid #ff829322;border-radius:20px;background:linear-gradient(145deg,#ed26381b,#ffffff04 75%)}
.home-aside-star{position:relative;z-index:1;color:#ff8c99;font-size:29px}
.home-aside-label{position:relative;z-index:1;margin-top:18px;color:#ff9ba6;font-size:9px;font-weight:850;letter-spacing:.18em}
.home-premium-aside>strong{position:relative;z-index:1;margin-top:8px;font-size:25px;line-height:1.1;letter-spacing:-.04em}
.home-premium-aside>a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:18px;margin-top:19px;color:#fff;text-decoration:none;font-size:11px;font-weight:750}
.home-premium-aside>a b{color:#ff8d99;font-size:17px}
.home-aside-orbit{position:absolute;width:190px;height:190px;border:1px solid #ff87951c;border-radius:50%;pointer-events:none}
.orbit-one{right:-68px;top:-52px}.orbit-two{right:-28px;top:-12px}
.home-feed-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:35px 2px 17px}
.home-feed-heading h2{margin:6px 0 3px;font-size:25px;letter-spacing:-.045em}
.home-feed-heading p{margin:0;color:#92929e;font-size:11px}
.home-feed-heading>a{display:inline-flex;align-items:center;gap:12px;padding:10px 13px;border:1px solid #ffffff16;border-radius:11px;color:#e7e7ec;text-decoration:none;font-size:10px;font-weight:750}
.home-feed-heading>a b{color:#ff8997;font-size:14px}
.home-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.home-premium-card{min-width:0;overflow:hidden;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(150deg,#1a1a20,#111115);box-shadow:0 10px 28px #0002;transition:transform .2s,border-color .2s,box-shadow .2s;cursor:pointer}
.home-premium-card:hover{transform:translateY(-4px);border-color:#ed526a66;box-shadow:0 18px 38px #0004}
.home-premium-image{aspect-ratio:4/3;background:linear-gradient(140deg,#311b25,#111116)}
.home-premium-image img{display:block;width:100%;height:100%;object-fit:cover}
.home-premium-author{bottom:12px!important;left:12px!important;padding:7px 10px!important;border:1px solid #ffffff35;background:#08080bc9!important;backdrop-filter:blur(12px)}
.home-featured-label{position:absolute;top:12px;right:12px;padding:7px 9px;border:1px solid #ffcc7655;border-radius:999px;background:#21180fce;color:#ffd28a;font-size:9px;font-weight:850}
.home-premium-card-body{padding:14px 16px 15px}
.home-premium-card-body h3{overflow:hidden;margin:0;color:#f0f0f4;font-size:13px;font-weight:750;line-height:1.5;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.home-premium-meta{display:flex;align-items:center;gap:13px;margin-top:10px;color:#9999a5;font-size:10px}
.home-premium-meta span:last-child{margin-left:auto}
.home-premium-image-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:radial-gradient(circle at 50% 30%,#ed40552c,transparent 60%),#15151b}
.home-premium-image-empty>span{color:#fff;font-size:33px;font-weight:900;letter-spacing:-.09em}
.home-premium-image-empty>span span{color:#ff8795}
.home-premium-image-empty small{margin-top:8px;color:#92929d;font-size:8px;font-weight:800;letter-spacing:.2em}
.home-premium-locked{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:290px;padding:25px;text-align:center;text-decoration:none;background:radial-gradient(circle at 50% 30%,#a78bfa20,transparent 55%)}
.home-premium-locked>span{display:grid;width:48px;height:48px;place-items:center;border:1px solid #b9a2ff44;border-radius:15px;background:#a78bfa15;color:#c9baff;font-size:22px}
.home-premium-locked strong{margin-top:15px;color:#f2efff;font-size:15px}
.home-premium-locked small{margin-top:6px;color:#a8a0bf;font-size:11px}
.home-premium-locked b{margin-top:17px;color:#c9baff;font-size:10px}
.home-premium-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:290px;padding:30px;border:1px dashed #ffffff24;border-radius:20px;background:#ffffff04;text-align:center}
.home-premium-empty>span{color:#ff8795;font-size:28px}
.home-premium-empty h3{margin:10px 0 4px;font-size:19px}
.home-premium-empty p{max-width:400px;color:#9999a5;font-size:12px;line-height:1.6}
@media(max-width:850px){.home-premium-hero{grid-template-columns:1fr;padding:32px}.home-premium-aside{display:none}.home-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home-premium{width:calc(100% - 22px);margin:12px auto 75px}.home-premium-hero{min-height:0;padding:27px 20px;border-radius:20px}.home-premium-copy h1{font-size:44px}.home-premium-copy>p{font-size:11px}.home-premium-search{gap:7px;padding-left:10px}.home-premium-search input{font-size:10px}.home-premium-search button{min-height:36px;padding:0 10px;font-size:10px}.home-premium-chips{gap:6px}.home-premium-chips a{padding:6px 9px;font-size:9px}.home-feed-heading{margin:26px 2px 13px}.home-feed-heading h2{font-size:21px}.home-feed-heading>a{padding:8px 9px;font-size:9px}.home-premium-grid{grid-template-columns:1fr 1fr;gap:9px}.home-premium-card{border-radius:13px}.home-premium-image{aspect-ratio:1/1}.home-premium-card-body{padding:10px}.home-premium-card-body h3{font-size:11px}.home-premium-meta{gap:8px;font-size:9px}.home-premium-author{bottom:8px!important;left:8px!important;padding:5px 7px!important;font-size:9px!important}.home-premium-locked{min-height:200px;padding:15px}.home-premium-locked strong{font-size:12px}.home-premium-locked b{font-size:9px}}


/* Homepage refinement: restrained product UI and developer-oriented typography */
.home-premium,
.home-premium *{font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif}
.home-premium{width:min(1160px,calc(100% - 40px));margin:24px auto 88px;color:#e8e9ed}
.home-premium-hero{grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:44px;min-height:270px;padding:36px 40px;border:1px solid #ffffff17;border-radius:15px;background:#15171b;box-shadow:0 16px 42px #0002}
.home-premium-copy{max-width:700px}
.home-premium-eyebrow{gap:9px;color:#a8adb8;font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:10px;font-weight:600;letter-spacing:.08em}
.home-premium-eyebrow i{width:6px;height:6px;background:#e05b68;box-shadow:none}
.home-premium-copy h1{margin:18px 0 12px;font-size:clamp(34px,4.5vw,52px);font-weight:650;line-height:1.08;letter-spacing:-.035em}
.home-premium-copy h1 em{color:#f07883;font-style:normal}
.home-premium-copy>p{color:#a2a6b0;font-size:14px;line-height:1.6}
.home-premium-search{max-width:520px;margin-top:22px;padding:5px 6px 5px 13px;border:1px solid #30343b;border-radius:9px;background:#101216}
.home-premium-search>span{color:#aeb4bf;font-size:20px}
.home-premium-search input{font-size:13px}
.home-premium-search button{min-height:36px;padding:0 13px;border-radius:7px;background:#c84655;font-size:12px;font-weight:650}
.home-premium-search button b{font-size:13px}
.home-quick-panel{display:flex;flex-direction:column;justify-content:center;gap:0;min-height:unset;padding:18px;border:1px solid #2b3038;border-radius:11px;background:#111318}
.home-quick-kicker{padding:2px 3px 12px;color:#818895;font-family:"SFMono-Regular",Consolas,monospace;font-size:9px;font-weight:600;letter-spacing:.1em}
.home-quick-panel>a{display:flex;align-items:center;gap:11px;padding:13px 3px;border-top:1px solid #252a31;color:#e5e7eb;text-decoration:none}
.home-quick-panel>a:hover{background:#ffffff05}
.home-quick-icon{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border:1px solid #343943;border-radius:8px;background:#1a1e24;color:#e58a93;font-size:18px}
.home-quick-panel>a>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}
.home-quick-panel>a strong{font-size:12px;font-weight:650}
.home-quick-panel>a small{color:#858c98;font-size:10px}
.home-quick-panel>a>b{color:#8e96a3;font-size:14px;font-weight:500}
.home-feed-heading{margin:30px 2px 15px}
.home-feed-heading h2{margin:6px 0 4px;font-size:22px;font-weight:650;letter-spacing:-.025em}
.home-feed-heading p{font-size:12px}
.home-feed-heading>a{padding:9px 11px;border-radius:8px;font-size:11px;font-weight:600}
.home-premium-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-premium-card{border:1px solid #292d34;border-radius:12px;background:#14161a;box-shadow:none;transition:border-color .16s,transform .16s}
.home-premium-card:hover{transform:translateY(-2px);border-color:#565d69;box-shadow:0 9px 22px #0003}
.home-premium-image{aspect-ratio:4/3;background:#1a1d22}
.home-premium-card-body{padding:13px 14px}
.home-premium-card-body h3{font-size:13px;font-weight:600;letter-spacing:-.01em}
.home-premium-meta{font-size:11px}
.home-premium-author{border-radius:6px!important;backdrop-filter:blur(8px)}
.home-featured-label{border-radius:6px;font-size:9px}
.home-premium-locked{min-height:260px;background:#171820}
.home-premium-locked>span{border-radius:10px}
.home-premium-empty{border-radius:12px}
.home-premium-empty h3{font-size:17px;font-weight:650}
@media(max-width:850px){.home-premium-hero{grid-template-columns:1fr;gap:22px;padding:28px}.home-quick-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:10px}.home-quick-kicker{grid-column:1/-1}.home-quick-panel>a{border-top:1px solid #252a31}.home-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home-premium{width:calc(100% - 24px);margin:13px auto 72px}.home-premium-hero{padding:23px 18px;border-radius:12px}.home-premium-copy h1{font-size:38px}.home-premium-copy>p{font-size:12px}.home-quick-panel{padding:12px;gap:0}.home-quick-panel>a{gap:8px}.home-quick-icon{flex-basis:30px;width:30px;height:30px}.home-quick-panel>a strong{font-size:11px}.home-quick-panel>a small{font-size:9px}.home-feed-heading h2{font-size:19px}.home-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-premium-card{border-radius:10px}.home-premium-image{aspect-ratio:1/1}.home-premium-card-body{padding:9px}.home-premium-card-body h3{font-size:11px}.home-premium-meta{gap:7px;font-size:9px}}


/* Homepage campaign panel and cleaner anonymous discovery cards. */
.home-promo-panel{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0;min-height:100%;overflow:hidden;padding:25px 24px;border:1px solid #343943;border-radius:12px;background:linear-gradient(145deg,#1c2027 0%,#13161b 58%,#21161b 100%)}
.home-promo-panel:after{content:"";position:absolute;inset:auto -55px -105px auto;width:240px;height:240px;border:1px solid #e35a6a28;border-radius:50%;box-shadow:0 0 0 22px #e35a6a08,0 0 0 48px #e35a6a05;pointer-events:none}
.home-promo-orbit{position:absolute;top:18px;right:20px;display:grid;width:58px;height:58px;place-items:center;border:1px solid #f0788340;border-radius:18px;background:linear-gradient(145deg,#e34c6030,#e34c6008);transform:rotate(8deg)}
.home-promo-orbit span{color:#ff8995;font-size:29px;font-weight:800;letter-spacing:-.09em;transform:rotate(-8deg)}
.home-promo-kicker{position:relative;z-index:1;color:#f07883;font-family:"SFMono-Regular",Consolas,monospace;font-size:9px;font-weight:650;letter-spacing:.14em}
.home-promo-panel>strong{position:relative;z-index:1;margin-top:18px;color:#f2f3f5;font-size:27px;font-weight:650;line-height:1.12;letter-spacing:-.045em}
.home-promo-panel>strong em{color:#f07883;font-style:normal}
.home-promo-panel>p{position:relative;z-index:1;max-width:255px;margin:12px 0 15px;color:#a2a8b2;font-size:11px;line-height:1.65}
.home-promo-points{position:relative;z-index:1;display:grid;gap:9px;width:100%;padding:13px 0;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}
.home-promo-points span{display:flex;align-items:center;gap:10px;color:#c5c9d0;font-size:10px}
.home-promo-points b{color:#ed7b86;font-family:"SFMono-Regular",Consolas,monospace;font-size:9px;font-weight:600}
.home-promo-cta{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;margin-top:15px;padding:11px 13px;border:1px solid #ed687755;border-radius:8px;background:#d84b5b18;color:#f2dfe2;text-decoration:none;font-size:11px;font-weight:650;transition:background .18s,border-color .18s}
.home-promo-cta:hover{border-color:#f07883;background:#e34c6028}
.home-promo-cta b{color:#f07883;font-size:15px}
.home-premium-author,.home-featured-label{display:none!important}
.home-premium-locked small{display:none}
@media(max-width:850px){.home-premium-hero{grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);gap:18px;padding:24px}.home-promo-panel{min-height:250px;padding:18px}.home-promo-panel>strong{font-size:22px}.home-promo-orbit{top:12px;right:12px;width:45px;height:45px}.home-promo-orbit span{font-size:23px}}
@media(max-width:620px){.home-premium-hero{grid-template-columns:1fr;gap:18px}.home-promo-panel{min-height:0;padding:19px}.home-promo-panel>strong{font-size:23px}.home-promo-panel>p{max-width:420px}.home-promo-points{grid-template-columns:1fr 1fr;column-gap:10px}.home-promo-points span{font-size:9px}.home-promo-points span:last-child{grid-column:1/-1}}


/* Homepage hero lower-left content and consistent, legible interface icons. */
.home-premium-hero{align-items:stretch;min-height:300px}
.home-premium-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.home-premium-search>span.home-search-icon{display:grid;flex:0 0 22px;width:22px;height:22px;place-items:center;color:#c2c6ce}
.home-search-icon svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-premium-search button{min-width:66px;justify-content:center}
.home-hero-foot{display:flex;align-items:center;gap:17px;width:100%;max-width:590px;margin-top:27px;padding-top:17px;border-top:1px solid #ffffff15}
.home-hero-foot-label{align-self:flex-start;padding-top:2px;color:#818995;font-family:"SFMono-Regular",Consolas,monospace;font-size:8px;font-weight:650;letter-spacing:.12em;white-space:nowrap}
.home-hero-foot>div{display:grid;gap:3px;min-width:0}
.home-hero-foot strong{color:#e5e7eb;font-size:11px;font-weight:650}
.home-hero-foot small{color:#858c97;font-size:9px;white-space:nowrap}
.home-hero-foot>i{width:1px;height:25px;background:#ffffff1a}
.home-premium-meta{gap:15px}
.home-premium-meta span{display:inline-flex;align-items:center;gap:6px}
.home-premium-meta svg{display:block;width:17px;height:17px;fill:none;stroke:#aeb4bf;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.home-premium-meta span:first-child svg{stroke:#df7580}
.home-premium-locked .home-lock-mark{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:62px;height:29px;padding:0 10px;border:1px solid #b9a2ff44;border-radius:7px;background:#a78bfa15;color:#d1c6ff;font-family:"SFMono-Regular",Consolas,monospace;font-size:9px;font-weight:700;letter-spacing:.12em}
.home-promo-cta{justify-content:center}
@media(max-width:850px){.home-premium-hero{min-height:0}.home-hero-foot{margin-top:21px;gap:12px}}
@media(max-width:620px){.home-hero-foot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:19px;padding-top:13px}.home-hero-foot-label{grid-column:1/-1;padding:0}.home-hero-foot>div{gap:2px}.home-hero-foot strong{font-size:10px}.home-hero-foot small{font-size:8px;white-space:normal}.home-hero-foot>i{display:none}.home-premium-meta{gap:9px}.home-premium-meta svg{width:15px;height:15px}.home-premium-meta span{gap:4px}}


/* Homepage finishing pass: clearer hierarchy, depth and card feedback. */
.home-premium-hero{position:relative;isolation:isolate;overflow:hidden}
.home-premium-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent 0%,#ffffff03 100%),linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:auto,34px 34px,34px 34px;mask-image:linear-gradient(115deg,#000 0%,#0008 48%,transparent 88%);opacity:.34}
.home-premium-copy h1{max-width:620px}
.home-premium-copy h1 em{ text-shadow:0 5px 28px #ed64701c}
.home-premium-search{transition:border-color .18s,box-shadow .18s,background .18s}
.home-premium-search:focus-within{border-color:#c8465588;box-shadow:0 0 0 3px #c8465518;background:#12151a}
.home-premium-search input::placeholder{color:#747c88}
.home-hero-foot{border-color:#ffffff18}
.home-hero-foot>div{transition:transform .18s}
.home-hero-foot>div:hover{transform:translateY(-2px)}
.home-promo-panel{box-shadow:inset 0 1px #ffffff08,0 12px 28px #0002}
.home-promo-orbit{box-shadow:0 8px 24px #0003}
.home-promo-cta{min-height:40px}
.home-premium-grid{align-items:stretch}
.home-premium-card{position:relative;isolation:isolate}
.home-card-rank{position:absolute;z-index:3;top:11px;left:11px;display:grid;min-width:31px;height:27px;place-items:center;padding:0 7px;border:1px solid #ffffff2a;border-radius:6px;background:#0b0d11d9;color:#f1f2f4;font-family:"SFMono-Regular",Consolas,monospace;font-size:10px;font-weight:700;letter-spacing:.04em;backdrop-filter:blur(9px);pointer-events:none}
.home-premium-image img{transition:transform .35s ease,filter .25s ease}
.home-premium-card:hover .home-premium-image img{transform:scale(1.035)}
.home-premium-card-body{min-height:82px;display:flex;flex-direction:column;justify-content:center}
.home-premium-card-body h3{overflow-wrap:anywhere}
.home-premium-meta{padding-top:2px}
.home-premium-meta span{white-space:nowrap}
.home-premium-locked{position:relative}
.home-premium-locked .home-lock-mark{letter-spacing:.1em}
.home-feed-heading{align-items:flex-end}
.home-feed-heading>div{min-width:0}
.home-feed-heading>a{border:1px solid #ffffff18;background:#ffffff05;transition:border-color .18s,background .18s}
.home-feed-heading>a:hover{border-color:#ed687766;background:#ed263812}
@media(max-width:850px){
  .home-premium-hero:before{background-size:auto,27px 27px,27px 27px;opacity:.24}
}
@media(max-width:620px){
  .home-card-rank{top:7px;left:7px;min-width:27px;height:23px;font-size:9px}
  .home-premium-card-body{min-height:72px}
  .home-premium-meta span{gap:3px}
  .home-premium-hero:before{opacity:.18}
}
@media(prefers-reduced-motion:reduce){
  .home-premium-card,.home-premium-image img,.home-premium-search,.home-hero-foot>div{transition:none!important}
}


/* Use the site's actual brand asset in the homepage logo tile. */
.home-promo-orbit{display:grid;place-items:center}
.home-promo-orbit .home-promo-logo{display:block;width:37px;height:37px;max-width:100%;max-height:100%;object-fit:contain;transform:rotate(-8deg);filter:drop-shadow(0 3px 8px #0005)}
@media(max-width:850px){.home-promo-orbit .home-promo-logo{width:30px;height:30px}}

/* Refined new-post composer: clear upload states, readable controls and tactile feedback. */
.compose-modern{width:min(100% - 32px,760px);padding:clamp(22px,4vw,38px);border-color:#ffffff19;background:radial-gradient(ellipse at 92% 0%,#ed263812,transparent 34%),linear-gradient(145deg,#19191f,#111115);box-shadow:0 28px 90px #0006}
.compose-topline .eyebrow{font-size:10px;letter-spacing:.16em;color:#ff7d8b;font-weight:800}
.compose-close{transition:background .18s,border-color .18s,color .18s}.compose-close:hover{background:#ffffff10;border-color:#ffffff35;color:#fff}
.compose-subtitle{font-size:13px;line-height:1.65}.compose-form{gap:20px}.compose-media-field{display:grid;gap:8px}
.compose-upload{min-height:230px;gap:9px;border:1px dashed #ffffff35;background:linear-gradient(145deg,#151519,#101014);transition:border-color .2s,background .2s,transform .2s,box-shadow .2s}
.compose-upload:hover,.compose-upload:focus-within,.compose-upload.is-dragging{border-color:#ff6478;background:#1c1419;box-shadow:inset 0 0 0 1px #ed263822,0 12px 34px #0003}
.compose-upload.is-dragging{transform:scale(.995)}.compose-upload-icon{width:54px;height:54px;border-radius:17px;font-size:30px;box-shadow:0 8px 24px #ed26381c}
.compose-upload strong{font-size:14px;letter-spacing:-.01em}.compose-upload small{font-size:11px}
.compose-upload-hint{margin-top:5px;padding:5px 9px;border:1px solid #ffffff12;border-radius:999px;background:#ffffff06;color:#777782;font-size:9px}
.compose-upload.has-image{border-style:solid;border-color:#ed263866;background:#08080a}.compose-upload.has-image .compose-image-preview{object-fit:contain}
.compose-file-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;color:#85858f;font-size:10px}
.compose-file-tools span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compose-file-tools button{flex:none;padding:6px 10px;border:1px solid #ed26384d;border-radius:8px;background:#ed263812;color:#ff8a97;font-size:10px;font-weight:700}
.compose-file-tools button:hover{background:#ed263825}.compose-upload-error{margin:0;color:#ff8d98;font-size:11px}
.compose-upload-error[hidden],.compose-file-tools button[hidden]{display:none}
.compose-caption-label{gap:9px}.compose-caption-label textarea{min-height:138px;padding:16px;line-height:1.65;border-color:#ffffff20;transition:border-color .18s,box-shadow .18s}
.compose-caption-label textarea:focus{border-color:#ed263899;box-shadow:0 0 0 4px #ed263817}
.compose-char-count{font-variant-numeric:tabular-nums}.compose-audience{padding:16px;border-radius:15px;background:linear-gradient(145deg,#17171c,#111115)}
.compose-audience>div{gap:5px}.compose-audience strong{font-size:12px}.compose-audience select{max-width:62%;min-height:42px;padding:0 12px;font-size:11px;cursor:pointer}
.subscription-plan-picker{padding:16px;border:1px solid #ffffff16;border-radius:15px;background:#111115}
.compose-publish{min-height:50px;font-weight:800;letter-spacing:.01em;transition:transform .18s,filter .18s,opacity .18s}
.compose-publish:hover{filter:brightness(1.08);transform:translateY(-1px)}.compose-publish:disabled{cursor:wait;opacity:.75;transform:none}
@media(max-width:600px){.compose-modern{width:calc(100% - 20px);padding:20px 16px}.compose-upload{min-height:190px}.compose-caption-label textarea{min-height:120px}.compose-audience select{max-width:none;width:100%}.compose-file-tools{font-size:9px}}
@media(prefers-reduced-motion:reduce){.compose-modern *{transition:none!important}}


/* Professional visibility controls for the post composer. */
.compose-visibility-section{display:grid;gap:16px;padding:20px;border:1px solid #ffffff16;border-radius:16px;background:linear-gradient(150deg,#17181d 0%,#121317 72%);box-shadow:inset 0 1px #ffffff06}
.compose-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.compose-section-heading>div{display:grid;gap:5px}
.compose-section-kicker{color:#e77b87;font:700 9px/1.2 "SFMono-Regular",Consolas,monospace;letter-spacing:.15em}
.compose-section-heading h2{margin:2px 0 0;color:#f1f1f3;font-size:17px;font-weight:680;letter-spacing:-.035em}
.compose-section-heading p{margin:0;color:#8e929c;font-size:11px;line-height:1.5}
.compose-section-index{padding:6px 8px;border:1px solid #ffffff14;border-radius:7px;background:#ffffff05;color:#bfc2c9;font:700 9px/1 "SFMono-Regular",Consolas,monospace;white-space:nowrap}
.compose-section-index i{color:#666b75;font-style:normal}
.compose-visibility-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;border:0}
.visibility-option{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:82px;padding:13px 14px;border:1px solid #ffffff14;border-radius:11px;background:#ffffff03;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.visibility-option:hover{border-color:#ffffff35;background:#ffffff07}
.visibility-option:has(input:checked){border-color:#d65b69;background:linear-gradient(115deg,#d64c5d1b,#ffffff04 75%);box-shadow:inset 0 0 0 1px #d65b6920}
.visibility-option input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.visibility-option:focus-within{outline:2px solid #e66b78;outline-offset:3px}
.visibility-option-mark{display:grid;flex:0 0 37px;width:37px;height:37px;place-items:center;border:1px solid #ffffff15;border-radius:9px;background:#ffffff06;color:#aeb3bd;transition:color .16s,border-color .16s,background .16s}
.visibility-option-mark svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.visibility-option:has(input:checked) .visibility-option-mark{border-color:#e16a773f;background:#d64c5d20;color:#ff929c}
.visibility-option-copy{display:grid;flex:1;gap:4px;min-width:0}
.visibility-option-copy strong{color:#e9e9ec;font-size:11px;font-weight:680;letter-spacing:-.01em}
.visibility-option-copy small{color:#858a95;font-size:9px;line-height:1.45}
.visibility-option-state{position:relative;flex:0 0 15px;width:15px;height:15px;border:1px solid #ffffff30;border-radius:50%;background:#ffffff03}
.visibility-option:has(input:checked) .visibility-option-state{border-color:#e66b78;background:#e66b78;box-shadow:inset 0 0 0 3px #17181d}
.visibility-option-adult:has(input:checked){border-color:#b65b61;background:linear-gradient(115deg,#b93c461c,#ffffff04 75%)}
.visibility-option-adult:has(input:checked) .visibility-option-mark{border-color:#b65b6155;background:#b93c4620;color:#ff969c}
.visibility-option-subscription:has(input:checked){border-color:#a98a55;background:linear-gradient(115deg,#a98a551a,#ffffff04 75%)}
.visibility-option-subscription:has(input:checked) .visibility-option-mark{border-color:#a98a5555;background:#a98a5518;color:#e6c78b}
.adult-info{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #ed69743b;border-radius:10px;background:#ed26380d;color:#f0a0a7;font-size:11px;line-height:1.6}
.subscription-plan-picker{border-radius:13px}
.subscription-plan-option{border-radius:10px}
.subscription-plan-option:focus-within{outline:2px solid #e66b78;outline-offset:2px}
.compose-publish{min-height:52px;border-radius:10px;letter-spacing:.015em}
@media(max-width:640px){
 .compose-visibility-section{gap:13px;padding:15px}
 .compose-visibility-options{grid-template-columns:1fr;gap:7px}
 .visibility-option{min-height:70px;padding:11px 12px}
 .visibility-option-mark{flex-basis:34px;width:34px;height:34px}
 .compose-section-heading h2{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.visibility-option,.visibility-option-mark{transition:none}}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}


/* Feed image loading: stable placeholders and a restrained reveal transition. */
.post-image-wrap,.discovery-image{isolation:isolate;background-color:#17191e}
.post-image-wrap:has(.is-image-pending),.discovery-image:has(.is-image-pending){background-image:linear-gradient(110deg,#17191e 8%,#22252c 18%,#17191e 33%);background-size:220% 100%;animation:feed-image-placeholder 1.5s ease-in-out infinite}
.post-image-wrap .post-image,.discovery-image img{opacity:1;transition:opacity .42s ease,filter .25s ease,transform .35s ease}
.post-image-wrap .post-image.is-image-pending,.discovery-image img.is-image-pending{opacity:0}
.post-image-wrap .post-image.is-image-loaded,.discovery-image img.is-image-loaded{opacity:1}
.post-image-wrap .post-image.is-image-failed,.discovery-image img.is-image-failed{display:none}
.home-premium-image{position:relative;overflow:hidden;background-color:#17191e}
.home-premium-image:has(.is-image-pending){background-image:linear-gradient(110deg,#17191e 8%,#22252c 18%,#17191e 33%);background-size:220% 100%;animation:feed-image-placeholder 1.5s ease-in-out infinite}
.home-premium-image .home-feed-photo{display:block;width:100%;height:100%;object-fit:cover;opacity:1;transition:opacity .48s ease,transform .35s ease}
.home-premium-image .home-feed-photo.is-image-pending{opacity:0}
.home-premium-image .home-feed-photo.is-image-loaded{opacity:1}
.home-premium-image .home-feed-photo.is-image-failed{display:none}
@keyframes feed-image-placeholder{0%{background-position:100% 0}100%{background-position:-120% 0}}
@media(prefers-reduced-motion:reduce){
 .post-image-wrap:has(.is-image-pending),.discovery-image:has(.is-image-pending),.home-premium-image:has(.is-image-pending){animation:none}
 .post-image-wrap .post-image,.discovery-image img,.home-premium-image .home-feed-photo{transition:none}
}


.home-compose-trigger{max-width:640px;margin:0 auto 22px;display:flex;align-items:center;gap:12px;padding:10px 13px;border:1px solid #ffffff18;border-radius:16px;background:#171a20;box-shadow:0 8px 28px #0003}.home-compose-avatar{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#292d35;color:#fff;font-weight:700}.home-compose-avatar img{width:100%;height:100%;object-fit:cover}.home-compose-trigger>button:nth-child(2){flex:1;min-width:0;text-align:left;border:0;background:transparent;color:#a4a7ae;font-size:14px;cursor:pointer}.home-compose-trigger>button span{color:#777d88}.home-compose-camera{width:38px;height:38px;border:0;border-radius:50%;background:#ffffff0a;color:#aab1bb;font-size:19px;cursor:pointer}
.compose-modal[hidden]{display:none}.compose-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:18px}.compose-modal-backdrop{position:absolute;inset:0;background:#000b;backdrop-filter:blur(9px)}.compose-modal-panel{position:relative;width:min(100%,520px);max-height:min(90vh,760px);overflow:auto;border:1px solid #ffffff20;border-radius:20px;background:#11151a;box-shadow:0 30px 100px #000b;animation:compose-modal-in .18s ease-out}@keyframes compose-modal-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}.compose-modal-head{height:62px;display:flex;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid #ffffff12}.compose-modal-head>span:first-of-type{flex:1;text-align:center;font-size:14px;font-weight:700}.compose-modal-close{width:34px;height:34px;border:1px solid #ffffff18;border-radius:10px;background:#ffffff0a;color:#c5c9d0;font-size:24px;cursor:pointer}.compose-modal-count{color:#6f7782;font-size:11px}.compose-modal-publish{min-width:94px;height:38px;border:0;border-radius:11px;background:#168bd1;color:white;font-weight:750;cursor:pointer}.compose-modal-publish:disabled{opacity:.55}.compose-modal-body{padding:17px 20px 18px}.compose-modal-user{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:13px}.compose-modal-body textarea{width:100%;min-height:132px;resize:vertical;border:0;outline:0;background:transparent;color:#f5f6f8;font:inherit;font-size:15px;line-height:1.6}.compose-modal-body textarea::placeholder{color:#737b85}.compose-modal-file{display:none}.compose-modal-preview{position:relative;margin:6px 0 14px;padding:8px;border:1px solid #ffffff18;border-radius:13px}.compose-modal-preview img{display:block;width:100%;max-height:260px;object-fit:contain}.compose-modal-preview button{margin-top:8px;border:0;background:transparent;color:#ff7b87;font-size:11px;cursor:pointer}.compose-modal-context{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 0;border-top:1px solid #ffffff12}.compose-modal-context button,.compose-modal-footer button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ffffff12;border-radius:10px;background:#1c2229;color:#aeb6c0;font-size:13px;cursor:pointer}.compose-modal-context button:hover,.compose-modal-footer button:hover{border-color:#168bd177;color:#e7f4ff}.compose-modal-extra{padding:10px 0}.compose-modal-extra[hidden]{display:none}.compose-modal-extra label{display:grid;gap:7px;color:#aeb6c0;font-size:11px}.compose-modal-extra input,.compose-modal-extra select{height:40px;padding:0 11px;border:1px solid #ffffff18;border-radius:9px;background:#191f26;color:#fff;outline:0}.compose-collab-results{display:grid;gap:4px;max-height:160px;overflow:auto;padding:5px;border:1px solid #ffffff14;border-radius:9px;background:#191f26}.compose-collab-results[hidden]{display:none}.compose-collab-results button{padding:9px;text-align:left;border:0;border-radius:7px;background:transparent;color:#e5e8ec;cursor:pointer}.compose-modal-extra small{color:#64b8ed}.compose-modal-footer{display:flex;align-items:center;gap:12px;padding-top:13px;border-top:1px solid #ffffff12}.compose-modal-footer button{padding:0 14px;color:#55b9f3}.compose-modal-footer>span{color:#69727e;font-size:10px}.post-collaboration-line,.post-context-line{display:flex;align-items:center;gap:8px;padding:0 15px 8px;color:#8d96a2;font-size:11px}.post-collaboration-line strong{color:#e5e8ec;font-weight:600}.post-collaboration-line a{color:#7dcaff}.post-context-line{padding-bottom:10px}.post-context-line span{padding:4px 8px;border:1px solid #ffffff12;border-radius:99px;background:#ffffff06}body.compose-modal-open{overflow:hidden}@media(max-width:520px){.compose-modal{padding:0;align-items:end}.compose-modal-panel{width:100%;max-height:94dvh;border-radius:20px 20px 0 0}.compose-modal-context{grid-template-columns:1fr}.compose-modal-body{padding:14px}.home-compose-trigger{margin-bottom:15px}}


/* FANSIVA compose modal — restrained black/red, centered without layout jumps */
.compose-modal{position:fixed!important;inset:0!important;z-index:3000;display:grid;place-items:center;padding:24px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}
.compose-modal[hidden]{display:none!important}
.compose-modal-backdrop{position:fixed;inset:0;background:rgba(4,4,6,.76);backdrop-filter:blur(16px) saturate(.82);-webkit-backdrop-filter:blur(16px) saturate(.82)}
.compose-modal-panel{width:min(100%,620px);max-width:620px;max-height:min( min( min(88dvh,820px), 820px), calc(100dvh - 48px));margin:auto;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #5a2029;border-radius:18px;background:linear-gradient(155deg,#171316 0%,#101012 42%,#0d0d0f 100%);box-shadow:0 34px 110px #000c,0 0 0 1px #ed26380d,0 0 65px #ed263814;scrollbar-width:thin;scrollbar-color:#4a252b transparent;animation:compose-modal-in .2s cubic-bezier(.2,.75,.25,1)}
.compose-modal-head{position:sticky;top:0;z-index:2;height:68px;padding:0 20px;background:#121012f2;backdrop-filter:blur(14px);border-bottom:1px solid #ffffff10}
.compose-modal-head>span:first-of-type{font-size:14px;letter-spacing:.015em;color:#f4eff0}
.compose-modal-close{width:36px;height:36px;border:1px solid #ffffff16;border-radius:10px;background:#ffffff08;color:#aaa2a5;font-size:23px;transition:background .18s,border-color .18s,color .18s}
.compose-modal-close:hover{background:#ed26381a;border-color:#ed263866;color:#fff}
.compose-modal-count{color:#777078;font-variant-numeric:tabular-nums}
.compose-modal-publish{min-width:100px;height:39px;border-radius:10px;background:#ed2638;color:#fff;font-size:12px;font-weight:750;box-shadow:0 5px 18px #ed26382b;transition:background .18s,transform .18s,box-shadow .18s}
.compose-modal-publish:hover{background:#ff3548;box-shadow:0 7px 22px #ed263844;transform:translateY(-1px)}
.compose-modal-body{padding:20px 22px 22px}
.compose-modal-user{margin-bottom:16px;color:#f0edef;font-size:13px}
.compose-modal-user .avatar{width:38px;height:38px;border:1px solid #ffffff20}
.compose-modal-body textarea{min-height:150px;padding:0 1px;color:#f6f2f3;font-size:15px;line-height:1.7;caret-color:#ed2638}
.compose-modal-body textarea::placeholder{color:#777176}
.compose-modal-preview{margin:10px 0 16px;padding:9px;border:1px solid #ffffff16;border-radius:13px;background:#09090b}
.compose-modal-preview img{max-height:320px;border-radius:8px}
.compose-modal-context{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:16px 0;border-top:1px solid #ffffff12}
.compose-modal-context button,.compose-modal-footer button{min-width:0;min-height:44px;justify-content:flex-start;padding:0 13px;border:1px solid #ffffff12;border-radius:10px;background:#1a171a;color:#c0b8bc;font-size:12px;transition:background .18s,border-color .18s,color .18s}
.compose-modal-context button:hover,.compose-modal-footer button:hover{background:#241518;border-color:#ed263866;color:#fff}
.compose-modal-context button:focus-visible,.compose-modal-footer button:focus-visible,.compose-modal-publish:focus-visible,.compose-modal-close:focus-visible{outline:2px solid #ed2638;outline-offset:2px}
.compose-modal-extra{padding:12px 0}
.compose-modal-extra label{gap:8px;color:#c7bec2;font-size:12px}
.compose-modal-extra input,.compose-modal-extra select{height:43px;border:1px solid #ffffff18;border-radius:10px;background:#171417;color:#f5f1f2}
.compose-modal-extra input:focus,.compose-modal-extra select:focus{border-color:#ed263899;box-shadow:0 0 0 3px #ed263817}
.compose-collab-results{border-color:#ffffff18;border-radius:10px;background:#151215}
.compose-collab-results button:hover{background:#ed26381a}
.compose-modal-extra small{color:#ff7b88}
.compose-modal-footer{gap:14px;padding-top:16px;border-top:1px solid #ffffff12}
.compose-modal-footer button{justify-content:center;color:#ff7784}
.compose-modal-footer>span{color:#777078;font-size:10px}
body.compose-modal-open{overflow:hidden!important}
@media(max-width:600px){
 .compose-modal{padding:14px!important;place-items:center!important}
 .compose-modal-panel{width:100%;max-width:none;max-height:calc(100dvh - 28px);border-radius:16px}
 .compose-modal-head{height:62px;padding:0 13px;gap:9px}
 .compose-modal-body{padding:16px}
 .compose-modal-body textarea{min-height:126px}
 .compose-modal-context{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .compose-modal-context button{padding:0 10px}
}
@media(prefers-reduced-motion:reduce){.compose-modal-panel,.compose-modal-publish,.compose-modal-close{animation:none;transition:none}}


/* Modal visibility/stacking hardening: render above page-level stacking contexts. */
#compose-modal{position:fixed!important;inset:0!important;z-index:2147483000!important;display:grid!important;place-items:center!important;padding:24px!important;overflow-y:auto!important;box-sizing:border-box!important;isolation:isolate!important}
#compose-modal[hidden]{display:none!important}
#compose-modal:not([hidden]){visibility:visible!important;opacity:1!important}
#compose-modal .compose-modal-backdrop{position:fixed!important;inset:0!important;z-index:0!important;display:block!important;background:rgba(4,4,6,.78)!important;backdrop-filter:blur(15px) saturate(.82)!important;-webkit-backdrop-filter:blur(15px) saturate(.82)!important}
#compose-modal .compose-modal-panel{position:relative!important;z-index:1!important;display:block!important;visibility:visible!important;opacity:1!important;flex:none!important;width:min(620px,100%)!important;max-width:620px!important;max-height:calc(100dvh - 48px)!important;height:auto!important;margin:auto!important;overflow-x:hidden!important;overflow-y:auto!important;transform:none;box-sizing:border-box!important;border:1px solid #64232d!important;border-radius:18px!important;background:linear-gradient(155deg,#1a1417 0%,#111012 48%,#0b0b0d 100%)!important;box-shadow:0 32px 100px #000d,0 0 55px #ed26381c!important}
#compose-modal .compose-modal-head{position:sticky!important;top:0!important;z-index:2!important;background:#151114f5!important}
#compose-modal .compose-modal-publish{background:#ed2638!important;color:#fff!important}
@media(max-width:600px){
 #compose-modal{padding:14px!important}
 #compose-modal .compose-modal-panel{width:100%!important;max-width:none!important;max-height:calc(100dvh - 28px)!important;border-radius:16px!important}
}


/* Compose window: editorial, compact and purposeful component hierarchy */
#compose-modal .compose-modal-panel{width:min(600px,100%)!important;border:1px solid #332329!important;border-radius:17px!important;background:#111013!important;box-shadow:0 28px 90px #000d,0 0 0 1px #ed26380a!important}
#compose-modal .compose-modal-head{height:72px;display:flex;align-items:center;gap:13px;padding:0 19px!important;border-bottom:1px solid #ffffff10!important}
#compose-modal .compose-modal-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:8px;border:1px solid #ffffff16;border-radius:10px;background:#ffffff05;color:#aaa}
#compose-modal .compose-modal-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#compose-modal .compose-modal-heading{display:grid;gap:3px;min-width:0;flex:1}
#compose-modal .compose-modal-heading #compose-modal-title{font-size:15px;font-weight:700;letter-spacing:-.02em;color:#f4f1f2}
#compose-modal .compose-modal-heading small{font-size:11px;color:#858087}
#compose-modal .compose-modal-count{font-size:11px;color:#77717a;font-variant-numeric:tabular-nums}
#compose-modal .compose-modal-publish{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:91px;height:37px;border:1px solid #ff5362;border-radius:9px;background:#d91f32!important;color:#fff!important;font-size:12px;font-weight:700;letter-spacing:.01em;box-shadow:none}
#compose-modal .compose-modal-publish svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#compose-modal .compose-modal-body{padding:19px 21px 17px!important}
#compose-modal .compose-modal-user{display:flex;align-items:center;gap:11px;margin:0 0 15px;color:#f2eef0}
#compose-modal .compose-modal-user .avatar{width:39px;height:39px;flex:0 0 39px;border:1px solid #ffffff1c;border-radius:50%;overflow:hidden}
#compose-modal .compose-modal-user>div{display:grid;gap:3px}
#compose-modal .compose-modal-user strong{font-size:12px;font-weight:700;color:#f5f1f2}
#compose-modal .compose-modal-user small{font-size:10px;color:#827b83}
#compose-modal .compose-modal-body textarea{display:block;width:100%;min-height:142px;padding:0 0 17px!important;border:0!important;outline:0!important;resize:vertical;background:transparent!important;color:#f3eff1!important;font-family:inherit;font-size:15px!important;line-height:1.7!important;letter-spacing:0!important;box-shadow:none!important}
#compose-modal .compose-modal-body textarea::placeholder{color:#77717a!important}
#compose-modal .compose-modal-context{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:15px 0!important;border-top:1px solid #ffffff10!important}
#compose-modal .compose-modal-context button{display:flex!important;align-items:center!important;gap:11px!important;min-width:0;min-height:58px!important;padding:9px 12px!important;border:1px solid #ffffff12!important;border-radius:11px!important;background:#19171a!important;color:#e5dfe2!important;text-align:left;justify-content:flex-start!important}
#compose-modal .compose-modal-context button:hover{border-color:#8e2936!important;background:#211619!important}
#compose-modal .compose-modal-context button>svg{display:block;flex:0 0 21px;width:21px;height:21px;fill:none;stroke:#f05262;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#compose-modal .compose-modal-context button>span{display:grid;gap:4px;min-width:0}
#compose-modal .compose-modal-context button strong{font-size:12px;font-weight:650;line-height:1.15;color:#eee8eb}
#compose-modal .compose-modal-context button small{font-size:10px;font-weight:400;line-height:1.2;color:#88818a}
#compose-modal .compose-modal-extra{padding:13px 0!important;border-top:1px solid #ffffff0d}
#compose-modal .compose-modal-extra label{display:grid;gap:8px;color:#dcd5d9;font-size:11px;font-weight:650}
#compose-modal .compose-modal-extra input,#compose-modal .compose-modal-extra select{width:100%;min-height:42px;padding:0 12px;border:1px solid #ffffff18;border-radius:9px;background:#19171a;color:#f2edf0;font:inherit;font-size:12px}
#compose-modal .compose-modal-extra input::placeholder{color:#77717a}
#compose-modal .compose-modal-extra small{color:#f0808b;font-size:11px}
#compose-modal .compose-collab-results{margin-top:6px;overflow:hidden;border:1px solid #ffffff16;border-radius:9px;background:#19171a}
#compose-modal .compose-modal-preview{position:relative;margin:0 0 15px;padding:7px;border:1px solid #ffffff16;border-radius:11px;background:#09090b}
#compose-modal .compose-modal-preview img{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:7px}
#compose-modal .compose-modal-preview [data-compose-remove]{position:absolute;top:13px;right:13px;width:30px;height:30px;border:1px solid #ffffff24;border-radius:50%;background:#080808d9;color:#fff;font-size:19px}
#compose-modal .compose-modal-footer{display:flex;justify-content:space-between;gap:12px;padding-top:13px!important;border-top:1px solid #ffffff10!important}
#compose-modal .compose-modal-footer span:first-child{color:#b8afb5;font-size:11px;font-weight:600}
#compose-modal .compose-modal-footer span:last-child{color:#706a72;font-size:10px}
.post-collaboration-line{display:flex!important;align-items:center;gap:7px!important;margin:-5px 16px 10px!important;padding:0!important;color:#bcb3b9!important;font-size:11px!important;line-height:1.35}
.post-collaboration-line>svg{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:#ed5362;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.post-collaboration-line>span{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.post-collaboration-line a{color:#e7dfe3!important;font-weight:650;text-decoration:none}
.post-collaboration-line a:hover{color:#ff6876!important;text-decoration:underline}
.post-collaboration-line i{color:#6d626a;font-style:normal}
@media(max-width:600px){
 #compose-modal .compose-modal-body{padding:15px!important}
 #compose-modal .compose-modal-head{padding:0 13px!important;gap:9px}
 #compose-modal .compose-modal-context{gap:7px!important}
 #compose-modal .compose-modal-context button{min-height:54px!important;padding:8px 9px!important;gap:8px!important}
 #compose-modal .compose-modal-context button>svg{width:19px;height:19px;flex-basis:19px}
}


/* Audience controls and final publish action */
#compose-modal .compose-modal-head{justify-content:flex-start}
#compose-modal .compose-modal-count{margin-left:auto}
#compose-modal .compose-visibility-compact{margin:15px 0 4px;padding:15px 0 4px;border-top:1px solid #ffffff12}
#compose-modal .compose-visibility-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
#compose-modal .compose-visibility-title>div{display:grid;gap:3px}
#compose-modal .compose-visibility-title strong{font-size:12px;font-weight:700;color:#eee8eb}
#compose-modal .compose-visibility-title small{font-size:10px;color:#89818a}
#compose-modal .compose-visibility-current{padding:5px 9px;border:1px solid #7e2934;border-radius:7px;background:#281519;color:#ff9aa4;font-size:10px;font-weight:650}
#compose-modal .compose-visibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#compose-modal .compose-visibility-choice{position:relative;display:flex;align-items:center;gap:9px;min-width:0;min-height:52px;padding:8px 10px;border:1px solid #ffffff12;border-radius:9px;background:#171518;cursor:pointer;transition:border-color .15s,background .15s}
#compose-modal .compose-visibility-choice:hover{border-color:#71303a;background:#201619}
#compose-modal .compose-visibility-choice:has(input:checked){border-color:#a83240;background:#27171b;box-shadow:inset 0 0 0 1px #a8324033}
#compose-modal .compose-visibility-choice input{position:absolute;opacity:0;pointer-events:none}
#compose-modal .compose-choice-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:8px;background:#ffffff08;color:#a49ba2}
#compose-modal .compose-choice-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#compose-modal .compose-visibility-choice:has(input:checked) .compose-choice-icon{background:#ed26381c;color:#ff6472}
#compose-modal .compose-visibility-choice>span:last-child{display:grid;gap:3px;min-width:0}
#compose-modal .compose-visibility-choice b{overflow:hidden;color:#e7e0e4;font-size:10px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
#compose-modal .compose-visibility-choice small{overflow:hidden;color:#817a82;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
#compose-modal .compose-plan-picker{margin-top:10px;padding:12px;border:1px solid #65303a;border-radius:10px;background:#1a1417}
#compose-modal .compose-plan-picker[hidden],#compose-modal .compose-adult-note[hidden]{display:none!important}
#compose-modal .compose-plan-heading{display:grid;gap:3px;margin-bottom:9px}
#compose-modal .compose-plan-heading strong{color:#f1e9ed;font-size:11px}
#compose-modal .compose-plan-heading small{color:#938890;font-size:10px}
#compose-modal .compose-plan-list{display:grid;gap:6px}
#compose-modal .compose-plan-option{display:flex;align-items:center;gap:9px;min-width:0;padding:9px;border:1px solid #ffffff12;border-radius:8px;background:#110f12;cursor:pointer}
#compose-modal .compose-plan-option:has(input:checked){border-color:#9c3440;background:#26171b}
#compose-modal .compose-plan-option input{position:absolute;opacity:0;pointer-events:none}
#compose-modal .compose-plan-check{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px;border:1px solid #65545d;border-radius:4px;color:transparent}
#compose-modal .compose-plan-option input:checked+.compose-plan-check{border-color:#ed2638;background:#ed2638;color:#fff}
#compose-modal .compose-plan-check:after{content:"✓";font-size:11px}
#compose-modal .compose-plan-info{display:grid;gap:3px;min-width:0;flex:1}
#compose-modal .compose-plan-info b{overflow:hidden;color:#e9e1e5;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
#compose-modal .compose-plan-info small{overflow:hidden;color:#817982;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
#compose-modal .compose-plan-price{color:#ff8b96;font-size:10px;white-space:nowrap}
#compose-modal .compose-plan-count{display:block;margin-top:8px;color:#ff9aa4;font-size:10px}
#compose-modal .compose-plan-empty{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#bcb1b8;font-size:10px}
#compose-modal .compose-plan-empty a{color:#ff7d89;font-weight:650}
#compose-modal .compose-adult-note{margin:9px 0 0;padding:9px 11px;border:1px solid #7a333d;border-radius:8px;background:#27171b;color:#e9a0a7;font-size:10px;line-height:1.5}
#compose-modal .compose-modal-footer{align-items:center;gap:12px;padding-top:14px!important}
#compose-modal .compose-footer-note{display:flex;align-items:center;gap:7px;min-width:0;color:#b9afb5;font-size:10px}
#compose-modal .compose-footer-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#ed2638;box-shadow:0 0 0 3px #ed26381c}
#compose-modal .compose-modal-footer .compose-modal-publish{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:150px;height:43px;padding:0 17px;border:1px solid #fa5362;border-radius:10px;background:linear-gradient(180deg,#ed2638,#c91c2e)!important;color:#fff!important;font-size:12px;font-weight:750;box-shadow:0 7px 20px #ed26382b;cursor:pointer}
#compose-modal .compose-modal-footer .compose-modal-publish:hover{background:linear-gradient(180deg,#ff4052,#d91f32)!important;box-shadow:0 8px 24px #ed263844}
#compose-modal .compose-modal-footer .compose-modal-publish svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#compose-modal .compose-modal-footer .compose-modal-publish:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){#compose-modal .compose-visibility-grid{gap:6px}#compose-modal .compose-visibility-choice{min-height:49px;padding:7px}#compose-modal .compose-modal-footer{align-items:stretch;flex-direction:column}#compose-modal .compose-modal-footer .compose-modal-publish{width:100%}}


/* Compose context controls: one exclusive panel at a time, clear selection states. */
.compose-modal-context{grid-template-columns:repeat(4,minmax(0,1fr))}
.compose-modal-context button{position:relative;min-height:58px;justify-content:flex-start!important;gap:10px!important;padding:8px 11px!important;text-align:left}
.compose-modal-context button>svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.compose-modal-context button>span{display:grid;gap:2px;min-width:0}
.compose-modal-context button strong{font-size:11px;color:#f0e9eb;font-weight:700}
.compose-modal-context button small{font-size:10px;color:#837980;white-space:normal}
.compose-modal-context button[aria-expanded="true"]{border-color:#ed263899;background:#ed263817;color:#fff;box-shadow:0 0 0 2px #ed26380d}
.compose-modal-extra{margin:2px 0 12px;padding:16px!important;border:1px solid #ffffff14;border-radius:14px;background:linear-gradient(145deg,#1a1518,#121113);animation:compose-context-in .16s ease-out}
@keyframes compose-context-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.compose-extra-heading{display:grid;gap:4px;margin-bottom:13px}
.compose-extra-heading strong{font-size:13px;color:#f6eff1}
.compose-extra-heading small,.compose-location-hint{font-size:11px;color:#91868b;line-height:1.5}
.compose-search-field,.compose-location-field{display:flex!important;align-items:center;gap:10px!important;min-height:46px;padding:0 12px;border:1px solid #ffffff1c;border-radius:11px;background:#0e0d10}
.compose-search-field>span{color:#ed6573;font-weight:800;font-size:16px}
.compose-search-field input,.compose-location-field input{width:100%;height:44px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:13px}
.compose-location-field svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#ed6573;stroke-width:1.7}
.compose-location-hint{display:block;margin-top:9px}
.compose-collab-results{margin-top:8px;max-height:220px;padding:5px;background:#100e11;border-color:#ffffff18}
.compose-collab-results .compose-user-result{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border-radius:8px;text-align:left;background:transparent;color:#eee;border:0;cursor:pointer}
.compose-collab-results .compose-user-result:hover{background:#ed26381c}
.compose-user-result img{width:30px;height:30px;object-fit:cover;border-radius:50%}
.compose-user-result span{font-size:12px;font-weight:650}
.compose-selection-note{display:block;min-height:16px;margin-top:9px;color:#ff8994!important;font-size:11px}
.compose-mood-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.compose-mood-options button{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-height:42px;padding:0 9px;border:1px solid #ffffff15;border-radius:10px;background:#100e11;color:#f2e9ec;font-size:17px;cursor:pointer}
.compose-mood-options button span{font-size:11px}
.compose-mood-options button:hover,.compose-mood-options button.is-selected{border-color:#ed263899;background:#ed26381a}
@media(max-width:600px){
 .compose-modal-context{grid-template-columns:repeat(2,minmax(0,1fr))}
 .compose-mood-options{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Inline mention autocomplete — native to the caption field, not a separate tool. */
.compose-caption-wrap{position:relative;width:100%;min-width:0}
.compose-caption-wrap>textarea{display:block;width:100%}
.compose-mention-suggestions{position:absolute;z-index:80;left:0;top:calc(100% + 7px);width:min(100%,340px);max-height:260px;overflow-y:auto;padding:5px;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:#151518;box-shadow:0 12px 34px rgba(0,0,0,.42)}
.compose-mention-suggestions[hidden]{display:none}
.compose-mention-option{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:#f1eef0;text-align:left;cursor:pointer;transition:background .12s ease}
.compose-mention-option:hover,.compose-mention-option[aria-selected="true"]{background:rgba(255,255,255,.075)}
.compose-mention-option img{width:32px;height:32px;flex:0 0 32px;border-radius:50%;object-fit:cover;background:#282528}
.compose-mention-identity{display:grid;gap:2px;min-width:0}
.compose-mention-identity strong{font-size:12px;font-weight:650;color:#f3eef0}
.compose-mention-identity small{font-size:10px;color:#8f898d}
.compose-modal-context{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.compose-modal-context button{min-height:46px;justify-content:flex-start;padding:7px 9px;font-size:12px}
.compose-modal-context button>span{display:grid;gap:2px;text-align:left}
.compose-modal-context button strong{font-size:11px;font-weight:650}
.compose-modal-context button small{font-size:10px;color:#89848a}
@media(max-width:600px){.compose-modal-context{grid-template-columns:repeat(2,minmax(0,1fr))}}
