/* Reusable pieces, carried over from the approved mockup (a-daub-board) and extended in its
 * language: buttons, search, chips, segmented control, bento tile, bingo ball and card,
 * progress, switch, game card, carousel, fields, overlays, toast, tables, accordion. */

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; }
.icon--missing { display: inline-block; width: 1em; height: 1em; outline: 1px dashed var(--color-error); }

/* ── buttons (shine sweep = mockup) ───────────────────────────────────── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-pill);
  background: transparent; color: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-brand); color: var(--color-on-brand); box-shadow: 0 8px 24px -10px color-mix(in oklab, var(--color-brand) 80%, transparent); }
.btn--primary:hover { background: var(--color-brand-hover); }
.btn--gold { background: var(--color-gold); color: var(--color-on-gold); }
.btn--primary::after, .btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover::after, .btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: var(--line-2); background: color-mix(in oklab, #fff 3%, transparent); color: var(--color-text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--danger { border-color: color-mix(in oklab, var(--color-error) 50%, transparent); color: var(--color-error); }
.btn--danger:hover { background: color-mix(in oklab, var(--color-error) 12%, transparent); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-link { display: inline-flex; align-items: center; gap: 6px; color: var(--color-brand); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-link .icon { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease); }
.btn-link:hover .icon { transform: translateX(3px); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-1); color: var(--color-text); cursor: pointer; transition: background-color var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease); }
.icon-btn:hover { background: var(--surface-3); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn .icon { width: 18px; height: 18px; }

/* ── search ───────────────────────────────────────────────────────────── */
.search {
  position: relative; flex: 1; max-width: 460px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  border-radius: var(--radius-pill); background: var(--surface-1); border: 1px solid var(--line); color: var(--color-muted);
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.search:focus-within { border-color: var(--color-brand); box-shadow: var(--focus-ring); }
.search .icon { width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--color-text); outline: none; }
.search input::placeholder { color: var(--color-muted); opacity: .85; }
.search kbd { font: 600 .72rem var(--font-body); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); }
.search__results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5; max-height: 60vh; overflow: auto;
  padding: 8px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
}
.search__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: var(--radius-sm); background: none; border: 0; color: var(--color-text); text-align: left; cursor: pointer; }
.search__item:hover, .search__item:focus-visible { background: var(--surface-3); }
.search__item img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.search__item small { display: block; color: var(--color-muted); font-size: var(--fs-xs); }
.search__empty { padding: 12px; color: var(--color-muted); font-size: var(--fs-small); }

/* ── chips, eyebrow, badges ───────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-3); font-size: .8rem; color: var(--color-muted); }
.eyebrow .icon { width: 16px; height: 16px; color: var(--color-gold); }
.kicker { font: 700 .78rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--color-brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-2); font-size: .82rem; color: var(--color-muted); text-decoration: none; background: none; cursor: pointer;
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease);
}
.chip .icon { width: 15px; height: 15px; }
.chip:hover { color: var(--color-text); border-color: var(--color-brand); }
.chip[aria-pressed="true"] { color: var(--color-on-brand); background: var(--color-brand); border-color: var(--color-brand); }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: var(--radius-pill); background: var(--color-gold); color: var(--color-on-gold); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--brand { background: var(--color-brand); color: var(--color-on-brand); }
.badge--light { background: #fff; color: var(--color-bg); }
.badge--live { background: color-mix(in oklab, var(--color-live) 18%, transparent); color: var(--color-live); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--color-live); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }

/* ── segmented control (filter tabs) ──────────────────────────────────── */
.seg { display: inline-flex; gap: 2px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: var(--radius-pill); background: var(--surface-1); border: 1px solid var(--line); }
.seg::-webkit-scrollbar { display: none; }
.seg button { min-height: 36px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--color-muted); font-size: .88rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
.seg button:hover { color: var(--color-text); }
.seg button[aria-selected="true"] { background: var(--color-brand); color: var(--color-on-brand); }
.seg__n { margin-left: 2px; font-size: .72rem; opacity: .7; }

/* ── bento tile ───────────────────────────────────────────────────────── */
.tile { position: relative; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.tile__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile__head .icon { width: 20px; height: 20px; color: var(--color-muted); }
.tile--photo { display: flex; align-items: flex-end; min-height: 220px; padding: 0; text-decoration: none; isolation: isolate; }
.tile--photo .bg { position: absolute; inset: 0; z-index: -2; }
.tile--photo .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile--photo:hover .bg img { transform: scale(1.05); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgb(12 21 34 / .94)); }
.tile__body { padding: 20px; }
.tile__body p { font-size: .88rem; color: var(--color-muted); margin-top: 6px; }

