/* De Oranje Vonk — one grid poster. BEM blocks, no framework. */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0c0c0c;
  --ink-2: #3a3a3a;
  --ink-3: #5f5f5f;
  --paper: #ffffff;
  --paper-2: #f0f0ee;
  --paper-3: #e4e4e1;
  --line: rgba(12, 12, 12, 0.16);
  --line-strong: #0c0c0c;
  --vonk: #ff4f00;
  --vonk-deep: #e04500;
  --vonk-wash: #ffe7dc;
  --cobalt: #1f3fd8;
  --cobalt-deep: #1531b3;
  --cobalt-wash: #e6ebff;
  --red: #c4001a;
  --green: #0b7a3b;
  --green-wash: #e3f3e8;
  --amber-wash: #fff1c7;
  --amber-ink: #6b4a00;
  --error-wash: #fdecee;

  --font: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.625rem;
  --fs-2xl: 2.125rem;
  --fs-h1: clamp(2.25rem, 1.4rem + 3vw, 4rem);
  --fs-poster: clamp(3.5rem, 0.6rem + 8.6vw, 9.5rem);

  --pad: 20px;
  --bar-h: 60px;
  --dock-h: 64px;
  --max: 1600px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 720px) {
  :root { --pad: 16px; --bar-h: 56px; }
}

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

*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-md);
  font-weight: 420;
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--vonk);
  accent-color: var(--vonk);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
table { border-collapse: collapse; }
::selection { background: var(--vonk); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -3px; }
[hidden] { display: none !important; }
html { scrollbar-color: var(--ink) var(--paper-2); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
#i-play { fill: currentColor; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 8px; }

.main { display: block; max-width: var(--max); margin: 0 auto; min-height: 60vh; }
@media (min-width: 1601px) { .main { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }

.num { font-variant-numeric: lining-nums proportional-nums; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink);
  font-size: var(--fs-md); font-weight: 680; font-stretch: 105%; line-height: 1.1;
  text-decoration: none; text-align: center;

}
.btn:hover { background: var(--paper-2); }
.btn--vonk { background: var(--vonk); border-color: var(--vonk); }
.btn--vonk:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--vonk); border-color: var(--vonk); color: var(--ink); }
.btn--line { background: transparent; }
.btn--plain { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 0.2em; }
.btn--plain:hover { background: transparent; text-decoration-thickness: 2px; }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: var(--fs-lg); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.45; cursor: not-allowed; }
.btn .icon { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- tags */

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border: 1px solid currentColor;
  font-size: var(--fs-xs); font-weight: 700; font-stretch: 110%; line-height: 1.2; white-space: nowrap;
}
.tag::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.tag--ok { color: var(--green); }
.tag--wait { color: var(--amber-ink); background: var(--amber-wash); }
.tag--alert { color: var(--red); }
.tag--muted { color: var(--ink-3); }
.tag--live { color: var(--red); }

/* ---------------------------------------------------------------- strip */

.strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 32px; padding: 6px var(--pad);
  background: var(--ink); color: var(--paper);
  font-size: var(--fs-xs); font-weight: 560; font-stretch: 105%;
}
.strip__rg b { display: inline-block; padding: 0 5px; margin-right: 4px; background: var(--paper); color: var(--ink); font-weight: 800; }
.strip__links { display: flex; gap: 20px; list-style: none; }
.strip__links a { text-decoration: none; }
.strip__links a:hover { color: var(--vonk); }
@media (max-width: 720px) { .strip__links { display: none; } }

/* ----------------------------------------------------------------- logo */

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo__mark { width: 38px; height: 23px; fill: currentColor; flex: none; }
.logo__mark .logo__spark { fill: var(--vonk); }
.logo__word { font-size: 1.1875rem; font-weight: 820; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.logo--light { color: var(--paper); }

/* ------------------------------------------------------------------ bar */

.bar {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  height: var(--bar-h);
  background: var(--paper); border-bottom: 1px solid var(--line-strong);
}
.bar__logo { display: flex; align-items: center; padding: 0 var(--pad); border-right: 1px solid var(--line); }
.bar__nav { display: flex; min-width: 0; }
.bar__list { display: flex; list-style: none; width: 100%; }
.bar__item { flex: 1 1 0; display: flex; border-right: 1px solid var(--line); }
.bar__link {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 12px;
  font-size: 0.9375rem; font-weight: 650; font-stretch: 108%; text-decoration: none; white-space: nowrap;
}
.bar__link[aria-current="page"] { background: var(--vonk); }
.bar__list:hover .bar__link[aria-current="page"]:not(:hover) { background: transparent; }
.bar__link:hover { background: var(--vonk); }
.bar__tools { display: flex; align-items: stretch; }
.bar__tool {
  display: flex; align-items: center; gap: 8px; padding: 0 18px;
  border: 0; border-left: 1px solid var(--line); background: none;
  font-size: 0.9375rem; font-weight: 650; font-stretch: 108%; text-decoration: none; white-space: nowrap;
}
.bar__tools > :first-child { border-left: 0; }
.bar__tool:hover, .bar__tool[aria-current="page"] { background: var(--paper-2); }
.bar__tool--balance { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.bar__balance-label { font-size: var(--fs-xs); font-weight: 560; color: var(--ink-3); line-height: 1.1; }
.bar__balance { font-weight: 760; font-variant-numeric: lining-nums proportional-nums; line-height: 1.2; }
.bar__cta {
  display: flex; align-items: center; padding: 0 26px;
  background: var(--ink); color: var(--paper);
  font-size: 0.9375rem; font-weight: 720; font-stretch: 108%; text-decoration: none;
}
.bar__cta:hover { background: var(--vonk); color: var(--ink); }

@media (max-width: 1180px) {
  .bar__tool-text { display: none; }
  .bar__tool--balance .bar__balance-label { display: none; }
}
@media (max-width: 1023px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__nav { display: none; }
  .bar__logo { border-right: 0; }
  .bar__cta { padding: 0 16px; }
}
@media (max-width: 420px) {
  .logo__word { font-size: 1.0625rem; }
  .bar__tool { padding: 0 12px; }
  .bar__tool--balance { display: none; }
}

/* --------------------------------------------------------------- search */

.search { position: fixed; inset: 0; z-index: 70; background: rgba(12, 12, 12, 0.55); }
.search__panel { background: var(--paper); border-bottom: 1px solid var(--ink); max-height: 100%; overflow: auto; }
.search__row { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); max-width: var(--max); margin: 0 auto; }
.search__label { grid-column: 1 / -1; padding: 16px var(--pad) 0; font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); }
.search__input {
  width: 100%; min-width: 0; border: 0; padding: 8px var(--pad) 18px; background: transparent;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); font-weight: 760; font-stretch: 110%; letter-spacing: -0.02em;
}
.search__input::placeholder { color: var(--paper-3); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close { width: 72px; border: 0; border-left: 1px solid var(--line); background: none; display: grid; place-items: center; }
.search__close:hover { background: var(--vonk); }
.search__results { max-width: var(--max); margin: 0 auto; }
.search__group { border-bottom: 1px solid var(--line); }
.search__group-title { padding: 14px var(--pad) 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-3); }
.search__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.search__hit { display: flex; align-items: center; gap: 14px; padding: 10px var(--pad); background: var(--paper); text-decoration: none; min-height: 64px; }
.search__hit:hover { background: var(--vonk); }
.search__hit img { width: 44px; height: 44px; object-fit: cover; }
.search__hit-name { font-weight: 700; line-height: 1.2; }
.search__hit-sub { display: block; font-size: var(--fs-sm); color: var(--ink-3); }
.search__hit:hover .search__hit-sub { color: var(--ink); }
.search__none { padding: 18px var(--pad); color: var(--ink-3); }

/* --------------------------------------------------------------- crumbs */

.crumbs { padding: 12px var(--pad); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; }
.crumbs__item { display: flex; align-items: center; color: var(--ink-3); }
.crumbs__item + .crumbs__item::before { content: "/"; margin: 0 10px; color: var(--paper-3); }
.crumbs__link { text-decoration: none; color: var(--ink); }
.crumbs__link:hover { text-decoration: underline; }

/* ---------------------------------------------------------- page head */

