/* The game world: one look for every screen (docs/design/STYLE-BIBLE.md).
   Game Street is the reference: chunky 3D toy shapes, cream sign boards,
   a district colour on every frame, a soft "lip" under each piece so it
   looks like a toy you can press. Screens build from these tokens and
   w-* pieces only (src/ui/world.js makes them; docs/design/world-kit.html
   shows them all). Touch only: no hover looks; every target at least
   --w-tap. Text sizes stay readable on a TV across the room. */

:root {
  /* Colours, taken from the street's own pictures. */
  --w-sky: #ACE0FE;
  --w-sky-low: #DFF4FB;
  --w-grass: #7BAD48;
  --w-grass-light: #AFD27D;
  --w-road: #474A61;
  --w-board: #FFF8E7;       /* the cream of every sign board */
  --w-board-edge: #E9DDBE;
  /* Game Street's name signs: painted wood (.w-wood-sign, and the 3D signs
     drawn by src/ui/street3dFronts.js). Cream paint on --w-wood is 4.8:1. */
  --w-wood: #9C5B2B;        /* the board's face */
  --w-wood-light: #B9773D;  /* grain highlights, the lit top */
  --w-wood-dark: #5E3417;   /* the frame, grain lines, plank seams */
  --w-wood-edge: #43230E;   /* the lip under the frame, letter outlines */
  --w-paint: #FFF3D6;       /* the painted lettering */
  --w-nail: #9A948C;        /* pewter nail heads */
  --w-rope: #D8B57A;
  --w-ink: #263052;         /* the signs' lettering */
  --w-ink-soft: #4A5274;
  --w-sun: #F2AA1A;         /* the bus: the one colour for "go" */
  --w-sun-edge: #C98100;
  --w-roof: #D86048;
  --w-good: #2FB57A;
  --w-good-edge: #1F8A5B;
  --w-oops: #F08A4B;        /* a miss is a soft orange, never alarm red */
  --w-oops-edge: #C7652C;
  --w-guessing: #3078C0;
  --w-movement: #E04A64;
  --w-learning: #12935F;
  --w-group: #D99100;
  --w-district: var(--w-guessing);
  /* Shapes. */
  --w-radius: 28px;
  --w-radius-s: 18px;
  --w-line: 4px;
  --w-lip: 6px;             /* the toy's thickness under each piece */
  --w-shadow: 0 12px 28px rgb(38 48 82 / 0.18);
  /* Sizes: a 4-year-old's finger, a TV across the room. */
  --w-tap: clamp(64px, 4.5vw, 96px);
  --w-tap-big: clamp(96px, 7vw, 144px);
  --w-text-s: clamp(18px, 1.4vw, 24px);
  --w-text: clamp(20px, 1.9vw, 30px);
  --w-text-l: clamp(26px, 2.8vw, 44px);
  --w-title: clamp(32px, 4.2vw, 68px);
}
[data-district='guessing'] { --w-district: var(--w-guessing); }
[data-district='movement'] { --w-district: var(--w-movement); }
[data-district='learning'] { --w-district: var(--w-learning); }
[data-district='group'] { --w-district: var(--w-group); }