/* ── bingo ball + practice card (signature: daub) ─────────────────────── */
.ball {
  --c: var(--color-brand);
  display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%;
  font: 800 1.05rem/1 var(--font-display); color: #06222B;
  background: radial-gradient(circle at 35% 30%, #fff 0 22%, transparent 23%), radial-gradient(circle at 50% 50%, #fff 0 46%, var(--c) 47%);
  box-shadow: inset -6px -8px 14px rgb(0 0 0 / .25), 0 8px 18px -8px var(--c);
}
.ball > span { display: grid; justify-items: center; gap: 1px; line-height: 1; }
.ball small { font-size: .56rem; letter-spacing: .06em; }
.ball--sm { width: 36px; height: 36px; font-size: .72rem; opacity: .75; }
.ball--gold { --c: var(--color-gold); }
.ball--in { animation: drop .6s var(--ease); }
.bingo-card { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bingo-card__h { text-align: center; font: 800 1.1rem var(--font-display); color: var(--color-gold); }
.cell {
  position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--color-text); font: 600 .95rem var(--font-display); cursor: pointer;
  transition: background-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.cell:hover { transform: translateY(-2px); background: var(--surface-3); }
.cell.is-called { box-shadow: inset 0 0 0 2px var(--color-gold); }
.cell.is-daub { color: #06222B; }
.cell.is-daub::before { content: ""; position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: var(--color-brand); animation: daub .35s var(--ease); }
.cell.is-win::before { background: var(--color-gold); }
.cell--free { background: var(--gold-tint); color: var(--color-gold); font-size: .7rem; letter-spacing: .08em; cursor: default; }
.progress { height: 8px; overflow: hidden; border-radius: var(--radius-pill); background: var(--surface-3); }
.progress > span { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--color-brand), var(--color-gold)); transition: width .5s var(--ease); }

/* ── switch ───────────────────────────────────────────────────────────── */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; }
.switch__btn { position: relative; width: 44px; height: 26px; flex: none; border: 0; border-radius: var(--radius-pill); background: var(--surface-3); cursor: pointer; transition: background-color var(--dur-base) var(--ease); }
.switch__btn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--dur-slow) var(--ease); }
.switch__btn[aria-checked="true"] { background: var(--color-brand); }
.switch__btn[aria-checked="true"]::after { transform: translateX(18px); }