.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.head__main { grid-column: 1 / span 8; padding: clamp(28px, 4vw, 56px) var(--pad) clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); }
.head__title { font-size: var(--fs-h1); font-weight: 820; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
.head__lead { margin-top: 18px; max-width: 58ch; font-size: var(--fs-lg); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.head__side { grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); gap: 12px; }
.head--sport .head__side { background: var(--cobalt); color: var(--paper); }
.head--sport .head__side a { color: var(--paper); }
.head__stat { font-size: var(--fs-2xl); font-weight: 800; font-stretch: 112%; line-height: 1; font-variant-numeric: lining-nums proportional-nums; }
.head__stat-label { font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 900px) {
  .head__main { grid-column: 1 / -1; border-right: 0; }
  .head__side { grid-column: 1 / -1; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
}

/* ------------------------------------------------------------- poster */

.poster {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px; background: var(--line); border-bottom: 1px solid var(--line-strong);
}
.poster > * { background: var(--paper); }
.poster__word { grid-column: 1 / span 8; grid-row: 1 / span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 3.2vw, 44px) var(--pad) var(--pad); container-type: inline-size; }
.poster__title { font-size: var(--fs-poster); font-size: 20cqi; font-weight: 860; font-stretch: 125%; letter-spacing: -0.04em; line-height: 0.86; }
.poster__title span { display: block; }
.poster__spark { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.06em; background: var(--vonk); vertical-align: baseline; }
.poster__lead { max-width: 46ch; font-size: var(--fs-lg); line-height: 1.4; color: var(--ink-2); }
.poster__lead b { color: var(--ink); font-weight: 700; }
.poster__match { grid-column: 9 / span 4; grid-row: 1; display: flex; flex-direction: column; gap: 12px; padding: var(--pad); }
.poster__match-top { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); }
.poster__kickoff { display: flex; align-items: baseline; gap: 10px; }
.poster__time { font-size: clamp(2.5rem, 1.6rem + 2.2vw, 4rem); font-weight: 860; font-stretch: 118%; letter-spacing: -0.04em; line-height: 0.85; }
.poster__day { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); }
.poster__match-teams { font-size: var(--fs-lg); font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.05; text-decoration: none; }
.poster__match-teams:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.poster__match-teams span { display: block; }
.poster__prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: auto; }
.poster__game { grid-row: 2 / span 2; }
.poster__game--a { grid-column: 9 / span 2; }
.poster__game--b { grid-column: 11 / span 2; }
.poster__game .tile { height: 100%; }
.poster__cell {
  grid-row: 4; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 150px; padding: var(--pad); text-decoration: none;

}
.poster__cell--register { grid-column: 1 / span 3; }
.poster__cell--login { grid-column: 4 / span 3; }
.poster__cell--casino { grid-column: 7 / span 3; }
.poster__cell--ksa { grid-column: 10 / span 3; }
.poster__cell-big { font-size: var(--fs-xl); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.poster__cell-big .icon { width: 28px; height: 28px; }
.poster__cell-small { font-size: var(--fs-sm); color: var(--ink-2); max-width: 32ch; }
.poster__cell--ksa .poster__cell-big { font-size: var(--fs-lg); }
.is-lit, .poster__cell.is-lit { background: var(--vonk) !important; }
.is-lit .poster__cell-small, .is-lit .poster__match-top { color: var(--ink); }
@media (max-width: 1100px) {
  .poster__word { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .poster__match { grid-column: 1 / span 6; grid-row: auto; }
  .poster__game { grid-row: auto; }
  .poster__game--a { grid-column: 7 / span 3; }
  .poster__game--b { grid-column: 10 / span 3; }
  .poster__cell { grid-row: auto; grid-column: span 6 !important; min-height: 120px; }
}
@media (max-width: 640px) {
  .poster__match { grid-column: 1 / -1; }
  .poster__game--a { grid-column: 1 / span 6; }
  .poster__game--b { grid-column: 7 / span 6; }
}

/* --------------------------------------------------------------- bands */

.band { border-bottom: 1px solid var(--line-strong); }
.band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 44px var(--pad) 16px; }
.band__title { font-size: var(--fs-2xl); font-weight: 820; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.band__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; white-space: nowrap; padding: 6px 0; }
.band__more:hover { text-decoration: underline; }
.band__more .icon { width: 18px; height: 18px; }
.band__intro { padding: 0 var(--pad) 20px; max-width: 70ch; color: var(--ink-2); }
.band--cobalt { background: var(--cobalt); color: var(--paper); }
.band--cobalt .band__intro { color: #dfe5ff; }
.band--ink { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------- cells: generic row of link cells */

.cells { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); list-style: none; }
.cells > li { display: flex; }
.cells__cell {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 120px; padding: 16px var(--pad) 18px; background: var(--paper); text-decoration: none;

}
.cells__cell:hover, .cells__cell[aria-current="page"] { background: var(--vonk); }
.cells__name { font-size: var(--fs-lg); font-weight: 780; font-stretch: 110%; letter-spacing: -0.015em; line-height: 1.05; }
.cells__count { font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: lining-nums proportional-nums; }
.cells__cell:hover .cells__count, .cells__cell[aria-current="page"] .cells__count { color: var(--ink); }
.band--cobalt .cells { background: rgba(255, 255, 255, 0.28); border-top-color: rgba(255, 255, 255, 0.28); }
.band--cobalt .cells__cell { background: var(--cobalt); }
.band--cobalt .cells__cell:hover, .band--cobalt .cells__cell[aria-current="page"] { background: var(--vonk); color: var(--ink); }
.band--cobalt .cells__count { color: #dfe5ff; }
.band--cobalt .cells__cell:hover .cells__count { color: var(--ink); }
@media (max-width: 900px) { .cells { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cells__cell { min-height: 96px; } }

/* ---------------------------------------------------------------- tiles (game cells) */

.tiles { display: grid; grid-template-columns: repeat(var(--tiles, 6), minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.tiles__item { display: flex; background: var(--paper); }
.tiles--lobby { --tiles: 6; }
@media (max-width: 1280px) { .tiles { --tiles: 5; } }
@media (max-width: 1024px) { .tiles { --tiles: 4; } }
@media (max-width: 760px) { .tiles { --tiles: 3; } }
@media (max-width: 520px) { .tiles { --tiles: 2; } }
.tile { flex: 1; display: flex; flex-direction: column; min-width: 0; text-decoration: none; background: var(--paper); }
.tile__cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.tile__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.tile__tag {
  position: absolute; left: 0; top: 0; padding: 4px 8px;
  background: var(--ink); color: var(--paper); font-size: var(--fs-xs); font-weight: 700; font-stretch: 110%;
}
.tile__meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-height: 64px; border-top: 1px solid var(--line); }
.tile__name { font-size: 0.9375rem; font-weight: 720; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile__provider { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 520; }
.tile:hover .tile__meta, .tile:focus-visible .tile__meta, .tile.is-lit .tile__meta { background: var(--vonk); }
.tile:hover .tile__provider, .tile.is-lit .tile__provider { color: var(--ink); }
.tile:hover .tile__cover img { transform: scale(1.04); }
.tile.is-lit { background: var(--paper) !important; }
.tile:focus-visible { outline-offset: -3px; }

.empty { padding: 32px var(--pad); color: var(--ink-3); border-top: 1px solid var(--line); }

/* --------------------------------------------------------------- lobby (filters) */

.lobby { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line-strong); }
.lobby__tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.lobby__search { display: flex; align-items: center; gap: 12px; padding: 0 var(--pad); border-right: 1px solid var(--line); min-height: 64px; }
.lobby__search input { flex: 1; min-width: 0; border: 0; background: none; padding: 16px 0; font-size: var(--fs-lg); font-weight: 600; }
.lobby__search input::placeholder { color: var(--ink-3); font-weight: 450; }
.lobby__search:focus-within { box-shadow: inset 0 -3px 0 var(--cobalt); }
.lobby__provider { display: flex; align-items: center; gap: 12px; padding: 0 var(--pad); position: relative; }
.lobby__provider label { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); white-space: nowrap; }
.lobby__provider select { flex: 1; min-width: 0; appearance: none; border: 0; background: none; padding: 16px 28px 16px 0; font-weight: 700; font-size: var(--fs-md); }
.lobby__provider .icon { position: absolute; right: var(--pad); pointer-events: none; }
.lobby__chips { display: flex; overflow-x: auto; list-style: none; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.lobby__chips::-webkit-scrollbar { display: none; }
.lobby__chip {
  display: flex; align-items: center; gap: 8px; padding: 0 20px; min-height: 52px; white-space: nowrap;
  border-right: 1px solid var(--line); text-decoration: none; font-weight: 680; font-stretch: 106%;
  background: var(--paper); border-top: 0; border-bottom: 0; border-left: 0;
}
.lobby__chip:hover { background: var(--paper-2); }
.lobby__chip[aria-current="page"], .lobby__chip[aria-pressed="true"] { background: var(--vonk); }
.lobby__chip-count { font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: lining-nums proportional-nums; }
.lobby__chip[aria-current="page"] .lobby__chip-count, .lobby__chip[aria-pressed="true"] .lobby__chip-count { color: var(--ink); }
.lobby__status { display: flex; justify-content: space-between; gap: 12px; padding: 12px var(--pad); font-size: var(--fs-sm); color: var(--ink-3); }
.lobby__status b { color: var(--ink); font-variant-numeric: lining-nums proportional-nums; }
.lobby__reset { border: 0; background: none; text-decoration: underline; font-size: var(--fs-sm); padding: 0; }
.lobby__more { display: flex; justify-content: center; padding: 24px var(--pad); border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .lobby__tools { grid-template-columns: 1fr; }
  .lobby__search { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ------------------------------------------------------------ sections within catalog pages */

.group { border-bottom: 1px solid var(--line-strong); }
.group:last-child { border-bottom: 0; }
.group__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 36px var(--pad) 14px; }
.group__title { font-size: var(--fs-xl); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.05; }
.group__count { font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: lining-nums proportional-nums; white-space: nowrap; }
.group__text { padding: 0 var(--pad) 18px; max-width: 70ch; color: var(--ink-2); }

.tabs { display: flex; list-style: none; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__tab {
  display: flex; align-items: center; min-height: 52px; padding: 0 22px; border: 0; border-right: 1px solid var(--line);
  background: var(--paper); font-weight: 700; font-stretch: 106%; white-space: nowrap; text-decoration: none;
}
.tabs__tab:hover { background: var(--paper-2); }
.tabs__tab[aria-selected="true"], .tabs__tab[aria-current="page"] { background: var(--vonk); }

/* ---------------------------------------------------------------- sportsbook */

.book { display: grid; grid-template-columns: 220px minmax(0, 1fr) 360px; align-items: start; border-bottom: 1px solid var(--line-strong); }
.book__nav { position: sticky; top: var(--bar-h); border-right: 1px solid var(--line); max-height: calc(100vh - var(--bar-h)); overflow: auto; }
.book__main { min-width: 0; border-right: 1px solid var(--line); min-height: 60vh; }
.book__slip { position: sticky; top: var(--bar-h); max-height: calc(100vh - var(--bar-h)); overflow: auto; }
.book__sports { list-style: none; }
.book__sport {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; padding: 0 var(--pad);
  border-bottom: 1px solid var(--line); font-weight: 700; font-stretch: 106%; text-decoration: none;
}
.book__sport:hover { background: var(--paper-2); }
.book__sport[aria-current="page"] { background: var(--vonk); }
.book__sport-count { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); font-variant-numeric: lining-nums proportional-nums; }
.book__sport[aria-current="page"] .book__sport-count { color: var(--ink); }
.book__sport--live { color: var(--red); }
.book__sport--live[aria-current="page"] { color: var(--ink); }
.book__label { padding: 18px var(--pad) 8px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); }
.book__tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--line); }
.book__search { display: flex; align-items: center; gap: 10px; padding: 0 var(--pad); min-height: 56px; }
.book__search input { flex: 1; min-width: 0; border: 0; background: none; font-weight: 600; font-size: var(--fs-md); padding: 14px 0; }
.book__search:focus-within { box-shadow: inset 0 -3px 0 var(--cobalt); }
.book__filter { display: flex; }
.book__filter button { border: 0; border-left: 1px solid var(--line); background: var(--paper); padding: 0 18px; font-weight: 680; white-space: nowrap; }
.book__filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.book__comp { border-bottom: 1px solid var(--line); }
.book__comp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--pad); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.book__comp-title { font-size: var(--fs-md); font-weight: 780; font-stretch: 106%; }
.book__comp-sport { font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); }
.book__cols { display: grid; grid-template-columns: repeat(3, 76px) 48px; font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); text-align: center; }
.book__empty { padding: 40px var(--pad); }
.book__empty p + p { margin-top: 8px; color: var(--ink-3); }
@media (max-width: 1280px) {
  .book { grid-template-columns: 200px minmax(0, 1fr); }
  .book__slip { display: none; }
}
@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; }
  .book__nav { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .book__sports { display: flex; overflow-x: auto; scrollbar-width: none; }
  .book__sports li { flex: none; }
  .book__sport { border-bottom: 0; border-right: 1px solid var(--line); }
  .book__label { display: none; }
  .book__main { border-right: 0; }
  .book__cols { display: none; }
}

