@import url('/assets/fonts/fonts.css');
@import url('/assets/fonts/reading.css');

:root{
  color-scheme:dark;
  --ground:#101015;--surface:#19191f;--surface2:#202027;--line:#34323c;
  --ink:#f7f4f1;--muted:#b4aeba;--soft:#d9d4db;--pink:#ff79a4;--aqua:#7fe1d5;
  --heading:'Barlow Condensed','Arial Narrow',sans-serif;--body:'DM Sans',Arial,sans-serif;
}
*{box-sizing:border-box}
html:lang(ru){--heading:'Roboto Condensed',Arial,sans-serif;--body:'Roboto',Arial,sans-serif}
html:lang(hi){--heading:'Noto Sans Devanagari',sans-serif;--body:'Noto Sans Devanagari',sans-serif}
.brand,.hero h1{--heading:'Barlow Condensed','Arial Narrow',sans-serif}
html:lang(hi) :is(.card-copy :is(h2,h3),.article-header h1,.section-head h2,.page-intro h1,.waypoint-copy h3){line-height:1.33}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--body);font-size:1rem;line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation}
a{color:inherit;text-decoration:none}
button{color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--aqua);outline-offset:4px}
img{max-width:100%;display:block}
button:disabled{opacity:.62;cursor:wait}
[hidden]{display:none!important}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{overflow-wrap:break-word}
p,figcaption,.topic-title,.byline,.source-video{overflow-wrap:anywhere}
.icon{flex:none;vertical-align:middle}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip:focus{position:fixed;top:8px;left:16px;z-index:9;padding:10px 18px;background:var(--aqua);color:#101015}
.wrap{width:min(1320px,calc(100% - clamp(52px,8.2vw,148px)));margin-inline:auto}
.site-head{position:relative;z-index:5;background:#131217;border-bottom:1px solid #302c35}
.head-inner{height:73px;display:flex;align-items:center;gap:clamp(24px,5vw,80px)}
.brand{display:inline-flex;align-items:center;gap:9px;flex-shrink:0}
.brand img{width:43px;height:43px}
.brand>span{display:flex;flex-direction:column;line-height:1;align-items:flex-start}
.brand b{font:italic 900 1.58rem/.91 var(--heading);letter-spacing:-.035em}
.brand small{font:800 .72rem/1.3 var(--heading);letter-spacing:.37em;color:var(--pink);padding-top:4px}
.desktop-nav{display:flex;align-self:stretch;gap:clamp(20px,2.45vw,40px);align-items:stretch}
.desktop-nav a{display:flex;align-items:center;position:relative;font-size:.94rem;font-weight:600;color:#bfb9c5;transition:color .15s}
.desktop-nav a:hover,.desktop-nav a[aria-current],.login-link:hover,.foot-inner a:hover{color:#fff}
.desktop-nav a[aria-current]::after{position:absolute;content:"";height:3px;bottom:0;left:0;right:0;background:var(--pink)}
.account-actions{margin-left:auto;display:flex;align-items:center;gap:clamp(14px,1.75vw,28px)}
.login-link{font-size:.94rem;font-weight:650}
.icon-button{display:inline-grid;place-items:center;width:41px;height:41px;background:transparent;border:0;color:#f2edf2;border-radius:5px}
.icon-button:hover{background:var(--surface2)}
.head-search{position:relative;margin-right:2px}
.head-search::after{position:absolute;content:"";right:-11px;width:1px;height:22px;background:var(--line)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 18px;border-radius:5px;font-weight:750;font-size:.9rem;line-height:1.24;border:1px solid transparent;transition:background .16s,border-color .16s,transform .16s;text-align:center}
.button:hover{transform:translateY(-1px)}
.button.hot{background:var(--pink);color:#21131c}
.button.hot:hover{background:#ff92b7}
.button.subtle,.member-button{border-color:#4a424f;background:#232129;color:#f8f2f7}
.button.subtle:hover,.member-button:hover{background:#342d37}
.button.glass{background:#1a151dcc;border-color:#8c7688;color:#fff;backdrop-filter:blur(5px)}
.button.glass:hover{background:#382a37}
.nav-join{padding-inline:19px;min-height:39px}
.mobile-toggle,.mobile-nav{display:none}
.home{padding-top:25px}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:338px;height:clamp(338px,29.3vw,414px);display:flex;align-items:center;border-radius:12px;border:1px solid #4c3c4c;background:#302235}
.hero-frames,.hero-frame,.hero-shade{position:absolute;inset:0;height:100%;width:100%}
.hero-frames{z-index:-3}
.hero-frame{object-fit:cover;object-position:center 68%;opacity:0;transition:opacity .32s}
.hero-frame.is-active{opacity:1}
.hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(14,12,20,.95) 0%,rgba(23,14,28,.87) 22%,rgba(26,15,29,.65) 39%,rgba(26,15,29,.06) 69%),linear-gradient(0deg,rgba(21,11,25,.35),transparent 28%);}
.hero:after{content:"";position:absolute;right:25px;top:22px;width:clamp(49px,4.4vw,68px);height:60px;background:url('/media/screens/gta-vi-logo.png') no-repeat top right/contain;filter:drop-shadow(0 2px 7px #220f32a0);pointer-events:none}
.hero-copy{padding:22px 0 26px clamp(27px,3.9vw,64px);position:relative;z-index:1}
.hero-kicker,.eyebrow{display:flex;align-items:center;gap:10px;font-size:.77rem;line-height:1.4;font-weight:750;letter-spacing:.15em;text-transform:uppercase}
.hero-kicker{color:#b9f4e8;margin-bottom:12px;font-size:.75rem;text-shadow:0 1px 5px #08090a}
.hero-kicker span{width:26px;height:2px;background:var(--aqua)}
.hero h1{display:flex;flex-direction:column;align-items:flex-start;width:fit-content;line-height:1}
.hero h1 b{display:block;font:italic 900 clamp(5.35rem,7.6vw,7.7rem)/.85 var(--heading);letter-spacing:-.036em;color:#fff9ef;white-space:nowrap;padding-right:.1em;text-shadow:1px 3px #29142057}
.hero h1 em,.auth-art em{font:400 clamp(4.5rem,6.45vw,6.55rem)/.8 Yellowtail,cursive;color:var(--pink);transform:rotate(-7deg);margin-top:-.085em;margin-left:.52em;letter-spacing:-.045em;text-shadow:2px 3px 0 #681c4c6b}
.hero-copy>p{font-size:clamp(.98rem,1.13vw,1.06rem);line-height:1.5;max-width:395px;color:#e5dfe6;margin:18px 0 20px}
.hero-actions,.action-row,.form-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.hero-actions .button{min-height:42px}
.frame-dock{position:absolute;z-index:2;right:21px;bottom:17px;display:flex;align-items:center;gap:12px;padding:4px 10px 4px 9px;border:1px solid #ffffff35;border-radius:4px;background:#151117bd;backdrop-filter:blur(8px)}
.frame-label,.frame-dots{display:flex;align-items:center}
.frame-label{gap:6px;font-size:.76rem;color:#f2ebf2}
.frame-dots{gap:1px;border-left:1px solid #ffffff35;padding-left:8px}
.frame-dots button{display:grid;place-items:center;width:17px;height:23px;padding:0;border:0;background:transparent}
.frame-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#aca0aa}
.frame-dots [aria-pressed=true] i{background:var(--pink)}
.section-block{margin-top:30px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.section-head h2,.side-head h2,.related h2,.sources h2{font:700 clamp(1.75rem,2.3vw,2.24rem)/1.05 var(--heading);letter-spacing:.005em}
.section-head h2{display:flex;align-items:center;gap:12px}
.slash{width:12px;height:22px;flex:none;background:linear-gradient(90deg,var(--pink) 0 38%, transparent 38% 57%,var(--pink) 57%);transform:skewX(-15deg);display:inline-block}
.text-link{color:var(--aqua);font-size:.89rem;font-weight:650;text-decoration:underline;text-decoration-color:#75dbce66;text-underline-offset:5px}
.text-link:hover{color:#a9f9ea;text-decoration-color:currentColor}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.story-card{border-radius:9px;overflow:hidden;background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;transition:border-color .18s,transform .18s}
.story-card:hover{border-color:#8c6177;transform:translateY(-3px)}
.card-image{position:relative;aspect-ratio:2.34;overflow:hidden;background:#28222c}
.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .28s}
.story-card:hover .card-image img{transform:scale(1.035)}
.card-chip,.tag{display:inline-flex;align-items:center;gap:6px;font-weight:750;letter-spacing:.075em;text-transform:uppercase;font-size:.74rem;line-height:1}
.card-chip{position:absolute;bottom:10px;left:12px;background:#131218e8;backdrop-filter:blur(5px);padding:6px 8px;border-radius:3px;color:var(--accent)}
.card-copy{padding:12px 16px 14px;flex:1;display:flex;flex-direction:column}
.card-copy :is(h2,h3){font:700 clamp(1.4rem,1.72vw,1.72rem)/1.1 var(--heading);letter-spacing:.004em;text-wrap:pretty}
.read-length{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.78rem;margin-top:auto;padding-top:9px}
.green{--accent:#a6e8a5}.aqua{--accent:#7de0d8}.amber{--accent:#ffc676}.coral{--accent:#ff9c89}.violet{--accent:#c3a6fa}.pink{--accent:var(--pink)}
.tag,.topic-meta span{color:var(--accent)}
.feed-layout,.reading-grid{display:grid;grid-template-columns:minmax(0,2.23fr) minmax(235px,.89fr);align-items:start;gap:25px}
.feed-layout{margin:33px 0 50px}
.side-panel,.topic-list{background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden}
.topic-row{padding:15px 18px;display:flex;align-items:center;gap:13px}
.topic-row+.topic-row,.board-link+.board-link{border-top:1px solid var(--line)}
.board-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;background:color-mix(in srgb,var(--accent) 11%,#17171e);border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);color:var(--accent);border-radius:7px}
.topic-info{min-width:0}
.topic-title{font-weight:680;font-size:1.03rem}
.topic-title:hover,.topic-meta a:hover,.sources a:hover,.toc a:hover,.auth-switch a:hover{color:var(--pink)}
.topic-meta,.byline,.read-length,.result-line,.muted,.crumbs{color:var(--muted)}
.topic-meta,.byline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.topic-meta{margin-top:3px;font-size:.8rem}
.topic-meta i,.byline i,.crumbs i{font-style:normal;color:#8e8593}
.reply-count{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.84rem}
.side-head{display:flex;gap:10px;align-items:center;padding:17px 18px;color:var(--aqua);border-bottom:1px solid var(--line)}
.side-head h2{font-size:1.5rem;color:var(--ink)}
.board-links{padding:1px 15px}
.board-link{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:.9rem;font-weight:600}
.board-link:hover>span:nth-child(2){color:var(--pink)}
.board-link .board-icon{width:30px;height:30px;border:0;border-radius:5px}
.board-link small{margin-left:auto;color:var(--muted);font-size:.78rem}
footer{border-top:1px solid var(--line);background:#131217}
.foot-inner{min-height:88px;display:flex;align-items:center;gap:22px;justify-content:space-between;flex-wrap:wrap;padding-block:20px}
.foot-inner .brand{transform:scale(.88);transform-origin:left center}
.foot-inner>span,.foot-inner nav{font-size:.85rem;color:var(--muted)}
.foot-inner>span{margin-right:auto}
.foot-inner nav{display:flex;gap:20px;flex-wrap:wrap}
.subpage{padding-top:21px;padding-bottom:55px}
.crumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.83rem;margin-bottom:24px}
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;list-style:none}.crumbs li{display:inline-flex;align-items:baseline;gap:8px;min-width:0}.crumbs [aria-current=page]{overflow-wrap:anywhere}.crumbs a:hover{color:var(--aqua)}
.eyebrow{color:var(--aqua);margin-bottom:9px}
.faq-page{padding-bottom:4rem}
.faq-answer{max-width:76ch;border-top:1px solid var(--line);padding:1.4rem 0}
.faq-answer h2{font:700 clamp(1.45rem,2.8vw,2rem)/1.18 var(--heading)}
.faq-answer p{line-height:1.65;margin:.65rem 0;color:var(--soft)}
.faq-answer .text-link{display:inline-flex;align-items:center;gap:.3rem}
#video{scroll-margin-top:6rem}
.page-intro{margin-bottom:26px}
.page-intro h1,.article-header h1,.auth-dialog h1{font:800 clamp(2.65rem,5vw,4.7rem)/.99 var(--heading);letter-spacing:-.023em}
.page-intro p,.auth-dialog>p,.dek{color:var(--soft);margin-top:13px;max-width:720px}
.page-intro.with-action{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.board-feed{margin:30px 0 0}
.small{font-size:.85rem}
.pills,.filter-bar,.compact-search,.search-large,.pager{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:25px;color:var(--soft);border:1px solid var(--line);font-size:.86rem;background:var(--surface)}
.pill:hover{border-color:var(--aqua)}
.pill.selected{color:#172529;background:var(--aqua);border-color:var(--aqua);font-weight:700}
.filter-bar{justify-content:space-between;gap:14px}
.compact-search,.search-large{flex-wrap:nowrap}
.compact-search{background:var(--surface);border:1px solid var(--line);border-radius:5px;gap:0}
.compact-search input{max-width:155px;background:none;border:0;padding:8px 10px;color:var(--ink);min-width:0}
.compact-search button{border:0;min-height:38px;background:none;color:var(--muted);padding:0 11px}
.result-line{font-size:.86rem;margin:19px 0 12px}
.library{row-gap:23px}
.pager{margin-top:24px;justify-content:center;color:var(--muted);gap:18px}
.reading-grid{grid-template-columns:minmax(0,2.25fr) minmax(224px,.75fr);gap:clamp(24px,4.4vw,76px)}
.reading{min-width:0}
.article-header{margin-bottom:20px}
.article-header h1{font-size:clamp(2.75rem,4.8vw,4.6rem);margin:13px 0}
.dek{font-size:1.12rem}
.byline{margin-top:17px;font-size:.85rem}
.byline b,.reply b{color:var(--ink)}
.avatar{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:50%;background:#433046;color:#ffc8dc;font-size:.72rem;font-weight:750}
.article-figure img{border-radius:7px;width:100%;height:auto;max-height:680px;object-fit:contain;background:#19191e}
.guide-film{margin:0;max-width:100%}
.video-stage{position:relative;aspect-ratio:16 / 9;min-height:200px;overflow:hidden;background:#09090d;border-radius:8px}
.video-stage iframe,.video-poster,.video-poster img{display:block;width:100%;height:100%;border:0}
.video-poster{position:relative;color:white;isolation:isolate}
.video-poster:focus-visible{outline-offset:-4px;outline-color:#fff}
.video-poster img{object-fit:cover}
.video-poster::after{position:absolute;content:"";inset:0;z-index:0;pointer-events:none;background:linear-gradient(0deg,#08070dbb,transparent 38%)}
.video-play{position:absolute;z-index:1;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:52px;padding:.65rem 1.15rem .65rem .85rem;background:#15131bed;border:1px solid #ffffff94;border-radius:28px;color:white;box-shadow:0 4px 24px #0006;font-weight:700;line-height:1.2;white-space:nowrap}
.video-play .icon{color:var(--pink)}
.video-poster:hover .video-play,.video-poster:focus-visible .video-play{border-color:var(--pink);background:#261b26}
.video-provider{position:absolute;z-index:1;right:13px;bottom:12px;display:flex;align-items:center;gap:.55rem;padding:4px 9px;color:white;background:#09080dde;border-radius:4px;font:600 .8rem/1.35 var(--body)}
.video-duration{border-left:1px solid #ffffff65;padding-left:.55rem;font-variant-numeric:tabular-nums}
.video-under{display:flex;align-items:baseline;gap:.3rem 1rem;flex-wrap:wrap;color:var(--muted);font-size:.86rem;line-height:1.5}
.video-under>p,.video-jump,.video-external{margin-top:.55rem}
.video-under>p{flex:1 1 24rem}
.video-jump,.video-external{color:var(--aqua)}
.video-jump{display:inline-flex;align-items:center;gap:4px}
.video-jump:hover,.video-external a:hover{text-decoration:underline}
.video-choices{display:flex;gap:6px;flex-wrap:wrap;margin-top:.7rem}
.video-choice{display:inline-flex;align-items:center;min-height:34px;padding:4px 11px;border:1px solid var(--line);border-radius:6px;font-size:.86rem;color:var(--muted)}
.video-choice[aria-current="true"]{color:var(--ink);border-color:var(--pink);background:#ff79a415}
.video-choice:hover{color:var(--ink);border-color:var(--soft)}
.article-figure figcaption{color:var(--muted);font-size:.85rem;line-height:1.5;margin-top:7px}
.article-figure figcaption span,.article-figure figcaption a{color:var(--aqua)}
.article-body section{margin:30px 0}
.article-body h2,.prose h2,.info-body h2,.join-note h3,.related h2,.sources h2{font:700 1.8rem/1.15 var(--heading);margin-bottom:11px}
.article-body p,.prose p,.info-body p{font-size:1.045rem;line-height:1.74;color:#e2dde5;max-width:74ch;margin:9px 0 14px}
.article-body .article-figure{margin:15px 0 0}
.timestamp a,.source-video a{color:var(--aqua);display:inline-flex;align-items:center;gap:7px;text-decoration:underline;text-underline-offset:3px}
.toc{padding-bottom:10px}
.toc>a{display:block;padding:9px 17px;color:var(--soft);font-size:.94rem}
.related{margin-top:25px}
.related>a{display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);padding:10px 0;font-weight:600;font-size:.92rem}
.related img{width:74px;height:48px;object-fit:cover;border-radius:4px}
.sources{border-top:1px solid var(--line);padding-top:20px;margin-top:28px}
.sources ul{padding:0;list-style:none}
.sources li{display:grid;grid-template-columns:16px 1fr;column-gap:9px;margin:12px 0;font-size:.94rem}
.sources li>.icon{margin-top:4px;color:var(--aqua)}
.sources li a,.sources li small{grid-column:2}
.sources li a{color:var(--aqua);text-decoration:underline;text-underline-offset:3px}
.sources li small{color:var(--muted)}
.discussion{margin-top:34px;border-top:1px solid var(--line);padding-top:22px}
.reply,.join-note,.reply-form,.compose{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:20px}
.reply{margin-bottom:12px}
.reply header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.9rem}
.reply header time{font-size:.79rem;color:var(--muted)}
.reply .prose{margin-top:12px}
.reply .prose p:last-child{margin-bottom:0}
.no-replies,.empty{color:var(--muted);font-size:.97rem;line-height:1.5}
.no-replies{margin-bottom:18px}
.empty{padding:20px}
.empty a,.auth-switch a,.form-note a,.info-body a:not(.button){color:var(--aqua);text-decoration:underline}
.join-note{display:flex;align-items:center;justify-content:space-between;gap:12px}
.join-note h3{margin:0 0 5px}
.join-note p{font-size:.95rem;color:var(--muted)}
.source-video{margin-top:16px}
.post-tools,.quiet-action{font-size:.8rem;color:var(--muted);margin-left:auto}
.post-tools summary,.attachments summary{cursor:pointer}
.post-tools a,.post-tools button{display:block}
.plain-action{font:inherit;color:var(--pink);border:0;background:transparent;padding:4px 0}
.narrow{max-width:820px}
.topic-body{border-top:1px solid var(--line);padding-top:10px}
.auth-wrap{min-height:69vh;display:grid;align-content:center;padding-block:38px}
.auth-frame{width:min(840px,100%);margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:13px;overflow:hidden;display:grid;grid-template-columns:.85fr 1.15fr}
.auth-art{background:linear-gradient(0deg,#231529da,transparent 65%),url('/media/screens/vice-city-skyline.webp') center/cover;display:flex;align-items:flex-end;padding:30px}
.auth-art>span{font:italic 900 3.2rem/.8 var(--heading);display:grid}
.auth-art em{font-size:3.6rem}
.auth-dialog{padding:clamp(25px,3.4vw,45px)}
.auth-dialog h1{font-size:2.8rem}
.auth-dialog>p{font-size:1rem;margin-bottom:18px}
.auth-switch{font-size:.92rem!important;margin-top:17px!important}
.full{width:100%}
.form-field{display:grid;gap:6px;margin-bottom:16px}
.form-field label{font-size:.94rem;font-weight:700}
.form-field input,.form-field textarea,.form-field select,.search-large input{width:100%;background:#111116;color:var(--ink);border:1px solid #48424e;border-radius:5px;padding:10px 13px;min-height:43px}
.form-field textarea{resize:vertical}
.form-field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' fill='none' stroke='%23d6ceda' stroke-width='2'%3E%3Cpath d='m2 3 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}
.form-field small,.form-note,.attachments summary{color:var(--muted);font-size:.87rem}
.form-note{margin-bottom:15px}
.attachments summary{color:var(--aqua);margin:15px 0}
.attachments summary .icon{margin-right:4px}
.action-row{margin-bottom:30px}
.recovery-code{display:block;overflow-wrap:anywhere;user-select:all;background:#101016;border:1px solid var(--line);border-radius:5px;padding:14px;color:var(--aqua);margin-bottom:20px}
.message-page{padding-block:45px 90px}
.search-large{max-width:750px;margin:0 0 28px}
.search-large+.section-head,.search-more+.section-head,.cards+.section-head,.empty+.section-head{margin-top:28px}
.search-more{display:inline-block;margin:15px 0}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 19px;margin-top:21px}
.gallery-grid figure{min-width:0}
.gallery-open{position:relative;display:block;aspect-ratio:1.8;overflow:hidden;border-radius:6px;background:var(--surface)}
.gallery-open img{width:100%;height:100%;object-fit:cover;transition:transform .22s}
.gallery-open:hover img{transform:scale(1.03)}
.photo-zoom{position:absolute;bottom:9px;right:9px;background:#141219c9;display:grid;place-items:center;border-radius:50%;width:31px;height:31px}
.gallery-grid figcaption{font-size:.87rem;line-height:1.4;margin-top:8px}
.gallery-grid figcaption span{display:block;color:var(--muted);font-size:.79rem;margin-top:3px}
#lightbox{width:min(1100px,94vw);max-height:94vh;padding:0;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:9px}
#lightbox::backdrop{background:#090810db}
#lightbox>img{width:100%;max-height:77vh;object-fit:contain;background:#0c0c0e}
.light-close{position:absolute;right:12px;top:12px;background:#111016cf}
.light-footer{padding:14px 18px;display:grid;gap:3px}
.light-footer a{color:var(--aqua);font-size:.88rem}
.info-body h2{margin-top:24px}
@media(min-width:1600px){.hero{height:410px}}
@media(max-width:960px){
  .wrap{width:calc(100% - 48px)}.head-inner{height:67px;gap:29px}.desktop-nav{gap:19px}
  .feed-layout{grid-template-columns:minmax(0,1.9fr) minmax(215px,.8fr);gap:18px}
  .cards{gap:13px}.card-copy{padding:11px 12px 13px}.hero{height:330px;min-height:0}
  .reading-grid{grid-template-columns:minmax(0,2.2fr) minmax(186px,.8fr);gap:21px}
}
@media(max-width:740px){
  .wrap{width:calc(100% - 32px)}.head-inner{height:63px;gap:10px}
  .desktop-nav,.login-link,.head-search:after{display:none}.mobile-toggle{display:inline-grid}
  .account-actions{gap:6px}.nav-join{min-height:35px;padding:7px 12px;font-size:.84rem}.head-search{width:35px;margin:0}
  .brand img{width:36px;height:36px}.brand{gap:7px}.brand b{font-size:1.38rem}.brand small{font-size:.65rem}
  .mobile-nav:not([hidden]){display:grid;position:absolute;top:100%;left:0;right:0;background:#1a181f;padding:9px 16px 16px;border-bottom:1px solid #48424e;box-shadow:0 16px 22px #0005}
  .mobile-nav a{padding:10px;border-bottom:1px solid #322e38}.mobile-nav a[aria-current]{color:var(--pink)}
  .home{padding-top:15px}.hero-copy{padding-left:23px}.hero:after{right:13px;top:14px;width:44px;height:44px}
  .feed-layout,.reading-grid{grid-template-columns:minmax(0,1fr)}.read-aside{display:none}
  .cards,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home .cards>.story-card:last-child:nth-child(odd){grid-column:1 / -1;display:grid;grid-template-columns:1fr 1.25fr}
  .home .cards>.story-card:last-child:nth-child(odd) .card-image{aspect-ratio:2.25;height:100%}
  .feed-layout{margin-top:24px}.gallery-grid{gap:16px 12px}.section-block{margin-top:24px}
  .foot-inner{gap:12px}.foot-inner>span{font-size:.8rem}.foot-inner nav{width:100%}
  .auth-frame{grid-template-columns:.6fr 1.4fr}.auth-art{padding:18px}
}
@media(max-width:500px){
  .hero{height:360px;border-radius:9px;align-items:flex-start}
  .hero-frame{object-position:65% 65%}
  .hero-shade{background:linear-gradient(90deg,#150d1be6 0%,#1d1321bc 38%,#23152238 84%),linear-gradient(0deg,#100c14b0,transparent 75%)}
  .hero-copy{padding:32px 13px 18px 19px;width:100%}.hero-kicker{font-size:.65rem;gap:7px;margin-bottom:14px}.hero-kicker span{width:18px}
  .hero h1 b{font-size:5.15rem}.hero h1 em{font-size:4.4rem}.hero-copy>p{max-width:270px;margin:16px 0;font-size:.93rem}
  .hero-actions{gap:7px}.hero-actions .button{font-size:.84rem;padding:8px 11px;min-height:38px}
  .frame-dock{right:10px;bottom:9px;padding:1px 6px;gap:5px}.frame-label{font-size:.71rem}.frame-label .icon{width:12px}.frame-dots{padding-left:3px}
  .section-head{margin-bottom:12px}.section-head h2{font-size:1.8rem;gap:9px}.slash{width:10px;height:18px}.text-link{font-size:.82rem}
  .cards,.gallery-grid{grid-template-columns:minmax(0,1fr)}.card-image{aspect-ratio:2.15}.card-copy :is(h2,h3){font-size:1.64rem}
  .home .cards>.story-card:last-child:nth-child(odd){grid-column:auto;display:flex}.home .cards>.story-card:last-child:nth-child(odd) .card-image{aspect-ratio:2.15;height:auto}
  .topic-row{padding:13px 10px;gap:9px}.topic-title{font-size:.94rem}.topic-meta{font-size:.75rem}.board-icon{width:33px;height:33px}
  .page-intro.with-action{flex-direction:column;align-items:flex-start;gap:15px}.subpage{padding-top:16px}.crumbs{margin-bottom:18px}
  .page-intro h1,.article-header h1{font-size:2.72rem}.page-intro>p,.dek{font-size:1rem}
  .auth-frame{grid-template-columns:1fr}.auth-art{display:none}.auth-wrap{min-height:62vh}
  .join-note{align-items:flex-start;flex-direction:column}.form-actions{gap:14px}.compose,.reply-form,.reply,.join-note{padding:15px}
  .compact-search{width:100%}.compact-search input{flex:1;max-width:none}
  .foot-inner{justify-content:flex-start}.foot-inner>span{max-width:165px}.foot-inner nav{gap:14px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