/* ── section head ─────────────────────────────────────────────────────── */
.sec { margin-top: var(--section-gap); scroll-margin-top: 90px; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sec__head p { margin-top: 6px; max-width: 60ch; color: var(--color-muted); }
.sec__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── game card ────────────────────────────────────────────────────────── */
.game {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: var(--radius-md); background: var(--surface-1); border: 1px solid var(--line);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease);
}
.game:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.game__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.game__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.game:hover .game__img img { transform: scale(1.06); }
.game__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(12 21 34 / .55); opacity: 0; border: 0; color: inherit; cursor: pointer; transition: opacity var(--dur-base) var(--ease); }
.game:hover .game__play, .game__play:focus-visible { opacity: 1; }
.game__play span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--color-brand); color: var(--color-on-brand); font-weight: 700; font-size: .85rem; transform: translateY(6px); transition: transform var(--dur-slow) var(--ease); }
.game:hover .game__play span { transform: none; }
.game__play .icon { width: 15px; height: 15px; }
.game__meta { padding: 10px 12px 12px; min-width: 0; }
.game__name { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game__sub { font-size: .76rem; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game .badge { position: absolute; top: 8px; left: 8px; z-index: 2; }
.fav {
  position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgb(12 21 34 / .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer;
  transition: color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.fav::after { content: ""; position: absolute; inset: -5px; }
.fav .icon { width: 16px; height: 16px; }
.fav:hover { transform: scale(1.08); }
.fav:active { transform: scale(.85); }
.fav[aria-pressed="true"] { color: var(--color-gold); }
.fav[aria-pressed="true"] .icon { fill: currentColor; animation: heart .4s var(--ease); }
.game--big { grid-column: span 2; grid-row: span 2; }
.game--big .game__img { aspect-ratio: auto; flex: 1; }
.game--big .game__name { font-size: 1.1rem; }

.grid-games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.grid-games .game { animation: pop .45s var(--ease) both; }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--color-muted); border: 1px dashed var(--line-2); border-radius: var(--radius-md); }
.more { display: flex; justify-content: center; margin-top: 26px; }
.more__n { color: var(--color-muted); font-weight: 500; font-size: .85rem; }

/* ── carousel (horizontal collections) ────────────────────────────────── */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px;
  overscroll-behavior-x: contain; cursor: grab;
}
.carousel__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 8px; }
.carousel__bar { height: 3px; margin-top: 14px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.carousel__bar span { display: block; height: 100%; width: var(--w, 20%); transform: translateX(var(--x, 0)); background: var(--color-brand); border-radius: inherit; transition: transform var(--dur-fast) linear; }

/* ── fields ───────────────────────────────────────────────────────────── */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: var(--fs-small); font-weight: 500; color: var(--color-muted); }
.field__hint { font-size: var(--fs-xs); color: var(--color-muted); }
.field input:not([type="checkbox"]):not([type="radio"]):not(.visually-hidden), .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface-0); color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 140px; padding-block: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-brand); box-shadow: var(--focus-ring); outline: none; }
.field__error { color: var(--color-error); font-size: var(--fs-small); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-error); }
.field--check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-brand); }
.field--check .field__label { color: var(--color-text); font-weight: 400; }
.field--check .field__label a { color: var(--color-brand); }
.field--check .field__error { grid-column: 2; }
.pass { position: relative; }
.pass input { padding-right: 48px !important; }
.pass__toggle { position: absolute; right: 4px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--color-muted); cursor: pointer; }
.pass__toggle .icon { width: 18px; height: 18px; }
.meter { display: flex; gap: 4px; }
.meter span { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); transition: background-color var(--dur-base) var(--ease); }
.meter[data-score="1"] span:nth-child(-n+1) { background: var(--color-error); }
.meter[data-score="2"] span:nth-child(-n+2) { background: var(--color-gold); }
.meter[data-score="3"] span:nth-child(-n+3) { background: var(--color-brand); }
.meter[data-score="4"] span { background: var(--color-success); }
.form__error { padding: 10px 14px; border-radius: 12px; background: color-mix(in oklab, var(--color-error) 12%, transparent); color: var(--color-error); font-size: var(--fs-small); }
.form__success { padding: 14px; border-radius: 12px; background: color-mix(in oklab, var(--color-success) 12%, transparent); color: var(--color-success); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.radio-row legend { margin-bottom: 6px; font-size: var(--fs-small); color: var(--color-muted); }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-row span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); font-size: .88rem; color: var(--color-muted); transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
.radio-row input:checked + span { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-on-brand); }
.radio-row input:focus-visible + span { box-shadow: var(--focus-ring); }

/* ── overlays: modal, sheet, banners ──────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--space-16);
  background: var(--color-scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity var(--dur-slow) var(--ease);
}
.overlay.is-open { opacity: 1; }
.overlay__panel {
  position: relative; width: min(100%, 480px); max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain;
  padding: 28px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  transform: translateY(14px) scale(.98); transition: transform var(--dur-slow) var(--ease);
}
.overlay.is-open .overlay__panel { transform: none; }
.overlay__panel--wide { width: min(100%, 760px); }
.overlay__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; }
.overlay__title { font: 800 1.6rem/1.1 var(--font-display); letter-spacing: var(--track-display); padding-right: 40px; }
.overlay__lead { margin-top: 8px; color: var(--color-muted); font-size: var(--fs-small); }
.overlay__foot { margin-top: 16px; font-size: var(--fs-small); color: var(--color-muted); text-align: center; }
.overlay__actions { display: grid; gap: 10px; margin-top: 22px; }
/* side sheet (account) */
.overlay--sheet { place-items: stretch end; padding: 0; }
.overlay--sheet .overlay__panel { width: min(100%, 520px); max-height: none; height: 100%; border-radius: var(--radius-lg) 0 0 var(--radius-lg); transform: translateX(40px); }
.overlay--sheet.is-open .overlay__panel { transform: none; }
/* age gate */
.overlay--gate { z-index: calc(var(--z-modal) + 10); background: rgb(6 12 20 / .9); }
.gate__balls { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.gate__balls .ball { width: 52px; height: 52px; animation: bob 3s var(--ease) infinite; }
.gate__balls .ball:nth-child(2) { animation-delay: .3s; }
.gate__balls .ball:nth-child(3) { animation-delay: .6s; }
.overlay--gate .overlay__panel { text-align: center; }
.overlay--gate .overlay__title { padding-right: 0; }
/* cookie banner: a docked card, not a modal */
.cookie {
  position: fixed; left: calc(var(--rail) + 16px); right: 16px; bottom: 16px; z-index: var(--z-overlay);
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px 20px; align-items: center; max-width: 1080px; margin-inline: auto;
  padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  transform: translateY(0); transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
}
.cookie.is-hiding { transform: translateY(20px); opacity: 0; }
.cookie__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-tint); color: var(--color-gold); }
.cookie__icon .icon { width: 22px; height: 22px; }
.cookie p { font-size: var(--fs-small); color: var(--color-muted); }
.cookie p a { color: var(--color-brand); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.consent-row p { font-size: var(--fs-small); color: var(--color-muted); margin-top: 4px; }
.consent-row input { width: 22px; height: 22px; accent-color: var(--color-brand); flex: none; }

/* ── toast ────────────────────────────────────────────────────────────── */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-toast); display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface-3); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); font-size: var(--fs-small); animation: toast-in .35s var(--ease); pointer-events: auto; }
.toast .icon { width: 18px; height: 18px; color: var(--color-brand); }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }

