/* generated from design-system/project/tokens.json */
@font-face { font-family: "Bungee"; src: url(/assets/bungee-latin-400-normal.126eec706b.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/assets/rubik-latin-400-normal.82ac0e7828.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/assets/rubik-latin-500-normal.54ad302324.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/assets/rubik-latin-700-normal.e423f8ae16.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/assets/rubik-latin-800-normal.8329d791ea.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
:root { --on-board: #141414; --on-board-muted: #5f584d; --line-board: #cfc6b3; --outline: #141414; --danfo: #f7c600; --on-danfo: #141414; --danfo-soft: #ffeea6; --wahala-ink: #b8301f; --lagoon-ink: #0b6b70; --on-lagoon-ink: #ffffff; --focus-ring: var(--ink); --asphalt: #141414; --harmattan: #f4eee2; --keke-stripe: #141414; --keke-glass: #d2edf3; --keke-tyre: #1b1b1b; --keke-rim: #d7d2c6; --keke-plate: #f4eee2; --keke-lamp: #fff8d6; --keke-smoke: #8a8a8a; --keke-hazard: #f0841f; --player-danfo: #f7c600; --player-jollof: #d3382a; --player-adire: #2b3fa6; --player-palm: #2e8b46; --player-dodo: #f0841f; --player-zobo: #7a2f8f; --player-lagoon: #1fa0a5; --player-ankara: #e8559a; --player-ugwu: #a4d233; --player-agege: #c9a46a; --player-harmattan: #f0e9dc; --player-smoke: #6e6e6e; --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-round: 999px; --stroke-outline: 3px; --stroke-control: 2.5px; --stroke-hairline: 1px; --size-touch: 48px; --size-hud-disc: 72px; --size-keke-hud: 44px; --size-keke-row: 72px; --size-keke-hero: 240px; --font-display: "Bungee", "Arial Black", Impact, sans-serif; --font-sans: "Rubik", "Helvetica Neue", Arial, sans-serif; }
:root, [data-theme="night"] { --surface: #141414; --ink: #f4eee2; --ink-muted: #a9a39a; --line: #3a3a3a; --board: #f4eee2; --board-sunken: #e8dfcd; --wahala: #ff6a57; --on-wahala: #141414; --lagoon: #3fc1c6; --on-lagoon: #141414; --shadow-board: 0 5px 0 #000000, 0 12px 22px rgba(0, 0, 0, 0.5); --shadow-press: 0 1px 0 #000000; --shadow-float: 0 16px 32px rgba(0, 0, 0, 0.55); }
[data-theme="day"] { --surface: #f4eee2; --ink: #141414; --ink-muted: #5f584d; --line: #d6ccb8; --board: #ffffff; --board-sunken: #ece4d4; --wahala: #b8301f; --on-wahala: #ffffff; --lagoon: #0b6b70; --on-lagoon: #ffffff; --shadow-board: 0 5px 0 #141414; --shadow-press: 0 1px 0 #141414; --shadow-float: 0 16px 32px rgba(20, 20, 20, 0.22); }

/* WAHALA by Stig Labs. Loaded after tokens.css; every var() falls back to the night theme. */

body { margin: 0; background: var(--surface, #141414); color: var(--ink, #f4eee2); font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.wh-stage { padding: var(--space-5, 24px); }
.wh-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4, 16px); }
.wh-row--end { align-items: flex-end; }
.wh-caption { font-size: 12px; font-weight: 500; color: var(--ink-muted, #a9a39a); text-align: center; margin: var(--space-1, 4px) 0 0; }

/* ---------- Keke ---------- */
.wk { display: inline-block; vertical-align: middle; }
.wk-wheel { transform-box: fill-box; transform-origin: center; }
.wk--go .wk-wheel { animation: wk-spin .5s linear infinite; }
.wk--go .wk-body { animation: wk-bob .36s ease-in-out infinite alternate; }
.wk--go .wk-puff { animation: wk-puff .9s ease-out infinite; }
.wk--ghost { opacity: .55; filter: grayscale(.35); }
.wk--ghost .wk-body { animation: wk-float 2.4s ease-in-out infinite; }
.wk--knocked .wk-smoke circle { animation: wk-rise 1.8s ease-out infinite; }
.wk--knocked .wk-smoke circle:nth-child(2) { animation-delay: .35s; }
.wk--knocked .wk-smoke circle:nth-child(3) { animation-delay: .7s; }
.wk--knocked .wk-hazard { animation: wk-blink .8s steps(1) infinite; }
.wk--suspect .wk-bubble { transform-box: fill-box; transform-origin: 50% 100%; animation: wk-bounce 1.2s ease-in-out infinite; }
@keyframes wk-spin { to { transform: rotate(360deg); } }
@keyframes wk-bob { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes wk-puff { 0% { opacity: .6; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(18px, -10px); } }
@keyframes wk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wk-rise { 0% { opacity: .9; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-26px); } }
@keyframes wk-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes wk-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---------- Icon ---------- */
.wh-icon { display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Button ---------- */
.wh-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2, 8px); box-sizing: border-box; min-height: 48px; padding: 0 var(--space-5, 24px); border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); background: var(--board, #f4eee2); color: var(--on-board, #141414); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 16px; letter-spacing: .02em; line-height: 1; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-board, 0 5px 0 #000000); transition: transform 80ms ease, box-shadow 80ms ease; -webkit-tap-highlight-color: transparent; }
.wh-btn:active, .wh-btn.is-pressed { transform: translateY(4px); box-shadow: var(--shadow-press, 0 1px 0 #000000); }
.wh-btn--carry { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); }
.wh-btn--wahala { background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); }
.wh-btn--ghost { background: transparent; color: var(--ink, #f4eee2); border-color: var(--ink, #f4eee2); box-shadow: none; }
.wh-btn--sm { min-height: 36px; padding: 0 var(--space-4, 16px); font-size: 13px; border-width: 2.5px; }
.wh-btn--lg { min-height: 60px; padding: 0 var(--space-6, 32px); font-size: 20px; }
.wh-btn--block { display: flex; width: 100%; }
.wh-btn:disabled, .wh-btn[aria-disabled="true"] { cursor: not-allowed; opacity: .5; box-shadow: none; transform: none; }
.wh-btn:focus-visible, .wh-hud:focus-visible { outline: 3px solid var(--focus-ring, #f4eee2); outline-offset: 3px; }

/* ---------- HudAction ---------- */
.wh-hud { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-1, 4px); background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink, #f4eee2); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); -webkit-tap-highlight-color: transparent; }
.wh-hud__disc { position: relative; display: grid; place-items: center; width: var(--size-hud-disc, 72px); height: var(--size-hud-disc, 72px); box-sizing: border-box; border-radius: var(--radius-round, 999px); border: 3px solid var(--outline, #141414); background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); box-shadow: var(--shadow-board, 0 5px 0 #000000); transition: transform 80ms ease, box-shadow 80ms ease; }
.wh-hud:active .wh-hud__disc { transform: translateY(4px); box-shadow: var(--shadow-press, 0 1px 0 #000000); }
.wh-hud--wahala .wh-hud__disc { background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); }
.wh-hud--board .wh-hud__disc { background: var(--board, #f4eee2); color: var(--on-board, #141414); }
.wh-hud__label { font-size: 12px; letter-spacing: .04em; }
.wh-hud:disabled { cursor: not-allowed; }
.wh-hud:disabled .wh-hud__disc { background: var(--board-sunken, #e8dfcd); color: var(--on-board-muted, #5f584d); box-shadow: none; }
.wh-hud:disabled .wh-hud__label { color: var(--ink-muted, #a9a39a); }
.wh-hud--cooling .wh-hud__disc > .wh-icon { visibility: hidden; }
.wh-hud__ring { position: absolute; inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); }
.wh-hud__count { position: absolute; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Boards (signboards: every panel) ---------- */
.wh-board { box-sizing: border-box; width: 100%; max-width: 560px; background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-lg, 20px); box-shadow: var(--shadow-board, 0 5px 0 #000000); overflow: hidden; }
.wh-board__band { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3, 12px); padding: var(--space-3, 12px) var(--space-4, 16px); background: var(--outline, #141414); color: var(--danfo, #f7c600); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); }
.wh-board__band h2 { margin: 0; font: inherit; font-size: 18px; letter-spacing: .02em; }
.wh-board__band > span:not(.wh-coins) { font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 700; font-size: 13px; color: var(--harmattan, #f4eee2); }

/* ---------- RouteBar ---------- */
.wh-route { display: flex; align-items: center; gap: var(--space-3, 12px); box-sizing: border-box; width: 100%; max-width: 640px; padding: var(--space-2, 8px) var(--space-4, 16px); background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); box-shadow: var(--shadow-board, 0 5px 0 #000000); }
.wh-route__label, .wh-route__count { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 14px; letter-spacing: .02em; white-space: nowrap; }
.wh-route__track { position: relative; flex: 1; height: 14px; box-sizing: border-box; margin: 0 var(--space-3, 12px) 0 0; background: var(--board-sunken, #e8dfcd); border: 2px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); }
.wh-route__fill { position: absolute; top: 0; bottom: 0; left: 0; background: var(--danfo, #f7c600); border-radius: inherit; transition: width 400ms ease; }
.wh-route__stop { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; box-sizing: border-box; border-radius: 50%; background: var(--board, #f4eee2); border: 2px solid var(--outline, #141414); }
.wh-route__stop.is-done { background: var(--lagoon-ink, #0b6b70); }
.wh-route__keke { position: absolute; top: -20px; width: 44px; height: 31px; margin-left: -42px; transition: left 400ms ease, margin 400ms ease; }
.wh-route__keke.is-start { margin-left: 0; }
.wh-route__keke .wk { display: block; }

/* ---------- StopsList ---------- */
.wh-stops__list { list-style: none; margin: 0; padding: var(--space-2, 8px) 0; }
.wh-stops__row { display: flex; align-items: center; gap: var(--space-3, 12px); padding: var(--space-2, 8px) var(--space-4, 16px); border-bottom: 1px solid var(--line-board, #cfc6b3); }
.wh-stops__row:last-child { border-bottom: 0; }
.wh-stops__tick { display: grid; place-items: center; flex: none; width: 28px; height: 28px; box-sizing: border-box; border-radius: var(--radius-sm, 6px); border: 2.5px solid var(--outline, #141414); background: var(--board, #f4eee2); }
.wh-stops__row.is-done .wh-stops__tick { background: var(--lagoon-ink, #0b6b70); border-color: var(--lagoon-ink, #0b6b70); color: var(--on-lagoon-ink, #ffffff); }
.wh-stops__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wh-stops__where { font-weight: 700; }
.wh-stops__what { font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-stops__row.is-done .wh-stops__where { text-decoration: line-through; color: var(--on-board-muted, #5f584d); }
.wh-stops__steps { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 12px; color: var(--on-board-muted, #5f584d); }

/* ---------- WahalaAlert ---------- */
.wh-alert { display: flex; align-items: center; gap: var(--space-4, 16px); box-sizing: border-box; width: 100%; max-width: 640px; padding: var(--space-3, 12px) var(--space-4, 16px); background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-board, 0 5px 0 #000000); animation: wh-shake .5s ease; }
.wh-alert__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--radius-round, 999px); background: var(--outline, #141414); color: var(--danfo, #f7c600); }
.wh-alert__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wh-alert__text strong { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 20px; line-height: 1.1; letter-spacing: .01em; }
.wh-alert__text span { font-size: 13px; font-weight: 500; }
.wh-alert__timer { position: relative; display: grid; place-items: center; flex: none; width: 60px; height: 60px; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 16px; }
.wh-alert__timer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes wh-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* ---------- Toast ---------- */
.wh-toast { display: inline-flex; align-items: center; gap: var(--space-2, 8px); box-sizing: border-box; min-height: 44px; padding: var(--space-2, 8px) var(--space-4, 16px); background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); box-shadow: var(--shadow-float, 0 16px 32px rgba(0,0,0,.55)); font-weight: 700; font-size: 14px; }
.wh-toast--done { background: var(--lagoon, #3fc1c6); color: var(--on-lagoon, #141414); }
.wh-toast--wahala { background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); }
.wh-toast--danfo { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); }
/* Callout: the in-game message nobody should miss. Coloured by meaning (wahala red: sabotage only;
   lagoon: fixed or done; danfo: something for you; board: news), pops in once. */
.wh-toast--callout { display: flex; gap: var(--space-3, 12px); min-width: min(300px, 88vw); max-width: min(440px, 92vw); padding: var(--space-3, 12px) var(--space-4, 16px); border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-board, 0 5px 0 #000000), var(--shadow-float, 0 16px 32px rgba(0,0,0,.55)); font-size: 15px; animation: wh-pop .32s cubic-bezier(.2,1.6,.4,1) both; }
.wh-toast--callout.wh-toast--wahala { animation: wh-pop .32s cubic-bezier(.2,1.6,.4,1) both, wh-shake .5s ease .32s; }
.wh-toast__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-round, 999px); background: var(--outline, #141414); color: var(--danfo, #f7c600); }
.wh-toast--wahala .wh-toast__icon { color: var(--wahala-bright, #ff6a57); }
.wh-toast--done .wh-toast__icon { color: var(--lagoon, #3fc1c6); }
.wh-toast__text { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.wh-toast__text strong { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 20px; line-height: 1.1; letter-spacing: .01em; }
.wh-toast__text span { font-weight: 600; font-size: 14px; line-height: 1.3; }
@keyframes wh-pop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ---------- NameTag and Shout ---------- */
.wh-tag { display: inline-flex; align-items: stretch; border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); background: var(--board, #f4eee2); color: var(--on-board, #141414); font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 800; font-size: 14px; line-height: 1; overflow: hidden; }
.wh-tag__plate { display: grid; place-items: center; padding: 0 8px 0 10px; background: var(--outline, #141414); color: var(--danfo, #f7c600); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 12px; }
.wh-tag__name { padding: 7px 12px 6px 10px; }
.wh-tag--me { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); }
.wh-tag--agbero .wh-tag__name { color: var(--wahala-ink, #b8301f); }
.wh-tag--ghost { opacity: .6; border-style: dashed; }
.wh-shout { display: inline-flex; flex-direction: column; align-items: flex-start; gap: var(--space-1, 4px); max-width: 280px; }
.wh-shout__bubble { position: relative; margin: 0; padding: var(--space-2, 8px) var(--space-3, 12px); background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); border-top-left-radius: 4px; font-size: 14px; font-weight: 500; line-height: 1.35; }

/* ---------- ParkMeeting ---------- */
.wh-meet { max-width: 640px; }
.wh-meet__q { margin: 0; padding: var(--space-3, 12px) var(--space-4, 16px) var(--space-2, 8px); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 22px; line-height: 1.1; }
.wh-meet__q span { display: block; margin-top: 4px; font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 500; font-size: 13px; color: var(--on-board-muted, #5f584d); }
.wh-meet__list { list-style: none; margin: 0; padding: 0; }
.wh-meet__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-3, 12px); padding: var(--space-2, 8px) var(--space-4, 16px); border-top: 1px solid var(--line-board, #cfc6b3); }
.wh-meet__row.is-me { background: var(--danfo-soft, #ffeea6); }
.wh-meet__row.is-dead { color: var(--on-board-muted, #5f584d); }
.wh-meet__keke .wk { display: block; width: 72px; height: 50px; }
.wh-meet__keke { position: relative; display: block; }
.wh-meet__keke--throw { padding: 0; margin: 0; border: 0; background: none; color: inherit; cursor: pointer; touch-action: manipulation; border-radius: var(--radius-sm, 8px); }
.wh-meet__keke--throw:focus-visible { outline: 3px solid var(--danfo, #f7c600); outline-offset: 2px; }
.wh-meet__sticker { position: absolute; pointer-events: none; }
.wh-meet__sticker .wh-sticker { display: block; width: 44px; height: 31px; }
.wh-meet__sticker--0 { left: -6px; top: -12px; transform: rotate(-8deg); }
.wh-meet__sticker--1 { right: -10px; top: -6px; transform: rotate(9deg); }
.wh-meet__sticker--2 { left: 14px; bottom: -12px; transform: rotate(4deg); }
/* a sticker lands with one slap; reduced motion just shows it */
.wh-sticker--thrown { animation: wh-slap .45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes wh-slap { 0% { opacity: 0; transform: translate(60px, 30px) scale(1.8) rotate(25deg); } 70% { opacity: 1; } 100% { transform: none; } }
.wh-meet__name { display: block; font-weight: 800; font-size: 15px; }
.wh-meet__name em { font-style: normal; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-meet__id { display: block; font-size: 12px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-meet__id b { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; color: var(--on-board, #141414); }
.wh-meet__status { display: block; font-size: 12px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-meet__votes { display: flex; gap: 2px; min-width: 0; }
.wh-meet__votes .wk { width: 30px; height: 21px; }
.wh-meet__timer { display: inline-flex; align-items: center; gap: 6px; }
.wh-meet__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3, 12px); padding: var(--space-3, 12px) var(--space-4, 16px); border-top: 3px solid var(--outline, #141414); background: var(--board-sunken, #e8dfcd); }
.wh-meet__skip { display: inline-flex; align-items: center; gap: var(--space-2, 8px); }
@media (max-width: 480px) { .wh-meet__row { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 4px var(--space-3, 12px); gap: var(--space-2, 8px); } .wh-meet__keke, .wh-meet__who, .wh-meet__point { grid-row: 1; } .wh-meet__point { grid-column: 3; } .wh-meet__votes { grid-column: 2; grid-row: 2; } .wh-meet__votes:empty { display: none; } .wh-meet__keke .wk { width: 56px; height: 39px; } }

/* ---------- Owa (always night: the road at the drop point) ---------- */
.wh-owa { position: relative; box-sizing: border-box; width: 100%; max-width: 640px; padding: 0 var(--space-5, 24px) var(--space-5, 24px); background: var(--asphalt, #141414); color: var(--harmattan, #f4eee2); border: 3px solid var(--outline, #141414); border-radius: var(--radius-lg, 20px); overflow: hidden; text-align: center; }
.wh-owa__scene { position: relative; height: 170px; margin: 0 calc(-1 * var(--space-5, 24px)) var(--space-3, 12px); border-bottom: 3px solid var(--harmattan, #f4eee2); overflow: hidden; }
.wh-owa__road { position: absolute; left: 0; right: 0; bottom: 18px; border-top: 4px dashed var(--danfo, #f7c600); opacity: .7; }
.wh-owa__pole { position: absolute; left: 50%; bottom: 20px; margin-left: -32px; color: var(--danfo, #f7c600); }
.wh-owa__dropped { position: absolute; left: 6%; bottom: 8px; }
.wh-owa__dropped .wk, .wh-owa__bus .wk { display: block; }
.wh-owa__bus { position: absolute; right: -10px; bottom: 14px; animation: wh-driveoff 3.2s ease-in 1.2s forwards; }
/* Owa scenes: weather over the stop, behind the kekes */
.wh-owa__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.wh-owa__rain { animation: wh-rain .5s linear infinite; }
@keyframes wh-rain { from { transform: translate(0, 0); } to { transform: translate(-6px, 16px); } }
.wh-owa__confetti { animation: wh-confetti 2.6s ease-in .3s both; }
@keyframes wh-confetti { from { transform: translateY(-150px); } to { transform: translateY(20px); } }
.wh-owa__stars { animation: wk-blink 2.4s ease-in-out infinite; }
@keyframes wh-driveoff { from { transform: translateX(0); } to { transform: translateX(320px); } }
@media (max-width: 420px) { .wh-owa__dropped { left: 2%; } .wh-owa__dropped .wk { width: 116px; height: 80px; } .wh-owa__bus .wk { width: 92px; height: 64px; } }
.wh-owa__shout { margin: 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 56px; line-height: .95; color: var(--danfo, #f7c600); }
.wh-owa__line { margin: var(--space-2, 8px) 0 0; font-size: 18px; font-weight: 700; }
.wh-owa__verdict { margin: var(--space-1, 4px) 0 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 20px; }
.wh-owa__verdict.is-clean { color: #3fc1c6; } /* lagoon, night value: this screen never changes theme */
.wh-owa__verdict.is-agbero { color: #ff6a57; } /* wahala, night value */
.wh-owa__remain { margin: var(--space-2, 8px) 0 0; font-size: 13px; font-weight: 500; color: #a9a39a; } /* ink-muted, night value */

/* ---------- RoleCard ---------- */
.wh-role { display: flex; flex-direction: column; align-items: center; gap: var(--space-3, 12px); box-sizing: border-box; width: 100%; max-width: 360px; padding: 0 var(--space-4, 16px) var(--space-4, 16px); background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-lg, 20px); box-shadow: var(--shadow-board, 0 5px 0 #000000); overflow: hidden; text-align: center; }
.wh-role__band { align-self: stretch; margin: 0 calc(-1 * var(--space-4, 16px)); padding: var(--space-3, 12px) var(--space-4, 16px); background: var(--outline, #141414); color: var(--danfo, #f7c600); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 24px; line-height: 1.1; }
.wh-role--agbero { background: var(--asphalt, #141414); color: var(--harmattan, #f4eee2); border-color: var(--wahala, #ff6a57); }
.wh-role--agbero .wh-role__band { background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); }
.wh-role__keke .wk { display: block; width: 240px; height: 166px; }
.wh-role__text { margin: 0; max-width: 28ch; font-size: 15px; font-weight: 500; line-height: 1.4; }
.wh-role__mates { margin: 0; font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-role--agbero .wh-role__mates { color: #a9a39a; }

/* ---------- ParkCode ---------- */
.wh-park { max-width: 520px; }
.wh-park__code { display: flex; align-items: center; gap: var(--space-3, 12px); margin: var(--space-4, 16px); padding: var(--space-2, 8px) var(--space-2, 8px) var(--space-2, 8px) var(--space-4, 16px); background: var(--board-sunken, #e8dfcd); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); }
.wh-park__code code { flex: 1; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 32px; letter-spacing: .14em; line-height: 1; }
.wh-park__seats { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2, 8px); padding: 0 var(--space-4, 16px) var(--space-4, 16px); }
.wh-park__seat { display: grid; place-items: center; aspect-ratio: 1.3; box-sizing: border-box; border-radius: var(--radius-md, 12px); border: 2.5px dashed var(--line-board, #cfc6b3); }
.wh-park__seat:not(.is-empty) { border-style: solid; border-color: var(--outline, #141414); background: var(--board-sunken, #e8dfcd); }
.wh-park__seat .wk { width: 100%; height: auto; max-width: 72px; }
.wh-park__foot { display: flex; justify-content: center; padding: var(--space-3, 12px) var(--space-4, 16px); border-top: 3px solid var(--outline, #141414); background: var(--board-sunken, #e8dfcd); }
.wh-park__wait { font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }

/* ---------- Results ---------- */
.wh-results { max-width: 760px; text-align: center; }
.wh-results__hero { padding: var(--space-5, 24px) var(--space-4, 16px) var(--space-3, 12px); }
.wh-results__shout { margin: 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 56px; line-height: .95; color: var(--lagoon-ink, #0b6b70); }
.wh-results--agbero .wh-results__shout { color: var(--wahala-ink, #b8301f); }
.wh-results__reason { margin: var(--space-2, 8px) 0 0; font-size: 16px; font-weight: 700; }
.wh-results__reveal { margin: 0 var(--space-4, 16px); padding: var(--space-3, 12px); background: var(--board-sunken, #e8dfcd); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); }
.wh-results__label { margin: 0 0 var(--space-2, 8px); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 16px; letter-spacing: .02em; color: var(--wahala-ink, #b8301f); }
.wh-results__row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4, 16px); }
.wh-results__fleet { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3, 12px); padding: var(--space-4, 16px); }
.wh-results__seat { display: flex; flex-direction: column; align-items: center; gap: var(--space-1, 4px); }
.wh-results__seat .wk { display: block; }
.wh-results__outcome { font-size: 12px; font-weight: 700; color: var(--on-board-muted, #5f584d); }
.wh-results__seat.is-reach .wh-results__outcome { color: var(--lagoon-ink, #0b6b70); }
.wh-results__scores { list-style: none; margin: 0 var(--space-4, 16px) var(--space-4, 16px); padding: 0; text-align: left; border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); overflow: hidden; }
.wh-results__scores li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 72px 92px 56px; align-items: center; gap: var(--space-2, 8px); padding: var(--space-2, 8px) var(--space-3, 12px); border-top: 1px solid var(--line-board, #cfc6b3); font-size: 14px; font-weight: 500; }
.wh-results__scores li:first-child { border-top: 0; background: var(--danfo-soft, #ffeea6); }
.wh-results__plate { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 13px; }
.wh-results__pname { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-results__role, .wh-results__stops { font-size: 12px; color: var(--on-board-muted, #5f584d); }
.wh-results__points { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 16px; text-align: right; }
.wh-results__foot { display: flex; justify-content: center; gap: var(--space-3, 12px); padding: var(--space-3, 12px) var(--space-4, 16px); border-top: 3px solid var(--outline, #141414); background: var(--board-sunken, #e8dfcd); }
@media (max-width: 520px) { .wh-results__shout { font-size: 40px; } .wh-results__scores li { grid-template-columns: 36px minmax(0, 1fr) 60px 48px; } .wh-results__stops { display: none; } }

/* ---------- Money: fare (the platform's) and coins (ours). One colour; the glyph and the word tell them apart. ---------- */
.wh-coin { display: inline-block; vertical-align: middle; flex: none; }
.wh-money { font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 800; font-variant-numeric: tabular-nums; }
.wh-fare { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--on-board, #141414); white-space: nowrap; }
.wh-fare__plate { display: inline-grid; place-items: center; padding: 3px 7px 2px; border: 2px solid var(--outline, #141414); border-radius: var(--radius-sm, 6px); background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 10px; letter-spacing: .04em; line-height: 1; }
.wh-fare--lg { font-size: 24px; } .wh-fare--lg .wh-fare__plate { font-size: 12px; padding: 5px 9px 4px; }

.wh-coins { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 36px; margin: 0; padding: 0 12px 0 7px; background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); box-shadow: var(--shadow-press, 0 1px 0 #000000); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 14px; line-height: 1; text-decoration: none; cursor: default; }
button.wh-coins, a.wh-coins { cursor: pointer; box-shadow: var(--shadow-board, 0 5px 0 #000000); transition: transform 80ms ease, box-shadow 80ms ease; }
button.wh-coins:active, a.wh-coins:active { transform: translateY(4px); box-shadow: var(--shadow-press, 0 1px 0 #000000); }
.wh-coins:focus-visible { outline: 3px solid var(--focus-ring, #f4eee2); outline-offset: 3px; }
.wh-coins--lg { min-height: 48px; padding: 0 16px 0 9px; font-size: 20px; }
.wh-coins__word { font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 500; font-size: 12px; color: var(--on-board-muted, #5f584d); }
.wh-coins--lg .wh-coins__word { font-size: 14px; }

.wh-award { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 500; color: var(--on-board, #141414); }
.wh-award__n { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 20px; }
.wh-award--capped { color: var(--on-board-muted, #5f584d); }

.wh-pot { display: inline-flex; align-items: center; gap: var(--space-3, 12px); box-sizing: border-box; min-height: 44px; padding: var(--space-1, 4px) var(--space-4, 16px) var(--space-1, 4px) var(--space-2, 8px); background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); box-shadow: var(--shadow-board, 0 5px 0 #000000); font-size: 13px; font-weight: 700; }
.wh-pot__tail { color: var(--on-board-muted, #5f584d); font-weight: 500; }
.wh-pot--settled { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); }
.wh-pot--settled .wh-pot__tail { color: var(--on-danfo, #141414); font-weight: 800; }
.wh-pot--settled .wh-fare__plate { background: var(--board, #f4eee2); color: var(--on-board, #141414); }

.wh-farebtn { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-1, 4px); }
.wh-farebtn__why { font-size: 12px; font-weight: 500; color: var(--on-board-muted, #5f584d); text-align: center; max-width: 24ch; }

.wh-tiers { max-width: 560px; }
.wh-tiers__chips { display: flex; flex-wrap: wrap; gap: var(--space-2, 8px); padding: var(--space-4, 16px) var(--space-4, 16px) var(--space-2, 8px); }
.wh-tier { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; padding: 6px var(--space-4, 16px); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); background: var(--board, #f4eee2); color: var(--on-board, #141414); font-family: var(--font-sans, Rubik, system-ui, sans-serif); cursor: pointer; box-shadow: var(--shadow-press, 0 1px 0 #000000); }
.wh-tier__fare { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.wh-tier__pot { font-weight: 500; font-size: 11px; color: var(--on-board-muted, #5f584d); font-variant-numeric: tabular-nums; }
.wh-tier.is-on { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); box-shadow: var(--shadow-board, 0 5px 0 #000000); }
.wh-tier.is-on .wh-tier__pot { color: var(--on-danfo, #141414); }
.wh-tier:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.wh-tier:focus-visible { outline: 3px solid var(--focus-ring, #f4eee2); outline-offset: 3px; }
.wh-tiers__line { display: flex; flex-wrap: wrap; gap: var(--space-3, 12px); margin: 0; padding: var(--space-2, 8px) var(--space-4, 16px) 0; }
.wh-tiers__line--empty { font-size: 14px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-tiers__limit { margin: 0; padding: var(--space-2, 8px) var(--space-4, 16px) 0; font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-tiers__foot { display: flex; justify-content: center; margin-top: var(--space-4, 16px); padding: var(--space-3, 12px) var(--space-4, 16px); border-top: 3px solid var(--outline, #141414); background: var(--board-sunken, #e8dfcd); }

.wh-park-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4, 16px); box-sizing: border-box; width: 100%; max-width: 640px; padding: var(--space-3, 12px) var(--space-4, 16px); background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-board, 0 5px 0 #000000); }
.wh-park-card__seats { display: flex; align-items: center; gap: 2px; min-width: 72px; }
.wh-park-card__seats .wk { display: block; width: 34px; height: 24px; }
.wh-park-card__more { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 12px; color: var(--on-board-muted, #5f584d); margin-left: 4px; }
.wh-park-card__name { margin: 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 16px; line-height: 1.1; }
.wh-park-card__meta, .wh-park-card__free { margin: 2px 0 0; font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-park-card__money { display: flex; flex-wrap: wrap; gap: var(--space-3, 12px); margin: 6px 0 0; }
.wh-park-card__action { display: flex; justify-content: flex-end; }
@media (max-width: 520px) { .wh-park-card { grid-template-columns: minmax(0, 1fr) auto; } .wh-park-card__seats { grid-column: 1 / -1; } }

.wh-shop { max-width: 760px; }
.wh-shop__wallet { min-height: 32px; font-size: 13px; }
.wh-shop__grid { display: flex; flex-wrap: wrap; gap: var(--space-3, 12px); padding: var(--space-4, 16px); }
.wh-shop__note { margin: 0; padding: var(--space-3, 12px) var(--space-4, 16px); border-top: 3px solid var(--outline, #141414); background: var(--board-sunken, #e8dfcd); font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-item { display: flex; flex-direction: column; box-sizing: border-box; width: 212px; background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); overflow: hidden; }
.wh-item__preview { display: grid; place-items: center; min-height: 120px; padding: var(--space-2, 8px); background: var(--board-sunken, #e8dfcd); border-bottom: 2.5px solid var(--outline, #141414); }
.wh-item__preview .wk { display: block; width: 150px; height: 104px; }
.wh-item__name { margin: var(--space-3, 12px) var(--space-3, 12px) 0; font-size: 15px; font-weight: 800; line-height: 1.2; }
.wh-item__price { display: flex; align-items: center; gap: 6px; margin: 4px var(--space-3, 12px) 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 14px; }
.wh-item__price .wh-coins__word { font-size: 12px; }
.wh-item__foot { display: flex; align-items: center; margin-top: auto; padding: var(--space-3, 12px); }
.wh-item__owned { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--lagoon-ink, #0b6b70); }
.wh-item__short { font-size: 13px; font-weight: 800; color: var(--on-board-muted, #5f584d); }
.wh-item__note { margin: 0; padding: 0 var(--space-3, 12px) var(--space-3, 12px); font-size: 12px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-item__preview .wh-sticker { display: block; width: 120px; height: 84px; }
.wh-item__hornwrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-2, 8px); }
.wh-item__horn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--danfo, #f7c600); color: var(--outline, #141414); border: 2.5px solid var(--outline, #141414); }
.wh-item__owa { position: relative; display: block; width: 100%; height: 104px; overflow: hidden; border-radius: var(--radius-sm, 8px); background: var(--asphalt, #141414); }
.wh-item__owa .wk { position: absolute; left: 50%; bottom: 6px; margin-left: -48px; width: 96px; height: 66px; }
.wh-item__hornline { display: flex; align-items: center; gap: var(--space-2, 8px); }
.wh-item__hornline .wh-item__horn { width: 44px; height: 44px; flex: none; }
.wh-item__bars { display: block; width: 100%; max-width: 112px; height: auto; fill: var(--outline, #141414); }
.wh-item__zoom { position: relative; display: block; width: 100%; height: 112px; overflow: hidden; }
.wh-item__preview .wh-item__zoom .wk { position: absolute; left: 50%; top: 50%; width: 196px; height: 136px; transform: translate(-50%, -44%); }
.wh-item__signwrap { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.wh-item__slogan { max-width: 100%; box-sizing: border-box; padding: 3px 8px; border: 2px solid var(--outline, #141414); border-radius: 6px; background: var(--danfo, #f7c600); color: var(--outline, #141414); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 11px; line-height: 1.25; text-align: center; text-transform: uppercase; transform: rotate(-2deg); }
.wh-item__price--free { font-size: 13px; color: var(--on-board-muted, #5f584d); }
.wh-item.is-owned .wh-item__preview { opacity: 1; } .wh-item.is-disabled .wh-item__preview { opacity: .6; }

.wh-results__pot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3, 12px); margin: 0 var(--space-4, 16px) var(--space-3, 12px); padding: var(--space-3, 12px); background: var(--board-sunken, #e8dfcd); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); font-size: 18px; font-weight: 800; }
.wh-results__split { flex-basis: 100%; text-align: center; font-size: 12px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-results__pot.is-settling .wh-results__potline { font-weight: 500; font-size: 14px; color: var(--on-board-muted, #5f584d); }
.wh-results__pot.is-draw { font-weight: 500; font-size: 15px; color: var(--on-board-muted, #5f584d); }
.wh-results__award { display: flex; justify-content: center; margin: 0 0 var(--space-3, 12px); }

.wh-lb { max-width: 480px; }
.wh-lb__unit { margin: 0; padding: var(--space-2, 8px) var(--space-4, 16px) 0; text-align: right; font-size: 12px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-lb__list { list-style: none; margin: 0; padding: 0 0 var(--space-2, 8px); }
.wh-lb__row { display: grid; grid-template-columns: 36px 40px minmax(0, 1fr) auto; align-items: center; gap: var(--space-2, 8px); padding: var(--space-2, 8px) var(--space-4, 16px); border-top: 1px solid var(--line-board, #cfc6b3); }
.wh-lb__row.is-me { background: var(--danfo-soft, #ffeea6); }
.wh-lb__rank { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 16px; color: var(--on-board-muted, #5f584d); }
.wh-lb__row.is-top .wh-lb__rank { color: var(--on-board, #141414); }
.wh-lb__row .wk { display: block; width: 40px; height: 28px; }
.wh-lb__name { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-lb__name em { font-style: normal; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-lb__score { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 16px; }
.wh-lb__gap { height: 10px; margin: 0 var(--space-4, 16px); border-top: 2px dashed var(--line-board, #cfc6b3); }

@media (prefers-reduced-motion: reduce) { .wk *, .wh-alert, .wh-toast--callout, .wh-owa__bus, .wh-owa__fx *, .wh-sticker, .wh-route__fill, .wh-route__keke, .wh-coins__delta { animation: none !important; transition: none !important; } }
/* RoutePass: the season's road */
.wh-pass__head { padding: var(--space-4, 16px); border-bottom: 2.5px solid var(--outline, #141414); display: grid; gap: var(--space-2, 8px); }
.wh-pass__season { margin: 0; font-size: 18px; font-weight: 800; }
.wh-pass__ends { margin: 0; font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-pass__xp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-2, 8px); }
.wh-pass__tiernow, .wh-pass__xpn { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 13px; }
.wh-pass__bar { position: relative; height: 14px; border: 2.5px solid var(--outline, #141414); border-radius: 999px; background: var(--board-sunken, #e8dfcd); overflow: hidden; }
.wh-pass__bar > span { position: absolute; inset: 0 auto 0 0; background: var(--danfo, #f7c600); }
.wh-pass__next { margin: 0; font-size: 13px; font-weight: 500; }
.wh-pass__open { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 13px; font-weight: 800; color: var(--lagoon-ink, #0b6b70); }
.wh-pass__cols { display: grid; grid-template-columns: 1fr 56px 1fr; padding: var(--space-2, 8px) var(--space-3, 12px) 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 12px; text-align: center; }
.wh-pass__road { list-style: none; margin: 0; padding: var(--space-2, 8px) var(--space-3, 12px) var(--space-3, 12px); display: grid; gap: var(--space-2, 8px); background: linear-gradient(var(--outline, #141414), var(--outline, #141414)) center / 4px 100% no-repeat; }
.wh-pass__tier { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; gap: var(--space-2, 8px); }
.wh-pass__stop { display: grid; place-items: center; justify-self: center; width: 48px; height: 48px; border-radius: 50%; background: var(--board-sunken, #e8dfcd); border: 2.5px solid var(--outline, #141414); line-height: 1; }
.wh-pass__stop b { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-weight: 400; font-size: 16px; }
.wh-pass__stop small { font-size: 9px; font-weight: 700; }
.wh-pass__tier.is-reached .wh-pass__stop { background: var(--danfo, #f7c600); }
.wh-pass__cell { display: grid; justify-items: center; gap: 6px; min-height: 112px; padding: var(--space-2, 8px); background: var(--board, #f4eee2); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); text-align: center; }
.wh-pass__cell.is-empty { visibility: hidden; }
.wh-pass__cell--premium { background: var(--danfo-soft, #ffeea6); }
.wh-pass__cell.is-ready { box-shadow: 0 0 0 3px var(--danfo, #f7c600); }
.wh-pass__cell.is-claimed { opacity: .7; }
.wh-pass__item { display: grid; justify-items: center; gap: 4px; }
.wh-pass__item .wk { display: block; width: 72px; height: 50px; }
.wh-pass__item .wh-sticker { display: block; width: 64px; height: 45px; }
.wh-pass__name { font-size: 12px; font-weight: 800; line-height: 1.2; }
.wh-pass__coins { display: flex; align-items: center; gap: 4px; min-height: 50px; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 14px; }
.wh-pass__horn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--danfo, #f7c600); border: 2.5px solid var(--outline, #141414); }
.wh-pass__owa { position: relative; display: block; width: 72px; height: 44px; overflow: hidden; border-radius: 8px; background: var(--asphalt, #141414); }
.wh-pass__lock { font-size: 12px; font-weight: 800; color: var(--on-board-muted, #5f584d); }
/* Challenges: today's three */
.wh-chal__list { list-style: none; margin: 0; padding: var(--space-2, 8px) var(--space-4, 16px) var(--space-4, 16px); display: grid; gap: var(--space-3, 12px); }
.wh-chal__row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "text reward" "bar count" "foot foot"; align-items: center; column-gap: var(--space-3, 12px); row-gap: 6px; }
.wh-chal__text { grid-area: text; font-size: 15px; font-weight: 800; }
.wh-chal__reward { grid-area: reward; display: flex; align-items: center; gap: 4px; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 13px; }
.wh-chal__bar { grid-area: bar; position: relative; height: 12px; border: 2.5px solid var(--outline, #141414); border-radius: 999px; background: var(--board-sunken, #e8dfcd); overflow: hidden; }
.wh-chal__bar > span { position: absolute; inset: 0 auto 0 0; background: var(--danfo, #f7c600); }
.wh-chal__row.is-done .wh-chal__bar > span { background: var(--lagoon, #1fa0a5); }
.wh-chal__count { grid-area: count; font-size: 13px; font-weight: 700; }
.wh-chal__foot { grid-area: foot; }
/* Invite: a card made to be screenshotted. A ticket: the QR on the left, the line, the code and
   "scan or type" on the right, three kekes under it; the share row on one line. Short enough that
   the whole board and its Close fit a 375 x 667 phone, and it still lays out in landscape. */
.wh-invite__card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "qr line" "qr code" "qr scan" "road road"; align-items: center; column-gap: var(--space-3, 12px); row-gap: 4px; margin: var(--space-3, 12px); padding: var(--space-3, 12px); background: var(--board, #f4eee2); border: 3px solid var(--outline, #141414); border-radius: var(--radius-lg, 20px); text-align: left; }
.wh-invite__line { grid-area: line; align-self: end; margin: 0; font-size: 14px; font-weight: 800; line-height: 1.25; }
.wh-invite__code { grid-area: code; margin: 0; line-height: 1; }
.wh-invite__code code { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: clamp(24px, 7.6vw, 36px); letter-spacing: .06em; white-space: nowrap; }
.wh-invite__qr { grid-area: qr; width: min(104px, 30vw); aspect-ratio: 1; padding: 4px; background: #fff; border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); box-sizing: border-box; }
.wh-invite__qr svg { display: block; width: 100%; height: 100%; }
.wh-invite__scan { grid-area: scan; align-self: start; margin: 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 12px; line-height: 1.2; }
.wh-invite__road { grid-area: road; display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.wh-invite__road .wk { width: 48px; height: auto; }
.wh-invite__how { margin: 0 var(--space-3, 12px) var(--space-2, 8px); font-size: 13px; font-weight: 500; text-align: center; }
/* the share row: the three links side by side, then Share (danfo) and Close (asphalt) together */
.wh-invite__share { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 0 var(--space-3, 12px) var(--space-3, 12px); }
.wh-invite__share .wh-btn { grid-column: span 2; padding: 0 var(--space-2, 8px); white-space: nowrap; }
.wh-invite__share [data-share], .wh-invite__share .wh-invite__close { grid-column: span 3; order: 1; }
.wh-invite__close { background: var(--asphalt, #141414); color: var(--danfo, #f7c600); border-color: var(--asphalt, #141414); }
.wh-invite__share .wh-invite__close:only-child { grid-column: 2 / span 4; }
/* a short screen (a phone on its side): the kekes go, so the share row stays in view */
@media (max-height: 480px) { .wh-invite__road { display: none; } .wh-invite__card { margin: var(--space-2, 8px) var(--space-3, 12px); padding: var(--space-2, 8px) var(--space-3, 12px); } .wh-invite__qr { width: min(96px, 28vh); } }
/* no QR: the code takes the whole row */
.wh-invite__card:not(:has(.wh-invite__qr)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "line" "code" "scan" "road"; text-align: center; }

/* Powers (power-up parks): a skin preview is the trail behind a keke on the road */
.wh-item__power { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 104px; overflow: hidden; border-radius: var(--radius-sm, 8px); background: var(--asphalt, #141414); }
.wh-item__power .wh-trail { margin-right: -18px; }
.wh-item__power .wk { width: 96px; height: auto; }
.wh-pickup { display: inline-block; }

/* ==================== Game modes: Play menu, weather, area boys, Race ==================== */
/* GameTypeTile: a board, the band as its title, the art, a Pidgin line; the whole tile is the tap */
.wh-gt { display: flex; flex-direction: column; padding: 0; text-align: left; font: inherit; cursor: pointer; transition: transform 80ms ease, box-shadow 80ms ease; -webkit-tap-highlight-color: transparent; }
.wh-gt:active { transform: translateY(4px); box-shadow: var(--shadow-press, 0 1px 0 #000000); }
.wh-gt:focus-visible { outline: 3px solid var(--focus-ring, #f4eee2); outline-offset: 3px; }
.wh-gt:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; transform: none; }
.wh-gt__band { width: 100%; box-sizing: border-box; padding: var(--space-2, 8px) var(--space-3, 12px); }
.wh-gt__title { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 15px; letter-spacing: .02em; line-height: 1.1; }
.wh-gt__meta { font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 700; font-size: 12px; color: var(--harmattan, #f4eee2); white-space: nowrap; }
.wh-gt__art { display: block; width: 100%; border-bottom: 3px solid var(--outline, #141414); line-height: 0; }
.wh-gt__svg { display: block; width: 100%; height: auto; aspect-ratio: 200 / 120; }
.wh-gt--wide .wh-gt__svg { aspect-ratio: 200 / 96; }
.wh-gt__line { display: block; padding: var(--space-2, 8px) var(--space-3, 12px) var(--space-3, 12px); font-weight: 700; font-size: 14px; line-height: 1.3; }
.wh-gt__wheel { transform-box: fill-box; transform-origin: center; animation: wk-spin .6s linear infinite; }
.wh-gt__glow { animation: wh-glow 1.4s ease-in-out infinite alternate; }
.wh-gt__glow--late { animation-delay: .7s; }
.wh-gt__flag { transform-box: fill-box; transform-origin: 0 50%; animation: wh-flag .7s ease-in-out infinite alternate; }
.wh-gt__eyes { transform-box: fill-box; transform-origin: center; animation: wh-blink 3.2s ease-in-out infinite; }
.wh-gt__glint { transform-box: fill-box; transform-origin: center; animation: wh-glint 2.4s ease-in-out infinite; }
.wh-gt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4, 16px) var(--space-3, 12px); }
@media (min-width: 560px) { .wh-gt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@keyframes wh-glow { from { opacity: .45; } to { opacity: 1; } }
@keyframes wh-flag { from { transform: skewY(0); } to { transform: skewY(-8deg) scaleX(.94); } }
@keyframes wh-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes wh-glint { 0%, 60%, 100% { opacity: 0; transform: scale(.4); } 75% { opacity: 1; transform: scale(1); } }

/* PlayHeader: the street, the wordmark, an area boy and his line */
.wh-ph { position: relative; overflow: hidden; border: 3px solid var(--outline, #141414); border-radius: var(--radius-lg, 20px); box-shadow: var(--shadow-board, 0 5px 0 #000000); line-height: 0; }
.wh-ph__svg { display: block; width: 100%; height: auto; aspect-ratio: 400 / 230; }
.wh-ph__bubble { position: absolute; left: 22%; top: 36%; max-width: 46%; margin: 0; padding: 6px 10px; background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); border-bottom-left-radius: 3px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.wh-ph--compact .wh-ph__svg { aspect-ratio: 400 / 118; }
.wh-ph--compact .wh-ph__bubble { top: 7%; }
.wh-ph__wx { position: absolute; left: 8px; top: 8px; line-height: 1; }
.wh-ph__rain { animation: wh-rain .5s linear infinite; }
.wh-ph__stars circle:nth-child(3n) { animation: wk-blink 2.4s steps(1) infinite; }
.wh-ph__dust { animation: wh-drift 6s linear infinite alternate; }
.wh-ab__arm { transform-box: fill-box; transform-origin: 100% 100%; animation: wh-wave .45s ease-in-out infinite alternate; }
.wh-ab__arm--top { transform-origin: 100% 50%; }
@keyframes wh-rain { from { transform: translate(0, 0); } to { transform: translate(-4px, 40px); } }
@keyframes wh-drift { from { transform: translateX(0); } to { transform: translateX(-24px); } }
@keyframes wh-wave { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }

/* SidePicker */
.wh-side__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2, 8px); padding: var(--space-3, 12px); }
.wh-side__opt { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 48px; padding: var(--space-3, 12px) var(--space-1, 4px); border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); background: var(--board, #f4eee2); color: var(--on-board, #141414); font: inherit; text-align: center; cursor: pointer; box-shadow: var(--shadow-press, 0 1px 0 #000000); -webkit-tap-highlight-color: transparent; }
.wh-side__opt:focus-visible { outline: 3px solid var(--focus-ring, #f4eee2); outline-offset: 3px; }
.wh-side__opt.is-on { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); box-shadow: var(--shadow-board, 0 5px 0 #000000); }
.wh-side__opt--agbero.is-on { background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); }
.wh-side__keke { display: block; line-height: 0; height: 64px; }
.wh-side__keke .wk { width: 84px; height: 58px; }
.wh-side__name { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 14px; line-height: 1.1; }
.wh-side__line { font-size: 13px; font-weight: 500; line-height: 1.3; }
.wh-side__foot { padding: 0 var(--space-3, 12px) var(--space-4, 16px); }
@media (max-width: 360px) { .wh-side__keke .wk { width: 68px; height: 47px; } .wh-side__keke { height: 52px; } }

/* WeatherChip */
.wh-wx { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 36px; padding: 3px 12px 3px 3px; background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 2.5px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); box-shadow: var(--shadow-press, 0 1px 0 #000000); line-height: 1; }
.wh-wx__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--outline, #141414); box-sizing: border-box; }
.wh-wx--day .wh-wx__icon { background: #ffe9a8; }
.wh-wx--night .wh-wx__icon { background: #1d2747; color: #fff8d6; }
.wh-wx--rain .wh-wx__icon { background: #a9c7d6; }
.wh-wx--harmattan .wh-wx__icon { background: #e3c48f; }
.wh-wx__name { font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 13px; letter-spacing: .02em; }
.wh-wx__line { font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-wx--turning { animation: wh-pop .32s cubic-bezier(.2,1.6,.4,1) both; }

/* WeatherSheet */
.wh-wxs__lead { margin: 0; padding: var(--space-3, 12px) var(--space-4, 16px) 0; font-size: 14px; font-weight: 500; }
.wh-wxs__picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2, 8px); padding: var(--space-3, 12px) var(--space-4, 16px) var(--space-4, 16px); }
.wh-wxs__pick { display: flex; flex-direction: column; padding: 0; border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); overflow: hidden; background: var(--board, #f4eee2); color: var(--on-board, #141414); font: inherit; cursor: pointer; box-shadow: var(--shadow-press, 0 1px 0 #000000); -webkit-tap-highlight-color: transparent; }
.wh-wxs__pick .wh-wxart { display: block; width: 100%; height: auto; aspect-ratio: 80 / 48; border-bottom: 2.5px solid var(--outline, #141414); }
.wh-wxs__pick.is-on { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); box-shadow: var(--shadow-board, 0 5px 0 #000000); transform: translateY(-2px); }
.wh-wxs__pick:focus-visible { outline: 3px solid var(--focus-ring, #f4eee2); outline-offset: 3px; }
.wh-wxs__name { display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 30px; padding: 2px; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 12px; letter-spacing: 0; }
.wh-wxs__name .wh-icon { display: none; }
@media (max-width: 480px) { .wh-wxs__picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wh-wxs__pick .wh-wxart { aspect-ratio: 80 / 36; } }
.wh-wxs__buys { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-board, #cfc6b3); }
.wh-wxs__buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what price" "what act"; align-items: center; gap: 4px var(--space-3, 12px); padding: var(--space-3, 12px) var(--space-4, 16px); border-bottom: 1px solid var(--line-board, #cfc6b3); }
.wh-wxs__what { grid-area: what; display: flex; flex-direction: column; }
.wh-wxs__what b { font-weight: 700; }
.wh-wxs__what span { font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-wxs__price { grid-area: price; display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 14px; }
.wh-wxs__price .wh-coins__word { font-size: 12px; }
.wh-wxs__act { grid-area: act; display: flex; justify-content: flex-end; }
.wh-wxs__why { font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); text-align: right; max-width: 130px; }
.wh-wxs .wh-item__note { margin: var(--space-2, 8px) var(--space-4, 16px) 0; }

/* the area boy */
.wh-ab { display: inline-block; vertical-align: bottom; }

/* SettlePrompt: wahala red, like every warning; the action is danfo */
.wh-settle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2, 8px) var(--space-3, 12px); box-sizing: border-box; width: 100%; max-width: 440px; padding: var(--space-3, 12px) var(--space-4, 16px); background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-board, 0 5px 0 #000000); animation: wh-shake .5s ease; }
.wh-settle__who { display: grid; place-items: end center; width: 72px; height: 88px; overflow: hidden; border-radius: var(--radius-md, 12px); background: var(--outline, #141414); }
.wh-settle__who .wh-ab { width: 60px; height: 96px; margin-bottom: -14px; }
.wh-settle__text { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.wh-settle__line { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.15; }
.wh-settle__price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 16px; }
.wh-settle__price .wh-coins__word { color: inherit; font-size: 13px; }
.wh-settle__pct { font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 500; font-size: 13px; }
.wh-settle__note { margin: 0; font-size: 13px; font-weight: 600; }
.wh-settle__foot { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-3, 12px); margin-top: var(--space-1, 4px); }

/* FuelGauge: under the route bar */
.wh-fuel { display: flex; align-items: center; gap: var(--space-2, 8px); box-sizing: border-box; width: 100%; max-width: 640px; min-height: 40px; padding: 4px var(--space-3, 12px) 4px 4px; background: var(--board, #f4eee2); color: var(--on-board, #141414); border: 3px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); box-shadow: var(--shadow-board, 0 5px 0 #000000); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); }
.wh-fuel__icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--outline, #141414); color: var(--danfo, #f7c600); }
.wh-fuel__track { position: relative; flex: 1; min-width: 40px; height: 14px; box-sizing: border-box; background: var(--board-sunken, #e8dfcd); border: 2px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); overflow: hidden; }
.wh-fuel__fill { position: absolute; inset: 0 auto 0 0; background: var(--danfo, #f7c600); transition: width 400ms ease; }
.wh-fuel__mark { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--outline, #141414); opacity: .5; }
.wh-fuel__pct { font-size: 15px; min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
.wh-fuel__laps { font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 700; font-size: 13px; white-space: nowrap; color: var(--on-board-muted, #5f584d); }
.wh-fuel__pit { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px 3px 5px; border-radius: var(--radius-round, 999px); background: var(--outline, #141414); color: var(--wahala-bright, #ff6a57); font-size: 12px; letter-spacing: .03em; }
.wh-fuel.is-full .wh-fuel__fill { background: var(--lagoon-ink, #0b6b70); }
.wh-fuel.is-full .wh-fuel__icon { color: var(--lagoon, #3fc1c6); }
.wh-fuel.is-low { background: var(--wahala, #ff6a57); color: var(--on-wahala, #141414); }
.wh-fuel.is-low .wh-fuel__laps { color: inherit; }
.wh-fuel.is-low .wh-fuel__fill { background: var(--outline, #141414); }
.wh-fuel.is-low .wh-fuel__icon { color: var(--wahala-bright, #ff6a57); }
.wh-fuel.is-low .wh-fuel__track { background: var(--board, #f4eee2); }

/* RaceChip: lap and position */
.wh-racechip { display: inline-flex; align-items: stretch; border: 3px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); overflow: hidden; background: var(--board, #f4eee2); color: var(--on-board, #141414); box-shadow: var(--shadow-board, 0 5px 0 #000000); font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 14px; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.wh-racechip > span { display: grid; place-items: center; padding: 8px 12px 7px; }
.wh-racechip__lap { background: var(--outline, #141414); color: var(--danfo, #f7c600); }
.wh-racechip__lap.is-counted { background: var(--lagoon, #3fc1c6); color: var(--on-lagoon, #141414); animation: wh-pop .32s cubic-bezier(.2,1.6,.4,1) both; }
.wh-racechip__pos.is-first { background: var(--danfo, #f7c600); color: var(--on-danfo, #141414); }
.wh-racechip__gap { border-left: 2px solid var(--outline, #141414); font-family: var(--font-sans, Rubik, system-ui, sans-serif); font-weight: 700; font-size: 13px; }

/* obstacles, race pickups, minimap pins */
.wh-ob, .wh-rp, .wh-pin { display: inline-block; vertical-align: middle; flex: none; }
.wh-ob__hazard { animation: wk-blink .8s steps(1) infinite; }
.wh-pin { color: var(--outline, #141414); }
.wh-pin--wahala .wh-pin__disc { fill: var(--wahala, #ff6a57); }
.wh-pin--wahala { color: var(--on-wahala, #141414); }
.wh-pin--board .wh-pin__disc { fill: var(--board, #f4eee2); }
.wh-pin--warn { animation: wh-pop .32s cubic-bezier(.2,1.6,.4,1) both, wh-shake .5s ease .32s; }

/* PitBoard */
.wh-pit__body { display: flex; align-items: center; gap: var(--space-4, 16px); padding: var(--space-4, 16px); }
.wh-pit__pump { flex: none; }
.wh-pit__fill { display: flex; flex-direction: column; gap: var(--space-2, 8px); flex: 1; min-width: 0; }
.wh-pit__state { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 18px; line-height: 1.1; }
.wh-pit__bar { position: relative; display: block; height: 22px; box-sizing: border-box; background: var(--board-sunken, #e8dfcd); border: 3px solid var(--outline, #141414); border-radius: var(--radius-round, 999px); overflow: hidden; }
.wh-pit__barfill { position: absolute; inset: 0 auto 0 0; background: var(--danfo, #f7c600); transition: width 400ms ease; }
.wh-pit__q { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--outline, #141414); }
.wh-pit__pct { margin: 0; font-family: var(--font-display, Bungee, "Arial Black", Impact, sans-serif); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.wh-pit__how { margin: 0; font-size: 13px; font-weight: 500; color: var(--on-board-muted, #5f584d); }
.wh-pit.is-full .wh-pit__barfill { background: var(--lagoon-ink, #0b6b70); }
.wh-pit.is-full .wh-pit__state { color: var(--lagoon-ink, #0b6b70); }
.wh-pit__foot { padding: 0 var(--space-4, 16px) var(--space-4, 16px); }

@media (prefers-reduced-motion: reduce) { .wh-gt *, .wh-gt, .wh-ph *, .wh-ab *, .wh-wxart *, .wh-wx, .wh-settle, .wh-fuel *, .wh-racechip *, .wh-ob *, .wh-pin, .wh-pit * { animation: none !important; transition: none !important; } }


/* wahala.io. Loaded after tokens.css and the component bundle.css.
   Day theme for the page; the hero and the phone screens switch to night. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--space-4); }
.narrow { max-width: 760px; }

/* type styles from tokens.json */
.t-headline { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 34px; text-transform: uppercase; }
.t-title { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 24px; text-transform: uppercase; }
.lede { margin: 0 0 var(--space-4); max-width: 62ch; color: var(--ink-muted); }
@media (max-width: 480px) { .t-headline { font-size: 26px; line-height: 28px; } }

/* header: the band runs under it */
.head { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: var(--stroke-outline) solid var(--outline); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 72px; }
.head__brand { display: block; flex: none; border-radius: var(--radius-sm); }
.head__brand img { display: block; height: 40px; width: auto; }
.head__nav { display: flex; align-items: center; gap: var(--space-3); }
@media (max-width: 560px) { .head__ll { display: none !important; } .head__brand img { height: 34px; } }

/* hero: night strip from the splash, the pitch beside the real game (the header carries the logo) */
.hero { background: var(--asphalt); color: var(--harmattan); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center; padding-top: var(--space-7); padding-bottom: var(--space-5); }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: 54px; text-transform: uppercase; color: var(--danfo); }
.hero__line { margin: var(--space-3) 0 0; font-weight: 700; font-size: 20px; line-height: 28px; }
.hero__sub { margin: var(--space-2) 0 0; color: var(--ink-muted); max-width: 52ch; font-size: 17px; line-height: 26px; }
.hero .owa { color: var(--wahala); }
.hero__cta { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__free { margin: var(--space-3) 0 0; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.chips { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 12px; border: var(--stroke-hairline, 1px) solid var(--line); border-radius: var(--radius-round); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); }
.chips .wh-icon { color: var(--danfo); }
.hero__phones { position: relative; justify-self: center; width: 230px; }
.hero__phone { display: block; width: 100%; height: auto; border-radius: 26px; border: 4px solid #000; box-shadow: 0 0 0 2px #3a3a3a, var(--shadow-float); position: relative; }
.hero__phone--back { position: absolute; top: 24px; right: 46%; width: 100%; transform: rotate(-7deg); opacity: .85; }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-7); padding-top: 64px; }
  .hero__phones { width: 260px; transform: translateX(40px); }
}
/* a phone: both shots still show (the meeting tucked behind), and Play free and How to play share a line */
@media (max-width: 899px) { .hero__phones { width: 180px; transform: translateX(22%); } }
@media (max-width: 480px) {
  .hero__title { font-size: 36px; line-height: 38px; }
  .hero__phones { width: 160px; }
  .hero__cta { flex-wrap: nowrap; gap: var(--space-2); }
  .hero__cta .wh-btn { flex: 1 1 0; min-width: 0; padding-left: var(--space-2); padding-right: var(--space-2); font-size: 15px; white-space: nowrap; }
}
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.road { position: relative; height: 112px; }
.road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 64px; background: #262626; }
.road__lane { position: absolute; left: 0; right: 0; bottom: 45px; border-top: 4px dashed var(--danfo); opacity: .8; }
.road__k { position: absolute; bottom: 10px; }
.road__k .wk { display: block; width: 112px; height: 78px; }
.road__k--0 { --l: 6vw; }
.road__k--1 { --l: 40vw; }
.road__k--2 { --l: 74vw; }
.road__k { left: var(--l); }
@media (max-width: 640px) {
  .road { height: 96px; }
  .road__k .wk { width: 92px; height: 64px; }
  .road::before { height: 54px; }
  .road__lane { bottom: 40px; }
  .hero__in { padding-top: var(--space-6); }
  .road__k--0 { --l: -4vw; } .road__k--1 { --l: 34vw; } .road__k--2 { --l: 72vw; }
}
/* the kekes wait, zoom off to the right one after another, then roll back in from the left */
@media (prefers-reduced-motion: no-preference) {
  .road__k { animation: drive-off 9s infinite; }
  .road__k--2 { animation-delay: 1.2s; }
  .road__k--1 { animation-delay: 1.5s; }
  .road__k--0 { animation-delay: 1.8s; }
}
@keyframes drive-off {
  0%, 30% { transform: translateX(0); animation-timing-function: cubic-bezier(.55, 0, .9, .4); }
  46% { transform: translateX(calc(100vw - var(--l) + 60px)); visibility: visible; }
  46.01% { transform: translateX(calc(100vw - var(--l) + 60px)); visibility: hidden; }
  56% { transform: translateX(calc(-1 * var(--l) - 220px)); visibility: hidden; animation-timing-function: cubic-bezier(.1, .6, .3, 1); }
  56.01% { visibility: visible; }
  78%, 100% { transform: translateX(0); }
}

/* sections */
.sec { padding: 56px 0; }
@media (max-width: 640px) { .sec { padding: var(--space-6) 0; } }
.sec--sunken { background: var(--board-sunken); border-top: var(--stroke-outline) solid var(--outline); border-bottom: var(--stroke-outline) solid var(--outline); }
.owa { font-family: var(--font-display); font-size: 22px; color: var(--wahala-ink); white-space: nowrap; }

/* bring your people: the friends-first steps under the hero */
.crew__steps { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.crew__steps li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); background: var(--board); border: var(--stroke-control) solid var(--outline); border-radius: var(--radius-md); }
.crew__steps p { margin: 0; color: var(--ink-muted); }
.crew__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-round); background: var(--danfo); color: var(--on-danfo); border: var(--stroke-control) solid var(--outline); font-family: var(--font-display); font-size: 16px; }
.crew__title { margin: 2px 0 var(--space-1); font-family: var(--font-display); font-weight: 400; font-size: 18px; line-height: 22px; text-transform: uppercase; }
.crew__cta { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 820px) { .crew__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.kekes__sub { margin-top: var(--space-7); }

/* boards with the title band */
.board { background: var(--board); color: var(--on-board); border: var(--stroke-outline) solid var(--outline); border-radius: var(--radius-lg); box-shadow: var(--shadow-board); overflow: hidden; }
.board__band { background: var(--outline); color: var(--danfo); font-family: var(--font-display); font-size: 16px; line-height: 16px; letter-spacing: .02em; text-transform: uppercase; padding: var(--space-3) var(--space-4); }

/* roster */
.roster { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-4); }
.roster__item { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-2) var(--space-4); background: var(--board); border: var(--stroke-control) solid var(--outline); border-radius: var(--radius-md); }
.roster__item .wk { display: block; }
@media (max-width: 400px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } .roster__item .wk { width: 112px; height: 78px; } }

/* loop */
.loop-board { margin-top: var(--space-5); }
.loop__diagram { display: none; width: 100%; height: auto; padding: var(--space-4); }
.loop { list-style: none; margin: 0; padding: var(--space-3) var(--space-4) var(--space-4); display: grid; gap: var(--space-3); }
.loop li { display: flex; gap: var(--space-3); align-items: flex-start; }
.loop__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-round); background: var(--danfo); color: var(--on-danfo); border: var(--stroke-control) solid var(--outline); font-family: var(--font-display); font-size: 14px; }
@media (min-width: 820px) {
  .loop__diagram { display: block; }
  .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--stroke-hairline) solid var(--line-board); padding-top: var(--space-4); }
}

/* header section links (wide screens only) */
.head__link { font-weight: 700; font-size: 15px; text-decoration: none; padding: var(--space-2) var(--space-1); border-radius: var(--radius-sm); }
.head__link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .head__link { display: none; } }

.loop__note { margin: 0; padding: 0 var(--space-4) var(--space-4); color: var(--on-board-muted); }
@media (max-width: 819px) { .loop__note { padding-top: var(--space-4); } }

/* how to play: the pre-round steps, then one round as a row of phones joined by a dashed route */
.before__head { margin: var(--space-5) 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 14px; line-height: 16px; letter-spacing: .04em; color: var(--ink-muted); text-transform: uppercase; }
.before { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.before__item { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); background: var(--board); color: var(--on-board); border: var(--stroke-control) solid var(--outline); border-radius: var(--radius-md); }
.before__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-round); background: var(--danfo); color: var(--on-danfo); border: var(--stroke-control) solid var(--outline); }
.before__title { margin: 0 0 2px; font-family: var(--font-display); font-weight: 400; font-size: 15px; line-height: 18px; text-transform: uppercase; }
.before__text { margin: 0; color: var(--on-board-muted); font-size: 14px; line-height: 20px; }

/* phone size: the screens are laid out at 330 x 678 (a 9 : 18.5 portrait phone) and scaled to fit */
.sb-scroll { --pw: 252px; --sc: calc((252 - 22) / 330); margin: var(--space-6) 0 var(--space-5); }
/* a fixed column count per width, so the route line knows where each row starts and ends */
.sbs { --cols: 2; list-style: none; margin: 0 auto; padding: 0 var(--space-4); display: grid; grid-template-columns: repeat(var(--cols), calc(var(--pw) + 24px)); justify-content: center; row-gap: var(--space-6); }
@media (min-width: 860px) { .sbs { --cols: 3; } }
@media (min-width: 1136px) { .sbs { --cols: 4; } }
@media (min-width: 1412px) { .sbs { --cols: 5; } }
.sb { position: relative; width: calc(var(--pw) + 24px); padding: 0 12px; }
.sb-swipe { display: none; }
@media (max-width: 719px) {
  .sb-scroll { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--space-4); padding-bottom: var(--space-3); }
  .sbs { display: flex; width: max-content; padding: 0 var(--space-4); }
  .sb { scroll-snap-align: start; }
  .sb-swipe { display: block; margin: 0 var(--space-4) var(--space-3); font-family: var(--font-display); font-size: 12px; line-height: 14px; letter-spacing: .04em; color: var(--ink-muted); text-transform: uppercase; }
  .sb-swipe::after { content: " \2192"; }
}
/* the route: a dashed line through the stop markers */
.sb__marker { position: relative; height: 44px; margin-bottom: var(--space-3); }
/* each card draws half a dash on each side of its stop; the halves past the first and last stop of a row are dropped, so the line runs circle to circle */
.sb__marker::before, .sb__marker::after { content: ""; position: absolute; top: 50%; margin-top: -2px; border-top: 4px dashed var(--outline); opacity: .3; }
/* stop at the circle's edge (it is 44px across), never drawn over it */
.sb__marker::before { left: -12px; right: calc(50% + 22px); }
.sb__marker::after { left: calc(50% + 22px); right: -12px; }
.sb:first-child .sb__marker::before, .sb:last-child .sb__marker::after { display: none; }
@media (min-width: 720px) and (max-width: 859px) { .sb:nth-child(2n+1) .sb__marker::before, .sb:nth-child(2n) .sb__marker::after { display: none; } }
@media (min-width: 860px) and (max-width: 1135px) { .sb:nth-child(3n+1) .sb__marker::before, .sb:nth-child(3n) .sb__marker::after { display: none; } }
@media (min-width: 1136px) and (max-width: 1411px) { .sb:nth-child(4n+1) .sb__marker::before, .sb:nth-child(4n) .sb__marker::after { display: none; } }
@media (min-width: 1412px) { .sb:nth-child(5n+1) .sb__marker::before, .sb:nth-child(5n) .sb__marker::after { display: none; } }
.sb__n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border-radius: var(--radius-round); background: var(--danfo); color: var(--on-danfo); border: var(--stroke-outline) solid var(--outline); box-shadow: 0 3px 0 var(--outline); font-family: var(--font-display); font-size: 17px; }
.sb--cut .sb__n { background: var(--wahala); color: var(--on-wahala); }
.sb__fig { margin: 0; }
.sb__phone { position: relative; width: var(--pw); margin: 0 auto; padding: 8px; background: var(--asphalt); border: 3px solid var(--outline); border-radius: 30px; box-shadow: 0 5px 0 #141414; }
.sb--cut .sb__phone { border-color: var(--wahala); box-shadow: 0 5px 0 var(--wahala-ink, #141414); }
.sb__screen { position: relative; height: calc(678px * var(--sc)); border-radius: 22px; overflow: hidden; background: var(--surface); color: var(--ink); font-size: 14px; }
.sb__view { position: absolute; left: 0; top: 0; width: 330px; height: 678px; transform: scale(var(--sc)); transform-origin: top left; }
.sb figcaption { margin-top: var(--space-4); }
.sb__step { margin: 0; font-family: var(--font-display); font-size: 12px; line-height: 14px; letter-spacing: .04em; color: var(--ink-muted); text-transform: uppercase; }
.sb--cut .sb__step { color: var(--wahala-ink); }
.sb__title { margin: 4px 0 var(--space-1); font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 24px; text-transform: uppercase; }
.sb__text { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; }

/* board screens: role card, lobby, meeting, Owa, results */
.sb-pad { position: absolute; inset: 0; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; }
.sb-pad--mid { justify-content: center; }
.sb-pad > * { max-width: 100%; }
.sb-hint { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--board); color: var(--on-board); border: 2px solid var(--outline); font-size: 13px; font-weight: 700; }
.sb--owa .sb__screen, .sb--owa .sb-pad { background: var(--asphalt); }
/* the screens are phone-width, so take the components' own narrow-screen layouts */
.sb .wh-meet__row { grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; padding: 3px var(--space-3); gap: var(--space-2); min-height: 46px; }
.sb .wh-meet__keke, .sb .wh-meet__who, .sb .wh-meet__point { grid-row: 1; }
.sb .wh-meet__point { grid-column: 3; min-height: 34px; padding: 0 10px; font-size: 12px; }
.sb .wh-meet__votes { grid-column: 2; grid-row: 2; margin-top: -2px; }
.sb .wh-meet__votes:empty { display: none; }
.sb .wh-meet__votes .wk { width: 26px; height: 18px; }
.sb .wh-meet__keke .wk { width: 48px; height: 33px; }
/* as in the game's meeting: the plate and the name on one line, the status small under them */
.sb .wh-meet__who { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; min-width: 0; line-height: 1.25; }
.sb .wh-meet__id { order: -1; font-size: 0; }
.sb .wh-meet__id b { font-size: 12px; }
.sb .wh-meet__name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sb .wh-meet__status { flex-basis: 100%; font-size: 11px; line-height: 1.2; }
.sb .wh-meet__q { font-size: 18px; padding: 10px var(--space-3) 6px; }
.sb .wh-owa__dropped { left: 2%; }
.sb .wh-owa__dropped .wk { width: 116px; height: 80px; }
.sb .wh-owa__bus .wk { width: 92px; height: 64px; }

/* the HUD over the world, per the portrait frame in 03-game-ux.md */
.hud { position: absolute; inset: 0; background: #1c1c1c; color: var(--harmattan); }
.hud__world { position: absolute; inset: 0; overflow: hidden; }
.hud__top { position: absolute; left: 8px; right: 8px; top: 10px; }
.hud__top .wh-route { padding: 6px 10px; }
.hud__map { position: absolute; right: 8px; top: 64px; transform: scale(.62); transform-origin: top right; }
.hud__map .wh-hud__label { display: none; }
.hud__road { position: absolute; left: 0; right: 0; top: 46%; height: 150px; margin-top: -75px; background: #262626; border-top: 3px solid #303030; border-bottom: 3px solid #303030; }
.hud__lane { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--danfo) 0 24px, transparent 24px 48px); opacity: .45; }
.hud__at { position: absolute; display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.hud__at .wk { display: block; }
.hud__sign { left: 58%; top: calc(46% - 120px); color: var(--danfo); flex-direction: column; gap: 0; }
.hud__sign b { font-family: var(--font-display); font-weight: 400; font-size: 14px; color: var(--harmattan); background: var(--asphalt); border: 2px solid var(--danfo); border-radius: var(--radius-sm); padding: 1px 6px; }
.hud__toast { position: absolute; left: 8px; right: 8px; top: 70px; display: flex; justify-content: center; }
.hud__toast .wh-toast { max-width: 100%; font-size: 13px; }
.hud__alert { position: absolute; left: 8px; right: 8px; top: 66px; }
.hud__alert .wh-alert { gap: 10px; padding: 10px 12px; }
.hud__board { position: absolute; left: 8px; top: 66px; width: 236px; transform: scale(.86); transform-origin: top left; }
.hud__board .wh-stops { max-width: none; }
.hud__stick { position: absolute; left: 22px; bottom: 26px; width: 104px; height: 104px; border-radius: var(--radius-round); border: 3px solid rgba(244, 238, 226, .35); background: rgba(244, 238, 226, .08); }
.hud__stick span { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: var(--radius-round); background: rgba(244, 238, 226, .5); border: 3px solid var(--outline); }
.hud__discs { position: absolute; right: 12px; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: scale(.82); transform-origin: bottom right; }
.hud__discs > .wh-hud:last-child .wh-hud__disc { width: 88px; height: 88px; }
.hud__discs .wh-hud__count { display: none; }
.sb-doing .wh-hud__disc > .wh-icon, .sb-knock .wh-hud__disc > .wh-icon { opacity: 1; }

/* who is where on the road, in the 330 x 678 frame */
.sb-me { left: 26px; top: calc(46% - 62px); }
.sb-me--stop { left: 92px; }
.sb-far { left: 8px; top: calc(46% - 40px); }
.sb--road .sb-me { left: 200px; }
.sb-agb { left: 30px; top: calc(46% - 62px); }
.sb-victim { left: 186px; top: calc(46% - 50px); }
.sb-victim--go { visibility: hidden; }
.sb-body { left: 186px; top: calc(46% - 50px); }
/* NEPA: the world goes dark except for your headlamp */
.sb-dark { position: absolute; inset: 0; background: radial-gradient(ellipse 120px 70px at 190px 44%, rgba(255, 248, 214, .14), rgba(0, 0, 0, .88) 70%); }

/* motion: each loop answers the scene's game event; none of it runs with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .sb--road .hud__lane, .sb--nepa .hud__lane { animation: sb-lane .6s linear infinite; }
  .sb--road .hud__board { animation: sb-board 8s ease infinite; }
  .sb--stop .sb-doing .wh-hud__ring circle { animation: sb-ring 6s ease-in-out infinite; }
  .sb--stop .sb-done { animation: sb-show 6s infinite; }
  .sb--stop .wh-route__fill { animation: sb-fill 6s ease infinite; }
  .sb--stop .wh-route__keke { animation: sb-ride 6s ease infinite; }
  .sb--knock .sb-victim--go { visibility: visible; animation: sb-hide 6s infinite; }
  .sb--knock .sb-victim--down { animation: sb-knocked 6s infinite; }
  .sb--knock .sb-knock .wh-hud__disc { animation: sb-press 6s infinite; }
  .sb--knock .sb-knock .wh-hud__ring circle { animation: sb-cool 6s linear infinite; }
  .sb--nepa .wh-alert { animation: wh-shake .5s ease 0s 1, sb-nudge 6s ease 1s infinite; }
  .sb--report .sb-pulse .wh-hud__disc { animation: sb-pulse 1.4s ease-out infinite; }
  .sb--owa .wh-owa__bus { animation: sb-driveoff 6s ease-in infinite; }
}
@keyframes sb-lane { to { background-position: -48px 0; } }
@keyframes sb-board { 0%, 8% { transform: scale(.86) translateX(-110%); } 18%, 70% { transform: scale(.86) translateX(0); } 80%, 100% { transform: scale(.86) translateX(-110%); } }
@keyframes sb-ring { 0%, 6% { stroke-dashoffset: 207.3; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes sb-show { 0%, 52% { opacity: 0; transform: translateY(-8px); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sb-fill { 0%, 52% { width: 22.22%; } 62%, 100% { width: 33.33%; } }
@keyframes sb-ride { 0%, 52% { left: 22.22%; } 62%, 100% { left: 33.33%; } }
@keyframes sb-hide { 0%, 39.9% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes sb-knocked { 0%, 39.9% { opacity: 0; transform: none; } 40% { opacity: 1; transform: translateX(-6px); } 44% { transform: translateX(5px); } 48% { transform: translateX(-3px); } 52%, 100% { opacity: 1; transform: none; } }
@keyframes sb-press { 0%, 34%, 42%, 100% { transform: none; box-shadow: var(--shadow-board); } 37% { transform: translateY(4px); box-shadow: var(--shadow-press); } }
@keyframes sb-cool { 0%, 39.9% { stroke-dashoffset: 207.3; } 40% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 120; } }
@keyframes sb-nudge { 0%, 90% { transform: none; } 92% { transform: translateX(-6px); } 94% { transform: translateX(5px); } 96% { transform: translateX(-3px); } 98%, 100% { transform: none; } }
@keyframes sb-pulse { 0% { box-shadow: var(--shadow-board), 0 0 0 0 rgba(247, 198, 0, .7); } 100% { box-shadow: var(--shadow-board), 0 0 0 18px rgba(247, 198, 0, 0); } }
@keyframes sb-driveoff { 0%, 25% { transform: translateX(0); } 75%, 100% { transform: translateX(320px); } }

/* carry the pot: night band with three boards */
.money { background: var(--surface); color: var(--ink); }
.money .lede { color: var(--ink-muted); }
.money__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-5); margin-top: var(--space-5); align-items: start; }
.money__board { display: flex; flex-direction: column; }
.money__demo { display: grid; gap: var(--space-3); padding: var(--space-4); background: var(--board-sunken); border-bottom: var(--stroke-hairline) solid var(--line-board); }
.money__demo > * { max-width: 100%; }
.money__demo--coins { justify-items: start; }
.money__list { list-style: none; margin: 0; padding: var(--space-4); display: grid; gap: var(--space-3); color: var(--on-board-muted); font-size: 15px; line-height: 22px; }
.money__list strong { color: var(--on-board); }
.money__fine { margin: var(--space-5) 0 0; color: var(--ink-muted); font-size: 14px; }
@media (max-width: 400px) { .money__grid { grid-template-columns: minmax(0, 1fr); } }

/* screens: portrait phones running the real components */
.shots { list-style: none; padding: 0; display: flex; gap: var(--space-5); margin-top: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3); }
.shot { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.shot img { display: block; width: 100%; height: auto; border-radius: 22px; border: 3px solid var(--ink); background: var(--ink); }
.shot p { margin: var(--space-3) 0 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; }
@media (min-width: 1200px) { .shots { justify-content: center; overflow: visible; } }

/* shop teaser */
.shop { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin-top: var(--space-5); }

/* where to play */
.play__body { padding: var(--space-5) var(--space-5) var(--space-6); }
.play__body p { margin: 0 0 var(--space-5); color: var(--on-board-muted); }

/* 404 */
.lost { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.lost .wk { margin-bottom: var(--space-4); }

/* footer: plain Rubik */
.foot { border-top: var(--stroke-outline) solid var(--outline); padding: var(--space-6) 0 var(--space-7); color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.foot__in p { margin: 0 0 var(--space-2); }
.foot strong { color: var(--ink); }
.foot__small { font-size: 13px; }

/* questions: native <details>, no script */
.faq { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.faq__item { background: var(--board); border: var(--stroke-control) solid var(--outline); border-radius: var(--radius-md); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-4); font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-family: var(--font-display); font-size: 22px; line-height: 1; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0; padding: 0 var(--space-4) var(--space-4); color: var(--on-board-muted); }
.faq__more { margin: var(--space-4) 0 0; color: var(--ink-muted); }

/* where to play: text, buttons and a QR for desktop visitors */
.play__body { display: grid; gap: var(--space-5); align-items: center; }
.play__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.play__wa { margin: var(--space-4) 0 0 !important; }
.play__qr { display: none; margin: 0; text-align: center; color: var(--on-board-muted); font-size: 13px; line-height: 18px; }
.play__qr .qr { display: block; width: 148px; height: 148px; margin: 0 auto var(--space-2); border: var(--stroke-control) solid var(--outline); border-radius: var(--radius-sm); }
@media (min-width: 760px) { .play__body { grid-template-columns: minmax(0, 1fr) 170px; } .play__qr { display: block; } }

/* footer links */
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-bottom: var(--space-4); }
.foot__nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* text pages */
.page { min-height: 60vh; }
.prose { font-size: 16px; line-height: 26px; }
.prose h2 { margin: var(--space-6) 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 24px; text-transform: uppercase; }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--space-4); max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: var(--space-2); }
.prose a { font-weight: 700; text-underline-offset: 3px; }
.prose__updated { margin-top: var(--space-6) !important; color: var(--ink-muted); font-size: 14px; }

/* press kit */
.press__grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .press__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-7); } }
.facts-sheet { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-2) var(--space-4); margin: 0; }
.facts-sheet dt { font-weight: 700; }
.facts-sheet dd { margin: 0; color: var(--ink-muted); }
.press__shots { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-bottom: var(--space-4); }
.press__shots figure { margin: 0; width: 200px; }
.press__shots img { display: block; width: 100%; height: auto; }
.press__shots figcaption { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: var(--space-2); }
.press__logos { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-4); max-width: none !important; }
.press__logos li { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; }
.press__logo { display: grid; place-items: center; height: 110px; padding: var(--space-3); background: var(--board); border: var(--stroke-control) solid var(--outline); border-radius: var(--radius-md); }
.press__logo--dark { background: var(--asphalt); }
.press__logo img { max-height: 84px; width: auto; max-width: 100%; }
.press__swatches { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.press__swatches li { display: flex; align-items: center; gap: var(--space-2); margin: 0; }
.press__swatches span { width: 28px; height: 28px; border-radius: var(--radius-sm); border: var(--stroke-control) solid var(--outline); }

/* printable A4 poster */
.poster-page { background: #888; }
.poster { width: 210mm; min-height: 297mm; margin: 24px auto; background: var(--asphalt); color: var(--harmattan); display: flex; flex-direction: column; overflow: hidden; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.poster__top { padding: 22mm 16mm 6mm; text-align: center; }
.poster__lockup { width: 140mm; height: auto; }
.poster__shout { margin: 10mm 0 0; font-family: var(--font-display); font-size: 15mm; line-height: 1.05; color: var(--danfo); text-transform: uppercase; }
.poster__line { margin: 5mm auto 0; max-width: 150mm; font-size: 6mm; line-height: 1.35; font-weight: 700; }
.poster__road { position: relative; height: 46mm; margin-top: 6mm; }
.poster__road > span { position: absolute; left: 0; right: 0; bottom: 4mm; height: 22mm; background: #262626; border-top: 0; }
.poster__road > span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.2mm dashed var(--danfo); }
.poster__road > div { position: absolute; inset: 0; display: flex; justify-content: space-around; align-items: flex-end; padding-bottom: 2mm; }
.poster__road .wk { width: 52mm; height: auto; }
.poster__bottom { flex: 1; display: flex; align-items: center; gap: 10mm; padding: 10mm 16mm 18mm; background: var(--danfo); color: var(--on-danfo); border-top: 3mm solid var(--outline); }
.poster__qr { flex: none; background: #fff; padding: 4mm; border: 1.2mm solid var(--outline); border-radius: 4mm; }
.poster__qr .qr { display: block; width: 62mm; height: 62mm; }
.poster__how p { margin: 0 0 3mm; font-size: 6mm; line-height: 1.3; font-weight: 700; }
.poster__scan { font-family: var(--font-display); font-size: 16mm !important; line-height: 1 !important; font-weight: 400 !important; text-transform: uppercase; }
.poster__url { font-family: var(--font-display); font-weight: 400 !important; }
.poster__note { margin: 0; padding: 4mm; text-align: center; background: var(--board); color: var(--on-board); font-size: 13px; }
@page { size: A4 portrait; margin: 0; }
@media print { .poster-page { background: none; } .poster { margin: 0; height: 297mm; min-height: 0; } .poster__note { display: none; } }
@media screen and (max-width: 840px) { .poster { width: 100%; min-height: 0; margin: 0; } .poster__bottom { flex-direction: column; text-align: center; } }

/* the park invite (/p/{CODE}) */
.invite { text-align: center; display: grid; gap: var(--space-4, 16px); justify-items: center; }
.invite__kicker { margin: 0; font-family: var(--font-display); font-size: 14px; color: var(--ink-muted, #5f584d); }
.invite__code { margin: 0; }
.invite__code code { display: inline-block; padding: 12px 20px; font-family: var(--font-display); font-size: clamp(40px, 12vw, 72px); letter-spacing: .12em; background: var(--board-sunken, #e8dfcd); border: 3px solid var(--outline, #141414); border-radius: var(--radius-md, 12px); }
.invite__road { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.invite__road .wk { width: 96px; height: auto; }
.invite__steps { margin: 0; padding-left: 1.4em; text-align: left; display: grid; gap: 8px; font-size: 17px; max-width: 30em; }
.invite__desk { display: none; align-items: center; gap: 16px; text-align: left; max-width: 30em; }
.invite__qr { width: 180px; height: 180px; border: 3px solid var(--outline, #141414); border-radius: 12px; background: #fff; }
.invite__or { margin: 0; font-weight: 500; }
.invite__note { margin: 0; font-size: 14px; color: var(--ink-muted, #5f584d); }
/* a phone scans nothing: the QR is for a visitor on a computer */
@media (min-width: 900px) and (hover: hover) { .invite__desk { display: flex; } }