.fixture {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto 48px; align-items: stretch;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.fixture:last-child { border-bottom: 0; }
.fixture__when { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px var(--pad); border-right: 1px solid var(--line); }
.fixture__time { font-size: var(--fs-lg); font-weight: 780; font-variant-numeric: lining-nums proportional-nums; line-height: 1; }
.fixture__day { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 560; }
.fixture__live { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-size: var(--fs-sm); font-weight: 780; }
.fixture__live .icon { width: 16px; height: 16px; animation: pulse 1.6s steps(2, end) infinite; }
.fixture__clock { font-size: var(--fs-sm); font-weight: 680; font-variant-numeric: lining-nums proportional-nums; }
.fixture__names { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 10px 16px; min-width: 0; text-decoration: none; }
.fixture__names:hover .fixture__team { text-decoration: underline; }
.fixture__comp { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 560; }
.fixture__team { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fixture__score { font-variant-numeric: lining-nums proportional-nums; font-weight: 800; }
.fixture__sub { font-size: var(--fs-xs); color: var(--ink-3); }
.fixture__prices { display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 1px; background: var(--line); border-left: 1px solid var(--line); }
.fixture--n2 .fixture__prices { grid-auto-columns: 114.5px; }
.fixture__open { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; background: var(--paper); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; min-width: 230px; }
.fixture__open:hover { background: var(--vonk); }
.fixture__open .icon { width: 16px; height: 16px; }
.fixture__more { display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; color: var(--ink-3); }
.fixture__more:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 640px) {
  .fixture { grid-template-columns: 70px minmax(0, 1fr) 40px; }
  .fixture__prices { grid-column: 1 / -1; grid-row: 2; grid-auto-columns: 1fr; border-left: 0; border-top: 1px solid var(--line); }
  .fixture--n2 .fixture__prices { grid-auto-columns: 1fr; }
  .fixture__open { min-width: 0; min-height: 48px; }
  .fixture__when { padding: 10px 12px; }
  .fixture__names { padding: 10px 12px; }
}

.price {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; padding: 6px 4px; border: 0; background: var(--paper);
  font-variant-numeric: lining-nums proportional-nums;
}
.price:hover { background: var(--paper-2); }
.price[aria-pressed="true"] { background: var(--vonk); }
.price[disabled] { color: var(--ink-3); cursor: not-allowed; }
.price__label { font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); }
.price[aria-pressed="true"] .price__label { color: var(--ink); }
.price__odds { font-size: 1.0625rem; font-weight: 780; line-height: 1; }
.price--wide { flex-direction: row; justify-content: space-between; padding: 0 16px; min-height: 56px; text-align: left; gap: 16px; }
.price--wide .price__label { font-size: var(--fs-md); font-weight: 650; color: var(--ink); }
.price.is-up::after, .price.is-down::after {
  content: ""; position: absolute; right: 6px; top: 6px; width: 0; height: 0; border: 5px solid transparent;
}
.price.is-up::after { border-bottom-color: var(--green); top: 1px; }
.price.is-down::after { border-top-color: var(--red); }
@keyframes pulse { 50% { opacity: 0.25; } }

.market { border-bottom: 1px solid var(--line); }
.market__title { padding: 14px var(--pad); font-weight: 780; font-stretch: 106%; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.market__grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1px; background: var(--line); }
.market__grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .market__grid--list { grid-template-columns: 1fr; } }