/* A darker edge of any colour, for lips and outlines. */
.w-board, .w-card, .w-pic, .w-btn, .w-turn, .w-timer, .w-dialog, .w-badge, .w-sheet, .w-bubble {
  --w-edge: color-mix(in srgb, var(--w-fill, var(--w-board)) 72%, #000);
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif; color: var(--w-ink);
}

/* The board a game is played on: cream, framed in its district's colour. */
.w-board {
  --w-fill: var(--w-district);
  position: relative; padding: clamp(14px, 2vw, 28px); border-radius: calc(var(--w-radius) + 8px);
  background: var(--w-district); box-shadow: 0 var(--w-lip) 0 var(--w-edge), var(--w-shadow);
}
.w-board > .w-board-in {
  min-height: 100%; padding: clamp(14px, 2vw, 32px); border-radius: var(--w-radius);
  background: var(--w-board); box-shadow: inset 0 4px 0 rgb(0 0 0 / 0.06);
}

/* A cream card, like a shop's sign. */
.w-card {
  padding: clamp(12px, 1.6vw, 24px); border-radius: var(--w-radius);
  background: var(--w-board); box-shadow: 0 var(--w-lip) 0 var(--w-board-edge), var(--w-shadow);
}

/* A painted wood sign: honey planks with a soft grain, a dark wooden frame
   with its lip, a nail in each corner, the words painted on in cream with a
   dark outline. Game Street's name boards and banner. */
.w-wood-sign {
  --nail: radial-gradient(circle at 40% 35%, #FFFFFF 0 12%, var(--w-nail) 22% 46%, var(--w-wood-edge) 50% 58%, transparent 62%);
  border: var(--wood-frame, max(3px, 0.35em)) solid var(--w-wood-dark); border-radius: 0.6em;
  color: var(--w-paint); font-weight: 800;
  background:
    var(--nail) left 0.25em top 0.25em / 0.5em 0.5em no-repeat,
    var(--nail) right 0.25em top 0.25em / 0.5em 0.5em no-repeat,
    var(--nail) left 0.25em bottom 0.25em / 0.5em 0.5em no-repeat,
    var(--nail) right 0.25em bottom 0.25em / 0.5em 0.5em no-repeat,
    linear-gradient(180deg, rgb(255 255 255 / 0.22), transparent 30%, transparent 70%, rgb(0 0 0 / 0.18)),
    repeating-linear-gradient(180deg, transparent 0 calc(50% - 1px), var(--w-wood-dark) calc(50% - 1px) 50%),
    repeating-linear-gradient(177deg, transparent 0 0.5em, color-mix(in srgb, var(--w-wood-dark) 28%, transparent) 0.5em 0.58em, transparent 0.58em 0.9em, color-mix(in srgb, var(--w-wood-light) 50%, transparent) 0.9em 1em, transparent 1em 1.5em),
    repeating-linear-gradient(183deg, transparent 0 0.8em, color-mix(in srgb, var(--w-wood-dark) 18%, transparent) 0.8em 0.86em, transparent 0.86em 1.7em),
    var(--w-wood);
  box-shadow: inset 0 0.12em 0 rgb(255 255 255 / 0.25), inset 0 -0.18em 0.3em rgb(0 0 0 / 0.25),
    0 var(--w-lip) 0 var(--w-wood-edge), var(--w-shadow);
  text-shadow: -1px -1px 0 var(--w-wood-edge), 1px -1px 0 var(--w-wood-edge), -1px 1px 0 var(--w-wood-edge),
    1px 1px 0 var(--w-wood-edge), 0 0.08em 0 var(--w-wood-edge);
}

/* A game picture: the photo on a world card with the district's edge.
   The photos stay photos (easy to recognise); the card makes them ours. */
.w-pic {
  position: relative; display: block; aspect-ratio: 1; padding: 0;
  border: var(--w-line) solid var(--w-district); border-radius: var(--w-radius);
  background: radial-gradient(circle at 50% 40%, #FFFFFF 0 55%, var(--w-board) 100%);
  box-shadow: 0 var(--w-lip) 0 color-mix(in srgb, var(--w-district) 70%, #000), var(--w-shadow);
}
.w-pic img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 6px 6px rgb(0 0 0 / 0.18)); }
button.w-pic { cursor: pointer; touch-action: manipulation; }
/* A wide card: a game's 16:9 card picture, a whole scene, filling it to the edge. */
.w-pic.wide { aspect-ratio: 16 / 9; background: var(--w-board); overflow: hidden; }
.w-pic.wide img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.w-pic.wide img:not([src]) { visibility: hidden; }

/* Buttons: a toy you press. The icon says what it does; the word is for
   grown-ups and readers, never needed. */
.w-btn {
  --w-fill: var(--w-sun);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: var(--w-tap); min-height: var(--w-tap); padding: 0 clamp(18px, 2vw, 30px);
  border: 0; border-radius: 999px; background: var(--w-fill); color: var(--w-ink);
  font-size: var(--w-text); font-weight: 800; line-height: 1;
  box-shadow: 0 var(--w-lip) 0 var(--w-edge), 0 10px 18px rgb(0 0 0 / 0.16);
  cursor: pointer; touch-action: manipulation; transition: transform 0.08s, box-shadow 0.08s;
}
.w-btn:active:not(:disabled) { transform: translateY(var(--w-lip)); box-shadow: 0 0 0 var(--w-edge), 0 4px 8px rgb(0 0 0 / 0.16); }
.w-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.w-btn:focus-visible { outline: 5px solid var(--w-ink); outline-offset: 4px; }
.w-obj { object-fit: contain; display: inline-block; vertical-align: middle; }
.w-btn .w-icon { width: 1.4em; height: 1.4em; flex: none; }
.w-btn.soft { --w-fill: var(--w-board); }
.w-btn.good { --w-fill: var(--w-good); color: var(--w-ink); }
.w-btn.oops { --w-fill: var(--w-oops); color: var(--w-ink); }
.w-btn.district { --w-fill: var(--w-district); color: #FFFFFF; }
/* Ink, not white, on the light fills: white on green, orange or the Group
   gold is under 3:1; ink is near 5:1 (WCAG AA). */
[data-district='group'] .w-btn.district, .w-btn.district[data-district='group'] { color: var(--w-ink); }
/* Icon only: a round button. */
.w-btn.round { padding: 0; width: var(--w-tap); border-radius: 50%; }
.w-btn.round .w-icon { width: 55%; height: 55%; }
/* The one big "go" on a screen: Start, Next. */
.w-btn.go { min-width: var(--w-tap-big); min-height: var(--w-tap-big); font-size: var(--w-text-l); }
.w-btn.go.round { width: var(--w-tap-big); }
/* A painted thing on the go button (button({ pic })): bigger than a line
   icon, overhanging the pill a little; it wiggles twice when it shows, to be
   tapped (the coin button's wiggle). */
.w-btn.go .w-obj { width: 2.1em; height: 2.1em; margin-block: -0.45em; filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.18)); animation: w-wiggle 0.9s ease-in-out 0.6s 2; }
@media (prefers-reduced-motion: reduce) { .w-btn.go .w-obj { animation: none; } }

/* Toy coin buttons (world.js coinButton): a cream pill, ink outline and an
   ink lip; the icon on a tilted coin in a district colour poking out of the
   left. The words never vanish: on short or narrow screens the short word
   takes over, and on narrow ones the button becomes a tile, coin on top. */
.w-coin-btn {
  --w-coin: var(--w-district);
  position: relative; display: inline-flex; align-items: center; gap: 0.45em; flex: none;
  min-height: var(--w-tap); padding: 0 1em 0 0.35em; margin-left: 0.7em;
  border: var(--w-line) solid var(--w-ink); border-radius: 999px; background: var(--w-board); color: var(--w-ink);
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif; font-size: var(--w-text); font-weight: 800; line-height: 1; white-space: nowrap;
  box-shadow: 0 var(--w-lip) 0 var(--w-ink), var(--w-shadow);
  cursor: pointer; touch-action: manipulation; transition: transform 0.08s, box-shadow 0.08s;
}
.w-coin-btn[data-coin='guessing'] { --w-coin: var(--w-guessing); }
.w-coin-btn[data-coin='movement'] { --w-coin: var(--w-movement); }
.w-coin-btn[data-coin='learning'] { --w-coin: var(--w-learning); }
.w-coin-btn[data-coin='group'] { --w-coin: var(--w-group); }
.w-coin {
  flex: none; display: grid; place-items: center; width: 1.95em; height: 1.95em; margin-left: -0.95em;
  border: var(--w-line) solid var(--w-ink); border-radius: 50%; background: var(--w-coin); color: #FFFFFF;
  box-shadow: inset 0 -5px 0 rgb(0 0 0 / 0.2), inset 0 4px 0 rgb(255 255 255 / 0.35), 0 4px 0 var(--w-ink);
  transform: rotate(-10deg); transition: transform 0.12s;
}
/* Ink on the gold coin: white on Group gold is under 3:1. */
.w-coin-btn[data-coin='group'] .w-coin { color: var(--w-ink); }
.w-coin .w-icon { width: 58%; height: 58%; }
.w-coin-btn:nth-child(even) .w-coin { transform: rotate(9deg); }
.w-coin-btn .w-short { display: none; }
.w-coin-btn:active:not(:disabled) { transform: translateY(var(--w-lip)) scale(1.03, 0.94); box-shadow: 0 0 0 var(--w-ink), 0 4px 8px rgb(38 48 82 / 0.2); }
.w-coin-btn:active:not(:disabled) .w-coin { animation: w-wiggle 0.35s ease-out; }
@media (hover: hover) { .w-coin-btn:hover:not(:disabled) .w-coin { transform: rotate(-18deg) scale(1.08); } }
.w-coin-btn:focus-visible { outline: 5px solid var(--w-ink); outline-offset: 5px; }
.w-coin-btn:disabled { opacity: 0.45; cursor: not-allowed; }
/* The one big go: sun yellow, its arrow on an ink coin at the right. */
.w-coin-btn.go {
  --w-coin: var(--w-ink);
  min-height: var(--w-tap-big); padding: 0 0.35em 0 1.1em; margin-left: 0;
  background: var(--w-sun); font-size: var(--w-text-l);
  box-shadow: 0 calc(var(--w-lip) + 2px) 0 var(--w-ink), var(--w-shadow);
}
.w-coin-btn.go .w-coin { width: 1.7em; height: 1.7em; margin: 0 0 0 0.15em; transform: none; }
/* No coin colour: a plain round icon button (Back, ⋯). */
.w-coin-btn.bare { justify-content: center; width: var(--w-tap); padding: 0; margin: 0; }
.w-coin-btn.bare .w-coin { width: 100%; height: 100%; margin: 0; border: 0; box-shadow: none; background: none; color: var(--w-ink); transform: none; animation: none; }
.w-coin-btn.bare .w-icon { width: 1.3em; height: 1.3em; }
/* Short words: a phone held sideways, or wherever a row is told to. */
.w-coins-short .w-coin-btn .w-words { display: none; }
.w-coins-short .w-coin-btn .w-short { display: inline; }
/* Tiles: coin on top, the short word under; a row of them in a grid. */
.w-coins-tiles .w-coin-btn:not(.go):not(.bare) {
  flex-direction: column; justify-content: center; gap: 4px; min-width: 0; width: 100%;
  min-height: 76px; margin: 16px 0 0; padding: 0 2px 8px; border-radius: var(--w-radius-s); font-size: var(--w-text-s);
}
.w-coins-tiles .w-coin-btn:not(.go):not(.bare) .w-coin { width: 40px; height: 40px; margin: -20px 0 0; }
.w-coins-tiles .w-coin-btn .w-words { display: none; }
.w-coins-tiles .w-coin-btn .w-short { display: inline; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.w-coins-tiles .w-coin-btn.go { grid-column: 1 / -1; justify-content: space-between; min-height: 80px; font-size: 24px; }
@keyframes w-wiggle { 30% { transform: rotate(-22deg) scale(1.1); } 65% { transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .w-coin-btn, .w-coin { transition: none; } .w-coin-btn:active:not(:disabled) .w-coin { animation: none; } }

/* Whose turn: the player's face in their colour, big enough for the TV. */
.w-turn {
  --w-fill: var(--w-player, var(--w-sun));
  display: inline-flex; align-items: center; gap: clamp(10px, 1.4vw, 20px);
  padding: 8px clamp(18px, 2vw, 32px) 8px 8px; border-radius: 999px;
  background: var(--w-player, var(--w-sun)); color: var(--w-ink);
  box-shadow: 0 var(--w-lip) 0 var(--w-edge), var(--w-shadow);
}
.w-turn .w-face {
  display: grid; place-items: center; width: clamp(64px, 7vw, 112px); aspect-ratio: 1;
  border: var(--w-line) solid #FFFFFF; border-radius: 50%; background: var(--w-board);
}
/* The player's picture fills the circle; what they wear (a hat, a badge, a
   pet: .avatar-hat and the rest) keeps its own size and pokes out of it. */
.w-turn .w-face > img, .w-turn .w-face > .avatar { width: 100%; height: 100%; object-fit: cover; }
.w-turn.no-face { padding-left: clamp(18px, 2vw, 32px); }
.w-turn .w-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.w-turn .w-tag { font-size: var(--w-text-s); font-weight: 700; line-height: 1; opacity: 0.8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-turn .w-name { font-size: var(--w-text-l); font-weight: 800; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The clock: a big ring of time, in the middle of the action, not a corner. */
.w-timer {
  --w-fill: var(--w-board);
  position: relative; display: grid; place-items: center;
  width: clamp(72px, 8vw, 128px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--w-sun) calc(var(--w-left, 1) * 360deg), var(--w-board-edge) 0);
  box-shadow: 0 var(--w-lip) 0 var(--w-board-edge), var(--w-shadow);
}
.w-timer::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; background: var(--w-board); }
.w-timer b { position: relative; font-size: var(--w-text-l); font-weight: 800; }
.w-timer.hurry { background: conic-gradient(var(--w-oops) calc(var(--w-left, 1) * 360deg), var(--w-board-edge) 0); }

/* A small label on something: Premium, a level, "new". */
.w-badge {
  --w-fill: var(--w-sun);
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px;
  background: var(--w-fill); font-size: var(--w-text-s); font-weight: 800; white-space: nowrap;
  box-shadow: 0 3px 0 var(--w-edge);
}
.w-badge .w-icon { width: 1.1em; height: 1.1em; }

/* A question to a grown-up or a child: a board with big ✓ and ✕. */
.w-dialog {
  max-width: min(720px, calc(100vw - 32px)); padding: clamp(18px, 2.4vw, 32px); border: 0;
  border-radius: calc(var(--w-radius) + 8px); background: var(--w-board);
  box-shadow: 0 var(--w-lip) 0 var(--w-board-edge), 0 24px 60px rgb(0 0 0 / 0.3);
  font-size: var(--w-text); text-align: center;
}
.w-dialog::backdrop { background: rgb(38 48 82 / 0.45); }
.w-dialog .w-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; }

/* A sheet over the bottom of the screen (who is playing, settings). */
.w-sheet {
  padding: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px) calc(clamp(16px, 2vw, 28px) + env(safe-area-inset-bottom));
  border-radius: calc(var(--w-radius) + 8px) calc(var(--w-radius) + 8px) 0 0; background: var(--w-board);
  box-shadow: 0 -12px 40px rgb(0 0 0 / 0.25);
}

/* The host: one of the bus riders, with what they say in a bubble. The
   voice says it too; the words are for grown-ups. */
.w-host { display: inline-flex; align-items: flex-end; gap: 10px; }
.w-host-pic { width: clamp(80px, 10vw, 160px); flex: none; filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.2)); }
.w-host.bounce .w-host-pic { animation: w-bounce 0.7s ease-out; }
.w-bubble {
  position: relative; margin-bottom: 30%; padding: 12px 20px; border-radius: 24px; background: #FFFFFF;
  font-size: var(--w-text); font-weight: 700; box-shadow: var(--w-shadow);
}
.w-bubble::after {
  content: ''; position: absolute; left: -10px; bottom: 16px; border: 10px solid transparent;
  border-right-color: #FFFFFF; border-left: 0;
}
/* Stacked: the bubble over the host, where the screen is short of width. */
.w-host.stack { flex-direction: column-reverse; align-items: center; gap: 0; }
.w-host.stack .w-bubble { margin: 0 0 12px; text-align: center; }
.w-host.stack .w-bubble::after { left: 50%; bottom: -10px; transform: translateX(-50%); border: 10px solid transparent; border-top-color: #FFFFFF; border-bottom: 0; }
@keyframes w-bounce { 0% { transform: translateY(0); } 30% { transform: translateY(-18%) scale(1.04, 0.96); } 60% { transform: translateY(0) scale(0.97, 1.03); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .w-host.bounce .w-host-pic { animation: none; } }

/* The prize wheel (world.js wheel): it spins and stops with its slice under
   the pointer at the top. */
.w-wheel { --w-wheel-a: var(--w-board); --w-wheel-b: color-mix(in srgb, var(--w-sun) 45%, var(--w-board));
  --w-wheel-c: color-mix(in srgb, var(--w-good) 35%, var(--w-board)); position: relative; width: clamp(170px, 36vh, 380px); aspect-ratio: 1; }
.w-wheel-disc { position: absolute; inset: 0; border-radius: 50%; color: var(--w-ink);
  box-shadow: 0 0 0 var(--w-line) var(--w-ink), 0 var(--w-lip) 0 var(--w-line) var(--w-ink), var(--w-shadow);
  animation: w-wheel-spin 2.6s linear both; animation-delay: var(--w-age, 0ms); }
/* A real wheel: it speeds off, slows down, runs a little past its slice and
   rocks back onto it. */
@keyframes w-wheel-spin {
  0% { rotate: 0deg; animation-timing-function: cubic-bezier(0.3, 0.1, 0.25, 1); }
  80% { rotate: calc(var(--w-turn) + 9deg); animation-timing-function: ease-in-out; }
  91% { rotate: calc(var(--w-turn) - 3deg); animation-timing-function: ease-in-out; }
  100% { rotate: var(--w-turn); }
}
/* The hub: a cream cap with an ink ring, like the toy's axle. */
.w-wheel::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: var(--w-sun); box-shadow: 0 0 0 var(--w-line) var(--w-ink), inset 0 -5px 0 var(--w-sun-edge); }
.w-wheel-slice { position: absolute; left: 50%; top: 50%; width: 28%; translate: -50% -50%; rotate: var(--w-at); transform: translateY(-115%);
  display: grid; justify-items: center; gap: 0; font-size: var(--w-text); font-weight: 800; line-height: 1; }
.w-wheel-slice .w-icon { width: 62%; height: auto; }
/* The slice it stops on bounces up twice. */
.w-wheel-slice.win { animation: w-wheel-win 420ms cubic-bezier(0.34, 1.56, 0.64, 1) 2; animation-delay: calc(var(--w-age, 0ms) + 2600ms); }
@keyframes w-wheel-win { 50% { scale: 1.35; } }
/* The pointer flicks on the pegs: fast while the wheel races, slower as it stops. */
.w-wheel-pointer { position: absolute; z-index: 1; left: 50%; top: -4%; translate: -50% 0; width: 0; height: 0; transform-origin: 50% 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid var(--w-roof);
  filter: drop-shadow(0 3px 0 var(--w-ink)); animation: w-wheel-flick 2.6s linear both; animation-delay: var(--w-age, 0ms); }
@keyframes w-wheel-flick {
  0%, 4%, 8%, 12%, 16%, 20%, 24%, 28%, 33%, 38%, 44%, 51%, 59%, 68%, 79%, 100% { rotate: 0deg; }
  2%, 6%, 10%, 14%, 18%, 22%, 26%, 30%, 35.5%, 41%, 47.5%, 55%, 63.5%, 73.5%, 85% { rotate: -16deg; }
}
@media (prefers-reduced-motion: reduce) { .w-wheel-pointer, .w-wheel-slice.win { animation: none; } }
@media (prefers-reduced-motion: reduce) { .w-wheel-disc { animation-duration: 0.01s; } }

/* The joystick (world.js stick): a cream toy base with its lip, a ring of
   the road inside, and the sun-yellow knob with the bus on it. */
.w-stick {
  position: relative; width: calc(var(--w-tap-big) * 1.55); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--w-road) 18%, var(--w-board)) 0 46%, var(--w-board) 47%);
  box-shadow: 0 0 0 var(--w-line) var(--w-ink), 0 var(--w-lip) 0 var(--w-line) var(--w-ink), var(--w-shadow);
}
.w-stick-knob {
  width: var(--w-tap); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--w-sun); color: var(--w-ink); pointer-events: none;
  box-shadow: 0 0 0 var(--w-line) var(--w-ink), 0 var(--w-lip) 0 var(--w-line) var(--w-ink);
  transition: transform 0.15s ease-out;
}
.w-stick.held .w-stick-knob { transition: none; }
.w-stick-knob .w-icon { width: 55%; height: 55%; }
@media (prefers-reduced-motion: reduce) { .w-stick-knob { transition: none; } }
