:root {
  --black: #050506;
  --panel: #0f0f11;
  --panel-2: #1a1a1e;
  --panel-3: #26262b;
  --line: #29292f;
  --line-2: #3f3f47;
  --ink: #ffffff;
  --ink-2: #d8d8de;
  --ink-3: #a3a3ad;
  --yellow: #ffe000;
  --on-yellow: #050506;

  --font-display: "Anybody", "Arial Black", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --slant: -10deg;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-space: 96px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scroll-padding-top: 96px;
  scrollbar-color: var(--line-2) var(--black);
}
::selection { background: var(--yellow); color: var(--on-yellow); }

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--black);
  /* The fine screen mesh from the brand artwork. */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 5px 5px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 40;
  padding: 8px 14px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 700;
}
.skip:focus { top: 8px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

.display {
  font-family: var(--font-display);
  font-stretch: 150%;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.label {
  display: block;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.yellow { color: var(--yellow); }

/* ---------- Nav ---------- */

/* A floating glass bar: the page runs underneath it, so each page's first
   section reserves --nav-space at the top. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 0;
}
.bar {
  position: relative;
  top: 14px;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 16px;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  height: 68px;
  margin-inline: auto;
  padding: 0 12px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(16, 16, 19, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  transition: background-color 0.2s, border-color 0.2s;
}
.is-scrolled .bar { background: rgba(16, 16, 19, 0.9); }

.brand { display: block; justify-self: start; transition: transform 0.2s var(--ease); }
.brand img { width: 122px; height: auto; }

.nav { position: relative; isolation: isolate; display: flex; align-items: center; gap: 2px; }
.nav-glider {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: -1;
  height: 44px;
  margin-top: -22px;
  border-radius: 12px;
  background: rgba(255, 224, 0, 0.13);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.3, 1.35, 0.45, 1),
    width 0.42s cubic-bezier(0.3, 1.35, 0.45, 1),
    background-color 0.2s,
    box-shadow 0.24s,
    opacity 0.2s;
}
.nav-glider.is-on { opacity: 1; }
.nav-glider.is-active { background: var(--yellow); box-shadow: 0 6px 24px rgba(255, 224, 0, 0.42); }
.nav-glider.no-slide { transition: none; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-inline: 14px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s, background-color 0.16s;
}
.nav-link .icon { width: 16px; height: 16px; color: var(--ink-3); transition: color 0.16s, transform 0.2s var(--ease); }
.nav-link[aria-current="page"] { color: var(--yellow); }
.nav-link[aria-current="page"] .icon { color: var(--yellow); }
.nav-live { display: none; }

.bar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.bar-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding-inline: 12px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s, background-color 0.16s;
}
.bar-live .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.bar-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 17px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.bar-join-in { display: inline-flex; align-items: baseline; gap: 7px; line-height: 1; transform: translateY(-4.6px); }
/* The logo's lettering sits on a line 18% up from the image's bottom edge. */
.bar-join img { position: relative; top: 4.32px; flex: none; width: 48px; max-width: none; height: 24px; filter: brightness(0); }

.menu-toggle {
  position: relative;
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: background-color 0.16s;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.16s var(--ease), top 0.16s var(--ease), background-color 0.16s;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span { top: 20px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Buttons: rounded to match the nav ---------- */

.btn, .code-chip, .tabs button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s, transform 0.18s var(--ease), box-shadow 0.24s;
}
.btn::before, .code-chip::before, .tabs button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  transition: border-color 0.18s, background-color 0.18s;
}
.btn::after, .code-chip::after, .tabs button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s var(--ease);
}
.btn:active, .code-chip:active, .tabs button:active { transform: scale(0.97); }

.btn {
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-small { min-height: 44px; padding: 0 24px; font-size: 0.875rem; }
.btn-yellow { color: var(--on-yellow); }
.btn-yellow::before { background: var(--yellow); }
.btn-yellow::after { background: #fff; }
.btn-line { color: var(--ink); }
.btn-line::before { border: 1px solid var(--line-2); }
.btn-line::after { background: var(--yellow); }

.code-chip {
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.code-chip::before { border: 1px dashed var(--yellow); }
.code-chip::after { background: rgba(255, 224, 0, 0.14); }
.code-chip strong { color: var(--yellow); font-weight: 800; letter-spacing: 0.05em; }
.code-chip .icon { transition: transform 0.2s var(--ease); }
.code-label { display: inline-block; min-width: 3.5em; color: var(--ink-2); text-align: center; transition: color 0.16s; }
.code-chip.is-copied .code-label { color: var(--yellow); font-weight: 700; }
.code-chip.is-copied::before { border-style: solid; background: rgba(255, 224, 0, 0.12); }

/* ---------- Scene: out-of-focus Bs in the corners, as in the brand art ---------- */

.scene { position: relative; overflow: hidden; isolation: isolate; }
.scene-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 58%, transparent);
  mask-image: linear-gradient(#000 58%, transparent);
}
.scene-art img { position: absolute; }
.scene-art .orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-art .orbit ellipse { fill: none; stroke: var(--yellow); stroke-width: 1; opacity: 0.2; }

.art-a { left: -6%; top: -16%; width: clamp(240px, 34vw, 560px); transform: rotate(-12deg); }
.art-b { right: -5%; bottom: -18%; width: clamp(220px, 30vw, 500px); transform: rotate(10deg); }
.scene-short .art-a { top: -40%; width: clamp(200px, 26vw, 420px); }
.scene-short .art-b { bottom: -50%; width: clamp(200px, 24vw, 400px); }

/* ---------- Home hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-block: calc(var(--nav-space) + clamp(16px, 3vw, 40px)) clamp(20px, 3vw, 36px);
}
.hero-main {
  flex: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(24px, 2.8vw, 36px);
  padding-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
}

/* Stacked: Brute leads, with Stake as the partner tag underneath. */
.lockup {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  font-weight: 400;
}
.lockup-brute { width: clamp(270px, 50vw, 700px); height: auto; transition: transform 0.3s var(--ease); }
.lockup-tag { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.lockup-tag::before, .lockup-tag::after {
  content: "";
  width: clamp(36px, 9vw, 130px);
  height: 1px;
}
.lockup-tag::before { background: linear-gradient(90deg, transparent, var(--line-2)); }
.lockup-tag::after { background: linear-gradient(270deg, transparent, var(--line-2)); }
.lockup-x {
  color: var(--yellow);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 300;
  line-height: 1;
}
.lockup-stake { width: auto; height: clamp(44px, 6vw, 84px); transition: transform 0.3s var(--ease); }

.hero-line {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
}
.hero-line strong { color: var(--yellow); font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-main .actions { justify-content: center; }

/* Score bar: prize, clock and action in one strip */
.scorebar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.score { padding: 20px 28px; transition: background-color 0.18s; }
.score + .score { border-left: 1px solid var(--line); }
.score-value {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-stretch: 130%;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.score-actions { display: flex; align-items: center; gap: 14px; padding: 16px 28px; }
.score-actions .btn, .score-actions .code-chip { min-height: 48px; }

.clock { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.clock-part {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.clock-part b { display: inline-block; min-width: 1.35em; font-weight: inherit; text-align: right; }
.clock-part i { color: var(--ink-3); font-family: var(--font-body); font-size: 0.42em; font-style: normal; font-weight: 700; }
.clock-part abbr { text-decoration: none; }
.clock.is-done { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section:last-child { padding-bottom: clamp(16px, 3vw, 32px); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.section-title { font-size: clamp(1.75rem, 4.4vw, 3.5rem); }
.section-title-spaced { margin-bottom: clamp(20px, 3vw, 28px); }
.section-link {
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 2px no-repeat;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 3px;
  transition: background-size 0.24s var(--ease), color 0.16s;
}

/* ---------- Timing tower ---------- */

.tower { width: 100%; border-collapse: collapse; text-align: left; }
.tower th { padding: 0 16px 10px; border-bottom: 1px solid var(--line-2); }
.tower td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.t-pos { width: 76px; padding-left: 8px !important; }
.t-right { text-align: right; white-space: nowrap; }

.pos {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 46px;
  height: 36px;
  color: var(--on-yellow);
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s var(--ease);
}
.pos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 6px;
  background: var(--yellow);
  transform: skewX(var(--slant));
  transition: background-color 0.18s, border-color 0.18s;
}
.is-unpaid .pos { color: var(--ink-3); }
.is-unpaid .pos::before { background: none; border: 1px solid var(--line-2); }

.player-name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; transition: transform 0.24s var(--ease), color 0.16s; }
.is-unpaid .player-name { color: var(--ink-2); font-weight: 600; }
.player-gap { display: none; color: var(--ink-3); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

.track { display: block; height: 3px; margin-top: 7px; background: var(--line); }
.track i { display: block; height: 100%; background: var(--yellow); transition: filter 0.18s; }
.is-unpaid .track i { background: var(--ink-3); }

.t-wager { font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.is-unpaid .t-wager { color: var(--ink-2); font-weight: 600; }
.t-gap { color: var(--ink-3); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.t-prize {
  color: var(--yellow);
  font-size: 1.0625rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.is-unpaid .t-prize { color: var(--ink-3); font-weight: 500; }

.tower .money-line td { padding: 0; border-bottom: 0; }
.money-line span {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: 0.875rem;
  font-weight: 800;
}

.tower .draw-head td { padding: 14px 16px; border-radius: 10px; background: var(--panel-2); border-bottom: 1px solid var(--line-2); }
.draw-head td { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.draw-head strong { margin-right: 18px; color: var(--yellow); font-size: 0.9375rem; font-weight: 800; }
.draw-head span { display: inline-block; margin-right: 18px; }
.draw-head span:last-child { margin-right: 0; color: var(--ink-3); }

.board-message { padding: 40px 0; color: var(--ink-2); max-width: 60ch; }
.board-message strong { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 800; }

/* ---------- Inner page heads ---------- */

.page-head { padding-block: calc(var(--nav-space) + clamp(20px, 4vw, 48px)) 0; }
.page-head-solo { padding-bottom: clamp(32px, 5vw, 56px); }
.page-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-kicker span + span { color: var(--ink-3); }
.page-title { font-size: clamp(1.875rem, 7.4vw, 6.25rem); }
.page-title-long { font-size: clamp(1.75rem, 5.2vw, 4.5rem); }
.page-lede { max-width: 58ch; margin-top: 16px; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.125rem); }
.page-lede strong { color: var(--ink); font-weight: 800; }
.page-head .actions { margin-top: 24px; }
.page-head .scorebar { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Tabs ---------- */

.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-block: 28px 18px;
}
.tabs { display: flex; gap: 8px; }
.tabs button {
  min-height: 42px;
  padding: 0 20px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 700;
}
.tabs button::before { border: 1px solid var(--line-2); }
.tabs button::after { background: var(--panel-3); }
.tabs button[aria-selected="true"] { color: var(--on-yellow); font-weight: 800; }
.tabs button[aria-selected="true"]::before { border-color: var(--yellow); background: var(--yellow); }
.tabs button[aria-selected="true"]::after { display: none; }
.notice { color: var(--ink-3); font-size: 0.8125rem; }
.notice-below { margin-top: 14px; }

/* ---------- Front row: first place and two chasers ---------- */

.front-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.slab {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 26px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform 0.22s var(--ease), border-color 0.18s, background-color 0.18s;
}
.slab-rank { width: 100%; height: auto; transition: transform 0.2s ease-out, filter 0.24s; }
.slab-name { font-weight: 800; font-size: 1.125rem; line-height: 1.25; }
.slab-meta { color: var(--ink-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.slab-gap { color: var(--ink-3); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.slab-prize { text-align: right; }
.slab-amount {
  display: block;
  margin-top: 4px;
  transition: color 0.18s, text-shadow 0.24s;
  font-family: var(--font-display);
  font-stretch: 130%;
  font-weight: 900;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  line-height: 1;
  color: var(--ink);
}

.slab-1 {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr) auto;
  gap: 28px;
  padding: 26px 40px 26px 30px;
  border-color: var(--yellow);
}
.slab-1 .slab-name {
  font-family: var(--font-display);
  font-stretch: 130%;
  font-weight: 900;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 1.05;
}
.slab-1 .slab-meta { margin-top: 6px; font-size: 1.0625rem; }
.slab-1 .slab-gap { font-size: 0.875rem; color: var(--ink-2); }
.slab-1 .slab-amount { font-size: clamp(2.25rem, 5.4vw, 4.5rem); color: var(--yellow); }
.slab-glow { position: absolute; z-index: -1; right: 16%; top: -40%; width: min(44%, 460px); opacity: 0.2; transform: rotate(8deg); transition: opacity 0.28s; }

/* ---------- Rules and questions ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.split .section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 20px; }
.rule { padding-block: 16px; border-top: 1px solid var(--line); }
.rule h3 { font-size: 1rem; font-weight: 700; }
.rule p { margin-top: 2px; color: var(--ink-2); font-size: 0.875rem; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.16s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 16px; color: var(--ink-2); font-size: 0.875rem; }

/* ---------- Raffle steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  counter-reset: raffle;
}
.step { padding: 26px 24px 28px; counter-increment: raffle; transition: background-color 0.18s; }
.step + .step { border-left: 1px solid var(--line); }
.step::before {
  content: counter(raffle);
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-stretch: 130%;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.22s var(--ease);
  transform-origin: left;
}
.step h3 { font-size: 1.0625rem; font-weight: 700; }
.step p { margin-top: 4px; color: var(--ink-2); font-size: 0.875rem; }

/* ---------- Rewards page ---------- */

.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.reward {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  isolation: isolate;
  transition: color 0.2s, border-color 0.2s, transform 0.22s var(--ease), box-shadow 0.26s;
  animation: rise 0.6s calc(0.12s + var(--i, 0) * 0.07s) var(--ease) backwards;
}
/* Same slanted yellow wipe as the social tiles. */
.reward::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--yellow);
  clip-path: polygon(0 0, 0 0, -28% 100%, 0 100%);
  transition: clip-path 0.42s var(--ease);
}
.reward > * { position: relative; z-index: 2; }

/* The stage: a lit panel the big figure sits on, like the leaderboard's top three. */
.reward-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 172px;
  padding: 28px 20px;
  container-type: inline-size;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.3s;
  background:
    radial-gradient(130% 90% at 0% 115%, rgba(255, 224, 0, 0.2), transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 22px 22px,
    #0a0a0c;
}
/* An out-of-focus B in the corner of every stage. */
.reward-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -46px;
  top: -40px;
  width: 170px;
  height: 170px;
  background: url("/assets/img/b3d-blur-c.webp") center / contain no-repeat;
  opacity: 0.2;
  transform: rotate(calc(18deg - var(--i, 0) * 12deg));
  transition: opacity 0.3s, transform 0.5s var(--ease);
}
.reward-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(5, 5, 6, 0.6);
  border: 1px solid var(--line-2);
  color: var(--yellow);
  transition: transform 0.24s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.reward-icon .icon { width: 18px; height: 18px; }
.reward-amount {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-stretch: 135%;
  font-weight: 900;
  font-size: clamp(3.75rem, 5.6vw, 5.25rem);
  font-size: clamp(3.5rem, 36cqi, 6rem); /* sized to the stage where supported */
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--yellow);
  text-shadow: 0 8px 30px rgba(255, 224, 0, 0.18);
  transition: transform 0.26s var(--ease), text-shadow 0.26s;
  transform-origin: center;
}
.reward-x { margin-left: 0.04em; }
/* Currency sign: on the same baseline as the digits, a touch smaller and narrower so it doesn't dominate. */
.reward-cur { margin-right: 0.02em; font-size: 0.78em; font-stretch: 110%; }
/* Small caption under the figure, so the stage reads as a badge. */
.reward-unit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.reward-unit::before, .reward-unit::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line-2);
}

.reward-body { padding: 18px 12px 0; }
.reward-tag {
  color: var(--yellow);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.reward-title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.reward-summary { margin: 8px 0 18px; color: var(--ink-2); font-size: 0.875rem; line-height: 1.6; transition: color 0.2s; }

/* The worked example, set like a receipt. */
.reward-receipt {
  display: grid;
  gap: 6px;
  margin: auto 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--panel-2);
  font-size: 0.8125rem;
  transition: background-color 0.2s;
}
.reward-receipt div { display: flex; justify-content: space-between; gap: 12px; }
.reward-receipt dt { color: var(--ink-3); font-weight: 600; transition: color 0.2s; }
.reward-receipt dd { margin: 0; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; transition: color 0.2s; }
.reward-receipt .is-total { margin-top: 2px; padding-top: 8px; border-top: 1px dashed var(--line-2); transition: border-color 0.2s; }
.reward-receipt .is-total dt { color: var(--ink); font-weight: 800; }
.reward-receipt .is-total dd { color: var(--yellow); font-weight: 800; font-size: 0.9375rem; }

.step a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; transition: color 0.16s; }

.claim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.claim p { max-width: 86ch; color: var(--ink-2); font-size: 0.9375rem; }
.claim strong { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 700; }

/* ---------- Socials page ---------- */

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.social-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.22s var(--ease), box-shadow 0.26s;
}
.social-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--yellow);
  clip-path: polygon(0 0, 0 0, -28% 100%, 0 100%);
  transition: clip-path 0.42s var(--ease);
}
.social-tile .icon { width: 34px; height: 34px; transition: transform 0.26s var(--ease); }
.social-name { margin-top: auto; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.social-handle { margin-top: 8px; color: var(--ink-2); font-size: 0.875rem; transition: color 0.2s; }
.social-do { margin-top: 18px; color: var(--yellow); font-size: 0.9375rem; font-weight: 700; transition: color 0.2s, transform 0.22s var(--ease); }

/* ---------- Plain text page ---------- */

.prose { max-width: 68ch; }
.prose > p:first-child { margin-top: 0; }
.prose h2 { margin-top: 32px; font-size: 1.25rem; font-weight: 700; }
.prose p, .prose ul { margin-top: 10px; color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; transition: color 0.16s; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(32px, 5vw, 64px);
  padding-block: 40px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.footer-note { display: grid; gap: 10px; max-width: 58ch; justify-items: start; }
.age { color: var(--ink); font-weight: 600; }
.age-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 0 7px;
  border: 1.5px solid var(--ink);
  font-size: 0.8125rem;
  font-weight: 800;
}
.site-footer nav { display: grid; gap: 7px; align-content: start; justify-items: start; }
.site-footer nav a { font-weight: 600; text-decoration: none; }
.copyright { margin-top: 26px; color: var(--ink-3); font-size: 0.8125rem; }

/* ---------- Hover system: light streaks, a cursor spotlight, slanted sweeps ---------- */

.nav-link, .bar-live, .score, .step, .claim { position: relative; }
.bar-join { position: relative; isolation: isolate; overflow: hidden; }
.bar-join img { transition: transform 0.24s var(--ease); }
.brand img { transition: transform 0.24s var(--ease), filter 0.24s; }
.score, .step, .claim { overflow: hidden; }

/* Diagonal streak of light, used on yellow buttons and the footer wordmark. */
.btn-yellow::after, .bar-join::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.9) 50%, transparent 64%) 130% 0 / 260% 100% no-repeat;
  transform: none;
  transition: none;
}

/* Spotlight that follows the cursor inside a card. */
.slab::after, .claim::after, .step::after, .score:not(.score-actions)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 224, 0, 0.13), transparent 68%);
  transition: opacity 0.28s;
}
/* The card border lights up nearest the cursor. */
.slab::before, .claim::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  padding: 1px;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--yellow), transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity 0.28s;
}