.eventhead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.eventhead__main { grid-column: 1 / span 8; padding: clamp(24px, 3vw, 44px) var(--pad); border-right: 1px solid var(--line); }
.eventhead__comp { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); }
.eventhead__title { margin-top: 8px; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem); font-weight: 820; font-stretch: 110%; letter-spacing: -0.03em; line-height: 1; }
.eventhead__side { grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: var(--pad); background: var(--cobalt); color: var(--paper); }
.eventhead__time { font-size: var(--fs-2xl); font-weight: 800; font-variant-numeric: lining-nums proportional-nums; line-height: 1; }
@media (max-width: 800px) {
  .eventhead__main { grid-column: 1 / -1; border-right: 0; }
  .eventhead__side { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- bet slip */

.slip { background: var(--paper); display: flex; flex-direction: column; }
.slip__head { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 var(--pad); border-bottom: 1px solid var(--line-strong); background: var(--ink); color: var(--paper); }
.slip__title { flex: 1; display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); font-weight: 800; font-stretch: 110%; }
.slip__count { min-width: 26px; height: 26px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--vonk); color: var(--ink); font-size: var(--fs-sm); font-variant-numeric: lining-nums proportional-nums; }
.slip__clear { border: 0; background: none; color: var(--paper); text-decoration: underline; font-size: var(--fs-sm); }
.slip__close { border: 0; background: none; color: var(--paper); padding: 8px; margin-right: -8px; }
.slip__empty { padding: 24px var(--pad); }
.slip__empty p:first-child { font-weight: 700; }
.slip__hint { margin-top: 6px; color: var(--ink-3); font-size: var(--fs-sm); }
.slip__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; text-decoration: none; }
.slip__go:hover { text-decoration: underline; }
.slip__go .icon { width: 18px; height: 18px; }
.slip__list { list-style: none; }
.slip__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px var(--pad); border-bottom: 1px solid var(--line); }
.slip__item.is-changed { background: var(--amber-wash); }
.slip__item.is-closed { background: var(--paper-2); color: var(--ink-3); }
.slip__sel { font-weight: 780; line-height: 1.25; }
.slip__odds { font-weight: 800; font-variant-numeric: lining-nums proportional-nums; font-size: var(--fs-lg); line-height: 1; text-align: right; }
.slip__old { display: block; font-size: var(--fs-xs); font-weight: 560; color: var(--ink-3); text-decoration: line-through; }
.slip__meta { grid-column: 1; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.35; }
.slip__remove { grid-column: 2; grid-row: 2 / span 2; align-self: start; justify-self: end; border: 0; background: none; padding: 6px; margin: -6px; color: var(--ink-3); }
.slip__remove:hover { color: var(--red); }
.slip__stake { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.slip__stake-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.slip__stake-field { display: flex; align-items: center; gap: 6px; border: 1px solid var(--ink); padding: 0 10px; width: 128px; background: var(--paper); }
.slip__stake-field:focus-within { outline: 3px solid var(--cobalt); outline-offset: -1px; }
.slip__stake-field input { width: 100%; border: 0; background: none; padding: 10px 0; font-weight: 700; font-variant-numeric: lining-nums proportional-nums; text-align: right; }
.slip__stake-field input:focus-visible { outline: none; }
.slip__return { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--ink-3); text-align: right; font-variant-numeric: lining-nums proportional-nums; }
.slip__combo { padding: 14px var(--pad); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.slip__combo-row { display: flex; justify-content: space-between; font-weight: 780; }
.slip__combo-odds { font-variant-numeric: lining-nums proportional-nums; }
.slip__combo-note { margin-top: 8px; font-size: var(--fs-sm); color: var(--red); }
.slip__alert { padding: 14px var(--pad); background: var(--amber-wash); color: var(--amber-ink); border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: var(--fs-sm); font-weight: 600; }
.slip__foot { padding: 16px var(--pad) 20px; display: grid; gap: 14px; }
.slip__sum { display: grid; gap: 6px; }
.slip__sum div { display: flex; justify-content: space-between; gap: 12px; }
.slip__sum dt { color: var(--ink-2); font-size: var(--fs-sm); }
.slip__sum dd { font-weight: 800; font-variant-numeric: lining-nums proportional-nums; }
.slip__place {
  min-height: 56px; border: 0; background: var(--vonk); color: var(--ink);
  font-size: var(--fs-lg); font-weight: 800; font-stretch: 110%;
}
.slip__place:hover { background: var(--ink); color: var(--paper); }
.slip__place[disabled] { background: var(--paper-3); color: var(--ink-3); cursor: not-allowed; }
.slip__legal { font-size: var(--fs-xs); color: var(--ink-3); }
.slip__done { padding: 20px var(--pad); background: var(--green-wash); border-bottom: 1px solid var(--line); }
.slip__done-title { font-size: var(--fs-lg); font-weight: 800; margin-bottom: 6px; color: var(--green); }
.slip__msg { padding: 12px var(--pad); font-size: var(--fs-sm); background: var(--error-wash); color: var(--red); font-weight: 600; border-bottom: 1px solid var(--line); }
.slip__msg a { color: inherit; font-weight: 700; }

.slip--drawer {
  position: fixed; z-index: 60; right: 0; top: 0; bottom: 0; width: min(400px, 100%);
  border-left: 1px solid var(--ink); overflow: auto; transform: translateX(0);
  animation: slip-in 0.28s var(--ease);
}
@keyframes slip-in { from { transform: translateX(40px); opacity: 0; } }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(12, 12, 12, 0.5); }
@media (max-width: 640px) {
  .slip--drawer { top: auto; left: 0; width: 100%; max-height: 88vh; border-left: 0; border-top: 1px solid var(--ink); animation-name: slip-up; }
  @keyframes slip-up { from { transform: translateY(40px); opacity: 0; } }
}

/* ------------------------------------------------------------------ game page */