/* ── data table ───────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--color-muted); font-weight: 600; }
.data-table thead th { font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-1); }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; }
.yes { color: var(--color-success); }
.no { color: var(--color-muted); }
.yes .icon, .no .icon { width: 16px; height: 16px; }

/* ── accordion ────────────────────────────────────────────────────────── */
.acc { border-radius: var(--radius-md); background: var(--surface-1); border: 1px solid var(--line); transition: border-color var(--dur-base) var(--ease); }
.acc + .acc { margin-top: 10px; }
.acc:has([aria-expanded="true"]) { border-color: color-mix(in oklab, var(--color-brand) 45%, transparent); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px; border: 0; background: none; color: var(--color-text); text-align: left; font: 600 1rem var(--font-body); cursor: pointer; }
.acc__q .icon { width: 20px; height: 20px; color: var(--color-brand); transition: transform var(--dur-slow) var(--ease); }
.acc__q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.acc__a > div > div { padding: 0 20px 20px; color: var(--color-muted); }
.acc__a p + p { margin-top: 10px; }
.acc__a a { color: var(--color-brand); }

/* ── marquee (providers) ──────────────────────────────────────────────── */
.marquee { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee img { height: 30px; width: auto; opacity: .7; filter: grayscale(1) brightness(1.6); transition: opacity var(--dur-base) var(--ease), filter var(--dur-base) var(--ease); }
.marquee img:hover { opacity: 1; filter: none; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .grid-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .carousel__track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
}
@media (max-width: 900px) {
  .cookie { left: 16px; grid-template-columns: auto 1fr; }
  .cookie__actions { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid-games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game--big { grid-column: span 2; grid-row: auto; }
  .game--big .game__img { aspect-ratio: 1; }
  .carousel__track { grid-auto-columns: 44%; gap: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .overlay__panel { padding: 22px 18px; }
  .overlay--sheet .overlay__panel { border-radius: 0; }
  .cookie { grid-template-columns: 1fr; padding: 16px; }
  .cookie__icon { display: none; }
  .cookie__actions .btn { flex: 1; }
  .ball { width: 48px; height: 48px; }
  .search kbd { display: none; }
}

/* ── game details dialog ──────────────────────────────────────────────── */
.game-modal__grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.game-modal__cover { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 1; background: var(--surface-2); box-shadow: var(--shadow-2); }
.game-modal__cover img { width: 100%; height: 100%; object-fit: cover; }
.game-modal .overlay__title { margin-top: 6px; }
.game-modal__facts { display: grid; gap: 6px; margin-top: 14px; font-size: var(--fs-small); color: var(--color-muted); }
.game-modal__facts li { display: flex; align-items: center; gap: 8px; }
.game-modal__facts .icon { width: 16px; height: 16px; color: var(--color-brand); }
.game-modal__facts strong { color: var(--color-text); font-weight: 600; }
.game-modal__notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: color-mix(in oklab, var(--color-gold) 14%, transparent); color: var(--color-gold); font-size: var(--fs-small); line-height: 1.45; animation: notice-in .25s ease; }
.game-modal__notice[hidden] { display: none; }
.game-modal__notice .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
@keyframes notice-in { from { opacity: 0; transform: translateY(-4px); } }
[data-gm-fav][aria-pressed="true"] { color: var(--color-gold); border-color: color-mix(in oklab, var(--color-gold) 45%, transparent); }
[data-gm-fav][aria-pressed="true"] .icon { fill: currentColor; }

/* ── account sheet ────────────────────────────────────────────────────── */
.account { display: flex; flex-direction: column; gap: 16px; }
.account__head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.avatar--lg { width: 56px; height: 56px; font-size: 1.1rem; }
.account__break { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--gold-tint); color: var(--color-gold); font-size: var(--fs-small); }
.account__break .icon { width: 18px; height: 18px; }
.account__tabs { align-self: flex-start; }
.account__panel { display: grid; gap: 14px; }
.account__note { font-size: var(--fs-small); }
.account__card { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--line); }
.account__card--danger { border-color: color-mix(in oklab, var(--color-error) 35%, transparent); }
.account__card .btn { justify-self: start; }
.account__favs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.limits { display: grid; gap: 8px; }
.limit-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--line); }
.limit-row__icon .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand-tint); color: var(--color-brand); }
.limit-row__main { display: grid; font-size: var(--fs-small); }
.limit-row__pending { color: var(--color-gold); font-size: var(--fs-xs); }
button.rail__link { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; }
button.rail__user { width: 100%; border: 1px solid var(--line); color: inherit; text-align: left; cursor: pointer; font: inherit; }
button.avatar { border: 0; cursor: pointer; width: 40px; height: 40px; }
@media (max-width: 640px) {
  .game-modal__grid { grid-template-columns: 1fr; }
  .game-modal__cover { max-width: 220px; }
  .account__favs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.game__img picture { display: block; width: 100%; height: 100%; }
.game--big .game__img { position: relative; }
.game--big .game__img picture { position: absolute; inset: 0; }
.badge--live { background: rgb(12 21 34 / .82); color: var(--color-live); }
@media (max-width: 389px) { .btn { white-space: normal; text-align: center; min-height: 46px; height: auto; padding-block: 8px; } }
.account > * { flex-shrink: 0; }

/* ── gate fixes (S6) ──────────────────────────────────────────────────── */
.search-wrap { position: relative; flex: 1; max-width: 460px; }
.search-wrap .search { max-width: none; }
.search:focus-within { box-shadow: none; }
.search input:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 10px; border-radius: 4px; }
.seg button[aria-selected="true"] .seg__n { opacity: 1; }
.prose .btn--primary, .aside-card .btn--primary, .info-card .btn--primary { color: var(--color-on-brand); }
.prose .btn, .aside-card .btn { text-decoration: none; }
/* names wrap to two lines instead of being cut with an ellipsis */
.game__name, .game__sub { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.game__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; min-height: 2.6em; }
.game__sub { line-height: 1.35; }
/* text buttons and breadcrumbs: 24px tap target via pseudo-element (WCAG 2.5.8), layout unchanged */
.btn-link, .crumbs a { position: relative; }
.btn-link::after, .crumbs a::after { content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%; height: 100%; min-height: 28px; }
.consent-row__text { display: grid; }
.consent-row__text > span { font-size: var(--fs-small); color: var(--color-muted); margin-top: 4px; }

