/* =====================================================================
   INKARIUS — стиль «Эспорт-трансляция» (вариант B).
   Подключается последним на всех страницах. Часть 1: шрифты, шапка, меню, подвал и главная.
   Остальные страницы переводятся на этот стиль по частям.
   ===================================================================== */
:root {
  --b-bg: #0E1013;
  --b-panel: #14171C;
  --b-panel-2: #1A1E24;
  --b-line: #22262D;
  --b-line-2: #2B3038;
  --b-text: #E6E9EE;
  --b-muted: #A9B0BB;
  --b-dim: #8E96A3;
  --b-faint: #5B636F;
  --b-green: #2BD66B;
  --b-green-hi: #5BE88E;
  --b-on-green: #07140C;
  --b-ct: #1E6BD6;
  --b-t: #E0861E;
  --b-red: #FF4655;
  --b-head: 'Oswald', 'Roboto Condensed', system-ui, sans-serif;
  --b-body: 'Roboto Condensed', system-ui, sans-serif;
  --bwrap: 1280px;
}
/* шрифты сайта: перекрываем и старые «виды» (data-style), и правку для Windows */
html, html[data-style], html.win, html[data-style].win { --display: var(--b-head); --body: var(--b-body); --bg: #0E1013; }
html body.bshell, html[data-style] body.bshell { background: var(--b-bg) !important; }

/* ---------- каркас без бокового меню ---------- */
body.bshell { padding: 0 !important; background: var(--b-bg) !important; font-family: var(--b-body); }
body.bshell::before, body.bshell::after { display: none !important; }
body.bshell .container { max-width: var(--bwrap); padding: 0 32px; }
body.bshell .page { padding-left: 0; padding-right: 0; }
body.bshell .page.container { padding-left: 32px; padding-right: 32px; }
body.bshell h1, body.bshell h2, body.bshell h3 { font-family: var(--b-head); }
@media (max-width: 760px) {
  body.bshell .container, body.bshell .page.container { padding-left: 16px; padding-right: 16px; }
}

/* ---------- кнопки со скосом ---------- */
.bbtn, .bh-cta {
  display: inline-flex; align-items: center; justify-content: center;
  transform: skewX(-12deg);
  font-family: var(--b-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.bbtn > span, .bh-cta > span { transform: skewX(12deg); display: inline-flex; align-items: center; gap: 8px; }
.bbtn-g, .bh-cta { background: var(--b-green); color: var(--b-on-green) !important; padding: 16px 32px; font-size: 18px; }
.bbtn-g:hover, .bh-cta:hover { background: var(--b-green-hi); }
.bbtn-o { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px #fff; padding: 16px 30px; font-size: 18px; font-weight: 600; }
.bbtn-o:hover { background: #fff; color: var(--b-bg) !important; }
.bbtn-s, .bh-cta { padding: 10px 18px; font-size: 14px; }
.bbtn:focus-visible, .bh-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.bslant { display: inline-block; transform: skewX(-12deg); }
.bslant > span { display: inline-block; transform: skewX(12deg); }
.bh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--b-red); display: inline-block; flex: none; animation: bPulse 1.4s ease-in-out infinite; }
@keyframes bPulse { 50% { opacity: .3; } }

/* ---------- шапка ---------- */
.bh { position: sticky; top: 0; z-index: 60; background: rgba(14, 16, 19, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--b-line); }
.bh-in { max-width: var(--bwrap); margin: 0 auto; padding: 0 32px; display: flex; align-items: stretch; gap: 8px; min-height: 68px; }
.bh-logo { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; margin-right: 20px; flex: none; }
.bh-mark { width: 38px; height: 38px; background: var(--b-green); transform: skewX(-12deg); display: inline-flex; align-items: center; justify-content: center; }
.bh-mark > span { transform: skewX(12deg); font-family: var(--b-head); font-weight: 700; font-size: 20px; color: var(--b-on-green); }
.bh-name { font-family: var(--b-head); font-weight: 700; font-size: 23px; letter-spacing: .06em; }
.bh-nav { display: flex; align-items: stretch; font-family: var(--b-head); font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.bh-nav > a, .bh-more-btn { display: flex; align-items: center; gap: 6px; padding: 0 14px; color: var(--b-dim); text-decoration: none; background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; transition: color .15s, box-shadow .15s; }
.bh-nav > a:hover, .bh-more-btn:hover { color: #fff; }
.bh-nav > a.active, .bh-more-btn.active { color: #fff; box-shadow: inset 0 -3px 0 var(--b-green); }
.bh-more { position: relative; display: flex; }
.bh-drop { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 220px; background: var(--b-panel); border: 1px solid var(--b-line-2); padding: 6px; display: flex; flex-direction: column; box-shadow: 0 20px 40px -20px #000; text-transform: none; letter-spacing: 0; }
.bh-drop[hidden] { display: none; }
.bh-drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--b-text); text-decoration: none; font-family: var(--b-body); font-size: 16px; font-weight: 500; }
.bh-drop a:hover, .bh-drop a.active { background: var(--b-panel-2); color: #fff; }
.bh-drop small, .bh-panel small { margin-left: auto; font-size: 11px; text-transform: uppercase; color: var(--b-green); letter-spacing: .08em; }
.bh-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bh-cta-live { background: var(--b-red); color: #fff !important; }
.bh-cta-live:hover { background: #FF6A76; }
.bh-cta-live .bh-dot { background: #fff; }
.bh-login { font-family: var(--b-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff !important; text-decoration: none; padding: 8px 6px; }
.bh-user { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px 4px; font: inherit; }
.bh-user .avatar { width: 36px; height: 36px; border-radius: 0; background: var(--b-green); color: var(--b-on-green); font-family: var(--b-head); }
.bh-user-txt { display: flex; align-items: baseline; gap: 6px; font-family: var(--b-head); font-weight: 600; font-size: 16px; max-width: 180px; }
.bh-user-txt > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-user-txt b { color: var(--b-green); font-weight: 500; font-size: 14px; }
.bh .user-menu { position: relative; }
.bh .user-drop { border-radius: 0 !important; background: var(--b-panel) !important; border: 1px solid var(--b-line-2) !important; }
.bh-burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: var(--b-panel); border: 1px solid var(--b-line-2); color: #fff; cursor: pointer; }

/* выезжающее меню (телефон и узкие экраны) */
.bh-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .2s; }
.bh-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(320px, 86vw); background: var(--b-bg); border-left: 1px solid var(--b-line); padding: 20px 16px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; transform: translateX(100%); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.bh-panel > a:not(.bh-cta) { display: flex; align-items: center; gap: 14px; padding: 13px 12px; color: var(--b-muted); text-decoration: none; font-family: var(--b-head); font-size: 17px; text-transform: uppercase; letter-spacing: .06em; }
.bh-panel > a:not(.bh-cta):hover { color: #fff; background: var(--b-panel); }
.bh-panel > a.active { color: #fff; background: var(--b-panel); box-shadow: inset 3px 0 0 var(--b-green); }
.bh-panel > .bh-cta { margin: 0 8px 14px; }
body.side-open .bh-scrim { opacity: 1; pointer-events: auto; }
body.side-open .bh-panel { transform: none; }

/* нижняя панель на телефоне */
.bh-tabs { display: none; }

@media (max-width: 1180px) {
  .bh-nav { display: none; }
  .bh-burger { display: inline-flex; }
}
@media (max-width: 760px) {
  .bh-in { padding: 0 12px 0 16px; min-height: 58px; gap: 10px; }
  .bh-name { font-size: 20px; }
  .bh-mark { width: 32px; height: 32px; }
  .bh-logo { margin-right: 0; }
  .bh-right { gap: 8px; }
  .bh-right > .bh-cta, .bh-user-txt, .bh-login { display: none; }
  .bh-tabs {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: rgba(11, 13, 16, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--b-line); padding-bottom: env(safe-area-inset-bottom);
  }
  .bh-tabs a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 10px; color: var(--b-dim); text-decoration: none; font-size: 11px; }
  .bh-tabs a.active { color: var(--b-green); }
  body.has-tabs { padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
  body.has-tabs .cookie, body.has-tabs .toast-wrap, body.has-tabs .toasts { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}
@media (prefers-reduced-motion: reduce) { .bh-panel, .bh-scrim { transition: none; } .bh-dot { animation: none; } }

/* ---------- подвал ---------- */
html body.bshell > .site-footer.bf, .bf { background: #0B0D10 !important; border: 0 !important; border-top: 1px solid var(--b-line) !important; margin: 72px 0 0 !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; max-width: none !important; width: 100%; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.bf-in { max-width: var(--bwrap); margin: 0 auto; padding: 40px 32px 24px; display: flex; flex-wrap: wrap; gap: 40px; }
.bf-brand { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bf-status { display: flex; align-items: center; gap: 8px; color: var(--b-muted); }
.bf-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--b-green); }
.bf-tg { display: inline-flex; align-items: center; gap: 8px; background: #229ED9; color: #fff !important; padding: 9px 16px; text-decoration: none; font-family: var(--b-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.bf-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.bf-cols > div { display: flex; flex-direction: column; gap: 10px; }
.bf-h { font-family: var(--b-head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-faint); }
.bf-cols a { color: var(--b-dim); text-decoration: none; }
.bf-cols a:hover { color: var(--b-green); }
.bf-copy { max-width: var(--bwrap); margin: 0 auto; padding: 0 32px 28px; font-size: 13px; color: var(--b-faint); }
@media (max-width: 760px) { .bf-in { padding: 32px 16px 20px; } .bf-copy { padding: 0 16px 24px; } }

/* =====================================================================
   ГЛАВНАЯ
   ===================================================================== */
.bhome { padding: 0 0 0 !important; max-width: none !important; }
.bwrap { max-width: var(--bwrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.bempty { padding: 22px; background: var(--b-panel); color: var(--b-muted); border: 1px dashed var(--b-line-2); }
.g { color: var(--b-green) !important; }
.r { color: var(--b-red) !important; }

/* бегущая строка */
.bt { background: var(--b-green); color: var(--b-on-green); overflow: hidden; white-space: nowrap; font-family: var(--b-head); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.bt-in { display: inline-flex; gap: 40px; padding: 8px 0; will-change: transform; }
.bt-in > span, .bt-dup > span { display: inline-block; }
/* вторая копия строки (для бесшовной прокрутки) — тоже с отступами между новостями */
.bt-in > .bt-dup { display: inline-flex; gap: 40px; padding-right: 40px; }
.bt-in > span:not(.bt-dup)::before, .bt-dup > span::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 14px; vertical-align: 1px;
  background: currentColor; transform: skewX(-12deg); opacity: .55;
}
.bt:hover .bt-in { animation-play-state: paused; }
@keyframes bTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* строка едет всегда — даже если на телефоне включено «Уменьшение движения» (там общее правило гасит все анимации);
   при этой настройке просто медленнее */
html body .bt .bt-in { animation: bTick var(--bt-speed, 40s) linear infinite !important; }
html body .bt:hover .bt-in { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { html body .bt .bt-in { animation-duration: calc(var(--bt-speed, 40s) * 1.6) !important; } }

/* первый экран */
.bhero { position: relative; overflow: hidden; border-bottom: 1px solid var(--b-line); }
/* фон первого экрана: карты сменяют друг друга (каждая ~6 с), медленно приближаясь */
.bhero-maps { position: absolute; inset: 0; overflow: hidden; background: var(--b-bg); }
.bhero-maps figure { position: absolute; inset: 0; margin: 0; opacity: 0; }
.bhero-maps img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.4) saturate(.8); }
.bhero-maps figcaption { position: absolute; z-index: 3; right: 32px; top: 24px; font-family: var(--b-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
html body .bhero-maps figure { animation: bMapFade calc(var(--n) * 6s) linear calc(var(--k) * 6s - 1s) infinite !important; }
html body .bhero-maps img { animation: bMapZoom calc(var(--n) * 6s) linear calc(var(--k) * 6s - 1s) infinite !important; }
@keyframes bMapFade { 0% { opacity: 0; } 3% { opacity: 1; } 14.3% { opacity: 1; } 17.3% { opacity: 0; } 100% { opacity: 0; } }
@keyframes bMapZoom { 0% { transform: scale(1.1); } 17.3% { transform: scale(1); } 100% { transform: scale(1); } }
@media (max-width: 760px) { .bhero-maps figcaption { right: 16px; top: 14px; font-size: 11px; } }
.bhero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 16, 19, .96) 0%, rgba(14, 16, 19, .7) 55%, rgba(14, 16, 19, .25) 100%); }
.bhero-in { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 60px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.bhero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.bhero-tag { align-self: flex-start; background: var(--b-green); color: var(--b-on-green); padding: 6px 14px; font-family: var(--b-head); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.bhero-title { margin: 0; font-family: var(--b-head) !important; font-weight: 700; font-size: clamp(48px, 7vw, 92px); line-height: .95; text-transform: uppercase; color: #fff; letter-spacing: 0; }
/* название на первом экране: буквы выезжают по очереди, потом по ним бежит зелёная волна.
   Работает и при «Уменьшении движения» на телефоне — это просто смена цвета букв */
html body h1.bhero-brand, html[data-style] body h1.bhero-brand { font-size: clamp(64px, 18vw, 156px) !important; line-height: .9 !important; letter-spacing: .03em !important; }
.bhero-letters { display: inline-flex; overflow: hidden; padding-bottom: .04em; }
html body .bhero-letters > span {
  display: inline-block; color: #fff;
  animation: bLetterIn .8s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 70ms) both, bLetterWave 5s ease-in-out calc(1.4s + var(--i) * 110ms) infinite !important;
}
@keyframes bLetterIn { from { opacity: 0; transform: translateY(70%) skewX(-12deg); } to { opacity: 1; transform: none; } }
@keyframes bLetterWave {
  0%, 14%, 100% { color: #fff; }
  6% { color: var(--b-green); }
}
.bhero-lead { margin: 0; max-width: 540px; font-size: 20px; line-height: 1.45; color: #C2C8D1; }
.bhero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bhero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 6px 0 0; }
.bhero-stats > div { display: flex; flex-direction: column-reverse; }
.bhero-stats dd { margin: 0; font-family: var(--b-head); font-weight: 700; font-size: 32px; color: #fff; font-variant-numeric: tabular-nums; }
.bhero-stats dt { font-size: 13px; color: var(--b-dim); text-transform: uppercase; letter-spacing: .08em; }

/* табло */
.bscore[hidden] { display: none !important; }
.bscore { flex: 0 1 440px; min-width: 0; width: 100%; }
.bscore-top { display: flex; align-items: center; gap: 8px; font-family: var(--b-head); font-size: 13px; letter-spacing: .14em; color: var(--b-dim); text-transform: uppercase; margin-bottom: 8px; }
.bscore-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.bscore-ct, .bscore-t { padding: 14px 18px; display: flex; flex-direction: column; font-family: var(--b-head); }
.bscore-ct { background: var(--b-ct); }
.bscore-t { background: var(--b-t); text-align: right; }
.bscore-ct span, .bscore-t span { font-size: 13px; letter-spacing: .12em; opacity: .85; text-transform: uppercase; }
.bscore-ct b, .bscore-t b { font-weight: 600; font-size: 22px; }
.bscore-num { background: var(--b-bg); border: 1px solid var(--b-line-2); padding: 0 20px; display: flex; align-items: center; font-family: var(--b-head); font-weight: 700; font-size: 44px; color: #fff; font-variant-numeric: tabular-nums; }
.bscore-num i { font-style: normal; color: #4A515C; margin: 0 8px; }
.bscore-info { background: var(--b-panel); border: 1px solid var(--b-line-2); border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.bscore-info > div { padding: 12px 8px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bscore-info > div + div { border-left: 1px solid var(--b-line-2); }
.bscore-info span { font-size: 12px; color: var(--b-dim); text-transform: uppercase; }
.bscore-info b { font-family: var(--b-head); font-size: 18px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bscore-info a { font-family: var(--b-head); text-transform: uppercase; letter-spacing: .08em; color: var(--b-green); text-decoration: none; }
.bscore-note { margin-top: 8px; font-size: 13px; color: #6F7783; }
.bscore-empty { border: 1px dashed #3A414B; background: rgba(14, 16, 19, .75); padding: 22px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.bscore-k { font-family: var(--b-head); font-size: 12px; letter-spacing: .14em; color: var(--b-dim); text-transform: uppercase; }
.bscore-empty b { font-family: var(--b-head); font-weight: 600; font-size: 24px; color: #fff; text-transform: uppercase; }
.bscore-empty > span:last-child { color: var(--b-muted); }

/* заголовки секций */
.bsec { padding-top: 56px; }
.bsec-last { padding-bottom: 0; }
.bsec[hidden] { display: none; }
.bh2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.bh2::before { content: ""; width: 10px; height: 34px; background: var(--b-green); transform: skewX(-12deg); flex: none; }
.bh2 h2 { margin: 0; font-family: var(--b-head) !important; font-weight: 700; font-size: 36px; line-height: 1.05; text-transform: uppercase; color: #fff; letter-spacing: 0; }
.bh2-more { margin-left: auto; font-family: var(--b-head); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-dim) !important; text-decoration: none; }
.bh2-more:hover { color: var(--b-green) !important; }

/* как начать */
.bsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: var(--b-line); border: 1px solid var(--b-line); }
.bstep { background: var(--b-panel); padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.bstep-n { position: absolute; right: 14px; top: -14px; font-family: var(--b-head); font-weight: 700; font-size: 120px; line-height: 1; color: #1C2026; }
.bstep-t, .bstep-p, .bstep .bbtn { position: relative; }
.bstep-t { font-family: var(--b-head); font-weight: 600; font-size: 24px; text-transform: uppercase; color: #fff; }
.bstep-t small { font-size: 12px; color: var(--b-on-green); background: var(--b-green); padding: 2px 8px; letter-spacing: .1em; vertical-align: middle; }
.bstep-p { color: var(--b-muted); line-height: 1.5; }
.bstep .bbtn { margin-top: 6px; }
.bstep.done { opacity: .6; }

/* своя статистика */
.bme { display: flex; flex-wrap: wrap; gap: 10px; }
.bme-stats { flex: 2 1 420px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--b-line); border: 1px solid var(--b-line); }
.bme-stats > div { background: var(--b-panel); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.bme-stats b { font-family: var(--b-head); font-size: 34px; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.bme-stats span { font-size: 13px; color: var(--b-dim); text-transform: uppercase; }
.bme-list { flex: 1 1 260px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.bme-list li { display: flex; gap: 12px; align-items: center; background: var(--b-panel); padding: 12px 14px; border-left: 4px solid var(--b-faint); }
.bme-list li.w { border-left-color: var(--b-green); }
.bme-list li.l { border-left-color: var(--b-red); }
.bme-list b { font-family: var(--b-head); font-weight: 600; text-transform: uppercase; width: 100px; }
.bme-list span:last-child { margin-left: auto; font-family: var(--b-head); }
@media (max-width: 560px) { .bme-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* открытые лобби */
.blobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.blob { background: var(--b-panel); border: 1px solid var(--b-line); padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s; }
.blob:hover { border-color: var(--b-green); }
.blob-mine { border-color: rgba(43, 214, 107, .5); }
.blob-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.blob-head b { font-family: var(--b-head); font-weight: 700; font-size: 22px; color: #fff; text-transform: uppercase; }
.blob-head span { font-family: var(--b-head); color: var(--b-dim); }
.blob-sub { color: var(--b-muted); }
.blob-sub span { color: #fff; }
.blob-slots { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 4px; }
.blob-slots i { height: 6px; background: var(--b-line-2); }
.blob-slots i.on { background: var(--b-green); }
.blob-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.blob-foot > span { font-family: var(--b-head); font-size: 18px; }
.blob-new { border-style: dashed; align-items: center; justify-content: center; text-align: center; min-height: 170px; text-decoration: none; }
.blob-new b { font-family: var(--b-head); font-weight: 600; font-size: 20px; color: #fff; text-transform: uppercase; }

/* режимы */
.bmodes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.bmode { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--b-panel); text-decoration: none; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .15s; }
.bmode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: transform .4s, filter .3s; }
.bmode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(14, 16, 19, .95)); }
.bmode:hover { outline-color: var(--b-green); }
.bmode:hover img { transform: scale(1.06); filter: brightness(.75); }
.bmode-fun { background: repeating-linear-gradient(-45deg, #2BD66B 0 18px, #25C460 18px 36px); }
.bmode-fun::after { display: none; }
.bmode-fun:hover { outline-color: #fff; }
.bmode-txt { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.bmode-k { font-family: var(--b-head); font-size: 12px; color: var(--b-green); letter-spacing: .1em; text-transform: uppercase; }
.bmode-n { font-family: var(--b-head); font-weight: 700; font-size: 25px; line-height: 1.05; color: #fff; text-transform: uppercase; }
.bmode-s { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--b-muted); margin-top: 4px; }
.bmode-fun .bmode-k, .bmode-fun .bmode-n, .bmode-fun .bmode-s { color: var(--b-on-green); }
@media (max-width: 1100px) { .bmodes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bmode { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .bmodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .bmode { aspect-ratio: auto; height: 120px; } .bmode-n { font-size: 19px; } .bmode-txt { left: 12px; right: 12px; bottom: 10px; } .bmode-s { display: none; } }

/* лучшие игроки */
.btop { display: flex; flex-wrap: wrap; gap: 10px; }
.btop-one { flex: 0 1 340px; min-width: 0; width: 100%; position: relative; overflow: hidden; background: linear-gradient(160deg, #1C3A27, var(--b-panel) 70%); border: 1px solid var(--b-green); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.btop-num { position: absolute; right: 18px; top: 0; font-family: var(--b-head); font-weight: 700; font-size: 110px; line-height: 1; color: rgba(43, 214, 107, .16); }
.btop-one .btop-av { width: 80px; height: 80px; border-radius: 0; font-size: 34px; background: var(--b-green); color: var(--b-on-green); font-family: var(--b-head); }
.btop-name { font-family: var(--b-head); font-weight: 700; font-size: 28px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; }
.btop-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.btop-stats > div { background: rgba(14, 16, 19, .6); padding: 10px 4px; display: flex; flex-direction: column; }
.btop-stats b { font-family: var(--b-head); font-size: 24px; color: #fff; font-weight: 600; }
.btop-stats span { font-size: 12px; color: var(--b-dim); }
.btop-tbl { flex: 1 1 520px; min-width: 0; overflow-x: auto; background: var(--b-panel); border: 1px solid var(--b-line); }
.btop-tbl table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.btop-tbl th { font-family: var(--b-head); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-dim); text-align: right; padding: 12px 16px; border-bottom: 1px solid var(--b-line-2); }
.btop-tbl th:nth-child(-n+2), .btop-tbl td:nth-child(-n+2) { text-align: left; }
.btop-tbl td { padding: 12px 16px; border-bottom: 1px solid #1E2228; text-align: right; font-size: 17px; white-space: nowrap; }
.btop-tbl tr:last-child td { border-bottom: 0; }
.btop-tbl tbody tr:hover td { background: #171A20; }
.btop-pos { font-family: var(--b-head); font-weight: 700; font-size: 20px; color: var(--b-faint); width: 40px; }
.btop-pl { display: flex; align-items: center; gap: 12px; }
.btop-pl .avatar { width: 32px; height: 32px; border-radius: 0; background: var(--b-line-2); color: #C2C8D1; font-family: var(--b-head); }
@media (max-width: 760px) { .btop-tbl th, .btop-tbl td { padding: 10px; } .btop-tbl .avatar { width: 26px; height: 26px; } .btop-pl { gap: 8px; } }
@media (max-width: 560px) { .btop-tbl th:nth-child(3), .btop-tbl td:nth-child(3) { display: none; } .btop-one .btop-av { width: 56px; height: 56px; font-size: 26px; } }

/* последние матчи */
.bres { display: flex; flex-direction: column; gap: 6px; }
.bres-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto minmax(0, 1fr) auto;
  grid-template-areas: "meta a sc b go"; align-items: center; gap: 16px;
  padding: 14px 18px; background: var(--b-panel); border-left: 4px solid var(--b-line-2); text-decoration: none; color: var(--b-text); transition: background .15s;
}
.bres-row.a { border-left-color: var(--b-ct); }
.bres-row.b { border-left-color: var(--b-t); }
.bres-row:hover { background: var(--b-panel-2); }
.bres-meta { grid-area: meta; display: flex; flex-direction: column; font-size: 14px; color: var(--b-dim); }
.bres-meta b { font-family: var(--b-head); font-weight: 500; font-size: 15px; color: #fff; text-transform: capitalize; }
.bres-a, .bres-b { font-family: var(--b-head); font-size: 20px; color: var(--b-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bres-a { grid-area: a; text-align: right; }
.bres-b { grid-area: b; }
.bres-a.w, .bres-b.w { color: #fff; }
.bres-sc { grid-area: sc; font-family: var(--b-head); font-weight: 700; font-size: 24px; color: var(--b-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bres-sc i { font-style: normal; color: #4A515C; margin: 0 6px; }
.bres-sc .w { color: #fff; }
.bres-go { grid-area: go; font-family: var(--b-head); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--b-green); white-space: nowrap; }
@media (max-width: 760px) {
  .bres-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "meta meta meta" "a sc b" "go go go"; gap: 8px 12px; padding: 12px 14px; }
  .bres-meta { flex-direction: row; gap: 8px; align-items: baseline; }
  .bres-a, .bres-b { font-size: 17px; }
  .bres-sc { font-size: 22px; }
  .bres-go { text-align: right; font-size: 12px; }
}

/* всё для матча */
.bfeat { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: var(--b-line); border: 1px solid var(--b-line); }
.bfeat a { background: var(--b-panel); padding: 26px; display: flex; gap: 18px; align-items: flex-start; text-decoration: none; transition: background .15s; }
.bfeat a:hover { background: var(--b-panel-2); }
.bfeat a > b { font-family: var(--b-head); font-weight: 700; font-size: 34px; color: var(--b-green); line-height: 1; }
.bfeat a > span { display: flex; flex-direction: column; gap: 6px; }
.bfeat-t { font-family: var(--b-head); font-weight: 600; font-size: 22px; text-transform: uppercase; color: #fff; }
.bfeat-p { color: var(--b-muted); line-height: 1.5; }

@media (max-width: 760px) {
  .bwrap { padding-left: 16px; padding-right: 16px; }
  .bhero-in { padding-top: 40px; padding-bottom: 32px; gap: 28px; }
  .bhero-lead { font-size: 17px; }
  .bhero-actions .bbtn { flex: 1 1 auto; padding: 14px 18px; font-size: 16px; }
  .bhero-stats { gap: 20px; }
  .bhero-stats dd { font-size: 26px; }
  .bsec { padding-top: 40px; }
  .bh2 h2 { font-size: 26px; }
  .bh2::before { height: 26px; width: 8px; }
  .bscore-num { font-size: 36px; padding: 0 12px; }
  .bscore-ct, .bscore-t { padding: 12px; }
  .bstep { padding: 20px; }
  .bstep-n { font-size: 90px; }
  .bfeat a { padding: 20px; }
}

/* =====================================================================
   МАГАЗИН
   ===================================================================== */
.bshop { padding: 0 !important; max-width: none !important; }

/* монета: скошенная плашка бренда с «I» */
.bshop-coin {
  display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.18em;
  background: radial-gradient(circle at 30% 25%, #B9FFD2 0, #4BE68A 35%, #1E9F4F 75%, #11733A 100%);
  border-radius: 50%; position: relative;
  box-shadow: inset 0 0 0 .08em rgba(255, 255, 255, .35), inset 0 -.12em .2em rgba(0, 0, 0, .35), 0 .1em .4em rgba(43, 214, 107, .35);
}
.bshop-coin::after { content: ""; position: absolute; left: 50%; top: 22%; width: 18%; height: 56%; margin-left: -9%; background: #07140C; transform: skewX(-12deg); border-radius: 1px; }
.bshop-coin-lg { font-size: 64px; }

/* шапка-витрина */
.bshop-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--b-line); }
.bshop-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.35) saturate(1.1); }
.bshop-hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(60% 120% at 85% 50%, rgba(43, 214, 107, .22), transparent 60%), linear-gradient(90deg, rgba(14, 16, 19, .97) 0%, rgba(14, 16, 19, .75) 55%, rgba(14, 16, 19, .45) 100%); }
.bshop-hero-in { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; justify-content: space-between; }
.bshop-hero-text { flex: 1 1 420px; min-width: 0; }
.bshop-eyebrow { font-family: var(--b-head); font-size: 13px; letter-spacing: .3em; color: var(--b-green); }
html body .bshop-hero h1 { margin: 8px 0 12px; font-family: var(--b-head) !important; font-weight: 700; font-size: clamp(56px, 8vw, 104px) !important; line-height: .9; text-transform: uppercase !important; letter-spacing: 0 !important; color: #fff; }
.bshop-hero p { margin: 0; max-width: 520px; color: #C2C8D1; font-size: 18px; line-height: 1.5; }
.bshop-wallet { flex: 0 1 400px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; padding: 24px 26px;
  background: linear-gradient(150deg, rgba(43, 214, 107, .16), rgba(20, 23, 28, .92) 55%); border: 1px solid rgba(43, 214, 107, .55);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bshop-wallet-txt { display: flex; flex-direction: column; min-width: 0; }
.bshop-wallet-k { font-family: var(--b-head); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--b-dim); }
.bshop-wallet b { font-family: var(--b-head); font-weight: 700; font-size: 46px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.bshop-wallet-u { color: var(--b-green); font-size: 14px; }
.bshop-topup { grid-column: 1 / -1; margin-top: 10px; }

/* разделы */
.bshop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 28px; }
.bshop-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.bshop-tabs button { transform: skewX(-12deg); background: var(--b-panel); border: 1px solid var(--b-line-2); color: var(--b-dim); padding: 10px 20px; cursor: pointer;
  font-family: var(--b-head); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .15s, border-color .15s, background .15s; }
.bshop-tabs button:hover { color: #fff; border-color: #3A414B; }
.bshop-tabs button[aria-selected="true"] { background: var(--b-green); border-color: var(--b-green); color: var(--b-on-green); }
.bshop-bar-note { font-size: 13px; color: var(--b-faint); }

/* витрина */
.bshop-list { padding-top: 22px; }
.bshop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.bshop-card { position: relative; display: flex; flex-direction: column; background: var(--b-panel); border: 1px solid var(--b-line); overflow: hidden; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; width: 100%;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), border-color .2s, box-shadow .2s; }
.bshop-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ac); }
.bshop-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ac) 60%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--ac) 45%, transparent); }
.bshop-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(70% 70% at 50% 55%, color-mix(in srgb, var(--ac) 30%, transparent), transparent 70%),
              repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px), #101318; }
.bshop-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s; }
.bshop-card:hover .bshop-art img { transform: scale(1.05); }
.bshop-tagart { font-family: var(--b-head); font-weight: 700; font-size: 60px; color: var(--ac); letter-spacing: .02em;
  text-shadow: 0 0 28px color-mix(in srgb, var(--ac) 55%, transparent), 0 2px 0 rgba(0, 0, 0, .4); transition: transform .3s; }
.bshop-card:hover .bshop-tagart { transform: scale(1.06); }
.bshop-fig { width: 34%; height: auto; fill: color-mix(in srgb, var(--ac) 70%, #fff); opacity: .9; filter: drop-shadow(0 0 20px color-mix(in srgb, var(--ac) 50%, transparent)); }
.bshop-modelart { font-family: var(--b-head); font-weight: 600; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 0 16px; text-align: center; position: relative; }
.bshop-kind, .bshop-term { position: absolute; top: 14px; z-index: 1; font-family: var(--b-head); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; }
.bshop-kind { left: 0; background: rgba(14, 16, 19, .82); color: #fff; border-left: 3px solid var(--ac); }
.bshop-term { right: 12px; background: rgba(14, 16, 19, .82); color: var(--b-muted); border: 1px solid var(--b-line-2); }
.bshop-term.forever { color: #1A1300; background: linear-gradient(90deg, #E4AE39, #FFD27A); border-color: transparent; }
.bshop-ribbon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 7px 14px; background: color-mix(in srgb, var(--b-green) 88%, transparent); color: var(--b-on-green);
  font-family: var(--b-head); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.bshop-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
html body .bshop-name { margin: 0; font-family: var(--b-head) !important; font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: #fff; letter-spacing: 0; }
.bshop-descr { margin: 0; color: var(--b-muted); line-height: 1.45; font-size: 15px; min-height: 2.9em; }
.bshop-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding-top: 12px; border-top: 1px solid var(--b-line); }
.bshop-price { display: flex; align-items: center; gap: 8px; font-size: 26px; }
.bshop-price b { font-family: var(--b-head); font-weight: 700; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.bshop-buy { padding: 11px 20px !important; margin-right: 4px; }
.bshop-buy[disabled] { font-size: 12px !important; padding: 10px 14px !important; }
.bshop-have { font-family: var(--b-head); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-green); }
.bbtn[disabled] { opacity: .5; cursor: not-allowed; }
.bshop-empty { padding: 22px; background: var(--b-panel); color: var(--b-muted); border: 1px dashed var(--b-line-2); }
.bshop-empty-big { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 56px 20px;
  background: radial-gradient(50% 80% at 50% 0%, rgba(43, 214, 107, .1), transparent 70%), var(--b-panel); }
.bshop-empty-big b { font-family: var(--b-head); font-size: 26px; text-transform: uppercase; color: #fff; }

/* мои покупки */
.bshop-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.bshop-mine > .bshop-empty { grid-column: 1 / -1; }
.bshop-mrow { display: flex; align-items: center; gap: 16px; background: var(--b-panel); border: 1px solid var(--b-line); border-left: 4px solid var(--ac, var(--b-green)); padding: 14px 16px; }
.bshop-mkind { font-family: var(--b-head); font-weight: 700; font-size: 20px; color: var(--ac, var(--b-green)); min-width: 64px; text-align: center; }
.bshop-minfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bshop-minfo b { font-family: var(--b-head); font-weight: 600; font-size: 17px; text-transform: uppercase; color: #fff; }
.bshop-minfo > span { font-size: 13px; color: var(--b-muted); }
.bshop-mbar { display: block; height: 4px; background: var(--b-line-2); margin-top: 4px; }
.bshop-mbar > i { display: block; height: 100%; background: var(--ac, var(--b-green)); }
.bfeat > div { background: var(--b-panel); padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.bfeat > div > b { font-family: var(--b-head); font-weight: 700; font-size: 34px; color: var(--b-green); line-height: 1; }
.bfeat > div > span { display: flex; flex-direction: column; gap: 6px; }
.bfeat-p b { color: #fff; }

@media (max-width: 760px) {
  .bshop-hero-in { padding-top: 36px; padding-bottom: 32px; gap: 22px; }
  .bshop-hero p { font-size: 16px; }
  .bshop-wallet { flex: 1 1 100%; padding: 18px; }
  .bshop-coin-lg { font-size: 48px; }
  .bshop-wallet b { font-size: 38px; }
  .bshop-bar-note { display: none; }
  .bshop-tabs button { padding: 9px 14px; font-size: 13px; }
  .bshop-art { aspect-ratio: 16 / 8; }
  .bshop-tagart { font-size: 48px; }
  .bshop-fig { width: 20%; }
  .bshop-descr { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .bshop-card, .bshop-art img, .bshop-tagart { transition: none; } }

/* админка → магазин */
.sh-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sh-row .input { flex: 1 1 180px; min-width: 0; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sh-grid [hidden] { display: none !important; }
.sh-off { opacity: .55; }
.sh-always { margin-top: 18px; align-items: flex-start; line-height: 1.5; }
.sh-hrow { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 0; border-bottom: 1px solid var(--line, #232723); font-size: 14px; }
.bh-shoplink .bh-coinchip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; background: rgba(43, 214, 107, .12); border: 1px solid rgba(43, 214, 107, .35); font-family: var(--b-head); font-size: 14px; color: #fff; }
.bh-shoplink { display: flex !important; align-items: center; }

/* карточка — кнопка: внутренние блоки */
.bshop-card .bshop-art, .bshop-card .bshop-body, .bshop-card .bshop-foot { display: flex; }
.bshop-card .bshop-body { flex-direction: column; }
.bshop-card .bshop-name { display: block; font-family: var(--b-head); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: #fff; }
.bshop-card .bshop-descr { display: block; }
.bshop-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bshop-price small { font-size: 14px; color: var(--b-dim); text-transform: uppercase; letter-spacing: .08em; font-family: var(--b-head); }
.bshop-more { font-family: var(--b-head); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ac); }
.bshop-card:hover .bshop-more { color: #fff; }

/* окно покупки — панель справа (на телефоне — снизу) */
.bbuy-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .2s; }
.bbuy-scrim.on { opacity: 1; }
.bbuy { position: fixed; z-index: 81; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); overflow-y: auto; background: #12151A; border-left: 1px solid var(--b-line-2);
  transform: translateX(100%); transition: transform .25s cubic-bezier(.16, 1, .3, 1); box-shadow: -30px 0 60px -20px #000; }
.bbuy.on { transform: none; }
.bbuy::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ac); z-index: 2; }
.bbuy-x { position: absolute; z-index: 3; top: 12px; right: 12px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14, 16, 19, .85); border: 1px solid var(--b-line-2); color: #fff; cursor: pointer; }
.bbuy-x:hover { border-color: #fff; }
.bbuy-art { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 55%, color-mix(in srgb, var(--ac) 32%, transparent), transparent 70%), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px), #0E1115; }
.bbuy-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.bbuy-art .bshop-tagart { font-size: 72px; }
.bbuy-art .bshop-fig { width: 22%; }
.bbuy-body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.bbuy-kind { align-self: flex-start; font-family: var(--b-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
html body .bbuy-name { margin: 0; font-family: var(--b-head) !important; font-weight: 700; font-size: 34px !important; line-height: 1; text-transform: uppercase !important; letter-spacing: 0 !important; color: #fff; }
.bbuy-descr { margin: 0; color: var(--b-muted); line-height: 1.5; }
.bbuy-h { margin-top: 12px; font-family: var(--b-head); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--b-dim); display: flex; align-items: center; gap: 10px; }
.bbuy-h::after { content: ""; flex: 1; height: 1px; background: var(--b-line-2); }
.bbuy-h[hidden] { display: none; }
.bbuy-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.bbuy-feats li { position: relative; padding: 10px 12px 10px 36px; background: var(--b-panel); border: 1px solid var(--b-line); color: #E6E9EE; }
.bbuy-feats li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 10px; height: 6px; margin-top: -5px; border-left: 2px solid var(--ac); border-bottom: 2px solid var(--ac); transform: rotate(-45deg); }
.bbuy-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; padding: 5px; background: #0B0D10; border: 1px solid var(--b-line); }
.bbuy-terms button { background: transparent; border: 0; padding: 12px 8px; color: var(--b-dim); cursor: pointer; font-family: var(--b-head); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .15s, color .15s; }
.bbuy-terms button:hover { color: #fff; }
.bbuy-terms button[aria-checked="true"] { background: var(--ac); color: #0B0D10; }
.bbuy-own { font-size: 14px; color: var(--b-green); }
.bbuy-total { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 40px; }
.bbuy-total b { font-family: var(--b-head); font-weight: 700; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.bbuy-total span:last-child { font-size: 18px; color: var(--b-dim); font-family: var(--b-head); }
.bbuy-after { font-size: 14px; color: var(--b-muted); min-height: 1.2em; }
.bbuy-pay { margin-top: 8px; width: 100%; padding: 18px !important; font-size: 20px !important; }
body.bbuy-on { overflow: hidden; }
@media (max-width: 760px) {
  .bbuy { top: auto; left: 0; width: 100%; max-height: 92vh; border-left: 0; border-top: 1px solid var(--b-line-2); transform: translateY(100%); }
  .bbuy.on { transform: none; }
  .bbuy-art { aspect-ratio: 16 / 7; }
  html body .bbuy-name { font-size: 28px !important; }
  .bbuy-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .bbuy, .bbuy-scrim { transition: none; } }
.bbuy-pay[disabled] { background: var(--b-line-2) !important; color: var(--b-muted) !important; opacity: 1; }

/* =====================================================================
   ПРОФИЛЬ ИГРОКА (публичный)
   ===================================================================== */
.bplayer { padding: 0 !important; max-width: none !important; }
.bp-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--b-line); }
.bp-hero-bg { position: absolute; inset: 0; background: url("modes/comp.jpg?v=1") center / cover no-repeat; filter: brightness(.28) saturate(.7) blur(2px); transform: scale(1.05); }
.bp-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 100% at 50% 0%, rgba(43, 214, 107, .14), transparent 70%), linear-gradient(180deg, rgba(14, 16, 19, .3), var(--b-bg)); }
.bp-hero-in { position: relative; z-index: 2; padding-top: 28px; }
.bp-meta { display: flex; justify-content: flex-end; gap: 4px; }
.bp-vote, .bp-views { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(20, 23, 28, .85); border: 1px solid var(--b-line-2); color: var(--b-muted); font-family: var(--b-head); font-size: 16px; }
.bp-vote { cursor: pointer; transition: color .15s, border-color .15s; }
.bp-vote:not([disabled]):hover { color: #fff; border-color: #3A414B; }
.bp-vote.on { color: var(--b-green); border-color: var(--b-green); }
.bp-vote.bad.on { color: var(--b-red); border-color: var(--b-red); }
.bp-vote[disabled] { cursor: default; }
.bp-vote b, .bp-views b { color: #fff; font-weight: 600; }
.bp-id { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 18px; }
.bp-av { position: relative; flex: none; }
.bp-av .bp-avatar { width: 128px; height: 128px; border-radius: 0; font-size: 52px; font-family: var(--b-head); background: var(--b-green); color: var(--b-on-green); box-shadow: 0 0 0 3px var(--b-bg), 0 0 0 5px var(--b-line-2); }
.bp-dot { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: #3A414B; border: 4px solid var(--b-bg); }
.bp-dot.on { background: var(--b-green); }
.bp-dot.game { background: var(--b-green); box-shadow: 0 0 0 4px rgba(43, 214, 107, .25); animation: bPulse 1.6s ease-in-out infinite; }
.bp-who { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
html body .bp-nick { margin: 0; font-family: var(--b-head) !important; font-weight: 700; font-size: clamp(36px, 6vw, 60px) !important; line-height: 1; letter-spacing: 0 !important; color: #fff; overflow-wrap: anywhere; }
.bp-status { font-size: 16px; }
.bp-play { display: inline-flex; align-items: center; gap: 8px; color: var(--b-green); font-family: var(--b-head); font-weight: 600; font-size: 18px; letter-spacing: .04em; }
.bp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-tag { display: inline-block; padding: 4px 10px; font-family: var(--b-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--c, #fff); background: color-mix(in srgb, var(--c, #fff) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c, #fff) 45%, transparent); text-decoration: none; }
.bp-clan { --c: #C2C8D1; }
.bp-links { display: flex; gap: 6px; }
.bp-steam { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: #171A21; border: 1px solid var(--b-line-2); color: #C7D5E0; }
.bp-steam:hover { border-color: #66C0F4; color: #fff; }
.bp-tabs { display: flex; gap: 8px; margin-top: 28px; padding-bottom: 20px; flex-wrap: wrap; }
.bp-tabs button { transform: skewX(-12deg); background: var(--b-panel); border: 1px solid var(--b-line-2); color: var(--b-dim); padding: 11px 22px; cursor: pointer;
  font-family: var(--b-head); font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.bp-tabs button:hover { color: #fff; }
.bp-tabs button[aria-selected="true"] { background: var(--b-green); border-color: var(--b-green); color: var(--b-on-green); }
.bp-count { font-size: 12px; padding: 1px 7px; background: rgba(0, 0, 0, .3); }
.bp-count.red { background: var(--b-red); color: #fff; }
.bplayer .bsec { padding-top: 36px; }
.bp-sub { margin-top: 36px; }
.bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bp-grid + .bp-grid { margin-top: 8px; }
.bp-tile { background: var(--b-panel); border: 1px solid var(--b-line); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bp-tile b { font-family: var(--b-head); font-weight: 700; font-size: 32px; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.bp-tile > span { font-size: 13px; color: var(--b-dim); text-transform: uppercase; letter-spacing: .08em; }
.bp-ids .bp-tile b { font-size: 20px; font-weight: 500; overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.bp-ids .bp-copy { vertical-align: 2px; }
.bp-lvl { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; transform: skewX(-12deg); background: linear-gradient(160deg, #5BE88E, #1E9F4F); color: var(--b-on-green); font-size: 26px; }
.bp-copy { background: none; border: 0; color: var(--b-faint); cursor: pointer; font-size: 18px; padding: 0 4px; }
.bp-copy:hover { color: var(--b-green); }
.bp-ghead { font-family: var(--b-head); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-dim); margin: 18px 0 10px; }
.bp-privs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.bp-priv { position: relative; background: radial-gradient(80% 70% at 50% 30%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), var(--b-panel); border: 1px solid var(--b-line); border-top: 3px solid var(--c); padding: 20px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.bp-priv img { width: 100%; height: 64px; object-fit: contain; }
.bp-priv-ico { font-family: var(--b-head); font-weight: 700; font-size: 28px; color: var(--c); }
.bp-priv b { font-family: var(--b-head); font-weight: 700; font-size: 18px; text-transform: uppercase; color: #fff; }
.bp-priv span:last-child { font-size: 13px; color: var(--b-muted); }
.bp-bans { display: flex; flex-direction: column; gap: 6px; }
.bp-ban { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px 16px; background: var(--b-panel); border: 1px solid var(--b-line); }
.bp-ban.act { border-left: 4px solid var(--b-red); }
.bp-ban-h { background: none; border: 0; padding-top: 0; padding-bottom: 0; font-family: var(--b-head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-dim); }
.bp-ban-t { color: var(--b-red); display: inline-flex; }
.bp-ban-a { font-family: var(--b-head); font-weight: 600; color: #fff; }
.bp-st { font-style: normal; font-size: 12px; padding: 1px 6px; margin-left: 6px; background: var(--b-line-2); color: var(--b-muted); text-transform: uppercase; }
.bp-st.on { background: var(--b-red); color: #fff; }
a.bp-link { color: inherit; text-decoration: none; }
a.bp-link:hover { color: var(--b-green); }
@media (max-width: 760px) {
  .bp-id { gap: 16px; }
  .bp-av .bp-avatar { width: 88px; height: 88px; font-size: 36px; }
  .bp-meta { justify-content: flex-start; }
  .bp-vote, .bp-views { padding: 6px 10px; font-size: 14px; }
  .bp-tabs button { padding: 9px 14px; font-size: 13px; }
  .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-grid.bp-ids { grid-template-columns: 1fr; }
  .bp-tile b { font-size: 24px; }
  .bp-ids { grid-template-columns: 1fr; }
  .bp-ban { grid-template-columns: 32px 1fr; }
  .bp-ban > span:nth-child(n+3) { grid-column: 2; }
  .bp-ban-h { display: none; }
}

.bp-matches { display: flex; flex-direction: column; gap: 6px; }
.bp-m { display: grid; grid-template-columns: 4px 140px 1fr auto auto; align-items: center; gap: 16px; background: var(--b-panel); border: 1px solid var(--b-line); padding: 12px 16px 12px 0; }
.bp-m > i { align-self: stretch; background: var(--b-red); }
.bp-m.w > i { background: var(--b-green); }
.bp-m-map { font-family: var(--b-head); font-weight: 600; font-size: 18px; text-transform: capitalize; color: #fff; }
.bp-m-res { font-family: var(--b-head); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--b-red); }
.bp-m.w .bp-m-res { color: var(--b-green); }
.bp-m-sc { font-family: var(--b-head); font-weight: 700; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }
.bp-m-kd { font-family: var(--b-head); font-size: 16px; color: var(--b-muted); min-width: 80px; text-align: right; }
.bp-m-kd small { font-size: 11px; color: var(--b-faint); letter-spacing: .1em; margin-left: 4px; }
.bp-m-t { font-size: 13px; color: var(--b-dim); }
@media (max-width: 760px) {
  .bp-m { grid-template-columns: 4px 1fr auto; gap: 4px 12px; }
  .bp-m > i { grid-row: span 2; }
  .bp-m-t { grid-column: 2; }
}

/* админка: консоль сервера */
.ac-out { margin-top: 14px; height: 340px; overflow: auto; background: #07090B; border: 1px solid #22262D; padding: 12px 14px; font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; font-size: 13px; line-height: 1.5; }
.ac-out > div { white-space: pre-wrap; word-break: break-word; }
.ac-in { color: #2BD66B; margin-top: 8px; }
.ac-res { color: #C9D1D9; }
.ac-err { color: #FF6B6B; }
.ac-hint { color: #6F7783; }
.ac-hint b { color: #C9D1D9; font-weight: 500; }
.ac-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.ac-prompt { font-family: ui-monospace, Consolas, monospace; color: #2BD66B; font-size: 18px; }
.ac-cmd { flex: 1 1 260px; min-width: 0; font-family: ui-monospace, "JetBrains Mono", Consolas, monospace !important; }
.bp-priv-ico svg { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--c) 60%, transparent)); }
.bp-priv-sub { font-family: var(--b-head); font-size: 12px; letter-spacing: .1em; color: var(--c) !important; }
.ur-dialog { max-width: 520px; width: calc(100vw - 32px); }
.ur-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow: auto; }
.ur-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px; background: rgba(255,255,255,.03); border-radius: 10px; }
.ur-row .ar-perm { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ur-main { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted, #8A938B); cursor: pointer; }
.bp-privs:has(.bp-priv-card) { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.bp-priv-card { padding: 10px 10px 12px; border-top-width: 1px; background: #0B0D10; gap: 8px; }
.bp-priv-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block; }
.bp-priv-card > span { font-family: var(--b-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted) !important; }
.ar-card-prev { display: block; max-width: 360px; width: 100%; margin-top: 8px; }
.ur-form { padding: 22px 24px; }
.bp-privs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.bp-priv-card { justify-content: space-between; }
.bp-priv-fake { width: 100%; aspect-ratio: 620 / 150; display: flex; align-items: center; justify-content: center; gap: 14px; border: 2px solid var(--c); transform: skewX(-8deg);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%), #0E1115; }
.bp-priv-fake > * { transform: skewX(8deg); }
.bp-priv-fake .bp-priv-ico svg { width: 40px; height: 40px; }
.bp-priv-fake b { font-family: var(--b-head); font-weight: 700; font-size: 24px; text-transform: uppercase; color: #fff; }
.bp-priv-meta { width: 100%; display: flex; justify-content: space-between; gap: 8px; }
.bp-priv-meta i { font-style: normal; font-family: var(--b-head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted); }
.bp-priv-meta i:first-child { color: var(--c); }
@media (max-width: 1000px) { .bp-privs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .bp-privs { grid-template-columns: 1fr !important; } }
.bp-ban-k { font-family: var(--b-head); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-dim); margin-right: 6px; }

/* страница «Игроки» */
.pd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (max-width: 1000px) { .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--b-line, rgba(255,255,255,.08)); background: var(--b-panel, #121412); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.pd-card:hover, .pd-card:focus-visible { border-color: var(--b-acc, #2BD66B); transform: translateY(-1px); }
.pd-av { position: relative; flex-shrink: 0; }
.pd-on { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #2BD66B; box-shadow: 0 0 0 2px var(--b-panel, #121412); }
.pd-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pd-nick { font-family: var(--b-head); font-size: 17px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-nick i { font-style: normal; color: var(--b-muted); font-size: 14px; }
.pd-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--b-muted); flex-wrap: wrap; }
.pd-role { font-family: var(--b-head); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); padding: 1px 6px; }
.ap-open { margin-left: auto; }

.p-nick-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.p-nick-form .input { width: min(260px, 70vw); font-size: 20px; }

/* поддержка */
.tk-page .st-head { align-items: flex-end; }
.tk-new { margin-top: 16px; display: grid; gap: 12px; }
.tk-grid { display: grid; grid-template-columns: 260px 1fr; gap: 12px; }
@media (max-width: 700px) { .tk-grid { grid-template-columns: 1fr; } }
.tk-f { display: grid; gap: 6px; font-size: 13px; color: var(--b-muted); }
.tk-f textarea, .tk-reply textarea { resize: vertical; min-height: 90px; font: inherit; }
.tk-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tk-tabs { margin-top: 18px; }
.tk-count { margin-left: 6px; background: #E4AE39; color: #111; border-radius: 9px; padding: 0 6px; font-size: 11px; }
.tk-list { display: grid; gap: 8px; margin-top: 14px; }
.tk-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--b-line, rgba(255,255,255,.08)); background: var(--b-panel, #121412); color: inherit; text-decoration: none; }
.tk-item:hover, .tk-item:focus-visible { border-color: var(--b-acc, #2BD66B); }
.tk-id { font-family: var(--b-head); color: var(--b-muted); min-width: 42px; }
.tk-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tk-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-main .muted { font-size: 13px; }
.tk-st { font-family: var(--b-head); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border: 1px solid currentColor; white-space: nowrap; }
.tk-st-open { color: #E4AE39; } .tk-st-answered { color: #2BD66B; } .tk-st-closed { color: var(--b-muted); }
.tk-empty { padding: 18px; border: 1px dashed var(--b-line, rgba(255,255,255,.12)); color: var(--b-muted); margin-top: 6px; }
.tk-view { margin-top: 16px; }
.tk-back { color: var(--b-muted); text-decoration: none; font-size: 14px; }
.tk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 10px 0 16px; }
.tk-msgs { display: grid; gap: 10px; }
.tk-msg { padding: 12px 14px; border-left: 3px solid var(--b-line, #333); background: rgba(255,255,255,.03); max-width: 820px; }
.tk-msg.staff { border-left-color: #2BD66B; background: rgba(43,214,107,.06); margin-left: auto; width: 100%; }
.tk-msg-h { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 6px; flex-wrap: wrap; }
.tk-sup { font-family: var(--b-head); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #2BD66B; border: 1px solid #2BD66B; padding: 0 5px; }
.tk-msg-b { white-space: pre-wrap; word-break: break-word; line-height: 1.5; }
.tk-reply { display: grid; gap: 10px; margin-top: 16px; }
.pu-table td { vertical-align: top; }
.ar-perm.ar-lock { opacity: .45; }
.bp-sub { font-family: var(--b-head); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted); margin: 22px 0 12px; display: flex; gap: 10px; align-items: center; }
.bp-sub span { color: var(--b-text, #fff); background: rgba(255,255,255,.08); padding: 0 8px; font-size: 12px; }
.bp-sub:first-of-type { margin-top: 6px; }
.bp-priv-by { display: block; font-size: 12px; color: var(--b-muted); padding: 0 12px 10px; }
.tk-page [hidden] { display: none !important; }
.tk-list { grid-template-columns: minmax(0, 1fr); } .tk-item { min-width: 0; } @media (max-width: 560px) { .tk-item { flex-wrap: wrap; } .tk-main { flex-basis: calc(100% - 60px); } }
.pass-stale { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #FF4040; color: #FF8080; background: rgba(255,64,64,.08); font-size: 14px; }

/* вход в админку по коду */
.mfa-wall { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.86); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 16px; overflow-y: auto; opacity: 0; transition: opacity .25s ease; }
.mfa-wall.is-open { opacity: 1; }
.mfa-card { position: relative; width: 100%; max-width: 440px; box-sizing: border-box; min-width: 0; max-height: calc(100vh - 32px); overflow-y: auto; margin: auto; background: var(--b-panel, #14171C); border: 1px solid var(--b-acc, #2BD66B); padding: 22px; display: grid; gap: 12px; transform: translateY(12px) scale(.98); transition: transform .3s ease; }
.mfa-wall.is-open .mfa-card { transform: none; }
.mfa-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--b-text-2, #9AA3AE); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.mfa-x:hover { color: #fff; }
.mfa-title { font-size: 26px; margin: 0; }
.mfa-text { margin: 0; font-size: 14px; line-height: 1.5; }
.mfa-qr { background: #fff; padding: 12px; width: 220px; max-width: 100%; margin: 4px auto; }
.mfa-qr svg { display: block; width: 100%; height: auto; }
.mfa-key { font-size: 16px; color: #fff; border-color: var(--b-acc, #2BD66B) !important; letter-spacing: .08em; background: rgba(255,255,255,.05); border: 1px solid var(--b-line-2, #2B3038); padding: 10px 12px; margin: 0; word-break: break-all; }
.mfa-form { display: grid; gap: 10px; }
.mfa-code { font-size: 24px; letter-spacing: .3em; text-align: center; }
.mfa-err { margin: 0; color: #FF8080; font-size: 14px; }
.mfa-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mfa-gate { margin: 0 0 16px; padding: 18px; border: 1px solid var(--b-line-2, #2B3038); background: var(--b-panel, #14171C); display: grid; gap: 12px; justify-items: start; }

/* админка магазина: бонусы и права привилегии */
.sh-perkbox { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--b-line-2, #2B3038); background: rgba(255,255,255,.02); }
.sh-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.sh-num { display: grid; gap: 4px; font-size: 13px; color: var(--text-2, #9AA3AE); }
.sh-checks { display: flex; flex-wrap: wrap; gap: 2px 6px; }
.sh-checks .ar-perm { min-height: 36px; padding: 0 10px; }
.sh-perksum { font-size: 13px; margin-top: 6px; color: var(--text-2, #9AA3AE); }
.bbuy-disc { color: var(--b-green, #2BD66B); }

/* проверка на читы (check.html) */
.ck-page { display: grid; gap: 16px; }
.ck-hero { display: grid; gap: 12px; border-color: #FF4040 !important; }
.ck-badge { justify-self: start; background: #FF4040; color: #fff; font-family: var(--b-head); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; padding: 6px 12px; }
.ck-who { margin: 0; font-size: 15px; }
.ck-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
.ck-warn { margin: 0; padding: 10px 12px; border: 1px solid #FF4040; color: #FF8080; background: rgba(255,64,64,.08); font-size: 14px; }
.ck-note { margin: 0; font-size: 13px; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ck-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.ck-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.ck-main { display: grid; gap: 16px; min-width: 0; }
.ck-stage { display: grid; gap: 12px; min-width: 0; }
.ck-stage-title, .ck-side-title { font-family: var(--b-head); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--b-dim, #9AA3AE); }
.ck-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ck-h { font-size: 26px; margin: 0; }
.ck-video { position: relative; background: #050607; border: 1px solid var(--b-line-2, #2B3038); aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.ck-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.ck-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; color: var(--b-dim, #9AA3AE); font-size: 14px; background: #050607; }
.ck-ph[hidden] { display: none; }
.ck-conn { font-size: 13px; color: var(--b-dim, #9AA3AE); }
.ck-conn::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6B7480; margin-right: 6px; vertical-align: 1px; }
.ck-conn.is-ok { color: var(--b-green, #2BD66B); }
.ck-conn.is-ok::before { background: var(--b-green, #2BD66B); }
#ck-mic.is-on { border-color: var(--b-green, #2BD66B); color: var(--b-green, #2BD66B); }
.ck-verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid var(--b-line-2, #2B3038); }
.ck-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; min-height: 320px; }
.ck-msgs { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: 420px; min-height: 160px; padding-right: 4px; }
.ck-msg { max-width: 85%; padding: 8px 10px; background: var(--b-panel-2, #1A1E24); display: grid; gap: 2px; font-size: 14px; word-break: break-word; }
.ck-msg b { font-size: 12px; color: var(--b-dim, #9AA3AE); font-weight: 600; }
.ck-msg small { font-size: 11px; color: var(--b-dim, #9AA3AE); justify-self: end; }
.ck-msg.is-mine { align-self: flex-end; background: rgba(43,214,107,.12); }
.ck-msg.ck-system { max-width: 100%; align-self: center; background: none; color: var(--b-dim, #9AA3AE); font-size: 13px; padding: 2px; }
.ck-send { display: flex; gap: 8px; }
.ck-send .input { flex: 1; min-width: 0; }
.ck-side { display: grid; gap: 6px; }
.ck-item { display: grid; gap: 2px; text-align: left; padding: 10px 12px; background: var(--b-panel-2, #1A1E24); border: 1px solid transparent; color: inherit; cursor: pointer; font: inherit; }
.ck-item:hover { border-color: var(--b-line-2, #2B3038); }
.ck-item.is-on { border-color: #FF4040; }
.ck-item.is-closed { opacity: .6; }
.ck-item span { font-size: 13px; color: var(--b-dim, #9AA3AE); }
.ck-item small { font-size: 12px; color: var(--b-dim, #9AA3AE); }
.ck-empty { margin: 0; font-size: 14px; }
.ck-done { display: grid; gap: 8px; }
.ck-banner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: #FF4040; color: #fff; font-weight: 700; text-align: center; }
.ck-banner a { color: #fff; text-decoration: underline; }
@media (max-width: 860px) { .ck-grid, .ck-layout { grid-template-columns: minmax(0, 1fr); } }
.ck-call { display: grid; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--b-line-2, #2B3038); }
.ck-call { position: relative; }
.ck-sug { display: grid; gap: 2px; max-height: 320px; overflow-y: auto; background: var(--b-panel, #14171C); border: 1px solid var(--b-line-2, #2B3038); padding: 4px; }
.ck-sug[hidden] { display: none; }
.ck-sug-head, .ck-sug-empty { font-size: 12px; color: var(--b-dim, #9AA3AE); padding: 6px 8px; }
.ck-sug-item { display: grid; gap: 2px; text-align: left; padding: 8px; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.ck-sug-item:hover, .ck-sug-item:focus-visible { background: var(--b-panel-2, #1A1E24); }
.ck-sug-item b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.ck-sug-item span, .ck-sug-item small { font-size: 12px; color: var(--b-dim, #9AA3AE); }
.ck-online { font-style: normal; font-size: 11px; color: var(--b-green, #2BD66B); }
.ck-code { display: grid; gap: 12px; max-width: 560px; }
.ck-code p { margin: 0; }
.ck-code-form { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-code-form .input { flex: 1 1 180px; max-width: 240px; }

/* админка: вкладка «Разбор» */
.ap-search { position: relative; display: grid; gap: 6px; margin: 12px 0; max-width: 640px; }
.ap-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ap-card { display: grid; gap: 14px; }
.ap-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.ap-name { font-size: 26px; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ap-ids { font-size: 13px; margin-top: 4px; }
.ap-actions, .ap-row-act { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.ap-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.ap-stat { background: var(--b-panel-2, #1A1E24); padding: 10px 12px; display: grid; gap: 2px; }
.ap-stat b { font-size: 20px; font-family: var(--b-head); }
.ap-stat span { font-size: 12px; color: var(--b-dim, #9AA3AE); }
.ap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ap-block { display: grid; gap: 6px; align-content: start; }
.ap-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ap-ul li { display: grid; gap: 1px; padding: 6px 8px; background: var(--b-panel-2, #1A1E24); font-size: 14px; }
.ap-ul li span { font-size: 12px; color: var(--b-dim, #9AA3AE); }
.ap-on { color: #FF8080; font-style: normal; }
.ap-list { display: grid; gap: 6px; }
.ap-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; background: var(--b-panel-2, #1A1E24); }
.ap-row.is-done { opacity: .6; }
.ap-row-main { flex: 1 1 320px; min-width: 0; display: grid; gap: 4px; }
.ap-meta { font-size: 12px; }
.ap-text { margin: 4px 0; font-size: 14px; white-space: pre-wrap; }
.ap-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.ap-flag { font-size: 12px; padding: 2px 8px; border: 1px solid #FF4040; color: #FF8080; }

/* разбор матча в профиле */
button.bp-m { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; border: 0; }
button.bp-m:hover { filter: brightness(1.15); }
.mt-card { max-width: 820px !important; }
.mt-team { display: grid; gap: 6px; }
.mt-team-head { display: flex; justify-content: space-between; align-items: center; }
.mt-score { font-family: var(--b-head); font-size: 24px; color: var(--b-dim, #9AA3AE); }
.mt-score.w { color: var(--b-green, #2BD66B); }
.mt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mt-table th, .mt-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--b-line-2, #2B3038); }
.mt-table th:first-child, .mt-table td:first-child { text-align: left; }
.mt-table th { font-size: 12px; color: var(--b-dim, #9AA3AE); font-weight: 600; }
.mt-table tr.is-me td { background: rgba(43,214,107,.08); }
@media (max-width: 560px) { .mt-table th:nth-child(7), .mt-table td:nth-child(7), .mt-table th:nth-child(4), .mt-table td:nth-child(4) { display: none; } }
.steam-link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; margin: 0 4px; vertical-align: middle; }
.wipe-list { margin:0 0 4px 18px; padding:0; font-size:13px; line-height:1.6; }
.tk-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.tk-q { text-align: left; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); color: var(--text-hi, #fff); font-weight: 700; cursor: pointer; transition: border-color .15s, transform .15s; }
.tk-q:hover { border-color: rgba(52, 216, 114, .5); transform: translateY(-1px); }
/* профиль: строки о себе — аккуратной сеткой «подпись — значение», без рваных переносов */
.profile-info .meta { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; align-items: center; margin-top: 10px; }
.profile-info .meta > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 26px; }
@media (max-width: 720px) { .profile-info .meta { grid-template-columns: 1fr; } }
/* профиль · «Моя роль в игре» */
.vis-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 4px 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); font-size: 13px; }
.vis-title { font-weight: 700; color: var(--text-hi, #fff); }
.vis-opt { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text-2); }
.vis-opt input { accent-color: var(--accent, #34D872); width: 16px; height: 16px; }
.vis-hint { color: var(--dim, #8a8f8a); font-size: 12px; }
.vis-hint b { color: var(--accent, #34D872); }