.game { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.game__visual { grid-column: 1 / span 5; border-right: 1px solid var(--line); }
.game__cover { aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.game__cover img { width: 100%; height: 100%; object-fit: cover; }
.game__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.game__fact { background: var(--paper); padding: 12px var(--pad); }
.game__fact dt { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.game__fact dd { font-weight: 720; line-height: 1.25; }
.game__body { grid-column: 6 / span 7; display: flex; flex-direction: column; min-width: 0; }
.game__intro { padding: clamp(24px, 3vw, 44px) var(--pad) 24px; border-bottom: 1px solid var(--line); }
.game__title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.75rem); font-weight: 830; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
.game__provider { margin-top: 10px; font-weight: 650; color: var(--ink-3); }
.game__blurb { margin-top: 18px; max-width: 60ch; font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-2); }
.game__play { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--line-strong); }
.game__play-note { padding: 14px var(--pad); font-size: var(--fs-sm); color: var(--ink-3); align-self: center; }
.game__play-btn {
  display: flex; align-items: center; gap: 14px; padding: 0 36px; min-height: 76px; border: 0;
  background: var(--vonk); color: var(--ink); font-size: var(--fs-xl); font-weight: 830; font-stretch: 112%; text-decoration: none;
}
.game__play-btn:hover { background: var(--ink); color: var(--paper); }
.game__play-btn .icon { width: 24px; height: 24px; }
.game__rules { padding: 32px var(--pad) 40px; border-top: 1px solid var(--line); }
.game__rules h2 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; margin-bottom: 12px; }
.game__rules p { max-width: 66ch; color: var(--ink-2); }
.game__rules p + p { margin-top: 12px; }
.game__rules h2:not(:first-child) { margin-top: 28px; }
@media (max-width: 900px) {
  .game__visual, .game__body { grid-column: 1 / -1; border-right: 0; }
  .game__visual { display: grid; grid-template-columns: 38% 1fr; border-bottom: 1px solid var(--line); }
  .game__facts { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .game__play { grid-template-columns: 1fr; }
  .game__play-btn { justify-content: center; }
}

/* ---------------------------------------------------------------- picker */

.picker { padding: 22px var(--pad) 24px; }
.picker__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.picker__title { font-size: var(--fs-lg); font-weight: 800; font-stretch: 110%; }
.picker__count { font-size: var(--fs-sm); font-weight: 650; font-variant-numeric: lining-nums proportional-nums; }
.picker__help { margin-top: 6px; max-width: 64ch; font-size: var(--fs-sm); color: var(--ink-3); }
.picker__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.picker__grid--roulette { grid-template-columns: repeat(13, minmax(0, 1fr)); }
.picker__grid--american { grid-template-columns: repeat(14, minmax(0, 1fr)); }
.picker__num {
  position: relative; aspect-ratio: 1; min-height: 34px; border: 0; background: var(--paper);
  font-weight: 720; font-variant-numeric: lining-nums proportional-nums; font-size: clamp(0.8125rem, 0.7rem + 0.35vw, 1rem);
  
}
.picker__num:hover { background: var(--paper-2); }
.picker__num[aria-pressed="true"] { background: var(--vonk); }
.picker__num[disabled] { color: var(--paper-3); cursor: not-allowed; }
.picker__num--red::after, .picker__num--black::after, .picker__num--green::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.picker__num--red::after { background: var(--red); }
.picker__num--black::after { background: var(--ink); }
.picker__num--green::after { background: var(--green); }
.picker__num--zero { grid-row: span 3; aspect-ratio: auto; }
.picker__actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.picker__stakes { margin-top: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.picker__stake { position: relative; }
.picker__stake input { position: absolute; opacity: 0; inset: 0; }
.picker__stake span { display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--paper); font-weight: 760; font-variant-numeric: lining-nums proportional-nums; cursor: pointer; }
.picker__stake input:checked + span { background: var(--vonk); }
.picker__stake input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: -3px; }
.picker__stake span:hover { background: var(--paper-2); }
.picker__stake input:checked + span:hover { background: var(--vonk); }
@media (max-width: 520px) {
  .picker__stakes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picker__grid--roulette, .picker__grid--american { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .picker__grid--roulette .picker__num { order: var(--o, 0); }
  .picker__num--zero { grid-row: auto; grid-column: span 6; aspect-ratio: auto; min-height: 44px; }
  .picker__grid--american .picker__num--zero { grid-column: span 3; }
  .picker__grid:not(.picker__grid--roulette) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ play gate */

.playgate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.playgate__cover { grid-column: 1 / span 3; border-right: 1px solid var(--line); }
.playgate__cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.playgate__main { grid-column: 4 / span 9; padding: clamp(24px, 3vw, 44px) var(--pad); display: flex; flex-direction: column; gap: 18px; }
.playgate__title { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem); font-weight: 830; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; max-width: 22ch; }
.playgate__text { max-width: 62ch; color: var(--ink-2); font-size: var(--fs-lg); }
.playgate__choice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper-2); }
.playgate__choice-label { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); margin-right: 4px; }
.playgate__ball { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; background: var(--vonk); font-weight: 800; font-variant-numeric: lining-nums proportional-nums; }
.playgate__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 1px; background: var(--line); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.playgate__action { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--paper); text-decoration: none; }
.playgate__action b { font-size: var(--fs-xl); font-weight: 830; font-stretch: 110%; line-height: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.playgate__action span { font-size: var(--fs-sm); color: var(--ink-2); }
.playgate__action--vonk { background: var(--vonk); }
.playgate__action:hover { background: var(--ink); color: var(--paper); }
.playgate__action:hover span { color: var(--paper-3); }
.playgate__list { display: grid; gap: 6px; padding-left: 20px; color: var(--ink-2); }
.launch { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); background: var(--paper-2); max-width: 62ch; }
.launch p { font-weight: 600; }
@media (max-width: 800px) {
  .playgate__cover { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .playgate__cover img { aspect-ratio: 16 / 9; }
  .playgate__main { grid-column: 1 / -1; }
  .playgate__actions { grid-template-columns: 1fr; width: 100%; }
}

/* ------------------------------------------------------------------ forms */

.auth { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.auth__side { grid-column: 1 / span 5; padding: clamp(28px, 4vw, 56px) var(--pad); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.auth__title { font-size: var(--fs-h1); font-weight: 830; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.95; }
.auth__lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 44ch; }
.auth__main { grid-column: 6 / span 7; padding: clamp(28px, 4vw, 56px) var(--pad); }
.auth__main--wide { grid-column: 6 / span 7; }
.auth__aside { margin-top: auto; font-size: var(--fs-sm); color: var(--ink-3); }
.auth__aside a { color: var(--ink); font-weight: 650; }
@media (max-width: 900px) {
  .auth__side, .auth__main { grid-column: 1 / -1; border-right: 0; }
  .auth__side { border-bottom: 1px solid var(--line); }
}

.flow { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; counter-reset: flow; }
.flow__step { flex: 1 1 96px; background: var(--paper); padding: 10px 12px; font-size: var(--fs-sm); font-weight: 650; line-height: 1.25; counter-increment: flow; }
.flow__step::before { content: counter(flow); display: block; font-size: var(--fs-lg); font-weight: 800; font-variant-numeric: lining-nums proportional-nums; margin-bottom: 8px; }
.flow__step[aria-current="step"] { background: var(--vonk); }
.flow__step.is-done { background: var(--paper-2); color: var(--ink-3); }


.form { display: grid; gap: 18px; max-width: 620px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1.4fr; }
@media (max-width: 560px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }
.form__section { font-size: var(--fs-lg); font-weight: 800; font-stretch: 110%; padding-top: 10px; border-top: 1px solid var(--ink); margin-top: 6px; }
.form__msg { padding: 14px 16px; border: 1px solid var(--red); background: var(--error-wash); color: var(--red); font-weight: 600; }
.form__msg--ok { border-color: var(--green); background: var(--green-wash); color: var(--green); }
.form__msg--info { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.form__msg a, .form__msg button { color: inherit; font-weight: 750; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form__aside { font-size: var(--fs-sm); color: var(--ink-3); }
.form__aside a { color: var(--ink); }

.field { display: grid; gap: 6px; }
.field__label { font-size: var(--fs-sm); font-weight: 700; }
.field__hint { font-size: var(--fs-sm); color: var(--ink-3); }
.field__input, .field__select, .field__textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--ink); border-radius: 0; background: var(--paper);
  font-size: var(--fs-md); font-weight: 520;
}
.field__textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field__select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field__input:focus-visible, .field__select:focus-visible, .field__textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -1px; }
.field__input::placeholder, .field__textarea::placeholder { color: #8a8a8a; }
.field__error { font-size: var(--fs-sm); font-weight: 650; color: var(--red); }
.field.is-invalid .field__input, .field.is-invalid .field__select, .field.is-invalid .field__textarea { border-color: var(--red); border-width: 2px; padding: 11px 13px; background: var(--error-wash); }
.field__pw { position: relative; }
.field__pw .field__input { padding-right: 84px; }
.field__toggle { position: absolute; right: 1px; top: 1px; bottom: 1px; width: 76px; border: 0; border-left: 1px solid var(--line); background: var(--paper); font-size: var(--fs-sm); font-weight: 700; }
.field__toggle:hover { background: var(--paper-2); }
.field__meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 2px; }
.field__meter span { height: 4px; background: var(--paper-3); }
.field__meter[data-score="1"] span:nth-child(-n+1) { background: var(--red); }
.field__meter[data-score="2"] span:nth-child(-n+2) { background: var(--amber-ink); }
.field__meter[data-score="3"] span { background: var(--green); }
.field__rules { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-sm); color: var(--ink-3); }
.field__rules li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border: 1px solid currentColor; }
.field__rules li.is-met { color: var(--green); }
.field__rules li.is-met::before { background: currentColor; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check input { appearance: none; width: 24px; height: 24px; margin: 0; border: 1px solid var(--ink); background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--vonk); }
.check input:checked::after { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.check__text { font-size: var(--fs-sm); line-height: 1.45; padding-top: 2px; }
.check__text a { font-weight: 650; }
.field.is-invalid .check input { border: 2px solid var(--red); }

.radios { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.radios__opt { position: relative; }
.radios__opt input { position: absolute; opacity: 0; inset: 0; }
.radios__box { display: flex; flex-direction: column; gap: 6px; min-height: 92px; padding: 14px; background: var(--paper); cursor: pointer; }
.radios__box .paymark { width: 54px; }
.radios__name { font-weight: 760; }
.radios__note { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.35; }
.radios__opt input:checked + .radios__box { background: var(--vonk); }
.radios__opt input:checked + .radios__box .radios__note { color: var(--ink); }
.radios__opt input:focus-visible + .radios__box { outline: 3px solid var(--cobalt); outline-offset: -3px; }
.radios__box:hover { background: var(--paper-2); }
.radios__opt input:checked + .radios__box:hover { background: var(--vonk); }
.radios--compact .radios__box { min-height: 56px; justify-content: center; }

.file { display: grid; gap: 8px; }
.file__drop { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed var(--ink); background: var(--paper); cursor: pointer; }
.file__drop:hover { background: var(--paper-2); }
.file__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file__drop:focus-within { outline: 3px solid var(--cobalt); outline-offset: -1px; }
.file__name { font-weight: 650; overflow-wrap: anywhere; }
.file__hint { font-size: var(--fs-sm); color: var(--ink-3); }

.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ account */

.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); border-bottom: 1px solid var(--line-strong); min-height: 70vh; }
.account__nav { border-right: 1px solid var(--line); }
.account__who { padding: 22px var(--pad); border-bottom: 1px solid var(--line); }
.account__name { font-size: var(--fs-lg); font-weight: 800; font-stretch: 108%; line-height: 1.1; }
.account__email { font-size: var(--fs-sm); color: var(--ink-3); overflow-wrap: anywhere; }
.account__links { list-style: none; }
.account__link {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 var(--pad);
  border-bottom: 1px solid var(--line); font-weight: 650; text-decoration: none; width: 100%; background: none; border-top: 0; border-left: 0; border-right: 0; text-align: left;
}
.account__link .icon { width: 18px; height: 18px; color: var(--ink-3); }
.account__link:hover { background: var(--paper-2); }
.account__link[aria-current="page"] { background: var(--vonk); }
.account__link[aria-current="page"] .icon { color: var(--ink); }
.account__main { min-width: 0; }
.account__head { padding: clamp(24px, 3vw, 40px) var(--pad) 22px; border-bottom: 1px solid var(--line-strong); }
.account__title { font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem); font-weight: 830; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.account__lead { margin-top: 10px; color: var(--ink-2); max-width: 64ch; }
.account__section { padding: 26px var(--pad) 32px; border-bottom: 1px solid var(--line); }
.account__section:last-child { border-bottom: 0; }
.account__h2 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; margin-bottom: 14px; }
.account__h3 { font-size: var(--fs-lg); font-weight: 780; margin-bottom: 10px; }
.account__text { max-width: 66ch; color: var(--ink-2); }
.account__text + .account__text { margin-top: 10px; }
@media (max-width: 900px) {
  .account { grid-template-columns: 1fr; }
  .account__nav { border-right: 0; border-bottom: 1px solid var(--line); }
  .account__links { display: flex; overflow-x: auto; scrollbar-width: none; }
  .account__links li { flex: none; }
  .account__link { border-bottom: 0; border-right: 1px solid var(--line); min-height: 52px; white-space: nowrap; }
  .account__who { display: none; }
}

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.stats__cell { background: var(--paper); padding: 18px var(--pad); display: flex; flex-direction: column; gap: 10px; min-height: 128px; text-decoration: none; }
a.stats__cell:hover { background: var(--paper-2); }
.stats__label { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); }
.stats__value { font-size: var(--fs-2xl); font-weight: 820; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: lining-nums proportional-nums; }
.stats__sub { margin-top: auto; font-size: var(--fs-sm); color: var(--ink-2); }
.stats__cell--vonk { background: var(--vonk); }
.stats__cell--vonk .stats__label { color: var(--ink); }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.notice { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--ink); background: var(--paper-2); }
.notice .icon { margin-top: 2px; }
.notice p + p { margin-top: 6px; }
.notice--warn { background: var(--amber-wash); border-color: var(--amber-ink); color: var(--amber-ink); }
.notice--ok { background: var(--green-wash); border-color: var(--green); color: var(--green); }
.notice--vonk { background: var(--vonk-wash); border-color: var(--vonk); }
.notice a { font-weight: 700; color: inherit; }

