/* ===== Tokens (палитра снята с референса, меняйте под бренд) ===== */
:root {
  --bg-100: #13151c;
  --bg-200: #1a1d26;
  --bg-300: #212530;
  --bg-400: #2d3345;
  --bg-450: #3f4967;
  --muted: #566080;
  --muted-2: #7887b5;

  --brand-yellow: #ffd900;
  --brand-orange: #f79e1b;
  --brand-blue: #6481ff;
  --brand-pink: #ff35aa;
  --brand-red: #ff1f44;
  --success: #2fae16;

  --text: #fff;
  --text-2: rgba(255,255,255,.6);
  --line: rgba(255,255,255,.1);

  --grad-primary: linear-gradient(90deg, #5a5ff0 0%, #7b86ff 100%);
  --grad-accent: linear-gradient(90deg, #ff8a00 0%, #ffb23f 100%);

  --radius-pill: 100px;
  --radius-l: 16px;
  --radius-m: 12px;
  --radius-s: 8px;

  --container: 1320px;
  --gutter: 16px;
  --header-h: 64px;

  --game-w: 150px;
  --game-h: 188px;

  --font: "Jost", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-100);
  color: var(--text);
  font: 400 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.main { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 32px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-primary); box-shadow: 0 6px 20px rgba(100,129,255,.35); }
.btn--accent  { background: var(--grad-accent);  box-shadow: 0 6px 20px rgba(247,158,27,.35); }
.btn--ghost   { background: var(--bg-300); border: 1px solid var(--line); }
.btn--lg { height: 56px; padding: 0 44px; font-size: 18px; }
.btn--sm { height: 34px; padding: 0 16px; font-size: 13px; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--bg-300); color: var(--muted-2);
}
.icon-btn:hover { color: var(--text); background: var(--bg-400); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,21,28,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.logo img { height: 40px; width: auto; }
@media (max-width: 640px) { .logo img { height: 32px; } }
.logo__mark {
  width: 14px; height: 22px; border-radius: 3px;
  background: linear-gradient(160deg, var(--brand-blue), var(--brand-pink) 55%, var(--brand-orange));
  transform: skewX(-12deg);
}
.search {
  flex: 1; max-width: 420px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  background: var(--bg-200); border-radius: var(--radius-pill); color: var(--muted);
}
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; }
.header__actions { display: flex; gap: 8px; }
.header__inner { position: relative; }
.header__search-btn { display: none; flex: none; }

/* ===== Drawer ===== */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(11,12,17,.75); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 85vw);
  background: var(--bg-200); padding: 20px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .25s;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 14px; right: 14px; }