/* ── lobby cards: title over the photo cover ───────────────────────────── */
.game__title { position: absolute; inset: auto 10px 10px; z-index: 1; font: 800 1.05rem/1.05 var(--font-display); letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / .7); pointer-events: none; }
.game--original .game__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(12 21 34 / .78)); pointer-events: none; }
.game--big .game__title { font-size: clamp(1.4rem, 2.4vw, 2rem); inset: auto 18px 18px; }
a.avatar { text-decoration: none; width: 40px; height: 40px; }

/* ── header balance ────────────────────────────────────────────────────── */
.balance-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: var(--surface-1); color: var(--color-text); text-decoration: none; transition: border-color var(--dur-base) var(--ease); }
.balance-chip:hover { border-color: var(--color-brand); }
.balance-chip .icon { width: 18px; height: 18px; color: var(--color-gold); }
.balance-chip span { display: grid; line-height: 1.1; }
.balance-chip small { font-size: .66rem; color: var(--color-muted); letter-spacing: .04em; text-transform: uppercase; }
.balance-chip strong { font-size: .95rem; }
@media (max-width: 640px) {
  .balance-chip small { display: none; }
  .topbar__actions .btn--gold span { display: none; }
  .topbar__actions .btn--gold { padding: 0 10px; }
}

/* ── registration ──────────────────────────────────────────────────────── */
.reg-steps { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; padding: 0; list-style: none; font-size: var(--fs-xs); color: var(--color-muted); }
.reg-steps li { display: inline-flex; align-items: center; gap: 6px; }
.reg-steps .icon { width: 15px; height: 15px; color: var(--color-brand); }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form__row--3 { grid-template-columns: 1fr; } }