/* Leaderboard rows */
.tower { isolation: isolate; }
.tower tbody tr { position: relative; }
.tower tbody tr:not(.money-line):not(.draw-head) td:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 224, 0, 0.2), rgba(255, 224, 0, 0.06) 42%, rgba(255, 224, 0, 0) 78%);
  clip-path: polygon(0 0, 0 0, -6% 100%, 0 100%);
  transition: clip-path 0.42s var(--ease);
}
.tower tbody tr:not(.money-line):not(.draw-head) td:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--yellow);
  transform: scaleY(0);
  transition: transform 0.26s var(--ease);
}
.prize-val { display: inline-block; transform-origin: right center; transition: transform 0.24s var(--ease), text-shadow 0.24s; }
.track { transform-origin: left center; transition: transform 0.22s var(--ease); }
.track i { position: relative; overflow: hidden; transform-origin: left center; }
.track i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  transform: translateX(-100%);
}
.t-wager { transition: color 0.18s; }

/* Footer wordmark: the streak is masked to the letters. */
.footer-word { position: relative; margin-bottom: clamp(28px, 4vw, 44px); }
.footer-word img { width: 100%; height: auto; }
.footer-word::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.85) 50%, transparent 58%) 130% 0 / 260% 100% no-repeat;
  -webkit-mask: url("brand/wordmark.webp") center / 100% 100% no-repeat;
  mask: url("brand/wordmark.webp") center / 100% 100% no-repeat;
}

