/* Slate — Club 21 homepage concept
   Blue-slate palette, fixed sidebar, dense product layout.
   Everything sits on an 8px grid (4px for micro spacing). */

:root {
  --bg: #0F212E;
  --bar: #1A2C38;
  --tile: #213743;
  --hover: #2F4553;
  --text: #FFFFFF;
  --muted: #B1BAD3;
  --accent: #1475E1;
  --accent-hover: #2A83E8;
  --win: #00E701;
  --link: #5DA9F2;            /* lighter tint of the accent so text links pass AA on the page ground */

  --radius: 8px;
  --topbar: 60px;
  --content: 1200px;
  --gutter: 24px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* sidebar state: wide by default, rail when collapsed or on narrow viewports */
  --sb-w: 240px;
  --label-d: inline;
  --side-jc: flex-start;
  --side-px: 16px;
}

body.rail {
  --sb-w: 64px;
  --label-d: none;
  --side-jc: center;
  --side-px: 0;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ic-sm { width: 16px; height: 16px; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.tiles:focus-visible { outline-offset: 0; }

.skip {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  padding: 8px 12px; background: var(--accent); color: var(--text); border-radius: var(--radius); font-weight: 600;
}
.skip:focus { top: 8px; }

.card {
  background: var(--tile);
  border-radius: var(--radius);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.eyebrow .ic { width: 14px; height: 14px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border: 0; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap;
  cursor: pointer; background: transparent; color: var(--text);
  transition: background-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost:hover { background: var(--hover); }
.btn-tile { background: var(--hover); }
.btn-tile:hover { background: #3A536A; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--text); cursor: pointer;
  transition: background-color .15s ease;
}
.icon-btn:hover { background: var(--hover); }

.round {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--tile); color: var(--text); cursor: pointer;
  transition: background-color .15s ease;
}
.round:hover { background: var(--hover); }
.round .ic { width: 18px; height: 18px; }

.text-link { color: var(--link); font-weight: 500; }
.text-link:hover { color: var(--text); text-decoration: underline; }

/* ---------- sidebar ---------- */

.sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 30;
  width: var(--sb-w);
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px 10px 16px;
  background: var(--bar);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
  transition: width .2s ease;
}
.side-head { height: 44px; display: flex; align-items: center; justify-content: var(--side-jc); padding: 0 2px; }

.side-nav {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 0; border-top: 1px solid var(--tile);
}
.side-nav a {
  display: flex; align-items: center; justify-content: var(--side-jc); gap: 12px;
  height: 44px; padding: 0 var(--side-px);
  border-radius: var(--radius);
  color: var(--text); font-weight: 600;
  transition: background-color .15s ease;
}
.side-nav a:hover { background: var(--hover); }
.side-nav a[aria-current] { background: var(--tile); }
.side-nav a[aria-current] .ic { color: var(--link); }
.side-label { display: var(--label-d); white-space: nowrap; }

.side-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: var(--side-jc); gap: 8px;
  padding: 8px var(--side-px);
  color: var(--muted); font-size: 12px; font-weight: 500;
}
.side-foot .ic { width: 16px; height: 16px; }

/* ---------- main column & top bar ---------- */

.main { margin-left: var(--sb-w); min-height: 100vh; transition: margin-left .2s ease; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  height: var(--topbar);
  background: var(--bar);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
}
.topbar-inner {
  max-width: var(--content); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--text);
  font-size: 12px; font-weight: 700; letter-spacing: -.02em;
}
.brand-word { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.brand-word b { color: var(--link); font-weight: 700; }

.search {
  flex: 1 1 auto; max-width: 400px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px;
  background: var(--bg); border: 2px solid var(--hover); border-radius: var(--radius);
  color: var(--muted);
  transition: border-color .15s ease;
}
.search:hover { border-color: #3D5A72; }
.search:focus-within { border-color: var(--muted); color: var(--text); }
.search input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent; color: var(--text);
  font: 500 14px var(--font);
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.search-btn { display: none; }

/* language switcher (top bar and footer) */
.lang { position: relative; }
.lang-btn { padding: 0 12px; gap: 6px; }
.lang-code { font-weight: 600; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 200px; padding: 8px;
  background: var(--tile); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
.lang.up .lang-menu { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  height: 36px; padding: 0 12px;
  border: 0; border-radius: 6px; background: transparent; color: var(--text);
  font-weight: 500; text-align: left; cursor: pointer;
}
.lang-menu button span { color: var(--muted); font-size: 12px; font-weight: 600; }
.lang-menu button:hover { background: var(--hover); }
.lang-menu button[aria-selected="true"] { background: var(--hover); }
.lang-menu button[aria-selected="true"] span { color: var(--text); }

/* ---------- content ---------- */

.content {
  max-width: var(--content); margin: 0 auto;
  padding: 24px var(--gutter) 64px;
  display: flex; flex-direction: column; gap: 32px;
}

/* ---------- hero ---------- */

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* slim welcome banner across the top */
.welcome {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 20px 24px;
  background: linear-gradient(180deg, #24404F 0%, var(--tile) 100%);
}
.welcome-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.welcome h1 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.welcome h1 .plus { color: var(--muted); font-weight: 500; }
.welcome p { color: var(--muted); }
.fine { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; opacity: .85; }
.welcome-actions { display: flex; align-items: center; gap: 16px; flex: none; }

/* entry cards: text bottom-left, tilted artwork spilling above the top edge */
.entry {
  position: relative; display: flex; min-height: 200px; margin-top: 24px;
  padding: 24px;
  background: linear-gradient(180deg, #24404F 0%, var(--tile) 100%);
}
.entry::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--hover); opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.entry:hover::after { opacity: .35; }
.entry-body { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 4px; align-self: flex-end; }
.entry-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.entry-kicker .ic { width: 14px; height: 14px; }
.entry-title { font-size: 24px; font-weight: 700; line-height: 1.1; }
.entry-sub { color: var(--muted); font-size: 13px; }

.entry-art { position: absolute; right: 24px; top: -24px; width: 278px; height: 200px; z-index: 1; }
.entry-art img {
  position: absolute; top: 0; width: 150px; height: 200px; object-fit: cover;
  border-radius: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.entry-art img:nth-child(1) { right: 128px; transform: rotate(-12deg) translateY(16px); z-index: 1; }
.entry-art img:nth-child(2) { right: 64px;  transform: rotate(-3deg) translateY(-4px); z-index: 2; }
.entry-art img:nth-child(3) { right: 0;     transform: rotate(9deg) translateY(8px); z-index: 3; }
.entry:hover .entry-art img:nth-child(1) { transform: rotate(-14deg) translateY(8px); }
.entry:hover .entry-art img:nth-child(2) { transform: rotate(-3deg) translateY(-14px); }
.entry:hover .entry-art img:nth-child(3) { transform: rotate(11deg) translateY(-2px); }

/* ---------- chips ---------- */

.chips {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  margin: -8px 0; padding: 8px 0;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 40px; padding: 0 16px;
  border: 0; border-radius: 20px;
  background: var(--tile); color: var(--text);
  font-weight: 600; cursor: pointer;
  transition: background-color .15s ease;
}
.chip .ic { width: 18px; height: 18px; color: var(--muted); }
.chip:hover { background: var(--hover); }
.chip[aria-pressed="true"] { background: var(--accent); }
.chip[aria-pressed="true"] .ic { color: var(--text); }

/* ---------- game rows ---------- */

.row-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px;
}
.row-head h2 {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; letter-spacing: -.01em;
}
.row-head h2 .ic { color: var(--muted); }
.row-tools { display: flex; align-items: center; gap: 8px; }
.see-all {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; margin-right: 4px;
  border-radius: 16px; background: var(--tile);
  font-size: 13px; font-weight: 600;
  transition: background-color .15s ease;
}
.see-all:hover { background: var(--hover); }

.tiles {
  --cols: 7;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * 8px) / var(--cols));
  gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: -8px 0; padding: 8px 0;
}
.tiles::-webkit-scrollbar { display: none; }

.tile { display: block; scroll-snap-align: start; min-width: 0; }
.tile-art {
  display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--radius); background: var(--tile);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile-art, .tile:focus-visible .tile-art {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .35);
}
.tile-name, .tile-prov, .tile-live { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tile-name { margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.tile-prov { color: var(--muted); font-size: 12px; line-height: 1.3; }
.tile-live { margin-top: 4px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.tile-live i {
  display: inline-block; width: 6px; height: 6px; margin-right: 6px; vertical-align: 1px;
  border-radius: 50%; background: var(--link);
}

.tile-more .tile-art { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--hover); background: transparent; }
.more-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.more-inner .ic { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--tile); color: var(--text); }
.tile-more:hover .more-inner { color: var(--text); }

/* ---------- live bets ---------- */

.bets-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.bets-head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--link); box-shadow: 0 0 0 4px rgba(93, 169, 242, .2); }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 24px; background: var(--bar); }
.tab {
  height: 36px; padding: 0 16px; border: 0; border-radius: 18px;
  background: transparent; color: var(--muted); font-weight: 600; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--tile); color: var(--text); }