.kv { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; border-top: 1px solid var(--line); max-width: 760px; }
.kv dt, .kv dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); padding-right: 24px; }
.kv dd { font-weight: 600; overflow-wrap: anywhere; }

.table { width: 100%; font-size: var(--fs-sm); }
.table th { text-align: left; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: lining-nums proportional-nums; white-space: nowrap; }
.table tr:hover td { background: var(--paper-2); }
.table__strong { font-weight: 700; }
.table__sub { display: block; color: var(--ink-3); font-size: var(--fs-xs); }
.table-wrap { overflow-x: auto; }
@media (max-width: 720px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .table--stack td { border: 0; padding: 0; }
  .table--stack td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 650; }
  .table--stack td.num { text-align: left; }
  .table--stack tr:hover td { background: none; }
}

.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.limits__cell { background: var(--paper); padding: 14px 16px; }
.limits__period { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); }
.limits__value { font-size: var(--fs-xl); font-weight: 800; font-variant-numeric: lining-nums proportional-nums; }
.limits__pending { font-size: var(--fs-xs); color: var(--amber-ink); font-weight: 650; }
.limits__used { font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 640px) { .limits { grid-template-columns: 1fr; } }

.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 16px; }
.inline-form .field { min-width: 160px; flex: 1 1 160px; max-width: 260px; }

/* ------------------------------------------------------------------ prose & docs */

.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.doc__aside { grid-column: 1 / span 3; border-right: 1px solid var(--line); }
.doc__sticky { position: sticky; top: calc(var(--bar-h) + 1px); max-height: calc(100vh - var(--bar-h)); overflow: auto; }
.doc__body { grid-column: 4 / span 9; padding: 36px var(--pad) 64px; min-width: 0; }
.doc__meta { font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: 26px; }
@media (max-width: 960px) {
  .doc__aside { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .doc__sticky { position: static; max-height: none; }
  .doc__body { grid-column: 1 / -1; }
}

.toc { padding: 20px var(--pad) 24px; }
.toc__title { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-3); margin-bottom: 10px; }
.toc__list { list-style: none; display: grid; }
.toc__link { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; line-height: 1.3; }
.toc__link:hover, .toc__link.is-current { color: var(--ink); text-decoration: underline; }
.toc__link.is-current { box-shadow: inset 4px 0 0 var(--vonk); padding-left: 12px; }
@media (max-width: 960px) {
  .toc__list { display: flex; overflow-x: auto; gap: 0; scrollbar-width: none; border-top: 1px solid var(--line); }
  .toc__list li { flex: none; }
  .toc__link { padding: 10px 14px; border-bottom: 0; border-right: 1px solid var(--line); white-space: nowrap; }
}

.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.prose > section + section { margin-top: 44px; }
.prose h2 { color: var(--ink); font-size: var(--fs-xl); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; padding-top: 14px; border-top: 1px solid var(--ink); }
.prose h3 { color: var(--ink); font-size: var(--fs-lg); font-weight: 760; line-height: 1.2; margin: 28px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol:not(.steps) { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--vonk-deep); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--vonk); text-decoration-thickness: 2px; }
.prose a:hover { background: var(--vonk-wash); }
.prose table { width: 100%; margin: 8px 0 20px; font-size: var(--fs-sm); line-height: 1.45; display: block; overflow-x: auto; }
.prose th { text-align: left; color: var(--ink); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose dl:not(.facts) { margin: 0 0 16px; }
.prose dl:not(.facts) dt { color: var(--ink); font-weight: 700; margin-top: 10px; }
.prose > p:first-child { font-size: var(--fs-lg); color: var(--ink); }

.steps { list-style: none; counter-reset: step; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 6px 0 22px; padding: 0; }
.prose .steps { max-width: none; }
.steps li { flex: 1 1 150px; counter-increment: step; background: var(--paper); padding: 14px 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-sm); line-height: 1.45; }
.steps li::before { content: counter(step); font-size: var(--fs-2xl); font-weight: 830; font-stretch: 110%; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums proportional-nums; }
.steps li strong { font-size: var(--fs-md); font-weight: 780; line-height: 1.2; }
.steps li:hover { background: var(--vonk); color: var(--ink); }
.steps li span { color: inherit; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 6px 0 22px; }
.facts > div { background: var(--paper); padding: 14px 16px; }
.facts dt { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); }
.facts dd { color: var(--ink); font-weight: 650; font-size: var(--fs-md); line-height: 1.4; margin-top: 4px; }

/* ------------------------------------------------------------------ help centre */

.helpcats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line-strong); list-style: none; }
.helpcats__cell { display: flex; flex-direction: column; gap: 10px; min-height: 180px; padding: 20px var(--pad); background: var(--paper); text-decoration: none; height: 100%; }
.helpcats__cell:hover { background: var(--vonk); }
.helpcats__name { font-size: var(--fs-xl); font-weight: 820; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1; }
.helpcats__intro { font-size: var(--fs-sm); color: var(--ink-2); }
.helpcats__count { margin-top: auto; font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); }
.helpcats__cell:hover .helpcats__count, .helpcats__cell:hover .helpcats__intro { color: var(--ink); }
.helpcats > li { display: flex; }
.helpcats > li > * { flex: 1; }
@media (max-width: 1100px) { .helpcats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .helpcats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .helpcats__cell { min-height: 140px; } }
@media (max-width: 420px) { .helpcats { grid-template-columns: 1fr; } .helpcats__cell { min-height: 0; } }

.faq { border-top: 1px solid var(--ink); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; font-size: var(--fs-lg); font-weight: 720; line-height: 1.3; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { transition: transform 0.2s var(--ease); flex: none; }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); }
.faq__q:hover { color: var(--ink-2); }
.faq__a { padding: 0 0 20px; max-width: 70ch; }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: 10px; }

/* ------------------------------------------------------------------ home extras */