/* ── status pills & progress ───────────────────────────────────────────── */
.st { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 700; background: var(--surface-3); color: var(--color-muted); }
.st--completed, .st--paid { background: color-mix(in oklab, var(--color-success) 18%, transparent); color: var(--color-success); }
.st--pending { background: var(--gold-tint); color: var(--color-gold); }
.st--declined, .st--cancelled { background: color-mix(in oklab, var(--color-error) 16%, transparent); color: var(--color-error); }
.bar { height: 10px; border-radius: var(--radius-pill); background: var(--surface-3); overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-brand), var(--color-gold)); border-radius: inherit; transition: width var(--dur-slow) var(--ease); }
.bar--sm { height: 6px; margin: 6px 0 2px; }
.is-up { color: var(--color-success); }
.is-down { color: var(--color-error); }

/* ── game client overlay ───────────────────────────────────────────────── */
.overlay--play { padding: 0; place-items: stretch; }
.overlay--play .overlay__panel.play { width: 100%; max-width: none; height: 100%; max-height: none; padding: 0; border-radius: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; background: var(--surface-0); }
.play__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 12px clamp(14px, 3vw, 28px); background: var(--surface-1); border-bottom: 1px solid var(--line); }
.play__name { min-width: 0; flex: 1 1 200px; }
.play__name .kicker { font-size: .7rem; }
.play__stats { display: flex; gap: 18px; margin: 0; }
.play__stats div { display: grid; }
.play__stats dt { font-size: .68rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; }
.play__stats dd { margin: 0; font-weight: 700; font-size: 1rem; }
.play__tools { display: flex; gap: 8px; align-items: center; }
.play__body { position: relative; display: grid; grid-template-columns: 1fr auto; min-height: 0; overflow: auto; }
.play__stage { display: grid; align-content: center; justify-items: center; gap: 18px; padding: clamp(16px, 3vw, 32px); min-width: 0; }
.play__side { width: min(360px, 100vw); padding: 20px; border-left: 1px solid var(--line); background: var(--surface-1); overflow: auto; display: grid; gap: 12px; align-content: start; font-size: var(--fs-small); }
.play__side[hidden] { display: none; }
.play__side .btn-link { justify-self: start; }
.play__gate { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 20px; background: color-mix(in oklab, var(--surface-0) 92%, transparent); overflow: auto; }
.play__gate[hidden] { display: none; }
.play__foot { display: flex; align-items: center; gap: 10px; padding: 10px clamp(14px, 3vw, 28px); font-size: var(--fs-xs); color: var(--color-muted); border-top: 1px solid var(--line); background: var(--surface-1); }
.play__foot a { color: var(--color-brand); }
.play__loading { color: var(--color-muted); }
.play__status { min-height: 1.5em; text-align: center; font-size: var(--fs-small); color: var(--color-muted); }
.play__status.is-win { color: var(--color-gold); font-size: 1rem; }
.play__status.is-err { color: var(--color-error); }
.play__status a { color: var(--color-brand); }
.play__controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: end; gap: 12px; }
.play__controls[hidden] { display: none; }
.play__field { display: grid; gap: 4px; font-size: var(--fs-xs); color: var(--color-muted); }
.play__field select { min-height: 48px; min-width: 110px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface-1); color: var(--color-text); font-size: 1rem; }
.play__total { font-size: var(--fs-small); color: var(--color-muted); align-self: center; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1.05rem; }
.gate-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; max-width: 560px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.gate-card__icon .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--brand-tint); color: var(--color-brand); }
.gate-card p { margin-top: 6px; font-size: var(--fs-small); }
.gate-card__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.gate-card__err { color: var(--color-gold); }
.fit { display: grid; gap: 14px; margin-top: 14px; }
.fit legend { color: var(--color-text); font-size: var(--fs-small); }
.fit .btn { justify-self: start; }
.reality { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: var(--color-scrim); }
.reality__panel { max-width: 460px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--color-gold); }
.reality__panel h3 { display: flex; align-items: center; gap: 8px; }
.reality__panel h3 .icon { width: 22px; height: 22px; color: var(--color-gold); }
.reality__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 0; }
.reality__stats dt { font-size: var(--fs-xs); color: var(--color-muted); }
.reality__stats dd { margin: 0; font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; list-style: none; }
.data-table.mini td, .data-table.mini th { padding: 6px 8px; }
.sym { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 2px; border-radius: 6px; background: var(--surface-3); color: var(--color-gold); vertical-align: middle; }
.sym .icon { width: 16px; height: 16px; }
.sym--any { width: auto; padding: 0 6px; font-size: .7rem; color: var(--color-muted); }
.sym--lg { width: 100%; height: 100%; background: none; }
.sym--lg .icon { width: 56%; height: 56%; }
.hist { display: grid; gap: 8px; padding: 0; list-style: none; }
.hist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--surface-2); }
.hist small { color: var(--color-muted); }