.bets-wrap { overflow-x: auto; border-radius: var(--radius); }
.bets-table {
  width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.bets-table th {
  height: 40px; padding: 0 16px;
  color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap;
}
.bets-table td { height: 48px; padding: 0 16px; white-space: nowrap; font-weight: 500; }
.bets-table .num { text-align: right; }
.bets-table tbody tr:nth-child(odd) { background: var(--bar); }
.bets-table tbody tr:nth-child(even) { background: transparent; }
.bets-table tbody tr:hover { background: var(--tile); }
.bets-table tbody tr:first-child td:first-child { border-top-left-radius: var(--radius); }
.bets-table tbody tr:first-child td:last-child { border-top-right-radius: var(--radius); }
.bets-table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius); }
.bets-table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius); }
.bets-table .g { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.bets-table .g img { width: 24px; height: 32px; object-fit: cover; border-radius: 4px; }
.hidden-user { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.hidden-user .ic { width: 16px; height: 16px; }
.tick { color: var(--muted); font-size: 12px; font-weight: 600; }
.win { color: var(--win); }
.win .tick { color: var(--win); opacity: .8; }

/* ---------- promotions ---------- */

.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo {
  position: relative; display: flex; overflow: hidden; min-height: 200px;
  transition: background-color .15s ease;
}
.promo:hover { background: #26404E; }
.promo-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  flex: 1; padding: 24px; padding-right: 128px;
}
.promo h3 { font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.promo p { color: var(--muted); font-size: 13px; }
.promo .btn { margin-top: auto; height: 36px; padding: 0 14px; font-size: 13px; }
.promo-art {
  position: absolute; right: -8px; bottom: -32px; z-index: 1;
  width: 120px; height: 160px; object-fit: cover;
  border-radius: 6px; transform: rotate(10deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.promo:hover .promo-art { transform: rotate(8deg) translateY(-6px); }

/* ---------- VIP ---------- */

.vip {
  display: grid; grid-template-columns: minmax(280px, 1fr) 1.6fr; gap: 32px;
  padding: 32px;
}
.vip-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.vip-intro h2 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.vip-intro p { color: var(--muted); }
.vip-intro .btn { margin-top: 8px; }

.progress { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.progress-meta.muted { font-weight: 500; }
.progress-bar { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.progress-bar span { display: block; height: 100%; min-width: 4px; border-radius: 4px; background: var(--accent); }

.ladder {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  position: relative; padding-top: 8px;
}
.ladder::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 19px; height: 2px;
  background: var(--hover);
}
.tier { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 4px; }
.tier-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--hover); border: 4px solid var(--tile);
  box-shadow: 0 0 0 2px var(--hover);
  position: relative; z-index: 1;
}
.t-bronze .tier-dot { background: #B1BAD3; }
.t-silver .tier-dot { background: #D5DBEA; }
.t-gold .tier-dot { background: #F5F7FB; }
.t-platinum .tier-dot { background: var(--link); }
.t-diamond .tier-dot { background: var(--accent); }
.tier-name { font-weight: 700; font-size: 14px; }
.tier-line { color: var(--muted); font-size: 12px; line-height: 1.4; }

/* ---------- payments ---------- */

.pay {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
  padding: 32px;
}
.pay h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.coins { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.coins li { display: inline-flex; align-items: center; gap: 8px; }
.coin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--hover); border: 2px solid #3D5A72;
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
}
.coin-fiat { font-size: 18px; background: var(--bg); }
.coin-label { color: var(--muted); font-size: 12px; font-weight: 600; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .ic { margin-top: 2px; color: var(--link); }
.facts b { display: block; font-weight: 600; margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ---------- providers ---------- */

.providers { padding: 8px 0; }
.providers ul {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px;
  padding: 16px 0; border-top: 1px solid var(--bar); border-bottom: 1px solid var(--bar);
}
.providers li {
  color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; opacity: .85;
}

/* ---------- footer ---------- */

.footer { background: var(--bar); }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 48px var(--gutter) 40px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { max-width: 32ch; font-size: 13px; }
.footer h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer nav a { color: var(--muted); font-size: 13px; font-weight: 500; }
.footer nav a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--tile);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 13px;
}
.licence { color: var(--muted); }
.footer-meta { display: flex; align-items: center; gap: 12px; }
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--muted); font-size: 12px; font-weight: 700; color: var(--text);
}

/* ---------- phone tab bar ---------- */

.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--bar); box-shadow: 0 -4px 12px rgba(0, 0, 0, .3);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--muted); font-size: 10px; font-weight: 600;
}
.tabbar a[aria-current], .tabbar a:hover { color: var(--text); }
.tabbar a[aria-current] .ic { color: var(--link); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  body {
    --sb-w: 64px;
    --label-d: none;
    --side-jc: center;
    --side-px: 0;
  }
  .tiles { --cols: 5; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .entry { min-height: 176px; }
  .entry-art { right: 16px; width: 214px; height: 160px; }
  .entry-art img { width: 120px; height: 160px; }
  .entry-art img:nth-child(1) { right: 94px; }
  .entry-art img:nth-child(2) { right: 47px; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo { min-height: 0; }
  .vip { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .ladder { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .ladder::before { left: 15px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .tier { flex-direction: row; align-items: flex-start; text-align: left; gap: 12px; padding: 8px 0 8px 4px; }
  .tier-dot { flex: none; }
  .tier-name { min-width: 72px; }
  .pay { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .tabbar { display: flex; }
  .content { padding-top: 16px; padding-bottom: calc(80px + env(safe-area-inset-bottom)); gap: 24px; }
  .search { display: none; }
  .search-btn { display: inline-flex; }
  .top-actions { gap: 4px; }
  .lang-btn { padding: 0 8px; }
  .lang-btn .lang-code { display: none; }
  .lang-btn .ic-sm { display: none; }
  .btn { padding: 0 12px; }
  .brand-word { font-size: 16px; }
  .tiles { --cols: 3.2; }
  .see-all { display: none; }
  .bets-head h2 { width: 100%; }
  .col-time, .col-mult { display: none; }
  .bets-table { min-width: 0; }
  .bets-table th, .bets-table td { padding: 0 12px; }
  .facts { grid-template-columns: 1fr; }
  .footer-cols { gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { gap: 12px; }
  .welcome { padding: 20px; gap: 16px; }
  .welcome h1 { font-size: 20px; }
  .welcome-actions { width: 100%; justify-content: space-between; }
  .entry { min-height: 152px; margin-top: 16px; padding: 16px; }
  .entry-title { font-size: 18px; }
  .entry-sub { display: none; }
  .entry-kicker { font-size: 11px; }
  .entry-art { right: 8px; top: -16px; width: 128px; height: 96px; }
  .entry-art img { width: 72px; height: 96px; }
  .entry-art img:nth-child(1) { right: 56px; transform: rotate(-12deg) translateY(10px); }
  .entry-art img:nth-child(2) { right: 28px; }
  .entry-art img:nth-child(3) { transform: rotate(9deg) translateY(6px); }
  .promo-body { padding: 20px; padding-right: 104px; }
  .promo-art { width: 96px; height: 128px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0 8px; font-size: 13px; }
  .brand-word { display: none; }
  .brand-mark { width: 32px; height: 32px; font-size: 13px; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  #rail-toggle { display: none; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .tiles { scroll-behavior: auto; }
}