.rg { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.2); }
.rg > * { background: var(--ink); }
.rg__message { grid-column: 1 / span 7; padding: 48px var(--pad) 40px; }
.rg__big { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem); font-weight: 860; font-stretch: 118%; letter-spacing: -0.04em; line-height: 0.92; }
.rg__big b { display: inline-block; background: var(--vonk); color: var(--ink); padding: 0 0.12em; margin-right: 0.12em; }
.rg__text { margin-top: 20px; max-width: 52ch; color: #cfcfcf; font-size: var(--fs-lg); }
.rg__tools { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.2); list-style: none; }
.rg__tools li { background: var(--ink); padding: 16px var(--pad); display: flex; flex-direction: column; gap: 4px; }
.rg__tools b { font-weight: 760; }
.rg__tools span { font-size: var(--fs-sm); color: #bdbdbd; }
.rg__links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.2); list-style: none; }
.rg__links a { display: flex; flex-direction: column; gap: 4px; padding: 16px var(--pad); background: var(--ink); color: var(--paper); text-decoration: none; height: 100%; }
.rg__links a:hover { background: var(--vonk); color: var(--ink); }
.rg__links span { font-size: var(--fs-sm); color: #bdbdbd; }
.rg__links a:hover span { color: var(--ink); }
.rg__links b { display: flex; align-items: center; gap: 6px; font-size: var(--fs-lg); font-weight: 780; }
.rg__links .icon { width: 16px; height: 16px; }
.rg__more { grid-column: 1 / -1; padding: 16px var(--pad); }
.rg__more a { color: var(--paper); font-weight: 700; }
@media (max-width: 960px) {
  .rg__message, .rg__tools { grid-column: 1 / -1; }
  .rg__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) { .rg__tools { grid-template-columns: 1fr; } }

.start { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); list-style: none; counter-reset: start; }
.start__step { counter-increment: start; background: var(--paper); padding: 18px var(--pad) 22px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.start__step::before { content: counter(start); font-size: clamp(3rem, 1.5rem + 4vw, 5.5rem); font-weight: 860; font-stretch: 125%; letter-spacing: -0.05em; line-height: 0.8; font-variant-numeric: lining-nums proportional-nums; }
.start__step b { font-size: var(--fs-lg); font-weight: 800; font-stretch: 108%; line-height: 1.1; margin-top: auto; }
.start__step span { font-size: var(--fs-sm); color: var(--ink-2); }
.start__step:hover { background: var(--vonk); }
.start__step:hover span { color: var(--ink); }
@media (max-width: 1024px) { .start { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .start { grid-template-columns: 1fr 1fr; } .start__step { min-height: 170px; } }

.paylist { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); list-style: none; }
.paylist__cell { background: var(--paper); padding: 18px var(--pad); display: flex; flex-direction: column; gap: 12px; }
.paylist__cell .paymark { width: 72px; }
.paylist__name { font-weight: 780; }
.paylist__note { font-size: var(--fs-sm); color: var(--ink-3); }
@media (max-width: 900px) { .paylist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.joinband { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.joinband > * { background: var(--paper); }
.joinband__text { grid-column: 1 / span 6; padding: 28px var(--pad); }
.joinband__title { font-size: var(--fs-2xl); font-weight: 830; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.joinband__lead { margin-top: 12px; max-width: 50ch; color: var(--ink-2); }
.joinband__cell { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; padding: 22px var(--pad); min-height: 170px; text-decoration: none; }
.joinband__cell b { font-size: var(--fs-xl); font-weight: 830; font-stretch: 112%; display: flex; justify-content: space-between; align-items: center; }
.joinband__cell span { font-size: var(--fs-sm); color: var(--ink-2); }
.joinband__cell--vonk { background: var(--vonk); }
.joinband__cell:hover { background: var(--ink); color: var(--paper); }
.joinband__cell:hover span { color: var(--paper-3); }
.joinband__cell .icon { width: 26px; height: 26px; }
@media (max-width: 960px) { .joinband__text { grid-column: 1 / -1; } .joinband__cell { grid-column: span 6; } }

.operator { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.operator > * { background: var(--paper); }
.operator__fact { grid-column: span 3; padding: 16px var(--pad) 18px; }
.operator__fact dt { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); }
.operator__fact dd { margin-top: 6px; font-weight: 700; line-height: 1.35; }
.operator__fact--wide { grid-column: span 6; }
@media (max-width: 960px) { .operator__fact { grid-column: span 6; } .operator__fact--wide { grid-column: 1 / -1; } }
@media (max-width: 520px) { .operator__fact { grid-column: 1 / -1; } }

.sportband__title { padding: 12px var(--pad); font-size: var(--fs-sm); font-weight: 700; color: var(--ink-3); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.sportband { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); color: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.28); }

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

.foot { background: var(--ink); color: var(--paper); padding-bottom: 0; }
.foot a { color: var(--paper); }
.foot__rg { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.foot__message { grid-column: 1 / span 7; padding: 36px var(--pad); font-size: clamp(1.625rem, 1rem + 2.2vw, 2.75rem); font-weight: 830; font-stretch: 116%; letter-spacing: -0.03em; line-height: 1; border-right: 1px solid rgba(255, 255, 255, 0.2); }
.foot__age { display: inline-block; background: var(--vonk); color: var(--ink); padding: 0 0.14em; }
.foot__help { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.2); list-style: none; }
.foot__help li { display: flex; }
.foot__help-link { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px var(--pad); background: var(--ink); text-decoration: none; }
.foot__help-link:hover { background: var(--vonk); color: var(--ink) !important; }
.foot__help-name { display: flex; align-items: center; gap: 6px; font-weight: 760; }
.foot__help-name .icon { width: 14px; height: 14px; }
.foot__help-sub { font-size: var(--fs-xs); color: #b5b5b5; }
.foot__help-link:hover .foot__help-sub { color: var(--ink); }
.foot__nav { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.foot__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.2); list-style: none; }
.foot__list li { display: flex; }
.foot__link { flex: 1; display: flex; align-items: center; min-height: 52px; padding: 10px var(--pad); background: var(--ink); color: var(--paper); font-size: var(--fs-sm); font-weight: 620; text-decoration: none; line-height: 1.25; }
.foot__link:hover { background: var(--paper); color: var(--ink) !important; }
.foot__link--button { border: 0; text-align: left; }
.foot__pay { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px var(--pad); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.foot__label { font-size: var(--fs-sm); font-weight: 650; color: #b5b5b5; }
.foot__marks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.foot__marks .paymark { width: 60px; }
.foot__legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 28px var(--pad) 36px; font-size: var(--fs-sm); color: #cfcfcf; }
.foot__brand { grid-column: span 3; }
.foot__text { grid-column: span 6; display: grid; gap: 6px; }
.foot__contact { grid-column: span 3; display: grid; gap: 4px; align-content: start; }
.foot__copy { color: #9a9a9a; margin-top: 8px; }
@media (max-width: 1100px) { .foot__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .foot__message, .foot__help { grid-column: 1 / -1; border-right: 0; }
  .foot__brand, .foot__text, .foot__contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .foot__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .foot { padding-bottom: var(--dock-h); } }

.paymark { display: inline-block; line-height: 0; }
.paymark svg { width: 100%; height: auto; }

/* ------------------------------------------------------------------ mobile dock & menu */

.dock { display: none; }
@media (max-width: 1023px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: repeat(5, 1fr); height: var(--dock-h);
    background: var(--paper); border-top: 1px solid var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock__item {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; border-right: 1px solid var(--line); background: none; text-decoration: none;
    font-size: 0.6875rem; font-weight: 680; font-stretch: 106%;
  }
  .dock__item:last-child { border-right: 0; }
  .dock__item[aria-current="page"], .dock__item[aria-expanded="true"] { background: var(--vonk); }
  .dock__count { position: absolute; top: 6px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 0.6875rem; font-variant-numeric: lining-nums proportional-nums; }
  body { padding-bottom: 0; }
}

.menu { position: fixed; inset: 0; z-index: 80; background: var(--paper); overflow: auto; }
.menu__panel { min-height: 100%; display: flex; flex-direction: column; padding-bottom: calc(var(--dock-h) + 20px); }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: var(--bar-h); padding-left: var(--pad); border-bottom: 1px solid var(--ink); }
.menu__close { width: var(--bar-h); height: 100%; border: 0; border-left: 1px solid var(--line); background: none; display: grid; place-items: center; }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); list-style: none; border-bottom: 1px solid var(--line); }
.menu__cell { display: flex; align-items: flex-end; min-height: 96px; padding: 14px var(--pad); background: var(--paper); font-size: var(--fs-xl); font-weight: 820; font-stretch: 112%; letter-spacing: -0.02em; text-decoration: none; }
.menu__cell[aria-current="page"], .menu__cell:hover { background: var(--vonk); }
.menu__list { list-style: none; }
.menu__list a { display: block; padding: 14px var(--pad); border-bottom: 1px solid var(--line); font-weight: 650; text-decoration: none; }
.menu__list a:hover { background: var(--paper-2); }
.menu__rg { margin-top: auto; padding: 20px var(--pad); font-weight: 700; }
.menu__rg b { background: var(--ink); color: var(--paper); padding: 0 5px; }

/* ------------------------------------------------------------------ overlays */

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: var(--vonk); overflow: auto; }
.gate__panel { width: min(760px, 100%); background: var(--paper); border: 1px solid var(--ink); display: grid; }
.gate__brand { padding: 22px 24px 0; }
.gate__mark { width: 64px; height: 38px; fill: var(--ink); }
.gate__mark .logo__spark { fill: var(--vonk); }
.gate__title { padding: 18px 24px 0; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem); font-weight: 860; font-stretch: 118%; letter-spacing: -0.04em; line-height: 0.95; }
.gate__text { padding: 14px 24px 26px; color: var(--ink-2); font-size: var(--fs-lg); }
.gate__answers { display: grid; grid-template-columns: 2fr 1fr; border-top: 1px solid var(--ink); }
.gate__yes, .gate__no { min-height: 76px; border: 0; font-size: var(--fs-lg); font-weight: 800; font-stretch: 108%; padding: 0 20px; text-align: left; }
.gate__yes { background: var(--ink); color: var(--paper); }
.gate__yes:hover { background: var(--vonk); color: var(--ink); }
.gate__no { background: var(--paper); border-left: 1px solid var(--ink); }
.gate__no:hover { background: var(--paper-2); }
.gate__under { padding: 18px 24px; border-top: 1px solid var(--ink); background: var(--paper-2); display: grid; gap: 8px; }
.gate__under a { font-weight: 700; }
.gate__rg { padding: 12px 24px; border-top: 1px solid var(--ink); font-size: var(--fs-sm); font-weight: 700; }
.gate__rg b { background: var(--ink); color: var(--paper); padding: 0 5px; }
@media (max-width: 520px) { .gate__answers { grid-template-columns: 1fr; } .gate__no { border-left: 0; border-top: 1px solid var(--ink); } }

.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--paper); border-top: 1px solid var(--ink); }
.consent__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; padding: 18px var(--pad); }
.consent__text { font-size: var(--fs-sm); max-width: 80ch; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .consent__inner { grid-template-columns: 1fr; } .consent__actions .btn { flex: 1 1 auto; } }

