/* «Две кибербанды Колывана» — оформление главной kolyvan.online (только index.html: site.css подключают ещё управление и студия).
   Язык: ночной город после дождя, неон в цвете банды, матовый чёрный металл, карбон, хром, стекло, голографическая плёнка,
   HUD-рамки и сканирование. Банда Stake — кислотно-зелёный неон, банда 1WIN — синий неон с золотом.
   Цвета банд — токены theme.css (--accent, --accent-2, --cta-*); здесь — материалы, формы и движение.
   Движутся только transform, opacity и stroke-dashoffset; бесконечное — только пока элемент на экране (.is-on от fx.js)
   и не на скрытой вкладке (.fx-sleep); «меньше движения» — всё стоит. На телефоне — спокойный режим: без дождя за прокруткой,
   без размытия подложек и без дрожи — только короткие появления.
   Порядок: токены → основа → материалы и компоненты → шапка → первый экран → секции → разделы (бильярд, кабинет, задания, чат) →
   подвал → смена банды → эффекты → планшет и телефон → «меньше движения». */

/* ---------- токены ---------- */
:root {
  --f-display: "Tektur", "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ink: #eef2f5;
  --ink-2: rgba(226, 234, 240, 0.7);
  --ink-3: rgba(214, 224, 232, 0.6);
  --m0: #060809; --m1: #0c0f12; --m2: #13171b; --m3: #1c2126;
  --edge-1: rgba(255, 255, 255, 0.07);
  --edge-2: rgba(255, 255, 255, 0.13);
  --hl: rgba(255, 255, 255, 0.1);
  --hud-c: rgba(255, 255, 255, 0.26);
  --cut: 12px;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e9edf1 30%, #9aa2ab 48%, #f4f6f8 54%, #b7bec6 76%, #eef1f4 100%);
  /* зерно плёнки: шум из SVG (data: — разрешено img-src); маска «распылителя» для меток территории */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --spray: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.2 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  /* угловые скобки HUD: восемь коротких штрихов фоном — псевдоэлементы карточек остаются свободными */
  --hudc:
    linear-gradient(var(--hud-c), var(--hud-c)) top left / 12px 1px no-repeat,
    linear-gradient(var(--hud-c), var(--hud-c)) top left / 1px 12px no-repeat,
    linear-gradient(var(--hud-c), var(--hud-c)) top right / 12px 1px no-repeat,
    linear-gradient(var(--hud-c), var(--hud-c)) top right / 1px 12px no-repeat,
    linear-gradient(var(--hud-c), var(--hud-c)) bottom left / 12px 1px no-repeat,
    linear-gradient(var(--hud-c), var(--hud-c)) bottom left / 1px 12px no-repeat,
    linear-gradient(var(--hud-c), var(--hud-c)) bottom right / 12px 1px no-repeat,
    linear-gradient(var(--hud-c), var(--hud-c)) bottom right / 1px 12px no-repeat;
  --metal: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 28%), linear-gradient(180deg, var(--m2), var(--m1) 58%, var(--m0));
  --wrap: 1200px;
  --top-h: 70px;
  --sub-h: 46px;
}
/* палитра страницы — темнее прежней: ночь, металл и неон. Токены те же (их читают cabinet.js, billiard.js и задания), меняются значения */
:root[data-project] {
  --bg: #040706; --bg-rgb: 4, 7, 6;
  --bg-2: #080c0b; --bg-2-rgb: 8, 12, 11;
  --bg-3: #0d1211;
  --panel: #111615; --panel-rgb: 17, 22, 21;
  --panel-2: #171d1c;
  --line: #232b2a; --line-rgb: 35, 43, 42;
  --text: #eef2f5;
  --muted: #a8b4b2; --muted-rgb: 168, 180, 178;
  --dim: #6f7c7a;
  --trim: var(--accent); --trim-rgb: var(--accent-rgb);      /* отделка: у Stake — тот же зелёный, у 1WIN — золото */
  --neon-core: #e8ffe8;
  --card-bg: var(--metal);
  --edge: rgba(255, 255, 255, 0.09);
}
:root[data-project="onewin"] {
  --bg: #03050c; --bg-rgb: 3, 5, 12;
  --bg-2: #070a16; --bg-2-rgb: 7, 10, 22;
  --bg-3: #0b1022;
  --panel: #0e1220; --panel-rgb: 14, 18, 32;
  --panel-2: #141a2c;
  --line: #222a40; --line-rgb: 34, 42, 64;
  --muted: #a7b2cf; --muted-rgb: 167, 178, 207;
  --dim: #6c7799;
  --trim: var(--accent-2); --trim-rgb: var(--accent-2-rgb);
  --neon-core: #e6f0ff;
  --m0: #05070d; --m1: #0b0e18; --m2: #121726; --m3: #1a2032;
}

/* ---------- основа ---------- */
/* фон держит html: у body он прозрачный, иначе фон body закрыл бы город за страницей (у того z-index: -1) */
html { background: var(--bg); }
body { background: transparent; color: var(--ink); font-family: var(--font); }
::selection { background: rgba(var(--accent-rgb), 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
section { scroll-margin-top: calc(var(--top-h) + var(--sub-h) + 14px); }
/* по горизонтали раздел обрезает своё: метки территории и выступы предметов не раздвигают страницу вбок (на телефоне
   это расширяло окно, и меню-лист съезжало) */
.sec { position: relative; padding: 104px 0; overflow-x: clip; }
.sec > .wrap { position: relative; z-index: 1; }

/* подписи и заголовки: моноширинная подпись HUD, угловатый Tektur, текст — Montserrat */
.label { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.sec-head { max-width: 780px; }
.lbl-gang { padding: 4px 8px 3px; border-radius: 2px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55); }
h2 { margin-top: 14px; font-family: var(--f-display); font-weight: 800; font-stretch: 88%; font-size: clamp(34px, 4.4vw, 62px); line-height: 0.98; letter-spacing: -0.008em; text-wrap: balance; }
h2 em { font-style: normal; color: var(--accent); text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.45); }
h3.sub { margin-top: 44px; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: 0.01em; }
h3.sub .ico { width: 22px; height: 22px; color: var(--accent); }
.lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.lead b { color: var(--ink); }
.plus { color: var(--accent); }
.empty { color: var(--ink-2); }

/* ---------- материалы и компоненты ---------- */
/* модуль «железа»: матовый металл, кромка-блик сверху, скобки HUD по углам */
.card {
  background: var(--hudc), var(--metal);
  border: 1px solid var(--edge-1);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 var(--hl), 0 34px 60px -34px rgba(0, 0, 0, 0.95);
}
.card.fx-hot { --hud-c: rgba(var(--accent-rgb), 0.8); }

/* кнопки: тёмная плита, у главного действия — заливка банды; крупная кнопка вступления — со срезанными углами */
.btn {
  min-height: 46px; padding: 12px 20px;
  border-radius: 4px; border: 1px solid var(--edge-2);
  background: linear-gradient(180deg, #1d2228, #121519);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 22px -12px rgba(0, 0, 0, 0.9);
  font-family: var(--font); font-size: 15px; font-weight: 800; letter-spacing: 0.01em; color: var(--ink);
}
.btn:hover { border-color: rgba(var(--accent-rgb), 0.6); transform: translateY(-1px); }
.btn.go { border-color: transparent; background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px -10px rgba(var(--accent-rgb), 0.75); }
.btn.go:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 32px -8px rgba(var(--accent-rgb), 0.9); }
.btn.ghost { background: rgba(6, 8, 10, 0.55); border-color: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn.tg { border-color: rgba(42, 171, 238, 0.7); color: #7fd0ff; background: rgba(42, 171, 238, 0.08); }
/* срезанные углы держит clip-path; свечение — на обёртке .cta-w (тень фильтром обходит срез, а не прямоугольник) */
.cta-w { display: inline-flex; flex-wrap: wrap; gap: 12px; filter: drop-shadow(0 10px 26px rgba(var(--cta-rgb), 0.38)); }
/* кнопку срезает clip-path, поэтому кольцо фокуса — внутри неё, тёмное по яркой заливке */
.btn.cta:focus-visible { outline: 2px solid var(--cta-ink); outline-offset: -7px; }
.btn.cta {
  min-height: 60px; padding: 12px 26px 12px 24px; gap: 14px;
  border: 0; border-radius: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background: var(--cta-bg); color: var(--cta-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.btn.cta:hover { background: var(--cta-bg-hover); transform: translateY(-2px); }
.btn.cta .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.cta-t { display: grid; justify-items: start; line-height: 1.05; }
.cta-t b { font-weight: 800; }
.cta-t small { margin-top: 3px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; }
/* переход в кабинет: главная — витрина, у раздела одна кнопка туда, где это делается, и строка — что там ждёт */
.cab-cta { position: relative; z-index: 1; margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cab-cta .btn { display: inline-flex; align-items: center; gap: 10px; }
.cab-cta .btn .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.cab-cta .btn:hover .ico { transform: translateX(3px); }
.cab-cta > span { max-width: 560px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) { .cab-cta { margin-top: 24px; } .cab-cta .btn { width: 100%; justify-content: center; } }

/* метки, плашки, поля */
.pill { border-radius: 3px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.chipt { border-radius: 2px; font-family: var(--f-mono); letter-spacing: 0.14em; }
.ptag { border-radius: 2px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; background: rgba(6, 8, 10, 0.78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ptag::before { border-radius: 1px; }
.field, .cform input, .check input, .bugform textarea, .bugform input[name="name"] {
  background: rgba(3, 4, 5, 0.75); border: 1px solid var(--edge-2); border-radius: 4px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* табло цифр: тёмное стекло с делениями, подписи моноширинные, числа — Tektur */
.stats { border-radius: 6px; border-color: var(--edge-1); background: var(--hudc), linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), rgba(6, 8, 10, 0.82); box-shadow: inset 0 1px 0 var(--hl); }
.stat { border-left-color: var(--edge-1); }
.stat .k { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; color: var(--ink-3); }
.stat .v { margin-top: 8px; font-family: var(--f-display); font-weight: 700; font-stretch: 90%; letter-spacing: 0.01em; }
.stat.hl { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.03)); }
.stat.hl .v { color: var(--accent); text-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45); }
table { font-variant-numeric: tabular-nums; }
th { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; color: var(--ink-3); border-bottom-color: var(--edge-1); }
td { border-top-color: rgba(255, 255, 255, 0.05); }
tbody tr:hover { background-color: rgba(var(--accent-rgb), 0.04); }

/* ---------- город за страницей ---------- */
/* тот же кадр, что на первом экране, размытый и приглушённый: ночь видна сквозь всю страницу, а читать ничто не мешает */
.city-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.city-bg i { position: absolute; inset: -6%; background-position: 64% 50%; background-size: cover; opacity: 0.2; filter: blur(18px) saturate(1.2); }
.city-bg i[data-only="stake"] { background-image: url(img/city-stake.webp); }
.city-bg i[data-only="onewin"] { background-image: url(img/city-onewin.webp); }
.city-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(var(--bg-rgb), 0.85) 100%); }

/* ---------- шапка: техно-полоса по стандарту kolyvan.tech — знак банды, разделы моноширинным, тумблер банд, кабинет ----------
   Под шапкой — строка разделов страницы с номерами; по её нижней кромке идёт рельс прокрутки: металлическая шина, свет банды
   доходит до текущего места, на конце — искра, узлы — начала разделов. На телефоне — та же полоса, разделы — в меню-листе. */
header {
  background: linear-gradient(180deg, rgba(6, 8, 10, 0.95), rgba(4, 5, 7, 0.9));
  border-bottom: 0;
  box-shadow: none;
}
/* металлическая кромка: тонкая шина с засечками через 64 px — шаг сетки, как у стыков разделов */
header::after { height: 1px; bottom: 0; opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 10%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.12) 90%, transparent); }
header .wrap { position: relative; height: var(--top-h); gap: 18px; }
.brand { gap: 12px; }
/* знак: стальное кольцо-основание, в нём живой герб банды (3D-петля); пока петли нет — герб картинкой */
.brand-mark { position: relative; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #1f252b, #08090b 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 -3px 6px rgba(0, 0, 0, 0.8), 0 0 0 3px rgba(0, 0, 0, 0.55), 0 0 22px -6px rgba(var(--accent-rgb), 0.7); }
.brand-mark::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0 62%, rgba(var(--accent-rgb), 0.85) 72%, transparent 82%); -webkit-mask: radial-gradient(closest-side, transparent 91%, #000 92%); mask: radial-gradient(closest-side, transparent 91%, #000 92%); }
.brand-mark .live3d { position: absolute; inset: -5px; width: auto; }
.brand-t { display: flex; }
.brand-t b { font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: 0.12em; line-height: 1;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-t small { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.26em; color: var(--accent); }
.brand-t small em { font-style: normal; font-weight: 500; letter-spacing: 0.14em; color: var(--ink-3); }
/* огонёк «на связи»: дышит медленно, без вспышек */
.air { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: air 1.9s linear infinite; }
@keyframes air { 0%, 100% { opacity: 0.55; } 12% { opacity: 1; } }

/* разделы сайта: моноширинные, с номерами; текущий — подложка и точка под ним */
.mainnav { margin-left: 10px; gap: 2px; }
.mainnav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); background: none; box-shadow: none; }
.mainnav a i { font-style: normal; font-size: 10px; letter-spacing: 0.06em; color: rgba(var(--accent-rgb), 0.5); }
.mainnav a:hover { color: var(--ink); }
.mainnav a.on { color: var(--ink); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.mainnav a.on i { color: var(--accent); }
.mainnav a.on::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* тумблер банд: утопленный паз с подсвеченной дорожкой, стальной рычаг с рифлением и огоньком банды; логотипы по концам */
.pswitch { display: inline-flex; grid-template-columns: none; align-items: center; gap: 6px; margin: 0 0 0 auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.pbtn { display: inline-flex; align-items: center; gap: 8px; width: auto; height: 42px; padding: 0 6px; border-radius: 6px; }
.pbtn img { height: 19px; opacity: 0.32; filter: grayscale(1) brightness(0.85); transform: none; }
.pbtn:hover img { opacity: 0.75; filter: grayscale(0.3); }
.pbtn[aria-pressed="true"] img { opacity: 1; filter: drop-shadow(0 0 7px rgba(var(--accent-rgb), 0.7)); transform: none; }
.pbtn:focus-visible { outline-offset: 0; border-radius: 6px; }
.pled { position: relative; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #1d2024; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.04); transition: background-color 0.3s, box-shadow 0.3s; }
.pbtn[aria-pressed="true"] .pled { background: var(--accent); box-shadow: 0 0 6px var(--accent), 0 0 14px rgba(var(--accent-rgb), 0.7), inset 0 0 1px #fff; }
.ptog { position: relative; flex: 0 0 auto; width: 54px; height: 26px; border-radius: 13px; cursor: pointer;
  background: linear-gradient(180deg, #020304, #0e1114);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.09), 0 1px 0 rgba(255, 255, 255, 0.04); }
/* дорожка паза светится со стороны текущей банды */
.ptog::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.08)); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.55); }
:root[data-project="onewin"] .ptog::before { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), var(--accent)); }
.plever { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fafbfc, #a9b0b8 38%, #4a5058 70%, #1b1e22);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.85), inset 0 -1px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.65);
  transition: transform 0.55s var(--ease-spring); }
/* рифление по ободу и огонёк банды в центре рычага */
.plever::before { content: ""; position: absolute; inset: 1px; border-radius: 50%; background: repeating-conic-gradient(rgba(0, 0, 0, 0.42) 0 5deg, transparent 5deg 10deg);
  -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 66%); mask: radial-gradient(closest-side, transparent 62%, #000 66%); }
.plever::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent), 0 0 12px rgba(var(--accent-rgb), 0.7); }
:root[data-project="onewin"] .plever { transform: translate3d(28px, 0, 0); }
.ptog:hover .plever { box-shadow: 0 3px 6px rgba(0, 0, 0, 0.85), inset 0 -1px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.65), 0 0 14px rgba(var(--accent-rgb), 0.45); }
.pswitch.one .ptog { display: none; }

.topcab { gap: 9px; min-height: 40px; padding: 0 15px; border-radius: 3px; border: 1px solid var(--edge-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.topcab:hover { background: rgba(var(--accent-rgb), 0.08); border-color: rgba(var(--accent-rgb), 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 18px rgba(var(--accent-rgb), 0.22); }
.topcab.in::after { width: 6px; height: 6px; }
/* кабинет — отдельный раздел: пока он открыт, кнопка подсвечена, как текущий раздел слева (подложка и рамка банды, точка под ней) */
.topcab.on { position: relative; color: var(--ink); border-color: rgba(var(--accent-rgb), 0.75); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 18px rgba(var(--accent-rgb), 0.22); }
.topcab.on::before { content: ""; position: absolute; left: 50%; bottom: -1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* кнопка меню (планшет и телефон): три планки, при открытом листе — крест */
.menu-btn { display: none; flex: 0 0 auto; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.menu-btn i:nth-child(1) { top: 15px; }
.menu-btn i:nth-child(2) { top: 21px; right: 18px; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.menu-btn i:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translate3d(0, 6px, 0) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translate3d(0, -6px, 0) rotate(-45deg); }

/* строка разделов страницы: номера и названия моноширинным, текущий — в рамке банды (как оглавление на kolyvan.tech) */
.subbar { background: rgba(4, 6, 7, 0.9); border-bottom: 0; }
.subbar .wrap { height: var(--sub-h); gap: 14px; }
.subtitle { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.26em; color: var(--accent); }
.subtitle::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.13), 0 0 12px rgba(var(--accent-rgb), 0.6); }
.subtitle::after { content: ""; flex: 0 0 auto; width: 22px; height: 1px; background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.7), rgba(255, 255, 255, 0.12)); }
.subnav { counter-reset: sn; gap: 2px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-3); }
.subnav a { counter-increment: sn; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 10px; border-radius: 6px; text-transform: uppercase; transition: color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.subnav a::before { content: counter(sn, decimal-leading-zero); font-size: 10px; letter-spacing: 0.04em; color: rgba(var(--accent-rgb), 0.5); }
.subnav a.back { counter-increment: none; }
.subnav a.back::before { content: none; }
.subnav a::after { display: none; }
.subnav a:hover { color: var(--ink); }
.subnav a.fx-on { color: var(--ink); background: rgba(var(--accent-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75); }
.subnav a.fx-on::before { color: var(--accent); }
.subnav a:focus-visible { outline-offset: -2px; }

/* рельс прокрутки: стеклянная неоновая трубка по нижней кромке строки разделов. Газ банды и голова света — один слой,
   едет только transform; узлы разделов — стальные клипсы, которые загораются, когда свет до них дошёл */
.hrail { position: absolute; left: 0; right: 0; bottom: -6px; height: 12px; pointer-events: none; overflow: hidden; overflow: clip;
  background: linear-gradient(180deg, transparent 4.5px, rgba(255, 255, 255, 0.3) 4.5px 5.5px, rgba(var(--accent-rgb), 0.09) 5.5px 7px, rgba(0, 0, 0, 0.6) 7px 8px, transparent 8px); }
.hr-run { position: absolute; inset: 0; transform: translate3d(-100%, 0, 0); will-change: transform; filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), 0.85));
  background:
    linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.9)) 0 50% / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(var(--accent-rgb), 0), rgba(var(--accent-rgb), 0.85) 35%, var(--accent)) 0 50% / 100% 3px no-repeat; }
.hr-run b { position: absolute; right: -9px; top: 1px; width: 18px; height: 10px; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0 24%, rgba(var(--accent-rgb), 0.9) 48%, rgba(var(--accent-rgb), 0)); }
.hr-run.is-js { transition: transform 0.12s linear; }
.hr-run.is-calm { transition: transform 0.45s var(--ease-out); }
.hr-nodes { position: absolute; inset: 0; }
.hr-nodes b { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e6e9ed, #8d939b 45%, #33373e); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.85); transition: background 0.3s, box-shadow 0.3s; }
.hr-nodes b.got { background: radial-gradient(circle at 35% 30%, #fff, rgba(var(--accent-rgb), 0.85) 50%, rgba(var(--accent-rgb), 0.45)); }
.hr-nodes b.on { background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 50%); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18), 0 0 12px var(--accent); }
@supports (animation-timeline: scroll()) {
  .hr-run.is-css { animation: hr-run linear both; animation-timeline: scroll(root block); }
}
@keyframes hr-run { from { transform: translate3d(-100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* меню-лист: справа, во всю высоту; разделы крупно, с номерами; тумблер банд и кабинет — под рукой */
.sheet { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, 0.62); }
.sheet-box { position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(100%, 440px); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px max(20px, env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) 24px;
  background: linear-gradient(180deg, #07090b, #030405 70%); box-shadow: -1px 0 0 rgba(255, 255, 255, 0.08), -30px 0 60px -20px rgba(0, 0, 0, 0.9);
  animation: sheet-in 0.38s var(--ease-out); }
/* шина по левому краю листа: свет банды сверху вниз, узлы — напротив разделов */
.sheet-box::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.18) 40%, rgba(255, 255, 255, 0.06)); }
@keyframes sheet-in { from { transform: translate3d(28px, 0, 0); opacity: 0; } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.sheet-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.sheet-k i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.13), 0 0 12px rgba(var(--accent-rgb), 0.6); }
.sheet-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.sheet-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sheet-gang { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sg { position: relative; display: grid; justify-items: start; gap: 8px; min-height: 76px; padding: 12px 14px; border: 0; border-radius: 6px; cursor: pointer; text-align: left;
  background: linear-gradient(180deg, #111418, #08090b); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: var(--ink-3); }
.sg img { height: 20px; width: auto; opacity: 0.4; filter: grayscale(1); }
.sg span { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.sg .pled { position: absolute; top: 12px; right: 12px; }
.sg[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75), 0 0 24px -8px rgba(var(--accent-rgb), 0.6); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), #08090b); }
.sg[aria-pressed="true"] img { opacity: 1; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.6)); }
.sg[aria-pressed="true"] .pled { background: var(--accent); box-shadow: 0 0 6px var(--accent), 0 0 14px rgba(var(--accent-rgb), 0.7); }
.sheet-views, .sheet-nav { margin-left: 0; }      /* у nav сайта по умолчанию — отступ слева «auto» и промежутки шапки */
.sheet-views { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sheet-views a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 6px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.sheet-views a i { font-style: normal; font-size: 10px; color: rgba(var(--accent-rgb), 0.5); }
.sheet-views a.on { color: var(--ink); background: rgba(var(--accent-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75); }
.sheet-views a.on i { color: var(--accent); }
.sheet-nav { margin-top: 18px; display: grid; gap: 0; }
.sheet-nav a { position: relative; display: flex; align-items: baseline; gap: 14px; min-height: 54px; padding: 13px 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--f-display); font-size: 24px; font-weight: 700; font-stretch: 90%; line-height: 1.1; color: var(--ink); }
.sheet-nav a i { flex: 0 0 26px; font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: rgba(var(--accent-rgb), 0.55); }
.sheet-nav a::before { content: ""; position: absolute; left: -18px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 1.5px; background: #22272d; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7); }
.sheet-nav a.fx-on { color: var(--accent); }
.sheet-nav a.fx-on i { color: var(--accent); }
.sheet-nav a.fx-on::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15), 0 0 10px var(--accent); }
.sheet-cab { margin-top: 22px; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 6px; font-weight: 700; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.sheet-cab .ico { width: 20px; height: 20px; color: var(--accent); }
.sheet-cab .ico:last-child { margin-left: auto; color: var(--ink-3); }
.sheet-cab.on { background: rgba(var(--accent-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75); }      /* кабинет открыт — как текущий раздел выше */
.sheet-cab.on .ico:last-child { color: var(--accent); }
.sheet-age { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.sheet-age b { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border: 1.5px solid rgba(var(--bad-rgb), 0.85); border-radius: 3px; font-family: var(--f-mono); font-size: 11px; color: var(--ink); }
html.sheet-open { overflow: hidden; }


/* ==================================================================================================
   Неоновая проводка банды: жгут по полям, стыки разделов, подписи-треки
   ================================================================================================== */
/* ---------- неон по полям (rails.js): слой над фоном секций, но только в полях — контент не перекрывает; шапка, меню и нижняя
   панель — выше. Стекло, резина и сталь — константы, газ — цвет банды: смена банды перекрашивает без пересборки ---------- */
.rails { --rl: var(--accent-rgb); --rl2: var(--trim-rgb); --rl-hi: 226, 255, 216;
  position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 1; pointer-events: none; overflow: hidden; contain: layout paint style; transition: opacity 0.35s ease; }
.rails.is-swap { opacity: 0; transition: none; }      /* смена раздела: старая схема гаснет сразу, новая проявляется после пересборки */
:root[data-project="onewin"] .rails { --rl-hi: 216, 234, 255; }
.rails svg { position: absolute; left: 0; top: 0; max-width: none; overflow: visible; }
/* шторка жгута: внешний слой сдвинут вверх, внутренний обратно; жгут виден от верха страницы до «головы» света, фронт мягкий */
.rl-rev { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; will-change: transform;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 72px); mask-image: linear-gradient(to top, transparent, #000 72px); }
.rl-in { position: absolute; inset: 0; will-change: transform; }
.rl-stop { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.rails.is-static .rl-rev { -webkit-mask-image: none; mask-image: none; }
.rails path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* стекло: тень на стене (трубка висит на стойках), кромка, тёмное нутро с оттенком люминофора, блик */
.rails .g-sh { stroke: #000; stroke-opacity: 0.5; }
.rails .g-rim { stroke: #c9d6e4; stroke-opacity: 0.26; }
.rails .g-in { stroke: #07090b; stroke-opacity: 0.92; }
/* стекло без газа — едва тронутое цветом банды: свет, который спускается с прокруткой, должен быть заметен */
.rails .g-tint { stroke: rgb(var(--rl)); stroke-opacity: 0.14; }
.rails .g-hl { stroke: #fff; stroke-opacity: 0.45; }
/* высоковольтный кабель в чёрной резине */
.rails .c-sh { stroke: #000; stroke-opacity: 0.55; }
.rails .c-bd { stroke: #121418; }
.rails .c-hl { stroke: #fff; stroke-opacity: 0.22; }
/* газ: свет на стене, ореол, цвет банды, раскалённая середина */
.rails .n-halo { stroke: rgb(var(--rl)); stroke-opacity: 0.08; }
.rails .n-glow { stroke: rgb(var(--rl)); stroke-opacity: 0.3; }
.rails .n-gas { stroke: rgb(var(--rl)); }
.rails .n-core { stroke: rgb(var(--rl-hi)); stroke-opacity: 0.92; }
/* железо: тени на стене, фаски, шлицы винтов, вентиляция, проволочные зажимы, знак высокого напряжения */
.rails .shd { fill: #000; fill-opacity: 0.5; }
.rails .bhl { fill: #fff; fill-opacity: 0.12; }
.rails .bev { stroke: #fff; stroke-opacity: 0.12; stroke-width: 1; }
.rails .sl { stroke: #15171a; stroke-width: 0.6; }
.rails .slot { stroke: #030405; stroke-width: 1.5; }
.rails .tie { stroke: #0d0e10; stroke-width: 1.8; }
.rails .tie-hl { stroke: #e9edf1; stroke-opacity: 0.5; stroke-width: 0.6; }
.rails .haz { fill: var(--gold); }
.rails .bolt { fill: #1a1300; }
.rails .c { stop-color: rgb(var(--rl)); }
.rails .c2 { stop-color: rgb(var(--rl2)); }
.rails .lf { fill: rgb(var(--rl)); }
.rails .led-off { fill: #1b1e22; stroke: #3a3f46; stroke-width: 0.6; }
/* надписи: гравировка на табличках; метки банды флуоресцентной краской проступают, когда до них доходит свет неона */
.rails text { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.14em; }
.rails .eng { font-size: 7px; letter-spacing: 0.16em; fill: #dfe4ea; fill-opacity: 0.55; }
.rails .tag { font-family: var(--f-display); font-size: 13px; font-weight: 800; letter-spacing: 0.22em; fill: #c3cad3; fill-opacity: 0.1;
  transition: fill 1.2s var(--ease-out), fill-opacity 1.2s var(--ease-out); }
.rails .tag-s { font-size: 9px; letter-spacing: 0.26em; }
.rails .dec.on .tag { fill: rgb(var(--rl)); fill-opacity: 0.5; }
.rails .crest { opacity: 0.35; transition: opacity 1s var(--ease-out); }
.rails .dec.on .crest { opacity: 1; }
.rails[data-tier="lite"] .rl-g, .rails[data-tier="lite"] .rl-h, .rails[data-tier="lite"] .rl-gg { opacity: 0.75; }
/* детали (хомуты, таблички, трансформаторы, вывески) проявляются, когда до них дошёл свет: жгут растёт вниз с прокруткой */
.rails .dec { opacity: 0; transition: opacity 0.45s var(--ease-out); }
.rails .dec.on, .rails .dec.was, .rails.is-static .dec { opacity: 1; }
.rails .dec.was { transition: none; }
/* газ в деталях (вывески, огоньки) зажигается, когда до них дошёл свет: неоновый поджиг — пара вспышек и ровный свет */
.rails .lit { opacity: 0; }
.rails .dec.on .lit { animation: nn-ignite 1.1s linear forwards; }
@keyframes nn-ignite { 0% { opacity: 0; } 6% { opacity: 0.9; } 11% { opacity: 0.08; } 19% { opacity: 1; } 25% { opacity: 0.3; } 34%, 100% { opacity: 1; } }
/* ток: сгусток плазмы бежит по горящей части, яркая голова — на фронте газа */
.rl-pulse, .rl-spark { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform, opacity; }
.rl-pulse { width: 64px; height: var(--w, 2px); margin: calc(var(--w, 2px) / -2) 0 0 -64px; transform-origin: 100% 50%; opacity: 0; border-radius: 99px;
  background: linear-gradient(90deg, rgba(var(--rl-hi), 0), rgba(var(--rl-hi), 0.55) 70%, rgb(var(--rl-hi))); box-shadow: 0 0 12px 2px rgba(var(--rl), 0.45); }
.rl-spark { width: 24px; height: 44px; margin: -22px 0 0 -12px; border-radius: 50%; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(closest-side, rgb(var(--rl-hi)) 0 16%, rgba(var(--rl), 0.75) 30%, rgba(var(--rl), 0.2) 60%, rgba(var(--rl), 0)); }
.rl-spark.on { opacity: 1; }
/* кольцо печати в подвале: стекло проявляется, газ вспыхивает, когда свет дошёл до низа страницы */
.rails .join .jgl { opacity: 0; transition: opacity 0.5s var(--ease-out); }
.rails .join.on .jgl { opacity: 1; }
.rails .join .jg { opacity: 0; transition: opacity 1.1s var(--ease-out); }
.rails .join.on .jg { opacity: 1; }
.rails .join .jr { opacity: 0; }
.rails .join.on .jr { animation: nn-ignite 1.4s linear forwards; }
.rails.no-anim .lit, .rails.no-anim .jr, .rails.no-anim .jg, .rails.no-anim .jgl, .rails.no-anim .dec, .rails.no-anim .rl-spark, .rails.no-anim .tag, .rails.no-anim .crest { transition: none !important; animation: none !important; }
.rails .dec.was .lit, .rails .join.was .jr { animation: none; opacity: 1; }
.rails .join.was .jgl { transition: none; }
.rails.is-static .lit, .rails.is-static .jg, .rails.is-static .jr, .rails.is-static .jgl { opacity: 1; animation: none; }
.rails.is-static .tag { fill: rgb(var(--rl)); fill-opacity: 0.4; }
.rails.is-static .crest { opacity: 1; }
@media print { .rails { display: none; } }

/* ---------- стык разделов: неоновая трубка по шву (site.js ставит стык перед каждым разделом страницы) ----------
   Из правого поля, от жгута, по шву загорается трубка, по ней пробегает сгусток плазмы, у начала раздела трубка изгибается
   вниз — к подписи раздела; справа — путь «~/было → 02 ~/стало», на миг вспыхивает неоновый номер. Только transform и opacity.
   Высота 1px (и −1px снизу): у цели нулевой площади Safari не сообщает пересечение */
.seam { position: relative; z-index: 2; height: 1px; margin-bottom: -1px; overflow-x: clip; pointer-events: none; --seam-c: var(--accent-rgb); }
.seam-wrap { position: relative; height: 0; width: min(100% - 2 * var(--gut), var(--wrap) - 2 * var(--gut)); margin: 0 auto; }
.seam-wrap > * { position: absolute; display: block; }
.seam-trace { left: 14px; right: calc(50% - 50vw); top: -1px; height: 3px; border-radius: 2px; transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgb(var(--seam-c)), rgba(var(--seam-c), 0.55) 120px, rgba(var(--seam-c), 0.16) 40%, rgba(var(--seam-c), 0.05) 78%, transparent);
  filter: drop-shadow(0 0 3px rgba(var(--seam-c), 0.7)); }
/* раскалённая середина трубки — у начала раздела, гаснет к полю */
.seam-trace::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.3) 120px, transparent 40%); }
.seam-pulse { position: absolute; left: 0; top: -1px; width: 180px; height: 3px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, #fff, rgba(var(--seam-c), 0.8) 20%, rgba(var(--seam-c), 0.3) 55%, transparent); box-shadow: 0 0 14px 2px rgba(var(--seam-c), 0.55); }
/* изгиб трубки: со шва — вниз, к подписи */
.seam-node { left: -1px; top: -1px; width: 15px; height: 15px; border: 3px solid rgb(var(--seam-c)); border-right: 0; border-bottom: 0; border-top-left-radius: 15px;
  filter: drop-shadow(0 0 3px rgba(var(--seam-c), 0.8)); }
.seam-drop { left: -1px; top: 14px; width: 3px; height: calc(var(--drop, 96px) - 14px); border-radius: 0 0 2px 2px; transform-origin: 50% 0;
  background: linear-gradient(rgb(var(--seam-c)), rgba(var(--seam-c), 0.4) 60%, rgba(var(--seam-c), 0.9)); filter: drop-shadow(0 0 3px rgba(var(--seam-c), 0.7)); }
.seam-read { right: 0; top: 14px; white-space: nowrap; font: 500 11px/1 var(--f-mono); letter-spacing: 0.12em; color: var(--ink-3); }
.seam-read i { font-style: normal; margin-inline: 0.7em; color: rgba(233, 236, 239, 0.35); }
.seam-read b { font-weight: 500; color: var(--accent); margin-right: 0.5em; }
/* номер раздела — неоновой вывеской: контур трубкой, вспыхивает с поджигом и гаснет */
.seam-num { right: 0; top: 0; transform: translateY(-50%); opacity: 0;
  font: 800 clamp(140px, 20vw, 300px)/1 var(--f-display); font-stretch: 80%; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--seam-c), 0.85);
  filter: drop-shadow(0 0 8px rgba(var(--seam-c), 0.6)); }
.seam.is-armed .seam-trace { transform: scaleX(0); }
.seam.is-armed .seam-node { transform: scale(0.2); opacity: 0; }
.seam.is-armed .seam-drop { transform: scaleY(0); }
.seam.is-armed .seam-read { opacity: 0; transform: translateX(10px); }
.seam.is-on .seam-trace { transform: none; transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); }
.seam.is-on .seam-pulse { animation: seam-pulse 1.05s cubic-bezier(0.5, 0, 0.3, 1) 0.15s both; }
.seam.is-on .seam-node { transform: none; opacity: 1; transition: transform 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) 0.85s, opacity 0.2s 0.85s; }
.seam.is-on .seam-drop { transform: none; transition: transform 0.5s var(--ease-out) 1s; }
.seam.is-on .seam-read { opacity: 1; transform: none; transition: opacity 0.5s 0.1s, transform 0.7s var(--ease-out) 0.1s; }
.seam.is-on .seam-num { animation: seam-num 1.6s linear 0.35s both; }
@keyframes seam-num { 0% { opacity: 0; transform: translateY(-50%) scale(1.04); } 7% { opacity: 0.6; } 11% { opacity: 0.06; } 19% { opacity: 0.55; } 25% { opacity: 0.18; }
  36% { opacity: 0.5; transform: translateY(-50%); } 100% { opacity: 0; transform: translateY(-50%); } }
@keyframes seam-pulse { 0% { opacity: 0; transform: translateX(min(100vw, 1500px)); } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(-20px); } }
/* у стыка шина своя — прежняя линия по верху раздела не нужна */

/* ---------- подпись раздела — трек: номер, название и путь моноширинным, у левого края — планка цвета банды, в неё приходит сигнал стыка ---------- */
.sec-head .label, .view > section > .wrap > .label { display: inline-flex; align-items: center; gap: 0; padding-left: 12px; border-left: 2px solid var(--accent); line-height: 1.15;
  font-size: 11.5px; letter-spacing: 0.18em; color: var(--ink-2); }
.sec-head .label::before, .view > section > .wrap > .label::before { content: none; }
.sec-head .label[data-n]::before, .view > section > .wrap > .label[data-n]::before { content: attr(data-n) "\00a0·\00a0\00a0"; flex: none; width: auto; height: auto; background: none; box-shadow: none; clip-path: none; color: var(--accent); }
.sec-head .label::after { content: none; }
.sec-head .label[data-path]::after, .view > section > .wrap > .label[data-path]::after { content: attr(data-path); flex: none; width: auto; height: auto; margin-left: 2.4em; background: none; letter-spacing: 0.12em; text-transform: none; color: var(--ink-3); }
.lbl-gang { margin-left: 12px; }

/* ---------- места под живые 3D-предметы: kolyvan3d.js монтирует петлю в .live3d и сам ставит постер, пока она грузится.
   Пока файлов нет, блок пуст и держит место: у кого есть своя картинка — она, у остальных — стенд: свет банды и HUD-кольцо ---------- */
.live3d { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.live3d:empty { background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.04) 58%, transparent 74%); }
.live3d:empty::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 1px dashed rgba(var(--accent-rgb), 0.3); }
.live3d:empty::after { content: ""; position: absolute; inset: 6%; opacity: 0.8;
  background:
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) top left / 16px 1px no-repeat,
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) top left / 1px 16px no-repeat,
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) top right / 16px 1px no-repeat,
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) top right / 1px 16px no-repeat,
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) bottom left / 16px 1px no-repeat,
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) bottom left / 1px 16px no-repeat,
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) bottom right / 16px 1px no-repeat,
    linear-gradient(rgba(var(--accent-rgb), 0.6), rgba(var(--accent-rgb), 0.6)) bottom right / 1px 16px no-repeat; }
.live3d:is([data-live3d="emblem"], [data-live3d="vault"], [data-live3d="radio"], [data-live3d="crate"]):empty::before,
.live3d:is([data-live3d="emblem"], [data-live3d="vault"], [data-live3d="radio"], [data-live3d="crate"]):empty::after { content: none; }
.live3d[data-live3d="emblem"]:empty { background: url(img/crest-stake.webp) center / contain no-repeat; }
:root[data-project="onewin"] .live3d[data-live3d="emblem"]:empty { background-image: url(img/crest-onewin.webp); }
.live3d[data-live3d="vault"]:empty { background: url(img/vault.webp) center / contain no-repeat; }
.live3d[data-live3d="radio"]:empty { background: url(img/radio.webp) center / contain no-repeat; }
.live3d[data-live3d="crate"]:empty { background: url(img/crate-stake.webp) center / contain no-repeat; }
:root[data-project="onewin"] .live3d[data-live3d="crate"]:empty { background-image: url(img/crate-onewin.webp); }
/* зеркальные предметы (MIRRORED в kolyvan3d.js) — заглушка до монтажа отражена так же, без скачка */
.live3d:is([data-live3d="badge"], [data-live3d="crate"], [data-live3d="drum"], [data-live3d="monitor"], [data-live3d="radio"]):empty { transform: scaleX(-1); }
/* отражённый на месте предмет (атрибут data-live3d-flip) — заглушка до монтажа так же */
.live3d[data-live3d-flip]:empty { transform: scaleX(-1); }
/* цепь вербовки: чуть выше, кулон не ложится на карточку ступеней (владелец 17.11) */
#friends .sec-art { transform: translateY(-40px); }
@media (max-width: 760px) { #friends .sec-art { transform: translateY(-8px); } }

/* предмет раздела — крупный акцент справа от заголовка; стоит в световом пятне банды и заходит за верх содержимого раздела */
.sec-head.has-art { max-width: none; display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 40px; }
.sec-head.has-art > .label { grid-column: 1; grid-row: 1; justify-self: start; }
.sec-head.has-art > h2 { grid-column: 1; grid-row: 2; }
.sec-head.has-art > .lead { grid-column: 1; grid-row: 3; }
.sec-art { position: relative; z-index: 0; grid-column: 2; grid-row: 1 / 4; justify-self: end; align-self: center; width: clamp(210px, 21vw, 300px); margin: -44px 0 -70px; pointer-events: none; }
/* световое пятно под предметом: прожектор банды на полу */
.sec-art::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 2%; height: 18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.08) 60%, transparent); }
.sec .wrap > .sec-head ~ * { position: relative; z-index: 1; }
/* первый экран: живой герб банды на пропуске — крупнее самого места под него и выходит за верхний край карточки
   (пропуск обрезан маской вырезов, поэтому герб лежит рядом, в общей обёртке, поверх) */
/* место монеты в пропуске: --cl — отступ слева, --cw — ширина места, --pt — отступ карточки сверху; монета стоит ровно по центру места */
.pass-wrap { position: relative; display: flow-root; width: 100%; max-width: 540px; --pt: 18px; --cl: 20px; --cw: 96px; }
.pass-mark { position: absolute; z-index: 2; left: var(--cl); top: var(--pt); bottom: 0; width: var(--cw); display: flex; align-items: center; justify-content: center;
  pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.7)); }
.pass-mark .live3d { flex: none; width: calc(var(--cw) * 1.22); }

/* ---------- печать банды в подвале: в её кольцо врастают шины ---------- */
.seal { position: relative; flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, #1c2228, #060708 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 -4px 10px rgba(0, 0, 0, 0.85), 0 0 0 5px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.06), 0 0 34px -8px rgba(var(--accent-rgb), 0.55); }
/* выпуклое стекло над гербом: купол-линза внутри неонового кольца. Кромка темнее (толща стекла), сверху — блик по кривизне
   и светлая кромка, снизу в стекле отражается свет банды; герб под стеклом чуть увеличен, как под линзой */
.seal img { width: 62%; height: auto; transform: scale(1.08); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.8)); }
.seal::before, .seal::after { content: ""; position: absolute; z-index: 1; inset: 9.5%; border-radius: 50%; pointer-events: none; }
.seal::before {
  background:
    radial-gradient(circle, transparent 52%, rgba(0, 0, 0, 0.3) 74%, rgba(0, 0, 0, 0.7)),
    radial-gradient(120% 70% at 50% 118%, rgba(var(--accent-rgb), 0.34), transparent 60%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02) 42%, transparent 60%);
  box-shadow: inset 0 1.5px 0.5px rgba(255, 255, 255, 0.5), inset 0 -3px 7px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.seal::after { transform: rotate(-18deg); box-shadow: inset 2px 3px 1.5px -1px rgba(255, 255, 255, 0.45);
  background:
    radial-gradient(ellipse 34% 17% at 37% 22%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5) 38%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.35), transparent 9%); }

/* ==================================================================================================
   Первый экран: город банды, хромовое название, неоновая вывеска казино, пропуск с промокодом, досье босса
   Сама сцена Колывана (#stage и всё внутри) — её ведёт kolyvan3d.js и свой блок site.css; здесь только её место в сетке.
   ================================================================================================== */
.hero { position: relative; isolation: isolate; padding: 24px 0 56px; overflow: hidden; overflow: clip; }
.hero-city { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hc-img { position: absolute; inset: 0; display: block; }
/* запас по высоте — для параллакса: картинка отстаёт от прокрутки и не открывает край */
.hc-img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 66% 50%; }
.hc-shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--bg-rgb), 0.95) 0%, rgba(var(--bg-rgb), 0.86) 24%, rgba(var(--bg-rgb), 0.46) 50%, rgba(var(--bg-rgb), 0.1) 70%, rgba(var(--bg-rgb), 0.34) 100%),
    linear-gradient(180deg, rgba(var(--bg-rgb), 0.82) 0%, rgba(var(--bg-rgb), 0) 15%, rgba(var(--bg-rgb), 0) 62%, rgba(var(--bg-rgb), 0.8) 90%, var(--bg) 100%); }
.hc-grain { position: absolute; inset: 0; background: var(--grain) 0 0 / 180px 180px; opacity: 0.07; mix-blend-mode: overlay; }
/* световые шлейфы фар вдоль мокрого проспекта: уходят к горизонту, уменьшаясь */
.hc-trails { position: absolute; left: 44%; bottom: 3%; width: 58%; height: 22%; transform: rotate(-9deg); transform-origin: 0 100%; pointer-events: none; }
.hc-trails b { position: absolute; left: 0; width: 34%; height: 2px; border-radius: 2px; opacity: 0; }
.hc-trails b:nth-child(1) { top: 74%; background: linear-gradient(90deg, rgba(255, 40, 60, 0), rgba(255, 52, 72, 0.85) 80%, #ffd6da); box-shadow: 0 0 10px rgba(255, 40, 60, 0.55); }
.hc-trails b:nth-child(2) { top: 50%; height: 1.5px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(232, 240, 255, 0.85) 85%, #fff); box-shadow: 0 0 10px rgba(220, 235, 255, 0.55); }
.hc-trails b:nth-child(3) { top: 24%; height: 1.5px; background: linear-gradient(90deg, rgba(var(--accent-rgb), 0), rgba(var(--accent-rgb), 0.9) 85%, #fff); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7); }
.is-on .hc-trails b:nth-child(1) { animation: trail-out 6.5s cubic-bezier(0.4, 0, 0.2, 1) 1s infinite; }
.is-on .hc-trails b:nth-child(2) { animation: trail-in 8.5s cubic-bezier(0.4, 0, 0.2, 1) 3.6s infinite; }
.is-on .hc-trails b:nth-child(3) { animation: trail-out 10s cubic-bezier(0.4, 0, 0.2, 1) 5.4s infinite; }
@keyframes trail-out { 0% { transform: translate3d(-40%, 0, 0) scale(1.2, 1.4); opacity: 0; } 8% { opacity: 0.95; } 65% { opacity: 0.7; } 100% { transform: translate3d(240%, 0, 0) scale(0.4, 0.6); opacity: 0; } }
@keyframes trail-in { 0% { transform: translate3d(240%, 0, 0) scale(0.4, 0.6); opacity: 0; } 30% { opacity: 0.85; } 100% { transform: translate3d(-40%, 0, 0) scale(1.2, 1.4); opacity: 0; } }
/* дождь (fx.js) рисует свой холст поверх города, под текстом */
.hc-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.85; }

.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); grid-template-areas: "copy stage"; align-items: center; gap: 24px 32px;
  min-height: clamp(560px, calc(100svh - var(--top-h) - var(--sub-h) - 80px), 820px); }
.hero-copy { grid-area: copy; position: relative; z-index: 7; min-width: 0; padding: 10px 0 34px; }
.hero-in > .stage { grid-area: stage; }

.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.crest-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 5px 8px; border-radius: 2px; font-weight: 700; letter-spacing: 0.28em; color: var(--gold);
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.2), rgba(var(--gold-rgb), 0.04)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55), 0 0 22px rgba(var(--gold-rgb), 0.16); }
.crest-chip .ico { width: 14px; height: 14px; }
.hero-live { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 7px 14px 7px 11px; border-radius: 3px; background: rgba(var(--bad-rgb), 0.14);
  box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.7); font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.hero-live:hover { background: rgba(var(--bad-rgb), 0.24); }
.hero-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); color: var(--bad); }
.hero-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.hero-live b { font-weight: 500; letter-spacing: 0.06em; text-transform: none; color: var(--ink-2); }

/* название: хромовые буквы; казино — неоновая вывеска в коробе на винтах, с отражением в мокром асфальте */
.hero-title { margin-top: 18px; font-family: var(--f-display); font-weight: 800; font-stretch: 84%; font-size: clamp(44px, 5.2vw, 82px); line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; }
.hero-title > span { display: block; }
.ht-1 { padding-bottom: 0.05em; color: transparent; background: var(--chrome); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.55)) drop-shadow(0 16px 30px rgba(0, 0, 0, 0.65)); }
.ht-2 { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0.24em; margin-top: 0.12em; }
.ht-on { font-size: 0.6em; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }
.ht-logo { position: relative; display: inline-flex; align-items: center; height: 1.12em; padding: 0 0.38em; border-radius: 6px;
  background: linear-gradient(180deg, rgba(15, 18, 21, 0.92), rgba(4, 5, 6, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 26px rgba(var(--accent-rgb), 0.16), 0 0 0 1px rgba(0, 0, 0, 0.7), 0 20px 40px -20px rgba(0, 0, 0, 0.95);
  -webkit-box-reflect: below 3px linear-gradient(transparent 76%, rgba(255, 255, 255, 0.16)); }      /* отражение только у самой кромки (маска — по исходной картинке): длинное висело призраком за «ДО 600%» */
:root[data-project="onewin"] .ht-logo { box-shadow: inset 0 0 0 1px rgba(var(--accent-2-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 26px rgba(var(--accent-rgb), 0.18), 0 0 0 1px rgba(0, 0, 0, 0.7), 0 20px 40px -20px rgba(0, 0, 0, 0.95); }
/* винты короба */
.ht-logo::before, .ht-logo::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d3d8de, #4a4f56 60%, #1a1d21); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); }
.ht-logo::before { left: 8px; }
.ht-logo::after { right: 8px; }
.ht-logo img { display: block; height: 0.62em; width: auto;
  filter: brightness(1.12) drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 7px rgba(var(--accent-rgb), 0.95)) drop-shadow(0 0 22px rgba(var(--accent-rgb), 0.55)); }
.is-on .ht-logo img { animation: neon-flick 11s linear 2.5s infinite; }
@keyframes neon-flick { 0%, 90%, 92.6%, 95.4%, 100% { opacity: 1; } 91% { opacity: 0.35; } 94% { opacity: 0.55; } 94.6% { opacity: 0.9; } 95% { opacity: 0.4; } }

/* предложение банды приборами вместо абзаца: каждый факт один раз, промокод — только на пропуске. Числа горят неоном банды,
   подписи — моноширинный HUD. Появление — вместе с первым экраном (fx.js: класс hero-sub), бесконечное — только на экране (.is-on) */
.ho { margin-top: 26px; display: flex; align-items: flex-start; max-width: 560px; }
/* 1WIN: «ДО 600%» над зарядом из четырёх ячеек (первые четыре депозита); справа «+» и три барабана слота, вставшие на 500, и FS */
.hb { gap: 0 16px; }
.hb-meter { display: grid; justify-items: start; gap: 10px; min-width: 0; }
.hb-big { display: flex; align-items: flex-start; gap: 0.12em; font-family: var(--f-display); font-size: clamp(46px, 4vw, 58px); font-weight: 800; font-stretch: 86%; line-height: 0.84;
  white-space: nowrap; color: var(--neon-core);
  text-shadow: 0 0 1px #fff, 0 0 10px rgba(var(--accent-rgb), 0.95), 0 0 26px rgba(var(--accent-rgb), 0.55), 0 0 54px rgba(var(--accent-rgb), 0.28); }
.hb-big small { margin-top: 0.06em; font-size: 0.4em; letter-spacing: 0.04em; line-height: 1; }
.hb-track { position: relative; display: block; width: 100%; }
.hb-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; height: 13px; padding: 3px 6px; border-radius: 3px;
  background: linear-gradient(180deg, #010205, #0a0f1c); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 0 rgba(255, 255, 255, 0.06); }
.hb-cells i { position: relative; transform: skewX(-28deg); border-radius: 1px; background: rgba(var(--accent-rgb), 0.14); }
.hb-cells i::after { content: ""; position: absolute; inset: 0; border-radius: 1px;
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 28%, var(--accent) 62%, var(--accent-deep));
  box-shadow: 0 0 7px rgba(var(--accent-rgb), 0.95), 0 0 18px rgba(var(--accent-rgb), 0.45); }
/* блик по заряду раз в несколько секунд — в своей обёртке с обрезкой, чтобы свечение ячеек не срезалось */
.hb-shine { position: absolute; inset: 0; overflow: hidden; border-radius: 3px; pointer-events: none; }
.hb-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 14%; transform: translate3d(-160%, 0, 0) skewX(-28deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); }
.is-on .hb-shine::after { animation: hb-shine 6s cubic-bezier(0.5, 0, 0.3, 1) 3.2s infinite; }
@keyframes hb-shine { 0%, 74% { transform: translate3d(-160%, 0, 0) skewX(-28deg); } 100% { transform: translate3d(820%, 0, 0) skewX(-28deg); } }
/* ячейки загораются по очереди, как заряд: первый, второй, третий, четвёртый депозит */
.fx .hb-cells i::after { animation: hb-cell 0.5s linear both; }
.fx .hb-cells i:nth-child(1)::after { animation-delay: 0.65s; }
.fx .hb-cells i:nth-child(2)::after { animation-delay: 0.82s; }
.fx .hb-cells i:nth-child(3)::after { animation-delay: 0.99s; }
.fx .hb-cells i:nth-child(4)::after { animation-delay: 1.16s; }
@keyframes hb-cell { 0% { opacity: 0; } 30% { opacity: 1; } 46% { opacity: 0.3; } 100% { opacity: 1; } }
.hb-cap { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.hb-plus { flex: none; margin-top: 5px; font-style: normal; font-family: var(--f-display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--accent-2);
  text-shadow: 0 0 14px rgba(var(--accent-2-rgb), 0.6); }
.hb-fs { flex: none; display: flex; align-items: center; gap: 9px; margin-top: -4px; }
/* барабаны: оружейный металл с золотой кромкой, в окнах — цилиндры (тень сверху и снизу, блик стекла); лента цифр стоит на цели,
   при загрузке прокручивается к ней с остановкой, как у слота. Под целью ещё одна цифра: на отскоке не видно пустоты */
.hb-reels { --rh: 48px; display: inline-flex; gap: 3px; padding: 4px; border-radius: 9px;
  background: linear-gradient(180deg, #5f6878 0%, #232a36 46%, #0a0d13 54%, #2e3644 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--accent-2-rgb), 0.4), 0 14px 26px -14px rgba(0, 0, 0, 0.95), 0 0 28px -8px rgba(var(--accent-2-rgb), 0.5); }
.hb-reels > i { position: relative; display: block; overflow: hidden; width: calc(var(--rh) * 0.7); height: var(--rh); border-radius: 5px; font-style: normal;
  background: linear-gradient(180deg, #010204, #0c1226 50%, #010204); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.hb-reels > i::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0.92)), linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 32%); }
.hb-reels > i > span { position: absolute; left: 0; right: 0; bottom: calc(var(--rh) * -1); display: block; }
.hb-reels b { display: block; height: var(--rh); font-family: var(--f-display); font-size: calc(var(--rh) * 0.66); font-weight: 800; line-height: var(--rh); text-align: center;
  color: var(--accent-2-soft); text-shadow: 0 0 1px #fff, 0 0 10px rgba(var(--accent-2-rgb), 0.9), 0 0 22px rgba(var(--accent-2-rgb), 0.45); }
.fx .hb-reels > i > span { animation: hb-spin 1.1s cubic-bezier(0.18, 0.8, 0.3, 1.1) both; }
.fx .hb-reels > i:nth-child(1) > span { animation-delay: 0.5s; }
.fx .hb-reels > i:nth-child(2) > span { animation-delay: 0.78s; }
.fx .hb-reels > i:nth-child(3) > span { animation-delay: 1.06s; }
@keyframes hb-spin { from { transform: translate3d(0, 80%, 0); } to { transform: translate3d(0, 0, 0); } }
.hb-fs-t { font-family: var(--f-display); font-size: 36px; font-weight: 800; font-stretch: 86%; line-height: 1; color: var(--accent-2); text-shadow: 0 0 16px rgba(var(--accent-2-rgb), 0.55); }
/* Stake: три прибора — кольцо возврата вокруг бесконечности (рейкбек навсегда), фишка новичку, срезанная доля выигрыша стрима */
.hs { color: var(--accent); }
.hs-i { display: flex; align-items: center; gap: 12px; min-width: 0; padding-right: 20px; margin-right: 20px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.hs-i:last-of-type { padding-right: 0; margin-right: 0; border-right: 0; }
.hs-g { flex: none; width: 52px; height: 52px; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.28)); }
.hs-t { display: grid; justify-items: start; gap: 7px; min-width: 0; }
.hs-t b { font-family: var(--f-display); font-size: clamp(30px, 2.6vw, 38px); font-weight: 800; font-stretch: 88%; line-height: 0.84; white-space: nowrap; color: var(--neon-core);
  text-shadow: 0 0 1px #fff, 0 0 10px rgba(var(--accent-rgb), 0.9), 0 0 24px rgba(var(--accent-rgb), 0.5); }
.hs-t small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.hs-spin, .hs-cut { transform-box: view-box; transform-origin: 24px 24px; }
.is-on .hs-spin { animation: hs-spin 9s linear infinite; }
@keyframes hs-spin { to { transform: rotate(360deg); } }
.is-on .hs-chip { animation: hs-flip 7s cubic-bezier(0.45, 0, 0.3, 1) 2.4s infinite; }
@keyframes hs-flip { 0%, 82% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }
.is-on .hs-cut { animation: hs-cut 4.6s ease-in-out 1.4s infinite; }
@keyframes hs-cut { 0%, 55%, 100% { transform: translate3d(0, 0, 0); } 72% { transform: translate3d(1.2px, -3.4px, 0); } }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
#heroKick { min-height: 60px; padding: 12px 20px; }

/* пропуск в банду: стекло с голографической плёнкой, герб банды, вырезы линии отрыва — настоящие (маской), сквозь них виден город */
.pass { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  max-width: 540px; min-height: 100px; margin-top: var(--pt); border-radius: 10px; --nx: calc(100% - 150px);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015) 38%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.02)), rgba(7, 9, 11, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 26px 50px -26px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  -webkit-mask: radial-gradient(circle 9px at var(--nx) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--nx) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at var(--nx) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--nx) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.pass-holo, .rc-foil { position: absolute; z-index: -1; pointer-events: none; mix-blend-mode: color-dodge;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
    linear-gradient(105deg, transparent 8%, rgba(255, 110, 220, 0.55) 22%, rgba(120, 255, 234, 0.55) 36%, rgba(255, 245, 150, 0.5) 48%, rgba(120, 180, 255, 0.55) 60%, rgba(210, 140, 255, 0.5) 72%, transparent 88%);
  transform: translate3d(calc(var(--hx, 0) * 1px), 0, 0); transition: transform 0.6s var(--ease-out); }
.pass-holo { left: -30%; top: 0; bottom: 0; width: 70%; opacity: 0.24; }
.pass-crest { position: relative; width: var(--cw); margin: 0 2px 0 var(--cl); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 14px rgba(var(--accent-rgb), 0.28)); }
.cp-main { min-width: 0; padding: 14px 14px 14px 12px; }
.cp-main small { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.cp-code { display: block; margin-top: 5px; font-family: var(--f-display); font-size: clamp(30px, 2.7vw, 40px); font-weight: 800; font-stretch: 92%; line-height: 1; letter-spacing: 0.14em;
  color: var(--cta-solid); text-shadow: 0 0 22px rgba(var(--cta-rgb), 0.5); user-select: all; }
.cp-note { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.cp-copy { position: relative; align-self: stretch; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 150px; padding: 0 12px;
  border: 0; border-left: 2px dashed rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.02);
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
/* наведение: полоса не сдвигается — плавно наливается цветом банды, линия отрыва светлеет, значок чуть приподнимается */
.cp-copy .ico, .cp-copy span { transition: transform 0.35s var(--ease-out); }
.cp-copy:hover { background: rgba(var(--cta-rgb), 0.12); border-left-color: rgba(var(--cta-rgb), 0.55); }
.cp-copy:hover .ico { transform: translate3d(0, -2px, 0) scale(1.12); }
.cp-copy:active .ico { transform: scale(0.94); }
.cp-copy .ico { width: 22px; height: 22px; color: var(--cta-solid); }
.pass.copied .cp-copy { color: var(--cta-solid); }
.pass.copied { animation: pass-pop 0.5s var(--ease-spring); }
@keyframes pass-pop { 40% { transform: scale(1.025); } }

/* гербы банд: хром с эмалью; по металлу раз в несколько секунд проходит блик — маска по самому гербу, блик не вылезает за край */
.crest { position: relative; display: block; overflow: hidden; }
.crest img { display: block; width: 100%; height: auto; }
.crest.c-stake { -webkit-mask: url(img/crest-stake.webp) center / 100% 100% no-repeat; mask: url(img/crest-stake.webp) center / 100% 100% no-repeat; }
.crest.c-onewin { -webkit-mask: url(img/crest-onewin.webp) center / 100% 100% no-repeat; mask: url(img/crest-onewin.webp) center / 100% 100% no-repeat; }
.crest::after { content: ""; position: absolute; inset: -10% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 49%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.55) 51%, transparent 60%);
  mix-blend-mode: overlay; transform: translate3d(-70%, 0, 0); }
.is-on .crest::after { animation: glint 7s cubic-bezier(0.5, 0, 0.3, 1) 1.4s infinite; }
@keyframes glint { 0%, 64% { transform: translate3d(-70%, 0, 0); } 100% { transform: translate3d(70%, 0, 0); } }

.hero-age { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.hero-age b { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border: 1.5px solid rgba(var(--bad-rgb), 0.85); border-radius: 3px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--ink); }

/* досье босса: рамка наведения поверх сцены, сканирующий луч раз в несколько секунд и голографическая карточка */
.boss-hud { grid-area: stage; position: relative; z-index: 6; justify-self: center; align-self: end; width: 116%; max-width: 660px; aspect-ratio: 1; margin: 0 0 -56px; pointer-events: none; }
.bh-corner { position: absolute; width: 28px; height: 28px; border: 0 solid rgba(var(--accent-rgb), 0.85); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.55)); }
/* рамка — вокруг фигуры: верх над головой, низ там, где кадр начинает растворяться (Kolyvan3D.frame().fade = 0,26) */
.bh-corner.tl { left: 9%; top: 11%; border-width: 2px 0 0 2px; }
.bh-corner.tr { right: 9%; top: 11%; border-width: 2px 2px 0 0; }
.bh-corner.bl { left: 9%; top: 66%; border-width: 0 0 2px 2px; }
.bh-corner.br { right: 9%; top: 66%; border-width: 0 2px 2px 0; }
.bh-scan { position: absolute; left: 9%; right: 9%; top: 11%; height: 59%; overflow: hidden; }
.bh-scan b { position: absolute; inset: 0; transform: translate3d(0, -101%, 0);
  background: linear-gradient(180deg, transparent 0, rgba(var(--accent-rgb), 0) 72%, rgba(var(--accent-rgb), 0.1) 96%, rgba(var(--accent-rgb), 0.7) 99.5%, rgba(255, 255, 255, 0.9) 100%); }
.is-on .bh-scan b { animation: bh-scan 9s cubic-bezier(0.45, 0, 0.25, 1) 1.6s infinite; }
@keyframes bh-scan { 0% { transform: translate3d(0, -101%, 0); opacity: 1; } 40% { transform: translate3d(0, 0, 0); opacity: 1; } 48%, 100% { transform: translate3d(0, 0, 0); opacity: 0; } }
.bh-card { position: absolute; left: -3%; top: 19%; display: grid; gap: 7px; width: 186px; padding: 12px 14px 13px; border-radius: 3px; font-family: var(--f-mono);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), rgba(6, 8, 10, 0.62) 60%);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.38), 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bh-card::before { content: "Досье · ОКГ"; font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.bh-row { display: grid; gap: 1px; }
.bh-row i { font-style: normal; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.bh-row b { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); }

/* ---------- сводка: светодиодное табло ---------- */
.ticker { position: relative; z-index: 2; display: flex; align-items: stretch; height: 48px;
  background: linear-gradient(180deg, #050607, #0a0b0d); border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px -20px rgba(0, 0, 0, 0.9); }
.tk-label { flex: 0 0 auto; position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 0 18px 0 22px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #ffd08a; text-shadow: 0 0 10px rgba(255, 186, 90, 0.6);
  background: linear-gradient(180deg, #0c0d0f, #060708); border-right: 1px solid rgba(255, 255, 255, 0.08); }
.tk-label i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #ff4a4a; color: #ff4a4a; box-shadow: 0 0 8px #ff4a4a; }
.tk-label i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.tk-view { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
/* сетка светодиодов поверх бегущей строки: буквы складываются из точек, как на табло */
.tk-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, transparent 0 0.8px, rgba(0, 0, 0, 0.5) 1.25px) 0 0 / 3px 3px; }
.tk-track { display: flex; width: max-content; height: 100%; animation: tk-run var(--tk-dur, 60s) linear infinite; }
@keyframes tk-run { to { transform: translateX(-50%); } }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
.tk-dup { display: flex; }
.tk-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 0 0 28px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 214, 150, 0.8); }
.tk-item::after { content: ""; width: 5px; height: 5px; margin-left: 18px; background: rgba(255, 214, 150, 0.32); transform: rotate(45deg); }
.tk-item b { font-weight: 700; color: #ffe3b4; text-shadow: 0 0 8px rgba(255, 186, 90, 0.55); }
.tk-item time { font-size: 11px; color: rgba(255, 214, 150, 0.42); }
.tk-item .ptag { padding: 0; background: none; box-shadow: none; font-size: 11px; color: rgba(255, 214, 150, 0.9); }
.tk-item .ptag.stake { color: var(--p-stake); text-shadow: 0 0 8px rgba(var(--p-stake-rgb), 0.7); }
.tk-item .ptag.onewin { color: var(--p-onewin); text-shadow: 0 0 8px rgba(var(--p-onewin-rgb), 0.8); }
.tk-item .ptag.all { color: var(--gold); text-shadow: 0 0 8px rgba(var(--gold-rgb), 0.6); }
.tk-item .ptag::before { display: none; }
/* тип события на табло (сервер v2: feed[].kind): метка в рамке — добыча ярче остальных */
.tk-k { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; padding: 3px 6px 2px; border-radius: 2px; color: rgba(255, 214, 150, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 214, 150, 0.28); }
.k-win .tk-k { color: #ffe3b4; text-shadow: 0 0 8px rgba(255, 186, 90, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 186, 90, 0.7), 0 0 10px rgba(255, 186, 90, 0.25); }
.k-deposit .tk-k { color: #ffd38a; }
@keyframes ping { from { transform: scale(1); opacity: 0.85; } to { transform: scale(2.8); opacity: 0; } }

/* ==================================================================================================
   Секции главной
   ================================================================================================== */
/* метка территории: трафарет распылителем на стене — перемычка по середине букв и зерно краски (маски), без картинок */
.tag-spray { position: absolute; z-index: 0; right: 2%; top: 70px; pointer-events: none; user-select: none;
  font-family: var(--f-display); font-style: normal; font-weight: 900; font-stretch: 75%; font-size: clamp(110px, 15vw, 250px); line-height: 0.8; letter-spacing: 0.02em; text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.085); text-shadow: 0 0 24px rgba(var(--accent-rgb), 0.14); transform: rotate(-5deg);
  -webkit-mask-image: var(--spray), linear-gradient(#000 0 46%, transparent 46% 53%, #000 53%); -webkit-mask-size: 220px 220px, 100% 100%; -webkit-mask-composite: source-in;
  mask-image: var(--spray), linear-gradient(#000 0 46%, transparent 46% 53%, #000 53%); mask-size: 220px 220px, 100% 100%; mask-composite: intersect; }
.tag-spray.alt { left: 1%; right: auto; top: auto; bottom: 36px; color: rgba(var(--gold-rgb), 0.075); text-shadow: 0 0 24px rgba(var(--gold-rgb), 0.12); transform: rotate(4deg); }
/* у разделов с живым предметом справа от заголовка метка территории уходит вниз, под содержимое */
#bonus .tag-spray, #shop .tag-spray { top: auto; bottom: 40px; }

/* ---------- привилегии банды: «ячейки банды» — металлическая плита с винтами и светодиодной кромкой. Справа живой предмет в пятне
   света, слева крупное имя (Tektur заглавными), строка «что это» и «когда» картинкой: полоска дней с горящим днём, полоска месяцев
   с финалом сезона, ячейки депозитов или бирка. Число карточки (у Stake «3.5%», «$5», «10%») — неоновой вывеской над именем ---------- */
.bgrid { margin-top: 46px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bplate { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) clamp(132px, 11.4vw, 158px);
  grid-template-rows: auto auto 1fr auto; grid-template-areas: "neon art" "name art" "what art" "when go"; align-items: start; column-gap: 18px;
  min-height: 228px; padding: 42px 28px 26px 34px; border-radius: 6px; color: inherit;
  background:
    radial-gradient(circle at 15px 15px, #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    radial-gradient(circle at calc(100% - 15px) 15px, #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    radial-gradient(circle at 15px calc(100% - 15px), #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, var(--m3), var(--m1) 55%, var(--m0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 34px 60px -32px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out); }
/* светодиодная лента по верхней кромке и свет от неё на металл */
.bplate::before { content: ""; position: absolute; left: 34px; right: 34px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 16%, var(--trim) 50%, var(--accent) 84%, transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.7), 0 0 30px rgba(var(--accent-rgb), 0.35); }
.bplate::after { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 0; height: 75%; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgba(var(--accent-rgb), 0.14), transparent 70%); }
a.bplate:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(var(--accent-rgb), 0.5), 0 34px 70px -30px rgba(var(--accent-rgb), 0.45); }
.bp-code { position: absolute; left: 34px; top: 15px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.26em; color: var(--ink-3); }
/* предмет стоит в пятне света банды и чуть выходит за верх своей колонки */
.bp-art { grid-area: art; position: relative; z-index: 0; align-self: center; width: 100%; margin: -30px -12px -6px 0; pointer-events: none; }
.bp-art::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 4%; height: 17%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.34), rgba(var(--accent-rgb), 0.08) 60%, transparent); }
.bp-neon { grid-area: neon; margin-bottom: 14px; font-family: var(--f-display); font-weight: 800; font-stretch: 82%; font-size: clamp(54px, 5vw, 76px); line-height: 0.9; letter-spacing: 0.01em; white-space: nowrap;
  /* трубка неона: раскалённый контур буквы, внутри — отсвет, вокруг — ореол */
  color: rgba(var(--accent-rgb), 0.14); -webkit-text-stroke: 1.7px var(--neon-core); paint-order: stroke fill;
  filter: drop-shadow(0 0 1.5px rgba(var(--accent-rgb), 1)) drop-shadow(0 0 7px rgba(var(--accent-rgb), 0.85)) drop-shadow(0 0 22px rgba(var(--accent-rgb), 0.5)); }
.is-on .bplate:nth-child(3) .bp-neon { animation: neon-flick 13s linear 4s infinite; }
.bp-name { grid-area: name; font-family: var(--f-display); font-size: clamp(32px, 2.9vw, 42px); font-weight: 800; font-stretch: 88%; line-height: 0.96; letter-spacing: 0.01em;
  text-transform: uppercase; text-wrap: balance; color: var(--ink); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(var(--accent-rgb), 0.28); }
.has-neon .bp-name { font-size: 22px; font-stretch: 92%; line-height: 1.15; }
.bp-what { grid-area: what; margin-top: 11px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.has-neon .bp-what { margin-top: 8px; font-size: 14.5px; font-weight: 500; line-height: 1.55; }
.bp-when { grid-area: when; align-self: end; margin-top: 22px; }
.bp-go { grid-area: go; align-self: end; justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.bp-go .ico { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
a.bplate:hover .bp-go .ico { transform: translateX(4px); }
/* «когда» картинкой: утопленная в металл полоска ячеек; горит день события (у Сходки — месяц финала, золотом), у велкома — ячейки
   депозитов зарядом; сегодняшний день и месяц отмечены точкой снизу */
.bw { display: inline-flex; gap: 4px; padding: 4px; border-radius: 5px; background: linear-gradient(180deg, #010204, #0a0e15);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 0 rgba(255, 255, 255, 0.05); }
.bw i { position: relative; display: grid; place-items: center; min-width: 33px; height: 27px; padding: 0 3px; border-radius: 3px; font-style: normal;
  font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(214, 224, 232, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035); }
.bw i.on { color: #fff; background: linear-gradient(180deg, var(--accent-soft), var(--accent) 46%, var(--accent-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 14px rgba(var(--accent-rgb), 0.75), 0 0 32px rgba(var(--accent-rgb), 0.3); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
.bw i.now::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; }
.bw.by i { min-width: 22px; padding: 0; }
.bw.by i.on { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 14px rgba(var(--gold-rgb), 0.7), 0 0 32px rgba(var(--gold-rgb), 0.28); text-shadow: none; }
.bw.bd { gap: 7px; padding: 4px 9px; }
.bw.bd i { min-width: 46px; transform: skewX(-24deg); color: #fff; background: linear-gradient(180deg, var(--accent-soft), var(--accent) 46%, var(--accent-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 12px rgba(var(--accent-rgb), 0.7); }
.bw.bd b { display: block; transform: skewX(24deg); font-size: 11px; font-weight: 800; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
/* появление: горящая ячейка вспыхивает, ячейки депозитов заряжаются по очереди (вместе с карточкой, fx.js) */
.fx .bplate.rv .bw i.on, .fx .bplate.rv .bw.bd i { opacity: 0.15; }
.fx .bplate.rv.fx-in .bw i.on { animation: neon-on 0.8s linear calc(var(--d, 0ms) + 220ms) both; }
.fx .bplate.rv.fx-in .bw.bd i { animation: hb-cell 0.45s linear calc(var(--d, 0ms) + 240ms) both; }
.fx .bplate.rv.fx-in .bw.bd i:nth-child(2) { animation-delay: calc(var(--d, 0ms) + 350ms); }
.fx .bplate.rv.fx-in .bw.bd i:nth-child(3) { animation-delay: calc(var(--d, 0ms) + 460ms); }
.fx .bplate.rv.fx-in .bw.bd i:nth-child(4) { animation-delay: calc(var(--d, 0ms) + 570ms); }
/* бирка-наклейка: трафаретная печать на светлом пластике (у 1WIN — на золотой) */
.bp-tag { display: inline-block; padding: 6px 9px 5px; border-radius: 1px; transform: rotate(-2deg);
  font-family: var(--f-mono); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; color: #0b0d10;
  background: linear-gradient(180deg, #edf0f3, #b9c0c8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 14px -6px rgba(0, 0, 0, 0.8); }
:root[data-project="onewin"] .bp-tag { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: var(--gold-ink); }
.bonus-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.bonus-cta > span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- маршрут в банду (пятая версия, 17.11.2026, владелец: «сделай всё иначе»): журнал заданий. Слева — список шагов: номер
   на металлической клавише, имя шага и отметка; справа — одна металлическая панель выбранного шага: заголовок сверху, действия снизу,
   живой предмет справа. Последний шаг — штаб: жетоны того, что открывается своему. Одинаковое — одного размера: строки списка делят
   высоту поровну, панели лежат в одной клетке (высота общая, на телефоне у каждой своя), жетоны — ровными рядами. Состояния ставит
   site.js: data-state у строки (done, now, next, open, shut), is-on и is-done у панели, is-open у жетона ---------- */
.mr { position: relative; display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 16px; margin-top: 46px; }
.mr a { text-decoration: none; -webkit-tap-highlight-color: transparent; }

/* список шагов — вкладки; строки делят высоту панели поровну */
.mr-list { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 10px; min-width: 0; }
.mr-pt { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; min-width: 0; min-height: 64px; margin: 0;
  padding: 10px 18px 10px 12px; border: 0; border-radius: 8px; font: inherit; text-align: left; color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01) 60%), rgba(4, 6, 9, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 30px -24px rgba(0, 0, 0, 0.9);
  transition: background-color 0.25s, box-shadow 0.25s, color 0.25s; }
.mr-pt:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 30px -24px rgba(0, 0, 0, 0.9); }
.mr-pt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* номер — на клавише из металла; пройденный — клавиша залита цветом банды, на ней галочка; текущий — кромка горит неоном;
   у штаба — корона, у своего клавиша золотая (у Stake — цвета банды) */
.mr-n { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 11px; color: var(--ink-3);
  background: linear-gradient(180deg, var(--m3), var(--m1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 12px -6px rgba(0, 0, 0, 0.9);
  transition: color 0.3s, box-shadow 0.3s; }
.mr-n b { font-family: var(--f-display); font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: 0.02em; }
.mr-n .ico { width: 22px; height: 22px; }
.mr-n b + .ico { display: none; stroke-width: 3; }
.mr-name { min-width: 0; font-family: var(--f-display); font-size: 19px; font-weight: 800; font-stretch: 90%; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
/* отметка справа: «готово» плашкой, «сейчас» с огоньком, у штаба — замок */
.mr-st { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.16em;
  text-transform: uppercase; white-space: nowrap; color: var(--ink-3); }
.mr-st span:empty { display: none; }
.mr-st .ico { width: 14px; height: 14px; }
.mr-pt[data-state="next"] .mr-name { color: var(--ink-2); }
.mr-pt[data-state="now"] .mr-n { color: var(--neon-core); box-shadow: inset 0 0 0 1.5px var(--accent), inset 0 0 16px rgba(var(--accent-rgb), 0.35), 0 0 20px -2px rgba(var(--accent-rgb), 0.75); }
.mr-pt[data-state="now"] .mr-n b { text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.9); }
.mr-pt[data-state="now"] .mr-name, .mr-pt[data-state="now"] .mr-st { color: var(--ink); }
.mr-pt[data-state="now"] .mr-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.is-on .mr-pt[data-state="now"] .mr-st::before { animation: mr-blink 1.2s steps(2, jump-none) infinite; }
@keyframes mr-blink { 50% { opacity: 0.25; } }
.mr-pt[data-state="done"] .mr-n, .mr-pt[data-state="open"] .mr-n { color: var(--accent-ink); background: linear-gradient(180deg, var(--accent-soft), var(--accent) 55%, var(--accent-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 0 18px -2px rgba(var(--accent-rgb), 0.7); }
.mr-pt[data-state="done"] .mr-n b { display: none; }
.mr-pt[data-state="done"] .mr-n b + .ico { display: block; }
.mr-pt[data-state="done"] .mr-st, .mr-pt[data-state="open"] .mr-st { padding: 6px 8px; border-radius: 3px; color: var(--accent); background: rgba(var(--accent-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.4); }
.mr-pt[data-state="open"] .mr-n { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 20px -2px rgba(var(--gold-rgb), 0.75); }
:root[data-project="stake"] .mr-pt[data-state="open"] .mr-n { color: var(--accent-ink); background: linear-gradient(180deg, var(--accent-soft), var(--accent) 55%, var(--accent-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 20px -2px rgba(var(--accent-rgb), 0.75); }
/* выбранная строка — её панель открыта: строка подсвечена, слева полоса света, справа стрелка в сторону панели */
.mr-pt[aria-selected="true"] { color: var(--ink); background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.17), rgba(var(--accent-rgb), 0.05)), rgba(6, 9, 13, 0.92);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.62), 0 0 28px -12px rgba(var(--accent-rgb), 0.95); }
.mr-pt[aria-selected="true"] .mr-name { color: var(--ink); }
.mr-pt[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 2px 2px 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mr-pt[aria-selected="true"]::after { content: ""; position: absolute; right: -13px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 8px solid var(--accent);
  filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), 0.9)); }

/* панель шага: металлическая плита с винтами и светодиодной кромкой (как ячейки привилегий); панели шагов лежат в одной клетке */
.mr-stage { position: relative; display: grid; min-width: 0; border-radius: 8px;
  background:
    radial-gradient(circle at 15px 15px, #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    radial-gradient(circle at calc(100% - 15px) 15px, #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    radial-gradient(circle at 15px calc(100% - 15px), #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), #c3c9d0 0 1.2px, #3d424a 1.8px 3px, rgba(0, 0, 0, 0.65) 3.4px, transparent 4.2px),
    radial-gradient(45% 60% at 85% 45%, rgba(var(--accent-rgb), 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, var(--m3), var(--m1) 55%, var(--m0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 34px 60px -32px rgba(0, 0, 0, 0.95); }
.mr-stage::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 2px; border-radius: 0 0 2px 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent) 14%, var(--trim) 50%, var(--accent) 86%, transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.7), 0 0 30px rgba(var(--accent-rgb), 0.35); }
/* панель — заголовок сверху и действия снизу (между ними воздух, а не пустота посередине), справа предмет шага */
.mr-pane { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) 210px; grid-template-areas: "main art"; column-gap: 30px; min-width: 0; padding: 32px 30px 32px 38px;
  border-radius: 8px; transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s; }
.mr-pane:not(.is-on) { visibility: hidden; opacity: 0; transform: translate3d(12px, 0, 0); }
.mr-pane.is-on { transition-delay: 0s; }
.mr-pane:focus-visible { outline-offset: -5px; }
.mr-main { grid-area: main; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-width: 0; }
.mr-txt { grid-area: txt; min-width: 0; }
.mr-act, .mr-tiles { grid-area: act; }
.mr-art { grid-area: art; }
.mr-k { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.mr-k b { font-weight: 800; color: var(--accent); }
.mr-h { margin: 14px 0 0; font-family: var(--f-display); font-size: clamp(30px, 2.9vw, 42px); font-weight: 800; font-stretch: 88%; line-height: 1; letter-spacing: 0.01em;
  text-transform: uppercase; text-wrap: balance; color: var(--ink); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(var(--accent-rgb), 0.28); }
/* сумма пополнения — неоновой трубкой, как числа привилегий */
.mr-h em { font-style: normal; font-size: 1.3em; color: rgba(var(--accent-rgb), 0.14); -webkit-text-stroke: 1.6px var(--neon-core); paint-order: stroke fill; text-shadow: none;
  filter: drop-shadow(0 0 1.5px rgba(var(--accent-rgb), 1)) drop-shadow(0 0 7px rgba(var(--accent-rgb), 0.85)) drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.45)); }
.mr-l { margin: 12px 0 0; font-size: 15px; font-weight: 600; line-height: 1.45; text-wrap: pretty; color: var(--ink-2); }
.mr-l b { font-weight: 700; color: var(--ink); }

/* действия шага — во всю ширину колонки: главная кнопка заливкой банды, под ней купон промокода и ссылка в кабинет */
.mr-act { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.mr-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 6px; white-space: nowrap;
  font-family: var(--f-display); font-size: 15px; font-weight: 800; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cta-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 52%), var(--cta-bg); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2), var(--cta-glow);
  transition: filter 0.18s, box-shadow 0.18s, transform 0.12s; }
.mr-go:hover { filter: brightness(1.08); }
.mr-go:active { transform: translateY(1px); }
.mr-go .ico { flex: none; width: 18px; height: 18px; }
/* шаг пройден: кнопка спокойная — контур цвета банды; ведёт в кабинет — без стрелки наружу */
.mr-go.is-done { color: var(--accent); background: rgba(var(--accent-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55); }
.mr-go.is-done:hover { filter: none; box-shadow: inset 0 0 0 1px var(--accent), 0 0 18px -6px rgba(var(--accent-rgb), 0.9); }
.mr-go.is-done[href^="#"] .ico { display: none; }
/* промокод — купон с пунктирной кромкой: нажатие копирует код и ведёт на регистрацию, «скопировано» вспыхивает поверх */
.mr-promo { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 16px; border-radius: 6px; color: var(--ink);
  background: rgba(var(--accent-rgb), 0.06); outline: 1.5px dashed rgba(var(--accent-rgb), 0.7); outline-offset: -5px; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.25);
  transition: background-color 0.18s, outline-color 0.18s, transform 0.12s; }
.mr-promo small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.mr-promo b { font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.75); }
.mr-promo .ico { flex: none; width: 17px; height: 17px; color: var(--accent); }
.mr-promo:hover { background-color: rgba(var(--accent-rgb), 0.14); outline-color: var(--accent); }
.mr-promo:active { transform: translateY(1px); }
.mr-promo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mr-copied { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: inherit; opacity: 0; pointer-events: none;
  font-family: var(--f-mono); font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); transition: opacity 0.2s; }
.mr-copied .ico { width: 15px; height: 15px; stroke-width: 3; color: inherit; }
.mr-promo.copied .mr-copied { opacity: 1; }
/* ссылка в кабинет («Есть аккаунт? Впиши ID», ник Stake) — обычной строкой со стрелкой */
.mr-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: -4px 0 -10px; font-size: 14px; font-weight: 700; color: var(--accent); }
.mr-more span { text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), 0.45); text-underline-offset: 4px; }
.mr-more b { font-weight: 800; color: var(--ink); }
.mr-more .ico { flex: none; width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.mr-more:hover .ico { transform: translateX(3px); }
/* вход: две стеклянные кнопки площадок — кромка и свечение их цветом, как вход в кабинете; привязанная — огонёк и «привязан» */
.mr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mr-btn { --pl: var(--tg); position: relative; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; align-content: center; column-gap: 10px;
  min-height: 60px; padding: 8px 14px; border-radius: 6px; font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 55%), rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px var(--pl), inset 0 0 22px -8px var(--pl), 0 0 20px -12px var(--pl);
  transition: background-color 0.18s, box-shadow 0.18s, transform 0.12s; }
.mr-btn.kick { --pl: var(--kick); }
.mr-btn .ico { width: 20px; height: 20px; color: var(--pl); }
.mr-btn small { display: none; grid-column: 1 / -1; margin-top: 6px; text-align: center; font-family: var(--f-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ok); }
.mr-btn:hover { box-shadow: inset 0 0 0 1px var(--pl), inset 0 0 30px -6px var(--pl), 0 0 24px -6px var(--pl); }
.mr-btn:active { transform: translateY(1px); }
.mr-btn.on { background-color: rgba(0, 0, 0, 0.16); box-shadow: inset 0 0 0 1px var(--pl), inset 0 0 28px -6px var(--pl), 0 0 20px -8px var(--pl); }
.mr-btn.on small { display: block; }
.mr-btn.on::before { content: ""; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px 1px var(--ok); }

/* живой предмет шага в пятне света; у пройденного — резиновый штамп «готово» поперёк; у штаба — эмблема банды, серая, пока ты не свой */
.mr-art { position: relative; align-self: center; width: 100%; aspect-ratio: 1; pointer-events: none; transition: filter 0.4s, opacity 0.4s; }
.mr-art::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.34), rgba(var(--accent-rgb), 0.08) 60%, transparent); }
.mr-hq:not(.is-full) .mr-art { opacity: 0.75; filter: grayscale(0.85); }
.mr-stamp { position: absolute; z-index: 2; left: 50%; top: 54%; padding: 7px 13px 6px; border: 2.5px solid var(--trim); border-radius: 4px; white-space: nowrap;
  font-family: var(--f-display); font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; color: var(--trim);
  background: rgba(var(--bg-rgb), 0.78); box-shadow: inset 0 0 0 1px rgba(var(--trim-rgb), 0.35), 0 0 22px -4px rgba(var(--trim-rgb), 0.65);
  opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.5); transition: opacity 0.3s ease 0.15s, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.15s; }
.mr-pane.is-done .mr-stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg); }
/* счётчик замков: шкала делениями (по одному на жетон) и под ней «3 из 8 открыто» */
.mr-meter { display: grid; gap: 10px; max-width: 280px; margin-top: 18px; }
.mr-pips { display: flex; gap: 4px; }
.mr-pips i { flex: 1 1 0; height: 6px; border-radius: 1px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.mr-pips i.on { background: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.85); }
.mr-mc { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.mr-mc b { font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1; color: var(--ink); }
.mr-mc small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* штаб: жетоны того, что открывается своему — металлические монеты со значком и подписью под ними; закрытый — тёмный, с замком
   на ребре; открытый — кромка горит цветом банды. Почему закрыто (или что открыто) — подсказка над жетоном: наведение, фокус,
   первое касание; у крайних в ряду она прижата к своему краю */
.mr-tiles { --tn: 4; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--tn), minmax(0, 1fr)); gap: 16px 8px; min-width: 0; }
.mr-tiles.n6 { --tn: 3; }
.mr-tiles li { position: relative; min-width: 0; }
.mr-tile { --md: 58px; position: relative; display: grid; justify-items: center; gap: 9px; padding: 2px 0 0; color: var(--ink-2); transition: color 0.3s; }
.mr-ti { box-sizing: content-box; width: calc(var(--md) * 0.42); height: calc(var(--md) * 0.42); padding: calc(var(--md) * 0.29); border-radius: 50%; color: var(--ink-3);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.1), transparent 62%), linear-gradient(180deg, var(--m3), var(--m0));
  box-shadow: 0 0 0 2px #23272f, 0 0 0 3px rgba(255, 255, 255, 0.16), inset 0 2px 3px rgba(255, 255, 255, 0.1), inset 0 -4px 8px rgba(0, 0, 0, 0.6), 0 10px 18px -10px rgba(0, 0, 0, 0.95);
  transition: color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease-out); }
.mr-tn { max-width: 100%; font-size: 12.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.mr-lk { box-sizing: content-box; position: absolute; left: calc(50% + var(--md) * 0.2); top: calc(var(--md) * 0.62); width: 11px; height: 11px; padding: 4px; border-radius: 50%;
  color: var(--ink-2); background: #0a0d12; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2), 0 3px 6px rgba(0, 0, 0, 0.7); }
.mr-tile:hover, .mr-tile:focus-visible, .mr-tile.tip { color: var(--ink); }
.mr-tile:hover .mr-ti, .mr-tile:focus-visible .mr-ti, .mr-tile.tip .mr-ti { transform: translateY(-2px); box-shadow: 0 0 0 2px #23272f, 0 0 0 3px rgba(var(--accent-rgb), 0.6), inset 0 2px 3px rgba(255, 255, 255, 0.1), inset 0 -4px 8px rgba(0, 0, 0, 0.6), 0 10px 22px -8px rgba(var(--accent-rgb), 0.6); }
.mr-tile:focus-visible { outline: none; }
.mr-tile.is-open { color: var(--ink); }
.mr-tile.is-open .mr-ti { color: var(--accent); background: radial-gradient(circle at 50% 30%, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.06) 70%), linear-gradient(180deg, var(--m3), var(--m0));
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 4px rgba(var(--accent-rgb), 0.18), inset 0 2px 3px rgba(255, 255, 255, 0.14), 0 0 22px -4px rgba(var(--accent-rgb), 0.8); }
.mr-tile.is-open .mr-lk { color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 0 1.5px rgba(var(--bg-rgb), 0.9), 0 0 10px rgba(var(--accent-rgb), 0.8); }
.mr-tip { --tx: -50%; position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 50%; width: max-content; max-width: 230px; padding: 9px 12px; border-radius: 6px;
  font-family: var(--font); font-size: 12.5px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; color: var(--ink);
  background: rgba(var(--bg-rgb), 0.97); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 14px 30px -10px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translate3d(var(--tx), 6px, 0); pointer-events: none; transition: opacity 0.2s ease, transform 0.25s var(--ease-out); }
.mr-tile:hover .mr-tip, .mr-tile:focus-visible .mr-tip, .mr-tile.tip .mr-tip { opacity: 1; transform: translate3d(var(--tx), 0, 0); }
/* жетоны в два ряда: в левой половине подсказка прижата влево, в правой — вправо, у трёх в ряд средняя — по центру */
.mr-tiles li .mr-tip { --tx: 0; left: 0; right: auto; }
.mr-tiles.n8 li:nth-child(4n + 3) .mr-tip, .mr-tiles.n8 li:nth-child(4n) .mr-tip, .mr-tiles.n6 li:nth-child(3n) .mr-tip { left: auto; right: 0; }
.mr-tiles.n6 li:nth-child(3n + 2) .mr-tip { --tx: -50%; left: 50%; }
/* планшет: жетоны — одной строкой во всю ширину панели; подсказка по центру жетона, у крайних — у своего края */
@media (min-width: 761px) and (max-width: 1080px) {
  .mr-tiles { --tn: 8; }
  .mr-tiles.n6 { --tn: 6; }
  .mr-tiles.n8 li:nth-child(n) .mr-tip, .mr-tiles.n6 li:nth-child(n) .mr-tip { --tx: -50%; left: 50%; right: auto; }
  .mr-tiles.n8 li:nth-child(1) .mr-tip, .mr-tiles.n6 li:nth-child(1) .mr-tip { --tx: 0; left: 0; }
  .mr-tiles.n8 li:nth-child(8) .mr-tip, .mr-tiles.n6 li:nth-child(6) .mr-tip { --tx: 0; left: auto; right: 0; }
}

/* ---------- маршрут, полировка (владелец 17.11: «неплохо, доработай визуал»): панель глубже — свет сверху и мягкий пьедестал под
   предметом; строки списка — тот же металл, у «сейчас» мягкий пульс; жетоны штаба — металлические ободки, открытый светится цветом
   банды, закрытый — тусклая сталь; подписи жетонов — гравировкой на табличке; шкала замков — сегменты с подсветкой ---------- */
.mr-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 46% at 50% 0%, rgba(255, 255, 255, 0.075), transparent 72%), radial-gradient(40% 30% at 82% 100%, rgba(var(--accent-rgb), 0.09), transparent 75%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 16px 30px -24px rgba(255, 255, 255, 0.2), inset 0 -30px 50px -40px rgba(0, 0, 0, 0.9); }
.mr-pane { position: relative; z-index: 1; }
.mr-pt { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 60%), rgba(4, 6, 9, 0.78); }
.mr-pt[aria-selected="true"] { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(var(--accent-rgb), 0.17), rgba(var(--accent-rgb), 0.05)), rgba(6, 9, 13, 0.92); }
/* «сейчас»: огонёк дышит, вокруг клавиши номера — мягкий пульс */
.mr-pt[data-state="now"] .mr-n::after { content: ""; position: absolute; inset: -5px; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 1.5px rgba(var(--accent-rgb), 0.45), 0 0 18px rgba(var(--accent-rgb), 0.5);
  opacity: 0; }
.is-on .mr-pt[data-state="now"] .mr-n::after { animation: mr-pulse 2.4s ease-in-out infinite; }
.is-on .mr-pt[data-state="now"] .mr-st::before { animation: mr-breath 2.4s ease-in-out infinite; }
@keyframes mr-pulse { 0%, 100% { opacity: 0; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1); } }
@keyframes mr-breath { 0%, 100% { opacity: 0.45; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.1); } }
/* предмет шага — на пьедестале: стальной диск с неоновой кромкой и мягкое свечение банды под ним */
.mr-art::after { content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: 3%; height: 11%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 70%, transparent), linear-gradient(180deg, #2a2f37, #0b0e12);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 0 22px rgba(var(--accent-rgb), 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.12); }
.mr-art::before { bottom: 1%; height: 22%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.42), rgba(var(--accent-rgb), 0.1) 60%, transparent); }
.mr-art .live3d { position: relative; z-index: 1; }
/* жетоны штаба: металлический ободок; закрытый — тусклая сталь, открытый — свечение банды дышит */
.mr-tile::before { content: ""; position: absolute; left: 50%; top: 2px; width: var(--md); height: var(--md); margin-left: calc(var(--md) / -2); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.9), 0 0 24px 2px rgba(var(--accent-rgb), 0.65); opacity: 0; }
.mr-tile.is-open::before { animation: mr-glow 2.8s ease-in-out infinite; }
@keyframes mr-glow { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.mr-ti { box-shadow: 0 0 0 2px #1b1f26, 0 0 0 3.5px #5b636e, 0 0 0 5px #20252c, inset 0 2px 3px rgba(255, 255, 255, 0.1), inset 0 -4px 8px rgba(0, 0, 0, 0.6), 0 10px 18px -10px rgba(0, 0, 0, 0.95); }
.mr-tile:not(.is-open) .mr-ti { color: #6f7884; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.07), transparent 62%), linear-gradient(180deg, #2a2f36, #0d1014); }
.mr-tile.is-open .mr-ti { box-shadow: 0 0 0 2px var(--accent), 0 0 0 3.5px rgba(255, 255, 255, 0.55), 0 0 0 5px rgba(var(--accent-rgb), 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.14), 0 0 22px -4px rgba(var(--accent-rgb), 0.8); }
/* подпись — гравировка на стальной табличке, заглавными */
.mr-tn { padding: 4px 8px 3px; border-radius: 3px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9aa3ae; background: linear-gradient(180deg, #161a20, #0c0f13); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px 0 rgba(255, 255, 255, 0.05);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.08); }
.mr-tile.is-open .mr-tn { color: var(--ink); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(var(--accent-rgb), 0.45), 0 0 12px -4px rgba(var(--accent-rgb), 0.7); }
.mr-tile:hover .mr-tn, .mr-tile:focus-visible .mr-tn, .mr-tile.tip .mr-tn { color: var(--ink); }
.mr-tile:not(.is-open) .mr-lk { color: #8c949e; background: linear-gradient(180deg, #2a2f36, #0d1014); }
/* шкала замков: сегменты — закрытые тёмной сталью, открытые светятся */
.mr-pips { gap: 5px; }
.mr-pips i { height: 8px; border-radius: 2px; background: linear-gradient(180deg, #20252c, #0c0f13); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.mr-pips i.on { background: linear-gradient(180deg, var(--accent-soft), var(--accent) 55%, var(--accent-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 10px rgba(var(--accent-rgb), 0.9); }

/* ---------- середина панелей шагов (владелец 17.11: «секция пустоватая»): наглядная сцена шага между заголовком и кнопкой ---------- */
.mr-scene { flex: 1 1 auto; display: grid; align-content: center; gap: 14px; min-width: 0; }
.mr-scene[hidden], .mr-scene [hidden] { display: none !important; }
.mr-sk { display: block; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
/* вход: пропуск банды — голографическая карта; справа — счётчик (билеты недели у 1WIN, баллы у Stake) */
.mr-pass { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015) 40%, rgba(255, 255, 255, 0.05) 72%, rgba(255, 255, 255, 0.02)), rgba(8, 11, 15, 0.9);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 30px -22px rgba(0, 0, 0, 0.95); }
.mr-pass-holo { position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: linear-gradient(105deg, transparent 30%, rgba(120, 255, 220, 0.16) 42%, rgba(160, 140, 255, 0.16) 50%, rgba(255, 200, 120, 0.12) 58%, transparent 70%); }
.mr-pass-em { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 0 0 2px #20252c, 0 0 0 3.5px rgba(var(--gold-rgb), 0.5), 0 0 16px rgba(var(--gold-rgb), 0.35); }
.mr-pass-em .ico { width: 21px; height: 21px; }
.mr-pass-t { display: grid; gap: 4px; min-width: 0; }
.mr-pass-t small, .mr-pass-c small { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.mr-pass-t b { overflow-wrap: anywhere; font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); }
.mr-pass-c { display: grid; justify-items: end; gap: 4px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.mr-pass-c b { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.7); white-space: nowrap; }
.mr-pass-c b .ico { width: 15px; height: 15px; color: var(--ink-3); }
.mr-pass-c b small { font-size: 9.5px; letter-spacing: 0.14em; text-shadow: none; }
/* что дают Telegram и Kick: плитки со значком площадки; у привязанной — горят её цветом */
.mr-perks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mr-perk { --pl: var(--kick); position: relative; display: grid; justify-items: start; align-content: start; gap: 8px; min-width: 0; padding: 11px 11px 10px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), rgba(5, 7, 10, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mr-perk[data-by="tg"] { --pl: var(--tg); }
.mr-perk[data-by="in"] { --pl: var(--accent); }
.mr-pi { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-3); background: linear-gradient(180deg, #2a2f36, #0d1014);
  box-shadow: 0 0 0 1.5px #1b1f26, 0 0 0 2.5px rgba(255, 255, 255, 0.14); }
.mr-pi .ico { width: 16px; height: 16px; }
.mr-pw { display: grid; gap: 3px; min-width: 0; }
.mr-pw b { font-family: var(--f-display); font-size: 14px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.05; text-transform: uppercase; color: var(--ink-2); }
.mr-pw small { font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--ink-3); }
.mr-by { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--pl); background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.mr-by .ico { width: 11px; height: 11px; }
.mr-perk.is-on { background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)), rgba(5, 7, 10, 0.72); box-shadow: inset 0 0 0 1px var(--pl), inset 0 0 22px -10px var(--pl), 0 0 18px -10px var(--pl); }
.mr-perk.is-on .mr-pi { color: var(--pl); box-shadow: 0 0 0 1.5px #1b1f26, 0 0 0 2.5px var(--pl), 0 0 12px -2px var(--pl); }
.mr-perk.is-on .mr-pw b { color: var(--ink); }
.mr-perk.is-on .mr-by { color: #05070a; background: var(--pl); }
/* регистрация: купон промокода и ссылка — одна карта с перфорацией; под ней путь «регистрация → кабинет» */
.mr-coupon { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); align-items: stretch; border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.05); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35); }
.mr-coupon .mr-promo { min-height: 58px; border-radius: 8px 0 0 8px; background: transparent; outline-offset: -6px; box-shadow: none; }
.mr-cut { position: relative; width: 0; margin: 8px 0; border-left: 2px dashed rgba(var(--accent-rgb), 0.45); }
.mr-cut::before, .mr-cut::after { content: ""; position: absolute; left: -9px; width: 16px; height: 8px; background: var(--m1); }
.mr-cut::before { top: -9px; border-radius: 0 0 8px 8px; box-shadow: inset 0 -1px 0 rgba(var(--accent-rgb), 0.35); }
.mr-cut::after { bottom: -9px; border-radius: 8px 8px 0 0; box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.35); }
.mr-cp-link { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 14px; color: var(--accent); }
.mr-cp-link > .ico { flex: none; width: 20px; height: 20px; }
.mr-cp-link span { display: grid; gap: 3px; min-width: 0; }
.mr-cp-link small { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.mr-cp-link b { font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.mr-flow { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 8px; min-width: 0; }
.mr-fn { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 11px 7px 8px; border-radius: 999px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.mr-fn .ico { flex: none; width: 15px; height: 15px; }
.mr-fn.is-done { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55); background: rgba(var(--accent-rgb), 0.08); }
.mr-fn.is-now { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 16px -4px rgba(var(--accent-rgb), 0.9); }
.mr-fa { display: grid; place-items: center; flex: none; color: rgba(var(--accent-rgb), 0.6); }
.mr-fa .ico { width: 15px; height: 15px; }
/* пополнение и KYC: карточка аккаунта (логотип, ID или ник, состояние) и штамп после шага */
.mr-acc { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)), rgba(6, 8, 12, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 30px -22px rgba(0, 0, 0, 0.95); }
.mr-logo { display: grid; place-items: center; width: 74px; height: 44px; border-radius: 6px; background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mr-logo img { display: block; width: auto; height: 22px; }
.mr-acc-t { display: grid; gap: 4px; min-width: 0; }
.mr-acc-t small { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.mr-acc-t b { overflow-wrap: anywhere; font-size: 15px; font-weight: 700; color: var(--ink); }
.mr-acc-st { padding: 6px 9px 5px; border-radius: 3px; white-space: nowrap; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.mr-acc-st:empty { display: none; }
.mr-acc.is-done .mr-acc-st { display: none; }      /* после шага состояние говорит штамп */
.mr-acc-stamp { position: absolute; right: 18%; top: 50%; padding: 5px 10px 4px; border: 2px solid var(--trim); border-radius: 4px; white-space: nowrap; pointer-events: none;
  font-family: var(--f-display); font-size: 15px; font-weight: 800; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; color: var(--trim);
  background: rgba(var(--bg-rgb), 0.7); box-shadow: 0 0 18px -4px rgba(var(--trim-rgb), 0.65); opacity: 0; transform: translate3d(0, -50%, 0) rotate(-8deg) scale(1.4);
  transition: opacity 0.3s ease 0.1s, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.1s; }
.mr-acc.is-done .mr-acc-stamp { opacity: 1; transform: translate3d(0, -50%, 0) rotate(-8deg); }
/* что откроется в штабе: жетоны предпросмотром — с замками и мягким свечением банды */
.mr-peek { display: grid; gap: 9px; }
.mr-pk { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mr-pk li { position: relative; display: grid; justify-items: center; gap: 7px; padding: 12px 6px 10px; border-radius: 8px; color: rgba(var(--accent-rgb), 0.75);
  background: radial-gradient(80% 70% at 50% 30%, rgba(var(--accent-rgb), 0.12), transparent 75%), rgba(5, 7, 10, 0.7); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.22); }
.mr-pk li::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6), 0 0 16px -6px rgba(var(--accent-rgb), 0.8); opacity: 0; }
.is-on .mr-pk li::before { animation: mr-glow 3.2s ease-in-out infinite; }
.is-on .mr-pk li:nth-child(2)::before { animation-delay: 0.4s; } .is-on .mr-pk li:nth-child(3)::before { animation-delay: 0.8s; } .is-on .mr-pk li:nth-child(4)::before { animation-delay: 1.2s; }
.mr-pk li > .ico { width: 22px; height: 22px; }
.mr-pk li span { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); }
.mr-pl { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--ink-3); background: #0a0d12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.mr-pl .ico { width: 10px; height: 10px; }
.mr-pk li.is-open { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.65), 0 0 16px -6px rgba(var(--accent-rgb), 0.8); }
.mr-pk li.is-open span { color: var(--ink); }
.mr-pk li.is-open .mr-pl { color: var(--accent-ink); background: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .is-on .mr-pt[data-state="now"] .mr-n::after, .is-on .mr-pt[data-state="now"] .mr-st::before, .mr-tile.is-open::before, .is-on .mr-pk li::before { animation: none !important; }
  .mr-tile.is-open::before { opacity: 0.6; }
  .mr-acc-stamp { transition: none; }
}
/* планшет: середина — под заголовком и предметом, во всю ширину панели (.mr .mr-pane: сильнее правил планшета ниже по файлу) */
@media (max-width: 1080px) {
  .mr .mr-pane { grid-template-areas: "txt art" "scene scene" "act act"; }
  .mr .mr-scene { grid-area: scene; }
}
/* телефон: плитки входа и штаба по две и по четыре, купон в столбик, путь переносится */
@media (max-width: 760px) {
  .mr-scene { gap: 12px; }
  .mr-pass { gap: 10px; padding: 10px 12px; }
  .mr-pass-em { width: 34px; height: 34px; }
  .mr-pass-em .ico { width: 17px; height: 17px; }
  .mr-pass-t b { font-size: 15px; }
  .mr-pass-c { padding-left: 10px; }
  .mr-pass-c b { font-size: 18px; }
  .mr-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mr-perk { padding: 10px; }
  .mr-coupon { grid-template-columns: minmax(0, 1fr); }
  .mr-cut { width: auto; height: 0; margin: 0 10px; border-left: 0; border-top: 2px dashed rgba(var(--accent-rgb), 0.45); }
  .mr-cut::before, .mr-cut::after { display: none; }
  .mr-coupon .mr-promo { border-radius: 8px 8px 0 0; }
  .mr-cp-link { justify-content: center; padding: 10px 12px 12px; }
  .mr-flow { flex-wrap: wrap; row-gap: 6px; }
  .mr-acc { gap: 10px; padding: 10px 12px; grid-template-columns: auto minmax(0, 1fr); }
  .mr-acc-st { grid-column: 1 / -1; justify-self: start; }
  .mr-logo { width: 60px; height: 38px; }
  .mr-logo img { height: 18px; }
  .mr-acc-stamp { right: 10px; font-size: 12px; }
  .mr-pk { gap: 6px; }
  .mr-pk li { padding: 10px 4px 8px; }
  .mr-pk li span { font-size: 9px; letter-spacing: 0.06em; }
  .mr-tn { padding: 3px 5px 2px; font-size: 9px; letter-spacing: 0.06em; }
}

/* ---------- общак банды 1WIN — призовой фонд: сейф, табличка «призы недели» и рост пула; от сейфа по трубам — к тому, что он
   оплачивает (Получка, Набор, Турнир братков, банк Сходки). Капли света бегут по трубам, только пока раздел на экране ---------- */
.fund { position: relative; margin-top: 34px; }
.fd-top { position: relative; display: grid; justify-items: center; }
.fd-safe { position: relative; width: min(100%, 300px); margin-bottom: -14px; filter: drop-shadow(0 40px 34px rgba(0, 0, 0, 0.85)); pointer-events: none; }
/* золотой ореол за сейфом: золото — цвет общака */
.fd-safe::before { content: ""; position: absolute; z-index: -1; left: -18%; right: -18%; top: 6%; bottom: 2%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.26), rgba(var(--gold-rgb), 0.07) 55%, transparent); }
.fd-plate { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; min-width: 320px; padding: 16px 26px 15px; border-radius: 6px; text-align: center;
  background: linear-gradient(180deg, #0c0d10, #050607); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45), inset 0 0 26px rgba(var(--gold-rgb), 0.08), 0 20px 44px -20px rgba(0, 0, 0, 0.95); }
.fd-plate small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.85); }
.fd-plate > b { font-family: var(--f-display); font-size: clamp(44px, 4.6vw, 64px); font-weight: 800; font-stretch: 90%; line-height: 0.95; color: transparent;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 14px rgba(var(--gold-rgb), 0.35)); }
/* банда растёт — призы растут: значок банды, столбики пула по нарастающей, стопка монет */
.fd-grow { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; }
.fd-gi { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.fd-gi.is-gold { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.fd-gi .ico { width: 16px; height: 16px; }
.fd-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; }
.fd-bars i { display: block; width: 6px; border-radius: 1px; transform-origin: 50% 100%; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.45); }
.fd-bars i:nth-child(1) { height: 26%; } .fd-bars i:nth-child(2) { height: 42%; } .fd-bars i:nth-child(3) { height: 60%; } .fd-bars i:nth-child(4) { height: 80%; } .fd-bars i:nth-child(5) { height: 100%; }
.is-on .fd-bars i { animation: fd-grow 3.6s var(--ease-out) infinite; }
.fd-bars i:nth-child(2) { animation-delay: 0.12s; } .fd-bars i:nth-child(3) { animation-delay: 0.24s; } .fd-bars i:nth-child(4) { animation-delay: 0.36s; } .fd-bars i:nth-child(5) { animation-delay: 0.48s; }
@keyframes fd-grow { 0% { transform: scaleY(0.2); opacity: 0.5; } 30%, 82% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0.2); opacity: 0.5; } }
.fd-grow em { flex: 0 0 100%; font-style: normal; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
/* трубы: ствол от таблички вниз, коллектор над карточками, отводы в каждую; капли — свет, бегущий от сейфа */
.fd-trunk { position: relative; display: block; width: 2px; height: 40px; overflow: hidden; background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.85), rgba(var(--gold-rgb), 0.45)); box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.45); }
.fd-trunk b, .fd-d::after { position: absolute; left: -3px; top: 0; width: 8px; height: 100%; opacity: 0; transform: translate3d(0, -14px, 0);
  background: radial-gradient(closest-side, #fff, var(--gold) 55%, transparent) 50% 0 / 8px 14px no-repeat; }
.is-on .fd-trunk b { animation: fd-down 2.4s linear infinite; }
.fd-trunk b:nth-child(2) { animation-delay: -1.2s; }
@keyframes fd-down { 0% { transform: translate3d(0, -14px, 0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translate3d(0, 100%, 0); opacity: 0; } }
.fd-to { position: relative; margin: 0; padding: 28px 0 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fd-mani { position: absolute; left: calc(12.5% - 5.25px); right: calc(12.5% - 5.25px); top: 0; height: 2px; overflow: hidden;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.5), rgba(var(--gold-rgb), 0.9) 50%, rgba(var(--gold-rgb), 0.5)); box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.4); }
.fd-mani b { position: absolute; top: -3px; width: 50%; height: 8px; opacity: 0; background: radial-gradient(closest-side, #fff, var(--gold) 55%, transparent) 100% 50% / 14px 8px no-repeat; }
.fd-mani .ml { right: 50%; }
.fd-mani .mr { left: 50%; background-position: 0 50%; }
.is-on .fd-mani .ml { animation: fd-left 2.4s linear infinite 0.6s; }
.is-on .fd-mani .mr { animation: fd-right 2.4s linear infinite 0.6s; }
@keyframes fd-left { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12%, 80% { opacity: 1; } 100% { transform: translate3d(-100%, 0, 0); opacity: 0; } }
@keyframes fd-right { 0% { transform: translate3d(-100%, 0, 0); opacity: 0; } 12%, 80% { opacity: 1; } 100% { transform: translate3d(0, 0, 0); opacity: 0; } }
.fd-d { position: relative; min-width: 0; }
.fd-d::before { content: ""; position: absolute; left: 50%; top: -28px; width: 2px; height: 28px; margin-left: -1px; background: rgba(var(--gold-rgb), 0.6); box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.35); }
.fd-d::after { content: ""; top: -28px; left: calc(50% - 4px); height: 28px; }
.is-on .fd-d::after { animation: fd-down 2.4s linear infinite 1.2s; }
.fd-d a { position: relative; height: 100%; display: grid; justify-items: center; align-content: start; gap: 5px; padding: 14px 12px 18px; border-radius: 8px; text-align: center; color: inherit;
  background: var(--hudc), linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 30%), linear-gradient(160deg, var(--m3), var(--m1) 55%, var(--m0));
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 30px 50px -30px rgba(0, 0, 0, 0.95); transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.fd-d a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6), 0 30px 50px -26px rgba(var(--accent-rgb), 0.4); }
.fd-img { display: block; width: 92px; margin: -4px 0 0; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.8)); }
.fd-img img { display: block; width: 100%; height: auto; }
.fd-day { display: inline-flex; padding: 4px 8px 3px; border-radius: 1px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.fd-d b { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.15; text-transform: uppercase; }
.fd-sum { font-style: normal; font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; line-height: 1.05; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.75); }
.fd-d.k-sk a { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45), inset 0 1px 0 var(--hl), 0 30px 50px -30px rgba(0, 0, 0, 0.95); }
/* призы строкой ваучеров («$50 · 8 × $10», «5 × $5») — мельче суммы, переносится только между ваучерами */
.fd-n { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.fd-d.k-sk .fd-sum { color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; text-shadow: none; }
/* «10%» — клапан на отводе к банку Сходки */
.fd-pct { position: absolute; left: calc(50% + 8px); top: -24px; padding: 3px 6px 2px; border-radius: 2px; font-style: normal; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }

/* ---------- сейф общака — кнопка: наведение светит, ярлык «открой» зовёт; по нажатию дверца распахивается и выходит карточка ---------- */
.vb-art { z-index: 3; }
.vb { position: absolute; z-index: 2; left: 10%; right: 10%; top: 8%; bottom: 8%; padding: 0; border: 0; border-radius: 16px; cursor: pointer; pointer-events: auto;
  background: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.vb[hidden] { display: none; }
/* свечение банды за сейфом при наведении и фокусе */
.vb::before { content: ""; position: absolute; z-index: -1; left: -14%; right: -14%; top: -6%; bottom: -10%; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(0.9);
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.34), rgba(var(--accent-rgb), 0.1) 58%, transparent); transition: opacity 0.3s ease, transform 0.4s var(--ease-out); }
.vb:hover::before, .vb:focus-visible::before, .vb-art.is-open .vb::before { opacity: 1; transform: scale(1); }
.vb:focus { outline: none; }
.vb:focus-visible { box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.9), 0 0 0 6px rgba(var(--accent-rgb), 0.18); }
/* ярлык «открой»: стальная плашка с неоновой кромкой и огоньком, у дверцы снизу */
.vb-tip { position: absolute; left: -4%; bottom: 2%; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 5px 9px; border-radius: 3px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(180deg, rgba(30, 36, 46, 0.94), rgba(8, 11, 16, 0.94)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12),
  0 0 16px rgba(var(--accent-rgb), 0.35), 0 10px 20px -8px rgba(0, 0, 0, 0.9); transition: opacity 0.25s ease, transform 0.3s var(--ease-out); }
.vb-tip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16), 0 0 10px var(--accent); animation: vb-dot 1.8s ease-in-out infinite; }
@keyframes vb-dot { 50% { opacity: 0.35; transform: scale(0.7); } }
.vb:hover .vb-tip, .vb:focus-visible .vb-tip { transform: translate3d(0, -3px, 0); }
.vb-art.is-open .vb-tip { opacity: 0; transform: translate3d(0, 6px, 0); }

/* карточка «Как работает общак»: окно поверх затемнённой страницы (владелец 17.11), выходит из сейфа (transform и opacity — site.js,
   Web Animations). Карточка в body: её не обрезают предки раздела; страница под ней не прокручивается (html.sheet-open) */
.vc { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; }
.vc[hidden] { display: none; }
.vc-veil { position: absolute; inset: 0; cursor: pointer;
  background: radial-gradient(120% 90% at 50% 40%, rgba(2, 4, 9, 0.62), rgba(2, 4, 9, 0.86)); }
.vc .vc-box { width: min(900px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.vc-box { position: relative; padding: 24px 28px 22px; border-radius: 12px; outline: none; transform-origin: 50% 50%;
  background: linear-gradient(180deg, rgba(20, 25, 34, 0.98), rgba(7, 9, 13, 0.99));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 50px 90px -30px rgba(0, 0, 0, 0.95),
  0 0 70px -24px rgba(var(--accent-rgb), 0.55); }
/* сталь сейфа: неоновая нить по верхней кромке и ряд заклёпок под ней */
.vc-box::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.95) 18%, rgba(var(--accent-rgb), 0.95) 82%, transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.8); }
.vc-box::after { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 6px; pointer-events: none; opacity: 0.55;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 1.5px, transparent 2px) 0 50% / 26px 6px repeat-x; }
.vc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.vc-k { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.vc-k i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14), 0 0 12px rgba(var(--accent-rgb), 0.7); }
.vc-x { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: background 0.2s ease, box-shadow 0.2s ease; }
.vc-x:hover, .vc-x:focus-visible { outline: none; background: rgba(var(--accent-rgb), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.8); }
.vc-x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.vc-h { margin: 4px 0 18px; font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); }
/* 1. фонд растёт с бандой */
.vc-fund { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.1), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.28); }
.vc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--accent); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), 0.6), 0 0 16px rgba(var(--accent-rgb), 0.25); }
.vc-ic .ico { width: 22px; height: 22px; }
.vc-ft { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: end; gap: 4px 12px; min-width: 0; }
.vc-ft b { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.vc-ft small { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.vc-grow { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.vc-grow i { display: block; width: 5px; border-radius: 1px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.4); }
.vc-grow i:nth-child(1) { height: 26%; } .vc-grow i:nth-child(2) { height: 42%; } .vc-grow i:nth-child(3) { height: 60%; } .vc-grow i:nth-child(4) { height: 80%; } .vc-grow i:nth-child(5) { height: 100%; }
.vc-num { display: grid; justify-items: end; gap: 3px; padding-left: 16px; border-left: 1px solid rgba(var(--gold-rgb), 0.3); }
.vc-num small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.85); }
.vc-num b { font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1; color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; white-space: nowrap; }
/* 2. каждую неделю */
.vc-sub { margin: 20px 0 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.vc-week { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.vc-row { display: grid; grid-template-columns: 46px 190px minmax(0, 1fr) auto; grid-template-areas: "day name what sum" "day name chip sum"; align-items: center; gap: 2px 14px;
  padding: 10px 14px 10px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.vc-day { grid-area: day; display: grid; place-items: center; height: 30px; border-radius: 3px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.vc-row > b { grid-area: name; font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.vc-what { grid-area: what; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.vc-row.no-chip { grid-template-areas: "day name what sum"; }
.vc-chip { grid-area: chip; display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); }
.vc-chip .ico { width: 14px; height: 14px; }
.vc-sum { grid-area: sum; font-style: normal; font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1.05; text-align: right; white-space: nowrap; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.7); }
.vc-sum.is-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; white-space: normal; }
.vc-sum.is-chips .vt { padding: 6px 11px 5px; }
.vc-sum.is-chips .vt b { font-size: 16px; }
.vc-sum.is-chips .vt small { font-size: 11px; }
/* 3. банк Сходки: доля недели крупно, рядом — что такое Сходка */
.vc-bank { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 14px; }
.vc-pct { display: grid; grid-template-columns: auto auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.12), rgba(var(--gold-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.vc-pct b { font-family: var(--f-display); font-size: 44px; font-weight: 800; line-height: 0.9; color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; }
/* знак процента у Tektur похож на «Z» — его рисует шрифт сайта */
.vc-pct b small { margin-left: 2px; font-family: var(--font); font-size: 0.66em; font-weight: 800; }
.vc-pct i { display: grid; place-items: center; width: 44px; height: 44px; color: var(--gold); }
.vc-pct i .ico { width: 30px; height: 30px; }
.vc-pct span { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.9); }
.vc-sk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 16px; padding: 12px 16px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.28); }
.vc-sk > b { font-family: var(--f-display); font-size: 19px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold); }
.vc-sk ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.vc-sk li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.vc-sk li .ico { flex: 0 0 auto; width: 16px; height: 16px; color: var(--gold); }
.vc-sk li b { color: var(--ink); white-space: nowrap; }
/* 4. призы */
.vc-prize { margin: 14px 0 0; padding: 12px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.vc-prize li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.vc-prize .ico { width: 16px; height: 16px; color: var(--accent); }
.vc-age b { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border: 1.5px solid rgba(var(--bad-rgb), 0.85); border-radius: 3px; color: var(--ink); letter-spacing: 0.04em; }
/* строки выходят по очереди, когда карточка уже выросла */
.vc.is-in .vc-in { animation: vc-in 0.46s var(--ease-out) both; }
.vc.is-in .vc-fund { animation-delay: 0.22s; } .vc.is-in .vc-sub { animation-delay: 0.3s; } .vc.is-in .vc-week { animation-delay: 0.36s; }
.vc.is-in .vc-bank { animation-delay: 0.46s; } .vc.is-in .vc-prize { animation-delay: 0.54s; }
@keyframes vc-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
@media (prefers-reduced-motion: reduce) {
  .vc.is-in .vc-in, .vb-tip i { animation: none; }
  .vb::before, .vb-tip { transition: none; }
}
/* телефон: сейф маленький в шапке — карточка листом поверх раздела, по ширине раздела; строки в столбик */
@media (max-width: 760px) {
  .vc { padding: 0; place-items: end stretch; }
  .vc .vc-box { width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 14px 14px 0 0; }
  .vc-box { padding: 18px 16px 16px; }
  .vc-h { margin-bottom: 14px; font-size: 24px; }
  .vc-fund { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px; }
  .vc-ft { grid-template-columns: minmax(0, 1fr) auto; }
  .vc-ft small { font-size: 10px; letter-spacing: 0.08em; }
  .vc-num { grid-column: 1 / -1; justify-items: start; padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(var(--gold-rgb), 0.3); }
  .vc-row, .vc-row.no-chip { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "day name sum" "what what what" "chip chip chip"; gap: 6px 10px; padding: 10px 12px; }
  .vc-row.no-chip { grid-template-areas: "day name sum" "what what what"; }
  .vc-row > b { font-size: 15px; }
  .vc-what { font-size: 13px; }
  .vc-sum { font-size: 19px; }
  .vc-sum.is-chips { justify-content: flex-start; }
  .vc-bank { grid-template-columns: minmax(0, 1fr); }
  .vc-pct { justify-content: start; }
  .vc-sk { grid-template-columns: minmax(0, 1fr); }
  .vc-sk ul { grid-template-columns: minmax(0, 1fr); }
  .vc-prize { gap: 8px 14px; }
  .vb-tip { left: auto; right: -2%; bottom: -10%; padding: 4px 7px 3px; font-size: 9px; letter-spacing: 0.16em; gap: 5px; }
  .vb-tip i { width: 6px; height: 6px; }
}

/* ---------- вербовка: одна механика — друг едет по дорожке ступеней, ступень вспыхивает, награда сыплется; ниже — лента званий ---------- */
.fr { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.rc-card { position: relative; isolation: isolate; overflow: hidden; padding: 26px 28px 24px; border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.05)),
    repeating-radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 9px),
    linear-gradient(160deg, #11151a, #07090b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 44px 80px -40px rgba(0, 0, 0, 0.95), 0 0 70px -24px rgba(var(--accent-rgb), 0.3); }
.rc-foil { inset: -20% -40%; opacity: 0.15; }
.rt { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 180px; align-items: center; gap: 0 26px; }
.rt-from { display: grid; justify-items: center; gap: 6px; text-align: center; }
.rt-ava { position: relative; display: grid; place-items: center; width: 64px; height: 74px; border-radius: 5px; color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, #1b2026, #0c0f12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 4px rgba(0, 0, 0, 0.35); }
.rt-ava .ico { width: 36px; height: 36px; stroke-width: 1.5; }
.rt-from b { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.rt-from small { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.rt-from small .ico { width: 12px; height: 12px; color: var(--accent); }
/* дорожка: две ступени по центрам своих половин; рельс — от начала до второй ступени, по нему едет жетон друга */
.rt-road { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-top: 4px; }
.rt-rail { position: absolute; left: 0; right: calc(25% - 4px); top: 30px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.rt-rail::after { content: ""; position: absolute; inset: 0; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.4), var(--accent)); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7); }
.rt-run { position: absolute; inset: 0; }
.rt-tok { position: absolute; left: -17px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; opacity: 0; color: #fff;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 55%, var(--accent-deep)); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55), 0 0 18px rgba(var(--accent-rgb), 0.85); }
.rt-tok .ico { width: 18px; height: 18px; color: #04101f; }
.rt-node { --nc: var(--accent); --nc-rgb: var(--accent-rgb); position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
.rt-node.n2 { --nc: var(--trim); --nc-rgb: var(--trim-rgb); }
.rt-node.c-stake { --nc: var(--p-stake); --nc-rgb: var(--p-stake-rgb); }
.rt-node.c-onewin { --nc: var(--p-onewin); --nc-rgb: var(--p-onewin-rgb); }
.rt-pt { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%;
  font-family: var(--f-display); font-size: 21px; font-weight: 800; color: var(--ink);
  background: radial-gradient(circle, rgba(7, 9, 11, 0.97) 0 56%, transparent 57%), conic-gradient(from 20deg, rgba(var(--nc-rgb), 0.95) 0 22%, rgba(var(--nc-rgb), 0.22) 22% 28%, rgba(var(--nc-rgb), 0.95) 28% 47%, rgba(var(--nc-rgb), 0.22) 47% 53%, rgba(var(--nc-rgb), 0.95) 53% 72%, rgba(var(--nc-rgb), 0.22) 72% 78%, rgba(var(--nc-rgb), 0.95) 78% 97%, rgba(var(--nc-rgb), 0.22) 97%);
  box-shadow: 0 0 18px rgba(var(--nc-rgb), 0.35); }
.rt-pt img { width: 34px; height: auto; }
/* вспышка ступени, когда жетон до неё доехал */
.rt-pt::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; opacity: 0; border: 2px solid var(--nc); box-shadow: 0 0 22px rgba(var(--nc-rgb), 0.9), inset 0 0 14px rgba(var(--nc-rgb), 0.6); }
.rt-v { font-family: var(--f-display); font-size: clamp(30px, 3vw, 42px); font-weight: 800; line-height: 1; color: #fff; text-shadow: 0 0 10px rgba(var(--nc-rgb), 0.9), 0 0 24px rgba(var(--nc-rgb), 0.5); }
.rt-node small { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.rt-node small .ico { width: 13px; height: 13px; color: var(--nc); }
.rt-what { margin-top: 4px; font-family: var(--f-display); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
/* что делает зрителя активным: три стрима, Kick, Telegram и ID 1WIN — значками */
.rt-more { margin-top: 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.rt-need { margin-top: 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.rt-need i { display: inline-flex; align-items: center; gap: 2px; padding: 3px 6px 2px; border-radius: 2px; font-style: normal; font-family: var(--f-mono); font-size: 10px; font-weight: 700; color: var(--ink-2);
  background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.rt-need .ico { width: 12px; height: 12px; color: var(--accent); }
/* награда сыплется вверх из ступени */
.rt-pop { position: absolute; left: 50%; top: 14px; width: 0; height: 0; pointer-events: none; }
.rt-pop i { position: absolute; left: -11px; top: 0; display: grid; place-items: center; width: 22px; height: 22px; opacity: 0; color: var(--nc); filter: drop-shadow(0 0 6px rgba(var(--nc-rgb), 0.8)); }
.rt-pop i .ico { width: 20px; height: 20px; }
.rt-pop i:nth-child(1) { --x: -26px; } .rt-pop i:nth-child(2) { --x: 0px; } .rt-pop i:nth-child(3) { --x: 26px; }
.rt-cap { position: absolute; z-index: 2; left: 50%; top: 32px; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 3px; border-radius: 2px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.rt-cap .ico { width: 12px; height: 12px; color: var(--accent); }
.rt-gift { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 3px; padding: 16px 12px 15px; border-radius: 10px; text-align: center;
  background: linear-gradient(160deg, rgba(var(--gold-rgb), 0.16), rgba(var(--gold-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.rt-gift small, .rt-gift span { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.9); }
.rt-gift b { font-family: var(--f-display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; line-height: 1; color: transparent;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.35)); }
/* блик по золотой табличке, когда друг прошёл ступени */
.rt-gift::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; opacity: 0; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 240, 200, 0.35), transparent); }
/* петля 7 с: жетон въезжает, у первой ступени вспышка и билеты, у второй — вспышка и фишки, затем блик по подарку */
.is-on .rt-run { animation: rt-ride 7s var(--ease-out) infinite; }
.is-on .rt-tok { animation: rt-tok 7s linear infinite; }
.is-on .rt-rail::after { animation: rt-fill 7s var(--ease-out) infinite; }
.is-on .rt-node.n1 .rt-pt::after { animation: rt-hit1 7s ease-out infinite; }
.is-on .rt-node.n2 .rt-pt::after { animation: rt-hit2 7s ease-out infinite; }
.is-on .rt-node.n1 .rt-pop i { animation: rt-pop1 7s ease-out infinite; }
.is-on .rt-node.n2 .rt-pop i { animation: rt-pop2 7s ease-out infinite; }
.is-on .rt-gift::after { animation: rt-shine 7s ease-in-out infinite; }
.rt-pop i:nth-child(2) { animation-delay: 0.12s !important; } .rt-pop i:nth-child(3) { animation-delay: 0.24s !important; }
@keyframes rt-ride { 0% { transform: translate3d(0, 0, 0); } 20%, 32% { transform: translate3d(33.333%, 0, 0); } 54%, 100% { transform: translate3d(100%, 0, 0); } }
@keyframes rt-tok { 0% { opacity: 0; } 4%, 70% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes rt-fill { 0% { transform: scaleX(0); opacity: 1; } 20%, 32% { transform: scaleX(0.3333); opacity: 1; } 54%, 74% { transform: scaleX(1); opacity: 1; } 84%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes rt-hit1 { 0%, 18% { opacity: 0; transform: scale(0.8); } 22% { opacity: 1; transform: scale(1.12); } 34%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes rt-hit2 { 0%, 52% { opacity: 0; transform: scale(0.8); } 56% { opacity: 1; transform: scale(1.12); } 68%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes rt-pop1 { 0%, 20% { opacity: 0; transform: translate3d(var(--x), 0, 0) scale(0.5); } 24% { opacity: 1; } 38%, 100% { opacity: 0; transform: translate3d(var(--x), -54px, 0) scale(1); } }
@keyframes rt-pop2 { 0%, 54% { opacity: 0; transform: translate3d(var(--x), 0, 0) scale(0.5); } 58% { opacity: 1; } 72%, 100% { opacity: 0; transform: translate3d(var(--x), -54px, 0) scale(1); } }
@keyframes rt-shine { 0%, 66% { opacity: 0; transform: translate3d(0, 0, 0) skewX(-18deg); } 70% { opacity: 1; } 84%, 100% { opacity: 0; transform: translate3d(360%, 0, 0) skewX(-18deg); } }
/* звания банды — дорожка прогресса: регалии по возрастанию на рельсе, свет бежит от Новенького к Правой руке */
.fr-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ranks { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ranks::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 42px; height: 2px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.55), rgba(var(--gold-rgb), 0.85)); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.35); }
.ranks::after { content: ""; position: absolute; left: calc(100% / 12); top: 38px; width: calc(100% * 10 / 12); height: 10px; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, #fff, var(--accent) 50%, transparent) 0 50% / 46px 10px no-repeat; }
.is-on .ranks::after { animation: rk-run 6s ease-in-out infinite; }
@keyframes rk-run { 0% { transform: translate3d(-23px, 0, 0); opacity: 0; } 6%, 80% { opacity: 1; } 86%, 100% { transform: translate3d(calc(100% - 23px), 0, 0); opacity: 0; } }
.ranks li { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 4px 12px; border-radius: 6px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.ranks li::after { content: ""; position: absolute; inset: 0; border-radius: 6px; opacity: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.8), 0 0 24px -4px rgba(var(--accent-rgb), 0.6); }
.is-on .ranks li::after { animation: rk-lit 6s ease-in-out infinite; }
.ranks li:nth-child(2)::after { animation-delay: 0.78s; } .ranks li:nth-child(3)::after { animation-delay: 1.56s; } .ranks li:nth-child(4)::after { animation-delay: 2.34s; }
.ranks li:nth-child(5)::after { animation-delay: 3.12s; } .ranks li:nth-child(6)::after { animation-delay: 3.9s; box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.9), 0 0 26px -4px rgba(var(--gold-rgb), 0.7); }
@keyframes rk-lit { 0%, 4% { opacity: 0; } 9% { opacity: 1; } 22%, 100% { opacity: 0; } }
.rk { width: 50px; height: 58px; color: var(--accent); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.7)); }
.ranks b { font-family: var(--f-display); font-size: 12px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.2; text-transform: uppercase; }
.ranks small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.ranks li.top { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5), 0 0 26px -6px rgba(var(--gold-rgb), 0.45); }
.ranks li.top b { color: var(--gold); }
/* лестница наград (18.11): ваучеры — золотом, ступени — светом банды; подпись над лентой */
.ranks.is-ladder li.vo b { color: var(--gold); }
.ranks.is-ladder b { font-size: 15px; letter-spacing: 0.02em; }
.rk-cap { justify-self: start; margin: 0 0 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.rk-cap i { margin: 0 8px; font-style: normal; color: var(--ink-3); }
/* звание бойца (вошёл и свой в банде): пройденные регалии — с отсветом банды, текущая — в рамке банды с меткой «ты» */
.ranks li.got .rk { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.4)); }
.ranks li.got small { color: var(--accent); }
.ranks li.now { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.02)); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 26px -6px rgba(var(--accent-rgb), 0.6); }
.ranks li.now::before { content: "ты"; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 2px; font-family: var(--f-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #04120a; background: var(--accent); }
.rk-note { justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 12px; border-radius: 3px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35); }
.rk-note .ico { width: 15px; height: 15px; color: var(--accent); }
.rk-note b { font-family: var(--f-display); font-size: 15px; color: var(--accent); }
.rk-note i { font-style: normal; color: var(--ink-3); }
.fr-go { justify-self: start; }
.fr-side > .cta-w { justify-self: start; }

/* ---------- чёрный рынок: лоты — ящики банды под софитом; закрытые — под замком с причиной ---------- */
/* баллы банды в шапке рынка: своя ячейка-монета ярко (у вошедшего — баланс), чужая приглушена за знаком «≠», курс,
   за что дают — значками, замок «для своих» ведёт к маршруту */
.pts { position: relative; margin-top: 34px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 22px; padding: 16px 20px; border-radius: 8px;
  background: var(--hudc), var(--metal); box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 30px 60px -34px rgba(0, 0, 0, 0.95); }
.pts-cells { display: flex; align-items: center; gap: 12px; }
.pts-cell { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5), inset 0 0 22px rgba(var(--accent-rgb), 0.06); }
.pts-coin { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-family: var(--f-display); font-size: 14px; font-weight: 800; letter-spacing: 0.02em;
  background: radial-gradient(circle at 50% 35%, #2b313a, #0b0d11 72%); box-shadow: inset 0 0 0 2px currentColor, inset 0 0 0 5px rgba(0, 0, 0, 0.6), inset 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 18px -4px currentColor; }
.pts-coin.c-stake { color: var(--p-stake); }
.pts-coin.c-onewin { color: var(--p-onewin); }
.pts-tx { display: grid; justify-items: start; gap: 3px; }
.pts-tx small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); }
.pts-v { font-family: var(--f-display); font-size: 26px; font-weight: 800; line-height: 1; }
.pts-sub { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.pts-sub em, .pts-rate { font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; color: var(--ink-2); }
.pts-rate { color: var(--accent); }
.pts-cell.is-other { opacity: 0.42; filter: grayscale(0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.pts-cell.is-other .pts-coin { width: 38px; height: 38px; font-size: 12px; }
.pts-ne { font-style: normal; font-family: var(--f-display); font-size: 32px; font-weight: 800; line-height: 1; color: var(--ink-3); cursor: help; }
.pts-earn { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pts-earn li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 6px; border-radius: 3px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap; color: var(--ink-2); background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.pts-earn .ico { width: 15px; height: 15px; color: var(--accent); }
.pts-lock { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 14px; border-radius: 4px; white-space: nowrap; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.13), rgba(var(--gold-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
a.pts-lock:hover { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.22), rgba(var(--gold-rgb), 0.06)); }
.pts-lock .ico { width: 16px; height: 16px; }
.pts-lock.is-open { color: var(--accent); background: rgba(var(--accent-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
.sc-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.crate { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: var(--metal);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 34px 60px -34px rgba(0, 0, 0, 0.95); transition: box-shadow 0.3s; }
.crate[data-p="stake"] { --pc: var(--p-stake); --pc-rgb: var(--p-stake-rgb); }
.crate[data-p="onewin"] { --pc: var(--p-onewin); --pc-rgb: var(--p-onewin-rgb); }
.crate[data-p="all"] { --pc: var(--gold); --pc-rgb: var(--gold-rgb); }
.crate:hover { box-shadow: inset 0 0 0 1px rgba(var(--pc-rgb), 0.45), 0 30px 70px -32px rgba(var(--pc-rgb), 0.4); }
.cr-stage { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10.5; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 90%, rgba(var(--pc-rgb), 0.22), transparent 70%), radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%), linear-gradient(180deg, #0b0e11, #050607); }
/* софит сверху и линия пола */
.cr-stage::before { content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 86%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); }
.cr-stage::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 15%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent); }
.cr-img { position: relative; z-index: 1; width: 62%; height: auto; margin-top: 2%; filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.85)); transition: transform 0.6s var(--ease-out), filter 0.4s; }
.crate:hover .cr-img { transform: translate3d(0, -6px, 0) rotate(-1.5deg) scale(1.03); }
.cr-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), filter 0.4s; }
.crate:hover .cr-photo { transform: scale(1.04); }
.cr-stage .ptag { position: absolute; z-index: 3; left: 12px; top: 12px; }
.cr-val { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: 5px 10px 4px; border-radius: 2px; font-family: var(--f-display); font-size: 20px; font-weight: 800; color: var(--pc);
  background: rgba(4, 5, 6, 0.8); box-shadow: inset 0 0 0 1px rgba(var(--pc-rgb), 0.5); text-shadow: 0 0 12px rgba(var(--pc-rgb), 0.6); }
.crate.locked .cr-img { filter: grayscale(0.6) brightness(0.58) drop-shadow(0 22px 18px rgba(0, 0, 0, 0.85)); }
.crate.locked .cr-photo { filter: grayscale(0.7) brightness(0.55); }
.cr-lock { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; padding: 14px; text-align: center; background: linear-gradient(180deg, rgba(4, 5, 6, 0.15), rgba(4, 5, 6, 0.6)); }
.cr-lock img { width: 44px; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.9)); }
/* лента «закрыто» наискось через угол */
.cr-tape { position: absolute; z-index: 2; right: -44px; top: 24px; width: 170px; height: 16px; transform: rotate(35deg); opacity: 0.88;
  background: repeating-linear-gradient(45deg, rgba(var(--gold-rgb), 0.95) 0 10px, #0b0b0b 10px 20px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); }
.cr-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.cr-body > b { font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1.25; }
.cr-body > span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cr-foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.cr-price { font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.cr-price small { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.cr-foot .btn { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
.cr-foot .btn .ico { width: 15px; height: 15px; }
/* витрина: цена — в баллах и в долларах; купить — в магазине кабинета; вошедшему — пометка, что лот открыт для него */
.cr-price em { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2); }
.cr-foot .btn { flex: none; display: inline-flex; align-items: center; gap: 8px; }
#shopLots .card.empty, #giveawayTable .empty, #streamTable .empty { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 30px 20px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; }
#shopLots .card.empty::before, #giveawayTable .empty::before, #streamTable .empty::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: dot 1.8s ease-in-out infinite; }
@keyframes dot { 50% { opacity: 0.25; transform: scale(0.7); } }
/* витрина без лотов: силуэты ящиков банды в темноте и штамп «скоро завезут» */
#shopLots .card.empty.sc-soon { position: relative; flex-direction: column; gap: 16px; padding: 30px 20px 28px; overflow: hidden; }
#shopLots .card.empty.sc-soon::before { display: none; }
.sc-ghost { display: flex; justify-content: center; gap: clamp(10px, 3vw, 34px); }
.sc-ghost img { width: clamp(76px, 12vw, 150px); height: auto; opacity: 0.32; filter: grayscale(0.5) brightness(0.7) drop-shadow(0 14px 12px rgba(0, 0, 0, 0.8)); }
.sc-ghost img:nth-child(2) { opacity: 0.45; transform: translate3d(0, -6px, 0); }
.sc-soon b { padding: 6px 14px 5px; border: 2px solid rgba(var(--gold-rgb), 0.85); border-radius: 3px; transform: rotate(-3deg); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); box-shadow: 0 0 22px -6px rgba(var(--gold-rgb), 0.5); }

/* ---------- разборки: табло добычи и протокол ---------- */
#refStats .stats { margin-top: 34px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
#refStats .stat .v { font-size: clamp(18px, 2vw, 30px); }
#giveawayTable, #streamTable { margin-top: 14px; }
.gwin { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#giveawayTable td.num.plus { font-family: var(--f-display); font-weight: 700; }
/* разборки Stake: как устроено — цепочкой значков, «10%» неоном */
.gv-flow { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gv-flow li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 14px 16px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.gv-flow li + li::before { content: ""; position: absolute; left: -10px; top: 50%; width: 10px; height: 2px; background: rgba(var(--accent-rgb), 0.7); box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.6); }
.gv-flow i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--accent);
  background: rgba(var(--accent-rgb), 0.07); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 0 16px -6px rgba(var(--accent-rgb), 0.6); }
.gv-flow i .ico { width: 20px; height: 20px; }
.gv-flow span { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.35; text-transform: uppercase; color: var(--ink-2); }
.gv-flow li.is-big { justify-content: center; gap: 10px; background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
.gv-flow li.is-big b { font-family: var(--f-display); font-size: 38px; font-weight: 800; line-height: 1; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 14px rgba(var(--accent-rgb), 0.8), 0 0 30px rgba(var(--accent-rgb), 0.4); }


/* ---------- архив эфиров: карточки — мониторы наблюдения с отметкой записи ---------- */
.vgrid { gap: 18px; }
.vcard { padding: 10px 10px 16px; border-radius: 6px; }
.vcard:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.vthumb { border-radius: 3px; background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), #000 url(img/city-stake-m.webp) center 62% / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
:root[data-project="onewin"] .vthumb { background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(img/city-onewin-m.webp); }
.vthumb img { position: relative; }
.vthumb::before { content: "● REC"; position: absolute; z-index: 2; left: 10px; top: 9px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: #ff4a4a; text-shadow: 0 0 8px rgba(255, 74, 74, 0.8); }
.vthumb::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.6)); }
.vthumb em { z-index: 2; border-radius: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; }
.vcard b { font-family: var(--f-display); font-size: 16px; font-weight: 700; }
.vcard > span:last-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }

/* ---------- связь: стойка связи — тайник USDT, радиоканал, донесение о баге, прямая линия ---------- */
.comms { overflow-x: clip; }
.comms .sec-head:not(.has-art) { max-width: 640px; }     /* с 3D-рацией (.has-art) шапка во всю ширину, иначе рация закрывала конец абзаца */
.support { position: relative; z-index: 1; margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card.qr, .bugform, .partner { overflow: hidden; }
/* поддержать стрим: билет с ником для чаевых на Stake — по образцу пропуска первого экрана: стекло с голографической плёнкой
   (её ведёт курсор, на телефоне — прокрутка), линия отрыва с настоящими вырезами (маской) перед полосой «Скопировать ник»,
   крупный ник. Цвет — Stake в любой теме (--p-stake): чаевые идут только на Stake */
.tipcard { grid-column: 1 / -1; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 190px;
  border-radius: 10px; --nx: calc(100% - 190px);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015) 38%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.02)), rgba(7, 9, 11, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 26px 50px -26px rgba(0, 0, 0, 0.95);
  -webkit-mask: radial-gradient(circle 10px at var(--nx) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 10px at var(--nx) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 10px at var(--nx) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 10px at var(--nx) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.tc-holo { position: absolute; z-index: -1; left: -25%; top: 0; bottom: 0; width: 65%; opacity: 0.2; pointer-events: none; mix-blend-mode: color-dodge;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
    linear-gradient(105deg, transparent 8%, rgba(255, 110, 220, 0.55) 22%, rgba(120, 255, 234, 0.55) 36%, rgba(255, 245, 150, 0.5) 48%, rgba(120, 180, 255, 0.55) 60%, rgba(210, 140, 255, 0.5) 72%, transparent 88%);
  transform: translate3d(calc(var(--hx, 0) * 1px), 0, 0); transition: transform 0.6s var(--ease-out); }
.tc-main { min-width: 0; padding: 22px 26px 22px; display: grid; justify-items: start; gap: 12px; }
.tc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tc-logo { height: 22px; width: auto; }
.tc-head small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.tc-nick { font-family: var(--f-display); font-size: clamp(34px, 3.4vw, 52px); font-weight: 800; font-stretch: 92%; line-height: 1; letter-spacing: 0.06em;
  color: var(--p-stake); text-shadow: 0 0 24px rgba(var(--p-stake-rgb), 0.45); user-select: all; }
.tc-how { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.tc-how li { display: inline-flex; align-items: center; gap: 9px; }
.tc-how i { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; font-family: var(--f-mono); font-size: 11px; font-style: normal; font-weight: 700;
  color: var(--p-stake); box-shadow: inset 0 0 0 1px rgba(var(--p-stake-rgb), 0.55); }
.tc-open { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-stake); }
.tc-open:hover { text-decoration: underline; text-underline-offset: 4px; }
.tc-open .ico { width: 14px; height: 14px; }
.tc-copy { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 0 14px;
  border: 0; border-left: 2px dashed rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.02); text-align: center;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.tc-copy .ico { width: 24px; height: 24px; color: var(--p-stake); transition: transform 0.35s var(--ease-out); }
.tc-copy:hover { background: rgba(var(--p-stake-rgb), 0.1); border-left-color: rgba(var(--p-stake-rgb), 0.55); }
.tc-copy:hover .ico { transform: translate3d(0, -2px, 0) scale(1.12); }
.tc-copy:focus-visible { outline-offset: -6px; }
.tipcard.copied .tc-copy { color: var(--p-stake); }
.tipcard.copied { animation: pass-pop 0.5s var(--ease-spring); }
@media (max-width: 760px) {
  .tipcard { grid-template-columns: minmax(0, 1fr) 96px; --nx: calc(100% - 96px); }
  .tc-main { padding: 18px 12px 18px 16px; gap: 10px; }
  .tc-nick { font-size: 30px; letter-spacing: 0.04em; }
  .tc-how { flex-direction: column; gap: 6px; font-size: 13px; }
  .tc-copy { padding: 0 8px; font-size: 10px; letter-spacing: 0.1em; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (hover: none) { .tc-holo { animation: holo-scroll linear both; animation-timeline: view(); } }
}
@media (prefers-reduced-motion: reduce) { .tc-holo { transition: none; } .tipcard.copied { animation: none; } }
.qr { display: flex; align-items: center; gap: 24px; padding: 24px; transition: transform 0.25s var(--ease-out), border-color 0.25s; }
.qr:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.45); }
.qr img { flex: 0 0 150px; width: 150px; height: 150px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 6px #0a0c0e, 0 0 0 7px rgba(255, 255, 255, 0.14), 0 0 34px rgba(var(--accent-rgb), 0.22); }
.qr > div { min-width: 0; }
.qr .label { font-size: 10.5px; letter-spacing: 0.2em; color: var(--accent); }
.qr b { display: block; margin-top: 8px; font-family: var(--f-display); font-size: 20px; font-weight: 700; line-height: 1.2; }
.qr span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
#usdt { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.02em; word-spacing: 0.08em; color: var(--ink); }
.qr .btn { margin-top: 12px; min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
.nets { display: inline-flex; gap: 4px; margin-top: 10px; padding: 4px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.07); }
.nets button { min-height: 30px; padding: 5px 14px; border: 0; border-radius: 4px; background: none; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-3); cursor: pointer; }
.nets button:hover { color: var(--ink); }
.nets button.on { background: linear-gradient(180deg, #3b4048, #1d2126); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.nets button.on::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); vertical-align: 1px; }
/* у темы 1WIN — минимум перевода рядом с переключателем сети */
.nets-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.nets-row .nets { margin-top: 0; }
.qr .net-min { display: inline-flex; margin-top: 0; padding: 5px 9px 4px; border-radius: 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.comms-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 18px; align-items: start; }
.comms-row h3.sub { margin-top: 44px; }
#bug, #partner { scroll-margin-top: calc(var(--top-h) + var(--sub-h) + 14px); }
.bugform { margin-top: 14px; max-width: none; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.bugform textarea { min-height: 120px; resize: vertical; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.bugform input[name="name"] { font-size: 15.5px; font-weight: 600; }
.bugwho { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.bugrow { display: flex; flex-wrap: wrap; gap: 10px; }
.bugrow .btn.go { margin-left: auto; min-width: 190px; }
.bugfile { cursor: pointer; color: var(--ink-2); }
.bugfile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.bugfile:focus-within { border-color: var(--accent); }
.bugmsg { padding: 12px 16px; border: 1px solid var(--accent); border-radius: 4px; font-size: 15px; font-weight: 700; color: var(--accent); background: rgba(var(--accent-rgb), 0.06); }
.bugmsg.bad { border-color: var(--bad); color: var(--bad); background: rgba(var(--bad-rgb), 0.06); }
.partner { margin-top: 14px; max-width: none; padding: 22px; display: grid; gap: 12px; }
.pm-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.pmail { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--accent); white-space: nowrap; }
.pmail:hover { text-decoration: underline; text-underline-offset: 4px; }
.pbtns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==================================================================================================
   Банда 1WIN (site.js по docs/v2/БАНДА.md): неделя с отсчётом, Получка и Набор, Турнир братков с сеткой, билеты и Сходка,
   история призов и правила, вербовка в две ступени. Разделы есть только у темы 1WIN: синий неон банды (--accent) и золото
   отделки (--trim, --gold). Материалы — те же, что у остальных разделов: металл, стекло, скобки HUD, светодиодная лента по
   кромке, бирки. Бесконечное движение — только огоньки ближайшего и идущего события, и только пока раздел на экране (.is-on).
   ================================================================================================== */
.g-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.gsec .tag-spray { top: auto; bottom: 40px; }
/* появление карточек при прокрутке (site.js ставит .g-in); без эффектов (.fx) и при «меньше движения» видно сразу */
.fx .g-rv { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.fx .g-rv.g-in { opacity: 1; transform: none; }
/* золотая бирка дня (как бирки привилегий у 1WIN) */
.gw-d, .gd-day { display: inline-flex; align-items: center; padding: 5px 8px 4px; border-radius: 1px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; white-space: nowrap; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 14px -6px rgba(0, 0, 0, 0.8); }
/* светодиодная лента по верхней кромке плит банды и свет от неё на металл */
.gw-board::before, .gd::before, .gt::before, .gs::before { content: ""; position: absolute; left: 34px; right: 34px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 16%, var(--trim) 50%, var(--accent) 84%, transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.7), 0 0 30px rgba(var(--accent-rgb), 0.35); }
.gs::before { background: linear-gradient(90deg, transparent, var(--gold-lo) 16%, var(--gold-hi) 50%, var(--gold-lo) 84%, transparent); box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.6), 0 0 30px rgba(var(--gold-rgb), 0.3); }

/* ---------- неделя: табло ближайшего события — имя, отсчёт и секундомер по центру свободного места справа от отсчёта ---------- */
.gw { margin-top: 46px; }
.gw-board { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; border-radius: 8px;
  background: var(--hudc), radial-gradient(70% 130% at 0% 0%, rgba(var(--accent-rgb), 0.16), transparent 62%), var(--metal);
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
.gw-nt { min-width: 0; display: grid; justify-items: start; align-content: start; gap: 8px; padding: 34px 0 32px 34px; }
/* секундомер отражён и смотрит на отсчёт; его колонка — от отсчёта до правой кромки табло, сам он — по её центру */
.gw-art { position: relative; z-index: 0; justify-self: center; width: clamp(170px, 16vw, 232px); margin: -24px 0 -28px; pointer-events: none; }
.gw-art .live3d { transform: scaleX(-1); }
/* общий пул призов недели на табло (владелец 17.11): золотая плитка у правой кромки, секундомер — между отсчётом и ней */
.gw-board.has-pool { grid-template-columns: auto minmax(0, 1fr) auto; }
.gw-pool { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; margin: 0 34px 0 0; padding: 18px 28px 16px; border-radius: 6px;
  text-align: center; color: inherit; text-decoration: none;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.14), rgba(var(--gold-rgb), 0.03)), rgba(0, 0, 0, 0.38);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55), 0 22px 44px -26px rgba(var(--gold-rgb), 0.55); transition: transform 0.18s, box-shadow 0.18s; }
.gw-pool:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.85), 0 26px 50px -24px rgba(var(--gold-rgb), 0.7); }
.gw-pool small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.gw-pool b { font-family: var(--f-display); font-size: clamp(34px, 3vw, 46px); font-weight: 800; line-height: 1; white-space: nowrap; color: transparent;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; }
.gw-pool span { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); }
@media (max-width: 760px) {
  .gw-board.has-pool { grid-template-columns: minmax(0, 1fr) 100px; }
  .gw-pool { grid-column: 1 / -1; grid-row: 5; grid-auto-flow: column; justify-content: center; align-items: baseline; gap: 12px; margin: 0 14px 18px; padding: 12px 14px; }
  .gw-pool b { font-size: 30px; }
}
.gw-art::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 3%; height: 15%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.32), rgba(var(--accent-rgb), 0.07) 60%, transparent); }
.gw-k { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.gw-k i, .gw-live i, .gt-st i, .gd-live i, .gt-now i { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; color: inherit; box-shadow: 0 0 10px currentColor; }
.is-on .gw-k i::after, .is-on .gw-live i::after, .is-on .gd-live i::after, .is-on .gt-now i::after, .is-on .gt-st.s-recruit i::after, .is-on .gt-st.s-running i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.gw-ev { margin-top: 2px; font-family: var(--f-display); font-size: clamp(30px, 3.3vw, 46px); font-weight: 800; font-stretch: 88%; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.gw-live { margin-top: 8px; display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 7px 14px 7px 11px; border-radius: 3px; color: var(--bad);
  background: rgba(var(--bad-rgb), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.7); font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.gw-live:hover { background: rgba(var(--bad-rgb), 0.24); }
/* отсчёт: цифры — неон в утопленных стеклянных ячейках, двоеточия — гаснущий газ (тот же прибор у турнира, помельче) */
.gcd { margin-top: 14px; display: flex; align-items: flex-start; gap: 8px; }
.gcd-u { display: grid; justify-items: center; gap: 7px; min-width: 88px; padding: 13px 10px 10px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.32));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 24px rgba(var(--accent-rgb), 0.08), 0 14px 28px -16px rgba(0, 0, 0, 0.9); }
.gcd-u b { font-family: var(--f-display); font-size: clamp(38px, 4vw, 58px); font-weight: 800; font-stretch: 86%; line-height: 1; font-variant-numeric: tabular-nums; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.85), 0 0 28px rgba(var(--accent-rgb), 0.45); }
.gcd-u small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.gcd-s { align-self: center; margin-top: -20px; font-style: normal; font-family: var(--f-display); font-size: 30px; font-weight: 700; color: rgba(var(--accent-rgb), 0.55); }
.gcd.sm { margin-top: 4px; gap: 6px; }
.gcd.sm .gcd-u { min-width: 62px; padding: 9px 6px 7px; gap: 5px; }
.gcd.sm .gcd-u b { font-size: clamp(26px, 2.5vw, 36px); }
.gcd.sm .gcd-s { margin-top: -14px; font-size: 22px; }

/* ---------- неделя: лента семи дней с сегодняшнего — у дня с событием плита, пустой день — засечка; в конце — Сходка ---------- */
.wk { position: relative; margin: 18px 0 0; padding: 0; list-style: none; display: flex; gap: 10px; }
.wk > li { position: relative; min-width: 0; padding-top: 34px; }
.wk-d { flex: 0 0 44px; }
.wk-d.has-ev { flex: 1 1 0; }
.wk-d.is-today:not(.has-ev) { flex: 0 0 92px; }
.wk-end { flex: 0.8 1 0; }
.wk-dn { position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); }
.wk-d.is-today .wk-dn { padding: 2px 6px 1px; margin-top: -2px; border-radius: 2px; color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.5); }
.wk-node { position: absolute; z-index: 1; left: 0; top: 18px; width: 12px; height: 12px; border-radius: 50%; color: var(--accent);
  background: radial-gradient(circle at 35% 30%, #e6e9ed, #8d939b 45%, #33373e); box-shadow: 0 0 0 4px rgba(var(--bg-rgb), 0.92), 0 1px 2px rgba(0, 0, 0, 0.85); }
/* отрезок шины — от своей засечки до засечки соседа справа; к Сходке — золотой пунктир (она в конце сезона) */
.wk > li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 23px; width: calc(100% + 10px); height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.9), rgba(var(--accent-rgb), 0.45)); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }
.wk > li:nth-last-child(2)::before { background: repeating-linear-gradient(90deg, rgba(var(--gold-rgb), 0.65) 0 6px, transparent 6px 12px); box-shadow: none; }
.wk-ev { position: relative; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic b" "ic t"; align-items: center; gap: 3px 12px;
  padding: 14px 14px 13px; border-radius: 6px; color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: box-shadow 0.25s, background-color 0.25s; }
a.wk-ev:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
.wk-ic { grid-area: ic; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--accent);
  background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.03) 70%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45); }
.wk-ic .ico { width: 18px; height: 18px; }
.wk-ev b { grid-area: b; align-self: end; font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.12; text-transform: uppercase; }
.wk-t { grid-area: t; align-self: start; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.wk-st { position: absolute; top: 7px; right: 8px; display: inline-flex; align-items: center; font-style: normal; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bad); }
.wk-st .ico { width: 14px; height: 14px; color: var(--ink-3); }
/* ближайшее: засечка горит и пульсирует, плита — в рамке банды */
.wk-d.is-next .wk-node { background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 52%, var(--accent-deep)); box-shadow: 0 0 0 4px rgba(var(--bg-rgb), 0.92), 0 0 14px var(--accent); }
.wk-d.is-next .wk-node::after, .wk-d.is-live .wk-node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.is-on .wk-d.is-next .wk-node::after, .is-on .wk-d.is-live .wk-node::after { animation: ping 1.8s ease-out infinite; }
.wk-d.is-next .wk-ev { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.8), 0 0 34px -12px rgba(var(--accent-rgb), 0.7); }
/* идёт сейчас: красный огонёк эфира */
.wk-d.is-live .wk-node { color: var(--bad); background: radial-gradient(circle at 35% 30%, #fff, var(--bad) 55%); box-shadow: 0 0 0 4px rgba(var(--bg-rgb), 0.92), 0 0 14px var(--bad); }
.wk-d.is-live .wk-ev { box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.7); }
/* прошло — приглушено, с галочкой; письмо от бота — тише остальных */
.wk-d.is-done .wk-ev { opacity: 0.5; }
.wk-d.is-quiet .wk-ev { background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.wk-d.is-quiet .wk-ic { color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); background: none; }
.wk-end .wk-dn { color: rgba(var(--gold-rgb), 0.85); }
.wk-end .wk-node { background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 52%, var(--gold-lo)); box-shadow: 0 0 0 4px rgba(var(--bg-rgb), 0.92), 0 0 12px rgba(var(--gold-rgb), 0.8); }
.wk-end .wk-ev { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.35); }
.wk-end .wk-ev:hover { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.75); }
.wk-end .wk-ic { color: var(--gold); background: radial-gradient(circle at 50% 35%, rgba(var(--gold-rgb), 0.16), rgba(var(--gold-rgb), 0.03) 70%); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.wk-end b { color: var(--gold); }

/* ---------- Получка и Набор: четыре шага значками, призы — ваучерами, победители — бирками ---------- */
.gdraws { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gd { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 30px 30px 28px; border-radius: 8px;
  background: var(--hudc), linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 28%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px), linear-gradient(160deg, var(--m3), var(--m1) 55%, var(--m0));
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 34px 60px -34px rgba(0, 0, 0, 0.95); }
.gd::after { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 0; height: 60%; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgba(var(--accent-rgb), 0.12), transparent 70%); }
/* шапка плиты: название и «сейчас», справа — живой предмет в световом пятне банды */
.gd-head, .gs-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; }
.gd-hl, .gs-hl { min-width: 0; display: grid; justify-items: start; gap: 10px; }
.gd-art, .gs-art { position: relative; z-index: 0; width: 132px; margin: -26px -14px -30px 0; pointer-events: none; }
.gd-art::before, .gs-art::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 4%; height: 16%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.28), rgba(var(--accent-rgb), 0.06) 60%, transparent); }
.gs-art::before { background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.28), rgba(var(--gold-rgb), 0.06) 60%, transparent); }
.gd-t { font-family: var(--f-display); font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; font-stretch: 88%; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.gd-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bad); }
/* как устроено: четыре шага по два, три слова, значок в кольце; кольца загораются по очереди */
.gd-flow { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gd-flow li { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 14px 6px 13px; border-radius: 6px; text-align: center;
  background: rgba(0, 0, 0, 0.34); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.gd-flow li + li::before { content: ""; position: absolute; z-index: 1; left: -8px; top: 36px; width: 8px; height: 2px; background: rgba(var(--accent-rgb), 0.7); box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.6); }
.gd-flow i { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--accent);
  background: radial-gradient(circle, rgba(7, 9, 11, 0.97) 0 58%, transparent 59%), conic-gradient(from 20deg, rgba(var(--accent-rgb), 0.9) 0 22%, rgba(var(--accent-rgb), 0.2) 22% 28%, rgba(var(--accent-rgb), 0.9) 28% 47%, rgba(var(--accent-rgb), 0.2) 47% 53%, rgba(var(--accent-rgb), 0.9) 53% 72%, rgba(var(--accent-rgb), 0.2) 72% 78%, rgba(var(--accent-rgb), 0.9) 78% 97%, rgba(var(--accent-rgb), 0.2) 97%); }
.gd-flow i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; opacity: 0; box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.9), 0 0 20px rgba(var(--accent-rgb), 0.8); }
.is-on .gd-flow i::after { animation: gd-step 5.2s ease-in-out infinite; }
.gd-flow li:nth-child(2) i::after { animation-delay: 0.7s; } .gd-flow li:nth-child(3) i::after { animation-delay: 1.4s; } .gd-flow li:nth-child(4) i::after { animation-delay: 2.1s; }
@keyframes gd-step { 0%, 6% { opacity: 0; } 12% { opacity: 1; } 26%, 100% { opacity: 0; } }
.gd-flow i .ico { width: 20px; height: 20px; }
.gd-flow span { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.35; text-transform: uppercase; color: var(--ink-2); }
/* строки «призы» и «победители»: подпись слева, справа — ваучеры и бирки */
.gd-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 10px 14px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.gd-k { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase; color: var(--ink-3); }
.gd-pz { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* ваучер: пластиковая карта с вырезами по бокам; самый крупный — золото */
.vt { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 16px 7px; border-radius: 4px; color: var(--ink);
  background: linear-gradient(180deg, #2a303a, #151920); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px -10px rgba(0, 0, 0, 0.9);
  -webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 5px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat; }
.vt b { font-family: var(--f-display); font-size: 20px; font-weight: 800; line-height: 1; }
.vt small { font-family: var(--f-mono); font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--ink-2); }
.vt.is-top { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 22px -10px rgba(var(--gold-rgb), 0.7); }
.vt.is-top small { color: rgba(42, 28, 0, 0.75); }
.vt-once { display: inline-flex; padding: 3px 7px 2px; border: 1.5px solid rgba(var(--gold-rgb), 0.8); border-radius: 3px; transform: rotate(-6deg); font-style: normal;
  font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.gd-next { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.gd-next .ico { width: 18px; height: 18px; color: var(--accent); }
.gd-kn { display: block; margin-top: 4px; font-family: var(--f-display); font-size: 20px; font-weight: 800; letter-spacing: 0.02em; line-height: 1; color: var(--ink); }
.gd-kn.is-date { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-2); }
.gd-tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.gd-tags li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 5px; border-radius: 3px; font-family: var(--f-mono); font-size: 12.5px;
  background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.gd-tags .ico { width: 13px; height: 13px; color: var(--gold); }
.gd-tags b { font-weight: 700; color: var(--ink); }
.gd-tags em { font-style: normal; font-weight: 700; color: var(--trim); }
/* места победителей: по одному на ваучер плана недели; место самого крупного ваучера — золотом */
.gd-tags.is-seats { gap: 5px; }
.gd-tags.is-seats li { justify-content: center; width: 40px; height: 30px; padding: 0; background: rgba(0, 0, 0, 0.3); box-shadow: none; border: 1px dashed rgba(255, 255, 255, 0.2); }
.gd-tags.is-seats .ico { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.28); }
.gd-tags.is-seats li.is-top { border: 1px dashed rgba(var(--gold-rgb), 0.75); background: rgba(var(--gold-rgb), 0.08); }
.gd-tags.is-seats li.is-top .ico { color: var(--gold); }
.gd-tags.is-seats li.is-more { width: auto; padding: 0 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--ink-2); border-style: solid; }
.gd-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; }
.gd-go .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.gd-go:hover .ico { transform: translateX(3px); }

/* ---------- Турнир братков: афиша слева, справа — арена с прожекторами и живая сетка, свет бежит по этапам к кубку ---------- */
.gt { position: relative; isolation: isolate; overflow: hidden; margin-top: 46px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border-radius: 8px;
  background: var(--hudc), radial-gradient(80% 120% at 100% 0%, rgba(var(--accent-rgb), 0.14), transparent 62%), var(--metal);
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
/* арена турнира (img/gang-stage.webp, фотореалистичный рендер без людей и надписей): огромный пустой экран в фермах с лампами —
   сетка стоит на нём, будто её показывают на арене; к афише кадр гаснет */
.gt::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0.92;
  background: url(img/gang-stage.webp) 80% 34% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.4) 30%, #000 56%); mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.4) 30%, #000 56%); }
.gt-info { min-width: 0; display: grid; justify-items: start; align-content: start; gap: 12px; padding: 34px 34px 30px; }
.gt-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gt-st { display: inline-flex; align-items: center; gap: 9px; padding: 6px 11px 5px 9px; border-radius: 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
.gt-st.s-recruit, .gt-st.s-running { color: var(--bad); background: rgba(var(--bad-rgb), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.7); }
.gt-fill { padding: 5px 9px 4px; border-radius: 2px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2); background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.gt-fill b { font-family: var(--f-display); font-size: 14px; color: var(--accent); }
.gt-title { margin-top: 2px; font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; font-stretch: 88%; line-height: 1; text-transform: uppercase; }
.gt-when { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
/* запись открыта: кодовое слово неоном и сколько осталось */
.gt-code { display: grid; justify-items: start; gap: 4px; padding: 12px 16px 12px; border-radius: 6px; background: rgba(var(--bad-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.55); }
.gt-code small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.gt-code b { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: 0.08em; line-height: 1; text-transform: uppercase; color: #fff;
  text-shadow: 0 0 2px rgba(var(--bad-rgb), 1), 0 0 14px rgba(var(--bad-rgb), 0.8), 0 0 30px rgba(var(--bad-rgb), 0.4); }
.gt-rt { font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--bad); font-variant-numeric: tabular-nums; }
.gt-now { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bad); }
.gt-soon { display: inline-flex; padding: 5px 9px 4px; border-radius: 1px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
/* приз фишками: целиком активному игроку банды, половина остальным; код — в личку от бота */
.gt-prize { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.tp { display: grid; align-content: center; gap: 4px; min-height: 58px; padding: 9px 14px 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.tp small { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.tp b { font-family: var(--f-display); font-size: 24px; font-weight: 800; line-height: 1; white-space: nowrap; }
.tp.is-gold { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.16), rgba(var(--gold-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }
.tp.is-gold small { color: rgba(var(--gold-rgb), 0.9); }
.tp.is-gold b { color: var(--gold); text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.4); }
.tp.is-tg { grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px; color: var(--tg); box-shadow: inset 0 0 0 1px rgba(42, 171, 238, 0.5); }
.tp.is-tg .ico { width: 20px; height: 20px; }
.tp.is-tg small { color: var(--ink-2); }
/* «Как проходит турнир»: кнопка под призами и окно правил поверх затемнения (каркас окна — .vc, как у сейфа; владелец 17.11) */
.gt-rules { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 6px; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 60%), rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 0 22px -10px rgba(var(--accent-rgb), 0.8); transition: box-shadow 0.18s, transform 0.18s; }
.gt-rules:hover, .gt-rules:focus-visible { outline: none; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.95), 0 0 30px -8px rgba(var(--accent-rgb), 0.9); }
.gt-rules .ico { flex: none; width: 18px; height: 18px; color: var(--accent); }
.gt-rules .ico:last-child { width: 14px; height: 14px; transition: transform 0.18s; }
.gt-rules:hover .ico:last-child { transform: translateX(3px); }
.tr .vc-box { width: min(1120px, 100%); padding: 20px 26px 18px; }
.tr .vc-top { margin-top: 2px; }
.tr-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: 4px; }
.tr .vc-h { margin: 2px 0 0; }
.tr .vc-sub { margin: 14px 0 7px; }
.tr-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); }
.tr-when .ico { width: 18px; height: 18px; color: var(--accent); }
.tr-when span { color: var(--ink-3); }
.tr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.tr-steps { display: grid; gap: 6px; list-style: none; }
.tr-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "ic b" "ic s"; align-items: center; gap: 1px 10px; padding: 9px 12px;
  border-radius: 8px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.tr-ic { grid-area: ic; display: inline-flex; justify-content: center; gap: 3px; color: var(--accent); }
.tr-ic .ico { width: 20px; height: 20px; }
.tr-steps b { grid-area: b; font-family: var(--f-display); font-size: 14px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.tr-steps span { grid-area: s; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.tr-grid { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 6px; }
.tr-cell { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 8px; font-size: 12.5px; line-height: 1.3; color: var(--ink-2);
  background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.tr-cell b { font-family: var(--f-display); font-size: 24px; font-weight: 800; line-height: 1; color: var(--accent); text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.5); }
.tr-cell .ico { flex: none; width: 20px; height: 20px; color: var(--accent); }
.tr-stages { margin-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; list-style: none; }      /* этапы ровной сеткой два на два */
.tr-stages li { display: flex; min-width: 0; align-items: baseline; gap: 7px; padding: 5px 10px; border-radius: 4px; background: rgba(var(--accent-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35); }
.tr-stages b { font-family: var(--f-display); font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--accent); }
.tr-stages span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); }
.tr-prov { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.tr-prov .ico { flex: none; width: 16px; height: 16px; color: var(--gold); }
.tr-final { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 9px 12px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.14), rgba(var(--gold-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); }
.tr-final .ico { flex: none; width: 22px; height: 22px; color: var(--gold); }
.tr-final b { font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.tr-final span { font-size: 12.5px; color: var(--ink-2); }
.tr-prize { margin-top: 0; }
.tr-prize .tp { min-height: 50px; padding: 7px 12px 6px; }
.tr-bottom { margin-top: 14px; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.tr-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.tr-foot li { display: inline-flex; align-items: center; gap: 7px; }
.tr-foot .ico { width: 15px; height: 15px; color: var(--accent); }
.tr-foot b { padding: 2px 6px; border-radius: 3px; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(var(--bad-rgb), 0.85); }
.tr-go { display: inline-flex; align-items: center; gap: 10px; }
.tr-go .ico { width: 18px; height: 18px; }
@media (max-width: 900px) { .tr-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .gt-rules { width: 100%; justify-content: center; }
  .tr .vc-box { padding: 18px 16px 18px; }
  .tr-grid { grid-template-columns: minmax(0, 1fr); }
  .tr-go { width: 100%; justify-content: center; }
}
.gt-net { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 30px 26px 26px; border-left: 2px dashed rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.35), rgba(var(--bg-rgb), 0.12)); }
/* прожекторы арены: два луча медленно качаются над сеткой */
.gt-beam { position: absolute; z-index: 0; top: -8%; width: 30%; height: 116%; opacity: 0.5; pointer-events: none; transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.08) 55%, transparent 80%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); }
.gt-beam.b1 { left: 12%; transform: rotate(16deg); }
.gt-beam.b2 { right: 6%; transform: rotate(-14deg); background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.22), rgba(var(--gold-rgb), 0.05) 55%, transparent 80%); }
.is-on .gt-beam.b1 { animation: gt-beam1 9s ease-in-out infinite alternate; }
.is-on .gt-beam.b2 { animation: gt-beam2 11s ease-in-out infinite alternate; }
@keyframes gt-beam1 { from { transform: rotate(16deg); } to { transform: rotate(-8deg); } }
@keyframes gt-beam2 { from { transform: rotate(-14deg); } to { transform: rotate(9deg); } }
/* сетка: столбец на раунд; пара — равная доля высоты, места — на её четвертях, поэтому скобка пары приходит ровно в середину
   места следующего раунда; последний столбец — кубок */
.gb { position: relative; z-index: 1; --gb-n: 4; --gb-h: 300px; --gb-gap: 18px; --gb-w: 112px; }
.gb[data-r="1"] { --gb-n: 1; } .gb[data-r="2"] { --gb-n: 2; } .gb[data-r="3"] { --gb-n: 3; } .gb[data-r="5"] { --gb-n: 5; }
.gb-hd, .gb-bd { display: grid; grid-template-columns: repeat(var(--gb-n), minmax(0, 1fr)) var(--gb-w); column-gap: var(--gb-gap); }
.gb-hd { margin: 0 0 14px; padding: 0; list-style: none; align-items: start; }
.gb-hd li { display: grid; gap: 3px; min-width: 0; }
.gb-hd b { font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent); }
.gb-hd small { font-family: var(--f-mono); font-size: 10.5px; line-height: 1.3; letter-spacing: 0.02em; color: var(--ink-2); }
.gb-hd .gb-wh { justify-items: center; }
.gb-hd .gb-wh b { color: var(--gold); }
/* провайдеры этапов списком под сеткой: на узком экране столбцы сетки уже названий провайдеров */
.gt-prov { position: relative; z-index: 1; display: none; margin: 16px 0 0; padding: 0; list-style: none; gap: 6px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gt-prov li { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--ink-2); }
.gt-prov b { flex: none; font-family: var(--f-display); font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--accent); }
.gb-bd { height: var(--gb-h); }
.gb-c { display: flex; flex-direction: column; min-width: 0; }
.gb-c:nth-child(2) { --r: 1; } .gb-c:nth-child(3) { --r: 2; } .gb-c:nth-child(4) { --r: 3; } .gb-c:nth-child(5) { --r: 4; }
.gb-p { position: relative; flex: 1 1 0; display: grid; grid-template-rows: 1fr 1fr; align-items: center; }
.gb-p:nth-child(2) { --k: 1; } .gb-p:nth-child(3) { --k: 2; } .gb-p:nth-child(4) { --k: 3; } .gb-p:nth-child(5) { --k: 4; } .gb-p:nth-child(6) { --k: 5; } .gb-p:nth-child(7) { --k: 6; } .gb-p:nth-child(8) { --k: 7; }
.gb-p:nth-child(9) { --k: 8; } .gb-p:nth-child(10) { --k: 9; } .gb-p:nth-child(11) { --k: 10; } .gb-p:nth-child(12) { --k: 11; } .gb-p:nth-child(13) { --k: 12; } .gb-p:nth-child(14) { --k: 13; } .gb-p:nth-child(15) { --k: 14; } .gb-p:nth-child(16) { --k: 15; }
/* скобка пары и выход к следующему раунду */
.gb-p::after, .gb-l { content: ""; position: absolute; top: 25%; bottom: 25%; right: calc(var(--gb-gap) / -2); width: calc(var(--gb-gap) / 2); border: 1px solid rgba(var(--accent-rgb), 0.45); border-left: 0; border-radius: 0 2px 2px 0; }
.gb-p::before { content: ""; position: absolute; top: 50%; right: calc(var(--gb-gap) * -1); width: calc(var(--gb-gap) / 2); height: 1px; background: rgba(var(--accent-rgb), 0.45); }
/* свет по скобке: копия скобки неоном (гаснет и загорается вместе с волной) */
.gb-l { display: block; opacity: 0; border-color: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8), inset 0 0 4px rgba(var(--accent-rgb), 0.5); }
.gb-l::after { content: ""; position: absolute; top: 50%; right: calc(var(--gb-gap) / -2 - 1px); width: calc(var(--gb-gap) / 2); height: 1px; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.gb-s { position: relative; display: block; height: 14px; border-radius: 2px; background: rgba(var(--bg-rgb), 0.82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.17), 0 2px 6px rgba(0, 0, 0, 0.5); }
.gb-s::after { content: ""; position: absolute; inset: -1px; border-radius: 2px; opacity: 0; background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.4)); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7); }
.gb-s.on { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.85), rgba(var(--accent-rgb), 0.38)); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5); }
.gb-s em { position: absolute; z-index: 1; left: 6px; right: 4px; top: 50%; transform: translate3d(0, -50%, 0); font-style: normal; font-family: var(--f-mono); font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; color: #fff; }
.gb-s.is-win { background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.9), rgba(var(--gold-rgb), 0.4)); box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.55); }
.gb-s.is-win em { color: var(--gold-ink); }
.gb-s.is-out { opacity: 0.38; }
/* открытый этап (выбор этапом, 21.11.2026): выбрал — зелёная метка справа, ещё выбирает — мигает; сам выбор тайный */
.gb-s.is-ready::before, .gb-s.is-pick::before { content: ""; position: absolute; z-index: 2; right: 3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; }
.gb-s.is-ready::before { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.gb-s.is-pick::before { background: rgba(255, 255, 255, 0.55); animation: gb-pick 1.2s steps(2, start) infinite; }
@keyframes gb-pick { to { opacity: 0.15; } }
.gb-s.fly em { animation: gb-fly 0.7s var(--ease-out) both; }
.gb-c:nth-child(1) .gb-p:nth-child(even) .gb-s.fly em { animation-delay: 0.08s; }
@keyframes gb-fly { from { opacity: 0; transform: translate3d(-24px, -50%, 0); } to { opacity: 1; transform: translate3d(0, -50%, 0); } }
/* текущая дуэль: рамка пульсирует */
.gb-p.is-cur .gb-s { box-shadow: 0 0 0 1px var(--bad), 0 0 14px rgba(var(--bad-rgb), 0.7); }
/* пустая сетка живёт: места загораются по этапам, свет по скобкам уходит к кубку */
.is-on .gb.is-idle .gb-s::after { animation: gb-wave 6.4s linear infinite; animation-delay: calc(var(--r, 0) * 1.05s + var(--k, 0) * 0.07s); }
.is-on .gb.is-idle .gb-l { animation: gb-wave 6.4s linear infinite; animation-delay: calc(var(--r, 0) * 1.05s + var(--k, 0) * 0.07s + 0.45s); }
@keyframes gb-wave { 0% { opacity: 0; } 3% { opacity: 1; } 14% { opacity: 0.35; } 26%, 100% { opacity: 0; } }
.gb-w { justify-content: center; align-items: center; }
/* кубок — живой предмет в золотом ореоле, ореол дышит; под кубком — победитель, когда он есть */
.gb-cup { position: relative; display: grid; justify-items: center; width: 100%; }
.gb-halo { position: absolute; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; margin: -65% 0 0 -65%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.36), rgba(var(--gold-rgb), 0.08) 60%, transparent); }
.is-on .gb-halo { animation: gb-halo 2.8s ease-in-out infinite; }
@keyframes gb-halo { 0%, 100% { transform: scale(0.86); opacity: 0.6; } 50% { transform: scale(1.08); opacity: 1; } }
.gb-obj { position: relative; z-index: 1; display: block; width: 100%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.85)); }
.gb-champ { position: relative; z-index: 1; margin-top: 4px; padding: 3px 7px 2px; border-radius: 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.gb-ghost .gb-s { opacity: 0.6; }
/* как попасть: три шага — значок и три слова */
.gt-how { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: gth; }
.gt-how li { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.gt-how li::before { counter-increment: gth; content: counter(gth, decimal-leading-zero); position: absolute; top: 8px; right: 12px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; color: rgba(var(--accent-rgb), 0.8); }
.gt-how a { display: flex; align-items: center; gap: 14px; color: inherit; }
.gt-how a:hover b { color: var(--accent); }
.gt-how i { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 48px; height: 48px; padding: 0 10px; border-radius: 24px; color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 0 18px -6px rgba(var(--accent-rgb), 0.6); }
.gt-how i .ico { width: 20px; height: 20px; }
.gt-how b { font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.2; text-transform: uppercase; transition: color 0.2s; }
.gt-last { position: relative; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 54px; padding: 10px 18px 10px 12px; border-radius: 6px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-2);
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.12), rgba(var(--gold-rgb), 0.02) 55%, transparent); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.3); }
.gt-lc { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--gold-ink);
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 18px rgba(var(--gold-rgb), 0.4); }
.gt-lc .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.gt-lk { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.9); }
.gt-last b { color: var(--ink); }
.gt-ls { color: var(--ink-3); }
.gt-last em { margin-left: auto; font-style: normal; font-family: var(--f-display); font-size: 20px; font-weight: 800; color: var(--gold); text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.35); }

/* ---------- Сходка и билеты (site.js): зал Сходки — банк золотом и слиток (старт сезона и что добавила банда), отсчёт до финала,
   барабан сотни с долями шансов и строка значков «100 лучших → в барабане · больше билетов, больше шансов · победителей выбирает
   случай»; ниже — билеты плитками и первая сотня рассадкой зала.
   Золото — Сходка, синий неон банды — билеты. Скрытые состояния появления — только при .fx и пока блок не загорелся (.is-lit ставит
   site.js, один раз); бесконечное движение — только у раздела на экране (.is-on). Надписи Tektur с буквами — заглавными ---------- */
#gtickets .sec-head h2 em { color: var(--gold); text-shadow: 0 0 30px rgba(var(--gold-rgb), 0.45); }
#gskhodka { scroll-margin-top: calc(var(--top-h) + var(--sub-h) + 14px); }
.gtk { margin-top: 46px; display: grid; gap: 28px; }
.gs-k { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.92); }
.gk-tx { flex: none; width: 20px; height: 20px; color: var(--gold); filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), 0.5)); }

/* зал: фотореалистичный рендер (img/skhodka-hall*.webp, без людей и надписей) — свет люстр и луч на кресле во главе стола; края темнее,
   там банк и отсчёт; вниз зал уходит в чёрный металл пола, на нём барабан */
.gs { position: relative; isolation: isolate; overflow: hidden; display: grid; padding: 44px 44px 34px; border-radius: 10px;
  background: radial-gradient(70% 50% at 50% 0%, rgba(var(--gold-rgb), 0.1), transparent 70%), linear-gradient(180deg, var(--m1), var(--m0) 62%);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 90px -34px rgba(var(--gold-rgb), 0.5), 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
.gs-bg { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 640px; pointer-events: none; transform-origin: 50% 32%;
  background: url(img/skhodka-hall.webp) 50% 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent); mask-image: linear-gradient(180deg, #000 52%, transparent);
  transition: transform 2.8s var(--ease-out), opacity 1.6s ease; }
.gs-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0.55) 22%, rgba(var(--bg-rgb), 0.08) 40%, rgba(var(--bg-rgb), 0.08) 60%, rgba(var(--bg-rgb), 0.55) 78%, rgba(var(--bg-rgb), 0.92) 100%),
    linear-gradient(180deg, rgba(var(--bg-rgb), 0.45), transparent 24%); }
.fx .gs:not(.is-lit) .gs-bg { transform: scale(1.08); opacity: 0.3; }

/* верх зала: банк слева, перстень в луче над креслом, отсчёт справа */
.gs-top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(210px, 23vw, 310px) minmax(0, 1fr); align-items: center; gap: 0 16px; min-height: 290px; }
.gs-bank { min-width: 0; display: grid; justify-items: start; align-content: center; gap: 10px; }
/* сумма — литое золото; отблеск — копия суммы светлее, видна в узкой косой полосе, которая проходит слева направо */
.gs-sum { position: relative; display: block; max-width: 100%; font-family: var(--f-display); font-size: clamp(54px, 6.6vw, 98px); font-weight: 800; font-stretch: 84%;
  line-height: 0.92; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gs-v { display: block; color: transparent; background: linear-gradient(180deg, #fff 0%, var(--gold-hi) 24%, var(--gold) 56%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 22px rgba(var(--gold-rgb), 0.4)) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.65)); }
.gs-gl { position: absolute; inset: 0; overflow: hidden; pointer-events: none; transform: translateX(-101%);
  -webkit-mask-image: linear-gradient(105deg, transparent 36%, #000 50%, transparent 64%); mask-image: linear-gradient(105deg, transparent 36%, #000 50%, transparent 64%); }
.gs-gl > span { display: block; color: #fff; text-shadow: 0 0 18px rgba(var(--gold-rgb), 0.95); transform: translateX(101%); }
.is-on .gs.is-lit .gs-gl { animation: gs-glint 7s cubic-bezier(0.45, 0.05, 0.35, 1) 2s infinite; }
.is-on .gs.is-lit .gs-gl > span { animation: gs-glint-in 7s cubic-bezier(0.45, 0.05, 0.35, 1) 2s infinite; }
@keyframes gs-glint { 0% { transform: translateX(-101%); } 32%, 100% { transform: translateX(101%); } }
@keyframes gs-glint-in { 0% { transform: translateX(101%); } 32%, 100% { transform: translateX(-101%); } }
/* слиток: старт сезона — литое золото, прирост от банды — светлее и светится; прирост «наливается» при появлении зала */
.gs-ingot { position: relative; display: flex; width: min(360px, 100%); height: 20px; margin-top: 4px; border-radius: 3px; background: rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.3), 0 10px 20px -10px rgba(0, 0, 0, 0.9); }
.gs-ingot i { display: block; height: 100%; }
.gs-in-s { flex: 0 0 calc(var(--w, 1) * 100%); border-radius: 3px 0 0 3px;
  background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(74, 48, 4, 0.7) 38px 39px, rgba(255, 240, 190, 0.45) 39px 40px),
    linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 36%, var(--gold-lo) 68%, rgba(var(--gold-rgb), 0.5) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.gs-in-g { flex: 1 1 auto; border-radius: 0 3px 3px 0; transform-origin: 0 50%; transition: transform 1.4s var(--ease-out) 1.1s;
  background: linear-gradient(180deg, #fff 0%, var(--gold-hi) 42%, var(--gold) 100%); box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.9), 0 0 18px rgba(var(--gold-rgb), 0.95); }
.fx .gs:not(.is-lit) .gs-in-g { transform: scaleX(0); }
.gs-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; width: min(360px, 100%);
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.gs-split small { margin-right: 7px; font-size: 10px; letter-spacing: 0.2em; color: var(--ink-3); }
.gs-gr { display: inline-flex; align-items: center; gap: 6px; }
.gs-gr small { margin: 0; }
.gs-gr .ico { flex: none; width: 17px; height: 17px; color: var(--accent); filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), 0.7)); }
.gs-gr .ico:last-child { color: var(--gold-hi); filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), 0.8)); }
.gs-to { flex: none; display: inline-grid; color: var(--gold); }
.gs-split .gs-to .ico { width: 14px; height: 14px; color: inherit; filter: none; }
.gs-gr em { font-style: normal; font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; color: var(--gold-hi);
  text-shadow: 0 0 12px rgba(var(--gold-rgb), 0.6); }
/* перстень Сходки — живой предмет в луче над креслом; под ним золотое пятно на столе */
.gs-ring { position: relative; z-index: 0; justify-self: center; width: 100%; margin: -40px 0 -56px; pointer-events: none;
  transition: opacity 1.1s ease 0.25s, transform 1.6s var(--ease-out) 0.25s; }
.gs-ring::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 7%; height: 15%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.4), rgba(var(--gold-rgb), 0.08) 60%, transparent); }
.fx .gs:not(.is-lit) .gs-ring { opacity: 0; transform: translateY(30px) scale(0.9); }
/* отсчёт до финала: цифры дней — барабаны в стеклянных окошках, при появлении зала прокручиваются до своего числа */
.gs-cd { min-width: 0; justify-self: end; display: grid; justify-items: end; align-content: center; gap: 10px; text-align: right; }
.gs-odo { display: inline-flex; align-items: flex-end; gap: 6px; }
.gs-od { position: relative; display: block; overflow: hidden; width: 0.74em; height: 1.1em; border-radius: 6px; font-style: normal; font-family: var(--f-display);
  font-size: clamp(44px, 4.6vw, 66px); font-weight: 800; font-stretch: 86%; line-height: 1.1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(var(--bg-rgb), 0.6) 50%, rgba(0, 0, 0, 0.8));
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 26px -14px rgba(0, 0, 0, 0.9); }
.gs-od::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.7); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); }
.gs-od span { display: block; transform: translateY(calc(var(--v, 0) * -10%)); transition: transform 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s; }
.gs-od:nth-child(2) span { transition-delay: 0.5s; }
.gs-od:nth-child(3) span { transition-delay: 0.65s; }
.gs-od:nth-child(4) span { transition-delay: 0.8s; }
.gs-od b { display: block; height: 1.1em; text-align: center; color: var(--gold-hi); text-shadow: 0 0 2px rgba(var(--gold-rgb), 1), 0 0 16px rgba(var(--gold-rgb), 0.6); }
.fx .gs:not(.is-lit) .gs-od span { transform: none; }
.gs-odo small { margin: 0 0 7px 4px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.gs-today { font-family: var(--f-display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; line-height: 1; text-transform: uppercase; color: var(--gold-hi);
  text-shadow: 0 0 18px rgba(var(--gold-rgb), 0.55); }
.gs-fin { font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-2); }

/* барабан сотни (правка владельца 17.11.2026: «билеты — шансы, а не гарантия»): у каждого сектор по билетам, пьедестала и мест нет.
   На компьютере — лидеры по пять слева и справа от барабана (строки зеркально, цвет — у барабана), под ним «ещё N» и «ты» */
.dr { position: relative; margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) clamp(270px, 27vw, 340px) minmax(0, 1fr);
  grid-template-areas: "l wheel r" "foot foot foot"; align-items: center; gap: 18px 30px; }
.dr-wheel { grid-area: wheel; position: relative; width: 100%; aspect-ratio: 1; transition: opacity 0.9s ease 0.15s, transform 1.4s var(--ease-out) 0.15s; }
.dr-wheel::before { content: ""; position: absolute; inset: -8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.22), rgba(var(--gold-rgb), 0.06) 62%, transparent); }
.dr-spin, .dr-rot { position: absolute; inset: 0; }
.dr-spin { transition: transform 2.9s cubic-bezier(0.14, 0.74, 0.16, 1) 0.3s; }
.fx .gs:not(.is-lit) .dr-wheel { opacity: 0; transform: scale(0.86); }
.fx .gs:not(.is-lit) .dr-spin { transform: rotate(-420deg); }
.is-on .gs.is-lit .dr-rot { animation: dr-idle 140s linear 3.4s infinite; }
.dr:hover .dr-rot, .dr-wheel.has-hl .dr-rot { animation-play-state: paused; }
@keyframes dr-idle { to { transform: rotate(360deg); } }
.dr-wheel svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dr-base { fill: var(--m0); }
.dr-segs path { fill: var(--dc, rgba(255, 255, 255, 0.06)); stroke: rgba(var(--gold-rgb), 0.85); stroke-width: 0.8; stroke-linejoin: round; transition: opacity 0.25s ease; }
.dr-wheel.has-hl .dr-segs path:not(.is-hl) { opacity: 0.25; }
.dr-segs path.is-me { stroke: #fff; stroke-width: 1.6; filter: drop-shadow(0 0 5px var(--accent)); }
.dr-rim { fill: none; stroke: #c9d0dc; stroke-width: 5; }
.dr-led circle { fill: var(--accent); }
.dr-led { filter: drop-shadow(0 0 2px var(--accent)); }
.dr-ghost { stroke-dasharray: 2 3; }
/* цвета секторов: золото и синий банды по очереди, дальше — те же тона прозрачнее; --dk — буква на кружке строки */
.dr-c0 { --dc: var(--gold-hi); --dk: var(--gold-ink); }
.dr-c1 { --dc: var(--accent); --dk: #fff; }
.dr-c2 { --dc: var(--gold); --dk: var(--gold-ink); }
.dr-c3 { --dc: var(--accent-soft); --dk: var(--gold-ink); }
.dr-c4 { --dc: var(--gold-lo); --dk: var(--gold-ink); }
.dr-c5 { --dc: var(--accent-deep); --dk: #fff; }
.dr-c6 { --dc: rgba(var(--gold-rgb), 0.62); --dk: var(--gold-ink); }
.dr-c7 { --dc: rgba(var(--accent-rgb), 0.62); --dk: #fff; }
.dr-c8 { --dc: rgba(var(--gold-rgb), 0.36); --dk: #fff; }
.dr-c9 { --dc: rgba(var(--accent-rgb), 0.36); --dk: #fff; }
.dr-me { --dc: var(--neon-core); --dk: var(--accent-deep); }
.dr-segs .dr-rest { fill: url(#skHatch); }
/* ступица — полированный металл с короной; язычок — золотой, сверху, не крутится */
.dr-hub { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 26%; height: 26%; border-radius: 50%; transform: translate(-50%, -50%);
  color: var(--gold-hi); background: radial-gradient(circle at 38% 30%, var(--m3), var(--m0) 70%);
  box-shadow: inset 0 0 0 2px rgba(var(--gold-rgb), 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 6px 16px rgba(0, 0, 0, 0.75), 0 0 22px -4px rgba(var(--gold-rgb), 0.6); }
.dr-hub .ico { position: absolute; left: 28%; top: 26%; width: 44%; height: 44%; stroke-width: 1.8; filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), 0.8)); }
.dr-pin { position: absolute; left: 50%; top: -2%; width: 9%; aspect-ratio: 0.8; transform: translateX(-50%); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.6)); }
.dr-pin::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); }
/* лидеры: кружок цвета сектора с буквой ника, ник маской, билеты, доля; левая колонка — зеркально (цвет у барабана) */
.dr-list { min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.dr-l { grid-area: l; }
.dr-r { grid-area: r; }
.dr-row, .dr-more { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; padding: 6px 14px 6px 6px; border-radius: 24px;
  background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.88), rgba(var(--bg-rgb), 0.66)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: box-shadow 0.25s ease; }
.dr-l .dr-row { flex-direction: row-reverse; padding: 6px 6px 6px 14px; background: linear-gradient(270deg, rgba(var(--bg-rgb), 0.88), rgba(var(--bg-rgb), 0.66)); }
.dr-row:hover, .dr-more:hover { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }
.dr-row.is-me { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.85), 0 0 24px -8px rgba(var(--accent-rgb), 0.9); }
.dr-sw { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-style: normal; background: var(--dc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 0 14px -4px var(--dc); }
.dr-sw b { font-family: var(--f-display); font-size: 15px; font-weight: 800; line-height: 1; text-transform: uppercase; color: var(--dk, #fff); }
.dr-sw.dr-rest { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 6px), var(--m3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.dr-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; color: var(--ink); }
.dr-l .dr-n { text-align: right; }
.dr-you { flex: none; padding: 3px 6px 2px; border-radius: 3px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.8); }
.dr-t { flex: none; display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-display); font-size: 15px; font-weight: 800; line-height: 1; color: var(--accent); }
.dr-t .gk-tx { width: 14px; height: 14px; }
.dr-p { flex: none; min-width: 58px; font-style: normal; font-family: var(--f-display); font-size: 15px; font-weight: 800; line-height: 1; text-align: right; white-space: nowrap;
  color: var(--gold-hi); text-shadow: 0 0 10px rgba(var(--gold-rgb), 0.55); }
.dr-l .dr-p { text-align: left; }
.dr-row { transition: opacity 0.5s ease, transform 0.6s var(--ease-out), box-shadow 0.25s ease; transition-delay: calc(1s + var(--ri, 0) * 70ms), calc(1s + var(--ri, 0) * 70ms), 0s; }
.dr-row:nth-child(2) { --ri: 1; } .dr-row:nth-child(3) { --ri: 2; } .dr-row:nth-child(4) { --ri: 3; } .dr-row:nth-child(5) { --ri: 4; }
.fx .gs:not(.is-lit) .dr-row { opacity: 0; transform: translateY(10px); }
.dr-foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; }
.dr-more { padding-right: 18px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.dr-more b { font-weight: 800; color: var(--ink); }
/* смысл финала одной строкой значков */
/* под барабаном две линии (владелец 17.11): сверху строка финала, под ней тонкая линия «больше банда, больше банк» */
.gs-strip { margin: 24px 0 0; display: grid; gap: 6px; }
.gs-how { flex: 1 1 auto; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; min-height: 38px; padding: 5px 14px; border-radius: 6px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.04), rgba(var(--gold-rgb), 0.1), rgba(var(--gold-rgb), 0.04)), rgba(var(--bg-rgb), 0.7);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.32); }
.gs-how > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.gs-grow { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 6px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); text-decoration: none;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.14), rgba(var(--gold-rgb), 0.08)), rgba(var(--bg-rgb), 0.7);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); transition: box-shadow 0.18s; }
.gs-grow:hover, .gs-grow:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.85), 0 0 24px -8px rgba(var(--gold-rgb), 0.7); }
.gs-grow b { font-weight: 800; color: var(--ink); }
.gs-grow .ico { flex: none; width: 16px; height: 16px; color: var(--gold); }
.gs-grow > .ico:first-child { color: var(--accent); }
.gs-grow > .ico:nth-of-type(2) { margin-left: 4px; }
.gs-garr { display: inline-grid; margin-left: 4px; }
.gs-garr .ico { transition: transform 0.18s; }
.gs-grow:hover .gs-garr .ico { transform: translateX(3px); }
@media (max-width: 760px) { .gs-strip { margin: 16px 0 0; } .gs-grow { flex-wrap: wrap; white-space: normal; padding: 8px 12px; } }
.gs-how .ico { flex: none; width: 16px; height: 16px; color: var(--gold); }
.gs-how .gk-tx { filter: none; }
.gs-h100 { padding: 3px 7px 2px; border-radius: 3px; font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0; color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.gs-harr { display: inline-grid; }
.gs-how .gs-harr .ico { width: 14px; height: 14px; color: var(--ink-3); }
.gs-hdot { font-style: normal; color: rgba(var(--gold-rgb), 0.7); }
/* «ты»: гостю — ячейка «?» и вход; вошедшему — свои билеты и доля барабана (в сотне) или сколько не хватает до сотни */
.gs-mi { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 54px; padding: 7px 18px 7px 7px; border-radius: 28px; color: var(--ink);
  transition: box-shadow 0.25s, background-color 0.25s; }
.gs-mi.is-ghost { font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  background-color: rgba(var(--accent-rgb), 0.06); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.gs-mi.is-ghost:hover { background-color: rgba(var(--accent-rgb), 0.15); }
.gs-mq { order: -1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed rgba(var(--accent-rgb), 0.8);
  font-style: normal; font-family: var(--f-display); font-size: 20px; font-weight: 800; }
.gs-mi.is-in, .gs-mi.is-out { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75), 0 0 26px -8px rgba(var(--accent-rgb), 0.9); }
.gs-mk { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--f-mono); font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: radial-gradient(circle at 35% 30%, var(--accent-soft), var(--accent) 55%, var(--accent-deep));
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.8); }
.gs-mt { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-display); font-size: 18px; font-weight: 800; color: var(--neon-core); }
.gs-mt .gk-tx { width: 15px; height: 15px; }
.gs-ms { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 4px; border-radius: 3px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.gs-ms .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.gs-ms .gk-tx { width: 14px; height: 14px; }
.is-in .gs-ms { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.is-out .gs-ms { color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }

/* билеты: шапка — заголовок, куда идут билеты (неделя → Получка, сезон → Сходка) и живой билет со штампом «не продаются» */
.gk-part { display: grid; gap: 14px; margin-top: 14px; }
.gk-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h art" "flow art"; align-items: center; gap: 14px 24px; }
.gk-h { grid-area: h; align-self: end; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; font-stretch: 88%; line-height: 1; text-transform: uppercase; }
.gk-flow { grid-area: flow; align-self: start; display: flex; flex-wrap: wrap; gap: 10px; }
.gk-fl { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 7px 14px 7px 10px; border-radius: 4px; color: var(--ink);
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45); transition: background-color 0.25s; }
.gk-fl .ico { flex: none; width: 18px; height: 18px; color: var(--accent); }
.gk-fl b { font-weight: 800; color: var(--accent); }
.gk-fl span { color: var(--ink-2); }
.gk-fl:hover { background-color: rgba(var(--accent-rgb), 0.12); }
.gk-fl.k-s { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.gk-fl.k-s .ico, .gk-fl.k-s b { color: var(--gold); }
.gk-fl.k-s:hover { background-color: rgba(var(--gold-rgb), 0.12); }
.gk-art { grid-area: art; position: relative; width: clamp(170px, 17vw, 236px); margin: -40px 0 -46px; pointer-events: none; }
.gk-art::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 6%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.32), rgba(var(--accent-rgb), 0.07) 60%, transparent); }
/* штамп — резиновая печать поперёк билета */
.gk-stamp { position: absolute; left: 50%; top: 52%; padding: 5px 9px 4px; border: 2px solid rgba(var(--bad-rgb), 0.95); border-radius: 3px; white-space: nowrap;
  font-family: var(--f-display); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bad);
  background: rgba(var(--bg-rgb), 0.72); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.35), 0 0 18px -4px rgba(var(--bad-rgb), 0.6);
  transform: translate(-50%, -50%) rotate(-11deg); transition: opacity 0.4s ease 0.6s, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.6s; }
.fx .gk-head.g-rv:not(.g-in) .gk-stamp { opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(1.6); }

/* плитки заданий: значок, имя, «+N» неоном и билет; лимит — числом и точками; подсказка — по наведению или фокусу (в углу «i») */
.gk-tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 12px; }
/* «Билеты» картой ставок (18.11, владелец: «продумай иначе»): две колонки «На эфире» и «Игра и банда», строки «что сделать · условие ·
   сколько»; строки делят высоту колонки поровну, у короткой колонки пустоты внизу нет */
.gk-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.gkr { display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 18px 18px 16px; border-radius: 10px;
  background: var(--hudc), radial-gradient(110% 80% at 0% 0%, rgba(var(--accent-rgb), 0.12), transparent 60%), var(--metal);
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 30px 50px -34px rgba(0, 0, 0, 0.95); }
.gkr-h { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.gkr-h .ico { width: 18px; height: 18px; }
.gkr ul { margin: 0; padding: 0; list-style: none; display: grid; grid-auto-rows: 1fr; gap: 8px; }
.gkr-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.gkr-r .gk-ic { grid-area: auto; width: 42px; height: 42px; border-radius: 11px; }
.gkr-r .gk-ic .ico { width: 20px; height: 20px; }
.gkr-t { display: grid; gap: 4px; min-width: 0; }
.gkr-t b { font-family: var(--f-display); font-size: 17px; font-weight: 800; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.gkr-t small { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.gkr-g { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.gkr-g b { font-family: var(--f-display); font-size: 28px; font-weight: 800; font-stretch: 86%; line-height: 1; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.8); }
.gkr-g b:not(:only-of-type):last-of-type { color: var(--gold-hi); text-shadow: 0 0 12px rgba(var(--gold-rgb), 0.8); }      /* у ступеней самая крупная — золотом */
.gkr-g .ico { width: 22px; height: 22px; }
.gk-mine { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 44px; border-radius: 6px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); background: rgba(var(--gold-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.gk-mine b { font-family: var(--f-display); font-size: 16px; color: var(--gold-hi); }
.gk-mine .ico { width: 16px; height: 16px; color: var(--gold-hi); }
@media (max-width: 900px) { .gk-rates { grid-template-columns: minmax(0, 1fr); } .gkr ul { grid-auto-rows: auto; } }
@media (max-width: 420px) { .gkr { padding: 14px 12px 12px; } .gkr-r { gap: 10px; padding: 9px 10px; } .gkr-t b { font-size: 15px; } .gkr-g b { font-size: 22px; } .gkr-g { gap: 6px; } }
.tkt { position: relative; isolation: isolate; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic n r" "lim lim lim";
  align-items: center; gap: 16px 14px; padding: 20px 20px 18px; border-radius: 8px;
  background: var(--hudc), radial-gradient(110% 90% at 0% 0%, rgba(var(--accent-rgb), 0.13), transparent 62%), var(--metal);
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 30px 50px -34px rgba(0, 0, 0, 0.95); transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.tkt:hover, .tkt:focus-visible { transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6), inset 0 1px 0 var(--hl), 0 0 44px -16px rgba(var(--accent-rgb), 0.75), 0 30px 50px -34px rgba(0, 0, 0, 0.95); }
.gk-ic { grid-area: ic; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--accent);
  background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.24), rgba(var(--accent-rgb), 0.04) 70%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5), 0 0 20px -4px rgba(var(--accent-rgb), 0.6); }
.gk-ic .ico { width: 23px; height: 23px; }
.gk-n { grid-area: n; min-width: 0; font-family: var(--f-display); font-size: 22px; font-weight: 800; font-stretch: 90%; line-height: 1.05; text-transform: uppercase; }
.gk-r { grid-area: r; display: inline-flex; align-items: center; gap: 6px; }
.gk-r b { font-family: var(--f-display); font-size: 42px; font-weight: 800; font-stretch: 86%; line-height: 0.9; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 14px rgba(var(--accent-rgb), 0.85), 0 0 30px rgba(var(--accent-rgb), 0.4); }
.gk-lim { grid-area: lim; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 30px; padding: 12px 22px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.gk-lim small { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.gk-pips { display: inline-flex; gap: 4px; }
.gk-pips i { width: 9px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.gk-pips i.on { background: var(--accent); box-shadow: 0 0 7px rgba(var(--accent-rgb), 0.85); }
.gk-week i.ms { background: rgba(var(--accent-rgb), 0.22); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 7px rgba(var(--accent-rgb), 0.6); }
.gk-week i.ms:last-child { background: rgba(var(--gold-rgb), 0.25); box-shadow: inset 0 0 0 1.5px var(--gold-hi), 0 0 7px rgba(var(--gold-rgb), 0.7); }
.tkt::after, .gk-boost::after { content: "i"; position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  font-family: var(--f-mono); font-size: 10px; font-weight: 800; line-height: 1; color: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.gk-tip { position: absolute; z-index: 3; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--ink);
  background: rgba(var(--bg-rgb), 0.97); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 14px 30px -10px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.2s ease, transform 0.25s var(--ease-out); }
.tkt:hover .gk-tip, .tkt:focus .gk-tip, .gk-boost:hover .gk-tip, .gk-boost:focus .gk-tip { opacity: 1; transform: none; }
/* игровые дни — ступени: 3, 5 и 7 дней за неделю, столбики растут при появлении, подписи едут вместе с верхом столбика */
/* «Игровые дни» — обычная плитка (18.11, владелец: «по три карточки в ряд»): шапка, под ней ступени, внизу неделя */
.tkt.k-play { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic n" "st st" "lim lim"; align-items: center; }
.tkt.k-play .gk-ic, .tkt.k-play .gk-n { align-self: start; }
.tkt.k-play .gk-n { align-self: center; }
.tkt.k-play::after { top: 12px; bottom: auto; }
.gk-steps { grid-area: st; margin: 0; padding: 0; list-style: none; display: flex; justify-content: center; align-items: flex-end; gap: 12px; }
.gk-steps li { display: grid; justify-items: center; gap: 6px; width: 64px; }
.gk-steps b { font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1; color: var(--neon-core); text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.85);
  transform: translateY(calc((1 - var(--h, 1)) * 72px)); transition: transform 1.1s var(--ease-out), opacity 0.5s ease; }
.gk-steps i { display: block; width: 100%; height: 72px; border-radius: 4px 4px 1px 1px; transform-origin: 50% 100%; transform: scaleY(var(--h, 1)); transition: transform 1.1s var(--ease-out);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.95), rgba(var(--accent-rgb), 0.28)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 18px -4px rgba(var(--accent-rgb), 0.7); }
.gk-steps li:last-child i { background: linear-gradient(180deg, var(--gold-hi), rgba(var(--gold-rgb), 0.3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 18px -4px rgba(var(--gold-rgb), 0.8); }
.gk-steps li:last-child b { color: var(--gold-hi); text-shadow: 0 0 12px rgba(var(--gold-rgb), 0.8); }
.gk-steps li:nth-child(2) b, .gk-steps li:nth-child(2) i { transition-delay: 0.15s; }
.gk-steps li:nth-child(3) b, .gk-steps li:nth-child(3) i { transition-delay: 0.3s; }
.gk-steps li:nth-child(4) b, .gk-steps li:nth-child(4) i { transition-delay: 0.45s; }
.gk-steps span { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); }
.fx .tkt.k-play:not(.is-lit) .gk-steps i { transform: scaleY(0.03); }
.fx .tkt.k-play:not(.is-lit) .gk-steps b { transform: translateY(70px); opacity: 0; }

/* первая сотня ×1,5: неоновая вывеска, рассадка зала (занятые места горят, своё — синим) и сколько свободно */
.gk-boost { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 640px) auto; justify-content: space-between; align-items: center;
  gap: 18px 40px; padding: 28px 40px 28px 36px; border-radius: 8px;
  background: var(--hudc), radial-gradient(50% 120% at 0% 50%, rgba(var(--gold-rgb), 0.16), transparent 70%), var(--metal);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.38), inset 0 1px 0 var(--hl), 0 30px 60px -34px rgba(0, 0, 0, 0.95); }
.gk-bx { display: grid; justify-items: center; gap: 6px; }
.gk-x { font-family: var(--f-display); font-size: clamp(66px, 6.8vw, 106px); font-weight: 800; font-stretch: 82%; line-height: 0.88; white-space: nowrap;
  color: rgba(var(--gold-rgb), 0.14); -webkit-text-stroke: 1.8px var(--gold-hi); paint-order: stroke fill;
  filter: drop-shadow(0 0 1.5px rgba(var(--gold-rgb), 1)) drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.75)) drop-shadow(0 0 22px rgba(var(--gold-rgb), 0.4)); }
.gk-yr { font-family: var(--f-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.gk-hall { min-width: 0; display: grid; }
.gk-stage { display: block; height: 16px; margin: 0 9% 12px; border-top: 2px solid rgba(var(--gold-rgb), 0.75); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -8px 20px -10px rgba(var(--gold-rgb), 0.85); }
.gk-seats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)) 16px repeat(10, minmax(0, 1fr)); gap: 7px 6px; }
.gk-seats i:nth-child(20n + 11) { grid-column-start: 12; }
.gk-seats i { display: block; aspect-ratio: 1 / 0.84; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--m3), var(--m1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.05); }
.gk-seats i.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 10px rgba(var(--gold-rgb), 0.5);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out); transition-delay: calc(var(--i, 0) * 16ms + 0.2s); }
.gk-seats i.me { background: linear-gradient(180deg, var(--neon-core), var(--accent) 55%, var(--accent-deep)); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.45), 0 0 16px var(--accent); }
.fx .gk-boost:not(.is-lit) .gk-seats i.on { opacity: 0.1; transform: scale(0.55); }
.gk-bh { display: grid; justify-items: end; gap: 4px; text-align: right; padding-bottom: 4px; }
.gk-bk { font-family: var(--f-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.92); }
.gk-left { font-family: var(--f-display); font-size: 46px; font-weight: 800; line-height: 1; color: var(--gold-hi); text-shadow: 0 0 16px rgba(var(--gold-rgb), 0.5); }
.gk-bh small { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.gk-boost .gk-tip { left: auto; width: min(380px, calc(100% - 20px)); }

@media (max-width: 1080px) {
  .gs { padding: 38px 30px 30px; }
  .gs-top { grid-template-columns: minmax(0, 1fr) clamp(180px, 22vw, 240px) minmax(0, 1fr); }
  .gk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-boost { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "bx bh" "hall hall"; padding: 26px 28px; }
  .gk-bx { grid-area: bx; justify-items: start; }
  .gk-bh { grid-area: bh; }
  .gk-hall { grid-area: hall; justify-self: center; width: min(100%, 680px); }
}
@media (max-width: 900px) {
  /* зал на планшете и телефоне — сверху вниз: перстень в луче, банк, отсчёт */
  .gs-top { grid-template-columns: minmax(0, 1fr); justify-items: center; min-height: 0; text-align: center; }
  .gs-ring { order: -1; width: min(230px, 62%); margin: -26px 0 -2px; }
  .gs-bank { justify-items: center; }
  .gs-split { justify-content: center; }
  .gs-cd { justify-self: center; justify-items: center; text-align: center; margin-top: 22px; }
  /* барабан — сверху, лидеры двумя колонками под ним (на телефоне — одной), строки не зеркалятся */
  .dr { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "wheel wheel" "l r" "foot foot"; gap: 16px 12px; }
  .dr-wheel { justify-self: center; width: min(320px, 70%); }
  .dr-list { align-self: start; }
  .dr-l .dr-row { flex-direction: row; padding: 6px 14px 6px 6px; background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.88), rgba(var(--bg-rgb), 0.66)); }
  .dr-l .dr-n { text-align: left; }
  .dr-l .dr-p { text-align: right; }
}
@media (max-width: 760px) {
  .gs { padding: 26px 16px 20px; border-radius: 8px; }
  .gs-bg { height: 560px; background-image: url(img/skhodka-hall-m.webp); background-position: 50% 0; }
  .gs-bg::after { background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.6), rgba(var(--bg-rgb), 0.05) 30%, rgba(var(--bg-rgb), 0.05) 70%, rgba(var(--bg-rgb), 0.6)), linear-gradient(180deg, rgba(var(--bg-rgb), 0.35), transparent 30%); }
  .gs-ring { width: min(190px, 58%); margin: -14px 0 0; }
  .gs-sum { font-size: clamp(42px, 15vw, 62px); }
  .gs-ingot, .gs-split { width: min(340px, 100%); }
  .gs-od { font-size: 42px; }
  .dr { grid-template-columns: minmax(0, 1fr); grid-template-areas: "wheel" "l" "r" "foot"; gap: 6px; margin-top: 26px; }
  .dr-wheel { width: min(300px, 88%); margin-bottom: 12px; }
  .dr-list { gap: 5px; }
  .dr-row, .dr-more { min-height: 40px; padding-top: 4px; padding-bottom: 4px; }
  .dr-sw { width: 30px; height: 30px; }
  .dr-foot { margin-top: 8px; }
  .gs-how { flex-direction: column; gap: 9px; padding: 14px 12px; font-size: 10.5px; letter-spacing: 0.08em; }
  .gs-hdot { display: none; }
  .gk-head { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "h art" "flow flow"; gap: 12px 10px; }
  .gk-art { width: 112px; margin: -24px 0 -22px; }
  .gk-stamp { font-size: 10.5px; padding: 4px 6px 3px; letter-spacing: 0.05em; }
  .gk-flow { gap: 8px; }
  .gk-fl { gap: 7px; min-height: 44px; padding: 6px 10px 6px 8px; font-size: 10px; letter-spacing: 0.08em; }
  .gk-fl .ico { width: 16px; height: 16px; }
  .gk-tiles { gap: 10px; }
  .tkt { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic r" "n n" "lim lim"; gap: 12px 8px; padding: 16px 14px 14px; }
  .gk-r { justify-self: end; }
  .gk-ic { width: 40px; height: 40px; border-radius: 10px; }
  .gk-ic .ico { width: 20px; height: 20px; }
  .gk-n { font-size: 17px; }
  .gk-r b { font-size: 34px; }
  .gk-r .gk-tx { width: 17px; height: 17px; }
  .gk-lim { padding: 10px 20px 0 0; gap: 6px 8px; }
  .gk-lim small { font-size: 10px; letter-spacing: 0.06em; }
  .gk-pips i { width: 7px; height: 7px; }
  .tkt.k-play { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic n" "st st" "lim lim"; align-items: center; }
  .gk-steps { justify-content: center; padding: 6px 0 0; gap: 10px; }
  .gk-steps li { width: 58px; }
  .gk-boost { grid-template-columns: auto minmax(0, 1fr); padding: 22px 16px 20px; gap: 16px 14px; }
  .gk-x { font-size: 62px; }
  .gk-left { font-size: 36px; }
  .gk-stage { margin: 0 6% 10px; }
  .gk-hall { justify-self: center; width: min(100%, 280px); }
  .gk-seats { grid-template-columns: repeat(5, minmax(0, 1fr)) 10px repeat(5, minmax(0, 1fr)); gap: 5px 4px; }
  .gk-seats i:nth-child(20n + 11) { grid-column-start: auto; }
  .gk-seats i:nth-child(10n + 6) { grid-column-start: 7; }
}
@media (max-width: 360px) {
  .gs-split { font-size: 10.5px; letter-spacing: 0.06em; }
  .dr-row, .dr-more { gap: 8px; padding-right: 10px; }
  .dr-p { min-width: 48px; }
  .dr-n { font-size: 11.5px; }
  .tkt { padding: 14px 12px 12px; }
  .gk-ic { width: 36px; height: 36px; }
  .gk-r b { font-size: 30px; }
  .gk-r .gk-tx { width: 15px; height: 15px; }
  .gk-steps li { width: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .gs-gl { display: none; }
  .tkt, .gk-tip, .gs-mi, .dr-row { transition: none; }
}

/* ---------- история призов: табло и протокол — запись на событие, узлы на шине, победители бирками ---------- */
.stats.gp-stats { margin-top: 46px; }
.gp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gp-stats .stat .v { font-size: clamp(18px, 2vw, 30px); }
.gp-log { position: relative; margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; --gp-d: 86px; --gp-g: 14px; --gp-n: 28px; }
/* шина протокола — по узлам дат, сверху вниз гаснет */
.gp-log::before { content: ""; position: absolute; left: calc(var(--gp-d) + var(--gp-g) + var(--gp-n) / 2 - 1px); top: 20px; bottom: 20px; width: 2px; border-radius: 1px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.95), rgba(var(--accent-rgb), 0.2)); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }
.gp-ev { display: grid; grid-template-columns: var(--gp-d) var(--gp-n) minmax(0, 1fr); align-items: start; column-gap: var(--gp-g); }
.gp-when { padding-top: 13px; text-align: right; }
.gp-when b { display: block; font-family: var(--f-display); font-size: 24px; font-weight: 800; font-stretch: 90%; line-height: 1; }
.gp-when small { display: block; margin-top: 5px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.gp-node { position: relative; z-index: 1; justify-self: center; width: 14px; height: 14px; margin-top: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 52%, var(--accent-deep)); box-shadow: 0 0 0 4px rgba(var(--bg-rgb), 0.92), 0 0 12px var(--accent); }
.gp-ev:is(.k-tournament, .k-skhodka) .gp-node { background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 52%, var(--gold-lo)); box-shadow: 0 0 0 4px rgba(var(--bg-rgb), 0.92), 0 0 12px rgba(var(--gold-rgb), 0.8); }
.gp-body { min-width: 0; padding: 15px 18px 16px; border-radius: 6px;
  background: var(--hudc), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 44px -30px rgba(0, 0, 0, 0.9); }
.gp-ev:is(.k-tournament, .k-skhodka) .gp-body { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.32), 0 24px 44px -30px rgba(0, 0, 0, 0.9); }
.gp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.gp-sum { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.gp-sum b { font-weight: 700; color: var(--gold); }
.gp-win { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.gp-win li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 5px; border-radius: 3px; font-family: var(--f-mono); font-size: 12.5px;
  background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.gp-win .ico { width: 13px; height: 13px; color: var(--gold); }
.gp-win b { font-weight: 700; color: var(--ink); }
.gp-win em { font-style: normal; font-weight: 700; color: var(--trim); }
.gk { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px 3px; border-radius: 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; white-space: nowrap; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.gk::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.gk.k-newbie { color: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35); }
.gk.k-tournament { color: var(--trim); box-shadow: inset 0 0 0 1px rgba(var(--trim-rgb), 0.55); }
.gk.k-skhodka { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.gk:is(.k-manual, .k-extra) { color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.gp-more { margin-top: 12px; }
.gp-empty { margin-top: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 30px 20px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.gp-empty .ico { width: 20px; height: 20px; color: var(--gold); }

/* ---------- кодекс банды: шесть чеканных плашек — знак в кольце и слово гравировкой; пояснение — на обороте ---------- */
.grules { margin-top: 56px; }
.cx-head { display: flex; align-items: center; gap: 6px 14px; }
.cx-art { position: relative; flex: none; width: 112px; margin: -24px 0 -26px -12px; pointer-events: none; }
.cx-art::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.3), transparent); }
.cx-t { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; font-stretch: 90%; letter-spacing: 0.02em; line-height: 1; text-transform: uppercase; }
.cx-t em { font-style: normal; color: var(--accent); text-shadow: 0 0 22px rgba(var(--accent-rgb), 0.45); }
.cx { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cx li { min-width: 0; }
.cx-i { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.08; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; perspective: 900px; }
.cx-i:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cx-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s var(--ease-out); }
.cx-f, .cx-b { position: absolute; inset: 0; border-radius: 8px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* лицевая: шлифованная сталь, винты по углам, кольцо со знаком, слово выбито гравировкой */
.cx-f { display: grid; justify-items: center; align-content: center; gap: 14px; padding: 16px 10px 14px;
  background:
    radial-gradient(circle at 10px 10px, #c9cfd6 0 1.6px, #3a3f46 2.2px, transparent 2.8px), radial-gradient(circle at calc(100% - 10px) 10px, #c9cfd6 0 1.6px, #3a3f46 2.2px, transparent 2.8px),
    radial-gradient(circle at 10px calc(100% - 10px), #c9cfd6 0 1.6px, #3a3f46 2.2px, transparent 2.8px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #c9cfd6 0 1.6px, #3a3f46 2.2px, transparent 2.8px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #262c36, #12161c 55%, #0a0d11);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 40px -26px rgba(0, 0, 0, 0.95); }
.cx-ic { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; color: var(--accent);
  background: radial-gradient(circle at 50% 38%, rgba(var(--accent-rgb), 0.18), rgba(5, 7, 10, 0.95) 70%);
  box-shadow: inset 0 0 0 2px rgba(var(--accent-rgb), 0.55), inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(0, 0, 0, 0.35), 0 0 22px -6px rgba(var(--accent-rgb), 0.7); }
.cx-ic .ico { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.7)); }
.cx-ic b { font-family: var(--f-display); font-size: 25px; font-weight: 800; line-height: 1; color: var(--neon-core); text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.8); }
/* календарь с числом дней: число — внутри листка */
.cx-cal .cx-ic b { position: absolute; left: 0; right: 0; top: 50%; margin-top: -3px; font-size: 13px; text-align: center; }
.cx-age .cx-ic { color: var(--bad); box-shadow: inset 0 0 0 2px rgba(var(--bad-rgb), 0.6), inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(0, 0, 0, 0.35), 0 0 22px -6px rgba(var(--bad-rgb), 0.7); }
.cx-age .cx-ic b { text-shadow: 0 0 2px rgba(var(--bad-rgb), 1), 0 0 12px rgba(var(--bad-rgb), 0.8); }
.cx-tg .cx-ic { color: var(--tg); }
.cx-f > b { max-width: 100%; font-family: var(--f-display); font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; line-height: 1.2; text-align: center; text-transform: uppercase;
  color: #c9d0dc; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.14), 0 -1px 0 rgba(0, 0, 0, 0.85); }
/* оборот: стекло банды, пояснение одной-двумя фразами */
.cx-b { display: grid; place-items: center; padding: 14px 12px; transform: rotateY(180deg); font-size: 12.5px; font-weight: 600; line-height: 1.42; text-align: center; color: var(--ink);
  background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.06) 60%), #090c13;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.7), 0 0 30px -10px rgba(var(--accent-rgb), 0.6); }
.cx-i[aria-expanded="true"] .cx-in, .cx-i:focus-visible .cx-in { transform: rotateY(180deg); }
@media (hover: hover) { .cx-i:hover .cx-in { transform: rotateY(180deg); } }

/* длинная вывеска привилегии («до 600%») — мельче, чтобы на телефоне вставала рядом с биркой */
.bp-neon.long { font-size: clamp(46px, 4.4vw, 70px); }
/* строка разделов шире экрана (у банды 1WIN разделов больше): края гаснут и на компьютере — только с той стороны, куда ещё можно прокрутить */
.subnav.is-scroll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent); }

@media (max-width: 900px) {
  .gdraws, .gtk { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .gw, .gt, .gtk, .gp-empty { margin-top: 30px; }
  .gd-art, .gs-art { width: 104px; margin: -20px -8px -22px 0; }
  .gd::before, .gw-board::before, .gt::before, .gs::before { left: 18px; right: 18px; }
  .gp-y { display: none; }
  /* протокол призов: даты уже, шина ближе к краю */
  .stats.gp-stats { margin-top: 30px; }
  .gp-log { --gp-d: 52px; --gp-g: 8px; --gp-n: 18px; gap: 10px; }
  .gp-when { padding-top: 12px; }
  .gp-when b { font-size: 18px; }
  .gp-when small { font-size: 9px; letter-spacing: 0.08em; }
  .gp-node { width: 12px; height: 12px; margin-top: 16px; }
  .gp-body { padding: 12px 12px 13px; }
  .gp-win li { padding: 5px 8px 4px; font-size: 12px; }
  .gp-more { width: 100%; }
  .bp-neon.long { font-size: 42px; }
}
/* самые узкие телефоны (320 px): крупные цифры и подписи помещаются в свои ячейки целиком, без разрыва слов */
@media (max-width: 360px) {
  .bp-neon.long { font-size: 36px; }
  .cp-long { display: none; }      /* пропуск на самом узком экране: подпись «промокод» в одну строку */
  .gp-stats .stat.hl .v { white-space: normal; }
  #giveawayTable tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #giveawayTable td:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 380px) { #giveawayTable td:nth-child(2) { font-size: 15px; } .partner .pbtns .btn { flex: 1 1 100%; } }
/* ---------- разделы банды и вербовка: планшет и телефон ---------- */
@media (max-width: 1080px) {
  .gcd-u { min-width: 74px; }
  .gt { grid-template-columns: minmax(0, 1fr); }
  .gt-net { border-left: 0; border-top: 2px dashed rgba(255, 255, 255, 0.12); }
  /* афиша над сеткой: арена — только за сеткой, во всю её ширину */
  .gt::after { display: none; }
  .gt-net::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0.9; background: url(img/gang-stage.webp) 74% 42% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, rgba(0, 0, 0, 0.3)); mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, rgba(0, 0, 0, 0.3)); }
  .cx { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt { grid-template-columns: 120px minmax(0, 1fr) 150px; gap: 0 18px; }
  .wk-ev { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ic" "b" "t"; justify-items: start; padding: 12px 12px 11px; }
  .wk-ic { width: 32px; height: 32px; margin-bottom: 4px; }
  .pts { grid-template-columns: auto minmax(0, 1fr); }
  .pts-lock { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .gt-how { grid-template-columns: minmax(0, 1fr); }
  .gv-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gv-flow li:nth-child(3)::before { display: none; }
  /* лента недели — столбиком: день и засечка слева, плита события справа; пустые дни — короткие строки */
  .wk { flex-direction: column; gap: 8px; }
  .wk > li { padding: 0 0 0 86px; flex: none !important; }
  .wk-d:not(.has-ev) { min-height: 20px; }
  .wk-dn { top: 50%; left: 0; width: 62px; margin-top: -8px; line-height: 16px; }
  .wk-d.is-today .wk-dn { width: auto; margin-top: -9px; padding: 2px 5px 1px; letter-spacing: 0.08em; }
  .wk-node { left: 66px; top: 50%; margin-top: -6px; }
  .wk > li:not(:last-child)::before { left: 71px; top: 50%; width: 2px; height: calc(50% + 8px); background: rgba(var(--accent-rgb), 0.7); }
  .wk > li:not(:first-child)::after { content: ""; position: absolute; left: 71px; top: 0; width: 2px; height: 50%; background: rgba(var(--accent-rgb), 0.7); }
  .wk > li:nth-last-child(2)::before, .wk-end::after { background: repeating-linear-gradient(180deg, rgba(var(--gold-rgb), 0.65) 0 6px, transparent 6px 12px) !important; }
  .wk-ev { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic b" "ic t"; padding: 11px 12px; }
  .wk-ic { margin-bottom: 0; }
  .cx { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gw-board { grid-template-columns: minmax(0, 1fr) 100px; align-items: start; }
  .gw-nt { display: contents; }
  .gw-k { grid-column: 1; grid-row: 1; margin: 26px 0 0 18px; }
  .gw-ev { grid-column: 1; grid-row: 2; margin: 10px 0 0 18px; font-size: 30px; }
  .gw-board .gcd { grid-column: 1 / -1; grid-row: 3; margin: 16px 14px 20px; }
  .gw-live { grid-column: 1 / -1; grid-row: 4; justify-self: start; margin: -8px 14px 18px; }
  .gw-art { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 100px; margin: 10px 4px -6px 0; }
  .gcd { width: auto; gap: 5px; }
  .gcd-u { flex: 1 1 0; min-width: 0; padding: 10px 2px 8px; gap: 5px; }
  .gcd-u b { font-size: 34px; }
  .gcd-u small { font-size: 9px; letter-spacing: 0.12em; }
  .gcd-s { margin-top: -16px; font-size: 22px; }
  .gcd.sm { align-self: stretch; }
  .gcd.sm .gcd-u { min-width: 0; }
  .gcd.sm .gcd-u b { font-size: 28px; }
  .gt-info > * { max-width: 100%; }
  .gd { padding: 26px 16px 20px; gap: 16px; }
  .gd-t { font-size: 32px; }
  .gd-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-flow li:nth-child(3)::before { display: none; }
  .gd-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gd-go { width: 100%; justify-content: center; }
  .gt-info { padding: 26px 16px 22px; }
  .gt-net { padding: 22px 12px 18px; }
  .gt-net::before { background-image: url(img/gang-stage-m.webp); background-position: 50% 30%; }
  .gt-beam { display: none; }
  .gb { --gb-h: 236px; --gb-gap: 9px; --gb-w: 60px; }
  .gb-hd b { font-size: 12px; }
  .gb-hd small { display: none; }
  .gt-prov { display: grid; }
  .gb-s { height: 10px; }
  .gb-s em { left: 3px; right: 2px; font-size: 8.5px; letter-spacing: -0.02em; }
  .gb-c:first-child .gb-s em { display: none; }      /* первый раунд на телефоне — огоньки без ников: им там тесно */
  .gb-champ { font-size: 9px; }
  .gt-prize { width: 100%; }
  .tp { flex: 1 1 auto; }
  .tp.is-tg { flex: 0 0 auto; min-height: 44px; }
  .gt-how li { padding: 14px; }
  .gt-last { padding: 10px 14px 10px 12px; gap: 6px 12px; }
  .gt-last em { font-size: 18px; }
  /* общак: сейф и табличка сверху, трубы — вертикальным коллектором слева, отводы к карточкам */
  .fd-safe { width: min(60%, 210px); }
  .fd-plate { min-width: 0; width: 100%; padding: 14px 14px 13px; }
  .fd-trunk { display: none; }
  .fd-to { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0 0 28px; }
  .fd-mani { left: 9px; right: auto; top: 0; bottom: 36px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.9), rgba(var(--gold-rgb), 0.5)); }
  .fd-mani b { left: -3px; width: 8px; height: 50%; top: 0; background: radial-gradient(closest-side, #fff, var(--gold) 55%, transparent) 50% 0 / 8px 14px no-repeat; }
  .fd-mani .ml { right: auto; } .fd-mani .mr { left: -3px; top: 50%; }
  .is-on .fd-mani .ml, .is-on .fd-mani .mr { animation: fd-down 2.4s linear infinite; }
  .is-on .fd-mani .mr { animation-delay: 1.2s; }
  .fd-d::before { left: -19px; top: 50%; width: 19px; height: 2px; margin: -1px 0 0; }
  .fd-d::after { display: none; }
  .fd-d a { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img day sum" "img name sum"; justify-items: start; align-items: center; gap: 2px 12px; padding: 10px 14px 10px 8px; text-align: left; }
  .fd-img { grid-area: img; width: 64px; margin: 0; }
  .fd-day { grid-area: day; align-self: end; }
  .fd-d b { grid-area: name; align-self: start; font-size: 15px; }
  .fd-sum { grid-area: sum; justify-self: end; font-size: 24px; }
  .fd-pct { left: -26px; top: calc(50% - 22px); }
  /* вербовка: друг, дорожка и подарок — друг под другом; лента званий — по три в ряд, свет зажигает их по очереди */
  .fr { margin-top: 30px; gap: 22px; }
  .rc-card { padding: 20px 14px 16px; border-radius: 14px; }
  .rt { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rt-from { grid-template-columns: auto auto; grid-template-areas: "a b" "a s"; justify-content: start; justify-items: start; column-gap: 12px; text-align: left; }
  .rt-ava { grid-area: a; width: 48px; height: 56px; }
  .rt-ava .ico { width: 28px; height: 28px; }
  .rt-from b { grid-area: b; align-self: end; }
  .rt-from small { grid-area: s; align-self: start; }
  .rt-road { gap: 0 8px; padding-top: 28px; }
  .rt-rail { top: 54px; }
  .rt-cap { top: 0; }
  .rt-pt { width: 50px; height: 50px; font-size: 19px; }
  .rt-v { font-size: 30px; }
  .rt-what { font-size: 12.5px; }
  .rt-gift { grid-template-columns: auto auto; grid-template-areas: "k v" "u v"; justify-content: space-between; justify-items: start; align-items: center; padding: 12px 16px; text-align: left; }
  .rt-gift small { grid-area: k; } .rt-gift b { grid-area: v; font-size: 40px; } .rt-gift span { grid-area: u; }
  .ranks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .ranks::before, .ranks::after { display: none; }
  .fr-go, .fr-side .cta-w { width: 100%; }
  .cx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cx-i { aspect-ratio: 1.22 / 1; }
  .cx-f { gap: 10px; padding: 12px 8px 10px; }
  .cx-ic { width: 50px; height: 50px; }
  .cx-ic .ico { width: 24px; height: 24px; }
  .cx-ic b { font-size: 21px; }
  .cx-b { padding: 10px 9px; font-size: 11.5px; line-height: 1.38; }
  .grules { margin-top: 44px; }
  .cx-art { width: 92px; }
  .pts { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 12px; }
  .pts-cells { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
  .pts-cell { padding: 8px 10px 8px 8px; gap: 8px; }
  .pts-coin { width: 36px; height: 36px; font-size: 12px; }
  .pts-cell.is-other .pts-coin { width: 32px; height: 32px; font-size: 11px; }
  .pts-tx small { font-size: 9px; letter-spacing: 0.1em; }
  .gp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gp-stats .stat:nth-child(n+3) { border-top: 0; }
  .gp-stats .stat:last-child:nth-child(odd) { grid-column: auto; }
  .gp-stats .stat { padding: 14px 12px 12px; }
  .pts-lock { justify-self: stretch; justify-content: center; }
  .gv-flow { margin-top: 26px; gap: 8px; }
  .gv-flow li { gap: 10px; padding: 12px; }
  .gv-flow li.is-big b { font-size: 32px; }
}
@media (max-width: 400px) {
  .gcd-u b { font-size: 29px; }
  .gcd.sm .gcd-u b { font-size: 24px; }
  .gd-flow span, .gv-flow span { font-size: 10px; letter-spacing: 0.05em; }
  .rt-v { font-size: 26px; }
  .rt-node small { font-size: 9px; letter-spacing: 0.06em; }
  .rt-need i { padding: 2px 4px 1px; }
  .cx-f > b { font-size: 12px; }
  .cx-b { font-size: 11px; }
  .tp b { font-size: 21px; }
  .gb { --gb-w: 52px; }
  .gp-stats .stat { padding: 12px 8px 10px; }
  .gp-stats .stat .k { font-size: 9px; letter-spacing: 0.06em; }
}
@media (max-width: 360px) {
  .gw-ev { font-size: 26px; }
  .gw-art { width: 84px; }
  .fd-d a { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .fd-img { width: 52px; }
  .fd-sum { font-size: 20px; }
  .pts-cells { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pts-ne { justify-self: center; transform: rotate(90deg); }
  .pts-cell { width: 100%; }
  .gv-flow { grid-template-columns: minmax(0, 1fr); }
  .gv-flow li::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gw-k i::after, .gw-live i::after, .gt-st i::after, .gd-live i::after, .gt-now i::after, .wk-node::after { display: none; }
  .gd-flow i::after, .gb-s::after, .gb-l, .gb-halo, .gt-beam, .fd-bars i, .fd-trunk b, .fd-mani b, .fd-d::after, .rt-run, .rt-tok, .rt-pt::after, .rt-pop i, .rt-gift::after,
  .ranks::after, .ranks li::after, .gb-s.fly em { animation: none !important; }
  .rt-rail::after { animation: none !important; transform: none; opacity: 1; }
  .cx-in { transition: none; }
}

/* ---------- подвал: 18+ на виду ---------- */
footer { position: relative; padding: 36px 0 52px; background: linear-gradient(180deg, rgba(5, 6, 8, 0.92), #030405); border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.6), transparent); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .age { display: inline-grid; place-items: center; min-width: 48px; height: 32px; padding: 0 10px; border-radius: 3px; border: 2px solid rgba(var(--bad-rgb), 0.85);
  font-family: var(--f-display); font-weight: 800; letter-spacing: 0.04em; color: var(--ink); box-shadow: 0 0 14px rgba(var(--bad-rgb), 0.25); }
footer a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.25); }
footer a:hover { color: var(--ink); }
#updated { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; }

/* ==================================================================================================
   Эфир и разделы «Бильярд», «Кабинет», «Задания», «Чат»: тот же язык поверх их прежней разметки (рисуют billiard.js,
   players.js, kolhoz.js, cabinet.js, tasks.js, chat.js — классы не менялись, функции не тронуты)
   ================================================================================================== */
/* эфир (18.11, владелец: «не делай большое окно с эфиром»): большой плеер — окном поверх страницы по нажатию на маленькое окно или «Смотреть» */
#live { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 20px; background: none; border: 0; }
#live[hidden] { display: none; }
html.lv-open { overflow: hidden; }
.lv-veil { position: absolute; inset: 0; background: rgba(2, 4, 6, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lv-box { position: relative; display: grid; gap: 14px; width: min(1120px, 100%); }
.lv-box .liveplayer { margin-top: 0; }
.lv-kick { flex: none; }
.lv-x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.lv-x:hover { background: rgba(255, 255, 255, 0.12); }
.lv-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* маленькое окно с эфиром рядом с плашкой банды: та же высота, кадр 16:9, эфир без звука, «В эфире» в углу, «▶» по наведению */
.ht-tv { position: relative; display: inline-block; height: 1.12em; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; cursor: pointer; background: #050607;
  box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.7), 0 0 0 1px rgba(0, 0, 0, 0.7), 0 0 26px -6px rgba(var(--bad-rgb), 0.75), 0 20px 40px -20px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.25s, transform 0.25s; }
.ht-tv[hidden] { display: none; }
.ht-tv:hover, .ht-tv:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 2px rgba(var(--bad-rgb), 0.95), 0 0 0 1px rgba(0, 0, 0, 0.7), 0 0 34px -4px rgba(var(--bad-rgb), 0.9); outline: none; }
.ht-tv-scr, .ht-tv-scr iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.ht-tv-tag { position: absolute; left: 6px; top: 6px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 3px;
  font: 700 10px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(var(--bad-rgb), 0.9); }
.ht-tv-tag i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #fff; color: #fff; }
.ht-tv-tag i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.ht-tv-go { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.2s; }
.ht-tv-go .ico { width: 0.34em; height: 0.34em; color: #fff; filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8)); }
.ht-tv:hover .ht-tv-go, .ht-tv:focus-visible .ht-tv-go { opacity: 1; }
/* кабинет: «В эфире · Смотреть» справа в строке разделов */
.sn-live { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 4px 0 12px; border: 0; border-radius: 6px; cursor: pointer;
  font: 700 11px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: rgba(var(--bad-rgb), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.6); }
.sn-live[hidden] { display: none; }
.sn-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); color: var(--bad); }
.sn-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.sn-live b { padding: 7px 10px; border-radius: 4px; font-weight: 800; color: #fff; background: var(--bad); }
.sn-live:hover b { filter: brightness(1.12); }
.livebadge { border-radius: 3px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; }
.livetitle { font-family: var(--f-display); font-weight: 700; }
.livetitle small { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.liveplayer { border-radius: 6px; box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 0 0 6px #050607, 0 0 0 7px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(var(--accent-rgb), 0.45); }

.view:not(#view-casino) > section { padding: 60px 0; }
.view:not(#view-casino) > section.first { padding-top: 40px; }
.view:not(#view-casino) > section + section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07) 20%, rgba(var(--accent-rgb), 0.35) 50%, rgba(255, 255, 255, 0.07) 80%, transparent); }
/* фишки-фильтры — тумблеры (события бильярда) */
.fchip { border-radius: 3px; border-width: 1px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(0, 0, 0, 0.45); }
.fchip.on { box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45); }

/* ==================================================================================================
   Бильярд в облике платформы (billiard.js, 17.11.2026). Табло на фоне бильярдного зала банды (img/billiard-hall-*.webp:
   фотореалистичный рендер без людей и надписей, сукно и неон в цвет банды), счёт — неон в стеклянных ячейках, шары партии —
   огоньки; ставки баллами — арена «игрок · котёл · игрок», как они устроены — значками, котёл — картинкой, одна строка с баллами
   банды и замком. Цвета игроков: первый — --accent, второй — --accent-2 (у Stake зелёный и синий, у 1WIN синий и жёлтый).
   Бесконечное движение — только огоньки состояния и «VS», пока раздел на экране (.is-on); «меньше движения» — всё стоит.
   ================================================================================================== */
.bsec { --a: var(--accent); --a-rgb: var(--accent-rgb); --b: var(--accent-2); --b-rgb: var(--accent-2-rgb); --a-ink: #05080a; --b-ink: #05080a; }
:root[data-project="stake"] .bsec { --b-ink: #fff; }
.bsec .tag-spray { top: auto; bottom: 40px; }
#billiardTop .sec-art { width: clamp(180px, 17vw, 250px); margin: -30px 10px -60px 0; }
.bk-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.bk-k .lbl-gang { margin-left: 0; }
/* к арене ставок ведёт полоса приёма на табло: арена встаёт под шапку, а не под неё */
#billiardNow, #billiardBets, #billiardHow { scroll-margin-top: calc(var(--top-h) + var(--sub-h) + 14px); }

/* ---------- табло ---------- */
.bk-board { position: relative; isolation: isolate; overflow: hidden; margin-top: 40px; display: grid; gap: 22px; padding: 26px 30px 26px; border-radius: 8px;
  background: var(--hudc), var(--metal); box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
/* светодиодная лента по верхней кромке и свет от неё; у матча в эфире она красная, у ставок — золотая */
.bk-board::before, .bk-bets::before { content: ""; position: absolute; z-index: 1; left: 34px; right: 34px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 16%, var(--trim) 50%, var(--accent) 84%, transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.7), 0 0 30px rgba(var(--accent-rgb), 0.35); }
.bk-board.is-live::before { background: linear-gradient(90deg, transparent, var(--bad) 18%, #ff8aa0 50%, var(--bad) 82%, transparent); box-shadow: 0 0 14px rgba(var(--bad-rgb), 0.7), 0 0 30px rgba(var(--bad-rgb), 0.35); }
.bk-board.is-live.s-bets::before, .bk-bets::before { background: linear-gradient(90deg, transparent, var(--a) 16%, var(--gold) 50%, var(--b) 84%, transparent); box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.55), 0 0 30px rgba(var(--gold-rgb), 0.25); }
/* зал за табло: свет лампы над столом — по центру, к краям темнее (там игроки и подписи) */
.bk-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bk-bg i { position: absolute; inset: 0; background: url(img/billiard-hall-stake.webp) 50% 62% / cover no-repeat; opacity: 0.62; }
:root[data-project="onewin"] .bk-bg i { background-image: url(img/billiard-hall-onewin.webp); }
.bk-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(54% 72% at 50% 46%, rgba(var(--bg-rgb), 0.1), rgba(var(--bg-rgb), 0.72) 74%, rgba(var(--bg-rgb), 0.9)), linear-gradient(180deg, rgba(var(--bg-rgb), 0.6), transparent 26%, transparent 64%, rgba(var(--bg-rgb), 0.92)); }
.bk-fresh .bk-board { animation: bk-in 0.6s var(--ease-out) both; }
@keyframes bk-in { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
.bk-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bk-st { --c: var(--accent); --c-rgb: var(--accent-rgb); display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 6px 12px 5px 10px; border-radius: 3px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c); background: rgba(var(--c-rgb), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), 0.6); }
.bk-st i { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.is-on .bk-st:not(.s-wait) i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.bk-st.s-live { --c: var(--bad); --c-rgb: var(--bad-rgb); }
.bk-st.s-bets { --c: var(--gold); --c-rgb: var(--gold-rgb); }
.bk-st.s-pause, .bk-st.s-wait { --c: var(--ink-2); --c-rgb: 214, 224, 232; }
.bk-kind { min-width: 0; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-2); }
.bk-watch { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 4px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  background: rgba(var(--bad-rgb), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.65); transition: background-color 0.2s, transform 0.2s; }
.bk-watch:hover { background: rgba(var(--bad-rgb), 0.26); transform: translateY(-1px); }
.bk-watch .ico { width: 18px; height: 18px; color: var(--bad); }
/* дуэль: игрок · счёт · игрок */
.bk-duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "a mid b"; align-items: center; gap: 18px; }
.bk-duel > .bk-p.a { grid-area: a; } .bk-duel > .bk-p.b { grid-area: b; } .bk-duel > .bk-mid { grid-area: mid; }
.bk-p, .bk-tile { --k: var(--a); --k-rgb: var(--a-rgb); --k-ink: var(--a-ink); }
.bk-p.b { --k: var(--b); --k-rgb: var(--b-rgb); --k-ink: var(--b-ink); }
.bk-p { display: grid; justify-items: center; align-content: center; gap: 12px; min-width: 0; padding: 8px 4px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.bk-ava { position: relative; display: grid; place-items: center; width: 112px; height: 112px; padding: 4px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--k), rgba(var(--k-rgb), 0.12) 35%, var(--k) 62%, rgba(var(--k-rgb), 0.16) 85%, var(--k)); box-shadow: 0 0 36px -8px rgba(var(--k-rgb), 0.85); transition: transform 0.3s var(--ease-out); }
.bk-ava img, .bk-ava u { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; text-decoration: none; border: 3px solid #05070a;
  font-family: var(--f-display); font-size: 42px; font-weight: 800; line-height: 1; color: var(--k-ink);
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 7%, transparent 8%), radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.55), var(--k) 48%, #05070a 140%); }
.bk-name { max-width: 100%; overflow: hidden; font-family: var(--f-display); font-size: clamp(20px, 2.1vw, 30px); font-weight: 800; font-stretch: 90%; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; transition: color 0.2s; }
.bk-p:hover .bk-ava, .bk-tile:hover .bk-ava { transform: scale(1.04); }
.bk-p:hover .bk-name, .bk-tile:hover .bk-name { color: var(--k); }
.bk-p.is-lead .bk-name { color: var(--k); text-shadow: 0 0 22px rgba(var(--k-rgb), 0.55); }
/* шары партии: огоньки по числу шаров до конца партии и счёт «4/8» */
.bk-balls { display: grid; justify-items: center; gap: 7px; }
.bk-lamps { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.bk-lamps i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a4048, #0d0f12 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.bk-lamps i.on { background: radial-gradient(circle at 35% 30%, #fff, var(--k) 55%, rgba(var(--k-rgb), 0.6)); box-shadow: 0 0 10px rgba(var(--k-rgb), 0.9); }
.bk-balls em { font-style: normal; font-family: var(--f-display); font-size: 18px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bk-balls em small { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--ink-3); }
/* счёт по партиям: неон в утопленных стеклянных ячейках, у ведущего ярче */
.bk-mid { display: grid; justify-items: center; gap: 12px; }
.bk-score { display: flex; align-items: center; gap: 10px; }
.bk-cell { --k: var(--a); --k-rgb: var(--a-rgb); min-width: 108px; padding: 16px 16px 10px; border-radius: 8px; text-align: center;
  font-family: var(--f-display); font-size: clamp(64px, 7vw, 104px); font-weight: 800; font-stretch: 86%; line-height: 1; font-variant-numeric: tabular-nums; color: rgba(238, 242, 245, 0.82);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.34));
  box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 30px rgba(var(--k-rgb), 0.1), 0 18px 34px -18px rgba(0, 0, 0, 0.95);
  text-shadow: 0 0 12px rgba(var(--k-rgb), 0.35); }
.bk-cell.b { --k: var(--b); --k-rgb: var(--b-rgb); }
.bk-cell.on { color: var(--neon-core); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.75), inset 0 0 34px rgba(var(--k-rgb), 0.18), 0 0 40px -12px rgba(var(--k-rgb), 0.8);
  text-shadow: 0 0 2px rgba(var(--k-rgb), 1), 0 0 14px rgba(var(--k-rgb), 0.85), 0 0 34px rgba(var(--k-rgb), 0.45); }
.bk-score > i { margin-top: -10px; font-style: normal; font-family: var(--f-display); font-size: 44px; font-weight: 700; color: rgba(var(--trim-rgb), 0.6); }
.bk-fr { padding: 6px 11px 5px; border-radius: 2px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
/* ход матча: отрезок на каждую сыгранную партию в цвет того, кто её взял */
.bk-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 240px; }
.bk-track i { width: 18px; height: 6px; border-radius: 2px; background: var(--a); box-shadow: 0 0 8px rgba(var(--a-rgb), 0.6); }
.bk-track i.b { background: var(--b); box-shadow: 0 0 8px rgba(var(--b-rgb), 0.6); }
/* ближайший матч: «VS» неоновой трубкой, под ним дата и отсчёт */
.bk-vs { font-family: var(--f-display); font-size: clamp(56px, 6vw, 88px); font-weight: 800; font-stretch: 80%; line-height: 0.9; letter-spacing: 0.04em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--accent-rgb), 0.95); filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.65)); }
.is-on .bk-vs { animation: bk-flick 6s linear infinite; }
@keyframes bk-flick { 0%, 91%, 100% { opacity: 1; } 92% { opacity: 0.35; } 93% { opacity: 1; } 95% { opacity: 0.55; } 96% { opacity: 1; } }
.bk-when { display: grid; justify-items: center; gap: 12px; }
.bk-date { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.bk-date .ico { width: 16px; height: 16px; color: var(--accent); }
.bk-cd { display: flex; align-items: flex-start; justify-content: center; gap: 6px; min-height: 74px; }
.bk-cdu { display: grid; justify-items: center; gap: 6px; min-width: 66px; padding: 10px 6px 8px; border-radius: 6px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.36));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 24px rgba(var(--accent-rgb), 0.08), 0 14px 28px -16px rgba(0, 0, 0, 0.9); }
.bk-cdu b { font-family: var(--f-display); font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; font-stretch: 86%; line-height: 1; font-variant-numeric: tabular-nums; color: var(--neon-core);
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.85), 0 0 26px rgba(var(--accent-rgb), 0.45); }
.bk-cdu small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.bk-cd > i { align-self: center; margin-top: -16px; font-style: normal; font-family: var(--f-display); font-size: 24px; font-weight: 700; color: rgba(var(--accent-rgb), 0.55); }
.bk-soon { display: inline-flex; align-items: center; gap: 9px; align-self: center; padding: 9px 14px 8px; border-radius: 3px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); background: rgba(var(--gold-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.bk-soon i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
/* колхоз и открытый счёт: плитки игроков */
.bk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 12px; }
.bk-tile { display: grid; justify-items: center; gap: 8px; padding: 18px 12px 16px; border: 0; border-radius: 6px; color: inherit; font: inherit; text-align: center; cursor: pointer;
  background: rgba(0, 0, 0, 0.46); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); transition: box-shadow 0.2s, transform 0.2s; }
.bk-grid .bk-ava { width: 76px; height: 76px; }
.bk-grid .bk-ava u { font-size: 30px; }
.bk-grid .bk-name { font-size: 18px; }
.bk-tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.bk-tile.is-lead { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75), 0 0 30px -10px rgba(var(--accent-rgb), 0.65); }
.bk-val { font-family: var(--f-display); font-size: 38px; font-weight: 800; font-stretch: 88%; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-val.up { color: var(--ok); text-shadow: 0 0 16px rgba(var(--ok-rgb), 0.45); } .bk-val.down { color: var(--bad); }
.bk-to { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; color: var(--ink-3); }
.bk-to .ico { width: 14px; height: 14px; color: var(--accent); }
.bk-debts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bk-debts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 7px; border-radius: 3px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); background: rgba(0, 0, 0, 0.46); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.bk-debts b { font-weight: 700; } .bk-debts b.down { color: var(--bad); } .bk-debts b.up { color: var(--ok); }
.bk-debts i { font-style: normal; } .bk-debts em { font-style: normal; font-weight: 700; color: var(--ink); }
.bk-debts .ico { width: 14px; height: 14px; color: var(--ink-3); }
/* низ табло: формат матча плашками, кнопка к ставкам */
.bk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.bk-facts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.bk-facts li { max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 7px 11px 6px; border-radius: 3px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-2); background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.bk-gate .btn .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.bk-gate .btn:hover .ico { transform: translateX(3px); }
/* приём ставок на табло: отсчёт кольцом и числом, что сейчас принимают, котёл банды, кнопка к арене ставок — всё одной ссылкой */
.bk-intake { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "clk ik ip go"; align-items: center; gap: 12px 24px; padding: 12px 14px 12px 12px; border-radius: 6px; color: inherit;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.13), rgba(var(--gold-rgb), 0.03) 60%), rgba(0, 0, 0, 0.58);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5), 0 18px 40px -24px rgba(var(--gold-rgb), 0.55); transition: box-shadow 0.25s, transform 0.25s; }
.bk-intake:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.85), 0 22px 46px -22px rgba(var(--gold-rgb), 0.7); }
.bk-clock { grid-area: clk; position: relative; display: grid; place-items: center; width: 66px; height: 66px; }
.bk-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.bk-clock circle { fill: none; stroke-width: 3; }
.bk-clock .t { stroke: rgba(255, 255, 255, 0.1); }
.bk-clock .tm { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear, stroke 0.3s; filter: drop-shadow(0 0 4px rgba(var(--gold-rgb), 0.8)); }
.bk-clock b { position: relative; font-family: var(--f-display); font-size: 15px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--neon-core); }
.bk-intake.hot .bk-clock .tm { stroke: var(--bad); filter: drop-shadow(0 0 4px rgba(var(--bad-rgb), 0.8)); }
.bk-intake.hot .bk-clock b { color: #ff8aa0; }
.bk-ik, .bk-ip { display: grid; gap: 6px; min-width: 0; }
.bk-ik { grid-area: ik; } .bk-ip { grid-area: ip; justify-items: end; text-align: right; }
.bk-ik small, .bk-ip small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; color: var(--gold); }
.bk-ik b { font-family: var(--f-display); font-size: 18px; font-weight: 800; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; }
.bk-ip b { font-family: var(--f-display); font-size: 30px; font-weight: 800; font-stretch: 88%; line-height: 1; font-variant-numeric: tabular-nums; color: var(--neon-core); white-space: nowrap;
  text-shadow: 0 0 2px rgba(var(--accent-rgb), 0.9), 0 0 16px rgba(var(--accent-rgb), 0.55); }
.bk-ig { grid-area: go; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 4px; white-space: nowrap;
  font-size: 15px; font-weight: 800; color: var(--accent-ink); background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px -10px rgba(var(--accent-rgb), 0.75); }
.bk-ig .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.bk-intake:hover .bk-ig .ico { transform: translateX(3px); }
.bk-desc { max-width: 760px; justify-self: center; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
/* матча нет и анонса нет: где ждать анонс */
.bk-wait { display: grid; justify-items: center; gap: 10px; padding: 34px 0 12px; text-align: center; }
.bk-wt { font-family: var(--f-display); font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; font-stretch: 86%; line-height: 1; text-transform: uppercase; text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.35); }
.bk-ws { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-2); }
.bk-tg { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; border-color: rgba(42, 171, 238, 0.7); color: #7fd0ff; background: rgba(42, 171, 238, 0.1); }
.bk-tg .ico { width: 18px; height: 18px; }
/* чем заняться, пока матча нет: плитки-ссылки с числом; у записей — кадр последней */
.bk-todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.bk-td { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 16px 12px 12px; border-radius: 6px; color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)), rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); transition: box-shadow 0.25s, transform 0.25s; }
.bk-td:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.65), 0 14px 30px -18px rgba(var(--accent-rgb), 0.7); }
.bk-tdp { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; transition: opacity 0.3s, transform 0.5s var(--ease-out); }
.bk-td:hover .bk-tdp { opacity: 0.42; transform: scale(1.04); }
.bk-tdi { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--accent);
  background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.03) 70%), rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.bk-tdi .ico { width: 19px; height: 19px; }
.bk-tdt { flex: 1 1 auto; min-width: 0; display: grid; gap: 5px; }
.bk-tdt b { font-family: var(--f-display); font-size: 16px; font-weight: 800; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; }
.bk-tdt small { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.bk-td > .ico { flex: none; width: 18px; height: 18px; color: var(--ink-3); transition: transform 0.3s var(--ease-out), color 0.2s; }
.bk-td:hover > .ico { transform: translateX(3px); color: var(--accent); }

/* ---------- шансы на матч (прогноз и сравнение игроков) ---------- */
#billiardStats .bstat { margin-top: 18px; padding: 24px 30px 22px; border: 0; border-radius: 8px;
  background: var(--hudc), radial-gradient(60% 120% at 0% 0%, rgba(var(--accent-rgb), 0.1), transparent 60%), radial-gradient(60% 120% at 100% 0%, rgba(var(--accent-2-rgb), 0.1), transparent 60%), var(--metal);
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 34px 60px -34px rgba(0, 0, 0, 0.95); }
#billiardStats .bshead { align-items: center; flex-wrap: wrap; }
#billiardStats .bsbasis { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-3); white-space: normal; }
#billiardStats .bso b { font-family: var(--f-display); font-stretch: 86%; color: var(--neon-core); text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 14px rgba(var(--accent-rgb), 0.8), 0 0 34px rgba(var(--accent-rgb), 0.4); }
#billiardStats .bso.b b { text-shadow: 0 0 2px rgba(var(--accent-2-rgb), 1), 0 0 14px rgba(var(--accent-2-rgb), 0.8), 0 0 34px rgba(var(--accent-2-rgb), 0.4); }
#billiardStats .bso span { font-family: var(--f-display); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
#billiardStats .bsmid i { border-width: 1px; border-radius: 3px; font-family: var(--f-mono); color: var(--ink-2); }
#billiardStats .bsbar { height: 14px; border-radius: 3px; background: rgba(0, 0, 0, 0.5); }
#billiardStats .bsbar i { border-radius: 0; background-image: repeating-linear-gradient(90deg, transparent 0 6px, rgba(0, 0, 0, 0.35) 6px 8px); }
#billiardStats .bsbar .a { background-color: var(--a); } #billiardStats .bsbar .b { background-color: var(--b); }
#billiardStats .bsnote { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
#billiardStats .bsnote b { font-family: var(--f-display); font-size: 15px; }
#billiardStats .bsrows { border-top-color: rgba(255, 255, 255, 0.08); }
#billiardStats .bsrow > b { font-family: var(--f-display); font-weight: 800; }
#billiardStats .bsm span { height: 6px; border-radius: 2px; background: rgba(0, 0, 0, 0.55); }
#billiardStats .bsm em, #billiardStats .bsform em, #billiardStats .bch2h span { font-family: var(--f-mono); letter-spacing: 0.12em; color: var(--ink-3); }
#billiardStats .bsform, #billiardStats .bch2h { border-top-color: rgba(255, 255, 255, 0.08); }
#billiardStats .bch2h b { font-family: var(--f-display); }
#billiardStats .bch2h em { font-family: var(--f-mono); font-size: 12px; }
.bform i { border-radius: 3px; font-family: var(--f-display); }

/* ---------- ставки баллами: арена «игрок · котёл · игрок» ---------- */
.bk-bets { position: relative; isolation: isolate; overflow: hidden; margin-top: 18px; display: grid; gap: 16px; padding: 26px 30px 28px; border-radius: 8px;
  background: var(--hudc), radial-gradient(60% 120% at 0% 0%, rgba(var(--a-rgb), 0.11), transparent 60%), radial-gradient(60% 120% at 100% 0%, rgba(var(--b-rgb), 0.11), transparent 60%), var(--metal);
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
.bxfresh .bk-bets { animation: bk-in 0.55s var(--ease-out) both; }
.bk-bh { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.bk-bt { display: grid; justify-items: start; gap: 10px; }
.bk-h3 { font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; font-stretch: 88%; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.bk-bal { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5), inset 0 0 22px rgba(var(--accent-rgb), 0.06); }
.bk-bal > span:last-child { display: grid; gap: 4px; }
.bk-bal small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.bk-bal b { font-family: var(--f-display); font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bk-note { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 3px 12px; padding: 12px 16px; border-radius: 6px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.bk-note > .ico { grid-row: span 2; width: 24px; height: 24px; color: var(--ink-2); }
.bk-note b { font-family: var(--f-display); font-size: 16px; font-weight: 800; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; }
.bk-note span { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.4; color: var(--ink-2); }
.bk-note.is-lock { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.1), rgba(var(--gold-rgb), 0.02)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.bk-note.is-lock > .ico, .bk-note.is-lock b { color: var(--gold); }
/* что ставим: партия и исход матча — вкладки */
.bk-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.bk-tab { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 0; border-radius: 6px;
  color: inherit; font: inherit; text-align: left; cursor: pointer; background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); transition: box-shadow 0.2s, background-color 0.2s, transform 0.2s; }
.bk-tab:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45); }
.bk-tab.on { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.85), 0 0 30px -12px rgba(var(--accent-rgb), 0.8); }
.bk-tic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--accent); background: rgba(var(--accent-rgb), 0.07); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.bk-tic .ico { width: 20px; height: 20px; }
.bk-tab.is-match .bk-tic { color: var(--gold); background: rgba(var(--gold-rgb), 0.07); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.bk-tt { display: grid; gap: 6px; min-width: 0; }
.bk-tt b { font-family: var(--f-display); font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.bk-tt small { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); }
.bk-tab.is-open .bk-tt small { color: var(--accent); }
.bk-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.is-on .bk-tab.is-open .bk-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.bk-tmine { padding: 6px 9px 5px; border-radius: 2px; font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.bk-tab.is-shut:not(.on) { opacity: 0.8; }
/* арена: сторона игрока — шар его цвета, сколько на него в котле, коэффициент и кнопка; между ними — котёл */
.bk-arena { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 18px; }
.bk-arena > .bk-pot { align-self: center; }
.bk-side { --k: var(--a); --k-rgb: var(--a-rgb); --k-ink: var(--a-ink); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tok sn coef" "tok sv coef" "pick pick pick";
  align-items: center; align-content: center; gap: 4px 14px; min-width: 0; padding: 16px 18px; border: 0; border-radius: 8px; color: inherit; font: inherit; text-align: left; cursor: pointer;
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--k-rgb), 0.15), transparent 60%), rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.38); transition: transform 0.2s, box-shadow 0.2s; }
.bk-side.b { --k: var(--b); --k-rgb: var(--b-rgb); --k-ink: var(--b-ink); grid-template-areas: "coef sn tok" "coef sv tok" "pick pick pick"; grid-template-columns: auto minmax(0, 1fr) auto; text-align: right;
  background: radial-gradient(120% 140% at 100% 0%, rgba(var(--k-rgb), 0.15), transparent 60%), rgba(0, 0, 0, 0.42); }
.bk-side:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.85), 0 0 34px -12px rgba(var(--k-rgb), 0.85); }
.bk-side.on { box-shadow: inset 0 0 0 2px var(--k), 0 0 40px -10px rgba(var(--k-rgb), 0.9); }
.bk-side:disabled { cursor: default; }
.bk-tok { grid-area: tok; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1; color: var(--k-ink);
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 8%, transparent 9%), radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.5), var(--k) 50%, #05070a 140%);
  box-shadow: inset -5px -7px 12px rgba(0, 0, 0, 0.4), 0 8px 18px rgba(0, 0, 0, 0.5), 0 0 22px -6px rgba(var(--k-rgb), 0.9); }
.bk-sn { grid-area: sn; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-display); font-size: 19px; font-weight: 800; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.bk-sv { grid-area: sv; display: flex; align-items: baseline; gap: 8px; }
.bk-side.b .bk-sv { justify-content: flex-end; }
.bk-sv b { font-family: var(--f-display); font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--k); text-shadow: 0 0 14px rgba(var(--k-rgb), 0.5); }
.bk-sv small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); }
.bk-coef { grid-area: coef; padding: 8px 10px 7px; border-radius: 3px; font-family: var(--f-display); font-size: 16px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
  color: var(--k-ink); background: var(--k); box-shadow: 0 0 16px -4px rgba(var(--k-rgb), 0.9); }
.bk-coef.none { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.bk-pick { grid-area: pick; position: relative; overflow: hidden; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 4px;
  font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-ink); background: var(--k);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 22px -12px rgba(var(--k-rgb), 0.9); }
.bk-pick .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.bk-pick::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: translateX(-160%) skewX(-18deg); }
.is-on .bk-side:not(.on) .bk-pick::after { animation: bx-shine 3.4s ease-in-out infinite; }
.is-on .bk-side.b .bk-pick::after { animation-delay: 1.7s; }
.bk-side.on .bk-pick { color: var(--k); background: none; box-shadow: inset 0 0 0 2px var(--k); }
/* котёл раунда: дуги долей игроков и доли числом (сумма котла и отсчёт — на табло, в полосе приёма) */
.bk-pot { position: relative; width: 200px; height: 200px; }
.bk-pot svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.22)); }
.bk-pot circle { fill: none; }
.bk-pot .t { stroke: rgba(255, 255, 255, 0.08); stroke-width: 12; }
.bk-pot.zero .t { stroke-dasharray: 4 8; }
.bk-pot .arc { stroke-width: 12; }
.bk-pot .arc.a { stroke: var(--a); } .bk-pot .arc.b { stroke: var(--b); }
.bk-pin { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; }
.bk-pin small { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.bk-sh { display: flex; align-items: center; gap: 9px; }
.bk-sh b { font-family: var(--f-display); font-size: 28px; font-weight: 800; font-stretch: 88%; line-height: 1; font-variant-numeric: tabular-nums; }
.bk-sh b.a { color: var(--a); text-shadow: 0 0 14px rgba(var(--a-rgb), 0.55); }
.bk-sh b.b { color: var(--b); text-shadow: 0 0 14px rgba(var(--b-rgb), 0.55); }
.bk-sh i { width: 1px; height: 26px; background: rgba(255, 255, 255, 0.22); }
.bk-first { font-family: var(--f-display); font-size: 16px; font-weight: 800; line-height: 1.1; text-transform: uppercase; color: var(--accent); }
.bk-left.shut { padding: 5px 9px 4px; border-radius: 3px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
/* своя ставка, сумма и кнопка, кто уже поставил */
.bk-mine { --k: var(--a); --k-rgb: var(--a-rgb); display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 6px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; line-height: 1.4;
  color: var(--ink-2); background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.55); }
.bk-mine.b { --k: var(--b); --k-rgb: var(--b-rgb); }
.bk-mine > .ico { flex: none; width: 18px; height: 18px; color: var(--k); stroke-width: 2.6; }
.bk-mine b { font-family: var(--f-display); font-weight: 800; color: var(--ink); }
.bk-pay { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: 6px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.bk-sums { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bk-sums button { min-width: 58px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 4px; font-family: var(--f-display); font-size: 16px; font-weight: 800; color: var(--ink); cursor: pointer;
  background: linear-gradient(180deg, #1d2228, #121519); box-shadow: inset 0 0 0 1px var(--edge-2), inset 0 1px 0 rgba(255, 255, 255, 0.08); transition: box-shadow 0.2s, background-color 0.2s; }
.bk-sums button:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.65); }
.bk-sums button.on { color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45); }
.bk-sums input { flex: 1 1 110px; min-width: 0; max-width: 180px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--edge-2); border-radius: 4px; color: var(--ink); background: rgba(3, 4, 5, 0.75);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6); font-family: var(--f-display); font-size: 17px; font-weight: 800; outline: none; }
.bk-sums input:focus { border-color: var(--accent); }
.bk-est { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.4; color: var(--ink-2); }
.bk-est b { font-family: var(--f-display); font-size: 19px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.bk-est .ico { width: 16px; height: 16px; color: var(--accent); transform: rotate(180deg); }
.bk-pay.wait .bk-est { grid-column: 1 / -1; }
.bk-place { min-height: 48px; white-space: nowrap; }
.bk-fans { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.bk-fans li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 5px; border-radius: 3px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.bk-fans i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--a); box-shadow: 0 0 6px var(--a); }
.bk-fans li.b i { background: var(--b); box-shadow: 0 0 6px var(--b); }
.bk-fans b { font-family: var(--f-display); font-weight: 800; color: var(--ink); }
.bk-msg { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--bad); }
.bk-msg.ok { color: var(--ok); }
/* вход и шаги «для своих» */
.bk-gate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px 12px 16px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.1), rgba(var(--gold-rgb), 0.02)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); }
.bk-gate > .ico { flex: none; width: 18px; height: 18px; color: var(--gold); }
.bk-gate > span { flex: 1 1 200px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; color: var(--gold); }
.bk-gate .btn { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- как устроены ставки баллами: шаги значками, котёл картинкой, одна строка с баллами банды и замком ---------- */
.bk-how { position: relative; margin-top: 18px; display: grid; gap: 16px; padding: 24px 30px 24px; border-radius: 8px;
  background: var(--hudc), var(--metal); box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 34px 60px -34px rgba(0, 0, 0, 0.95); }
.bk-howh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.bk-how .pts-coin, .bk-bal .pts-coin { width: 34px; height: 34px; font-size: 11px; }
.bk-bal .pts-coin { width: 44px; height: 44px; font-size: 13px; }
.bk-flow { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr 1.7fr 1.2fr; gap: 10px; }
.bk-flow > li { position: relative; display: grid; justify-items: center; align-content: start; gap: 9px; padding: 16px 10px 15px; border-radius: 6px; text-align: center;
  background: rgba(0, 0, 0, 0.36); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.bk-flow > li + li::before { content: ""; position: absolute; z-index: 1; left: -10px; top: 38px; width: 10px; height: 2px; background: rgba(var(--accent-rgb), 0.7); box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.6); }
.bk-fi { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--accent);
  background: radial-gradient(circle, rgba(7, 9, 11, 0.97) 0 58%, transparent 59%), conic-gradient(from 20deg, rgba(var(--accent-rgb), 0.9) 0 22%, rgba(var(--accent-rgb), 0.2) 22% 28%, rgba(var(--accent-rgb), 0.9) 28% 47%, rgba(var(--accent-rgb), 0.2) 47% 53%, rgba(var(--accent-rgb), 0.9) 53% 72%, rgba(var(--accent-rgb), 0.2) 72% 78%, rgba(var(--accent-rgb), 0.9) 78% 97%, rgba(var(--accent-rgb), 0.2) 97%); }
.bk-fi .ico { width: 20px; height: 20px; }
.bk-fi.is-coin { background: none; }
.bk-fi.is-coin .pts-coin { width: 46px; height: 46px; font-size: 14px; }
.bk-flow b { font-family: var(--f-display); font-size: 16px; font-weight: 800; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; }
.bk-flow span { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.35; text-transform: uppercase; color: var(--ink-2); }
.bk-flow > li.is-pot { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.1), rgba(var(--gold-rgb), 0.02)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); }
.bk-flow > li.is-pot b { color: var(--gold); }
/* шаг «Чёрный рынок» — ссылка на рынок банды */
.bk-flow > li:last-child { padding: 0; }
.bk-fa { position: relative; height: 100%; display: grid; justify-items: center; align-content: start; gap: 9px; padding: 16px 10px 15px; border-radius: 6px; color: inherit; transition: box-shadow 0.25s, background-color 0.25s; }
.bk-fa:hover { background: rgba(var(--accent-rgb), 0.06); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
.bk-fa > .ico { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; color: var(--ink-3); transition: transform 0.3s var(--ease-out), color 0.2s; }
.bk-fa:hover > .ico { transform: translateX(3px); color: var(--accent); }
/* картинка котла: баллы на первого + баллы на второго → котёл → угадавшим */
.bk-potpic { width: 100%; max-width: 236px; height: auto; overflow: visible; }
.bk-potpic .st { --sc: var(--a); --sc-rgb: var(--a-rgb); }
.bk-potpic .st.b { --sc: var(--b); --sc-rgb: var(--b-rgb); }
.bk-potpic .st path { fill: rgba(var(--sc-rgb), 0.28); stroke: var(--sc); stroke-width: 1.5; }
.bk-potpic .st ellipse { fill: #0b0d10; stroke: var(--sc); stroke-width: 1.5; }
.bk-potpic .st ellipse:last-of-type { fill: rgba(var(--sc-rgb), 0.4); }
.bk-potpic .st.win { filter: drop-shadow(0 0 6px rgba(var(--sc-rgb), 0.75)); }
.bk-potpic .op, .bk-potpic .ar { fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bk-potpic .body { fill: url(#g-plate); stroke: url(#g-steel); stroke-width: 1.6; }
.bk-potpic .rim { fill: #05070a; stroke: url(#g-chrome); stroke-width: 1.8; }
.bk-potpic .glow { fill: var(--gold); filter: drop-shadow(0 0 5px var(--gold)); }
.bk-potpic .leg { fill: none; stroke: url(#g-steel); stroke-width: 2.4; stroke-linecap: round; }
.bk-potpic .sp { fill: var(--gold-hi); }
.bk-potpic .crown { fill: var(--gold); filter: drop-shadow(0 0 4px rgba(var(--gold-rgb), 0.85)); }
.is-on .bk-potpic .sp { animation: bk-pop 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.bk-potpic .sp:nth-of-type(2) { animation-delay: 0.8s; } .bk-potpic .sp:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes bk-pop { 0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate3d(0, -6px, 0) scale(1); } }
/* одна строка: баллы своей банды и чужой (не меняются), замок «одна банда за раз», правила ставки */
.bk-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.bk-lcs { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
/* плиты бильярда — сетки: содержимое не раздвигает плиту шире экрана */
.bk-board > *, .bk-bets > *, .bk-how > * { min-width: 0; }
.bk-lc { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 14px 5px 5px; border-radius: 6px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.bk-lc b { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.bk-lc.is-other { opacity: 0.45; filter: grayscale(0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.bk-ne { font-style: normal; font-family: var(--f-display); font-size: 24px; font-weight: 800; line-height: 1; color: var(--ink-3); cursor: help; }
.bk-lk, .bk-lr { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 8px 11px 7px; border-radius: 3px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.bk-lk { color: var(--gold); background: rgba(var(--gold-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); cursor: help; }
.bk-lk .ico, .bk-lr .ico { width: 15px; height: 15px; }
.bk-lk.is-locked { color: var(--bad); background: rgba(var(--bad-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.6); }
a.bk-bot { min-height: 44px; color: #7fd0ff; box-shadow: inset 0 0 0 1px rgba(42, 171, 238, 0.6); transition: background-color 0.2s; }
a.bk-bot:hover { background: rgba(42, 171, 238, 0.12); }

/* ---------- события: плиты на металле, счёт — неон в стекле, дорожка партий ---------- */
#billiardList { margin-top: 40px; }
#billiardList .fchips { margin-bottom: 16px; }
#billiardList .fchip { min-height: 44px; }
#billiardList .ev { border: 0; border-radius: 8px; background: var(--hudc), var(--metal); box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 30px 60px -36px rgba(0, 0, 0, 0.95); }
#billiardList .ev::before { opacity: 0.5; }
#billiardList .ev:hover, #billiardList .ev.open { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45), 0 30px 60px -36px rgba(0, 0, 0, 0.95); }
#billiardList .ev.planned { --c: var(--accent); }
#billiardList .evbadge { border-radius: 2px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.2em; }
#billiardList .evdate { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
#billiardList .evp b { font-family: var(--f-display); font-size: 21px; letter-spacing: 0.03em; }
#billiardList .evava::before { border-width: 2px; }
#billiardList .evava u { font-family: var(--f-display); }
#billiardList .evscore { gap: 6px; padding: 0; background: none; box-shadow: none; }
#billiardList .evscore b { min-width: 52px; padding: 8px 8px 5px; border-radius: 5px; text-align: center; font-family: var(--f-display); font-size: 34px; font-stretch: 86%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.34)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
#billiardList .evscore b.top { color: var(--neon-core); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); text-shadow: 0 0 2px rgba(var(--accent-rgb), 1), 0 0 12px rgba(var(--accent-rgb), 0.75); }
#billiardList .evscore i { color: rgba(var(--trim-rgb), 0.6); }
#billiardList .evscore.vs { padding: 4px 6px; }
#billiardList .evscore.vs em { font-family: var(--f-display); font-size: 26px; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.95); animation: none; }
#billiardList .evscore.vs small { font-family: var(--f-mono); letter-spacing: 0.06em; color: var(--ink-2); }
#billiardList .evpips i { height: 5px; border-radius: 2px; }
/* что за матч — строкой через точку; точка держится за предыдущее слово, строка переносится после неё */
#billiardList .evinfo { display: block; padding: 0 28px; text-align: center; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.6; color: var(--ink-3); }
#billiardList .evinfo span + span::before { content: "\00a0·\0020"; color: rgba(var(--accent-rgb), 0.75); }
#billiardList .evfr { font-family: var(--f-mono); }
#billiardList .evfr b { font-family: var(--f-display); }
#billiardList .evfacts span { border-radius: 4px; background: rgba(0, 0, 0, 0.45); }
#billiardList .evfacts small { font-family: var(--f-mono); }
#billiardList .evfacts b { font-family: var(--f-display); }
#billiardList .evmore .btn { display: inline-flex; align-items: center; gap: 8px; }
#billiardList .hxmore, #billiardBetsHistory .hxmore { min-height: 44px; border-radius: 4px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(0, 0, 0, 0.45); }

/* ---------- игроки, история ставок, колхоз — те же плиты ---------- */
#billiardPlayers .pl, #billiardBetsHistory .hx { border: 0; border-radius: 8px; background: var(--hudc), var(--metal); box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 34px 60px -34px rgba(0, 0, 0, 0.95); }
#billiardPlayers .pl::before, #billiardBetsHistory .hx::before { left: 34px; right: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 16%, var(--trim) 50%, var(--accent) 84%, transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.6); }
#billiardBetsHistory .hx::after { opacity: 0.4; }
#billiardPlayers .plnote { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); }
#billiardPlayers .plcard { --c: var(--accent); border: 0; border-radius: 6px; background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
#billiardPlayers .plcard:hover, #billiardPlayers .plcard:focus-visible { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.65); }
#billiardPlayers .plcard.top { --c: var(--gold); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
#billiardPlayers .plcard::before { background: radial-gradient(circle at 50% 0, rgba(var(--accent-rgb), 0.16), transparent 62%); }
#billiardPlayers .plrank { border-radius: 2px; font-family: var(--f-mono); }
#billiardPlayers .plface img, #billiardPlayers .plface u { font-family: var(--f-display); color: var(--a-ink);
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 7%, transparent 8%), radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.55), var(--accent) 48%, #05070a 140%); }
#billiardPlayers .plname { font-family: var(--f-display); font-size: 18px; }
#billiardPlayers .plrate b { font-family: var(--f-display); }
#billiardPlayers .plrate small, #billiardPlayers .plline, #billiardPlayers .plgo { font-family: var(--f-mono); }
#billiardBetsHistory .hxcount { border-radius: 2px; padding: 5px 9px 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
#billiardBetsHistory .hxsum { border-radius: 2px; font-family: var(--f-mono); letter-spacing: 0.06em; }
#billiardBetsHistory .hxdash, #billiardBetsHistory .hxrow { border: 0; border-radius: 6px; background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
#billiardBetsHistory .hxnums b, #billiardBetsHistory .hxpool b, #billiardBetsHistory .hxring b { font-family: var(--f-display); }
#billiardBetsHistory .hxnums span, #billiardBetsHistory .hxspark small, #billiardBetsHistory .hxrow small, #billiardBetsHistory .hxtag, #billiardBetsHistory .hxmine, #billiardBetsHistory .hxsplit .names { font-family: var(--f-mono); }
#billiardBetsHistory .hxmain b { font-family: var(--f-display); letter-spacing: 0.02em; text-transform: uppercase; }
#billiardBetsHistory .hxtag { border-radius: 2px; }
#billiardBetsHistory .hxpool em { border-radius: 2px; font-family: var(--f-display); }
#billiardKolhoz .khp, #billiardKolhoz .khpairs, #billiardKolhoz .khgames { border: 0; border-radius: 6px; background: var(--hudc), var(--metal); box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl); }
#billiardKolhoz .khw b { font-family: var(--f-display); letter-spacing: 0.02em; }
#billiardKolhoz .khsum b, #billiardKolhoz .khn { font-family: var(--f-display); }
#billiardKolhoz .khw small, #billiardKolhoz .khsum small, #billiardKolhoz .khnote, #billiardKolhoz .khgame > span small { font-family: var(--f-mono); }
#billiardKolhoz .khscale { border-radius: 2px; background: rgba(0, 0, 0, 0.55); }
#billiardKolhoz .khava { border: 2px solid rgba(var(--accent-rgb), 0.5); font-family: var(--f-display); }
#billiardKolhoz .kz-rules { margin-top: 26px; }

/* ---------- бильярд на планшете и телефоне ---------- */
@media (max-width: 1080px) {
  .bk-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-flow > li:nth-child(3)::before { display: none; }
}
@media (max-width: 860px) {
  .bk-arena { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "pot pot" "a b"; gap: 12px; }
  .bk-arena > .bk-pot { grid-area: pot; justify-self: center; width: 172px; height: 172px; }
  .bk-arena > .bk-side.a { grid-area: a; } .bk-arena > .bk-side.b { grid-area: b; }
  .bk-side, .bk-side.b { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tok" "sn" "sv" "coef" "pick"; justify-items: center; gap: 8px; padding: 14px 10px; text-align: center; }
  .bk-side.b .bk-sv { justify-content: center; }
  .bk-sn { max-width: 100%; }
  .bk-pick { margin-top: 4px; justify-self: stretch; }
}
@media (max-width: 760px) {
  .bk-bg i { background-image: url(img/billiard-hall-stake-m.webp); background-position: 50% 40%; }
  :root[data-project="onewin"] .bk-bg i { background-image: url(img/billiard-hall-onewin-m.webp); }
  #billiardList .fchips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  #billiardList .fchip { padding: 9px 4px; font-size: 10.5px; letter-spacing: 0.06em; }
  .bk-lcs { flex: 1 1 100%; }
  .bk-lcs .bk-lc { flex: 1 1 0; min-width: 0; padding-right: 10px; }
  .bk-lc small { letter-spacing: 0.08em; }
  #billiardTop .sec-art { width: 116px; margin: 6px -6px -4px 0; }
  .bk-board, .bk-bets, .bk-how, #billiardStats .bstat { padding: 18px 14px 18px; }
  .bk-board { margin-top: 26px; gap: 18px; }
  .bk-board::before, .bk-bets::before { left: 16px; right: 16px; }
  .bk-head { gap: 8px 10px; }
  .bk-kind { flex: 1 1 100%; order: 3; font-size: 11px; }
  .bk-watch { min-height: 44px; padding: 8px 12px; }
  /* дуэль в эфире: счёт сверху во всю ширину, игроки под ним */
  .bk-duel { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "mid mid" "a b"; gap: 14px 10px; }
  .bk-ava { width: 78px; height: 78px; }
  .bk-ava u { font-size: 30px; }
  .bk-name { font-size: 18px; }
  .bk-cell { min-width: 86px; padding: 12px 12px 8px; font-size: 64px; }
  .bk-score > i { font-size: 34px; }
  .bk-lamps { gap: 4px; }
  .bk-lamps i { width: 11px; height: 11px; }
  /* ближайший матч: игроки и «VS» в ряд, дата и отсчёт под ними */
  .bk-duel.is-next { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "a vs b" "when when when"; }
  .bk-duel.is-next > .bk-mid { display: contents; }
  .bk-duel.is-next .bk-vs { grid-area: vs; align-self: center; font-size: 46px; }
  .bk-duel.is-next .bk-when { grid-area: when; }
  .bk-cdu { min-width: 0; flex: 1 1 0; max-width: 72px; padding: 9px 4px 7px; }
  .bk-cdu b { font-size: 28px; }
  .bk-cd { width: 100%; gap: 4px; }
  .bk-cd > i { font-size: 18px; margin-top: -14px; }
  .bk-date { font-size: 11px; letter-spacing: 0.1em; }
  .bk-foot { gap: 12px; }
  .bk-intake { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "clk ik ip" "go go go"; gap: 10px 12px; padding: 10px; }
  .bk-clock { width: 58px; height: 58px; }
  .bk-clock b { font-size: 13px; }
  .bk-ik b { font-size: 15px; }
  .bk-ip b { font-size: 24px; }
  .bk-ig { width: 100%; }
  .bk-todo { grid-template-columns: minmax(0, 1fr); }
  .bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bk-tile { padding: 14px 8px 12px; }
  .bk-val { font-size: 30px; }
  .bk-bh { align-items: stretch; }
  .bk-bal { width: 100%; }
  .bk-tabs { grid-template-columns: minmax(0, 1fr); }
  .bk-pay { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .bk-sums button { flex: 1 1 0; min-width: 0; padding: 8px 6px; }
  .bk-sums input { flex: 1 1 100%; max-width: none; }
  .bk-place { width: 100%; white-space: normal; line-height: 1.25; }
  /* как устроено: шаги строками — значок слева, слова справа; котёл — картинкой во всю ширину */
  .bk-flow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bk-flow > li { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic b" "ic t"; justify-items: start; align-items: center; gap: 3px 14px; padding: 12px 14px; text-align: left; }
  .bk-flow > li > .bk-fi { grid-area: ic; }
  .bk-flow > li > b { grid-area: b; align-self: end; }
  .bk-flow > li > span { grid-area: t; align-self: start; }
  .bk-flow > li + li::before { left: 36px; top: -8px; width: 2px; height: 8px; }
  .bk-flow > li.is-pot { grid-template-areas: "pic pic" "b b" "t t"; justify-items: center; text-align: center; }
  .bk-flow > li.is-pot > .bk-potpic { grid-area: pic; max-width: 260px; }
  .bk-flow > li:last-child { padding: 0; }
  .bk-fa { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic b" "ic t"; justify-items: start; align-items: center; gap: 3px 14px; padding: 12px 40px 12px 14px; text-align: left; }
  .bk-fa > .bk-fi { grid-area: ic; } .bk-fa > b { grid-area: b; align-self: end; } .bk-fa > span { grid-area: t; align-self: start; }
  .bk-fa > .ico { top: 50%; margin-top: -8px; }
  .bk-line { gap: 6px; }
  .bk-lk, .bk-lr { white-space: normal; line-height: 1.3; }
  #billiardList { margin-top: 26px; }
  #billiardList .evp b { font-size: 15px; }
  #billiardPlayers .plline { font-size: 10.5px; letter-spacing: 0; }
  #billiardPlayers .plrate { gap: 5px; } #billiardPlayers .plrate b { font-size: 20px; } #billiardPlayers .plrate small { font-size: 9px; letter-spacing: 0.02em; }
  #billiardBetsHistory .hxmain b { font-size: 13.5px; }
  #billiardList .evscore b { min-width: 40px; font-size: 26px; }
}
@media (max-width: 400px) {
  .bk-lcs.has-v .bk-lc small { display: none; }
  .bk-intake { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "clk ik" "clk ip" "go go"; row-gap: 8px; }
  .bk-ip { justify-items: start; text-align: left; }
  .bk-ik b { white-space: nowrap; }
  .bk-tab { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
  .bk-tmine { grid-column: 2; justify-self: start; }
  #billiardPlayers .plcard .bform { gap: 3px; } #billiardPlayers .plcard .bform i { width: 17px; height: 17px; font-size: 10px; }
  #billiardPlayers .plline { max-width: 100%; font-size: 10px; text-align: center; }
  #billiardTop .sec-art { width: 104px; }
  .bk-cell { min-width: 74px; font-size: 54px; }
  .bk-ava { width: 68px; height: 68px; }
  .bk-name { font-size: 16px; }
  .bk-duel.is-next .bk-vs { font-size: 38px; }
  .bk-cdu b { font-size: 24px; }
  .bk-cdu small { letter-spacing: 0.1em; }
  .bk-lamps i { width: 10px; height: 10px; }
  .bk-side { padding: 12px 8px; }
  .bk-sn { font-size: 16px; }
  .bk-sv { flex-direction: column; align-items: center; gap: 3px; }
  .bk-sv b { font-size: 24px; }
  .bk-tt b { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-fresh .bk-board, .bxfresh .bk-bets, .bk-vs, .bk-pick::after, .bk-st i::after, .bk-dot::after, .bk-potpic .sp { animation: none !important; }
  .bk-potpic .sp { opacity: 1; }
  .bk-ava, .bk-td, .bk-tdp, .bk-side, .bk-tab, .bk-intake, .bk-clock .tm { transition: none; }
}
/* ==================================================================================================
   Бильярдный вечер (billiard.js, 18.11.2026). Первый экран на бильярдном эфире — трансляция Kick в раме табло и рядом табло матча;
   ниже панель вечера (фонд крупно и суммы мест, мои фишки и место или «Забрать»), ставка в одно касание (две карточки игроков с
   коэффициентом, быстрые суммы, кольцо приёма, итог с анимацией), таблица вечера и мои ставки. HUD и неон банды, как у табло;
   цвета игроков — --a и --b раздела. На телефоне всё в одну колонку, нажимается пальцем, без прокрутки вбок.
   ================================================================================================== */
#billiardEvening, #billiardTable { scroll-margin-top: calc(var(--top-h) + var(--sub-h) + 14px); }
/* трансляция и табло рядом */
.bk-board.is-air { gap: 16px; }
.bk-board.is-air::before { background: linear-gradient(90deg, transparent, var(--bad) 18%, var(--gold) 50%, var(--bad) 82%, transparent); }
.bk-airgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); grid-template-areas: "side tv"; gap: 16px; align-items: stretch; }
.bk-airside { grid-area: side; min-width: 0; display: grid; }
.bk-tv { grid-area: tv; position: relative; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000;
  box-shadow: 0 0 0 1px rgba(var(--bad-rgb), 0.55), 0 0 0 5px #050607, 0 0 0 6px rgba(255, 255, 255, 0.08), 0 30px 70px -30px rgba(var(--bad-rgb), 0.5); }
.bk-tv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bk-snd { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 4px; cursor: pointer;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(5, 7, 10, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 10px 30px -10px #000; transition: background-color 0.2s, transform 0.2s; }
.bk-snd:hover { background: rgba(var(--bad-rgb), 0.85); transform: translateY(-1px); }
.bk-snd .ico { width: 18px; height: 18px; }
.bk-aside { display: grid; align-content: start; gap: 10px; padding: 14px; border-radius: 6px; background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px var(--edge-1); }
.bk-ah { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bk-af { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.bk-ar { --k: var(--a); --k-rgb: var(--a-rgb); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(var(--k-rgb), 0.14), rgba(var(--k-rgb), 0.02)); box-shadow: inset 3px 0 0 var(--k); }
.bk-ar.b { --k: var(--b); --k-rgb: var(--b-rgb); }
.bk-ar.is-lead { box-shadow: inset 3px 0 0 var(--k), inset 0 0 0 1px rgba(var(--k-rgb), 0.5); }
.bk-ava.sm { width: 42px; height: 42px; padding: 2px; }
.bk-ava.sm img, .bk-ava.sm u { border-width: 2px; font-size: 17px; }
.bk-an { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.bk-ab { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bk-ab small { color: var(--ink-3); }
.bk-as { min-width: 46px; padding: 4px 8px 2px; border-radius: 4px; text-align: center; font-family: var(--f-display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--k);
  background: rgba(0, 0, 0, 0.45); text-shadow: 0 0 18px rgba(var(--k-rgb), 0.7); font-variant-numeric: tabular-nums; }
.bk-ain { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 4px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--gold); background: rgba(var(--gold-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.bk-ain span { flex: 1 1 auto; }
.bk-ain .ico { width: 18px; height: 18px; }
.bk-anext { display: grid; gap: 6px; margin: 0; }
.bk-anext b { font-family: var(--f-display); font-size: 18px; font-weight: 800; text-transform: uppercase; }
.bk-anext small { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }

/* панель вечера */
.ev-panel, .ev-bet, .ev-table, .ev-mybets { position: relative; isolation: isolate; overflow: hidden; border-radius: 8px;
  background: var(--hudc), radial-gradient(70% 120% at 100% 0%, rgba(var(--gold-rgb), 0.1), transparent 60%), var(--metal);
  box-shadow: inset 0 0 0 1px var(--edge-1), inset 0 1px 0 var(--hl), 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
.ev-panel::before, .ev-bet::before { content: ""; position: absolute; z-index: 1; left: 34px; right: 34px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--gold-lo) 18%, var(--gold-hi) 50%, var(--gold-lo) 82%, transparent); box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.6), 0 0 30px rgba(var(--gold-rgb), 0.25); }
.ev-panel { margin-top: 18px; display: grid; gap: 18px; padding: 24px 30px 22px; }
.bxfresh .ev-panel, .bxfresh .ev-bet { animation: bk-in 0.55s var(--ease-out) both; }
.ev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ev-head .bk-k .ico, .ev-bt .bk-k .ico, .ev-th .bk-k .ico { width: 16px; height: 16px; }
.ev-st { --c: var(--ink-2); --c-rgb: 214, 224, 232; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 5px 11px 4px 9px; border-radius: 3px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); background: rgba(var(--c-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), 0.55); }
.ev-st.s-live { --c: var(--ok); --c-rgb: var(--ok-rgb); }
.ev-st.s-end { --c: var(--gold); --c-rgb: var(--gold-rgb); }
.ev-st i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.is-on .ev-st.s-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ping 1.6s ease-out infinite; }
.ev-mode, .ev-cnt { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-mode { color: var(--gold); }
.ev-mode .ico, .ev-cnt .ico { width: 15px; height: 15px; }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ev-fund { display: grid; align-content: start; gap: 8px; padding: 16px 18px; border-radius: 6px; background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.35); }
.ev-fund > small, .ev-me > small { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.ev-usd { font-family: var(--f-display); font-size: clamp(54px, 6vw, 84px); font-weight: 800; line-height: 0.95; letter-spacing: 0.01em; color: var(--gold-hi);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(var(--gold-rgb), 0.45)); font-variant-numeric: tabular-nums; }
.ev-places { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.ev-places li, .ev-wins li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 12px 5px 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ev-places i, .ev-wins i, .ev-rows i { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-family: var(--f-display); font-size: 14px; font-weight: 800;
  color: #10120a; background: linear-gradient(180deg, #e8edf2, #8e9aa6); }
.ev-places .p1 i, .ev-wins .p1 i, .ev-rows .p1 i { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.ev-places .p3 i, .ev-wins .p3 i, .ev-rows .p3 i { background: linear-gradient(180deg, #f0bb92, #a8683a); }
.ev-places span { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-places b { font-family: var(--f-display); font-size: 20px; font-weight: 800; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.ev-me { position: relative; display: grid; align-content: center; justify-items: start; gap: 8px; padding: 16px 18px; border-radius: 6px; background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.4); }
.ev-chips { font-family: var(--f-display); font-size: clamp(44px, 5vw, 66px); font-weight: 800; line-height: 1; color: var(--accent); text-shadow: 0 0 26px rgba(var(--accent-rgb), 0.55); font-variant-numeric: tabular-nums; }
.ev-chips.bump { animation: ev-bump 0.9s var(--ease-out) both; }
.ev-chips.bump.lose { animation-name: ev-shake; }
@keyframes ev-bump { 0% { transform: scale(1); } 30% { transform: scale(1.12); text-shadow: 0 0 40px rgba(var(--gold-rgb), 0.9); color: var(--gold-hi); } 100% { transform: scale(1); } }
@keyframes ev-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.ev-place { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.ev-place b { font-family: var(--f-display); font-size: 20px; color: var(--ink); }
.ev-pz { padding: 4px 9px 3px; border-radius: 2px; font-style: normal; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.ev-fly { position: absolute; right: 18px; top: 14px; font-family: var(--f-display); font-size: 30px; font-weight: 800; color: var(--gold-hi); text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.8);
  animation: ev-fly 2.4s var(--ease-out) both; pointer-events: none; }
.ev-fly.lose { color: var(--bad); text-shadow: none; }
.ev-fly.back { color: var(--ink-2); text-shadow: none; }
@keyframes ev-fly { 0% { opacity: 0; transform: translateY(16px) scale(0.8); } 18% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
.ev-claim { width: 100%; min-height: 64px; justify-content: center; gap: 12px; font-size: 16px; white-space: normal; line-height: 1.2; }
.ev-claim .ico { width: 22px; height: 22px; }
.ev-me .ev-claim + small { justify-self: center; text-transform: none; letter-spacing: 0.04em; font-size: 11.5px; }
.ev-me.is-why { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); }
.ev-why { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 12px; }
.ev-why > .ico { grid-row: span 2; width: 28px; height: 28px; color: var(--gold); }
.ev-why b { font-family: var(--f-display); font-size: 20px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.ev-why small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.03em; line-height: 1.35; color: var(--ink-2); }
.ev-me.is-why .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.ev-after { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
.ev-wins { display: grid; gap: 8px; }
.ev-wins small { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.ev-wins ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ev-wins li span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ev-wins li b { font-family: var(--f-display); color: var(--gold-hi); }
.ev-myprize { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-radius: 4px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: 0 12px 30px -12px rgba(var(--gold-rgb), 0.7); }
.ev-myprize .ico { width: 18px; height: 18px; }
.ev-rules, .ev-cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.ev-rules span { padding: 6px 10px 5px; border-radius: 2px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ev-rules .ev-18 { color: var(--ink-3); }
.ev-rules .ev-18 b, .bk-lr b { color: var(--bad); }
.ev-cmd { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ev-cmd .ico { width: 18px; height: 18px; color: var(--ok); }
.ev-cmd code { padding: 4px 8px 3px; border-radius: 3px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ok); background: rgba(var(--ok-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--ok-rgb), 0.35); }
.ev-note { margin: 0; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }

/* ставка в одно касание */
.ev-bet { margin-top: 18px; display: grid; gap: 16px; padding: 24px 30px 26px; background: var(--hudc), radial-gradient(60% 120% at 0% 0%, rgba(var(--a-rgb), 0.12), transparent 60%),
  radial-gradient(60% 120% at 100% 0%, rgba(var(--b-rgb), 0.12), transparent 60%), var(--metal); }
.ev-bh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.ev-bt { display: grid; gap: 10px; justify-items: start; }
.ev-clock { position: relative; display: grid; place-items: center; width: 84px; height: 84px; }
.ev-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ev-clock circle { fill: none; stroke-width: 3.5; }
.ev-clock .t { stroke: rgba(255, 255, 255, 0.1); }
.ev-clock .tm { stroke: var(--gold); stroke-dasharray: 100; stroke-linecap: round; transition: stroke-dashoffset 0.9s linear, stroke 0.3s; }
.ev-clock.hot .tm { stroke: var(--bad); }
.ev-clock b { position: relative; margin-top: -8px; font-family: var(--f-display); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ev-clock small { position: absolute; bottom: 18px; font-family: var(--f-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.ev-clock.hot b { color: var(--bad); }
.ev-clock.shut { width: auto; height: auto; display: inline-flex; gap: 8px; padding: 8px 12px; border-radius: 4px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ev-clock.shut small { position: static; font-size: 11px; }
.ev-clock.shut .ico { position: static; width: 18px; height: 18px; color: var(--ink-3); transform: none; }      /* значок закрытого приёма не кольцо: в потоке, не поверх подписи */
.ev-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-tab { display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "i b" "i s"; align-items: center; column-gap: 10px; min-height: 52px; padding: 8px 14px 8px 10px; border: 0; border-radius: 6px;
  color: inherit; font: inherit; text-align: left; cursor: pointer; background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: box-shadow 0.2s, background-color 0.2s; }
.ev-tab .ico { grid-area: i; width: 20px; height: 20px; color: var(--ink-3); }
.ev-tab b { grid-area: b; font-family: var(--f-display); font-size: 16px; font-weight: 800; text-transform: uppercase; }
.ev-tab small { grid-area: s; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-tab.is-open small, .ev-tab.is-open .ico { color: var(--gold); }
.ev-tab.on { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.16), rgba(var(--gold-rgb), 0.03)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.85); }
.ev-cards { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 14px; }
.ev-vs { align-self: center; font-family: var(--f-display); font-size: 34px; font-weight: 800; color: var(--ink-3); text-shadow: 0 0 18px rgba(var(--gold-rgb), 0.35); }
.ev-card { --k: var(--a); --k-rgb: var(--a-rgb); --k-ink: var(--a-ink); position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; min-width: 0; padding: 18px 12px 14px; border: 0; border-radius: 8px;
  color: inherit; font: inherit; text-align: center; cursor: pointer; background: linear-gradient(180deg, rgba(var(--k-rgb), 0.12), rgba(0, 0, 0, 0.45) 70%); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s; }
.ev-card.b { --k: var(--b); --k-rgb: var(--b-rgb); --k-ink: var(--b-ink); }
.ev-card:not([disabled]):hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.75), 0 20px 40px -22px rgba(var(--k-rgb), 0.8); }
.ev-card.on, .ev-card.mine { box-shadow: inset 0 0 0 2px var(--k), 0 0 40px -12px rgba(var(--k-rgb), 0.9); }
.ev-card[disabled] { cursor: default; }
.ev-card.won::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--gold), 0 0 40px -8px rgba(var(--gold-rgb), 0.9); animation: ev-won 1.4s var(--ease-out) both; pointer-events: none; }
@keyframes ev-won { 0% { opacity: 0; transform: scale(0.96); } 40% { opacity: 1; transform: scale(1.02); } 100% { opacity: 1; transform: none; } }
.ev-ava { display: grid; place-items: center; width: 96px; height: 96px; padding: 4px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--k), rgba(var(--k-rgb), 0.12) 35%, var(--k) 62%, rgba(var(--k-rgb), 0.16) 85%, var(--k)); box-shadow: 0 0 30px -8px rgba(var(--k-rgb), 0.85); }
.ev-ava img, .ev-ava u { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; text-decoration: none; border: 3px solid #05070a;
  font-family: var(--f-display); font-size: 36px; font-weight: 800; color: var(--k-ink); background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.55), var(--k) 48%, #05070a 140%); }
.ev-nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 24px); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.ev-kf { padding: 6px 14px 4px; border-radius: 4px; font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--k-ink); background: var(--k); box-shadow: 0 10px 26px -10px rgba(var(--k-rgb), 0.9); }
.ev-on { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ev-on b { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ev-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 12px 4px; border-radius: 15px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--k); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.6); }
.ev-tag .ico { width: 14px; height: 14px; }
.ev-card.on .ev-tag, .ev-card.mine .ev-tag { color: var(--k-ink); background: var(--k); }
.ev-tag.win { color: var(--gold-ink) !important; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)) !important; }
.ev-tag.lose { color: var(--ink-3) !important; background: rgba(0, 0, 0, 0.5) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.ev-pay { display: grid; gap: 12px; padding: 14px; border-radius: 8px; background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ev-pay.wait .ev-sums { opacity: 0.8; }
.ev-sums { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-sums button { flex: 1 1 0; min-width: 76px; min-height: 48px; padding: 8px 10px; border: 0; border-radius: 6px; cursor: pointer; color: var(--ink); font-family: var(--f-display); font-size: 18px; font-weight: 800;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transition: background-color 0.15s, box-shadow 0.15s; font-variant-numeric: tabular-nums; }
.ev-sums button small { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); }
.ev-sums button.max { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.ev-sums button.on { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: none; }
.ev-sums button.on small { color: var(--gold-ink); }
.ev-sums input { flex: 1 1 120px; min-width: 0; max-width: 180px; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 6px; font-family: var(--f-display); font-size: 20px; font-weight: 800; color: var(--ink);
  background: rgba(0, 0, 0, 0.6); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); }
.ev-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.ev-est { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.ev-est b { font-family: var(--f-display); font-size: 20px; color: var(--gold-hi); }
.ev-est .ico { width: 16px; height: 16px; }

.ev-go .ev-placebtn { min-height: 56px; padding: 10px 26px; font-size: 16px; }
.ev-mine { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 6px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--ink-2);
  background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); }
.ev-mine .ico { flex: none; width: 18px; height: 18px; color: var(--gold); }
.ev-mine b { color: var(--ink); }
.ev-mine.win { box-shadow: inset 0 0 0 1px var(--gold), 0 0 30px -10px rgba(var(--gold-rgb), 0.9); }
.ev-mine.win b { color: var(--gold-hi); }
.ev-mine.lose { opacity: 0.75; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ev-res { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "i b e" "i s e"; align-items: center; gap: 2px 14px; padding: 14px 18px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.22), rgba(var(--gold-rgb), 0.04)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.8), 0 0 50px -16px rgba(var(--gold-rgb), 0.9);
  animation: ev-res 0.7s var(--ease-out) both; }
.ev-res > .ico { grid-area: i; width: 34px; height: 34px; color: var(--gold-hi); }
.ev-res b { grid-area: b; font-family: var(--f-display); font-size: 22px; font-weight: 800; text-transform: uppercase; }
.ev-res span { grid-area: s; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.ev-res em { grid-area: e; font-style: normal; font-family: var(--f-display); font-size: 34px; font-weight: 800; color: var(--gold-hi); text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.8); }
.ev-res.lose { background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.55); animation-name: ev-res-lose; }
.ev-res.lose > .ico, .ev-res.lose b { color: var(--bad); }
.ev-res.back { background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.ev-res.back > .ico, .ev-res.back em { color: var(--ink-2); text-shadow: none; }
@keyframes ev-res { 0% { opacity: 0; transform: translateY(-10px) scale(0.97); } 60% { transform: scale(1.01); } 100% { opacity: 1; transform: none; } }
@keyframes ev-res-lose { 0% { opacity: 0; transform: translateX(-10px); } 40% { transform: translateX(6px); } 70% { transform: translateX(-3px); } 100% { opacity: 1; transform: none; } }

/* таблица вечера и мои ставки */
.ev-two { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ev-two.one { grid-template-columns: minmax(0, 1fr); }
.ev-table, .ev-mybets { display: grid; gap: 12px; padding: 20px 22px; }
.ev-th { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.ev-th small { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-th small.plus { color: var(--ok); }
.ev-th small.minus { color: var(--bad); }
.ev-rows, .ev-hist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ev-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 64px; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.38); }
.ev-rows li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ev-rows li span small { margin-left: 4px; padding: 2px 6px; border-radius: 2px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55); }
.ev-rows li b { font-family: var(--f-display); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ev-rows li em { justify-self: end; font-style: normal; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--gold-hi); }
.ev-rows li.me { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.04)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
.ev-rows li.p1 { box-shadow: inset 3px 0 0 var(--gold); }
.ev-rows li.me.p1 { box-shadow: inset 3px 0 0 var(--gold), inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
.ev-hist li { display: grid; grid-template-columns: minmax(0, 1fr) auto 92px; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border-radius: 6px; background: rgba(0, 0, 0, 0.38); box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.15); }
.ev-hw { display: grid; gap: 2px; min-width: 0; }
.ev-hw b { font-family: var(--f-display); font-size: 15px; font-weight: 800; text-transform: uppercase; }
.ev-hw small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.ev-ha { font-family: var(--f-display); font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ev-hist li em { justify-self: end; font-style: normal; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.ev-hist li.win { box-shadow: inset 3px 0 0 var(--gold); }
.ev-hist li.win em { font-family: var(--f-display); font-size: 17px; color: var(--gold-hi); }
.ev-hist li.lose em { color: var(--bad); }
.ev-hist li.wait { box-shadow: inset 3px 0 0 var(--accent); }
.ev-hist li.wait em { color: var(--accent); }
.ev-flow > li .bk-fi .ico { width: 24px; height: 24px; }
.bk-flow.ev-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bk-flow.ev-flow > li:last-child { padding: 16px 10px 15px; }
.bk-flow.ev-flow > li:last-child b { color: var(--gold); }
.bk-aside .bk-facts { margin-top: auto; }
.bk-aside { grid-template-rows: auto auto auto auto 1fr; }

@media (max-width: 1024px) {
  .bk-airgrid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "tv"; }
  .ev-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ev-panel, .ev-bet { padding: 18px 14px; gap: 14px; }
  .bk-flow.ev-flow { grid-template-columns: minmax(0, 1fr); }
  .bk-flow.ev-flow > li:last-child { padding: 12px 14px; }
  .ev-panel::before, .ev-bet::before { left: 16px; right: 16px; }
  .ev-table, .ev-mybets { padding: 16px 12px; }
  .ev-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ev-fund, .ev-me { padding: 14px; }
  .ev-usd { font-size: 56px; }
  .ev-chips { font-size: 48px; }
  .ev-after { grid-template-columns: minmax(0, 1fr); }
  .ev-myprize { width: 100%; }
  .ev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ev-vs { display: none; }
  .ev-card { padding: 14px 8px 12px; }
  .ev-ava { width: 72px; height: 72px; }
  .ev-ava u { font-size: 28px; }
  .ev-kf { font-size: 24px; padding: 5px 10px 3px; }
  .ev-tag { padding: 4px 8px 3px; font-size: 10px; letter-spacing: 0.04em; }
  .ev-on { font-size: 10px; letter-spacing: 0.02em; }
  .ev-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-tab { padding: 8px 10px; }
  .ev-tab b { font-size: 14px; }
  .ev-clock { flex: none; width: 74px; height: 74px; }
  .ev-clock b { font-size: 15px; }
  .ev-clock small { bottom: 14px; font-size: 8px; }
  .ev-clock.shut { width: auto; height: auto; }
  .ev-clock.shut small { font-size: 10px; }
  .ev-bh { flex-wrap: nowrap; }
  .ev-bt { min-width: 0; }
  .ev-sums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-sums button { min-width: 0; }
  .ev-sums input { grid-column: 1 / -1; max-width: none; }
  .ev-go { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ev-go .ev-placebtn { width: 100%; white-space: normal; line-height: 1.25; }
  .ev-res { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "i b" "i s" "e e"; padding: 12px 14px; }
  .ev-res em { justify-self: start; font-size: 28px; }
  .ev-rows li { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; padding: 6px 8px; }
  .ev-rows li em { min-width: 0; }
  .ev-rows li em.none { display: none; }
  .ev-hist li { grid-template-columns: minmax(0, 1fr) auto; }
  .ev-hist li em { grid-column: 1 / -1; justify-self: start; }
  .bk-snd { left: 8px; bottom: 8px; min-height: 40px; padding: 6px 12px; }
  .bk-an { font-size: 15px; }
  .bk-as { font-size: 28px; min-width: 40px; }
  .ev-cmd code { font-size: 12px; }
}
@media (max-width: 400px) {
  .ev-ava { width: 60px; height: 60px; }
  .ev-nm { font-size: 15px; }
  .ev-usd { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .bxfresh .ev-panel, .bxfresh .ev-bet, .ev-chips.bump, .ev-fly, .ev-res, .ev-card.won::after, .ev-st i::after { animation: none !important; }
  .ev-card, .ev-sums button, .ev-clock .tm { transition: none; }
}
/* ставки фишками: рынки, котёл, живая ставка, экспресс, борьба за места (21.11.2026, billiard.js).
   Классика крупно сверху, рынки приёма компактными карточками, исходы кнопками; движутся только transform и opacity */
.ev-bet { overflow: clip; }      /* clip, а не hidden: иначе панель экспресса не прилипает к низу экрана */
.ev-dec { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 4px 8px; border-radius: 3px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-hi); background: rgba(var(--gold-rgb), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }
.ev-dec .ico { width: 14px; height: 14px; }
/* котёл: коэффициент со стрелкой, куда он сдвинулся с прошлого опроса */
.ev-kfw { position: relative; display: inline-block; }
.ev-dir { position: absolute; left: 100%; top: 50%; margin: -5px 0 0 7px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; }
.ev-dir.up { border-bottom: 10px solid var(--ok); filter: drop-shadow(0 0 6px rgba(var(--ok-rgb), 0.8)); }
.ev-dir.down { border-top: 10px solid var(--bad); filter: drop-shadow(0 0 6px rgba(var(--bad-rgb), 0.8)); }
.ev-dir.up.fresh { animation: ev-dir-up 0.9s var(--ease-out) both; }
.ev-dir.down.fresh { animation: ev-dir-down 0.9s var(--ease-out) both; }
@keyframes ev-dir-up { 0% { opacity: 0; transform: translateY(8px); } 60% { opacity: 1; transform: translateY(-3px); } 100% { transform: none; } }
@keyframes ev-dir-down { 0% { opacity: 0; transform: translateY(-8px); } 60% { opacity: 1; transform: translateY(3px); } 100% { transform: none; } }
.ev-pool, .ev-capn { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.45; color: var(--ink-2); }
.ev-pool { padding: 10px 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.09), rgba(var(--gold-rgb), 0.02)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.3); }
.ev-pool .ico, .ev-capn .ico { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--gold); }
.ev-pool.shut { background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ev-pool.shut .ico { color: var(--ink-3); }
.ev-capn { font-size: 11px; color: var(--ink-3); }
.ev-capn b { color: var(--ink); }
.ev-capn.half { color: var(--gold); }
.ev-capn.half .ico { color: var(--gold-hi); }
.ev-on { text-align: center; }

/* рынки приёма */
.ev-mks { display: grid; gap: 12px; padding-top: 6px; }
.ev-mkhd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.ev-mkhd .bk-k .ico { width: 16px; height: 16px; }
.ev-xmode { display: inline-flex; padding: 3px; border-radius: 6px; background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ev-xmode button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 0; border-radius: 4px; cursor: pointer; color: var(--ink-2); background: transparent;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 0.15s, color 0.15s; }
.ev-xmode button .ico { width: 14px; height: 14px; }
.ev-xmode button.on { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.ev-xmode button:last-child.on { color: var(--a-ink); background: var(--accent); box-shadow: 0 0 18px -4px rgba(var(--accent-rgb), 0.8); }
.ev-xtip { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; line-height: 1.4; color: var(--ink-3); }
.ev-xtip.top { color: var(--accent); }
.ev-xtip .ico { flex: none; width: 15px; height: 15px; }
.ev-mkg { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; align-items: start; }
.ev-mk { position: relative; display: grid; gap: 8px; min-width: 0; padding: 13px 13px 12px; border-radius: 6px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.42) 40%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: box-shadow 0.2s, opacity 0.2s; }
.ev-mk.is-sel { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.85), 0 0 30px -14px rgba(var(--gold-rgb), 0.9); }
.ev-mk.in-x { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.85), 0 0 30px -14px rgba(var(--accent-rgb), 0.9); }
.ev-mk.has-mine { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.45); }
.ev-mk.no-x { opacity: 0.42; }
.ev-mk.s-done, .ev-mk.s-void { background: rgba(0, 0, 0, 0.32); }
.ev-mkh { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ev-mkh b { min-width: 0; font-family: var(--f-display); font-size: 16px; font-weight: 800; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.ev-mkst { flex: none; padding: 3px 7px 2px; border-radius: 2px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.ev-mk.s-done .ev-mkst { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.ev-mk.s-shut .ev-mkst { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5); }
.ev-mkt { margin: -2px 0 0; font-family: var(--f-mono); font-size: 11px; line-height: 1.4; color: var(--ink-3); }
.ev-mkn { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-os { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ev-os.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev-o { position: relative; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0; min-height: 70px; padding: 9px 6px 10px; border: 0; border-radius: 5px; cursor: pointer;
  color: inherit; font: inherit; text-align: center; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13); transition: transform 0.15s var(--ease-out), box-shadow 0.15s, background-color 0.15s; }
.ev-o:not([disabled]):hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }
.ev-o:not([disabled]):active { transform: scale(0.97); }
.ev-o[disabled] { cursor: default; }
.ev-ol { max-width: 100%; font-family: var(--f-display); font-size: 13.5px; font-weight: 800; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; text-wrap: balance; }
.ev-oc { font-family: var(--f-display); font-size: 20px; font-weight: 800; line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.ev-oq { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-3); white-space: nowrap; }
.ev-osh { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.35), var(--gold)); }
.ev-om { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--gold-ink); background: var(--gold); }
.ev-om .ico { width: 11px; height: 11px; }
.ev-o.on { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.2), rgba(var(--gold-rgb), 0.05)); box-shadow: inset 0 0 0 2px var(--gold), 0 0 22px -8px rgba(var(--gold-rgb), 0.9); }
.ev-o.on.x { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05)); box-shadow: inset 0 0 0 2px var(--accent), 0 0 22px -8px rgba(var(--accent-rgb), 0.9); }
.ev-o.on.x .ev-oc { color: var(--accent); }
.ev-o.mine { box-shadow: inset 0 0 0 2px rgba(var(--gold-rgb), 0.85); }
.ev-o.won { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.24), rgba(var(--gold-rgb), 0.06)); box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 26px -8px rgba(var(--gold-rgb), 1); }
.ev-o.lost { opacity: 0.45; }
.ev-sg { display: grid; gap: 6px; }
.ev-sg + .ev-sg { margin-top: 2px; }
.ev-sgn { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a); }
.ev-sg.b .ev-sgn { color: var(--b); }
.ev-os.sc { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.ev-os.sc .ev-o { min-height: 62px; }
.ev-os.sc .ev-ol { font-size: 17px; }
.ev-os.sc .ev-oc { font-size: 15px; }
.ev-sg.a .ev-o:not(.on):not(.won) { box-shadow: inset 0 0 0 1px rgba(var(--a-rgb), 0.3); }
.ev-sg.b .ev-o:not(.on):not(.won) { box-shadow: inset 0 0 0 1px rgba(var(--b-rgb), 0.3); }
.ev-mine.sm { padding: 9px 12px; font-size: 12px; line-height: 1.4; }
.ev-mine.back { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.ev-mkres { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 5px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--gold-hi);
  background: rgba(var(--gold-rgb), 0.07); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.35); }
.ev-mkres .ico { flex: none; width: 16px; height: 16px; }
.ev-mkres.void { color: var(--ink-3); background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ev-slip { display: grid; gap: 10px; padding: 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.35); }
.ev-slip .ev-sums button { min-width: 64px; min-height: 44px; }
.ev-slip .ev-sums button:not(.max) { font-size: 16px; }
.ev-slip .ev-go { gap: 8px 12px; }
.ev-slip .ev-placebtn { min-height: 50px; padding: 8px 18px; font-size: 14px; white-space: normal; line-height: 1.2; }
.ev-mklink { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px; border: 0; border-radius: 6px; cursor: pointer; color: inherit; font: inherit; text-align: left;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.08), rgba(0, 0, 0, 0.4)); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.35); transition: box-shadow 0.2s; }
.ev-mklink:hover { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.8); }
.ev-mklink > .ico { flex: none; width: 20px; height: 20px; color: var(--gold); }
.ev-mklink > .ico:last-child { width: 18px; height: 18px; transition: transform 0.2s var(--ease-out); }
.ev-mklink:hover > .ico:last-child { transform: translateX(3px); }
.ev-mklink span { display: grid; gap: 3px; flex: 1 1 auto; min-width: 0; }
.ev-mklink b { font-family: var(--f-display); font-size: 16px; font-weight: 800; text-transform: uppercase; }
.ev-mklink small { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }

/* экспресс: сборка прилипает к низу экрана, пока отмечаешь исходы; мой экспресс с состоянием каждой ноги */
.ev-xbar { position: sticky; bottom: 12px; z-index: 4; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 8px 8px 14px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.03) 70%), var(--m1);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6), 0 -16px 36px -12px rgba(0, 0, 0, 0.95), 0 0 34px -14px rgba(var(--accent-rgb), 0.8); }
.ev-xbar > .ico { flex: none; width: 20px; height: 20px; color: var(--accent); }
.ev-xbt { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ev-xbt b { font-family: var(--f-display); font-size: 16px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.ev-xbt small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; line-height: 1.3; letter-spacing: 0.02em; color: var(--ink-3); }
.ev-xbt small.bad { white-space: normal; color: var(--bad); }
.ev-xbar .ev-xk { margin-left: 6px; font-size: 18px; }
.ev-xbar .btn { flex: none; min-height: 48px; padding: 8px 16px; font-size: 14px; }
.ev-xslip { position: relative; display: grid; gap: 10px; padding: 14px; border-radius: 8px; background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.02) 60%), var(--m1);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 -18px 40px -18px rgba(0, 0, 0, 0.95), 0 0 40px -18px rgba(var(--accent-rgb), 0.8); }
.ev-xslip.mine { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.1), rgba(var(--gold-rgb), 0.02) 60%), var(--m1); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.ev-xslip.mine.s-win { box-shadow: inset 0 0 0 1px var(--gold-hi), 0 0 40px -14px rgba(var(--gold-rgb), 1); }
.ev-xslip.mine.s-lose { opacity: 0.8; box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.5); }
.ev-xh { display: flex; align-items: center; gap: 10px; }
.ev-xh > .ico { flex: none; width: 20px; height: 20px; color: var(--accent); }
.ev-xslip.mine .ev-xh > .ico { color: var(--gold); }
.ev-xh b { font-family: var(--f-display); font-size: 18px; font-weight: 800; text-transform: uppercase; }
.ev-xh span { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-xk { margin-left: auto; font-style: normal; font-family: var(--f-display); font-size: 28px; font-weight: 800; line-height: 1; color: var(--gold-hi); text-shadow: 0 0 18px rgba(var(--gold-rgb), 0.6); font-variant-numeric: tabular-nums; }
.ev-xlegs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ev-xlegs li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 6px 6px 12px; border-radius: 5px; background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 3px 0 0 var(--accent); }
.ev-xlegs li > span { display: grid; gap: 2px; min-width: 0; }
.ev-xlegs small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-xlegs b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-display); font-size: 15px; font-weight: 800; text-transform: uppercase; }
.ev-xlegs em { font-style: normal; font-family: var(--f-display); font-size: 16px; font-weight: 800; color: var(--gold-hi); }
.ev-xdel { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 4px; cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink-2); background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ev-xdel:hover { color: var(--bad); box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.6); }
.ev-xlegs.mine li { box-shadow: inset 3px 0 0 var(--ink-3); padding-right: 10px; }
.ev-xlegs.mine li.win { box-shadow: inset 3px 0 0 var(--ok); }
.ev-xlegs.mine li.lose { box-shadow: inset 3px 0 0 var(--bad); }
.ev-xlegs.mine li.wait { box-shadow: inset 3px 0 0 var(--accent); }
.ev-lst { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ev-lst .ico { width: 14px; height: 14px; }
li.win .ev-lst { color: var(--ok); }
li.lose .ev-lst { color: var(--bad); }
li.wait .ev-lst { color: var(--accent); }
.ev-xrule, .ev-xres { margin: 0; font-family: var(--f-mono); font-size: 11px; line-height: 1.4; color: var(--ink-3); }
.ev-xres { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ev-xres b { font-family: var(--f-display); font-size: 18px; color: var(--gold-hi); }
.ev-xslip .ev-go { gap: 8px 14px; }

/* живая ставка: заметная карточка с отсчётом приёма, потом «ждём шар» и итог */
.ev-lv { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 16px; border-radius: 8px;
  background: radial-gradient(80% 140% at 0% 0%, rgba(var(--bad-rgb), 0.2), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.5));
  box-shadow: inset 0 0 0 1px rgba(var(--bad-rgb), 0.7), 0 0 50px -20px rgba(var(--bad-rgb), 0.9); }
.ev-lv::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--bad-rgb), 0.14), transparent); transform: translateX(-120%); }
.is-on .ev-lv.s-open::after { animation: ev-lv-sweep 2.8s ease-in-out infinite; }
@keyframes ev-lv-sweep { 0% { opacity: 0; transform: translateX(-120%); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(420%); } }
.ev-lv.s-settled { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.75), 0 0 50px -20px rgba(var(--gold-rgb), 0.9); background: radial-gradient(80% 140% at 0% 0%, rgba(var(--gold-rgb), 0.16), transparent 60%), rgba(0, 0, 0, 0.45); }
.ev-lv.s-void { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.45); }
.ev-lvh { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ev-lvt { flex: 1 1 200px; display: grid; gap: 5px; min-width: 0; }
.ev-lvk2 { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bad); }
.ev-lvk2 .ico { width: 15px; height: 15px; }
.ev-lv.s-settled .ev-lvk2 { color: var(--gold); }
.ev-lvt b { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.ev-lvt small { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.4; color: var(--ink-2); }
.ev-lvclock { flex: none; }
.ev-lvclock .tm { stroke: var(--bad); }
.ev-lvst { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 12px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.ev-lvst .ico { width: 16px; height: 16px; }
.ev-lvst.wait .ico { color: var(--bad); }
.is-on .ev-lvst.wait .ico { animation: ev-lv-wait 1.2s ease-in-out infinite; }
@keyframes ev-lv-wait { 50% { opacity: 0.35; transform: scale(0.86); } }
.ev-lvst.done { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: 0 0 20px -6px rgba(var(--gold-rgb), 0.9); }
.ev-lvst.void { color: var(--ink-3); }
.ev-lvps { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 10px; }
.ev-lvps .ev-vs { font-size: 22px; }
.ev-lvp { --k: var(--a); --k-rgb: var(--a-rgb); --k-ink: var(--a-ink); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ava n k" "ava q k";
  align-items: center; column-gap: 10px; row-gap: 2px; min-width: 0; min-height: 72px; padding: 10px 12px; border: 0; border-radius: 6px; cursor: pointer; color: inherit; font: inherit; text-align: left;
  background: linear-gradient(90deg, rgba(var(--k-rgb), 0.16), rgba(0, 0, 0, 0.45) 75%); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.45); transition: transform 0.15s var(--ease-out), box-shadow 0.15s; }
.ev-lvp.b { --k: var(--b); --k-rgb: var(--b-rgb); --k-ink: var(--b-ink); }
.ev-lvp:not([disabled]):hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(var(--k-rgb), 0.9), 0 14px 30px -18px rgba(var(--k-rgb), 0.9); }
.ev-lvp:not([disabled]):active { transform: scale(0.98); }
.ev-lvp[disabled] { cursor: default; }
.ev-lvp.on, .ev-lvp.mine { box-shadow: inset 0 0 0 2px var(--k), 0 0 30px -10px rgba(var(--k-rgb), 0.9); }
.ev-lvp.won { box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 30px -8px rgba(var(--gold-rgb), 1); }
.ev-lvp.lost { opacity: 0.45; }
.ev-lvp .ev-ava { grid-area: ava; width: 52px; height: 52px; padding: 3px; }
.ev-lvp .ev-ava u { font-size: 22px; border-width: 2px; }
.ev-lvn { grid-area: n; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-display); font-size: 17px; font-weight: 800; text-transform: uppercase; }
.ev-lvk { grid-area: k; padding: 6px 10px 4px; border-radius: 4px; font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1; color: var(--k-ink); background: var(--k); }
.ev-lvp small { grid-area: q; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); }
.ev-lvnote { position: relative; z-index: 1; margin: 0; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.ev-lv .ev-slip, .ev-lv .ev-mine, .ev-lv .bk-msg { position: relative; z-index: 1; }

/* борьба за места рядом с моими фишками */
.ev-chases { display: grid; gap: 5px; }
.ev-chase { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.35; color: var(--ink-2); }
.ev-chase .ico { flex: none; width: 16px; height: 16px; color: var(--accent); }
.ev-chase b { font-family: var(--f-display); font-size: 16px; color: var(--ink); }
.ev-chase.prize .ico, .ev-chase.top .ico { color: var(--gold); }
.ev-chase.prize b { color: var(--gold-hi); }
.ev-cmdn { flex: 1 1 100%; font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--ink-3); }

/* мои ставки: ноги экспресса под строкой */
.ev-hist li.has-legs { padding-top: 8px; padding-bottom: 8px; }
.ev-hlegs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ev-hlegs span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.ev-hlegs i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.8); }
.ev-hlegs .win i { background: var(--ok); box-shadow: 0 0 6px rgba(var(--ok-rgb), 0.8); }
.ev-hlegs .lose i { background: var(--bad); box-shadow: none; }
.ev-hlegs .void i { background: var(--ink-3); box-shadow: none; }
@media (max-width: 760px) {
  .ev-mkg { grid-template-columns: minmax(0, 1fr); }
  .ev-mk { padding: 12px 10px 10px; }
  .ev-xmode { width: 100%; }
  .ev-xmode button { flex: 1 1 0; justify-content: center; min-height: 44px; }
  .ev-xbar { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); gap: 8px; padding: 8px 8px 8px 10px; }
  .ev-xbar .btn { padding: 8px 12px; font-size: 13px; }
  .ev-xslip { padding: 12px 10px; }
  .ev-xk { font-size: 24px; }
  .ev-lv { padding: 14px 12px; }
  .ev-lvh { align-items: flex-start; }
  .ev-lvps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ev-lvps .ev-vs { display: none; }
  .ev-lvp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ava" "n" "k" "q"; justify-items: center; row-gap: 6px; padding: 12px 8px; text-align: center; }
  .ev-lvn { max-width: 100%; font-size: 15px; }
  .ev-lvk { font-size: 20px; }
  .ev-slip .ev-placebtn { width: 100%; }
  .ev-mklink { padding: 10px 12px; }
  .ev-dir { margin-left: 5px; }
}
@media (max-width: 400px) {
  .ev-ol { font-size: 12.5px; }
  .ev-oc { font-size: 18px; }
  .ev-o { min-height: 66px; padding: 8px 4px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-dir.fresh, .ev-lv::after, .ev-lvst.wait .ico { animation: none !important; }
  .ev-o, .ev-lvp, .ev-mk, .ev-mklink, .ev-mklink > .ico:last-child { transition: none; }
}
/* колхоз: правила значками вместо абзаца — трое и больше, жёлтый биток, круг сдвигается после партии, итоги в евро */
.kz-rules { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.kz-rules li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 6px 8px; border-radius: 3px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2); background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.kz-rules b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 13px; font-family: var(--f-display); font-size: 14px; font-weight: 800; color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55); }
.kz-ball { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8c8, #ffd23d 45%, #b88a00); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); }
/* задания: контракты банды — очки неоном, полоса прогресса из светодиодных сегментов */
.tsub { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; }
.tmain b, .lot b, .tlhead b { font-family: var(--f-display); font-weight: 700; }
.tpts, .lprice { font-family: var(--f-display); font-weight: 800; text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.4); }
.tpage .task.todo { --c: rgba(var(--trim-rgb), 0.6); }
.task.ready { border-color: rgba(var(--accent-rgb), 0.7); box-shadow: inset 0 1px 0 var(--hl), 0 0 28px -6px rgba(var(--accent-rgb), 0.35); }
.tbar { height: 8px; border-radius: 1px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.6); }
.tbar i { border-radius: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 8px); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.55); }
.tprog, .tlnote, .tihint { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.02em; }
.tibox, .tilink, .tproof input { border-width: 1px; border-radius: 4px; background: rgba(0, 0, 0, 0.45); }
.tilink span { font-family: var(--f-mono); font-size: 13px; }

/* VIP-чат на сайте: защищённый канал в стальном корпусе (оформление Mini App — в chat.css, его не трогаем) */
#view-chat .vchat { border-radius: 10px; border-color: rgba(var(--gold-rgb), 0.45); background: var(--hudc), linear-gradient(180deg, #0d1013, #07090b);
  box-shadow: inset 0 1px 0 var(--hl), 0 0 0 6px #050607, 0 0 0 7px rgba(255, 255, 255, 0.07), 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
#view-chat .vhead { background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.12), transparent 60%), #0a0c0e; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
#view-chat .vhead b { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.02em; }
#view-chat .vhead b::after { content: " · защищённый канал"; font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
#view-chat .vbadge { border-radius: 3px; font-family: var(--f-mono); font-size: 11px; }
#view-chat .vlist { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px); }
#view-chat .vbub { border-radius: 10px 10px 10px 3px; background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
#view-chat .vmsg.mine .vbub { border-radius: 10px 10px 3px 10px; background: rgba(var(--accent-rgb), 0.12); border-color: rgba(var(--accent-rgb), 0.4); }
#view-chat .vname, #view-chat .vmeta { font-family: var(--f-mono); letter-spacing: 0.04em; }
#view-chat .vform, #view-chat .vemoji, #view-chat .vrec { background: #07090b; border-top: 1px solid rgba(255, 255, 255, 0.08); }
#view-chat .vinput { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; background: rgba(0, 0, 0, 0.5); }
#view-chat .vbtn { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; background: linear-gradient(180deg, #1d2228, #121519); }
#view-chat .vsend { border-radius: 6px; }
/* телефон: чат на весь экран (chat.css) — без корпуса и подписи канала */
html.vchat-open #view-chat .vchat { border: 0; border-radius: 0; box-shadow: none; background: var(--bg-2); }
@media (max-width: 760px) { #view-chat .vhead b::after { display: none; } }

/* ==================================================================================================
   Смена банды: «сбой сигнала». Новая тема проступает полосами со сдвигом и цветным расслоением, по экрану проходит луч.
   Только для этой страницы (класс gangs на <html>): у Mini App и оверлея остаётся круговое раскрытие из theme.css.
   ================================================================================================== */
html.gangs::view-transition-old(root), html.gangs::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.gangs::view-transition-new(root) { animation: vt-glitch-new 0.72s both; }
html.gangs::view-transition-old(root) { animation: vt-glitch-old 0.72s both; }
@keyframes vt-glitch-new {
  0% { animation-timing-function: steps(1, end); transform: translate3d(-16px, 0, 0); filter: brightness(1.6);
       clip-path: polygon(0 10%, 100% 10%, 100% 13%, 0 13%, 0 46%, 100% 46%, 100% 49%, 0 49%, 0 80%, 100% 80%, 100% 86%, 0 86%); }
  9% { animation-timing-function: steps(1, end); transform: translate3d(12px, 0, 0); filter: drop-shadow(-5px 0 0 rgba(255, 0, 80, 0.6)) drop-shadow(5px 0 0 rgba(0, 240, 255, 0.6));
       clip-path: polygon(0 4%, 100% 4%, 100% 20%, 0 20%, 0 38%, 100% 38%, 100% 43%, 0 43%, 0 69%, 100% 69%, 100% 72%, 0 72%); }
  18% { animation-timing-function: steps(1, end); transform: translate3d(-7px, 0, 0); filter: drop-shadow(4px 0 0 rgba(255, 0, 80, 0.5)) drop-shadow(-4px 0 0 rgba(0, 240, 255, 0.5));
       clip-path: polygon(0 0, 100% 0, 100% 7%, 0 7%, 0 28%, 100% 28%, 100% 52%, 0 52%, 0 87%, 100% 87%, 100% 95%, 0 95%); }
  27% { animation-timing-function: steps(1, end); transform: translate3d(5px, 0, 0); filter: brightness(1.2);
       clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%, 0 58%, 100% 58%, 100% 65%, 0 65%, 0 89%, 100% 89%, 100% 92%, 0 92%); }
  38% { animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); transform: translate3d(0, 0, 0); filter: none;
       clip-path: polygon(0 0, 100% 0, 100% 56%, 0 56%, 0 79%, 100% 79%, 100% 83%, 0 83%, 0 96%, 100% 96%, 100% 97%, 0 97%); }
  100% { transform: none; filter: none;
       clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 100% 100%, 100% 100%, 0 100%, 0 100%, 100% 100%, 100% 100%, 0 100%); }
}
@keyframes vt-glitch-old {
  0% { animation-timing-function: steps(1, end); transform: none; filter: none; }
  9% { animation-timing-function: steps(1, end); transform: translate3d(9px, 0, 0); filter: brightness(1.25) saturate(1.4); }
  18% { animation-timing-function: steps(1, end); transform: translate3d(-6px, 0, 0); filter: none; }
  27% { animation-timing-function: steps(1, end); transform: translate3d(3px, 0, 0); }
  38%, 100% { transform: none; filter: none; }
}
/* телефон: те же полосы, но без цветного расслоения (фильтры по всему экрану — дорого) */
@media (hover: none), (max-width: 760px) {
  html.gangs::view-transition-new(root) { animation-name: vt-glitch-lite; }
  html.gangs::view-transition-old(root) { animation: none; }
  @keyframes vt-glitch-lite {
    0% { animation-timing-function: steps(1, end); transform: translate3d(-10px, 0, 0); clip-path: polygon(0 10%, 100% 10%, 100% 14%, 0 14%, 0 46%, 100% 46%, 100% 50%, 0 50%, 0 80%, 100% 80%, 100% 86%, 0 86%); }
    14% { animation-timing-function: steps(1, end); transform: translate3d(8px, 0, 0); clip-path: polygon(0 0, 100% 0, 100% 9%, 0 9%, 0 30%, 100% 30%, 100% 52%, 0 52%, 0 86%, 100% 86%, 100% 94%, 0 94%); }
    30% { animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); transform: none; clip-path: polygon(0 0, 100% 0, 100% 48%, 0 48%, 0 74%, 100% 74%, 100% 80%, 0 80%, 0 96%, 100% 96%, 100% 97%, 0 97%); }
    100% { transform: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 100% 100%, 100% 100%, 0 100%, 0 100%, 100% 100%, 100% 100%, 0 100%); }
  }
}
/* луч смены банды: его ставит site.js по событию kolyvan-project и сразу убирает */
.vt-scan { position: fixed; z-index: 95; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.9) 18%, #fff 50%, rgba(var(--accent-rgb), 0.9) 82%, transparent);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.9), 0 0 60px rgba(var(--accent-rgb), 0.5); animation: vt-scan 0.74s cubic-bezier(0.6, 0, 0.2, 1) both; }
@keyframes vt-scan { 0% { transform: translate3d(0, -10px, 0); opacity: 1; } 88% { opacity: 1; } 100% { transform: translate3d(0, 100vh, 0); opacity: 0; } }

/* ==================================================================================================
   Эффекты: неон загорается при появлении, параллакс по прокрутке (композитор, без скрипта), голограмма за курсором
   ================================================================================================== */
/* искры из пропуска: неоновые осколки и голографическое конфетти (полёт — keyframes burst из site.css) */
.fx-burst i { left: -1.5px; top: -7px; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #fff, var(--accent)); box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(var(--accent-rgb), 0.6); }
.fx-burst i.c { left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 1px; background: linear-gradient(135deg, #ff9be8, #8affea 40%, #fff59a 70%, #7ab8ff); box-shadow: 0 0 10px rgba(255, 255, 255, 0.55); }
.fx .bplate.rv .bp-neon { opacity: 0.12; }
.fx .bplate.rv.fx-in .bp-neon { animation: neon-on 1s linear var(--d, 0ms) both; }
@keyframes neon-on { 0% { opacity: 0.12; } 18% { opacity: 0.85; } 26% { opacity: 0.2; } 40% { opacity: 1; } 50% { opacity: 0.45; } 64%, 100% { opacity: 1; } }
/* голографическая плёнка: на компьютере её ведёт курсор (fx.js ставит --hx), на телефоне — прокрутка (ниже, @supports):
   плёнка переливается, только пока листают, как карточка, которую наклоняют в руке; без бесконечной анимации */
/* параллакс: город отстаёт от прокрутки, сейф, рация и метки территории — плывут. Свойство translate отдельное от transform,
   поэтому не мешает наклону и появлениям. Там, где прокрутка не умеет вести анимации, всё просто стоит (на компьютере город
   ведёт fx.js) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hc-img img { animation: px-city linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
    .vlt-safe { animation: px-rise linear both; animation-timeline: view(); }
    .tag-spray { animation: px-drift linear both; animation-timeline: view(); }
    @media (hover: none) { .pass-holo, .rc-foil { animation: holo-scroll linear both; animation-timeline: view(); } }
    .fx section:not(.is-on) :is(.hc-img img, .vlt-safe, .tag-spray, .pass-holo, .rc-foil) { animation-play-state: running !important; }
  }
}
@keyframes px-city { from { translate: 0 0; } to { translate: 0 14vh; } }
@keyframes px-rise { from { translate: 0 44px; } to { translate: 0 -44px; } }
@keyframes px-drift { from { translate: 0 70px; } to { translate: 0 -70px; } }
@keyframes holo-scroll { from { translate: -14% 0; } to { translate: 24% 0; } }

/* ==================================================================================================
   Планшет и телефон
   ================================================================================================== */
@media (max-width: 1180px) { .bh-card { left: 0; } }
@media (max-width: 1080px) {
  .mainnav a { padding: 8px 9px; font-size: 11px; letter-spacing: 0.1em; }
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* маршрут: список шагов — над панелью; в панели заголовок и предмет рядом, действия и жетоны — во всю ширину под ними */
  .mr { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
  .mr-pt { min-height: 60px; }
  .mr[data-mr="stake"] .mr-pt[data-step="hq"] { grid-column: 1 / -1; }      /* у Stake шагов четыре: штаб — во всю строку, без дыры */
  .mr-pt[aria-selected="true"]::after { display: none; }
  .mr-pane { grid-template-columns: minmax(0, 1fr) 150px; grid-template-areas: "txt art" "act act"; align-content: space-between; column-gap: 24px; row-gap: 22px; padding: 28px 30px; }
  .mr-main { display: contents; }
  .mr-txt { align-self: center; }
  .mr-h { font-size: clamp(28px, 4vw, 36px); }
  .mr-act { display: flex; flex-wrap: wrap; align-items: center; }
  .mr-more { flex-basis: 100%; justify-content: flex-start; }
  .mr-pair { width: min(100%, 460px); }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "copy"; min-height: 0; gap: 6px; }
  .boss-hud { width: min(88vw, 440px); margin: 0 auto -9%; align-self: auto; }
  .bh-card { display: none; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 0; }
  .eyebrow, .ht-2, .hero-cta, .hero-age { justify-content: center; }
  .ho { justify-content: center; }
  .hb-meter, .hs-t { text-align: left; }
  .pass { width: 100%; text-align: left; }
  .support { grid-template-columns: minmax(0, 1fr); }
  .comms-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --top-h: 58px; --sub-h: 46px; --gut: 16px; }
  .sec { padding: 76px 0; }
  h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .lead { font-size: 15.5px; }
  /* шапка телефона: знак и ползунок банд; разделы — внизу */
  header .wrap { gap: 10px; }
  .tabbar { background: linear-gradient(180deg, rgba(10, 12, 14, 0.97), #050607); border-top: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 -12px 30px -10px rgba(0, 0, 0, 0.9); }
  .tabbar a { border-radius: 6px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
  .tabbar a.on { color: var(--ink); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.02)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3); }
  .tabbar a.on::before { top: -7px; height: 2px; border-radius: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
  .tabbar a.on .ico { color: var(--accent); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.7)); }
  /* первый экран */
  .hero { padding: 30px 0 50px; }
  .boss-hud { width: min(84vw, 340px); margin-bottom: -11%; }
  .bh-corner { width: 18px; height: 18px; }
  .eyebrow { gap: 6px 8px; font-size: 9.5px; letter-spacing: 0.12em; }
  .hero-title { margin-top: 12px; font-size: clamp(34px, 10.2vw, 50px); }
  .ht-1 { white-space: nowrap; }
  .ht-logo { -webkit-box-reflect: unset; }
  /* приборы предложения: 1WIN — тем же рядом, мельче; Stake — три столбика с делениями */
  .ho { margin-top: 18px; }
  .hb { gap: 0 10px; }
  .hb-meter { gap: 8px; }
  .hb-big { font-size: 42px; }
  .hb-cells { height: 11px; gap: 5px; padding: 3px 5px; }
  .hb-cap { font-size: 9px; letter-spacing: 0.12em; }
  .hb-plus { margin-top: 4px; font-size: 26px; }
  .hb-fs { gap: 6px; margin-top: -3px; }
  .hb-reels { --rh: 40px; padding: 3px; gap: 2px; border-radius: 8px; }
  .hb-fs-t { font-size: 28px; }
  .hs { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hs-i { flex-direction: column; gap: 9px; padding: 0 6px; margin: 0; }
  .hs-i:last-of-type { padding: 0 6px; }
  .hs-t { justify-items: center; gap: 6px; text-align: center; }
  .hs-g { width: 46px; height: 46px; }
  .hs-t b { font-size: 28px; }
  .hs-t small { font-size: 9px; letter-spacing: 0.08em; }
  .hero-cta { margin-top: 20px; width: 100%; flex-direction: column; align-items: stretch; gap: 6px; }
  .cta-w, .cta-w .btn.cta { width: 100%; }
  .btn.cta { justify-content: space-between; min-height: 58px; font-size: 17px; }
  #heroKick { order: 2; min-height: 44px; padding: 8px 14px; border-color: transparent; background: none; box-shadow: none; font-size: 14px; color: var(--ink-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pass-wrap { --pt: 10px; --cl: 14px; --cw: 64px; }
  .pass { min-height: 96px; --nx: calc(100% - 104px); }
  .cp-main { padding: 12px 8px 12px 10px; }
  .cp-code { font-size: 26px; letter-spacing: 0.1em; }
  .cp-note { font-size: 11.5px; }
  .cp-copy { width: 104px; padding: 0 8px; font-size: 10px; letter-spacing: 0.1em; }
  .tk-label { padding: 0 12px 0 16px; font-size: 10px; letter-spacing: 0.2em; }
  .tk-item { font-size: 12px; }
  /* привилегии: одна в ряд; предмет справа от имени, строка «что это» и «когда» — во всю ширину */
  .bgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 30px; }
  .bplate { grid-template-columns: minmax(0, 1fr) 104px; grid-template-rows: auto 1fr auto auto auto; grid-template-areas: "neon art" "name art" "what what" "when when" "go go";
    column-gap: 12px; min-height: 0; padding: 36px 18px 22px 20px; }
  .bplate::before { left: 20px; right: 20px; }
  .bp-code { left: 20px; }
  .bp-art { grid-row: 1 / 3; align-self: center; margin: -22px -8px -8px 0; }
  .bp-neon { font-size: 54px; margin-bottom: 8px; }
  .bp-name { align-self: center; font-size: 28px; }
  .has-neon .bp-name { font-size: 18px; }
  .bp-what { margin-top: 10px; font-size: 14.5px; }
  .has-neon .bp-what { font-size: 14px; }
  .bp-when { margin-top: 16px; }
  .bw { display: flex; width: 100%; }
  .bw i, .bw.by i { flex: 1 1 0; min-width: 0; padding: 0; }
  .bw.by { gap: 3px; padding: 4px 3px; }
  .bw.bd { gap: 8px; padding: 4px 10px; }
  .bp-go { justify-self: start; margin-top: 18px; padding-bottom: 0; }
  .bonus-cta .cta-w, .bonus-cta .btn.cta { width: 100%; }
  .tag-spray { font-size: 34vw; top: 40px; }
  /* маршрут: строки списка ниже, панель — под списком; у каждой панели своя высота (скрытые не занимают места) */
  .mr { margin-top: 30px; gap: 10px; }
  .mr-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mr-pt { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; min-height: 56px; padding: 7px 12px 7px 8px; }
  .mr-n { width: 40px; height: 40px; border-radius: 9px; }
  .mr-n b { font-size: 16px; }
  .mr-n .ico { width: 18px; height: 18px; }
  .mr-name { font-size: 16px; }
  .mr-st { font-size: 9px; letter-spacing: 0.12em; }
  .mr-pt[data-state="done"] .mr-st, .mr-pt[data-state="open"] .mr-st { padding: 5px 7px; }
  .mr-pt[aria-selected="true"]::before { top: 10px; bottom: 10px; }
  .mr-pane { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 12px; row-gap: 18px; padding: 22px 16px 18px; }
  .mr-pane:not(.is-on) { display: none; }
  .mr-k { font-size: 10px; letter-spacing: 0.16em; }
  .mr-h { margin-top: 10px; font-size: 24px; }
  .mr-l { margin-top: 8px; font-size: 13.5px; }
  .mr-act { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mr-go, .mr-promo { width: 100%; min-height: 52px; }
  .mr-more { justify-content: center; margin: 0; }
  .mr-pair { width: 100%; gap: 10px; }
  .mr-btn { min-height: 54px; font-size: 15px; }
  .mr-stamp { padding: 5px 8px 4px; border-width: 2px; font-size: 13px; }
  .mr-meter { margin-top: 10px; }
  .mr-tiles { gap: 14px 6px; }
  .mr-tile { --md: 50px; }
  .mr-tn { font-size: 11.5px; }
  .mr-tip { max-width: 210px; font-size: 12px; }
  /* чёрный рынок, разборки */
  .sc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #refStats .stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crate:hover .cr-img, .crate:hover .cr-photo { transform: none; }
  /* связь */
  .qr { flex-direction: column; text-align: center; }
  .qr img[src*="qr-telegram"], .qr img[src*="qr-telegram"] + div > span:not([id]) { display: none; }   /* свой экран не сосканировать — остаётся кнопка */
  .qr .btn { width: 100%; }
  .qr:hover { transform: none; }
  .bugform, .partner { padding: 16px; }
  .bugrow .btn, .bugrow .btn.go { flex: 1 1 100%; margin-left: 0; }
  .pmail { font-size: 20px; text-align: center; }
  .pbtns .btn { flex: 1 1 0; }
  .cab-cta .btn, .gd-go, .fr-go { white-space: normal; text-align: center; }
}
/* маршрут на узком телефоне: имена шагов и заголовок панели мельче, предмет панели меньше */
@media (max-width: 360px) {
  .mr-name { font-size: 15px; }
  .mr-pane { grid-template-columns: minmax(0, 1fr) 84px; padding: 20px 14px 16px; }
  .mr-h { font-size: 22px; }
}
@media (max-width: 400px) {
  .cp-code { font-size: 23px; letter-spacing: 0.08em; }
  .pass-wrap { --cl: 12px; --cw: 60px; }
  .cp-copy { width: 92px; }
  .pass { --nx: calc(100% - 92px); }
  .hb { gap: 0 8px; }
  .hb-big { font-size: 37px; }
  .hb-plus { font-size: 22px; }
  .hb-reels { --rh: 35px; }
  .hb-fs-t { font-size: 24px; }
  .hs-i { padding: 0 3px; }
  .hs-t b { font-size: 25px; }
  .hs-t small { letter-spacing: 0.04em; }
}
/* спокойный режим телефона: без бесконечного декора за кадром и без размытия подложек (они пересчитываются при прокрутке) */
@media (hover: none), (max-width: 760px) {
  .hc-trails, .bh-scan, .rm-scan, header .wrap::after { display: none; }
  .hb-shine::after, .hs-spin, .hs-chip, .hs-cut { animation: none !important; }
  .pass, .btn.ghost, .bh-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pass { background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015) 38%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.02)), rgba(9, 11, 13, 0.92); }
  .hc-grain { mix-blend-mode: normal; opacity: 0.035; }
  .city-bg i { filter: blur(12px) saturate(1.1); opacity: 0.16; }
  .crest::after { display: none; }
  .is-on .mr-pt[data-state="now"] .mr-st::before { animation: none; }
}

/* ---------- шапка и каркас на планшете и телефоне ---------- */
@media (max-width: 1180px) {
  .brand-t { display: flex; }
  .brand-t small em { display: none; }
  .sec-art { width: clamp(190px, 20vw, 240px); }
}
/* планшет: разделы сайта уходят в меню-лист, в шапке — знак, тумблер, кабинет и кнопка меню */
@media (max-width: 1080px) {
  .mainnav { display: none; }
  .menu-btn { display: block; }
  .topcab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .topcab { padding: 0 12px; }
}
@media (max-width: 900px) {
  .sec-head.has-art { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .sec-art { width: clamp(160px, 26vw, 220px); margin: -20px 0 -40px; }
}
/* телефон: знак с названием, тумблер и меню; разделы страницы — лентой с номерами; кабинет — в нижней панели и в меню */
@media (max-width: 760px) {
  :root { --sub-h: 44px; }
  header { background: var(--bg); }
  .subbar { background: var(--bg-2); }
  header .wrap { gap: 8px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark .live3d { inset: -4px; }
  .brand-t b { font-size: 14px; letter-spacing: 0.1em; }
  .brand-t small { margin-top: 4px; font-size: 8.5px; letter-spacing: 0.22em; }
  .pswitch { gap: 4px; }
  .pswitch .pled { display: none; }
  .pbtn { height: 40px; padding: 0 4px; gap: 0; }
  .pbtn img { height: 15px; }
  .ptog { width: 44px; height: 24px; }
  .plever { width: 18px; height: 18px; }
  .plever::after { inset: 6px; }
  :root[data-project="onewin"] .plever { transform: translate3d(20px, 0, 0); }
  .menu-btn { width: 40px; height: 40px; }
  .menu-btn i { left: 11px; right: 11px; }
  .menu-btn i:nth-child(1) { top: 13px; }
  .menu-btn i:nth-child(2) { top: 19px; right: 16px; }
  .menu-btn i:nth-child(3) { top: 25px; }
  .subtitle { display: none; }
  .subnav { gap: 4px; }
  .subnav a { min-height: 32px; padding: 0 10px; border-radius: 6px; font-size: 11px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
  .subnav a.fx-on { color: var(--ink); background: rgba(var(--accent-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75); }
  /* лента шире экрана: края мягко гаснут — только с той стороны, куда ещё можно прокрутить (fx.js ставит --fl и --fr) */
  .subnav.is-scroll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent); }
  .hr-nodes b { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
  /* стыки: короче и спокойнее — без свечения импульса, засечек и контурного номера */
  .seam-trace::after, .seam-num { display: none; }
  .seam-pulse { width: 110px; box-shadow: none; }
  .seam-read { font-size: 10px; letter-spacing: 0.08em; top: 12px; }
  .seam.is-on .seam-trace { transition-duration: 0.55s; }
  .seam.is-on .seam-pulse { animation-duration: 0.7s; }
  .seam.is-on .seam-node { transition-delay: 0.55s; }
  .seam.is-on .seam-drop { transition-delay: 0.65s; }
  .sec-head .label, .view > section > .wrap > .label { font-size: 10.5px; letter-spacing: 0.14em; }
  .sec-head .label[data-path]::after, .view > section > .wrap > .label[data-path]::after { display: none; }
  /* предмет раздела — справа от заголовка, текст обтекает его по кругу */
  /* предмет раздела — рядом с заголовком: подпись над ними во всю ширину, вводный текст — под ними */
  .sec-head.has-art { grid-template-columns: minmax(0, 1fr) 116px; grid-template-rows: auto auto auto; column-gap: 10px; }
  .sec-head.has-art > .label { grid-column: 1 / -1; }
  .sec-head.has-art > h2 { grid-column: 1; grid-row: 2; align-self: center; }
  .sec-head.has-art > .lead { grid-column: 1 / -1; grid-row: 3; }
  .sec-art { grid-column: 2; grid-row: 2; width: 116px; margin: 6px -6px -4px 0; align-self: center; }
  .sec-art::before { bottom: 0; }
  .seal { width: 64px; height: 64px; }
}
@media (max-width: 400px) { .sec-head.has-art { grid-template-columns: minmax(0, 1fr) 104px; } .sec-art { width: 104px; } }
@media (max-width: 350px) { .brand-t { display: none; } }
/* спокойный режим телефона: огонёк «на связи» стоит */
@media (hover: none), (max-width: 760px) {
  .air { animation: none; opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-run, .hr-run b { display: none; }
  .sheet-box { animation: none; }
  .seam-pulse, .seam-num { display: none; }
  .air { animation: none; }
  .plever { transition: none; }
}

/* ==================================================================================================
   Меньше движения: всё стоит на своих местах и видно сразу
   ================================================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hc-trails, .bh-scan, .rm-scan, .hc-rain, header .wrap::after, .vf, .vt-scan, .rm-svg .rr-flow { display: none !important; }
  .hc-img img, .vlt-safe, .tag-spray, .pass-holo, .rc-foil { animation: none !important; }
  .fx .bplate.rv .bp-neon { opacity: 1 !important; }
  .mr-pane, .mr-pt, .mr-n, .mr-ti, .mr-tile, .mr-tip, .mr-stamp, .mr-copied, .mr-art, .mr-promo, .mr-go, .mr-btn { transition: none !important; }
  .mr-pt[data-state="now"] .mr-st::before { animation: none !important; }
  .tk-view { overflow-x: auto; scrollbar-width: none; }
  .tk-view::-webkit-scrollbar { display: none; }
  .tk-view::after { display: none; }
  .tk-dup { display: none; }
  html.gangs::view-transition-new(root), html.gangs::view-transition-old(root) { animation: none !important; }
}

/* ==================================================================================================
   Надписи Tektur — заглавными (17.11.2026). Строчную «д» этот шрифт рисует как латинскую g: «до 600%» читалось «go 600%»,
   «Неделя банды» — «Негеля банgы». Одно общее правило на все надписи var(--f-display), где бывают буквы: заголовки разделов
   и карточек, значения табло, имена. Новая надпись Tektur с буквами — сюда или text-transform: uppercase в её правиле.
   Как есть остаются цифры и то, что переписывают руками: ник для чаевых (.tc-nick), почта (.pmail), промокод (.cp-code).
   ================================================================================================== */
h2, h3.sub, .stat .v, .sheet-nav a, .bp-neon, .ptxt b, .turf b, .rc-who b, .ranks b, .cr-val, .cr-body > b, .cr-price, .vcard b, .qr b,
.gw-ev, .gw-pt b, .gd-t, .gd-prize b, .gt-title, .gt-cd b, .gt-facts dd, .gb-hd b, .gt-prov b, .gt-how b, .gtk-bt > b, .gs-name,
.gr summary b, .livetitle, .bname, .bwho, .tmain b, .lot b, .tlhead b, .tpts, .lprice, #view-chat .vhead b,
.bk-name, .bk-ava u, .bk-wt, .bk-tdt b, .bk-h3, .bk-note b, .bk-tt b, .bk-tok, .bk-sn, .bk-coef, .bk-pick, .bk-sums button, .bk-pin b, .bk-left, .bk-flow b, .bk-lc b, .bk-bal b,
.bk-val, .bk-mine b, .bk-fans b, .bk-est b, .bk-ik b, .bk-ip b, .bk-clock b, .bk-sh b, .bk-first, .bso span, .bsrow > b, .bch2h b, .evp b, .evscore b, .evfacts b, .hxmain b, .hxnums b, .hxpool b, .plname, .plrate b, .khw b, .khsum b { text-transform: uppercase; }
/* заглавные шире строчных: название записи стрима — до трёх строк, а не обрезка на второй */
.vcard b { -webkit-line-clamp: 3; }