.drawer__nav { display: flex; flex-direction: column; margin-top: 40px; }
.drawer__nav a { padding: 10px 12px; border-radius: var(--radius-s); color: var(--text-2); font-weight: 500; }
.drawer__nav a:hover { background: var(--bg-300); color: var(--text); }
.drawer__nav hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; width: 100%; }
.drawer__lang { display: flex; gap: 6px; margin-top: 20px; }
.drawer__lang a { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--bg-300); font-size: 13px; }
.drawer__lang a.is-active { background: var(--brand-blue); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 16px 28px; border-radius: var(--radius-l);
  background: url(../img/banners/hero.webp) left center / cover no-repeat, var(--bg-200);
}
/* затемнение под текстом, чтобы оффер читался поверх картинки */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(420px 220px at 50% 50%, rgba(19,21,28,.55), transparent 75%);
}
.hero > * { position: relative; z-index: 1; }
.hero__kicker { margin: 0; font-size: 24px; font-weight: 500; }
.hero__offer { display: flex; align-items: center; gap: 6px; margin: 4px 0 24px; }
.hero__upto { align-self: flex-start; margin-top: 10px; font-weight: 700; }
.hero__percent {
  font-size: clamp(56px, 9vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(180deg, #e6ecff 0%, #7fa0ff 60%, #4d6bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__fs { display: flex; flex-direction: column; align-items: flex-start; font-weight: 700; font-size: 15px; line-height: 1.1; }
.hero__fs b {
  padding: 2px 8px; margin-bottom: 4px; border-radius: 6px;
  background: var(--brand-yellow); color: var(--bg-100); font-size: 18px;
  box-shadow: 0 0 18px rgba(255,217,0,.6);
}
.payments { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; list-style: none; margin: 24px 0 0; padding: 0; opacity: .75; }
.payments img { height: 28px; width: auto; }

/* ===== Ticker ===== */
.ticker { overflow: hidden; border-radius: var(--radius-l); background: var(--bg-200); padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker__track { display: flex; gap: 8px; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.win-chip { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--radius-m); background: var(--bg-300); }
.win-chip__thumb { width: 40px; height: 40px; border-radius: var(--radius-s); flex: none; }
.win-chip__user { font-size: 12px; font-weight: 600; }
.win-chip__sum { font-size: 12px; color: var(--text-2); }
.win-chip__sum.is-big { padding: 0 6px; border-radius: 4px; background: var(--brand-yellow); color: var(--bg-100); font-weight: 700; }

/* ===== Promo cards ===== */
.promos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.promo {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 72px; padding: 12px 48px 12px 12px;
  border-radius: var(--radius-l); overflow: hidden;
  transition: transform .15s;
}
.promo:hover { transform: translateY(-2px); }
.promo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0 0 var(--radius-l) var(--radius-l); }
.promo { overflow: visible; }
.promo__icon { flex: none; width: 76px; height: auto; margin: -22px 0 -8px -4px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.promo h3 { font-size: 16px; font-weight: 600; }
.promo__arrow { position: absolute; right: 12px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: rgba(255,255,255,.12); }
.promo__arrow::before { content: "›"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.promo--wheel { background: linear-gradient(90deg, #5c2a2a, #3a2230); } .promo--wheel::after { background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink), var(--brand-blue)); }
.promo--app   { background: linear-gradient(90deg, #243060, #242a45); } .promo--app::after   { background: var(--brand-blue); }
.promo--ref   { background: linear-gradient(90deg, #44204a, #2a2035); } .promo--ref::after   { background: var(--brand-pink); }
.promo--shop  { background: linear-gradient(90deg, #5a1f2a, #35202a); } .promo--shop::after  { background: var(--brand-red); }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 8px; border-radius: var(--radius-l); background: var(--bg-200); }
.tabs::-webkit-scrollbar { display: none; }
.tabs__item { position: relative; padding: 14px 16px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.tabs__item:hover { color: var(--text); }
.tabs__item.is-active { color: var(--text); }
.tabs__item.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand-orange); }

/* ===== Game rows ===== */
.games, .providers, .records__col, .live, .seo, .faq { padding: 16px; border-radius: var(--radius-l); background: var(--bg-200); }
.games__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.games__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.games__ico { width: 32px; height: 32px; border-radius: var(--radius-s); display: grid; place-items: center; font-size: 16px; }
.games__ico--orange { background: var(--brand-orange); }
.games__ico--green  { background: var(--success); }
.games__ico--blue   { background: var(--brand-blue); }
.games__ico--yellow { background: var(--brand-yellow); color: var(--bg-100); }
.games__ico--red    { background: var(--brand-red); }
.games__nav { display: flex; align-items: center; gap: 6px; }

.games__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--game-w); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.games__list::-webkit-scrollbar { display: none; }
.game { scroll-snap-align: start; }
.game__cover {
  position: relative; height: var(--game-h); border-radius: var(--radius-m); overflow: hidden;
  display: flex; align-items: flex-end; padding: 10px;
}
.game__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game__art { position: relative; font-size: 17px; font-weight: 800; line-height: 1.05; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.game__badge { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; background: var(--brand-orange); }
.game__badge--excl { left: 8px; right: auto; background: var(--success); }
.game__badge--jp { background: var(--brand-yellow); color: var(--bg-100); }
.game__overlay {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px;
  background: rgba(11,12,17,.7); opacity: 0; transition: opacity .15s;
}
.game__cover:hover .game__overlay { opacity: 1; }
.game__play { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-primary); display: grid; place-items: center; }
.game__play::before { content: ""; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.game__demo { font-size: 12px; color: var(--text-2); text-decoration: underline; }
.game__name { margin-top: 8px; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game__prov { font-size: 12px; color: var(--muted); }

/* ===== Jackpot ===== */
.jackpot__banner {
  padding: 28px 16px; border-radius: var(--radius-l); text-align: center;
  background:
    radial-gradient(400px 150px at 50% 0%, rgba(255,217,0,.35), transparent 70%),
    linear-gradient(180deg, #3a2a10, #1a1d26);
  border: 1px solid rgba(255,217,0,.25);
}
.jackpot__label { margin: 0; font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: var(--brand-yellow); }
.jackpot__sum { margin: 4px 0 0; font-size: clamp(34px, 6vw, 56px); font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(255,217,0,.5); }

/* ===== Records ===== */
.records { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.records__list--loss .rec__val { color: var(--brand-red); }
.records__list--loss .rec__val small { color: var(--muted); }
.records__title, .section-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.records__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: r; }
.records__list li {
  counter-increment: r; display: grid; grid-template-columns: 28px 40px 1fr auto; align-items: center; gap: 10px;
  padding: 6px 10px 6px 6px; border-radius: var(--radius-m); background: var(--bg-300);
}
.records__list li::before { content: counter(r); text-align: center; font-weight: 700; color: var(--muted-2); }
.records__list li:nth-child(1)::before { color: var(--brand-yellow); }
.records__list li:nth-child(2)::before { color: #c9d2ea; }
.records__list li:nth-child(3)::before { color: var(--brand-orange); }
.rec__thumb { width: 40px; height: 40px; border-radius: var(--radius-s); }
.rec__user { font-size: 13px; font-weight: 600; }
.rec__game { font-size: 12px; color: var(--muted); }
.rec__val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rec__val small { display: block; font-weight: 500; color: var(--brand-orange); }

/* ===== Live table ===== */
.live__table-wrap { overflow-x: auto; }
.live__table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 14px; min-width: 600px; }
.live__table th { text-align: left; font-weight: 500; color: var(--muted); padding: 4px 12px; }
.live__table td { padding: 10px 12px; background: var(--bg-300); font-variant-numeric: tabular-nums; }
.live__table td:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); font-weight: 500; }
.live__table td:last-child  { border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--success); font-weight: 700; }
.live__table tr.is-new td { animation: flash 1s; }
@keyframes flash { from { background: var(--bg-450); } }

/* ===== Providers ===== */
.providers__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.providers__list a {
  display: grid; place-items: center; height: 56px; border-radius: var(--radius-m);
  background: var(--bg-300); color: var(--muted-2); font-weight: 700; font-size: 14px; text-align: center; padding: 0 8px;
}
.providers__list a:hover { color: var(--text); background: var(--bg-400); }

/* ===== SEO ===== */
.seo h1 { font-size: 26px; margin-bottom: 12px; }
.seo h2 { font-size: 20px; margin: 22px 0 8px; }
.seo p, .seo li { color: var(--text-2); }
.seo__body { position: relative; max-height: 220px; overflow: hidden; transition: max-height .3s; }
.seo__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg-200)); }
.seo.is-open .seo__body { max-height: none; }
.seo.is-open .seo__body::after { display: none; }
.seo__toggle { margin-top: 12px; }
.seo table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.seo th, .seo td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.seo th { color: var(--muted-2); font-weight: 500; }
.seo h3 { font-size: 17px; margin: 18px 0 6px; }
.seo ul, .seo ol { padding-left: 22px; }
.seo li { margin: 4px 0; }
.seo li::marker { color: var(--brand-orange); }

/* CTA-кнопки в статье: <div class="centered"><a class="main__button affiliate_button">…</a></div> */
.centered { display: flex; justify-content: center; margin: 22px 0; }
.main__button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 240px; height: 52px; padding: 0 36px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent); color: #fff;
  font-weight: 700; font-size: 16px; text-align: center;
  box-shadow: 0 8px 24px rgba(247,158,27,.35);
  transition: filter .15s, transform .15s, box-shadow .15s;
}
.main__button:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(247,158,27,.5); }
.main__button:active { transform: translateY(1px); }
@media (max-width: 640px) { .main__button { width: 100%; min-width: 0; } }

/* широкие таблицы в статье листаются вбок внутри блока, а не всей страницей */
.table-responsive { overflow-x: auto; margin: 12px 0; -webkit-overflow-scrolling: touch; }
.table-responsive table { margin: 0; min-width: 520px; }

/* ===== FAQ ===== */
.faq details { border-radius: var(--radius-m); background: var(--bg-300); margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand-orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--text-2); }

/* ===== Reviews ===== */
.reviews { padding: 16px; border-radius: var(--radius-l); background: var(--bg-200); }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.review { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius-m); background: var(--bg-300); }
.review__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.review__avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-pink));
}
.review__author { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__text { margin: 0; color: var(--text-2); font-size: 14px; }
@media (max-width: 640px) { .reviews, .review { padding: 12px; } }

/* ===== Footer ===== */
.footer { background: var(--bg-200); border-top: 1px solid var(--line); padding: 32px 0 96px; }
.footer__top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__social { display: flex; gap: 8px; margin-left: auto; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-300); font-size: 12px; font-weight: 700; color: var(--muted-2); }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; margin: 28px 0; }
.footer__links a { color: var(--muted-2); font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__legal { display: flex; gap: 16px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--line); }
.footer__legal p { margin: 0; font-size: 13px; color: var(--muted); }
.age { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--brand-red); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.footer__copy { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

/* ===== Bottom bar & chat ===== */
.bottom-bar { display: none; }
.chat-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-primary); box-shadow: 0 8px 24px rgba(100,129,255,.45);
}
.chat-bubble svg { width: 26px; height: 26px; fill: #fff; stroke: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .promos { grid-template-columns: repeat(2, 1fr); }
  .providers__list { grid-template-columns: repeat(4, 1fr); }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .search { display: none; }
  .header__search-btn { display: inline-grid; margin-left: auto; }
  .header.is-search .search {
    display: flex; position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    max-width: none; height: 48px; background: var(--bg-300); box-shadow: 0 10px 30px rgba(0,0,0,.5);
  }
  .live__table { min-width: 0; }
  .records { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 12px; --header-h: 56px; --game-w: 110px; --game-h: 140px; }
  .main { gap: 12px; }
  .header__burger { display: none; }
  .logo { font-size: 20px; }
  .btn, .btn--sm { height: 44px; padding: 0 16px; font-size: 14px; }
  .icon-btn { width: 44px; height: 44px; }
  .btn--lg { height: 50px; padding: 0 36px; font-size: 16px; }
  .hero { padding: 32px 12px 20px; background-image: url(../img/banners/hero-mobile.webp); background-position: center; }
  .hero__kicker { font-size: 20px; }
  .payments { gap: 12px; }
  .payments img { height: 22px; }
  .promos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .promo { min-height: 64px; padding: 10px 10px; }
  .promo h3 { font-size: 14px; min-width: 0; hyphens: auto; }
  .promo__icon { width: 56px; margin: -16px 0 -6px -4px; }
  .promo__arrow { display: none; }
  .games, .providers, .records__col, .live, .seo, .faq { padding: 12px; }
  .games__title { font-size: 15px; }
  .games__ico { width: 28px; height: 28px; }
  .games__nav .icon-btn { display: none; }
  .game__art { font-size: 13px; }
  .providers__list { grid-template-columns: repeat(2, 1fr); }
  .footer__links { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .footer__links a { display: block; padding: 11px 0; }
  .footer__social a { width: 44px; height: 44px; }
  .drawer__lang a { padding: 12px 16px; }
  .drawer__nav a { padding: 12px; }
  /* на узком экране прячем «Время» и «Ставку», чтобы таблица влезла без скролла */
  .live__table th:nth-child(3), .live__table td:nth-child(3),
  .live__table th:nth-child(4), .live__table td:nth-child(4) { display: none; }
  .live__table { font-size: 13px; }
  .live__table th, .live__table td { padding: 8px; }
  .live__table td:first-child { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .footer { padding-bottom: 100px; }
  .seo h1 { font-size: 22px; }
  .chat-bubble { display: none; }
  .bottom-bar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: 64px; background: var(--bg-200); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-bar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted-2); }
  .bottom-bar span { font-size: 20px; line-height: 1; }
}

/* очень узкие экраны (320–380px) */
@media (max-width: 380px) {
  .header__inner { gap: 8px; }
  .logo img { height: 26px; }
  .header__actions { gap: 6px; }
  .header__actions .btn { padding: 0 12px; font-size: 13px; }
  .promo { gap: 8px; }
  .promo { padding: 10px 8px; }
  .promo h3 { font-size: 12px; }
  .promo__icon { width: 40px; margin: -10px 0 -4px -2px; }
  .live__table { font-size: 12px; }
  .live__table td { white-space: nowrap; }
  .live__table td:first-child { max-width: 80px; }
  .live__table th, .live__table td { padding: 8px 5px; }
}
