:root {
  --accent: #f2a93b;
  --ink: #1f2328;
  --paper: #fbfaf7;
  --muted: #6b665d;
}

* { box-sizing: border-box; }
/* `hidden` always hides, even on things whose class sets a display (.btn is inline-flex): without this the
   Tilt button, hidden on anything without touch, still showed on desktops. */
[hidden] { display: none !important; }
html, body {
  margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none;
  background: #2a2622; color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* ── The room ─────────────────────────────────────────────────── */
.stage {
  position: fixed; inset: 0; overflow: hidden;
  touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none;
}
.stage.pointing { cursor: pointer; }
.stage.dragging { cursor: grabbing; }
.stage canvas { display: block; width: 100%; height: 100%; }

/* Masking-tape labels. They're real buttons, so they're also the keyboard and
   screen-reader way round the room. Positioned by room.js every frame. */
.tags { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.tag {
  position: absolute; left: 0; top: 0;
  font: 600 14px/1 Inter, system-ui, sans-serif; white-space: nowrap;
  padding: 7px 11px; border: 0; border-radius: 2px;
  background: #f4e7bf; color: #3b3324; box-shadow: 0 2px 6px #0003;
  opacity: 0; pointer-events: none; cursor: pointer; transition: opacity .2s;
}
body.labels .tag, body.labels-key .tag.key, .tag.hover, .tag.active, .tag:focus-visible { opacity: 1; pointer-events: auto; }
.tag:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
body.labels .tag.quiet:not(.hover):not(.active):not(:focus-visible) { opacity: 0; pointer-events: none; }
.tag.off { opacity: 0 !important; pointer-events: none !important; }
@media (prefers-reduced-motion: reduce) { .tag { transition: none; } }

/* ── HUD ─────────────────────────────────────────────────────── */
.pill {
  background: rgb(251 250 247 / .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; box-shadow: 0 2px 12px rgb(0 0 0 / .18);
}
.hud-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: flex-end; align-items: center; gap: 8px;
  padding: max(16px, env(safe-area-inset-top)) 16px 0; pointer-events: none;
}
.hud-top > * { pointer-events: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer;
  padding: 9px 15px; font: 500 14px Inter, system-ui, sans-serif; color: var(--ink);
}
.btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.btn:focus-visible, .devbar button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The HUD's buttons are round icons (Tilt, Labels, the prototype cog); their names are aria-labels and titles. */
.icon-btn { width: 40px; height: 40px; padding: 0; justify-content: center; gap: 0; }
.icon-btn[aria-expanded="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 12px rgb(0 0 0 / .18), inset 0 0 0 2px var(--ink); }
/* Labels: the icon opens a little menu (Off, Necessary, All); picking one closes it. The icon is dark while
   labels are on. */
.menu-wrap { position: relative; }
.menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 6; min-width: 150px;
  display: flex; flex-direction: column; padding: 6px; border-radius: 14px;
}
.menu[hidden] { display: none; }
.menu button {
  display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; text-align: left;
  padding: 8px 10px; border-radius: 9px; font: 500 14px Inter, system-ui, sans-serif; color: var(--ink);
}
.menu button::before { content: ''; width: 14px; flex: none; text-align: center; }
.menu button[aria-checked="true"]::before { content: '✓'; }
.menu button:hover, .menu button:focus-visible { background: rgb(0 0 0 / .07); outline: none; }


.hint {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 5;
  transform: translateX(-50%); padding: 10px 18px; font-size: 14px; white-space: nowrap;
  transition: opacity .6s; pointer-events: none;
}
.hint.gone { opacity: 0; }
/* Prototype controls: a cog in the bottom right; its panel opens above it. */
.devbar {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 5;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: calc(100vw - 32px);
}
.dev-panel { border-radius: 16px; padding: 8px 12px; font-size: 13px; max-height: calc(100vh - 140px); overflow: auto; }
.dev-panel[hidden] { display: none; }
#devBtn { color: var(--muted); }
.dev-row { display: flex; align-items: center; gap: 4px; margin: 4px 0; flex-wrap: wrap; }
.dev-row > span { width: 58px; color: var(--muted); }
.dev-row input[type="range"] { width: 150px; accent-color: var(--ink); }
.dev-row output { font-variant-numeric: tabular-nums; color: var(--muted); }
.dev-panel button {
  border: 1px solid #d6d0c4; background: #fff; border-radius: 999px; padding: 4px 10px;
  font: 500 12px Inter, sans-serif; cursor: pointer; color: var(--ink);
}
.dev-panel button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dev-status { margin: 8px 0 2px; color: var(--muted); font-size: 12px; max-width: 340px; }

/* ── Detail panel (side panel on desktop, bottom sheet on phones) ── */
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 10; width: min(420px, 100vw);
  background: var(--paper); box-shadow: -8px 0 40px rgb(0 0 0 / .25);
  transform: translateX(105%); transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  overflow-y: auto; overscroll-behavior: contain;
}
.panel.open { transform: none; }
.panel .close {
  position: sticky; top: 12px; float: right; margin: 12px 12px 0 0;
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #ece7dd;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink);
}
.panel-body { padding: 28px 28px 40px; }
.panel .kicker { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.panel h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.15; }
.panel h3 { margin: 24px 0 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.panel .lede { font-size: 16px; line-height: 1.5; margin: 0; }
.panel ul { margin: 0; padding-left: 20px; line-height: 1.55; }
.panel li { margin: 4px 0; }
.panel p { line-height: 1.55; }
/* A post-it, in the colour and the hand of the one on the wall (notes.js). */
.panel blockquote {
  margin: 8px 0 16px; padding: 22px 24px 18px; background: var(--paper, #f7e38a); transform: rotate(-1.2deg);
  background-image: linear-gradient(rgb(60 40 0 / .06), transparent 22%);
  font: 400 30px/1.15 'Covered By Your Grace', cursive; color: #20232b; box-shadow: 0 8px 18px -6px rgb(0 0 0 / .25);
}
.panel blockquote cite { font: 400 20px 'Covered By Your Grace', cursive; text-align: right; color: #20232b; }
/* The whiteboard typed up, in the board's colour code (NOTES in js/style.js): black titles and
   main points, blue definitions, red maths, green notes. */
.wb { display: grid; gap: 14px; margin-top: 18px; }
.wb section { padding: 12px 16px; border: 2px solid #e4e1d9; border-radius: 22px; background: #fdfdfb; }
.wb h4 { margin: 0 0 6px; font: 400 23px/1.2 Mynerve, cursive; color: #1d2128; text-decoration: underline double; text-underline-offset: 5px; -webkit-text-stroke: .5px currentColor; }
.wb p { margin: 2px 0; font: 400 18px/1.35 Mynerve, cursive; color: #1d2128; }
.wb u { text-decoration: underline double; text-underline-offset: 4px; }
.wb .wb-def { color: #1f4fb2; }
.wb .wb-maths, .wb .wb-red { color: #cc2a2a; }
.wb .wb-maths { padding-left: 12px; }
.wb .wb-note { color: #16864a; padding-left: 26px; }
.wb .wb-note::before { content: '↳ '; }
.wb .wb-item::before { content: '• '; }
.wb .wb-todo::before { content: '☐ '; }
.wb .wb-done::before { content: '☑ '; color: #16864a; }
.panel cite { display: block; margin-top: 10px; font: 400 15px Inter, sans-serif; color: #5a5446; }
.live { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: 15px; }
.live dt { color: var(--muted); }
.live dd { margin: 0; font-weight: 500; }
.plan-note { margin-top: 28px; padding: 12px 14px; border-left: 3px solid var(--accent); background: #f3eee4; font-size: 13px; color: #5a5446; }
/* Real entries (the CV): a timeline of places, most recent first. */
.entries { list-style: none; margin: 20px 0 0; padding: 0; }
.entries li { position: relative; padding: 0 0 18px 18px; border-left: 2px solid #e4dccb; margin-left: 4px; }
.entries li::before { content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.entries li:last-child { border-left-color: transparent; padding-bottom: 0; }
.entry-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 15px; }
.entry-head .when { font-size: 13px; color: var(--muted); white-space: nowrap; }
.entry-sub { font-size: 14px; color: #5a5446; margin-top: 2px; }
.entries p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.panel .foot { margin-top: 20px; font-size: 13px; color: var(--muted); }
/* A record: the artist, its year and label, and the button to listen. */
.panel .record-by { margin: -4px 0 16px; font-size: 17px; font-weight: 600; }
.panel .record-by span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.panel .listen {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 18px 11px 14px;
  border-radius: 999px; background: #1db954; color: #0b1a10; font-weight: 700; font-size: 15px; text-decoration: none;
}
.panel .listen::before { content: '▶'; font-size: 11px; }
.panel .listen:hover { background: #22d160; }
.panel .listen:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.panel .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.panel .link-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 13px; border-radius: 999px;
  background: var(--brand, #2b2724); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
}
.panel .link-btn svg { width: 18px; height: 18px; flex: none; }
.panel .link-btn.linkedin { --brand: #0a66c2; }
.panel .link-btn.x { --brand: #14171a; }
.panel .link-btn.instagram { background: linear-gradient(45deg, #f6a03a, #e1306c 45%, #833ab4); }
.panel .link-btn.telegram { --brand: #229ed9; }
.panel .link-btn.strava { --brand: #fc4c02; }
.panel a.link-btn:hover { filter: brightness(1.1); }
.panel a.link-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.panel .link-btn.soon { opacity: .55; cursor: default; }
.panel .link-btn small { font-weight: 500; font-size: 12px; opacity: .85; }
@media (prefers-reduced-motion: no-preference) { .panel a.link-btn { transition: filter .15s; } }
@media (prefers-reduced-motion: reduce) { .panel { transition: none; } }

/* Keep in sync with sheetMQ in js/main.js */
@media (max-width: 720px), (orientation: portrait) and (max-width: 900px) {
  .panel {
    top: auto; left: 0; width: 100vw; height: 58vh; border-radius: 20px 20px 0 0;
    transform: translateY(105%); box-shadow: 0 -8px 40px rgb(0 0 0 / .25);
  }
  body.panel-open .devbar, body.panel-open .hint, body.panel-open .tilt { display: none; }
  .hint { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 116px); }
  .panel-body { padding: 20px 22px 32px; }
}

/* ── Darts (js/darts.js) ───────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.playing .tags, body.playing .devbar, body.playing .hint,
body.playing .tilt, body.playing .labels-wrap { display: none; }
body.playing .stage { cursor: crosshair; }

/* A chalk scoreboard in a walnut frame. */
.game-hud {
  position: fixed; left: 16px; top: 76px; z-index: 6; width: 280px;
  display: flex; flex-direction: column; gap: 10px;
}
.game-hud[hidden] { display: none; }
.chalk {
  background: #26322b; color: #f3efe4; border: 9px solid #6e3f24; border-radius: 10px;
  box-shadow: inset 0 0 0 2px #0003, 0 10px 30px rgb(0 0 0 / .35); padding: 12px 16px 14px;
  font-family: Caveat, cursive;
}
.chalk p { margin: 0; }
.game-kicker { font: 600 11px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #b9c4b4; }
.darts-left { font-size: 84px; font-weight: 700; line-height: .95; letter-spacing: -.01em; }
.darts-turn { display: flex; gap: 8px; list-style: none; margin: 6px 0 8px; padding: 0; }
.darts-turn li {
  flex: 1; text-align: center; font-size: 26px; font-weight: 700; line-height: 1.3;
  border-bottom: 2px solid rgb(243 239 228 / .35);
}
.darts-out { font-size: 24px; color: #f6d77a; min-height: 1.2em; }
.darts-stats { font: 500 12px Inter, sans-serif; color: #b9c4b4; margin-top: 4px !important; }
.darts.over .darts-left { color: #9fdc86; }
.game-help { margin: 0; padding: 9px 13px; font-size: 13px; line-height: 1.4; border-radius: 12px; background: rgb(251 250 247 / .9); color: var(--ink); }
.game-buttons { display: flex; gap: 8px; }
.game-buttons button {
  flex: 1; border: 0; border-radius: 999px; padding: 9px 12px; cursor: pointer;
  font: 600 13px Inter, sans-serif; background: rgb(251 250 247 / .92); color: var(--ink); box-shadow: 0 2px 10px rgb(0 0 0 / .2);
}
.game-buttons button:first-child { background: var(--ink); color: #fff; }
.game-buttons button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.game-buttons kbd { font: 500 10px Inter, sans-serif; opacity: .55; margin-left: 4px; }

/* The aim: a ring as wide as your hand's wobble, a cross where the dart would go. */
.reticle { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 4; pointer-events: none; overflow: visible; }
.reticle.off { display: none; }
.ret-ring { fill: rgb(255 248 230 / .1); stroke: #fff8e6; stroke-width: 2; filter: drop-shadow(0 0 1.2px #1d1612) drop-shadow(0 0 1.2px #1d1612); }
.ret-cross { stroke: #fff8e6; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 1.2px #1d1612) drop-shadow(0 0 1px #1d1612); }
.ret-cross circle { fill: var(--accent); stroke: #1d1612; stroke-width: 1.4; }
/* The throw meter: shown while you wind up. Gold = perfect, green = good. */
.ret-meter { display: none; filter: drop-shadow(0 0 1.2px #1d1612) drop-shadow(0 0 1px #1d1612); }
.reticle.winding .ret-meter { display: inline; }
.ret-bar { fill: rgb(29 22 18 / .75); stroke: #fff8e6; stroke-width: 1.5; }
.ret-good { fill: #5fb86a; }
.ret-perfect { fill: #ffd84a; }
.ret-mark path { stroke: #fff8e6; stroke-width: 3.5; stroke-linecap: round; }
.reticle[data-phase="perfect"] .ret-ring { stroke: #ffd84a; stroke-width: 3; }
.reticle[data-phase="good"] .ret-ring { stroke: #8fdc8a; stroke-width: 2.5; }

/* Hold to throw: on touch screens, where a finger aims rather than throws. */
.darts-throw {
  display: none; position: fixed; right: 18px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 104px); z-index: 6;
  width: 84px; height: 84px; border-radius: 50%; border: 4px solid #1d1612; cursor: pointer;
  background: var(--accent); color: #1d1612; font: 800 16px Inter, sans-serif; touch-action: none;
  box-shadow: 0 6px 18px rgb(0 0 0 / .35); user-select: none; -webkit-user-select: none;
}
.darts-throw:active { transform: scale(.94); background: #ffd84a; }
.darts-throw:disabled { opacity: .45; }
@media (pointer: coarse) { .darts-throw { display: block; } }

/* The calls: anime title cards, inked. */
.game-pop {
  position: fixed; left: 50%; top: 42%; z-index: 7; pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%) rotate(-5deg); white-space: nowrap; text-align: center;
  font: italic 900 clamp(34px, 7.5vw, 104px)/1 "Arial Black", Inter, system-ui, sans-serif; letter-spacing: -.02em;
  color: #ffd84a; -webkit-text-stroke: 8px #1d1612; paint-order: stroke fill;
  text-shadow: 6px 6px 0 #1d1612;
}
.game-pop.bust { color: #ff6b4a; }
.game-pop.win { color: #9fdc86; }
.game-pop.max { color: #ffd84a; font-size: clamp(26px, 5.4vw, 80px); }
.game-pop.show { animation: gamePop 1.7s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes gamePop {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-5deg) scale(.35); }
  14% { opacity: 1; transform: translate(-50%, -50%) rotate(-5deg) scale(1.08); }
  24%, 78% { opacity: 1; transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -58%) rotate(-5deg) scale(1); }
}
.game-float {
  position: fixed; left: 0; top: 0; z-index: 5; pointer-events: none;
  font: 800 18px Inter, system-ui, sans-serif; color: #fff8e6; -webkit-text-stroke: 4px #1d1612; paint-order: stroke fill;
}
.game-float small { display: block; font-size: 12px; -webkit-text-stroke: 3px #1d1612; }
.game-float.perfect small { color: #ffd84a; }
.game-float.good small { color: #8fdc8a; }
.game-float.early small, .game-float.late small { color: #ff8a6a; }
.game-float { animation: gameFloat 1.1s ease-out forwards; margin: -34px 0 0 10px; }
@keyframes gameFloat { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -26px; } }
@media (prefers-reduced-motion: reduce) {
  .game-pop.show { animation: dartsFade 1.7s linear forwards; }
  .game-float { animation: dartsFade 1.1s linear forwards; }
}
@keyframes dartsFade { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }

/* Phones: the scoreboard runs across the top, the board fills the rest. Keep in sync with sheetMQ. */
@media (max-width: 720px), (orientation: portrait) and (max-width: 900px) {
  .game-hud { left: 10px; right: 10px; top: 64px; width: auto; gap: 6px; }
  .chalk { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 8px 12px; border-width: 7px; }
  .game-kicker, .darts-stats { grid-column: 1 / -1; }
  .darts-left { font-size: 58px; grid-row: 2 / 4; }
  .darts-turn { margin: 2px 0; }
  .darts-turn li { font-size: 22px; }
  .darts-out { font-size: 20px; }
  .game-help { position: fixed; left: 10px; right: 10px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 46px); font-size: 12px; padding: 7px 11px; }
  .game-buttons { position: fixed; left: 10px; right: 10px; bottom: max(14px, env(safe-area-inset-bottom)); }
}

/* ── Paper toss (js/toss.js) ───────────────────────────────────── */
/* A sheet off a notepad: ruled lines, a red margin. */
.note {
  position: relative; padding: 12px 16px 12px 30px; border-radius: 4px; color: #2b2724; font-family: Caveat, cursive;
  background: repeating-linear-gradient(#fbf6ea 0 23px, #c9d8e8 23px 24px) #fbf6ea; box-shadow: 0 10px 30px rgb(0 0 0 / .3);
  transform: rotate(-1deg);
}
.note::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: #e6857a; }
.note p { margin: 0; }
.note .game-kicker { color: #6b665d; }
.toss-round { font-size: 52px; font-weight: 700; line-height: 1; }
.toss-papers { display: flex; gap: 10px; list-style: none; margin: 8px 0; padding: 0; }
.toss-papers li { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed #8b8478; }
.toss-papers li.now { border-style: solid; border-color: #2b2724; }
.toss-papers li.in { border: 0; background: radial-gradient(circle at 35% 35%, #fff, #ddd5c4); box-shadow: inset 0 0 0 2px #2b2724; }
.toss-papers li.in::after { content: '✓'; display: block; text-align: center; font: 700 14px/22px Inter, sans-serif; color: #2f7a4b; }
.toss-papers li.out { border: 2px solid #d63f2a; }
.toss-papers li.out::after { content: '✕'; display: block; text-align: center; font: 700 12px/18px Inter, sans-serif; color: #d63f2a; }
.toss-wind { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; }
.toss-stats { font: 500 12px Inter, sans-serif; color: #6b665d; margin-top: 2px !important; }
.toss.over .toss-round { color: #d63f2a; }

/* The wind sock: stretches and lifts with the wind (--k, 0..1), points with it (--dir). */
.sock { width: 72px; height: 34px; flex: none; overflow: visible; }
.sock-pole { stroke: #2b2724; stroke-width: 2.5; stroke-linecap: round; }
.sock-body { transform: translate(48px, 8px) scaleX(var(--dir, 1)) rotate(calc((1 - var(--k, 0)) * 75deg)) scaleX(calc(.35 + var(--k, 0) * .65)); transition: transform .5s; }
.sock-body path { stroke: #2b2724; stroke-width: 1.2; }
.sock-flap { transform-origin: 0 0; animation: sockFlap 0.6s ease-in-out infinite alternate; }
.sock.gusty .sock-flap { animation-duration: .25s; }
@keyframes sockFlap { from { transform: skewY(-3deg); } to { transform: skewY(3deg); } }

/* Keys: an aim line from the paper, and a power meter while Space is held. */
.toss-guide, .toss-trail-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 4; pointer-events: none; overflow: visible; }
.toss-guide.off { display: none; }
.toss-line { fill: none; stroke: #fff8e6; stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; filter: drop-shadow(0 0 1.2px #1d1612); }
.toss-bar { fill: rgb(29 22 18 / .75); stroke: #fff8e6; stroke-width: 1.5; }
.toss-fill { fill: var(--accent); }
.toss-meter { filter: drop-shadow(0 0 1.2px #1d1612); }
/* The flick, as a quick chalky streak. */
.toss-trail { fill: none; stroke: #fff8e6; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; filter: drop-shadow(0 0 1.5px #1d1612); }
.toss-trail.fade { animation: tossTrail .5s ease-out; }
@keyframes tossTrail { from { opacity: .85; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sock-flap { animation: none; }
  .sock-body { transition: none; }
  .toss-trail.fade { animation: none; }
}
@media (max-width: 720px), (orientation: portrait) and (max-width: 900px) {
  .note { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 8px 12px 8px 28px; }
  .note .game-kicker, .toss-stats, .toss-wind { grid-column: 1 / -1; }
  .toss-round { font-size: 38px; }
  .toss-wind { font-size: 19px; }
}
