/* Раллийный журнал: бумага, типографика, красная разметка трассы. */
:root{--void:#f1efe7;--panel:#faf9f4;--panel2:#e6e3d9;--bezel:#d0cdc2;--line:#24272120;--line2:#24272140;--white:#20251f;--dim:#74776c;--soft:#52594e;--amber:#b93725;--amber-hi:#d0442f;--amber-rgb:185,55,37;--amber-dim:#b9372512;--on-amber:#fff;--paper:#f1efe7;--ink:#20251f;--muted:#74776c;--rule:#24272130}
:root[data-theme=dark]{--void:#171c18;--panel:#202720;--panel2:#2b332c;--bezel:#3b453b;--line:#ffffff18;--line2:#ffffff38;--white:#eeeee4;--dim:#a0aa9b;--soft:#c4cbbc;--amber:#f17357;--amber-hi:#ff9177;--amber-rgb:241,115,87;--amber-dim:#f1735718;--paper:#171c18;--ink:#eeeee4;--muted:#a0aa9b;--rule:#ffffff30}
body{background:var(--void);background-image:none}button,a,summary{-webkit-tap-highlight-color:transparent}
header.nav,[data-theme=dark] header.nav{background:var(--paper)!important;backdrop-filter:none!important;border-bottom:1px solid var(--rule)}
header.nav .brand{letter-spacing:.01em}.brand-mark{border-radius:0!important;background:var(--amber)!important;color:#fff!important}
header.nav .game-primary{display:flex!important;overflow:visible!important;align-items:center;gap:18px;height:auto!important;font-family:Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;font-size:12px}
header.nav .game-primary>a,header.nav .game-primary>button,header.nav .game-primary summary{display:flex;align-items:center;height:40px;padding:0 4px;border:0;background:none;color:var(--ink);font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}
header.nav .game-primary button[aria-pressed=true]{color:var(--amber);box-shadow:inset 0 -2px var(--amber)}
header.nav .game-primary>a:hover,header.nav .game-primary summary:hover{color:var(--amber)}
.game-club{position:relative;margin-left:auto}.game-club summary{list-style:none}.game-club summary::after{content:'+';font-size:19px;margin-left:12px}.game-club[open] summary::after{content:'−'}.game-club summary::-webkit-details-marker{display:none}
.game-club-menu{position:absolute;right:0;top:100%;width:250px;max-height:65vh;overflow:auto;padding:8px;background:var(--panel);border:1px solid var(--rule);box-shadow:0 12px 25px #0002;z-index:250}
header.nav .game-club-menu a{display:block!important;height:auto!important;padding:10px 12px!important;font:500 13px Inter,sans-serif!important;white-space:normal;border:0}
header.nav .game-club-menu a[hidden]{display:none!important}header.nav .game-club-menu a:hover{background:var(--panel2)}
#gameRail{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px 24px;padding:11px 18px;background:var(--ink);color:var(--paper);font:12px Inter,sans-serif}
#gameRail[hidden]{display:none}#gameRail strong{font-weight:800;letter-spacing:.03em}#gameRail a:hover{text-decoration:underline}
.game-choice{padding:24px 0 36px}.game-kicker{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--ink);padding-bottom:12px;font:10px var(--mono);letter-spacing:.09em;color:var(--muted)}
.rally-editorial{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:35px 0 32px;border-bottom:4px solid var(--ink);margin-bottom:24px}
.rally-eyebrow{font:11px var(--mono)!important;text-transform:uppercase;letter-spacing:.08em;color:var(--ink)!important;margin:0 0 9px!important}
.rally-editorial h2{font:700 clamp(72px,10vw,142px)/.95 var(--head);text-transform:uppercase;letter-spacing:-.045em;color:var(--ink)}
.rally-editorial h2 i{font-style:normal;color:var(--amber)}
.rally-deck{font:14px/1.7 Inter,sans-serif!important;color:var(--soft)!important;margin:0 0 5px!important;max-width:300px;border-left:1px solid var(--rule);padding-left:28px}
.game-choice-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.game-choice-head h2{font:700 25px/1.1 var(--head);text-transform:uppercase}.game-choice-head p{font-size:12px;color:var(--muted);margin-top:6px}
.game-reset{font:700 11px var(--mono);text-transform:uppercase;letter-spacing:.03em;background:transparent;border:1px solid var(--rule);padding:10px 14px;color:var(--ink);white-space:nowrap}
.game-reset[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.game-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.game-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;justify-content:flex-end;isolation:isolate;overflow:hidden;min-height:310px;padding:0 0 14px;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);gap:5px;transition:opacity .15s}
.game-card::before{content:'';position:absolute;inset:0 0 88px;z-index:-1;background:linear-gradient(180deg,#0003,transparent 60%),url('/img/hero_rally.jpg') center 52%/cover;transition:filter .2s}
.game-card[data-game-choice=dr2]::before{background:linear-gradient(180deg,#0003,transparent 60%),url('/img/bg/dr2_forest.jpg') center 40%/cover}
.game-card:hover::before{filter:brightness(1.15)}.game-card[aria-pressed=true]{border-bottom:3px solid var(--amber);padding-bottom:12px}
.game-card small{position:absolute;top:14px;left:14px;max-width:calc(100% - 64px);padding:6px 8px;background:var(--paper);color:var(--ink);font:700 9px var(--mono);letter-spacing:.04em;text-transform:uppercase}
.game-card b{font:700 35px/1.1 var(--head);letter-spacing:-.02em;text-transform:uppercase}.game-card span{font-size:12px;color:var(--soft)}
.game-card em{position:absolute;right:0;bottom:29px;font:normal 28px Inter,sans-serif;color:var(--amber)}.game-card[aria-pressed=true] em{font-size:0}.game-card[aria-pressed=true] em::after{content:'✓';font-size:24px}
.game-choice-note{font:11px/1.6 Inter,sans-serif;color:var(--muted);margin-top:14px}
.club-intro{background:transparent;border-bottom:0;padding:24px 0 0}.club-about{background:transparent;border:1px solid var(--rule);border-left:0;border-right:0;border-radius:0}
.club-about summary{padding:15px 0}.club-about summary h2{font:700 24px var(--head)}.club-about summary p{font-size:12px}.club-about-action{font-size:12px}.club-story{padding-left:0;padding-right:0}
.hero{min-height:460px;border-top:0;border-bottom:0}.hero-in{padding-top:34px;padding-bottom:32px}.hero-name{font-size:clamp(45px,5.5vw,74px)!important;letter-spacing:-.02em}.hero::before{background:linear-gradient(90deg,#111a17f0,#111a17a0),linear-gradient(0deg,#111a17f0,transparent)}
.hero .btn-amber{background:var(--amber);border-color:var(--amber);color:#fff}.btn,.glass,.card,.modal-box,.spn,.stage,.champ,.search-btn,.online{border-radius:0!important}.glass{background:#ffffff06;box-shadow:none}.hero .spn{background:#ffffff08;box-shadow:none;border-color:#ffffff30}.spn::after{display:none}
.sec-h{border-bottom:1px solid var(--ink);padding-bottom:12px}.sec-h h2{font-size:29px}.sec-h h2::after{display:none}.sec-h .more{font:600 11px var(--mono);text-transform:uppercase}.seg button{border-radius:0}.hero .stats{border-radius:0}
@media(min-width:901px){header.nav .nav-in,header.nav .nav-inner{flex-wrap:wrap;height:auto!important}.game-primary{order:3;flex:1 0 100%!important;margin-left:0!important;border-top:1px solid var(--rule)}}
@media(max-width:920px){header.nav .nav-inner{height:auto!important;flex-wrap:wrap}header.nav .game-primary{order:3;flex:1 0 100%!important;margin:0!important;padding:0!important}.game-primary~.nav-right .burger{display:none!important}}
@media(max-width:600px){header.nav .game-primary{gap:16px}header.nav .game-primary>a,header.nav .game-primary>button,header.nav .game-primary summary{font-size:11px;padding:0 2px}.game-choice{padding:17px 0 24px}.game-kicker{font-size:8px;letter-spacing:0}.game-kicker span:last-child{display:none}.rally-editorial{display:block;padding:24px 0 22px;margin-bottom:20px}.rally-editorial h2{font-size:76px}.rally-eyebrow{font-size:9px!important}.rally-deck{border:0;padding:0;margin:17px 0 0!important;font-size:12px!important}.rally-deck br{display:none}.game-choice-head{gap:10px;align-items:flex-start}.game-choice-head h2{font-size:23px}.game-choice-head p{font-size:11px;max-width:220px}.game-reset{padding:8px;font-size:9px}.game-cards{gap:14px}.game-card{min-height:236px;padding-bottom:12px;gap:5px}.game-card::before{bottom:95px}.game-card small{top:8px;left:8px;font-size:7px;padding:4px;max-width:calc(100% - 16px)}.game-card b{font-size:27px;max-width:132px}.game-card span{font-size:10px;max-width:135px}.game-card em{font-size:20px;bottom:11px}.game-choice-note{font-size:10px}.hero{min-height:0}.hero-name{font-size:44px!important}#gameRail{justify-content:flex-start;gap:10px 16px;font-size:11px}.club-about summary p{font-size:10px}.club-about-action{font-size:10px}}
@media(prefers-reduced-motion:reduce){.game-card,.game-card::before{transition:none}}
/* Финальная пластика TVD: мягкие формы, раллийные фото, контрастные темы. */
:root{--amber:#e65724;--amber-hi:#f77743;--amber-rgb:230,87,36;--amber-dim:#e6572412;--void:#f4f3ed;--paper:#f4f3ed;--panel:#fffefa;--line2:#20251f28}
:root[data-theme=dark]{--amber:#ff814e;--amber-hi:#ffa47e;--amber-rgb:255,129,78;--amber-dim:#ff814e16;--void:#121918;--paper:#121918;--panel:#1c2624;--panel2:#25322e;--ink:#f1f3e9;--white:#f1f3e9;--soft:#c0cbc4;--dim:#95a69c;--muted:#95a69c;--rule:#ffffff26}
header.nav{border-bottom:1px solid var(--rule)}.brand-mark{border-radius:9px!important}
header.nav .game-primary>a,header.nav .game-primary>button{border-radius:9px;padding-left:12px;padding-right:12px}.game-club summary{border-radius:9px}.game-club-menu{border-radius:18px;padding:10px;box-shadow:0 18px 50px #0002}header.nav .game-club-menu a{border-radius:10px}
.rally-editorial{padding:34px 0 30px;border-bottom:0;margin-bottom:0}.rally-editorial h2{font-size:clamp(52px,7vw,98px);letter-spacing:-.025em;max-width:850px}.rally-editorial h2 i{display:block;color:var(--ink)}.rally-eyebrow{color:var(--amber)!important}.rally-deck{border-left:3px solid var(--amber);padding-left:22px;font-size:13px!important}.game-kicker{border-color:var(--rule);letter-spacing:.07em}
.game-choice-head{margin:12px 0 20px}.game-choice-head h2{font-size:27px}.game-reset{border-radius:30px;padding:11px 18px;transition:background .15s}.game-reset[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.game-cards{gap:24px}.game-card{min-height:324px;border:1px solid var(--rule);border-radius:22px;background:var(--panel);padding:0 22px 18px;gap:7px;box-shadow:0 8px 24px #20251f06;transition:transform .18s,box-shadow .18s,border-color .18s}
.game-card::before{inset:0 0 96px;border-radius:21px 21px 0 0}.game-card b{font-size:36px;letter-spacing:0}.game-card small{border-radius:30px;top:17px;left:18px;padding:7px 10px;font-size:9px;box-shadow:0 2px 10px #0001}.game-card span{font-size:12px}.game-card em{right:20px;bottom:23px;width:36px;height:36px;border:1px solid var(--rule);border-radius:50%;display:grid;place-items:center;font-size:23px;color:var(--ink)}
.game-card[aria-pressed=true]{padding-bottom:18px;border:1px solid var(--amber);box-shadow:0 0 0 3px var(--amber-dim)}.game-card[aria-pressed=true] em{color:#fff;background:var(--amber);border-color:var(--amber);font-size:0}.game-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #20251f14}.game-card[data-game-choice=wrc] small::before{content:'';display:inline-block;width:6px;height:6px;background:#247f9d;border-radius:50%;margin-right:6px}.game-card[data-game-choice=dr2] small::before{content:'';display:inline-block;width:6px;height:6px;background:#e65724;border-radius:50%;margin-right:6px}
.hero{max-width:calc(1320px - 2 * var(--pad));margin:0 auto 0;border-radius:26px;overflow:hidden}.hero-in{padding:32px!important;gap:28px}.hero-name{font-size:clamp(42px,4.6vw,64px)!important}.hero::before{background:linear-gradient(90deg,#11211be8,#111c1899),linear-gradient(0deg,#111c18ec,transparent)}
.btn,.glass,.card,.modal-box,.spn,.stage,.champ,.search-btn,.online{border-radius:14px!important}.btn,.theme-join{border-radius:30px!important}.hero .glass,.hero .spn{border-radius:18px!important}.hero .stats{border-radius:18px}.search-panel{border-radius:18px!important}.seg button{border-radius:30px}.club-about{border:1px solid var(--rule);border-radius:18px;background:var(--panel)}.club-about summary{padding:17px 22px}.club-story{padding:24px}.sec-h{border-bottom:1px solid var(--rule)}
header.nav .nav-r .btn-sm{padding-left:17px;padding-right:17px}.search-btn,.online{border-color:var(--rule)}
@media(max-width:600px){.rally-editorial{padding:22px 0 16px}.rally-editorial h2{font-size:55px;line-height:1}.rally-deck{font-size:12px!important;border-left:2px solid var(--amber);padding-left:12px;margin-top:16px!important}.game-choice-head h2{font-size:25px}.game-reset{padding:9px 12px}.game-cards{gap:12px}.game-card{min-height:244px;border-radius:17px;padding:0 12px 16px;gap:6px}.game-card::before{bottom:105px;border-radius:16px 16px 0 0}.game-card small{left:8px;top:9px;max-width:calc(100% - 16px);padding:5px 7px;font-size:7px}.game-card b{font-size:26px;max-width:132px}.game-card span{font-size:10px;max-width:125px}.game-card em{right:9px;bottom:12px;width:24px;height:24px;font-size:17px}.game-card[aria-pressed=true]{padding-bottom:16px}.game-card[aria-pressed=true] em::after{font-size:16px}.hero{max-width:calc(100% - 32px);border-radius:22px}.hero-in{padding:23px 18px!important}.hero-name{font-size:40px!important}.club-about summary{padding:16px}.club-story{padding:18px}.game-primary{gap:10px!important}header.nav .game-primary>a{padding-left:4px;padding-right:4px}}
@media(prefers-reduced-motion:reduce){.game-card{transition:none}.game-card:hover{transform:none}}
.game-card{border-radius:20px;background:var(--panel);padding:0 18px 18px;border:1px solid var(--rule);min-height:324px}.game-card::before{inset:0 0 92px;border-radius:19px 19px 0 0}.game-card[aria-pressed=true]{padding-bottom:18px}.game-card em{right:18px;bottom:24px}
@media(max-width:600px){.game-card{min-height:252px;padding:0 12px 14px;border-radius:18px}.game-card::before{bottom:102px;border-radius:17px 17px 0 0}.game-card[aria-pressed=true]{padding-bottom:14px}.game-card em{right:10px;bottom:12px}}

/* Чат всегда в основном меню; цвета работают в обеих темах. */
header.nav .game-primary>a.game-chat{gap:7px;padding:0 13px;height:32px!important;background:var(--amber-dim);color:var(--amber);border:1px solid var(--amber);border-radius:30px;font-weight:700}
.game-chat svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
header.nav .game-primary>a.game-chat:hover,header.nav .game-primary>a.game-chat[aria-current=page]{background:var(--amber);color:var(--on-amber)}
@media(max-width:600px){header.nav .game-primary>a.game-chat{height:29px!important;padding:0 8px;gap:5px}.game-chat svg{width:13px;height:13px}}
@media(max-width:400px){header.nav .game-primary{gap:4px!important}}
@media(max-width:600px){header.nav .game-primary{min-width:0;flex-wrap:wrap;row-gap:2px}header.nav .game-primary>a:not(.game-chat),header.nav .game-primary>button,header.nav .game-primary summary{padding-left:3px!important;padding-right:3px!important;font-size:11px!important}.game-club summary::after{margin-left:6px}}
/* 18.11: единая плотность, читаемость и поверхности публичного сайта. */
:root{--surface:#fffefa;--surface-alt:#eae9e1;--text:#20251f;--text-muted:#626d62;--edge:#20251f26;--accent:#d94e1d;--accent-wash:#d94e1d13}
:root[data-theme=dark]{--surface:#1c2624;--surface-alt:#25322e;--text:#f1f3e9;--text-muted:#a9b8ae;--edge:#ffffff29;--accent:#ff814e;--accent-wash:#ff814e16}
#gameRail{background:var(--surface-alt);color:var(--text);border-top:1px solid var(--edge);font-size:13px}
#gameRail strong{color:var(--accent)}
header.nav .game-primary{gap:12px}
header.nav .game-primary .game-all{font-size:12px;color:var(--text-muted)}
.game-choice{padding:20px 0}.game-choice-head{margin:0 0 12px}.game-choice-head h2{font-size:26px}.game-choice-head p{font-size:13px}.game-choice-note{font-size:12px;line-height:1.5;margin-top:10px}
.game-cards{gap:16px}.game-card,.game-card[aria-pressed=true]{min-height:118px;padding:17px 44px 17px 44%;justify-content:center;border-radius:18px;gap:6px;box-shadow:none}
.game-card::before,.game-card[data-game-choice=dr2]::before{inset:0 62% 0 0;border-radius:17px 0 0 17px}
.game-card small{position:static;padding:0;box-shadow:none;background:none;font-size:10px;max-width:none}.game-card b{font-size:29px;max-width:none}.game-card span{font-size:13px;max-width:none}.game-card em{right:12px;bottom:41px;width:28px;height:28px;font-size:19px}
.game-card:hover{transform:translateY(-1px)}
.hero{min-height:0}.hero-in{padding:26px 30px!important;gap:24px;align-items:center}.hero-name{font-size:clamp(36px,4vw,56px)!important}.hero-side{align-self:center;gap:0}.hero-champ{margin-bottom:16px}.hero .glass{background:#ffffff08}.hero .glass-h h2{font-size:23px}
.home-community{padding:20px 0 0}.home-community>.wrap{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:start}.community-main{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;min-width:0}
.home-community .fuel{margin:0;background:var(--surface);color:var(--text);border:1px solid var(--edge);border-radius:18px;padding:16px;display:flex;flex-wrap:wrap;gap:12px}.home-community .fuel h3{color:var(--text);font-size:21px}.home-community .fuel-note{font-size:13px;color:var(--text-muted)}.home-community .fuel .btn{font-size:15px;padding:9px 14px;margin-left:auto;background:transparent;border-color:var(--accent);color:var(--accent)}.home-community .fuel-ic{color:var(--accent)}
.home-community .spn{background:var(--surface);color:var(--text);border:1px solid var(--edge);box-shadow:none;grid-template-columns:56px minmax(0,1fr);padding:14px;gap:12px}.home-community .spn::after{display:none}.home-community .spn-ph{width:56px;height:56px;border-radius:12px}.home-community .spn-t{color:var(--text);font-size:21px}.home-community .spn-n{color:var(--text-muted);font-size:12px}.home-community .spn-k{color:var(--accent);font-size:11px}.home-community .spn-b{grid-column:1/-1;justify-content:center;background:var(--accent-wash);color:var(--accent);font-size:13px;border-radius:30px}.home-community .spn-more{font-size:12px;color:var(--text-muted);line-height:1.6;text-align:left}.home-community .spn-more a{color:var(--accent)}
.home-community .stats{margin:0;padding:18px;background:var(--surface);border:1px solid var(--edge);border-radius:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.home-community .stats div{padding:0!important;border:0!important}.home-community .stats dd{font-size:26px;color:var(--text)}.home-community .stats dt{font-size:12px;color:var(--text-muted)}
#stages:not(.show-past) .past-stage{display:none}.wall #pastStagesToggle{margin-top:16px;background:var(--surface);color:var(--text);border-color:var(--edge)}
.wall{background:var(--surface-alt)!important;border:1px solid var(--edge);box-shadow:none!important;padding:22px!important}.wall.dim{background:var(--surface-alt)!important}
.plate,.scard{transform:none!important;box-shadow:none!important;border:1px solid var(--edge)!important;border-radius:16px!important}.plate::before,.scard::before{display:none!important}.plate.done,[data-theme=dark] .plate.done{opacity:1;filter:none;box-shadow:none!important}.plate.live,[data-theme=dark] .plate.live{box-shadow:0 0 0 2px var(--accent)!important}.plate .band,.scard .band{font-size:12px!important}.plate .pd{font-size:13px!important}.plate .pn{font-size:25px!important}
.regl{min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,300px)}.regl>*{min-width:0}.doc,.doc-body,.doc-body p,.doc-body a,.doc-h{min-width:0;max-width:100%;overflow-wrap:anywhere}.doc-body a{word-break:break-word}.doc-body .pre{white-space:pre-wrap;overflow-wrap:anywhere}.doc{border-radius:18px!important}.doc-h>div{min-width:0}.doc-h{border-bottom-color:var(--edge)}
[data-theme=dark] .auth-panel,[data-theme=dark] .scard,[data-theme=dark] .faq-wall .faq-item,[data-theme=dark] .doc,[data-theme=dark] .box,[data-theme=dark] .lic{color-scheme:dark;--cp-panel:var(--surface);--cp-panel2:var(--surface-alt);--cp-white:var(--text);--cp-dim:var(--text-muted);--cp-line:var(--edge);--cp-line2:var(--edge);--cp-amber:var(--accent);--ink:var(--text);--ink-dim:var(--text-muted);--line:var(--edge);background:var(--surface)!important;color:var(--text)!important;box-shadow:none!important}
[data-theme=dark] .auth-panel::before{border-color:var(--edge)}[data-theme=dark] .auth-panel .cp-input{background:var(--surface-alt)!important;color:var(--text)!important;border-color:var(--edge)!important}[data-theme=dark] .auth-panel .club-box,[data-theme=dark] .warn-block,[data-theme=dark] .doc-note,[data-theme=dark] .lz-note{background:var(--surface-alt)!important;color:var(--text)!important;border-color:var(--edge)!important}
[data-theme=dark] .doc-body,[data-theme=dark] .doc-body h2,[data-theme=dark] .doc-body h3,[data-theme=dark] .doc-body ul,[data-theme=dark] .doc-body li,[data-theme=dark] .doc-body .art,[data-theme=dark] .warn-body,[data-theme=dark] .warn-body b{color:var(--text)!important}
[data-theme=dark] .doc-h .k,[data-theme=dark] .auth-panel .cp-label,[data-theme=dark] .auth-panel .cp-hint,[data-theme=dark] .scard .full,[data-theme=dark] .scard .meta{color:var(--text-muted)!important}
.doc-body,.faq-answer,.auth-panel{font-size:15px}.faq-wall .faq-item{border-radius:18px}.faq-question{padding:18px 22px!important}.faq-answer{padding-left:22px!important;padding-right:22px!important}.faq-answer li{line-height:1.7}.launcher-terms{padding:20px!important;border-radius:18px}
@media(max-width:920px){.home-community>.wrap{grid-template-columns:1fr}.hero-side{width:100%}.community-main{grid-template-columns:1fr 1fr}.regl{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  header.nav .game-primary{gap:4px;min-width:0;flex-wrap:wrap}header.nav .game-primary>a:not(.game-chat),header.nav .game-primary>button,header.nav .game-primary summary{font-size:12px!important;padding:0 4px!important}.game-club{margin-left:auto}
  .game-choice{padding:14px 0}.game-choice-head{margin:0 0 10px}.game-choice-head h2{font-size:23px}.game-choice-head p{display:none}.game-reset{font-size:12px;padding:8px 11px}.game-cards{gap:10px}.game-card,.game-card[aria-pressed=true]{padding:14px 11px;min-height:112px;justify-content:center;border-radius:16px;gap:7px;color:#fff}
  .game-card::before,.game-card[data-game-choice=dr2]::before{inset:0;border-radius:15px;background-image:linear-gradient(0deg,#071510e8,#07151055),url('/img/hero_rally.jpg')}.game-card[data-game-choice=dr2]::before{background-image:linear-gradient(0deg,#071510e8,#07151055),url('/img/bg/dr2_forest.jpg')}.game-card small,.game-card em{display:none}.game-card b{font-size:25px;line-height:1.1;max-width:none}.game-card span{font-size:12px;line-height:1.3;max-width:none;color:#eef2ee}.game-choice-note{display:none}
  .hero{max-width:calc(100% - 32px);border-radius:18px}.hero-in{padding:20px!important;grid-template-columns:minmax(0,1fr);gap:0}.hero-name{font-size:34px!important;line-height:1.05}.hero-champ{font-size:14px;margin-bottom:12px}.hero .state{font-size:12px}.hero .win{margin:12px 0}.hero .win-lbl{font-size:12px}.hero .cd{font-size:24px}.hero .win-ends{font-size:12px}.hero-act{gap:8px;margin-top:15px}.hero-act .btn{font-size:15px!important;padding:10px 14px!important}.hero-side{display:none!important}
  .community-main{grid-template-columns:1fr}.home-community>.wrap{gap:12px}.home-community .stats{grid-row:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px 12px}.home-community .stats dd{font-size:23px}.home-community .stats dt{font-size:11px;line-height:1.4}.home-community .fuel,.home-community .spn{padding:14px}.home-community .spn{grid-template-columns:56px minmax(0,1fr) auto}.home-community .spn-b{grid-column:auto;padding:8px;font-size:12px}.home-community .spn-more{margin-top:7px}.community-main .spn-wrap{margin:0}.club-intro{padding-top:16px}.club-about summary p{display:none}.club-about summary h2{font-size:22px}.club-about summary{padding:14px 16px}.club-about-action{font-size:12px}
  .wall{padding:15px!important}.plate .pn{font-size:22px!important}.plate .band{font-size:11px!important}.plate .pd{font-size:12px!important}.plate{min-width:0!important}.regl{grid-template-columns:minmax(0,1fr)}.doc{padding:22px 18px 65px}.doc-body{font-size:15px;line-height:1.7}.doc-h .k{letter-spacing:.03em}.faq-question,.faq-answer{padding-left:16px!important;padding-right:16px!important}.faq-wall{padding:12px!important}.faq-answer{font-size:14px!important}.launcher-terms{padding:16px!important;font-size:14px}
  /* Приоритет — таблица этапа, подиум остаётся на широком экране. */
  #stage .pod3{display:none}.hero-main,.h-in{min-width:0}header.page-head.rally{padding-top:26px!important;padding-bottom:24px!important}header.page-head.rally h1{font-size:36px!important}#hStats .stat:last-child{display:none}#hStats dd{font-size:24px!important}#hStats{margin-top:16px!important}#hTitle{font-size:32px!important}.rail{padding-top:12px!important;padding-bottom:12px!important}.eh .m{font-size:13px}.eh .in{padding:16px!important}.eh h3{font-size:27px!important}
}
@media(prefers-reduced-motion:reduce){.game-card:hover{transform:none}}
.home-leaders{margin-top:16px}.home-leaders details{border:1px solid var(--edge);border-radius:18px;background:var(--surface);color:var(--text)}.home-leaders summary{cursor:pointer;padding:14px 18px;font-weight:600;font-size:14px}.home-leaders .glass{margin:0;border:0;background:transparent;color:var(--text);padding:0 18px 16px;box-shadow:none}.home-leaders .glass-h{display:none}.home-leaders .glass-msg{color:var(--text-muted);font-size:14px}.home-leaders .lead{color:var(--text)}.hero-in{grid-template-columns:minmax(0,1fr)!important;max-width:none}.hero-tabs{margin-top:14px;gap:6px;flex-wrap:wrap}.hero-tabs button{font-size:13px!important;padding:6px 10px!important;min-height:32px}
@media(min-width:921px){.hero-in>.fadein{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);column-gap:36px;align-items:center}.hero .state,.hero .hero-name,.hero .hero-champ{grid-column:1}.hero .win{grid-column:2;grid-row:1/span 3}.hero .hero-tabs{grid-column:1/-1}.hero .hero-act{grid-column:1/-1;margin-top:14px}}
@media(max-width:600px){.home-leaders{margin-top:12px}.hero-tabs{margin-top:12px}.hero-tabs button{font-size:12px!important;min-height:30px;padding:5px 9px!important}}
/* Таблички сохраняют номер и полосу игры, но текст больше не пересекает даты. */
.plates>li,.plates>li:hover{transform:none!important}.wall .plate{display:flex;flex-direction:column;gap:10px;aspect-ratio:auto!important;min-height:184px;height:100%;padding:44px 15px 16px;background:var(--surface)!important;color:var(--text)!important}
.wall .plate .band{left:0;right:0;top:0;border-radius:15px 15px 0 0;height:30px;padding:0 12px;font-size:12px!important;letter-spacing:0}
.wall .plate .pn{margin:0;line-height:1.1;-webkit-line-clamp:3;color:var(--text)!important;overflow-wrap:anywhere;flex:1}
.wall .plate .pd{position:static;color:var(--text-muted)!important;padding-right:30px;line-height:1.5}
.wall .plate .no{right:12px;bottom:14px;font-size:28px;color:var(--text-muted)}
.wall .plate .pcd{position:static;text-align:left;line-height:1.5}.wall .plate .pcd small{display:inline;margin-right:6px;color:var(--text-muted)}
.wall .plate .stamp{position:static;align-self:flex-start;transform:none;padding:2px 8px;border-width:1px;font-size:12px}
.scard{background:var(--surface)!important;color:var(--text)!important}.scard .nm{color:var(--text)!important}
.lz-participation{padding:20px!important;border-radius:18px!important;background:var(--surface)!important;border:1px solid var(--edge)!important;font-size:15px;line-height:1.7}.lz-participation h2{margin-bottom:10px}.lz-participation p{margin:8px 0}
@media(max-width:600px){.wall .plate{min-height:180px;padding:42px 12px 14px;gap:8px}.wall .plate .pn{font-size:22px!important}.wall .plate .pd{font-size:12px!important;padding-right:20px}.wall .plate .no{font-size:24px}.lz-participation{padding:16px!important}}
[data-theme=dark] .faq-wall .faq-answer,[data-theme=dark] .faq-wall .faq-answer b,[data-theme=dark] .faq-wall .faq-question h3,[data-theme=dark] .faq-wall .faq-box h4,[data-theme=dark] .faq-wall .faq-box li,[data-theme=dark] .auth-panel .club-box p,[data-theme=dark] .auth-panel .rs-text{color:var(--text)!important}
[data-theme=dark] .faq-wall .faq-box{background:var(--surface-alt)!important;border-color:var(--edge)!important}
[data-theme=dark] .faq-wall .faq-item.active .faq-question h3{color:var(--accent)!important}
#hStats>div{min-width:0}#hStats dd{overflow-wrap:anywhere;line-height:1.25}#hStats>div:last-child dd{font-family:Inter,sans-serif!important;font-size:17px!important;font-weight:700;letter-spacing:0}
@media(max-width:600px){#hStats>div:last-child{display:none}#hStats{grid-template-columns:1fr 1fr!important}.hero-h{padding-top:24px!important;padding-bottom:24px!important}}
/* О клубе: один нейтральный раскрываемый блок в начале главной. */
.club-intro{padding:10px 0 0}.club-about summary{padding:8px 14px;min-height:36px}.club-about summary h2{font-size:19px}.club-about summary p{font-size:12px;margin-top:1px}.club-about-action{font-size:12px}.club-about-action::after{font-size:20px}
@media(max-width:600px){.club-intro{padding:8px 0 0}.club-about summary{padding:6px 12px;min-height:34px}.club-about summary h2{font-size:18px}.club-about-action{font-size:12px;gap:6px}}
@media(max-width:600px){.game-choice{padding:10px 0}.game-choice-head{margin-bottom:8px}.hero-in{padding:18px!important}.hero-act{margin-top:12px}.hero-tabs{margin-top:8px}}