.site-footer nav a {
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 0 2px no-repeat;
  padding-bottom: 1px;
  transition: color 0.16s, background-size 0.24s var(--ease);
}
.rule, .faq details { position: relative; }
.rule::before, .faq details::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s var(--ease);
}
.rule h3 { transition: color 0.16s; }
.faq summary { transition: color 0.16s, padding-left 0.22s var(--ease); }

@keyframes streak { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@keyframes pop {
  0% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.32) rotate(-9deg); }
  100% { transform: scale(1.12) rotate(0); }
}
@keyframes race { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes live-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(83, 252, 24, 0)); }
  50% { filter: drop-shadow(0 0 7px rgba(83, 252, 24, 0.95)); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-14deg) scale(1.15); }
  65% { transform: rotate(10deg) scale(1.15); }
}

@media (hover: hover) and (pointer: fine) {
  /* Depth: the scene drifts against the cursor, nearer pieces move further. */
  .art-a { translate: calc(var(--px, 0) * -30px) calc(var(--py, 0) * -22px); transition: translate 0.7s var(--ease); }
  .art-b { translate: calc(var(--px, 0) * -44px) calc(var(--py, 0) * -30px); transition: translate 0.7s var(--ease); }
  .scene-art .orbit { translate: calc(var(--px, 0) * 12px) calc(var(--py, 0) * 8px); transition: translate 0.9s var(--ease); }
  .lockup-brute { translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 6px); transition: translate 0.7s var(--ease), filter 0.3s; }
  .lockup-tag { translate: calc(var(--px, 0) * 5px) calc(var(--py, 0) * 3px); transition: translate 0.7s var(--ease); }
  .lockup-brute:hover { filter: drop-shadow(0 10px 34px rgba(255, 224, 0, 0.3)); }

  /* Nav */
  .brand:hover img { transform: rotate(-3deg) scale(1.06); filter: drop-shadow(0 4px 14px rgba(255, 224, 0, 0.45)); }
  .nav-link.is-target, .nav-link.is-target .icon { color: var(--on-yellow); }
  .nav-link.is-target .icon { animation: pop 0.42s var(--ease) forwards; }
  .bar-live:hover { background: rgba(83, 252, 24, 0.12); color: #53fc18; }
  .bar-live:hover .icon { animation: live-pulse 1.1s ease-in-out infinite; }
  .bar-join:hover { box-shadow: 0 8px 28px rgba(255, 224, 0, 0.42); transform: translateY(-1px); }
  .bar-join:hover::after { animation: streak 0.75s var(--ease); }
  .bar-join:hover img { transform: rotate(-4deg) scale(1.08); }
  .menu-toggle:hover { background: rgba(255, 255, 255, 0.14); }

  /* Buttons */
  .btn:hover, .code-chip:hover { transform: translateY(-2px); }
  .btn-yellow:hover { box-shadow: 0 12px 32px rgba(255, 224, 0, 0.42); }
  .btn-yellow:hover::after { animation: streak 0.75s var(--ease); }
  .btn-line:hover { color: var(--on-yellow); }
  .btn-line:hover { box-shadow: 0 12px 32px rgba(255, 224, 0, 0.3); }
  .btn-line:hover::before { border-color: var(--yellow); }
  .btn-line:hover::after, .code-chip:hover::after, .tabs button:hover::after { transform: scaleX(1); }
  .code-chip:hover::before { border-style: solid; }
  .code-chip:hover strong { text-shadow: 0 0 16px rgba(255, 224, 0, 0.75); }
  .code-chip:hover .icon { animation: wiggle 0.5s var(--ease); }
  .tabs button:hover { color: var(--ink); }
  .tabs button[aria-selected="true"]:hover { color: var(--on-yellow); }

  /* Links */
  .section-link:hover { background-size: 0 2px; color: var(--yellow); }
  .prose a:hover { color: var(--yellow); }
  .site-footer nav a:hover { color: var(--yellow); background-size: 100% 2px; }
  .footer-word:hover::after { animation: streak 1.1s var(--ease); }

  /* Cards: spotlight and glowing edge */
  .slab:hover::after, .claim:hover::after, .step:hover::after, .score:not(.score-actions):hover::after { opacity: 1; }
  .slab:hover::before, .claim:hover::before { opacity: 1; }

  /* Top three: the card tilts and the 3D number moves against it */
  .slab {  transition: transform 0.18s ease-out, border-color 0.18s; }
  .slab:hover { transform: perspective(1100px) rotateX(calc(var(--ty, 0) * -2.4deg)) rotateY(calc(var(--tx, 0) * 2.8deg)) translateY(-3px); }
  .slab-1:hover { transform: perspective(1600px) rotateX(calc(var(--ty, 0) * -1.4deg)) rotateY(calc(var(--tx, 0) * 1deg)) translateY(-3px); }
  .slab:hover .slab-rank {
    transform: translate(calc(var(--tx, 0) * 10px), calc(var(--ty, 0) * 8px)) rotate(-3deg) scale(1.08);
    filter: drop-shadow(0 12px 22px rgba(255, 224, 0, 0.28));
  }
  .slab:hover .slab-amount { color: var(--yellow); text-shadow: 0 0 24px rgba(255, 224, 0, 0.45); }
  .slab-1:hover .slab-glow { opacity: 0.42; }
  .slab:hover .track i { animation: race 0.7s var(--ease); }
  .slab:hover .track i::after { animation: shine 0.9s 0.2s var(--ease); }

  /* Rewards */
  .reward:hover { color: var(--on-yellow); border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(255, 224, 0, 0.2); }
  .reward:hover::before { clip-path: polygon(0 0, 128% 0, 100% 100%, 0 100%); }
  .reward:hover .reward-stage { border-color: rgba(5, 5, 6, 0.6); box-shadow: 0 12px 26px rgba(5, 5, 6, 0.28); }
  .reward:hover .reward-amount { transform: scale(1.06); text-shadow: 0 0 34px rgba(255, 224, 0, 0.5); }
  .reward:hover .reward-icon { animation: pop 0.46s var(--ease) forwards; background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
  .reward:hover .reward-tag { color: var(--on-yellow); }
  .reward:hover .reward-summary { color: rgba(5, 5, 6, 0.78); }
  .reward:hover .reward-receipt { background: rgba(5, 5, 6, 0.09); }
  .reward:hover .reward-receipt dt { color: rgba(5, 5, 6, 0.66); }
  .reward:hover .reward-receipt dd, .reward:hover .reward-receipt .is-total dt, .reward:hover .reward-receipt .is-total dd { color: var(--on-yellow); }
  .reward:hover .reward-receipt .is-total { border-top-color: rgba(5, 5, 6, 0.3); }
  .reward:hover .reward-stage::before { opacity: 0.5; transform: rotate(calc(6deg - var(--i, 0) * 12deg)) scale(1.1); }
  .step a:hover { color: var(--yellow); }
  .step:hover::before { transform: scale(1.2) rotate(-4deg); }

  /* Leaderboard rows: a slanted sweep crosses the row and the bar re-races */
  .tower tbody tr:not(.money-line):not(.draw-head):hover td:first-child::before { clip-path: polygon(0 0, 106% 0, 100% 100%, 0 100%); }
  .tower tbody tr:not(.money-line):not(.draw-head):hover td:first-child::after { transform: scaleY(1); }
  .tower tbody tr:hover .pos { transform: translateX(3px) scale(1.08); }
  .tower tbody tr:hover .pos::before { background: #fff; }
  .tower tbody tr.is-unpaid:hover .pos { color: var(--yellow); }
  .tower tbody tr.is-unpaid:hover .pos::before { background: none; border-color: var(--yellow); }
  .tower tbody tr:hover .player-name { color: var(--yellow); transform: translateX(6px); }
  .tower tbody tr:hover .t-wager { color: var(--ink); }
  .tower tbody tr:hover .track { transform: scaleY(1.7); }
  .tower tbody tr:hover .track i { animation: race 0.6s var(--ease); }
  .tower tbody tr:hover .track i::after { animation: shine 0.8s 0.15s var(--ease); }
  .tower tbody tr.is-paid:hover .prize-val { transform: scale(1.14); text-shadow: 0 0 18px rgba(255, 224, 0, 0.6); }

  /* Rules and questions: a yellow rule draws across the top */
  .rule:hover::before, .faq details:hover::before { transform: scaleX(1); }
  .rule:hover h3 { color: var(--yellow); }
  .faq summary:hover { color: var(--yellow); padding-left: 6px; }
  .faq summary:hover::after { transform: rotate(90deg) scale(1.2); }
  .faq details[open] summary:hover::after { transform: rotate(135deg) scale(1.2); }

  /* Social tiles: a slanted yellow wipe */
  .social-tile:hover { color: var(--on-yellow); border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(255, 224, 0, 0.2); }
  .social-tile:hover::before { clip-path: polygon(0 0, 128% 0, 100% 100%, 0 100%); }
  .social-tile:hover .icon { animation: pop 0.46s var(--ease) forwards; }
  .social-tile:hover .social-handle, .social-tile:hover .social-do { color: var(--on-yellow); }
  .social-tile:hover .social-do { transform: translateX(6px); }
}

/* ---------- Entrance and loading ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -40% 0; } }

.lockup-brute { animation: rise 0.7s var(--ease) both; }
.lockup-tag { animation: rise 0.7s 0.1s var(--ease) both; }
.hero-line { animation: rise 0.7s 0.18s var(--ease) both; }
.hero-main .actions { animation: rise 0.7s 0.26s var(--ease) both; }
.hero .scorebar { animation: rise 0.7s 0.34s var(--ease) both; }
.page-head > * { animation: rise 0.6s var(--ease) both; }
.page-head > :nth-child(2) { animation-delay: 0.06s; }
.page-head > :nth-child(3) { animation-delay: 0.12s; }
.page-head > :nth-child(4) { animation-delay: 0.18s; }

body:not(.is-loaded) #top-five,
body:not(.is-loaded) #raffle-board,
body:not(.is-loaded) #board {
  min-height: 320px;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) 120% 0 / 240% 100% no-repeat;
  animation: shimmer 1.3s linear infinite;
}
body:not(.is-loaded) #front-row { min-height: 260px; }

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
  .scorebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score-actions { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
  .score-actions > * { flex: 1; }
  .front-row .slab:not(.slab-1) { grid-template-columns: minmax(0, 96px) minmax(0, 1fr) auto; padding-right: 18px; }
  .reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
  :root { --nav-space: 88px; }
  .bar { top: 10px; display: flex; justify-content: space-between; height: 62px; padding: 0 9px 0 16px; border-radius: 16px; background: rgba(16, 16, 19, 0.9); }
  .brand img { width: 106px; }
  .nav-glider { display: none; }
  .nav-link[aria-current="page"] { background: rgba(255, 224, 0, 0.13); font-weight: 700; }
  .bar-live { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: #101013;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.16s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-link { height: 50px; gap: 12px; font-size: 1rem; }
  .nav-link .icon { width: 18px; height: 18px; }
  .nav-live { display: flex; }
}

@media (max-width: 860px) {
  .t-gap { display: none; }
  .player-gap { display: block; margin-top: 3px; }
  .front-row { grid-template-columns: minmax(0, 1fr); }
  .slab-1 { grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto; padding: 22px 26px 22px 20px; gap: 22px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  /* Keep the out-of-focus Bs in the corners, clear of titles and logos. */
  .art-a { left: -14%; top: -7%; width: clamp(170px, 30vw, 260px); opacity: 0.7; }
  .art-b { right: -12%; bottom: -5%; width: clamp(160px, 28vw, 240px); opacity: 0.7; }
  .scene-short .art-a { left: -16%; top: -34%; width: clamp(130px, 22vw, 190px); opacity: 0.5; }
  .scene-short .art-b { right: -12%; bottom: -36%; width: clamp(130px, 22vw, 190px); opacity: 0.5; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .social-grid { grid-template-columns: minmax(0, 1fr); }
  .social-tile { min-height: 0; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; padding: 20px; }
  .social-tile .icon { grid-row: 1 / span 2; width: 30px; height: 30px; }
  .social-name { margin: 0; font-size: 1.375rem; }
  .social-handle { grid-column: 2; margin: 0; font-size: 0.8125rem; }
  .social-do { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .slab-1 { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); padding: 20px; gap: 18px; }
  .slab-1 .slab-prize { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .hero { min-height: 0; }
  .scorebar { grid-template-columns: minmax(0, 1fr); }
  .score { padding: 16px 18px; }
  .score + .score { border-left: 0; border-top: 1px solid var(--line); }
  .score-actions { flex-direction: column; align-items: stretch; padding: 16px 18px; }
  .actions > * { flex: 1 1 100%; }
  .tower th, .tower td { padding-inline: 8px; }
  .draw-head strong, .draw-head span { display: block; margin-right: 0; }
  .t-pos { width: 58px; }
  .pos { width: 40px; height: 32px; font-size: 0.9375rem; }
  .player-name { font-size: 0.9375rem; }
  .t-wager { font-size: 0.8125rem; }
  .t-prize { font-size: 0.875rem; }
  .slab { grid-template-columns: minmax(0, 72px) minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px 14px 12px; }
  .front-row .slab:not(.slab-1) { grid-template-columns: minmax(0, 60px) minmax(0, 1fr) auto; gap: 10px; }
  .slab:not(.slab-1) .slab-meta { font-size: 0.8125rem; white-space: nowrap; }
  .slab:not(.slab-1) .slab-gap { font-size: 0.75rem; white-space: nowrap; }
  .slab:not(.slab-1) .slab-amount { font-size: 1.25rem; }
  .slab-1 { grid-template-columns: minmax(0, 112px) minmax(0, 1fr); }
  .page-title { font-size: clamp(1.625rem, 7vw, 2.5rem); }
  .page-title-long { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .reward-grid { grid-template-columns: minmax(0, 1fr); }
  .reward-stage { min-height: 150px; }
  .reward-amount { font-size: clamp(3.5rem, 28cqi, 4.75rem); }
  .reward-body { padding-inline: 10px; }
  .claim { padding: 20px; }
  .claim .btn { width: 100%; }
  .tabs button { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Lets the code be highlighted when the clipboard is blocked. */
.code-chip strong { -webkit-user-select: all; user-select: all; }
