/* The homepage (bin/site.js homePage), and only the homepage: the race page, racer pages and the
   game pages keep style.css.

   Layout: a bright toy-catalogue page. A sky hero with a perpetual marble run, then a
   featured app, a bento shelf of games, today's champion, and the cast. One look,
   deliberately light in both themes, like the apps themselves. */
:root {
  --coral: #FF6B6B;       /* house colour, brand/CHANNEL.md */
  --coral-deep: #E2475A;
  --ink: #1D1838;         /* deep violet-navy for type and solid shadows */
  --paper: #F3F4FA;       /* cool page ground */
  --card: #FFFFFF;
  --muted: #5F5C7A;
  --line: #E1E2EE;
  --sun: #FFCF3A;         /* stars, badges */
  --display: 'Baloo 2', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1220px;
  --r-lg: 34px;
  --r-md: 22px;
  --pop: 0 6px 0 var(--ink);
  --pop-sm: 0 4px 0 var(--ink);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* six-team ring stripe: the brand device, taken from the avatar's ring */
.teams-bar { display: flex; gap: 4px; height: 6px; width: 132px; }
.teams-bar i { flex: 1; border-radius: 3px; }

/* ---------------------------------------------------------------- topbar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .25s, box-shadow .25s; }
.top.is-solid { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand b { font: 800 22px/1 var(--display); letter-spacing: .01em; color: var(--ink); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { font-weight: 800; font-size: 15px; text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--ink); transition: background .15s; }
.nav a:hover { background: rgba(255,255,255,.6); }
.yt { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 900; font-size: 14px; padding: 8px 15px; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); box-shadow: var(--pop-sm); transition: transform .12s, box-shadow .12s; }
.yt:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.yt svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ hero */
/* A perpetual marble run fills the hero; the copy sits on top of it. */
.hero { position: relative; overflow: hidden; isolation: isolate; margin-top: -72px; padding-top: 72px; min-height: clamp(640px, 100vh, 780px);
  background: linear-gradient(180deg, #9FD6FF 0%, #C4E6FF 60%, #D3EDFF 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.hero canvas.is-grab { cursor: grabbing; }
.hero__in { position: relative; z-index: 3; pointer-events: none; }
.hero__copy { padding-block: 28px 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 420px; }
@media (min-width: 1100px) { .hero__in { min-height: clamp(568px, calc(100vh - 72px), 708px); display: grid; align-items: center; } .hero__copy { padding-block: 24px; } }
.hero__copy a { pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { background: rgba(255,255,255,.6); padding: 6px 14px 6px 6px; border-radius: 999px; width: max-content; }
.hero .eyebrow img { width: 24px; height: 24px; border-radius: 50%; }
.hero h1 { font-size: clamp(44px, 4.9vw, 70px); letter-spacing: -0.015em; }
.hero h1 em { font-style: normal; color: #fff; text-shadow: 3px 3px 0 var(--ink), -3px 3px 0 var(--ink), 3px -3px 0 var(--ink), -3px -3px 0 var(--ink), 0 7px 0 var(--ink); }
.hero__lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; max-width: 28em; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 800 18px/1 var(--display); padding: 16px 26px 14px; border-radius: 999px; text-decoration: none; border: 3px solid var(--ink); box-shadow: var(--pop); transition: transform .12s, box-shadow .12s; cursor: pointer; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
/* scoreboard hung on the top edge of the machine, tips under it */
.board-bar { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px; background: var(--ink); color: #fff; border-radius: 14px; box-shadow: 0 4px 0 rgba(29,24,56,.25); font-weight: 800; font-size: 14px; white-space: nowrap; }
.board-bar__live { display: inline-flex; align-items: center; gap: 7px; font-weight: 900; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.board-bar__live i { width: 8px; height: 8px; border-radius: 50%; background: #FF4A5A; animation: blinkdot 1.2s steps(2) infinite; }
.board-bar b { font-weight: 900; font-variant-numeric: tabular-nums; }
.board-bar__follow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.78); font-weight: 700; padding-left: 12px; border-left: 2px solid rgba(255,255,255,.15); }
.board-bar__follow b { color: var(--sun); }
.board-tips { position: absolute; z-index: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13px; font-weight: 800; color: var(--muted); pointer-events: none; }
.board-tips span + span::before { content: "\00b7"; margin-right: 16px; color: rgba(29,24,56,.35); }
/* the hero ends in a row of marble tops */
.hero::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; height: 18px; pointer-events: none;
  background: radial-gradient(circle at 18px 18px, var(--paper) 16.5px, transparent 17.5px) 0 0 / 36px 18px repeat-x; }
.snd { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 6px; font: 800 13px/1 var(--body); color: var(--ink); background: #fff; border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.snd svg { width: 16px; height: 16px; }
.snd[aria-pressed="true"] { background: var(--sun); }
@keyframes blinkdot { 50% { opacity: .25; } }
.run-tag { position: absolute; z-index: 4; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; padding: 5px 12px 4px; white-space: nowrap; font-weight: 800; font-size: 14px; line-height: 1.2; box-shadow: var(--pop-sm); }
.run-tag small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; }

/* -------------------------------------------------------------- sections */
section { scroll-margin-top: 72px; }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head h2 { font-size: clamp(38px, 5vw, 64px); }
.sec__head p { color: var(--muted); font-size: 19px; max-width: 36em; font-weight: 600; }
.kicker { font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pop-in { animation: popin linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes popin { from { transform: translateY(40px) scale(.97); } to { transform: none; } }
  }
}

/* ---------------------------------------------------------- featured app */
.feat { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate;
  background: #6A35DB; border: 3px solid var(--ink); box-shadow: 0 10px 0 var(--ink);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 5vw, 64px); }
.feat::before { /* sunburst from the Marble Sort icon */
  content: ""; position: absolute; z-index: -1; width: 1600px; height: 1600px; left: 26%; top: 50%; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.075) 0 7.5deg, transparent 7.5deg 15deg);
  animation: spin 90s linear infinite; }
.feat::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 70% at 26% 50%, rgba(170,110,255,.55), transparent 70%); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.phone-stage { position: relative; display: grid; place-items: center; padding-block: 12px; }
.phone { position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 16; border-radius: 40px; background: var(--ink); padding: 11px; box-shadow: 0 12px 0 rgba(29,24,56,.55); transform: rotate(-4deg); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #cfe9ff; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .7s; }
.phone__screen img.is-on { opacity: 1; transform: none; }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; border-radius: 12px; background: var(--ink); transform: translateX(-50%); z-index: 2; }
.feat__floater { position: absolute; width: 92px; height: 92px; pointer-events: none; }
.feat__copy { display: grid; gap: 22px; }
.app-id { display: flex; align-items: center; gap: 18px; }
.app-id img { width: 88px; height: 88px; border-radius: 22px; border: 3px solid var(--ink); box-shadow: var(--pop-sm); }
.app-id h3 { font-size: clamp(36px, 4.4vw, 54px); }
.app-id span { display: block; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.feat__lede { font-size: 20px; font-weight: 600; max-width: 30em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.12); border-radius: 18px; padding: 14px 16px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.ticks b { display: block; font: 800 19px/1.15 var(--display); }
.ticks i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font: 900 15px/1 var(--body); font-style: normal; border: 2px solid var(--ink); }
.shots-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.shots-nav button { font: 800 14px/1 var(--body); color: #fff; background: rgba(255,255,255,.14); border: 2px solid transparent; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.shots-nav button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: var(--ink); }

/* Google Play button: the one control every game card shares */
.gp { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--ink); color: #fff; border-radius: 16px; padding: 10px 18px 10px 14px; border: 3px solid var(--ink); box-shadow: 0 5px 0 rgba(29,24,56,.45); transition: transform .12s; width: max-content; }
.gp:hover { transform: translateY(-2px); }
.gp svg { width: 28px; height: 28px; flex: none; }
.gp span { display: grid; line-height: 1.1; }
.gp small { font: 800 11px/1.1 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.gp strong { font: 800 19px/1.1 var(--display); }
.gp--soon { background: transparent; color: inherit; border-style: dashed; border-color: currentColor; box-shadow: none; cursor: default; }
.gp--soon:hover { transform: none; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255,207,58,.3); }

/* ----------------------------------------------------------------- shelf */
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.game { --c: #444; position: relative; grid-column: span 2; display: grid; grid-template-rows: auto 1fr; gap: 14px; min-height: 470px; padding: 26px 26px 0; border-radius: var(--r-lg); background: var(--c); color: #fff; border: 3px solid var(--ink); box-shadow: 0 8px 0 var(--ink); overflow: hidden; isolation: isolate; text-decoration: none; transform-style: preserve-3d; transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s; }
.game::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 60% at 100% 100%, rgba(255,255,255,.22), transparent 60%), radial-gradient(70% 50% at 0% 0%, rgba(0,0,0,.10), transparent 70%); }
.game--wide { grid-column: span 4; }
.game--half { grid-column: span 3; }
.game__top { display: flex; gap: 16px; align-items: flex-start; }
.game__icon { width: 74px; height: 74px; border-radius: 20px; border: 3px solid var(--ink); box-shadow: var(--pop-sm); flex: none; }
.game__genre { font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.game h3 { font-size: 34px; margin-top: 2px; }
.game__text { font-weight: 600; font-size: 16px; line-height: 1.5; max-width: 26em; margin-top: 10px; }
.game__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.game__meta span { background: rgba(29,24,56,.22); font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.game__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.game__shot { align-self: end; justify-self: end; width: 62%; max-width: 250px; aspect-ratio: 9 / 15; margin-right: -4px; border-radius: 30px 30px 0 0; background: var(--ink); padding: 9px 9px 0; transform: translateY(18px) rotate(3deg); transition: transform .35s cubic-bezier(.2,.8,.3,1.2); box-shadow: -6px 0 0 rgba(29,24,56,.25); }
.game__shot { overflow: hidden; }
.game__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px 22px 0 0; }
.game:hover .game__shot { transform: translateY(0) rotate(0deg); }
.game--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: 1fr; padding-bottom: 26px; }
.game--wide .game__shot { align-self: center; justify-self: stretch; width: 100%; max-width: none; aspect-ratio: 16 / 9; border-radius: 26px; padding: 9px; transform: rotate(-2deg); }
.game--wide .game__shot img { border-radius: 18px; object-position: center; }
.game--wide:hover .game__shot { transform: rotate(0deg) scale(1.02); }
.game--full { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); grid-template-rows: 1fr; min-height: 380px; }
.game--full .game__shot { width: 100%; }
.ribbon { position: absolute; top: 22px; right: -46px; transform: rotate(35deg); background: var(--sun); color: var(--ink); font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 56px; border-block: 3px solid var(--ink); }
.ribbon + div .game__top { padding-right: 84px; }   /* the corner ribbon must not cover the name */

/* ------------------------------------------------------------- champion */
.champ { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 48px); background: var(--card); border: 3px solid var(--ink); border-radius: var(--r-lg); box-shadow: 0 8px 0 var(--ink); padding: clamp(22px, 4vw, 44px); position: relative; overflow: hidden; }
.champ__face { position: relative; width: 190px; height: 190px; margin-top: 26px; }
.champ__face canvas { width: 100%; height: 100%; }
.champ__crown { position: absolute; left: 50%; top: -34px; width: 70px; transform: translateX(-50%) rotate(-8deg); }
.champ__copy { display: grid; gap: 12px; }
.champ__copy h2 { font-size: clamp(32px, 4vw, 50px); }
.champ__copy p { color: var(--muted); font-weight: 600; max-width: 38em; }
.champ__perks { display: flex; flex-wrap: wrap; gap: 8px; }
.champ__perks span { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 14px; background: var(--paper); border: 2px solid var(--line); padding: 6px 12px 6px 6px; border-radius: 999px; }
.champ__perks img { width: 26px; height: 26px; border-radius: 8px; }
.podium { display: grid; gap: 10px; min-width: 250px; }
.podium__row { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.podium__row canvas { width: 42px; height: 42px; }
.podium__row em { font-style: normal; font: 800 22px/1 var(--display); width: 22px; color: var(--muted); }
.podium__row small { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 13px; }
.podium__stats { display: flex; gap: 18px; padding-top: 10px; border-top: 2px dashed var(--line); font-size: 13px; color: var(--muted); font-weight: 700; }
.podium__stats b { display: block; color: var(--ink); font: 800 24px/1.05 var(--display); font-variant-numeric: tabular-nums; }
.champ__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.link-arrow { font-weight: 900; text-decoration: none; border-bottom: 3px solid var(--coral); padding-bottom: 2px; }
.btn--sm { font-size: 16px; padding: 12px 20px 10px; box-shadow: var(--pop-sm); }
.btn--coral { background: var(--coral); color: #fff; }

/* ------------------------------------------------------------------ cast */
.cast { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.bio { position: sticky; top: 96px; background: var(--card); border: 3px solid var(--ink); border-radius: var(--r-lg); box-shadow: 0 8px 0 var(--ink); overflow: hidden; }
.bio__stage { --c: #FF6B6B; position: relative; height: 250px; background: var(--c); display: grid; place-items: center; transition: background .35s; }
.bio__stage::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 60%, rgba(255,255,255,.12) 0 10deg, transparent 10deg 20deg); }
.bio__stage canvas { position: relative; width: 210px; height: 210px; }
.bio__body { padding: 22px 26px 26px; display: grid; gap: 12px; }
.bio__name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bio__name h3 { font-size: 40px; }
.bio__tagline { font-weight: 800; color: var(--muted); }
.team-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--paper); width: max-content; }
.team-chip i { width: 16px; height: 16px; border-radius: 50%; background: var(--tc); }
.bio__trait { font-weight: 600; font-size: 17px; line-height: 1.5; }
.bio__power { background: var(--paper); border-radius: 18px; padding: 14px 16px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.bio__power b { display: block; font: 800 18px/1.2 var(--display); margin-bottom: 2px; }
.bio__power small { display: block; font-weight: 900; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { --tc: var(--ink); display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1 var(--body); color: var(--ink); background: var(--card); border: 2px solid var(--line); padding: 8px 14px 8px 10px; border-radius: 999px; cursor: pointer; transition: border-color .15s, transform .12s; }
.filters button:hover { transform: translateY(-1px); }
.filters button i { width: 14px; height: 14px; border-radius: 50%; background: var(--tc); }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.roster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.racer { --c: #888; display: grid; justify-items: center; gap: 2px; padding: 14px 8px 12px; background: var(--card); border: 2px solid var(--line); border-radius: 22px; cursor: pointer; font: inherit; color: inherit; transition: transform .15s cubic-bezier(.2,.8,.3,1.4), border-color .15s, box-shadow .15s; }
.racer:hover { transform: translateY(-4px) rotate(-1.5deg); border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.racer[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); background: color-mix(in srgb, var(--c) 14%, #fff); }
.racer canvas { width: 76px; height: 76px; }
.racer b { font: 800 18px/1.1 var(--display); margin-top: 4px; }
.racer span { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.25; }
.racer[hidden] { display: none; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: #fff; margin-top: clamp(40px, 6vw, 80px); padding-block: 64px 40px; }
.foot__big { font: 800 clamp(56px, 11vw, 168px)/0.9 var(--display); letter-spacing: -0.02em; display: flex; align-items: center; gap: .1em; flex-wrap: wrap; }
.foot__big img { width: .82em; height: .82em; border-radius: 50%; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 2px solid rgba(255,255,255,.12); }
.foot h4 { font: 900 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; font-weight: 700; color: rgba(255,255,255,.9); }
.foot a:hover { color: var(--sun); }
.foot__about { color: rgba(255,255,255,.7); font-weight: 600; max-width: 26em; }
.foot__fine { margin-top: 40px; color: rgba(255,255,255,.45); font-size: 13px; font-weight: 700; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 1099px) {
  .hero__lede { display: none; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .top__in .yt { margin-left: auto; }
  .hero { min-height: 1040px; }
  .hero__copy { padding-block: 20px 8px; }
  .feat { grid-template-columns: 1fr; }
  .feat .phone-stage { order: 2; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game, .game--half { grid-column: span 1; }
  .game--wide, .game--full { grid-column: span 2; }
  .champ { grid-template-columns: auto minmax(0, 1fr); }
  .podium { grid-column: 1 / -1; }
  .cast { grid-template-columns: 1fr; }
  .bio { position: static; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .bio__stage { height: auto; min-height: 220px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .brand b { font-size: 19px; }
  .yt span { display: none; }
  .hero { min-height: 1000px; }
  .board-bar { gap: 8px; padding-left: 12px; font-size: 13px; }
  .board-bar__follow { padding-left: 8px; }
  .snd span { display: none; }
  .snd { padding: 7px 9px; }
  .board-tips { font-size: 12px; gap: 2px 10px; }
  .board-tips span + span::before { margin-right: 10px; }
  .btn { font-size: 16px; padding: 13px 18px 11px; }
  .cta-row { gap: 10px; }
  .ticks { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr; }
  .game, .game--wide, .game--half, .game--full { grid-column: span 1; }
  .game--wide, .game--full { grid-template-columns: 1fr; }
  .game { min-height: 0; }
  .game__shot { width: 64%; }
  .champ { grid-template-columns: 1fr; justify-items: start; }
  .champ__face { width: 150px; height: 150px; }
  .bio { grid-template-columns: 1fr; }
  .bio__stage { min-height: 200px; }
  .bio__stage canvas { width: 170px; height: 170px; }
  .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .racer { padding: 10px 4px 8px; }
  .racer b { font-size: 15px; }
  .racer canvas { width: 60px; height: 60px; }
  .racer span { display: none; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* sections that follow a card sit closer to it */
.sec--tight { padding-top: 0; }
.shelf { margin-top: clamp(28px, 4vw, 44px); }
.game__more { font-weight: 800; font-size: 15px; color: inherit; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; opacity: .92; }
.game__more:hover { opacity: 1; }
