
@font-face{font-family:'Friz Quadrata CTT';src:url('/landing/assets/font.woff2') format('woff2');font-display:swap;font-style:normal;font-weight:400}

:root{
  --night:#07171f; --surface:#0c2935; --raised:#123343; --ink:#eee6d2; --muted:#bec9c8; --quiet:#9faeac;
  --gold:#edcc79; --gold-light:#ffe6a4; --metal:#7d8987; --line:#9c8656; --rule:rgba(157,133,77,.34);
  --red:#7d1616; --red-lit:#a82121; --ok:#79d5a0;
  --display:'Friz Quadrata CTT', Georgia, 'Times New Roman', serif;
  --ui:Inter, 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --gutter:18px; --shell:1180px; --r:4px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; color:var(--ink); font:16px/1.6 var(--ui); letter-spacing:.005em;
  background:
    radial-gradient(ellipse 120% 60% at 50% -8%, rgba(32,89,99,.62), transparent 70%),
    linear-gradient(180deg,#071820f5,#07171ffa),
    #07171f;
  -webkit-font-smoothing:antialiased;
}
/* запас под липкую кнопку нужен только там, где она реально есть */
@media (max-width:899px){ body{padding-bottom:calc(74px + env(safe-area-inset-bottom))} }
@media (min-width:900px){ body{padding-bottom:0} }
body.page{padding-bottom:0}  /* подстраницы без липкой кнопки */
img{max-width:100%; display:block; height:auto}
button{color:inherit; font:inherit}
a{color:inherit; text-decoration:none}
h1,h2,h3{font-family:var(--display); font-weight:500; line-height:1.08; margin:0; text-wrap:balance; letter-spacing:.005em}
p{margin:0}
:focus-visible{outline:3px solid #8cdee2; outline-offset:3px}
.in{width:min(var(--shell), calc(100% - var(--gutter)*2)); margin-inline:auto}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
.skip{position:fixed; top:8px; left:8px; z-index:100; transform:translateY(-180%); background:var(--gold-light); color:#171711; padding:12px 16px; border-radius:3px}
.skip:focus{transform:none}

/* ── buttons ───────────────────────────────────────────── */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:56px; padding:0 22px;
     border:0; border-radius:3px; font:500 17px/1.15 var(--ui); color:#ffe9c9; cursor:pointer; text-align:center}
.btn-apk{
  background:linear-gradient(180deg,rgba(255,255,255,.17),rgba(255,255,255,0) 44%), linear-gradient(180deg,var(--red-lit),var(--red));
  box-shadow:0 0 0 1px #c9a05e, 0 0 0 3px #08141a, 0 10px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,214,170,.34);
  text-shadow:0 1px 2px rgba(0,0,0,.55);
}
.btn-apk:active{transform:translateY(1px)}
.btn-line{background:transparent; box-shadow:inset 0 0 0 1px rgba(201,160,94,.55); color:var(--gold-light)}
.btn-line:hover{background:rgba(237,204,121,.08)}
.btn-sm{min-height:44px; font-size:14.5px; padding:0 14px; box-shadow:0 0 0 1px #c9a05e, 0 0 0 2px #08141a, inset 0 1px 0 rgba(255,214,170,.3)}
.btn-block{width:100%}

/* ── header ────────────────────────────────────────────── */
.hdr{position:sticky; top:0; z-index:40; background:linear-gradient(180deg,#0b2530f2,#081b24e8); backdrop-filter:blur(8px); border-bottom:1px solid var(--rule)}
.hdr-in{display:flex; align-items:center; gap:10px; min-height:60px}
.logo{display:flex; align-items:center; flex:none; line-height:0; min-height:44px}
.logo img{width:128px; height:auto}
.hdr-actions{margin-inline-start:auto; display:flex; align-items:center; gap:8px}
.hdr-actions .btn-sm{min-height:44px}
.burger{width:44px; height:44px; display:grid; place-content:center; gap:5px; border:1px solid rgba(201,160,94,.45);
        background:transparent; border-radius:3px; cursor:pointer}
.burger span{display:block; width:18px; height:2px; background:var(--gold-light); transition:transform .18s, opacity .18s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav{display:none; border-top:1px solid var(--rule); padding:6px 0 14px}
.nav.open{display:block}
.nav a{display:flex; align-items:center; min-height:48px; padding:0 4px; font-size:16px; border-bottom:1px solid rgba(157,133,77,.18)}
.nav .signin{color:var(--muted)}
@media (min-width:900px){
  .hdr-in{min-height:74px; gap:26px}
  .logo img{width:186px}
  .burger{display:none}
  .nav{display:flex !important; align-items:center; gap:24px; border:0; padding:0; margin:0 0 0 auto; width:auto}
  .nav a{border:0; min-height:44px; padding:0; font-size:15px; color:var(--ink); position:relative}
  .nav a::after{content:''; position:absolute; left:0; right:100%; bottom:6px; height:1px; background:var(--gold); transition:right .18s}
  .nav a:hover::after{right:0}
  .hdr-actions{gap:12px}
  .nav .signin{display:none}
  .hdr-signin{display:inline-flex !important}
}
.hdr-signin{display:none; align-items:center; min-height:44px; padding:0 16px; border:1px solid rgba(201,160,94,.4); border-radius:3px; font-size:14px; color:var(--muted)}
.hdr-signin:hover{color:var(--gold-light)}
.hdr-status{display:none; align-items:center; gap:7px; min-height:34px; padding:0 10px; border:1px solid rgba(201,160,94,.45);
  border-radius:3px; background:rgba(6,24,32,.45); color:var(--muted); font:500 11.5px/1 var(--ui); letter-spacing:.02em; white-space:nowrap}
.hdr-status i{width:6px; height:6px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(237,204,121,.12); display:block; animation:pulse 3.2s infinite}
.hdr-status b{color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums}
@media (min-width:480px) and (max-width:899px){ .hdr-status{display:inline-flex} }
@media (min-width:700px){ .hdr-signin{display:inline-flex} }
@media (max-width:899px){
  .hdr-in{flex-wrap:wrap}
  .logo{order:1; min-height:44px; margin-inline-end:0}
  .hdr-tag{order:2; margin-inline:auto}
  .hdr-actions{order:3; margin-inline-start:auto}
  .burger{order:4}
  .nav{order:5; flex-basis:100%; width:100%}
}

/* ── hero ──────────────────────────────────────────────── */
.hero{padding:26px 0 30px}
.eyebrow{display:inline-flex; align-items:center; gap:8px; font:600 11px/1 var(--ui); letter-spacing:.15em; text-transform:uppercase; color:var(--gold)}
.eyebrow::before{content:''; width:22px; height:1px; background:currentColor; opacity:.75}
h1{font-size:clamp(29px,7.6vw,52px); color:var(--gold-light); margin:12px 0 12px; text-shadow:0 2px 0 rgba(42,22,6,.9), 0 12px 30px rgba(0,0,0,.45)}
.lead{color:var(--muted); font-size:16px; line-height:1.58; max-width:52ch}
.cta{margin-top:18px}
.cta .btn{width:100%}
.cta-more{display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:4px; color:var(--gold-light); font-size:15px; border-bottom:1px solid rgba(237,204,121,.35)}
.micro{display:flex; flex-wrap:wrap; gap:6px 16px; margin:12px 0 0; padding:0; list-style:none; font-size:13px; color:var(--quiet)}
.micro b{color:var(--ink); font-weight:600}
.micro .live{display:inline-flex; align-items:center; gap:7px; color:var(--muted)}
.micro .live i{width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(237,204,121,.15); animation:pulse 3.2s infinite}
@keyframes pulse{0%,100%{opacity:.65}50%{opacity:1}}

.art{margin:20px 0 0}
.art-frame{position:relative; border:1px solid rgba(201,160,94,.5); border-radius:var(--r); padding:4px;
           background:linear-gradient(160deg,rgba(20,54,67,.55),rgba(8,27,35,.9)); box-shadow:0 18px 40px rgba(0,0,0,.5)}
.art-frame img{width:100%; height:auto; aspect-ratio:2/1; object-fit:cover; object-position:52% 42%; border-radius:2px}

@media (min-width:900px){
  .hero{padding:52px 0 46px}
  .hero-grid{display:grid; grid-template-columns:.92fr 1.08fr; gap:40px; align-items:center}
  .art-frame img{aspect-ratio:16/10; object-position:52% 45%}
  .cta{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
  .cta .btn{width:auto}
  .cta-more{margin-top:0; padding:0 6px}
  .micro{margin-top:20px; font-size:13.5px}
  .art{margin:0}
}

/* ── bands ─────────────────────────────────────────────── */
.band{padding:34px 0; border-top:1px solid var(--rule); scroll-margin-top:70px}
.band-head{display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:16px; flex-wrap:wrap}
h2{font-size:clamp(23px,5.6vw,32px); color:var(--gold)}
.band-head p{color:var(--muted); font-size:14.5px; margin-top:6px; max-width:60ch}
.tlink{display:inline-flex; align-items:center; min-height:44px; color:var(--gold-light); font-size:14.5px; border-bottom:1px solid rgba(237,204,121,.35); white-space:nowrap}
@media (min-width:900px){ .band{padding:56px 0} .band-head{margin-bottom:24px} h2{font-size:32px} }

/* ── gallery ───────────────────────────────────────────── */
.shots{display:grid; gap:10px}
.shot{position:relative; padding:0; border:1px solid rgba(201,160,94,.36); border-radius:3px; overflow:hidden; background:var(--night); cursor:zoom-in; display:block; width:100%; color:var(--ink); text-align:start}
.shot img{width:100%; height:auto; aspect-ratio:2/1; object-fit:cover}
.shot .cap{position:absolute; inset-inline:0; bottom:0; display:flex; gap:8px; align-items:baseline; padding:24px 10px 8px; color:var(--ink);
           background:linear-gradient(180deg,transparent,rgba(4,16,22,.94)); font-size:12.5px; text-align:start}
.shot .num{color:var(--gold); font-variant-numeric:tabular-nums; flex:none; font-size:11.5px}
.thumbs{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.thumbs .shot{overflow:hidden}
.thumbs .shot img{height:100%; aspect-ratio:auto; object-fit:cover}
.thumbs .cap{padding:20px 8px 7px; font-size:12px}
.thumbs .cap span:last-child{min-width:0; flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
@media (max-width:639px){ .thumbs .cap span:last-child{display:none} .thumbs .cap{padding:18px 8px 6px} }
.thumbs .shot:nth-child(n+3){display:none}
@media (min-width:640px){ .shots{grid-template-columns:1.55fr 1fr; gap:12px} .thumbs{grid-template-columns:1fr 1fr} .thumbs .shot:nth-child(n+3){display:block} }
.see-all{margin-top:14px; width:100%}
@media (min-width:900px){ .see-all{width:auto; min-height:48px} }

/* ── value trio ────────────────────────────────────────── */
.trio{display:grid; gap:0; margin:0; padding:0; list-style:none; border-top:1px solid var(--rule)}
.trio li{display:grid; grid-template-columns:44px 1fr; gap:14px; align-items:start; padding:16px 0; border-bottom:1px solid var(--rule)}
.trio .n{font-family:var(--display); font-size:19px; color:var(--gold); padding-top:2px}
.trio b{display:block; font-size:16px; font-weight:600; color:var(--ink)}
.trio span{color:var(--muted); font-size:14px}
@media (min-width:900px){ .trio{grid-template-columns:repeat(3,1fr); gap:28px; border:0} .trio li{border:0; border-top:1px solid var(--rule); padding:18px 0} }

/* ── преимущества ──────────────────────────────────────── */
.why{display:grid; gap:0; margin:0; padding:0; list-style:none; border-top:1px solid var(--rule)}
.why li{display:grid; gap:6px; padding:15px 0; border-bottom:1px solid var(--rule)}
.why-ico{display:block; width:64px; height:64px; margin-bottom:10px}
.why-ico img{width:64px; height:64px; display:block; border-radius:4px; border:1px solid rgba(201,160,94,.55);
  box-shadow:0 6px 16px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.35)}
.why h3{font:600 16.5px/1.3 var(--ui); color:var(--ink)}
.why p{color:var(--muted); font-size:13.5px; line-height:1.55; margin:0}
@media (min-width:640px){ .why{grid-template-columns:1fr 1fr; column-gap:30px} }
@media (min-width:1100px){
  .why{grid-template-columns:repeat(4,1fr); gap:30px; border-top:0}
  .why li{border-top:1px solid var(--rule); border-bottom:0; padding:18px 0 4px}
}

/* ── выбор героя: две колонки на широком экране ────────── */
@media (min-width:1000px){
  .panel-body{display:grid; grid-template-columns:1.4fr .8fr; gap:8px 26px; align-items:start; padding:18px 22px 22px}
  .panel-body > .factions{grid-column:1; grid-row:1}
  .panel-body > .classes{grid-column:1; grid-row:2}
  .panel-body > .picked{
    grid-column:2; grid-row:1 / span 2; margin:0; padding:0 0 0 24px; border-top:0;
    border-inline-start:1px solid var(--rule); text-align:start;
    display:flex; flex-direction:column; justify-content:center; gap:4px; align-self:stretch
  }
  .picked-figs{justify-content:flex-start}
  .picked .note{max-width:34ch}
}
/* ── selector ──────────────────────────────────────────── */
.panel{border:1px solid rgba(201,160,94,.42); border-radius:var(--r); background:linear-gradient(150deg,rgba(18,51,67,.72),rgba(8,27,35,.92));
       box-shadow:inset 0 1px 0 rgba(213,229,224,.1)}
.panel-head{padding:8px 12px 8px 14px; border-bottom:1px solid var(--rule); display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:60px}
.panel-head h2{font-size:17px; color:var(--gold); font-family:var(--display)}

.panel-body{padding:14px 10px 18px}
.gender{display:flex; justify-content:flex-end; gap:6px; margin:0}
.gender button{position:relative; width:44px; height:44px; padding:0; border:0; background:none; cursor:pointer; border-radius:50%;
  display:grid; place-items:center; --ring:#2a2620}
.gender button svg{width:100%; height:100%; display:block; overflow:visible}
.gender button .g-plate{fill:url(#plateGrad); stroke:#6d5836; stroke-width:1.4}
.gender button .g-bevel{fill:none; stroke:#000; stroke-opacity:.55; stroke-width:1; }
.gender button .g-ring{fill:none; stroke:none; stroke-width:2.6}
.gender button .g-sym{fill:none; stroke:url(#goldGrad); stroke-width:4.1; stroke-linecap:round; stroke-linejoin:round;
  filter:drop-shadow(0 1.1px 0 rgba(33,21,4,.9)) drop-shadow(0 -.5px 0 rgba(255,245,215,.4))}
.gender button[aria-pressed="true"] .g-ring{stroke:#ffd83d; filter:url(#ringGlow)}
.gender button[aria-pressed="true"] .g-plate{stroke:#f2c451}
.gender button:hover .g-sym{stroke:url(#goldBright)}
.gender button[aria-pressed="false"] .g-sym{opacity:.82}
.factions{display:grid; grid-template-columns:1fr 1fr; gap:8px}
.faction{border:1px solid rgba(201,160,94,.3); border-radius:2px; padding:6px 4px 7px; background:linear-gradient(150deg,rgba(27,72,102,.55),rgba(16,44,58,.85))}
.faction.horde{background:linear-gradient(150deg,rgba(81,43,42,.6),rgba(40,29,32,.88)); border-color:#84504a}
.faction h4{display:flex; align-items:center; justify-content:center; margin:0 0 6px; line-height:0}
.faction h4 img{width:48px; height:62px; object-fit:contain; filter:drop-shadow(0 2px 4px rgba(0,0,0,.65))}
.races{display:grid; grid-template-columns:repeat(2,minmax(0,52px)); gap:4px; justify-content:center}
.portrait{padding:0; border:1px solid rgba(125,137,135,.75); background:#061820; border-radius:2px; cursor:pointer; position:relative; aspect-ratio:1; min-width:0}
.portrait img{width:100%; height:100%; object-fit:cover; display:block}
.portrait[aria-pressed="true"]{border-color:var(--gold); box-shadow:0 0 0 1px var(--gold)}
.portrait[aria-pressed="true"]::after{content:'✓'; position:absolute; top:-5px; right:-5px; width:15px; height:15px; display:grid; place-items:center;
  background:#061820; border:1px solid var(--gold); color:var(--gold-light); font:700 10px/1 Arial; border-radius:2px}
.classes{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin:12px auto 0; max-width:340px; justify-content:center}
.classes .portrait{border-radius:2px}
.portrait:disabled{opacity:.22; cursor:not-allowed}
.picked{margin-top:14px; text-align:center; border-top:1px solid var(--rule); padding-top:14px}
.picked-figs{display:flex; align-items:center; justify-content:center; gap:12px}
.picked-figs img{border:1px solid rgba(201,160,94,.55); border-radius:2px; box-shadow:0 4px 14px rgba(0,0,0,.45)}
.picked-figs .p-race{width:72px; height:72px; object-fit:cover}
.picked-figs .p-class{width:52px; height:52px; object-fit:cover; border-color:var(--gold)}
.picked-sep{width:1px; height:34px; background:var(--rule)}
.picked .p-names{margin-top:8px; color:var(--gold-light); font:400 14px var(--display); letter-spacing:.02em}
.picked p{color:var(--muted); font-size:13.5px; margin-top:6px}
.picked .note{color:var(--quiet); font-size:12px; margin-top:8px}
@media (min-width:480px){ .races{grid-template-columns:repeat(4,minmax(0,62px)); gap:4px; justify-content:center} }

@media (min-width:900px){ .panel-head h2{font-size:20px} .panel-body{padding:18px 22px 22px} .factions{grid-template-columns:1fr 1fr; gap:12px} .races{grid-template-columns:repeat(4,minmax(0,62px)); justify-content:center} .classes{grid-template-columns:repeat(9,minmax(0,74px)); max-width:none; gap:8px} .faction{padding:10px 12px 12px} .picked-figs .p-race{width:88px; height:88px} .picked-figs .p-class{width:62px; height:62px} }

/* ── controls ──────────────────────────────────────────── */
.controls{display:grid; gap:0; margin:0; padding:0; list-style:none}
.controls li{display:grid; grid-template-columns:96px 1fr; gap:14px; align-items:center; padding:14px 0; border-bottom:1px solid var(--rule)}
.controls li:last-child{border-bottom:0}
.crop{aspect-ratio:1; border:1px solid rgba(201,160,94,.4); border-radius:2px; background:url(/landing/assets/shot01.webp) 4% 88%/420% no-repeat; position:relative; box-shadow:inset 0 0 14px rgba(0,0,0,.55)}
.crop.c2{background-position:52% 52%}
.crop.c3{background-position:94% 62%}
.crop .n{position:absolute; top:4px; left:4px; background:rgba(6,24,32,.85); border:1px solid var(--rule); color:var(--gold-light); font-size:10.5px; padding:1px 4px}
.crop .gest{position:absolute; inset:26%; display:grid; place-items:center; border:1px solid var(--gold-light); border-radius:50%; color:var(--gold-light); background:rgba(6,24,32,.7); font-size:20px}
.controls h3{font-size:17px; color:var(--ink)}
.controls p{color:var(--muted); font-size:13.5px; margin-top:3px}
@media (min-width:900px){ .controls{grid-template-columns:repeat(3,1fr); gap:24px; margin-top:24px}
  .controls li{grid-template-columns:1fr; gap:12px; border:0; padding:0; align-items:start}
  .crop{aspect-ratio:16/10} }

/* ── download ──────────────────────────────────────────── */
.dl{display:grid; gap:20px}
.dl-facts{display:grid; gap:0; margin:0}
.dl-facts div{display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:10px 0; border-bottom:1px dashed rgba(157,133,77,.26)}
.dl-facts dt{color:var(--muted); font-size:14px}
.dl-facts dd{margin:0; color:var(--gold-light); font-family:var(--display); font-size:17px; font-variant-numeric:tabular-nums; white-space:nowrap}
.dl h3{font-size:22px; color:var(--gold-light)}
.dl .actions{display:grid; gap:10px; margin-top:18px}
.qr{display:none; justify-items:center; gap:10px; border-inline-start:1px solid var(--rule); padding-inline-start:24px}
.qr img{width:148px; height:148px; padding:8px; background:#eee8db; border-radius:3px}
.qr p{color:var(--muted); font-size:13px; text-align:center; max-width:18ch}
.steps{margin:22px 0 0; padding:0; list-style:none; display:grid; gap:8px}
.steps details{border:1px solid rgba(201,160,94,.32); border-radius:2px; background:rgba(10,32,41,.6)}
.steps summary{display:grid; grid-template-columns:34px 1fr 18px; align-items:center; gap:10px; min-height:52px; padding:0 12px; cursor:pointer; list-style:none; font-size:15px}
.steps summary::-webkit-details-marker{display:none}
.steps summary .n{font-family:var(--display); color:var(--gold); font-size:16px}
.steps summary .x{color:var(--muted); text-align:center; transition:transform .15s}
.steps details[open] summary .x{transform:rotate(45deg)}
.steps details[open]{border-color:rgba(149,213,217,.5)}
.steps .body{padding:0 14px 14px 56px; color:var(--muted); font-size:14px}
@media (min-width:900px){
  .dl{grid-template-columns:1.35fr .65fr; gap:32px; align-items:center}
  .dl .actions{display:flex}
  .qr{display:grid}
  .steps{grid-template-columns:1fr 1fr; gap:10px 12px}
}

/* ── faq ───────────────────────────────────────────────── */
.faq{display:grid; gap:0}
.faq details{border-top:1px solid var(--rule)}
.faq details:last-child{border-bottom:1px solid var(--rule)}
.faq summary{min-height:56px; display:flex; align-items:center; justify-content:space-between; gap:14px; cursor:pointer; list-style:none; font-size:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .x{color:var(--gold); flex:none}
.faq details[open] summary .x{transform:rotate(45deg)}
.faq p{color:var(--muted); font-size:14.5px; padding:0 0 16px; max-width:62ch}
@media (min-width:900px){ .faq{grid-template-columns:1fr 1fr; gap:0 32px} .faq details:last-child{border-bottom:0} }

/* ── finale ────────────────────────────────────────────── */
.finale{position:relative; isolation:isolate; overflow:hidden; border-top:1px solid var(--rule); margin-top:34px}
.finale .art-bg{position:absolute; inset:0; z-index:-1}
.finale .art-bg img{width:100%; height:100%; object-fit:cover; object-position:70% 55%}
.finale .art-bg::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(7,23,31,.55),rgba(7,23,31,.92) 55%,rgba(7,23,31,.98))}
.finale-in{padding:34px 0 38px}
.finale h2{margin:10px 0 12px; font-size:clamp(25px,6vw,34px)}
.finale p{color:var(--muted); font-size:15px; max-width:44ch}
.finale .btn{margin-top:16px; width:100%}
.finale .discord{display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:8px; color:var(--ink); font-size:14.5px; border-bottom:1px solid rgba(237,204,121,.3)}
@media (min-width:900px){
  .finale{margin-top:56px}
  .finale-in{padding:64px 0 64px}
  .finale .content{max-width:560px; padding:0; background:none}
  .finale .btn{width:auto}
  .finale .art-bg::after{background:linear-gradient(90deg,rgba(7,23,31,.97) 0%,rgba(7,23,31,.9) 34%,rgba(7,23,31,.28) 72%,rgba(7,23,31,.06) 100%)}
  .finale-in{padding:92px 0}
}

/* ── footer ────────────────────────────────────────────── */
.foot{border-top:1px solid var(--rule); padding:26px 0 30px; background:rgba(5,17,23,.55)}
.foot-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px 18px}
.foot .brand{grid-column:1/-1}
.foot .brand img{width:132px; margin-bottom:10px}
.foot p{color:var(--muted); font-size:13px; max-width:34ch}
.foot h4{font:600 12px var(--ui); letter-spacing:.13em; text-transform:uppercase; color:var(--gold); margin:0 0 8px}
.foot ul{margin:0; padding:0; list-style:none; display:grid; gap:2px}
.foot a{display:inline-flex; align-items:center; min-height:44px; font-size:14px; color:var(--muted)}
.foot a:hover{color:var(--gold-light)}
.foot .legal{margin-top:22px; padding-top:14px; border-top:1px solid rgba(157,133,77,.2); display:grid; gap:6px; color:var(--quiet); font-size:12px}
@media (min-width:720px){ .foot-grid{grid-template-columns:1.4fr 1fr 1fr 1fr} .foot .brand{grid-column:auto} .foot{padding:34px 0 38px} }

/* ── sticky ────────────────────────────────────────────── */
.sticky{position:fixed; inset-inline:0; bottom:0; z-index:35; display:none; gap:10px; padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
        border-top:1px solid rgba(201,160,94,.45); background:rgba(6,24,32,.97); backdrop-filter:blur(8px); transform:translateY(120%); transition:transform .22s}
.sticky.on{transform:none}
.sticky .btn{width:100%}
.sticky small{display:block; text-align:center; color:var(--quiet); font-size:11.5px; margin-top:2px}
body.dialog-open .sticky{transform:translateY(120%)}
@media (max-width:899px){ .sticky{display:block} }

/* ── dialogs ───────────────────────────────────────────── */
dialog{border:0; padding:0; background:#061820; max-width:none; max-height:none; width:100%; height:100%; margin:0}
dialog::backdrop{background:rgba(0,10,14,.86)}
.lb{display:flex; flex-direction:column; height:100%; padding:12px; gap:10px}
.lb-top{display:flex; align-items:center; justify-content:space-between; color:var(--gold); font-size:13px}
.lb-top button{width:44px; height:44px; border:1px solid rgba(201,160,94,.5); background:rgba(6,24,32,.8); color:var(--gold-light); font-size:18px; border-radius:3px; cursor:pointer}
.lb img{flex:0 1 auto; min-height:0; width:100%; height:auto; margin:auto 0; object-fit:contain; border:1px solid rgba(201,160,94,.3)}
.lb-nav{display:flex; align-items:center; gap:10px}
.lb-nav button{width:52px; height:52px; flex:none; border:1px solid rgba(201,160,94,.45); background:rgba(6,24,32,.85); color:var(--gold-light); font-size:20px; border-radius:3px; cursor:pointer}
.lb-nav p{flex:1; text-align:center; font-size:14px; color:var(--ink)}
.grid-dlg{padding:14px; height:100%; display:flex; flex-direction:column; gap:12px}
.grid-dlg .gd-head{display:flex; align-items:center; justify-content:space-between; color:var(--gold); font-size:14px}
.grid-dlg .gd-head button{width:44px; height:44px; border:1px solid rgba(201,160,94,.5); background:rgba(6,24,32,.8); color:var(--gold-light); border-radius:3px; cursor:pointer}
.grid-dlg .gd-body{flex:1; overflow:auto; display:grid; gap:10px; grid-template-columns:1fr 1fr; align-content:start}
.grid-dlg .shot .cap{font-size:11.5px; padding:18px 7px 6px; align-items:flex-start}
.grid-dlg .shot .cap span:last-child{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.25}
@media (min-width:640px){ .grid-dlg .gd-body{grid-template-columns:repeat(3,1fr)} }
@media (min-width:900px){ .grid-dlg .gd-body{grid-template-columns:repeat(4,1fr)} }

/* ── бегущая строка ────────────────────────────────────── */
.tipbar{border-bottom:1px solid var(--rule); background:linear-gradient(180deg,#0a2230f2,#081b24f2); position:relative; z-index:30}
.tipbar-in{display:flex; align-items:center; gap:12px; min-height:34px}
.hdr-tag{display:none; align-items:center; gap:8px; margin-inline:auto; font:600 10.5px/1 var(--ui);
  letter-spacing:.14em; text-transform:uppercase; color:var(--gold); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
@media (min-width:620px) and (max-width:899px){ .hdr-tag{display:flex} .hero-eyebrow{display:none} }

.ticker{flex:1; min-width:0; overflow:hidden; position:relative; mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 30px),transparent)}
.ticker-track{display:inline-flex; align-items:center; gap:0; white-space:nowrap; will-change:transform; animation:marquee 78s linear infinite 6s}
.ticker:hover .ticker-track,.ticker:focus-within .ticker-track{animation-play-state:paused}
.tk{display:inline-flex; align-items:center; gap:7px; font-size:12px; color:var(--muted); padding-inline:14px}
.tk i{width:5px; height:5px; border-radius:50%; background:var(--gold); opacity:.85; display:block; flex:none}
.tk.fix i{background:#79d5a0} .tk.add i{background:var(--gold-light)} .tk.warn i{background:#f3c76d}
.tk b{color:var(--ink); font-weight:600}
.tk a{color:var(--gold-light)}
.tipbar-status{flex:none; font-size:11.5px; color:var(--gold-light); min-height:34px; display:inline-flex; align-items:center; white-space:nowrap; padding-inline:12px; margin-inline-start:4px; border-inline-start:1px solid rgba(157,133,77,.28)}
@keyframes marquee{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
@media (prefers-reduced-motion:reduce){ .ticker-track{animation:none} .ticker{overflow-x:auto} }
@media (max-width:479px){ .tipbar-status{display:none} }
/* ── статус мира ───────────────────────────────────────── */
.status-wrap{position:relative; display:none}
@media (min-width:480px) and (max-width:899px){ .status-wrap{display:block} }
.hdr-status{cursor:pointer}
.status-pop{position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%); width:min(300px, calc(100vw - 36px));
  background:linear-gradient(160deg,#0f2b38,#081b24); border:1px solid rgba(201,160,94,.5); border-radius:4px;
  box-shadow:0 22px 50px rgba(0,0,0,.62); padding:14px; z-index:60}
.status-pop .sp-title{font:400 16px var(--display); color:var(--gold); margin-bottom:10px}
.status-pop dl{margin:0; display:grid; gap:7px}
.status-pop dl div{display:flex; justify-content:space-between; gap:12px; font-size:13px}
.status-pop dt{color:var(--muted)}
.status-pop dd{margin:0; color:var(--ink); font-variant-numeric:tabular-nums}
.status-pop a{display:inline-flex; align-items:center; min-height:40px; margin-top:6px; color:var(--gold-light); font-size:13.5px; border-bottom:1px solid rgba(237,204,121,.3)}
.status-grid{display:grid; border:1px solid rgba(201,160,94,.35); border-radius:4px; background:linear-gradient(160deg,rgba(18,51,67,.5),rgba(8,27,35,.78)); overflow:hidden}
.status-grid .row{display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 14px; border-bottom:1px solid rgba(157,133,77,.18); font-size:14px}
.status-grid .row:last-child{border-bottom:0}
.status-grid .k{color:var(--muted)}
.status-grid .v{color:var(--ink); display:inline-flex; align-items:center; gap:8px; font-variant-numeric:tabular-nums}
.dot{width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(237,204,121,.14); display:inline-block; animation:pulse 3.2s infinite}
@media (min-width:640px){ .status-grid{grid-template-columns:1fr 1fr} .status-grid .row:nth-child(odd){border-inline-end:1px solid rgba(157,133,77,.18)} .status-grid .row:nth-last-child(2){border-bottom:0} }

/* ── журнал изменений ──────────────────────────────────── */
.log{display:grid; gap:0; margin:0; padding:0; list-style:none}
.log li{display:grid; gap:7px; padding:14px 0; border-bottom:1px solid var(--rule)}
.log li:last-child{border-bottom:0}
.log .meta{display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--quiet); flex-wrap:wrap}
.tag{font:600 10.5px/1 var(--ui); letter-spacing:.08em; text-transform:uppercase; padding:5px 7px; border-radius:2px; border:1px solid}
.tag.fix{color:#9fe0b0; border-color:rgba(121,213,160,.5); background:rgba(121,213,160,.1)}
.tag.add{color:var(--gold-light); border-color:rgba(237,204,121,.5); background:rgba(237,204,121,.1)}
.tag.known{color:#f3c76d; border-color:rgba(243,199,109,.5); background:rgba(243,199,109,.08)}
.log h3{font:600 16.5px/1.35 var(--ui); color:var(--ink)}
.log p{color:var(--muted); font-size:14px}
.log time{font-variant-numeric:tabular-nums}
@media (min-width:900px){ .log{grid-template-columns:repeat(3,1fr); gap:22px} .log li{border-bottom:0; border-top:1px solid var(--rule); padding:16px 0} }

/* ── файл и хеш ────────────────────────────────────────── */
.file{display:grid; gap:10px; margin-top:14px; padding-top:12px; border-top:1px dashed rgba(157,133,77,.26)}
.file .fname{display:inline-flex; align-items:center; min-height:44px; gap:8px; font:13px/1.4 ui-monospace, Consolas, monospace; color:var(--gold-light); word-break:break-all; border-bottom:1px solid rgba(237,204,121,.3); justify-self:start}
.hash{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.hash code{font:11.5px/1.5 ui-monospace, Consolas, monospace; color:var(--muted); word-break:break-all; max-width:min(34ch,100%)}
.copy{min-height:44px; padding:0 12px; border:1px solid rgba(201,160,94,.4); background:rgba(6,24,32,.6);
  color:var(--gold-light); border-radius:2px; font:12.5px var(--ui); cursor:pointer}
.copy.ok{border-color:rgba(121,213,160,.6); color:#9fe0b0}

/* ── видео-заглушка ────────────────────────────────────── */
.video-card{position:relative; margin-top:14px; width:100%; padding:0; border:1px solid rgba(201,160,94,.4);
  border-radius:3px; overflow:hidden; background:#061820; cursor:pointer; display:block}
.video-card img{width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; opacity:.5; filter:saturate(.75)}
.video-card .play{position:absolute; inset:0; display:grid; place-items:center}
.video-card .play span{width:60px; height:60px; border-radius:50%; border:2px solid var(--gold-light); display:grid; place-items:center;
  color:var(--gold-light); font-size:20px; background:rgba(6,24,32,.55); box-shadow:0 0 26px rgba(0,0,0,.55)}
.video-card .vc-label{position:absolute; left:10px; bottom:10px; font-size:12.5px; color:var(--ink);
  background:rgba(6,24,32,.86); border:1px solid rgba(201,160,94,.3); padding:5px 9px; border-radius:2px}
.video-card .vc-badge{position:absolute; right:10px; top:10px; font:600 10px/1 var(--ui); letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold-light); background:rgba(6,24,32,.86); border:1px solid rgba(201,160,94,.45); padding:5px 7px; border-radius:2px}
@media (min-width:640px){ .video-card{max-width:none} }

/* ── футер: язык ───────────────────────────────────────── */
.foot .lang{display:flex; flex-wrap:wrap; align-items:center; gap:2px 10px; margin-top:10px; font-size:13px; color:var(--quiet)}
.foot .lang span{display:inline-flex; align-items:center; min-height:32px}
.foot .lang b{color:var(--ink); font-weight:600}
.foot .lang .lang-btn{min-height:44px; padding:0 14px; border:1px solid rgba(201,160,94,.4); border-radius:3px; background:rgba(6,24,32,.5);
  color:var(--muted); font:500 13px var(--ui); cursor:pointer; transition:color .15s, border-color .15s, background .15s}
.foot .lang .lang-btn:hover{color:var(--gold-light); border-color:rgba(201,160,94,.7)}
.foot .lang .lang-btn[aria-pressed="true"]{color:var(--gold-light); border-color:var(--gold); background:rgba(237,204,121,.12); box-shadow:inset 0 1px 0 rgba(255,230,164,.25)}

/* ── прочее ────────────────────────────────────────────── */
.toast{position:fixed; left:50%; bottom:calc(92px + env(safe-area-inset-bottom)); transform:translate(-50%,160%); z-index:90; max-width:calc(100vw - 32px); text-align:center;
  background:rgba(6,24,32,.97); border:1px solid rgba(201,160,94,.55); color:var(--ink); padding:10px 14px;
  border-radius:3px; font-size:13.5px; box-shadow:0 16px 40px rgba(0,0,0,.55); transition:transform .2s ease-out;
  visibility:hidden; pointer-events:none}
.toast:empty{display:none}
.toast.on{transform:translate(-50%,0); visibility:visible}
@media (min-width:900px){ .toast{bottom:26px} }
.hud{position:fixed; left:10px; bottom:calc(84px + env(safe-area-inset-bottom)); z-index:80; display:none;
  max-width:min(320px,88vw); background:rgba(4,16,22,.96); border:1px solid rgba(201,160,94,.5); border-radius:4px;
  padding:10px 12px; font:11.5px/1.6 ui-monospace, Consolas, monospace; color:var(--muted)}
.hud.on{display:block}
.hud b{color:var(--gold-light)}

/* ── внутренние страницы ───────────────────────────────── */
.page-head{padding:40px 0 6px}
@media (min-width:900px){ .page-head{padding:58px 0 10px} }

.news-grid{display:grid; gap:14px}
@media (min-width:900px){ .news-grid{grid-template-columns:repeat(3,1fr); gap:18px} }
.news-card{border:1px solid rgba(201,160,94,.32); border-radius:4px; background:linear-gradient(160deg,rgba(18,51,67,.55),rgba(8,27,35,.82)); padding:18px}
.news-card h3{margin:2px 0 8px; font-size:19px; color:var(--ink); line-height:1.25}
.news-card p{color:var(--muted); font-size:14px; margin-bottom:10px}
.news-card .meta{display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--quiet); flex-wrap:wrap; margin-bottom:6px}

.ev-list{margin:0; padding:0; list-style:none; display:grid; gap:14px}
.ev-list li{display:grid; grid-template-columns:52px 1fr; gap:14px; align-items:start; border:1px solid rgba(201,160,94,.3);
  border-radius:4px; padding:18px; background:rgba(10,32,41,.5)}
.ev-n{font-family:var(--display); font-size:24px; color:var(--gold); opacity:.9}
.ev-list h3{margin:6px 0; font-size:20px; color:var(--ink)}
.ev-list p{color:var(--muted); font-size:14px; margin-bottom:8px}
@media (min-width:900px){ .ev-list{grid-template-columns:repeat(3,1fr)} .ev-list li{grid-template-columns:1fr; gap:6px} }

.session-list{margin:0; padding:0; list-style:none; display:grid; gap:14px}
.session-list li{border-top:1px solid var(--rule); padding-top:14px}
.session-list .s-time{font-family:var(--display); font-size:14px; color:var(--gold); letter-spacing:.06em}
.session-list h3{margin:4px 0 6px; font-size:20px; color:var(--ink)}
.session-list p{color:var(--muted); font-size:14.5px}
@media (min-width:900px){ .session-list{grid-template-columns:repeat(3,1fr); gap:24px} }

.tips-list{margin:0; padding:0; list-style:none; display:grid; gap:12px}
.tips-list li{color:var(--muted); font-size:14.5px; padding-left:18px; position:relative}
.tips-list li::before{content:''; position:absolute; left:0; top:.5em; width:6px; height:6px; border:1px solid var(--gold); transform:rotate(45deg)}
.tips-list b{color:var(--ink)}

.fb-form{display:grid; gap:14px; max-width:none}
.fb-form[hidden],#feedbackAuth[hidden]{display:none}
.fb-form label{display:grid; gap:6px; font-size:13.5px; color:var(--muted)}
.fb-form select,.fb-form textarea,.fb-form input{width:100%; min-height:48px; padding:12px; border-radius:3px;
  border:1px solid rgba(201,160,94,.4); background:rgba(6,24,32,.72); color:var(--ink); font:15px/1.5 var(--ui)}
.fb-form textarea{min-height:140px; resize:vertical}
.fb-form select:focus-visible,.fb-form textarea:focus-visible,.fb-form input:focus-visible{outline:3px solid #8cdee2; outline-offset:2px}
.fb-status{font-size:14px; color:var(--muted); min-height:20px; margin:0}
@media (min-width:900px){ .fb-form{max-width:640px} }
@media (prefers-reduced-motion:reduce){ *{animation:none !important; transition:none !important} }