/* slot */
.slot { position: relative; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); border: 2px solid color-mix(in oklab, var(--color-gold) 45%, transparent); box-shadow: inset 0 0 40px rgb(0 0 0 / .35); transition: box-shadow var(--dur-slow) var(--ease); }
.slot__reels { display: grid; grid-template-columns: repeat(3, clamp(84px, 18vw, 150px)); gap: 12px; }
.slot__reel { aspect-ratio: 3 / 4; display: grid; place-items: center; border-radius: var(--radius-md); background: #F5F1E8; overflow: hidden; }
.slot__reel .sym { color: #B4561A; }
.slot__reel.is-spinning .sym { animation: reel .18s linear infinite; filter: blur(2px); }
@keyframes reel { from { transform: translateY(-40%); } to { transform: translateY(40%); } }
.slot__line { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: color-mix(in oklab, var(--color-gold) 70%, transparent); pointer-events: none; }
.slot.is-win { box-shadow: 0 0 0 4px var(--gold-tint), 0 0 60px -10px var(--color-gold); }

/* roulette */
.rl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; width: min(100%, 980px); }
.rl__wheel { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; border: 8px solid #6B3E1E; background: radial-gradient(circle, var(--surface-2) 40%, #0E3B2E 41%); font: 800 2rem var(--font-display); }
.rl__wheel.is-spinning { animation: spin .5s linear infinite; }
.rl__wheel.is-red span { color: #FF6B6B; }
.rl__wheel.is-green span { color: var(--color-success); }
@keyframes spin { to { transform: rotate(360deg); } }
.rl__table { display: grid; grid-template-columns: 44px minmax(380px, 1fr) 44px; gap: 4px; padding: 10px; border-radius: var(--radius-md); background: #0E3B2E; overflow-x: auto; max-width: 100%; }
.rl__zero { grid-row: 1; background: #1E7A4C !important; }
.rl__nums { display: grid; grid-template-columns: repeat(12, minmax(30px, 1fr)); grid-template-rows: repeat(3, 38px); gap: 4px; }
.rl__cols { display: grid; grid-template-rows: repeat(3, 38px); gap: 4px; }
.rl__out { grid-column: 2; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.rl__n, .rl__o { position: relative; min-height: 38px; border: 1px solid rgb(255 255 255 / .25); border-radius: 6px; background: transparent; color: #fff; font-weight: 700; font-size: .8rem; cursor: pointer; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.rl__n.is-red, .rl__o.is-red { background: #B3261E; }
.rl__n.is-black, .rl__o.is-black { background: #1A1A1A; }
.rl__n:hover, .rl__o:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px var(--color-gold); }
.has-bet::after { content: attr(data-amt); position: absolute; top: -8px; right: -6px; z-index: 1; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 11px; background: var(--color-gold); color: var(--color-on-gold); font-size: .68rem; line-height: 22px; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chipv { width: 44px; height: 44px; border-radius: 50%; border: 3px dashed rgb(255 255 255 / .6); background: var(--surface-3); color: #fff; font-weight: 800; font-size: .8rem; cursor: pointer; }
.chipv.is-on { background: var(--color-gold); color: var(--color-on-gold); border-color: #fff; }

/* cards */
.cards-table { display: grid; gap: 22px; width: min(100%, 640px); padding: 22px; border-radius: var(--radius-lg); background: radial-gradient(ellipse at top, #13563F, #0B3326); border: 2px solid #6B3E1E; }
.cards-table--bac { grid-template-columns: 1fr 1fr; }
.hand__lbl { display: block; margin-bottom: 8px; font-size: var(--fs-small); color: #D7E1EC; }
.hand__lbl b { display: inline-grid; place-items: center; min-width: 30px; height: 24px; margin-left: 6px; border-radius: 12px; background: rgb(0 0 0 / .35); color: #fff; }
.hand__cards { display: flex; gap: 8px; min-height: 96px; flex-wrap: wrap; }
.pcard { display: grid; place-items: center; align-content: center; width: 64px; height: 92px; border-radius: 8px; background: #fff; color: #111; font: 800 1.3rem var(--font-display); box-shadow: 0 6px 14px rgb(0 0 0 / .35); animation: deal .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.pcard small { font-size: 1.2rem; }
.pcard--red { color: #C62828; }
.pcard--back { background: repeating-linear-gradient(45deg, #00B8D9 0 6px, #0A6E82 6px 12px); }
@keyframes deal { from { opacity: 0; transform: translateY(-18px) rotate(-6deg); } }

/* bingo game */
.bgame { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; width: min(100%, 1100px); align-items: start; }
.bg__caller { display: grid; justify-items: center; gap: 10px; text-align: center; }
.bg__caller > .ball { width: 84px; height: 84px; font-size: 1.6rem; }
.bg__calls { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-height: 220px; overflow: hidden; }
.bg__tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.bt { padding: 10px; border-radius: var(--radius-md); background: #F5F1E8; color: #1B2C44; transition: box-shadow var(--dur-slow) var(--ease); }
.bt.is-win { box-shadow: 0 0 0 3px var(--color-gold), 0 0 40px -8px var(--color-gold); }
.bt__head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: .78rem; font-weight: 700; }
.bt__grid { display: grid; gap: 3px; }
.bt--75 .bt__grid { grid-template-columns: repeat(5, 1fr); }
.bt--90 .bt__grid { grid-template-columns: repeat(9, 1fr); }
.bt__c { display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px; background: #fff; font-weight: 700; font-size: .8rem; transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
.bt__c--blank { background: transparent; }
.bt__c.is-hit { background: var(--color-brand); color: var(--color-on-brand); }
@media (max-width: 760px) {
  .rl { grid-template-columns: 1fr; justify-items: center; }
  .rl__wheel { width: 90px; height: 90px; }
  .bgame { grid-template-columns: 1fr; }
  .play__body { grid-template-columns: 1fr; }
  .play__side { position: absolute; inset: 0 0 0 auto; z-index: 4; box-shadow: var(--shadow-2); }
  .play__stats { gap: 12px; order: 3; width: 100%; justify-content: space-between; }
  .play__tools .btn span { display: none; }
  .cards-table--bac { grid-template-columns: 1fr; }
  .pcard { width: 52px; height: 76px; font-size: 1.1rem; }
  .gate-card { grid-template-columns: 1fr; padding: 20px; }
}

/* footer extras */
.site-footer__aigc { display: inline-block; margin-top: 16px; opacity: .9; transition: opacity var(--dur-base) var(--ease); }
.site-footer__aigc:hover { opacity: 1; }
.site-footer__aigc img { width: 150px; height: auto; }
.site-footer__btn { padding: 3px 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.site-footer__btn:hover { color: var(--color-brand); }
button.cat { width: 100%; border: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; background: none; }
.game--original .game__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.rail__user { color: var(--color-text); text-decoration: none; transition: border-color var(--dur-base) var(--ease); } a.rail__user:hover { border-color: var(--color-brand); }
.game-modal__cover { position: relative; }
.game-modal__cover picture { display: block; width: 100%; height: 100%; }
.game-modal__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(12 21 34 / .78)); }
.game-modal__cover .game__title { font-size: 1.4rem; inset: auto 14px 14px; }
@media (max-width: 640px) {
  .cookie__actions .btn { flex: 1 1 auto; min-width: 0; white-space: normal; text-align: center; justify-content: center; line-height: 1.15; padding: 6px 12px; }
  .cookie__actions .btn--primary { flex-basis: 100%; }
}
.site-footer__btn { font-size: var(--fs-small); color: var(--color-text); }
@media (max-width: 480px) { .topbar__actions a.avatar { display: none; } .balance-chip { padding: 4px 10px; } }
