/* ==========================================================================
   Voodoo Slots: pub fruit machine cabinet
   BEM blocks. Tokens first, then base, then blocks in page order.
   ========================================================================== */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Bowlby One"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bowlby-one-400.woff2") format("woff2"); }
@font-face { font-family: "DSEG14"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dseg14-classic-bold.woff2") format("woff2"); }

:root {
  /* cabinet */
  --cab: #120e0b;
  --cab-2: #1d1712;
  --cab-3: #29211a;
  --cab-4: #362c23;
  --line: #473b30;
  --line-soft: #332a22;
  --well: #0b0806;

  /* printed ink */
  --ink: #f5efe4;
  --ink-2: #d6cdc2;
  --ink-3: #aea497;

  /* screen-printed glass colours */
  --lamp: #ffc62e;
  --lamp-hi: #fff2bd;
  --lamp-lo: #b97f00;
  --red: #e8323f;
  --red-hi: #ff8e93;
  --red-lo: #7d101b;
  --cyan: #38c6ec;
  --cyan-hi: #9be6fa;
  --cyan-lo: #0f6f8f;
  --green: #3ccf76;
  --green-lo: #14683a;
  --glass: #5c0f19;
  --glass-2: #701421;
  --glass-3: #3e0a11;

  /* chrome trim */
  --chrome: linear-gradient(180deg, #fdfbfb 0%, #d0c9c6 38%, #7f7570 52%, #b1a9a5 70%, #eae6e3 100%);
  --chrome-side: linear-gradient(90deg, #796f6a 0%, #eee9e6 30%, #aaa19d 60%, #5f5752 100%);
  --lamp-glass: linear-gradient(180deg, #ffe07a 0%, #ffc62e 45%, #eaa800 100%);

  --f-display: "Bowlby One", "Arial Black", sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-seg: "DSEG14", ui-monospace, monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --gutter: 16px;
  --container: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-cab: 0 12px 28px -8px rgb(0 0 0 / 0.7), 0 2px 6px rgb(0 0 0 / 0.45);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cab);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--lamp);
  accent-color: var(--lamp);
  scrollbar-color: var(--line) var(--cab);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

::selection { background: var(--lamp); color: #1a1206; }

::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cab); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; border: 3px solid var(--cab); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--lamp);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { color: var(--lamp-hi); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
strong { font-weight: 700; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .fill, .icon use { fill: inherit; }
#i-play .fill, #i-live .fill { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--lamp);
  color: #1a1206;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.main { display: block; outline: none; min-height: 60vh; }

/* ---------------------------------------------------------------- trim */

.trim {
  height: 4px;
  background: var(--chrome);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.6);
}

/* ---------------------------------------------------------------- lamp */

.lamp {
  --lamp-on: var(--lamp);
  --lamp-glow: var(--lamp-hi);
  --lamp-rim: var(--lamp-lo);
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lamp-glow) 0 14%, var(--lamp-on) 45%, var(--lamp-rim) 100%);
  box-shadow: inset 0 -1px 2px rgb(0 0 0 / 0.45), 0 0 0 2px rgb(0 0 0 / 0.55);
}
.lamp--sm { width: 10px; height: 10px; }
.lamp--lg { width: 28px; height: 28px; }
.lamp--red { --lamp-on: var(--red); --lamp-glow: #ffc4c7; --lamp-rim: var(--red-lo); }
.lamp--green { --lamp-on: var(--green); --lamp-glow: #cdf7dc; --lamp-rim: var(--green-lo); }
.lamp--cyan { --lamp-on: var(--cyan); --lamp-glow: #d6f6ff; --lamp-rim: var(--cyan-lo); }
.lamp--off { --lamp-on: #403a31; --lamp-glow: #5f5749; --lamp-rim: #211c16; }

/* ---------------------------------------------------------------- cap (push button) */

.cap {
  --cap-bg: linear-gradient(180deg, #443a30 0%, #322a22 100%);
  --cap-ink: var(--ink);
  --cap-edge: #0a0705;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0.55em 1.2em;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--cap-bg);
  color: var(--cap-ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    inset 0 -3px 0 rgb(0 0 0 / 0.3),
    0 0 0 2px var(--cap-edge),
    0 4px 8px -2px rgb(0 0 0 / 0.6);
  transition: transform 90ms ease-out, box-shadow 90ms ease-out, filter 150ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.cap:hover { color: var(--cap-ink); filter: brightness(1.08); }
.cap:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    inset 0 -1px 0 rgb(0 0 0 / 0.3),
    0 0 0 2px var(--cap-edge),
    0 1px 2px rgb(0 0 0 / 0.6);
}
.cap .icon { width: 1.15em; height: 1.15em; }
.cap[disabled], .cap.is-loading { cursor: default; filter: saturate(0.4) brightness(0.8); pointer-events: none; }
.cap.is-loading::after {
  content: "";
  width: 1em; height: 1em;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 700ms linear infinite;
}

.cap--lit { --cap-bg: var(--lamp-glass); --cap-ink: #1b1204; }
.cap--red { --cap-bg: linear-gradient(180deg, #ff5a63 0%, #e8323f 50%, #b81a28 100%); --cap-ink: #fff; }
.cap--cyan { --cap-bg: linear-gradient(180deg, #7ddcf5 0%, #38c6ec 50%, #1a98bd 100%); --cap-ink: #04212b; }
.cap--ghost {
  --cap-bg: linear-gradient(180deg, #2b231b 0%, #1f1913 100%);
  --cap-ink: var(--ink);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    inset 0 0 0 1px #584b3f,
    0 0 0 2px var(--cap-edge),
    0 4px 8px -2px rgb(0 0 0 / 0.6);
}
.cap--sm { min-height: 40px; padding: 0.45em 0.95em; font-size: 0.97rem; }
.cap--xs { min-height: 34px; padding: 0.35em 0.75em; font-size: 0.9rem; letter-spacing: 0.05em; }
.cap--lg { min-height: 54px; padding: 0.6em 1.6em; font-size: 1.2rem; }
.cap--block { width: 100%; }
.cap--square { width: 44px; min-height: 44px; padding: 0; }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lamp);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.link-button:hover { color: var(--lamp-hi); }

/* ---------------------------------------------------------------- alpha display ticker */

.alpha {
  background: #140406;
  border-bottom: 1px solid #000;
}
.alpha__window {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
}
.alpha__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 22px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.alpha__screen {
  position: relative;
  flex: 1;
  height: 24px;
  overflow: hidden;
  border-radius: 3px;
  background: #0a0203;
  box-shadow: inset 0 0 0 1px #2c0b10, inset 0 2px 6px rgb(0 0 0 / 0.8);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.alpha__track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
}
.alpha__text {
  padding-right: 0.5em;
  font-family: var(--f-seg);
  font-size: 0.8rem;
  line-height: 24px;
  letter-spacing: 0.08em;
  color: #ff5b3d;
  white-space: pre;
}
.alpha:hover .alpha__track, .alpha.is-paused .alpha__track { animation-play-state: paused; }
.alpha__pause {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px; height: 28px;
  border: 0;
  border-radius: 4px;
  background: #2a0c10;
  color: #ff8a70;
}
.alpha__pause .icon { width: 16px; height: 16px; stroke-width: 3; }
.alpha__pause[aria-pressed="true"] { background: #ff5b3d; color: #140406; }

@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #241d16 0%, #19140f 100%);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.site-header__toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--cab-3);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.site-header__toggle .icon { width: 24px; height: 24px; }
.site-header__toggle-close { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-open { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-close { display: block; }

.site-header__panel {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  padding: 12px var(--gutter) 20px;
  background: #19140f;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 18px 30px -12px rgb(0 0 0 / 0.8);
}
.site-header__panel.is-open { display: block; }

.site-header__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.site-header__actions .cap { flex: 1; }

@media (min-width: 1100px) {
  .site-header__toggle { display: none; }
  .site-header__panel {
    display: flex;
    align-items: center;
    flex: 1;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-header__actions { margin: 0 0 0 auto; }
  .site-header__actions .cap { flex: none; }
}

/* logo: the O's are lamps */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo__word {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-family: var(--f-display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--lamp);
  text-shadow: 0 2px 0 var(--red-lo);
}
.logo__o {
  display: inline-block;
  width: 0.78em; height: 0.78em;
  margin: 0 0.02em;
  border-radius: 50%;
  border: 0.17em solid var(--o, var(--lamp));
  background: radial-gradient(circle at 38% 34%, rgb(255 255 255 / 0.55) 0 12%, transparent 40%), #201a10;
  box-shadow: 0 2px 0 var(--red-lo);
}
.logo__o--red { --o: var(--red); }
.logo__o--lamp { --o: var(--lamp); }
.logo__o--cyan { --o: var(--cyan); }
.logo__plate {
  padding: 3px 7px 2px;
  border-radius: 4px;
  background: var(--chrome);
  color: #201a14;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav__list { list-style: none; display: grid; gap: 2px; }
.site-nav__link {
  display: block;
  padding: 12px 4px;
  color: var(--ink-2);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.site-nav__link:hover, .site-nav__link.is-current { color: var(--lamp); }

@media (min-width: 1100px) {
  .site-nav { margin-left: 16px; }
  .site-nav__list { display: flex; gap: 4px; }
  .site-nav__link {
    padding: 8px 10px;
    font-size: 1rem;
    border: 0;
    border-radius: 4px;
  }
  .site-nav__link.is-current { box-shadow: inset 0 -3px 0 var(--lamp); border-radius: 0; }
}

/* ---------------------------------------------------------------- sections */

.band { padding-block: 56px; }
.band--tight { padding-block: 36px; }
.band--panel { background: var(--cab-2); border-block: 1px solid var(--line-soft); }
@media (min-width: 900px) {
  .band { padding-block: 80px; }
  .band--tight { padding-block: 48px; }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head__title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.section-head__link .icon { width: 1.1em; height: 1.1em; }
.section-head__lead { margin-top: 8px; color: var(--ink-2); max-width: 60ch; }

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

.cabinet {
  position: relative;
  padding-block: 20px 40px;
  background:
    radial-gradient(120% 70% at 50% 0%, #312418 0%, transparent 70%),
    var(--cab);
}
@media (min-width: 1024px) { .cabinet { padding-block: 36px 64px; } }

.cabinet__frame {
  display: grid;
  gap: 18px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #2b221a 0%, #17120d 100%);
  box-shadow: inset 0 0 0 1px #453a2f, var(--shadow-cab);
}
@media (min-width: 1024px) {
  .cabinet__frame {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 14px;
    padding: 14px;
  }
}

.glass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px 20px 26px;
  border-radius: 12px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 -40px 60px -30px rgb(0 0 0 / 0.5);
}
.glass::before {
  /* screen-printed sunburst */
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg at 18% 78%, var(--glass-2) 0deg 7deg, var(--glass) 7deg 14deg);
  -webkit-mask-image: radial-gradient(closest-side at 18% 78%, #000 0%, rgb(0 0 0 / 0.55) 60%, transparent 100%);
  mask-image: radial-gradient(closest-side at 18% 78%, #000 0%, rgb(0 0 0 / 0.55) 60%, transparent 100%);
}
@media (min-width: 768px) { .glass { padding: 40px 36px 34px; } }


.glass-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 0.8rem + 3.4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--lamp);
  text-shadow: 0 2px 0 #c2410c, 0 4px 0 var(--red-lo), 0 7px 12px rgb(0 0 0 / 0.45);
}
.glass-title__line { display: block; }
.glass-title__line--white { color: var(--ink); text-shadow: 0 2px 0 #a8151f, 0 4px 0 #3e0a11, 0 7px 12px rgb(0 0 0 / 0.45); }
.glass-title__line--cyan { color: var(--cyan); text-shadow: 0 2px 0 var(--cyan-lo), 0 4px 0 #062c3a, 0 7px 12px rgb(0 0 0 / 0.45); }

.glass__lead {
  max-width: 44ch;
  margin-top: 18px;
  color: #f2eadf;
  font-size: 1.08rem;
}
.glass__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.glass__licence {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: #e4d9cc;
  font-size: 0.92rem;
}
.glass__licence img { width: 22px; height: 22px; filter: brightness(0) invert(1); opacity: 0.85; }

/* number trail: the account journey as lamps */
.trail {
  margin-top: 28px;
  padding: 14px 12px 10px;
  border-radius: 10px;
  background: rgb(16 10 5 / 0.55);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.trail__title {
  margin-bottom: 10px;
  color: var(--ink-2);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.trail__list {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  counter-reset: trail;
}
.trail__list::before {
  content: "";
  position: absolute;
  left: 7%; right: 7%;
  top: 16px;
  height: 2px;
  background: #624b2d;
}
.trail__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  counter-increment: trail;
}
.trail__lamp {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #665a47 0 12%, #443a2d 50%, #251e17 100%);
  box-shadow: inset 0 -2px 3px rgb(0 0 0 / 0.5), 0 0 0 2px #100b07;
  color: #9c8f7f;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1rem;
  transition: background 160ms ease-out, color 160ms ease-out;
}
.trail__lamp::before { content: counter(trail); }
.trail__step.is-lit .trail__lamp {
  background: radial-gradient(circle at 35% 30%, var(--lamp-hi) 0 14%, var(--lamp) 50%, var(--lamp-lo) 100%);
  color: #2a1b00;
}
.trail__label {
  color: #dfd5c8;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.74rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
@media (min-width: 480px) { .trail__label { font-size: 0.82rem; } }

/* ---------------------------------------------------------------- reels */

.reelbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #312a20 0%, #1c1711 100%);
  box-shadow: inset 0 0 0 1px #483d31;
}
.reelbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.reelbox__title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.reelbox__hint { color: var(--ink-3); font-size: 0.88rem; }

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.reel__bezel {
  position: relative;
  padding: 4px;
  border-radius: 9px;
  background: var(--chrome);
  box-shadow: 0 0 0 2px #0a0705, 0 8px 16px -8px rgb(0 0 0 / 0.8);
}
.reel:first-child .reel__bezel::before, .reel:last-child .reel__bezel::before {
  /* payline markers */
  content: "";
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 12px; height: 18px;
  background: var(--red);
  transform: translateY(-50%);
}
.reel:first-child .reel__bezel::before { left: -6px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.reel:last-child .reel__bezel::before { right: -6px; clip-path: polygon(100% 0, 0 50%, 100% 100%); }

.reel { display: grid; gap: 6px; min-width: 0; container-type: inline-size; }
.reel__label {
  padding: 4px 2px;
  border-radius: 4px;
  background: #0e0b08;
  color: var(--lamp);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reel__window {
  --cell: 100px;
  --cell: calc(100cqw - 8px);
  position: relative;
  height: calc(var(--cell) * 2.3);
  overflow: hidden;
  border-radius: 6px;
  background: #070504;
}
.reel__window::after {
  /* reel curvature shading */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(7 5 4 / 0.92) 0%, rgb(7 5 4 / 0.35) 24%, transparent 34%, transparent 66%, rgb(7 5 4 / 0.35) 76%, rgb(7 5 4 / 0.92) 100%);
}
.reel__strip {
  list-style: none;
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--cell) * -0.35);
  will-change: transform;
}
.reel__cell {
  height: var(--cell);
  padding: 3px;
}
.reel__link { display: block; height: 100%; border-radius: 4px; overflow: hidden; }
.reel__link img { width: 100%; height: 100%; object-fit: cover; }
.reel__link:focus-visible { outline-offset: -3px; }

.reel__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.reel__nudge { min-height: 38px; padding: 0; }
.reel__nudge .icon { width: 20px; height: 20px; stroke-width: 3; }
.reel__now {
  min-height: 2.3em;
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.15;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reelbox__nudge-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.reelbox__nudge-label::before, .reelbox__nudge-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

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

.finder {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #29211a 0%, #1d1712 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.finder__field { position: relative; flex: 1; min-width: 0; }
.finder__icon {
  position: absolute;
  left: 14px; top: 50%;
  width: 20px; height: 20px;
  color: var(--lamp);
  transform: translateY(-50%);
  pointer-events: none;
}
.finder__input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 44px;
  border: 0;
  border-radius: 8px;
  background: var(--well);
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.9), inset 0 0 0 1px #362d24;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
}
.finder__input::placeholder { color: var(--ink-3); font-weight: 500; }
.finder__input::-webkit-search-cancel-button { filter: invert(1) sepia(1) saturate(4) hue-rotate(5deg); }

/* ---------------------------------------------------------------- category caps */

.cat-caps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 700px) { .cat-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-caps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.cat-cap {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  height: 100%;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #332b22 0%, #211b15 100%);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px #493f33, 0 0 0 2px #0a0705, 0 6px 12px -6px rgb(0 0 0 / 0.8);
  transition: transform 90ms ease-out, background 160ms ease-out;
}
.cat-cap:hover { color: var(--ink); background: linear-gradient(180deg, #453a2e 0%, #2b231b 100%); }
.cat-cap:active { transform: translateY(2px); }
.cat-cap.is-current { background: var(--lamp-glass); color: #1b1204; }
.cat-cap.is-current .cat-cap__count { background: #1b1204; color: var(--lamp); }
.cat-cap__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: #110d0a;
  color: var(--lamp);
}
.cat-cap.is-current .cat-cap__icon { background: #1b1204; }
.cat-cap__icon .icon { width: 24px; height: 24px; }
.cat-cap__label {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cat-cap__count {
  justify-self: start;
  margin-top: 4px;
  padding: 3px 6px;
  border-radius: 3px;
  background: #0a0203;
  color: #ff6a4a;
  font-family: var(--f-seg);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------- game grid & card */

.game-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 560px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 860px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1180px) { .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .game-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.game-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 7px 7px 10px;
  border-radius: 12px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.game-card__window {
  display: block;
  padding: 4px;
  border-radius: 9px;
  background: var(--chrome);
  box-shadow: 0 0 0 1px #0a0705;
  transition: background 160ms ease-out;
}
.game-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #201a14;
  transition: transform 260ms var(--ease-out), filter 260ms var(--ease-out);
}
.game-card__window-inner { display: block; overflow: hidden; border-radius: 6px; }
.game-card:hover .game-card__window, .game-card__window:focus-visible { background: var(--lamp-glass); }
.game-card:hover .game-card__img { transform: scale(1.04); }
.game-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 10px 3px 0;
}
.game-card__title {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.12;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card__title a { color: var(--ink); text-decoration: none; }
.game-card__title a:hover { color: var(--lamp); }
.game-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.game-card__meta {
  min-width: 0;
  color: var(--ink-3);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card__tag {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  letter-spacing: 0.04em;
}
.game-card__play { min-height: 34px; padding: 0.3em 0.7em; font-size: 0.88rem; }
.game-card__play .icon { width: 0.95em; height: 0.95em; }

/* ---------------------------------------------------------------- feature plates (home) */

.split {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

.lede {
  color: var(--ink-2);
  font-size: 1.1rem;
  max-width: 62ch;
}
.lede + .lede { margin-top: 1em; }

.kicker-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 22px;
}

.ladder {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: ladder;
}
.ladder__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  padding-bottom: 22px;
  counter-increment: ladder;
}
.ladder__step::before {
  content: "";
  position: absolute;
  left: 21px; top: 40px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.ladder__step:last-child::before { display: none; }
.ladder__step:last-child { padding-bottom: 0; }
.ladder__lamp {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lamp-hi) 0 12%, var(--lamp) 50%, var(--lamp-lo) 100%);
  box-shadow: inset 0 -2px 3px rgb(0 0 0 / 0.35), 0 0 0 3px #0a0705;
  color: #2a1b00;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.25rem;
}
.ladder__lamp::before { content: counter(ladder); }
.ladder__title {
  padding-top: 8px;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ladder__text { grid-column: 2; margin-top: 4px; color: var(--ink-2); }
.ladder__text + .ladder__text { margin-top: 0.7em; }
.ladder--compact .ladder__step { padding-bottom: 14px; }
.ladder--compact .ladder__lamp { width: 34px; height: 34px; font-size: 1rem; }
.ladder--compact .ladder__step { grid-template-columns: 34px 1fr; }
.ladder--compact .ladder__step::before { left: 16px; top: 32px; }
.ladder--compact .ladder__title { padding-top: 5px; font-size: 1.08rem; }

/* red glass panel for safer gambling */
.redglass {
  position: relative;
  overflow: hidden;
  padding: 26px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #3a0c14 0%, #2a0810 100%);
  box-shadow: inset 0 0 0 1px #5a1520, var(--shadow-cab);
}
@media (min-width: 768px) { .redglass { padding: 40px; } }
.redglass__title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  text-transform: uppercase;
}
.redglass__text { margin-top: 12px; color: #f2d9dc; max-width: 60ch; }
.toolrow {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
@media (min-width: 640px) { .toolrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .toolrow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.toolrow__item {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 10px;
  background: rgb(0 0 0 / 0.28);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.toolrow__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.toolrow__name .icon { color: var(--red-hi); }
.toolrow__item p { color: #ebcfd3; font-size: 0.95rem; }

.helpstrip {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 760px) { .helpstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- helplines */

.helplines { list-style: none; display: grid; gap: 10px; }
.helplines__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--cab-3);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.helplines__region { grid-column: 1 / -1; color: var(--ink-2); font-size: 0.9rem; }
.helplines__phone {
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.helplines__phone:hover { color: var(--lamp); }
.helplines__hours {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--green-lo);
  color: #dffbe8;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.85rem;
}
.redglass .helplines__item { background: rgb(0 0 0 / 0.3); }
.redglass .helplines__region { color: #efd2d6; }

/* ---------------------------------------------------------------- plaques (logos) */

.plaques {
  display: grid;
  gap: 14px;
  padding-block: 28px;
  border-top: 1px solid var(--line-soft);
}
.plaques__row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.plaque {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f6f4f2 0%, #ddd8d4 100%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #0a0705;
  color: #332b24;
  text-decoration: none;
}
a.plaque:hover { background: linear-gradient(180deg, #fff 0%, #eae6e2 100%); color: #332b24; }
.plaque img { width: auto; height: 22px; }
.plaque--age img { height: 26px; }
.plaque__label {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.plaque__icon { width: 20px; height: 20px; color: #443b34; }
.plaque__mc { width: 36px; height: 24px; }
.plaques__row--lg .plaque { height: 56px; padding: 0 18px; }
.plaques__row--lg .plaque img { height: 28px; }
.plaques__row--lg .plaque__mc { width: 46px; height: 30px; }
.plaques__row--lg .plaque__label { font-size: 1.1rem; }

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

.site-footer {
  margin-top: 40px;
  background: #0d0a08;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.footer-strip { padding-block: 18px; border-bottom: 1px solid var(--line-soft); }
.footer-strip__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.footer-strip__list li { display: flex; align-items: center; }
.footer-strip__list li + li::before {
  content: "";
  width: 1px; height: 14px;
  margin-inline: 12px;
  background: var(--line);
}
.footer-strip__link {
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.footer-strip__link:hover { color: var(--lamp); }
.footer-strip__link--age {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
}
.footer-strip__link--age:hover { color: #fff; background: #ff4854; }

.site-footer__grid {
  display: grid;
  gap: 28px;
  padding-block: 32px;
}
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 0.8fr 1.1fr 1fr; gap: 40px; } }
.site-footer__title {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer__links { list-style: none; display: grid; gap: 6px; }
.site-footer__links a { color: var(--ink-2); text-decoration: none; }
.site-footer__links a:hover { color: var(--lamp); text-decoration: underline; }
.site-footer__legal + .site-footer__legal { margin-top: 10px; }
.site-footer__legal strong { color: var(--ink); }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-3);
  font-size: 0.88rem;
}

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

.page-head {
  padding-block: 32px 28px;
  background:
    radial-gradient(90% 120% at 0% 0%, #382a1a 0%, transparent 60%),
    var(--cab);
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 900px) { .page-head { padding-block: 48px 40px; } }
.page-title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.page-title__accent { color: var(--lamp); }
.page-head__lead { max-width: 62ch; margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.page-head__meta { margin-top: 14px; color: var(--ink-3); font-size: 0.92rem; }

.crumbs { margin-bottom: 14px; }
.crumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.9rem; }
.crumbs__list li { display: flex; align-items: center; gap: 4px; color: var(--ink-3); }
.crumbs__list li + li::before { content: "/"; color: var(--line); margin-right: 2px; }
.crumbs__list a { color: var(--ink-2); text-decoration: none; }
.crumbs__list a:hover { color: var(--lamp); text-decoration: underline; }

/* ---------------------------------------------------------------- catalogue */

.catalogue__controls {
  display: grid;
  gap: 14px;
  margin-block: 22px;
}
.catalogue__filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.catalogue__controls .finder { min-width: 0; }
@media (min-width: 760px) {
  .catalogue__controls { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .catalogue__filters { display: flex; }
}
.catalogue__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--ink-2);
}
.catalogue__count {
  font-family: var(--f-cond);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.catalogue__more { display: flex; justify-content: center; margin-top: 32px; }
.catalogue__empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 16px;
  border-radius: 12px;
  background: var(--cab-2);
  text-align: center;
  color: var(--ink-2);
}

.select {
  position: relative;
  display: block;
}
.select select {
  width: 100%;
  height: 50px;
  padding: 0 40px 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--cab-3);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  appearance: none;
}
.select .icon {
  position: absolute;
  right: 12px; top: 50%;
  width: 18px; height: 18px;
  color: var(--lamp);
  transform: translateY(-50%);
  pointer-events: none;
}
.select select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------------------------------------------------------------- single game */

.gamepage {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .gamepage { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 48px; align-items: start; }
  .gamepage__media { position: sticky; top: 100px; }
}
.gamepage__bezel {
  position: relative;
  padding: 10px;
  border-radius: 16px;
  background: var(--chrome);
  box-shadow: 0 0 0 2px #0a0705, var(--shadow-cab);
}
.gamepage__bezel::before, .gamepage__bezel::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px; height: 22px;
  background: var(--red);
  transform: translateY(-50%);
}
.gamepage__bezel::before { left: -3px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.gamepage__bezel::after { right: -3px; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.gamepage__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.gamepage__buttons { display: grid; gap: 12px; margin-top: 20px; }
.gamepage__note { margin-top: 12px; color: var(--ink-3); font-size: 0.9rem; text-align: center; }
.gamepage__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cab-3);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}
.tag--lamp { background: var(--lamp); color: #1b1204; box-shadow: none; }
.tag--red { background: var(--red); color: #fff; box-shadow: none; }

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--line-soft);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.specs__item { padding: 14px 16px; background: var(--cab-2); }
.specs__item dt {
  color: var(--ink-3);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.specs__item dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }

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

.gate {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) { .gate { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; } }
.gate__screen {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 10px;
  background: var(--chrome);
  box-shadow: 0 0 0 2px #0a0705, var(--shadow-cab);
}
.gate__screen img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; filter: saturate(0.6) brightness(0.45); }
.gate__overlay {
  position: absolute;
  inset: 10px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}
.gate__overlay .icon { width: 56px; height: 56px; color: var(--lamp); stroke-width: 1.6; }
.gate__overlay-text {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--lamp);
  text-shadow: 0 2px 0 #c2410c, 0 4px 0 var(--red-lo);
}

.checklist { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.checklist__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.checklist__label { font-weight: 600; }
.checklist__label small { display: block; color: var(--ink-3); font-weight: 400; font-size: 0.9rem; }

/* ---------------------------------------------------------------- prose (legal & help) */

.doc {
  display: grid;
  gap: 32px;
  padding-block: 36px 24px;
}
@media (min-width: 1024px) {
  .doc { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-block: 56px 32px; }
  .doc__toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
}
.toc {
  padding: 16px;
  border-radius: 12px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.toc__summary, .toc__title {
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.toc__summary { cursor: pointer; list-style-position: inside; }
.toc__list { list-style: none; display: grid; gap: 2px; margin-top: 10px; counter-reset: toc; }
.toc__list a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
}
.toc__list a:hover { background: var(--cab-3); color: var(--lamp); }
@media (min-width: 1024px) {
  .toc__details > summary { pointer-events: none; list-style: none; }
  .toc__details > summary::-webkit-details-marker { display: none; }
}

.prose { max-width: 74ch; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 2.2em;
  padding-top: 0.2em;
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 1.6em;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 0.45em; }
.prose ul > li { position: relative; padding-left: 1.5em; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.1em; top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lamp-hi) 0 14%, var(--lamp) 50%, var(--lamp-lo) 100%);
}
.prose ol { counter-reset: prose; }
.prose ol > li { position: relative; padding-left: 2em; counter-increment: prose; }
.prose ol > li::before {
  content: counter(prose);
  position: absolute;
  left: 0; top: 0.1em;
  display: grid;
  place-items: center;
  width: 1.45em; height: 1.45em;
  border-radius: 50%;
  background: var(--cab-4);
  color: var(--lamp);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 0.9em;
}
.prose a { color: var(--lamp); }
.prose .num { color: var(--lamp); font-family: var(--f-cond); font-weight: 800; margin-right: 0.3em; }

.table-wrap { overflow-x: auto; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.table { width: 100%; min-width: 560px; font-size: 0.95rem; }
.table th, .table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table th {
  background: var(--cab-3);
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table td { color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table code { color: var(--lamp); font-size: 0.92em; }
.table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.faq { display: grid; gap: 10px; }
.faq__group + .faq__group { margin-top: 40px; }
.faq__item {
  border-radius: 10px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.faq__item[open] { box-shadow: inset 0 0 0 1px var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { color: var(--lamp); transition: transform 200ms var(--ease-out); }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); }
.faq__a { padding: 0 16px 18px; color: var(--ink-2); max-width: 72ch; }

/* ---------------------------------------------------------------- notices */

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #102430;
  box-shadow: inset 0 0 0 1px #1e4a5e;
  color: #d5eef7;
}
.notice > .icon { margin-top: 2px; color: var(--cyan); }
.notice--lamp { background: #2b2108; box-shadow: inset 0 0 0 1px #5c4610; color: #f7e9c2; }
.notice--lamp > .icon { color: var(--lamp); }
.notice--red { background: #2e0c12; box-shadow: inset 0 0 0 1px #6a1a25; color: #f6d7da; }
.notice--red > .icon { color: var(--red-hi); }
.notice--green { background: #0e2717; box-shadow: inset 0 0 0 1px #1d5a33; color: #d6f5e1; }
.notice--green > .icon { color: var(--green); }
.notice a { color: inherit; font-weight: 700; }
.notice__title { color: #fff; font-weight: 700; }
.notice p + p { margin-top: 0.4em; }

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

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--3 { grid-template-columns: 2fr 1fr; }
}
.form__section {
  display: grid;
  gap: 18px;
  padding: 20px 16px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
@media (min-width: 640px) { .form__section { padding: 24px; } }
.form__legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form__legend + * { clear: both; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form__alt { color: var(--ink-2); font-size: 0.95rem; }
.form__message:empty { display: none; }

.field { display: grid; gap: 6px; }
.field__label { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.field__hint { color: var(--ink-3); font-size: 0.88rem; }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--red-hi);
  font-size: 0.92rem;
  font-weight: 600;
}
.field__error:empty { display: none; }
.field__error::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red);
}
.field__control { position: relative; }

.input, .textarea, .field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #574a3f;
  border-radius: 8px;
  background: var(--well);
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.7);
  color: var(--ink);
  font-size: 1.05rem;
  transition: border-color 140ms ease-out;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #90857a; }
.input:hover, .textarea:hover { border-color: #7a6658; }
.input:focus, .textarea:focus, .field select:focus { border-color: var(--lamp); outline: 3px solid rgb(56 198 236 / 0.8); outline-offset: 1px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red-hi); }
.input--money { padding-left: 34px; font-variant-numeric: tabular-nums; }
.input[type="date"] { color-scheme: dark; }
.field__prefix {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-2);
  font-weight: 600;
  pointer-events: none;
}
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc62e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }

.pw-toggle {
  position: absolute;
  right: 6px; top: 50%;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-3);
  transform: translateY(-50%);
}
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--lamp); }
.input--pw { padding-right: 52px; }

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-2);
  cursor: pointer;
}
.check__box {
  width: 24px; height: 24px;
  margin: 1px 0 0;
  border: 2px solid #806e60;
  border-radius: 5px;
  background: var(--well);
  appearance: none;
  cursor: pointer;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}
.check__box:checked {
  border-color: var(--lamp);
  background: var(--lamp) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1204' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.check__box[aria-invalid="true"] { border-color: var(--red-hi); }
.check__text strong { color: var(--ink); }
.check + .field__error { margin-left: 36px; }

.switch {
  position: relative;
  width: 52px; height: 30px;
  flex: none;
  margin: 0;
  border-radius: 999px;
  background: #382f26;
  box-shadow: inset 0 0 0 1px #584b3f, inset 0 2px 4px rgb(0 0 0 / 0.6);
  appearance: none;
  cursor: pointer;
  transition: background-color 160ms ease-out;
}
.switch::after {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, #c6bdb7 60%, #857a73 100%);
  transition: transform 180ms var(--ease-out);
}
.switch:checked { background: var(--lamp); box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.25); }
.switch:checked::after { transform: translateX(22px); }

.radio-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .radio-caps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .radio-caps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.radio-cap { position: relative; display: block; cursor: pointer; }
.radio-cap input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-cap__face {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 86px;
  padding: 12px 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #322a21 0%, #211b15 100%);
  box-shadow: inset 0 0 0 1px #4f4539, 0 0 0 2px #0a0705;
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
  transition: background 140ms ease-out;
}
.radio-cap__face .icon { width: 26px; height: 26px; color: var(--lamp); }
.radio-cap__face .plaque { height: 34px; }
.radio-cap input:checked + .radio-cap__face { background: var(--lamp-glass); color: #1b1204; box-shadow: inset 0 0 0 1px var(--lamp-lo), 0 0 0 2px #0a0705; }
.radio-cap input:checked + .radio-cap__face .icon { color: #1b1204; }
.radio-cap input:focus-visible + .radio-cap__face { outline: 3px solid var(--cyan); outline-offset: 3px; }
.radio-cap--text .radio-cap__face { min-height: 56px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--cab-3);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--lamp); color: var(--lamp); }

/* ---------------------------------------------------------------- auth */

.auth {
  display: grid;
  gap: 28px;
  padding-block: 32px 24px;
}
@media (min-width: 1000px) {
  .auth { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-block: 48px 32px; align-items: start; }
  .auth--narrow { grid-template-columns: minmax(0, 560px) 1fr; }
  .auth__aside { position: sticky; top: 100px; }
}
.auth__card {
  padding: 22px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #211b15 0%, #18130f 100%);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-cab);
}
@media (min-width: 640px) { .auth__card { padding: 32px; } }
.auth__title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  line-height: 1;
  text-transform: uppercase;
}
.auth__lead { margin-top: 10px; margin-bottom: 24px; color: var(--ink-2); }
.auth__aside { display: grid; gap: 16px; }
.aside-panel {
  padding: 20px;
  border-radius: 14px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.aside-panel__title {
  margin-bottom: 12px;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aside-panel p { color: var(--ink-2); font-size: 0.97rem; }

.progress-lamps {
  list-style: none;
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.progress-lamps__item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  color: var(--ink-3);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.progress-lamps__item .lamp { width: 16px; height: 16px; }
.progress-lamps__item span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress-lamps__item.is-lit { color: var(--ink); }
@media (max-width: 520px) { .progress-lamps__item span:last-child { display: none; } .progress-lamps { justify-content: flex-start; } .progress-lamps__item { flex: none; } }

.done {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.done__lamp { width: 48px; height: 48px; }

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

.account {
  display: grid;
  gap: 24px;
  padding-block: 28px 24px;
}
@media (min-width: 1000px) {
  .account { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; padding-block: 40px 32px; align-items: start; }
  .account__nav { position: sticky; top: 96px; }
}

.acct-nav {
  padding: 10px;
  border-radius: 14px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.acct-nav__list {
  list-style: none;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.acct-nav__list::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .acct-nav__list { display: grid; overflow: visible; } }
.acct-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.acct-nav__link .icon { color: var(--ink-3); }
.acct-nav__link:hover { background: var(--cab-3); color: var(--ink); }
.acct-nav__link.is-current { background: var(--lamp-glass); color: #1b1204; box-shadow: 0 0 0 2px #0a0705; }
.acct-nav__link.is-current .icon { color: #1b1204; }
.acct-nav__logout { display: none; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
@media (min-width: 1000px) { .acct-nav__logout { display: block; } }

.acct-head {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  background:
    radial-gradient(80% 140% at 100% 0%, #3d2d1a 0%, transparent 60%),
    var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
@media (min-width: 760px) { .acct-head { grid-template-columns: 1fr auto; align-items: center; padding: 22px 24px; } }
.acct-head__hello { color: var(--ink-3); font-size: 0.95rem; }
.acct-head__name {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.acct-head__status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.meter {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0a0203;
  box-shadow: inset 0 0 0 1px #2c0b10;
}
.meter__label {
  color: #d9a39b;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.meter__value {
  color: #ff6a4a;
  font-family: var(--f-seg);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: var(--cab-3);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.acct-section { display: grid; gap: 20px; margin-top: 24px; }
.acct-title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.acct-lead { color: var(--ink-2); max-width: 64ch; }

.panel {
  padding: 20px 16px;
  border-radius: 14px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
@media (min-width: 640px) { .panel { padding: 24px; } }
.panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.panel__title .icon { color: var(--lamp); }
.panel__text { color: var(--ink-2); max-width: 68ch; }
.panel__text + .panel__text { margin-top: 0.7em; }
.panel--danger { box-shadow: inset 0 0 0 1px #5a1a24; }
.panel--danger .panel__title .icon { color: var(--red-hi); }

.datalist { display: grid; gap: 0; }
.datalist__row {
  display: grid;
  gap: 2px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.datalist__row:first-child { padding-top: 0; }
.datalist__row:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 640px) { .datalist__row { grid-template-columns: 200px 1fr; } }
.datalist dt { color: var(--ink-3); font-size: 0.95rem; }
.datalist dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

.empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 16px;
  text-align: center;
  color: var(--ink-2);
}
.empty .icon { width: 40px; height: 40px; color: var(--ink-3); stroke-width: 1.5; }
.empty__title { color: var(--ink); font-family: var(--f-cond); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }

.limits-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .limits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pending {
  list-style: none;
  display: grid;
  gap: 8px;
}
.pending__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #2b2108;
  box-shadow: inset 0 0 0 1px #5c4610;
  color: #f7e9c2;
}
.pending__when { display: flex; align-items: center; gap: 8px; font-weight: 600; }

.cards-2 { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

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

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  background: rgb(11 8 6 / 0.97);
}
.age-gate__cabinet {
  width: min(520px, 100%);
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, #312a20 0%, #19140f 100%);
  box-shadow: inset 0 0 0 1px #4f4538, 0 30px 60px -20px #000;
}
.age-gate__glass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 32px 22px 28px;
  border-radius: 14px;
  background: var(--glass);
  text-align: center;
}
.age-gate__glass::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--glass-2) 0deg 7deg, var(--glass) 7deg 14deg);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.age-gate__badge {
  display: inline-grid;
  place-items: center;
  width: 84px; height: 84px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 6px solid var(--red);
  background: #1a0610;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1.7rem;
  box-shadow: 0 0 0 3px #0a0705;
}
.age-gate__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.2rem + 2.5vw, 2.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--lamp);
  text-shadow: 0 2px 0 #c2410c, 0 4px 0 var(--red-lo);
}
.age-gate__text { margin-top: 12px; color: #efe7dc; }
.age-gate__buttons { display: grid; gap: 12px; padding: 14px 4px 4px; }
@media (min-width: 480px) { .age-gate__buttons { grid-template-columns: 1fr 1fr; } .age-gate__buttons .cap { padding-inline: 0.6em; } }
.age-gate__under { display: grid; gap: 8px; padding: 16px 8px 6px; color: var(--ink-2); }
.age-gate__under strong { color: var(--ink); }

.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: #201a14;
  box-shadow: 0 -1px 0 #0a0705, 0 -18px 40px -12px rgb(0 0 0 / 0.8);
}
.cookie-bar::before { content: ""; display: block; height: 4px; background: var(--chrome); }
.cookie-bar__inner {
  display: grid;
  gap: 14px;
  padding-block: 16px;
}
@media (min-width: 960px) { .cookie-bar__inner { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }
.cookie-bar__title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cookie-bar__text p { margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; max-width: 80ch; }
.cookie-bar__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-bar__buttons .cap:last-child { grid-column: 1 / -1; }
@media (min-width: 560px) { .cookie-bar__buttons { display: flex; flex-wrap: wrap; } .cookie-bar__buttons .cap:last-child { grid-column: auto; } }

.modal {
  width: min(600px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #201a14;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -20px #000;
}
.modal::backdrop { background: rgb(9 6 4 / 0.82); }
.modal[open] { animation: modal-in 260ms var(--ease-out); }
.modal__body { display: grid; gap: 14px; padding: 22px 18px; }
@media (min-width: 560px) { .modal__body { padding: 28px; } }
.modal__title {
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}
.modal__lead { color: var(--ink-2); }
.modal__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.modal--reminder .modal__body { justify-items: start; }

.consent-list { list-style: none; display: grid; gap: 10px; }
.consent-list__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 10px;
  background: var(--cab-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.consent-list__name { font-size: 1.02rem; font-weight: 700; }
.consent-list__name label { cursor: pointer; }
.consent-list__item p { margin-top: 2px; color: var(--ink-2); font-size: 0.92rem; }
.consent-list__fixed {
  color: var(--green);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.toast {
  position: fixed;
  left: 50%; bottom: 20px;
  z-index: 400;
  width: min(520px, calc(100% - 32px));
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms var(--ease-out), opacity 200ms ease-out;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

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

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

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

/* spacing between stacked home blocks */
.section-head__title + .lede { margin-top: 14px; }
.section-head__title + .ladder { margin-top: 18px; }
ul.kicker-line { list-style: none; }

/* ---------------------------------------------------------------- page fragments */

.gamepage__text { margin-top: 26px; }
.gamepage__rg { margin-top: 20px; }
.gate__notice { margin-top: 16px; }
.gate .auth__card { margin-bottom: 16px; }
.gate .auth__lead { margin-bottom: 20px; }

.notfound { display: grid; justify-items: start; gap: 6px; }
.notfound__code {
  font-family: var(--f-seg);
  font-size: clamp(4rem, 3rem + 6vw, 8rem);
  line-height: 1;
  color: #ff5b3d;
}
.prose > section + section { margin-top: 2.4em; }
.prose > section > h2 { margin-top: 0; }
.prose section > * + * { margin-top: 1em; }
.prose section > h2 + * { margin-top: 0.7em; }
.prose .notice, .prose .helplines, .prose .table-wrap, .prose .plaques__row, .prose .kicker-line { max-width: none; }
.prose .helplines, .prose .plaques__row, .prose .kicker-line { list-style: none; }
.prose .helplines > li::before, .prose .plaques__row > li::before, .prose .kicker-line > li::before { display: none; }
.prose .plaques__row > li, .prose .kicker-line > li { padding-left: 0; }
.prose .helplines > li.helplines__item { padding: 12px 14px; }

.plain-list { list-style: none; display: grid; gap: 12px; }
.plain-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: var(--ink-2); font-size: 0.97rem; }
.plain-list .icon { margin-top: 2px; color: var(--lamp); }
.faq__title { margin-bottom: 14px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.faq-wrap { min-width: 0; }
.auth__card + .panel { margin-top: 16px; }
.link-reset { width: 100%; border: 0; background: none; text-align: left; }
.account__main { min-width: 0; }
a.status { text-decoration: none; }
a.status:hover { box-shadow: inset 0 0 0 1px var(--lamp); color: var(--ink); }

.form__plain { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form__plain + .form__plain { margin-top: 8px; }
.form__plain > legend { padding: 0; margin-bottom: 4px; }
.form__plain:disabled { opacity: 0.55; }
.form__plain:disabled .radio-cap, .form__plain:disabled .chip { cursor: not-allowed; }
.amount-field { max-width: 260px; }
.review { display: grid; gap: 10px; padding: 16px; border-radius: 10px; background: var(--cab-3); box-shadow: inset 0 0 0 1px var(--line); }
.review dd { color: var(--lamp); font-family: var(--f-cond); font-weight: 800; font-size: 1.15rem; }

.vsteps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.vsteps__item {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 10px;
  background: var(--cab-3);
  text-align: center;
}
.vsteps__item--current { box-shadow: inset 0 0 0 2px var(--lamp); }
.vsteps__label { font-family: var(--f-cond); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1; }
.vsteps__item--todo .vsteps__label { color: var(--ink-3); }

.upload { position: relative; display: flex; align-items: center; gap: 12px; min-height: 50px; cursor: pointer; }
.upload__input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.upload__input:focus-visible + .upload__button { outline: 3px solid var(--cyan); outline-offset: 3px; }
.upload__input[aria-invalid="true"] + .upload__button { box-shadow: inset 0 0 0 1px var(--red-hi), 0 0 0 2px #0a0705; }
.upload__name { min-width: 0; color: var(--ink-2); font-size: 0.93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-cap__face .plaque { height: 34px; padding: 0 10px; }
.radio-cap__face .plaque img { height: 20px; }
.radio-cap__face .plaque .icon { color: #443b34; }
.radio-cap input:checked + .radio-cap__face .plaque .icon { color: #443b34; }
.acct-section > .redglass { margin-top: 0; }

[tabindex="-1"]:focus { outline: none; }
.glass__licence .icon { margin-top: 2px; }

/* narrow screens: trail wraps into two rows, labels never split mid-word */
@media (max-width: 559px) {
  .trail__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .trail__list::before { display: none; }
  .trail__label { overflow-wrap: normal; font-size: 0.78rem; }
  .reelbox__head { display: grid; gap: 2px; }
  .reelbox__hint { font-size: 0.85rem; }
}

.finder + .cat-caps { margin-top: 16px; }
.cat-cap__count { white-space: nowrap; }
@media (max-width: 699px) {
  .cat-cap { column-gap: 10px; padding: 12px 10px; }
  .cat-cap__icon { width: 38px; height: 38px; }
  .cat-cap__label { font-size: 1rem; }
  .cat-cap__count { font-size: 0.62rem; letter-spacing: 0.02em; }
  .cat-caps--scroll {
    display: flex;
    gap: 10px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .cat-caps--scroll::-webkit-scrollbar { display: none; }
  .cat-caps--scroll > li { flex: none; width: 168px; scroll-snap-align: start; }
}

.gamepage-wrap { padding-top: 20px; }
@media (min-width: 900px) {
  .gamepage-wrap { padding-top: 28px; }
  .gamepage { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); }
}
.gamepage .crumbs { grid-column: 1 / -1; margin-bottom: 0; }
.gamepage__buttons .cap { white-space: normal; text-align: center; line-height: 1.1; }

/* single-column grids must not grow to their widest child on small screens */
.account, .auth, .doc, .gamepage, .gate, .split, .cabinet__frame, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .cabinet__frame { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .doc { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (min-width: 1000px) {
  .account { grid-template-columns: 270px minmax(0, 1fr); }
  .auth { grid-template-columns: minmax(0, 1fr) 380px; }
  .auth--narrow { grid-template-columns: minmax(0, 560px) 1fr; }
}
@media (min-width: 900px) {
  .gamepage { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); }
  .gate { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 0.8fr 1.1fr 1fr; } }


/* ==========================================================================
   Review round 1: cabinet material below the hero, warm ground, mobile hero
   ========================================================================== */

/* chrome bezel bands */
.trim {
  height: 8px;
  background: linear-gradient(180deg, #fdfbf8 0%, #d6d0c8 18%, #8a8278 42%, #4a443d 55%, #9b9389 78%, #ece7e0 100%);
  box-shadow: 0 1px 0 #000, 0 -1px 0 rgb(0 0 0 / 0.6);
}
.logo__plate { background: linear-gradient(180deg, #fdfbf8 0%, #d6d0c8 30%, #9b9389 62%, #ece7e0 100%); box-shadow: 0 0 0 1px #000; }
.cookie-bar::before { height: 8px; background: linear-gradient(180deg, #fdfbf8 0%, #d6d0c8 18%, #8a8278 42%, #4a443d 55%, #9b9389 78%, #ece7e0 100%); }

/* cabinet frame: chrome bezel around the hero */
.cabinet__frame {
  border: 4px solid transparent;
  background:
    linear-gradient(180deg, #2b221a 0%, #150f0b 100%) padding-box,
    linear-gradient(180deg, #fdfbf8 0%, #bdb6ac 30%, #5b544c 55%, #a39b91 80%, #ece7e0 100%) border-box;
  box-shadow: 0 0 0 2px #000, var(--shadow-cab);
}
.cabinet { background: radial-gradient(120% 70% at 50% 0%, #2c1d15 0%, transparent 70%), var(--cab); }

.cabinet__trail .trail { margin-top: 0; background: #1a0508; box-shadow: inset 0 0 0 1px #4a1119; }
@media (min-width: 1024px) {
  .cabinet__frame { grid-template-areas: "glass reels" "trail reels"; grid-template-rows: 1fr auto; }
  .cabinet__frame > .glass { grid-area: glass; }
  .cabinet__frame > .reelbox { grid-area: reels; }
  .cabinet__frame > .cabinet__trail { grid-area: trail; }
}

.glass__licence-short { display: none; }

/* reels: legend printed on each nudge cap, readout under the caps */
.reel__nudge { flex-direction: column; gap: 1px; min-height: 48px; padding: 4px 0; }
.reel__nudge .icon { width: 18px; height: 18px; }
.reel__legend { font-size: 0.6rem; line-height: 1; letter-spacing: 0.08em; }
.reel__now { margin-top: 2px; }
.reel__window { --rows: 2.3; --fade-a: 24%; --fade-b: 34%; height: calc(var(--cell) * var(--rows)); }
.reel__strip { top: calc(var(--cell) * ((var(--rows) - 1) / 2 - 1)); }
.reel__window::after {
  background: linear-gradient(180deg, rgb(7 5 4 / 0.92) 0%, rgb(7 5 4 / 0.35) var(--fade-a), transparent var(--fade-b), transparent calc(100% - var(--fade-b)), rgb(7 5 4 / 0.35) calc(100% - var(--fade-a)), rgb(7 5 4 / 0.92) 100%);
}

/* phones: reels and nudge caps inside the first screen */
@media (max-width: 599px) {
  .cabinet { padding-block: 12px 28px; }
  .cabinet__frame { gap: 10px; padding: 6px; border-radius: 16px; }
  .glass { padding: 20px 16px 18px; }
  .glass-title { font-size: 1.62rem; }
  .glass__lead { margin-top: 12px; font-size: 1rem; }
  .glass__lead-more { display: none; }
  .glass__actions { margin-top: 16px; gap: 10px; }
  .glass__actions .cap--lg { min-height: 48px; font-size: 1.05rem; padding-inline: 1.2em; }
  .glass__licence { margin-top: 14px; font-size: 0.85rem; }
  .glass__licence-long { display: none; }
  .glass__licence-short { display: inline; }
  .reelbox { padding: 10px; gap: 8px; }
  .reelbox__hint { display: none; }
  .reelbox__title { font-size: 1.1rem; }
  .reel__window { --rows: 1.6; --fade-a: 12%; --fade-b: 19%; }
  .reel__label { font-size: 0.72rem; }
}

/* bank: a machine panel that frames each block of games below the hero */
.bank {
  padding: 8px;
  border: 4px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #261d16 0%, #140e0b 100%) padding-box,
    linear-gradient(180deg, #fdfbf8 0%, #bdb6ac 30%, #5b544c 55%, #a39b91 80%, #ece7e0 100%) border-box;
  box-shadow: 0 0 0 2px #000, var(--shadow-cab);
}
@media (min-width: 768px) { .bank { padding: 10px 12px 12px; } }
.bank__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px 12px;
}
.bank__title {
  flex: 1;
  min-width: 0;
  font-family: var(--f-cond);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.bank__lead { margin: -4px 6px 12px; color: var(--ink-2); }
.bank__window {
  padding: 12px;
  border-radius: 12px;
  background: var(--well);
  box-shadow: inset 0 3px 10px rgb(0 0 0 / 0.85), inset 0 0 0 1px #2a211a;
}
@media (min-width: 768px) { .bank__window { padding: 18px; } }
.lamp-row { display: inline-flex; gap: 6px; flex: none; }

/* game cards sit straight in the reel window: bezel, printed label, cap */
.game-card { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.game-card__body { padding: 10px 2px 0; }

/* category push buttons: translucent caps that light up, with a segment count */
.cat-cap {
  --face: #2e2410;
  --print: var(--lamp);
  --lit: var(--lamp-glass);
  --lit-print: #1b1204;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  justify-items: stretch;
  gap: 8px;
  padding: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
.cat-cap:hover { background: none; }
.cat-cap:active { transform: none; }
.cat-cap--live { --face: #34100f; --print: var(--red-hi); --lit: linear-gradient(180deg, #ff6b73 0%, #e8323f 55%, #b81a28 100%); --lit-print: #fff; }
.cat-cap--table { --face: #0e2a33; --print: var(--cyan-hi); --lit: linear-gradient(180deg, #8fe3f8 0%, #38c6ec 55%, #1a98bd 100%); --lit-print: #04212b; }
.cat-cap--slingo { --face: #0f2a19; --print: #8ff0b3; --lit: linear-gradient(180deg, #86eaaa 0%, #3ccf76 55%, #1f9a52 100%); --lit-print: #062414; }
.cat-cap--new { --face: #34100f; --print: var(--red-hi); --lit: linear-gradient(180deg, #ff6b73 0%, #e8323f 55%, #b81a28 100%); --lit-print: #fff; }
.cat-cap--all { --face: #2b2621; --print: var(--ink); --lit: linear-gradient(180deg, #fffaf0 0%, #e9e2d6 55%, #b9b0a3 100%); --lit-print: #1b1204; }
.cat-cap__face {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-height: 96px;
  padding: 12px 8px;
  border-radius: 10px;
  background: radial-gradient(120% 90% at 50% 0%, rgb(255 255 255 / 0.12) 0%, transparent 55%), var(--face);
  color: var(--print);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    inset 0 -4px 0 rgb(0 0 0 / 0.35),
    0 0 0 3px #000,
    0 0 0 5px #3a3027,
    0 6px 12px -4px rgb(0 0 0 / 0.8);
  transition: transform 90ms ease-out, background 160ms ease-out, filter 160ms ease-out;
}
.cat-cap__face .icon { width: 26px; height: 26px; }
.cat-cap:hover .cat-cap__face { filter: brightness(1.35); color: var(--print); }
.cat-cap:active .cat-cap__face { transform: translateY(2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.15), inset 0 -1px 0 rgb(0 0 0 / 0.35), 0 0 0 3px #000, 0 0 0 5px #3a3027; }
.cat-cap.is-current .cat-cap__face { background: var(--lit); color: var(--lit-print); filter: none; }
.cat-cap__label {
  color: inherit;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cat-cap__count {
  justify-self: center;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 3px;
  background: #0a0302;
  color: #ff6a4a;
  box-shadow: inset 0 0 0 1px #2c0b10;
  font-size: 0.7rem;
}
.cat-cap.is-current .cat-cap__count { background: #0a0302; color: #ff6a4a; }
.cat-caps { gap: 18px 14px; padding: 5px; }
@media (max-width: 699px) {
  .cat-cap__face { min-height: 82px; }
  .cat-cap__label { font-size: 0.98rem; }
  .cat-caps--scroll > li { width: 132px; }
  .cat-caps--scroll { padding: 8px var(--gutter) 10px; }
}

/* safer gambling tools as lamp rows on red glass */
.lamplist {
  list-style: none;
  display: grid;
  margin-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
@media (min-width: 900px) { .lamplist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.lamplist__item {
  display: grid;
  grid-template-columns: auto 150px 1fr;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 2px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.lamplist__item .lamp { align-self: center; }
.lamplist__name { font-family: var(--f-cond); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.lamplist__text { color: #efd6d8; font-size: 0.97rem; }
@media (max-width: 559px) {
  .lamplist__item { grid-template-columns: auto 1fr; }
  .lamplist__text { grid-column: 2; }
}

/* account: tab strip shows there's more to scroll */
@media (max-width: 999px) {
  .acct-nav { position: relative; }
  .acct-nav__list {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    padding-right: 40px;
  }
}


/* ==========================================================================
   Review round 2: chrome ridge bezels, reel panel fill, tab strip fades
   ========================================================================== */

/* ridge: black edge, dark chrome, bright highlight line, dark chrome, black edge */
.cabinet__frame, .bank, .bezel {
  border: 0;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px #000,
    0 0 0 3px #5e574f,
    0 0 0 4px #cfc8be,
    0 0 0 6px #6b645b,
    0 0 0 7px #000,
    var(--shadow-cab);
}
.cabinet__frame { background: linear-gradient(180deg, #2b221a 0%, #150f0b 100%); }
.bank { background: linear-gradient(180deg, #261d16 0%, #140e0b 100%); }
.bank__window { border-radius: 8px; }
.glass, .reelbox, .cabinet__trail .trail { border-radius: 8px; }
.redglass.bezel { border-radius: 12px; }
@media (max-width: 599px) { .cabinet__frame { border-radius: 10px; } .cabinet { padding-inline: 2px; } }

/* desktop hero: trail runs the full width under glass and reels; reels grow to match the glass */
@media (min-width: 1024px) {
  .cabinet__frame { grid-template-areas: "glass reels" "trail trail"; grid-template-rows: auto auto; }
  .reel__window { --rows: 2.75; --fade-a: 20%; --fade-b: 29%; }
  .reelbox { justify-content: space-between; }
  .cabinet__trail .trail { padding: 14px 24px 12px; }
  .cabinet__trail .trail__list { max-width: 980px; margin-inline: auto; }
}

/* tab strip: fade whichever side has hidden tabs */
@media (max-width: 999px) {
  .acct-nav__list { padding-left: 2px; -webkit-mask-image: none; mask-image: none; }
  .acct-nav__list.has-more-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
  .acct-nav__list.has-more-start { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
  .acct-nav__list.has-more-start.has-more-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
}