.modal { width: min(620px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }
.modal::backdrop { background: rgba(12, 12, 12, 0.55); }
.modal__body { display: grid; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 0 0 0 var(--pad); border-bottom: 1px solid var(--ink); }
.modal__title { font-size: var(--fs-xl); font-weight: 820; font-stretch: 110%; }
.modal__close { width: 56px; height: 56px; border: 0; border-left: 1px solid var(--line); background: none; display: grid; place-items: center; }
.modal__close:hover { background: var(--vonk); }
.modal__foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px var(--pad); border-top: 1px solid var(--line); }
.choices { list-style: none; }
.choices__item { padding: 16px var(--pad); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.choices__item:last-child { border-bottom: 0; }
.choices__text { font-size: var(--fs-sm); color: var(--ink-3); padding-left: 60px; }

.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 46px; height: 26px; border: 1px solid var(--ink); background: var(--paper); flex: none; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: var(--ink); transition: transform 0.15s steps(2, end); }
.switch input:checked + .switch__track { background: var(--vonk); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled + .switch__track { opacity: 0.55; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.switch__label { font-weight: 760; }

.reality { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(12, 12, 12, 0.7); }
.reality__panel { width: min(560px, 100%); background: var(--paper); border: 1px solid var(--ink); }
.reality__title { padding: 18px var(--pad); font-size: var(--fs-xl); font-weight: 820; border-bottom: 1px solid var(--ink); background: var(--vonk); }
.reality__text { padding: 18px var(--pad); font-size: var(--fs-lg); }
.reality__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--pad) 20px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 110; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 18px 14px 40px; background: var(--ink); color: var(--paper); font-weight: 650; font-size: var(--fs-sm); }
.toast::before { content: ""; position: absolute; left: 16px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--vonk); }
@media (max-width: 1023px) { .toast { bottom: calc(var(--dock-h) + 16px); } }

.ksa { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 650; }
.ksa .icon { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ misc pages */

.notfound { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line-strong); }
.notfound > * { background: var(--paper); }
.notfound__code { grid-column: 1 / span 5; padding: 40px var(--pad); font-size: clamp(5rem, 3rem + 8vw, 11rem); font-weight: 880; font-stretch: 125%; letter-spacing: -0.06em; line-height: 0.8; }
.notfound__code b { color: var(--vonk); }
.notfound__text { grid-column: 6 / span 7; padding: 40px var(--pad); display: flex; flex-direction: column; gap: 16px; justify-content: flex-end; }
@media (max-width: 800px) { .notfound__code, .notfound__text { grid-column: 1 / -1; } }

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.contact__side { grid-column: 1 / span 4; border-right: 1px solid var(--line); }
.contact__main { grid-column: 5 / span 8; padding: 32px var(--pad) 48px; min-width: 0; }
.contact__block { padding: 20px var(--pad); border-bottom: 1px solid var(--line); }
.contact__label { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); }
.contact__value { margin-top: 4px; font-weight: 700; line-height: 1.4; }
.contact__value a { overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact__side, .contact__main { grid-column: 1 / -1; border-right: 0; } }

.pokerhead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .strip, .bar, .dock, .foot, .consent, .gate, .slip, .search { display: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tiles__item.is-hidden { display: none; }

/* docked slip becomes a drawer when the sidebar column is gone */
@media (min-width: 1281px) { .slip--dock .slip__close { display: none; } }
@media (max-width: 1280px) {
  .book__slip { display: contents; }
  .slip--dock {
    position: fixed; z-index: 60; right: 0; top: 0; bottom: 0; width: min(400px, 100%);
    border-left: 1px solid var(--ink); overflow: auto; display: none;
  }
  .slip--dock.is-open { display: flex; animation: slip-in 0.28s var(--ease); }
}
@media (max-width: 640px) {
  .slip--dock { top: auto; left: 0; width: 100%; max-height: 88vh; border-left: 0; border-top: 1px solid var(--ink); }
}
.fixture--nr .fixture__prices { display: flex; }
.fixture--nr .fixture__open { flex: 1; }
@media (max-width: 640px) { .fixture--nr .fixture__open { min-width: 0; } }

/* narrow screens: the dock carries login and account, the header keeps search and the main action */
.bar__logo { min-width: 0; }
.lobby { display: block; }
.book > * { min-width: 0; }
@media (max-width: 640px) {
  .bar__tool--login, .bar__tool--account { display: none; }
  .bar__tools > .bar__tool:first-child { border-left: 1px solid var(--line); }
}
@media (max-width: 380px) {
  .logo__word { font-size: 0.9375rem; }
  .logo { gap: 8px; }
  .logo__mark { width: 30px; height: 18px; }
}

.head__title, .auth__title, .game__title, .playgate__title, .eventhead__title, .account__title, .band__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 520px) {
  :root { --fs-h1: clamp(1.875rem, 1.2rem + 3vw, 2.25rem); }
  .head__title, .auth__title { font-stretch: 102%; }
  .book__tools { grid-template-columns: 1fr; }
  .book__search { border-bottom: 1px solid var(--line); }
  .book__filter button { flex: 1; min-height: 48px; }
  .book__filter button:first-child { border-left: 0; }
  .foot__link { padding: 10px 12px; }
  .band__head { flex-wrap: wrap; padding-top: 32px; }
}
.foot__link { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .poster__cell { grid-column: 1 / -1 !important; min-height: 0; gap: 6px; padding-top: 18px; padding-bottom: 18px; }
  .poster__cell-big { font-size: var(--fs-xl); }
}
@media (min-width: 901px) { .game__visual { position: sticky; top: var(--bar-h); align-self: start; } }
@media (min-width: 521px) { .picker__grid:not(.picker__grid--roulette) .picker__num { aspect-ratio: 1.6; } }

.price:active, .picker__num:active, .cells__cell:active, .dock__item:active, .tile:active .tile__meta { background: var(--vonk); }
.account > * { min-width: 0; }
@media (max-width: 900px) { .account { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .stats__value { font-size: var(--fs-xl); } .radios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq__a.prose > p:first-child { font-size: inherit; color: inherit; }

/* page heads: sport owns the cobalt field; a head without a side cell spans the grid */
.head--solo .head__main { grid-column: 1 / -1; border-right: 0; }
.head--sport { background: var(--cobalt); color: var(--paper); border-bottom-color: var(--ink); }
.head--sport .head__main { border-right-color: rgba(255, 255, 255, 0.28); }
.head--sport .head__lead { color: #e3e8ff; }
.head--sport .head__side { background: transparent; }
.head__count { color: var(--ink-3); }
.head--sport .head__count { color: #e3e8ff; }
.poster__cell-small { order: 2; }
.joinband__cell span { order: 2; }
/* game page: rules sit under the cover so the left column carries content */
.game__rules--side { grid-column: 1 / span 5; border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
.game__body { grid-row: span 2; }
@media (min-width: 901px) { .game__visual { position: static; } }
@media (max-width: 900px) { .game__rules--side { grid-column: 1 / -1; border-right: 0; } .game__body { grid-row: auto; } }
.foot__rgline { color: var(--paper); font-weight: 700; }
.foot__rgline b { background: var(--vonk); color: var(--ink); padding: 0 5px; }
.poster__title span { white-space: nowrap; }
