/* Layout: one centred column that fits a phone screen: chunky header, puzzle picker, the purple play mat, a speech-bubble tip, then big candy-coloured buttons. Cartoon rules: thick ink outlines, hard offset shadows, rounded everything. */
:root {
  --sky: #cdeeff;            /* page background */
  --sky-dot: #b3e2ff;
  --fg: #26244a;             /* text */
  --ink: #26244a;            /* outlines and hard shadows */
  --muted: #5b5888;
  --surface: #ffffff;
  --board: #7b61ff;          /* play mat */
  --board-area: #8a73ff;
  --board-dot: rgba(255, 255, 255, 0.45);
  --paper-front: #ffcb3d;    /* sunny side, with polka dots */
  --paper-dot: #ffb310;
  --paper-back: #fffdf6;
  --target: #ffffff;
  --extra: #ff3d6e;
  --hint: #19c37d;
  --star: #ffc21a;
  --blush: #ff8fb1;
  --on-color: #26244a;       /* text on candy buttons, both themes */
  --c1: #ff5d8f; --c2: #ffcb3d; --c3: #4dd0ff; --c4: #6fdc6a; --c5: #b98cff;
  --b-undo: #6ed3ff; --b-restart: #c4a6ff; --b-hint: #ffe066; --b-diff: #ff9ebd;
  --t-easy: #8be37a; --t-medium: #6ed3ff; --t-hard: #ffb066; --t-master: #c4a6ff;
  --f-display: "Fredoka", "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pop: 0 4px 0 var(--ink);
  --pop-lg: 0 7px 0 var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #1c1942; --sky-dot: #27235a; --fg: #f4f2ff; --ink: #0b0a20; --muted: #b8b3ea; --surface: #2d2865;
    --board: #5f46e6; --board-area: #6a52f0; --board-dot: rgba(255,255,255,.35);
    --paper-back: #f6f1e4; --hint: #23d68b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky: #1c1942; --sky-dot: #27235a; --fg: #f4f2ff; --ink: #0b0a20; --muted: #b8b3ea; --surface: #2d2865;
  --board: #5f46e6; --board-area: #6a52f0; --board-dot: rgba(255,255,255,.35);
  --paper-back: #f6f1e4; --hint: #23d68b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; color: var(--fg);
  background-color: var(--sky);
  background-image:
    radial-gradient(circle, var(--sky-dot) 3px, transparent 3.5px),
    radial-gradient(circle, var(--sky-dot) 2px, transparent 2.5px);
  background-size: 56px 56px, 56px 56px;
  background-position: 0 0, 28px 28px;
  font: 700 16px/1.5 var(--f-body);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c3); outline-offset: 3px; }

.app {
  max-width: 600px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 8px 32px;
}

/* ---------- header */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 4px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; transform: rotate(-8deg); transition: transform .2s; flex: none; }
.brand:hover .brand-mark { transform: rotate(6deg) scale(1.08); }
.bm-front { fill: var(--paper-front); stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.bm-back { fill: var(--paper-back); stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.bm-eye { fill: var(--ink); }
.bm-mouth { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.wordmark { font: 700 1.85rem/1 var(--f-display); letter-spacing: 0.01em; display: flex; }
.brand-sub { font: 700 .66rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg);
  background: var(--paper-front); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 7px 1px; margin-left: 2px; color: var(--on-color); }
.wordmark span { color: var(--c1); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); display: inline-block; }
.wordmark span:nth-child(2) { color: var(--c2); transform: translateY(-2px) rotate(4deg); }
.wordmark span:nth-child(3) { color: var(--c3); transform: rotate(-3deg); }
.wordmark span:nth-child(4) { color: var(--c4); transform: translateY(-1px) rotate(5deg); }
.wordmark span:nth-child(5) { color: var(--c5); transform: rotate(-4deg); }
.wordmark span:nth-child(6) { color: var(--c1); transform: translateY(-1px) rotate(3deg); }

.nav { display: flex; gap: 3px; background: var(--surface); border: 2.5px solid var(--ink); border-radius: 999px; padding: 3px; box-shadow: var(--pop); }
.nav-btn { border: 0; background: none; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  font: 600 .95rem/1.2 var(--f-display); color: var(--muted); }
.nav-btn[aria-current="page"] { background: var(--paper-front); color: var(--on-color); box-shadow: inset 0 0 0 2px var(--ink); }
.nav-btn:hover:not([aria-current="page"]) { color: var(--fg); }
.nav-btn .short { display: none; }

.banner { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
  background: var(--b-hint); color: var(--on-color); border: 2.5px solid var(--ink); border-radius: 14px; padding: 8px 12px; margin-top: 8px; box-shadow: var(--pop); }
.link-btn { border: 0; background: none; color: var(--on-color); font-weight: 800; cursor: pointer; text-decoration: underline; padding: 0; }

/* ---------- picker */
.stage { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.picker { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 72px; }
.picker-head { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; text-align: center; }
.picker-title { font: 700 1.3rem/1.1 var(--f-display); margin: 0; }
.picker-sub { font: 600 .8rem/1.15 var(--f-display); color: var(--muted); letter-spacing: .02em; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 2.5px solid var(--ink); background: var(--surface); color: var(--fg);
  border-radius: 12px; padding: 4px 10px; cursor: pointer; font: 600 .92rem/1.2 var(--f-display); box-shadow: 0 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s; }
.chip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.chip .pips { font-size: .72rem; opacity: .75; letter-spacing: .02em; }
.chip.done .pips { color: var(--on-color); opacity: 1; }
.chip[class*="tier-"] { color: var(--on-color); }
.tier-easy { background: var(--t-easy); }
.tier-medium { background: var(--t-medium); }
.tier-hard { background: var(--t-hard); }
.tier-master { background: var(--t-master); }
.chip[aria-current="true"] { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 6px 0 var(--ink); }
.chip.optional .pips::after { content: " ★bonus"; display: none; }
.step-nav { display: flex; align-items: center; gap: 8px; max-width: 100%; }
.step-nav .picker-head { flex: 0 1 auto; padding: 0 4px; }
a.chip { text-decoration: none; }
.chip.small { padding: 3px 9px; font-size: .82rem; }
/* Today's four puzzles, on every view. */
.today-strip { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; max-width: 100%; }
.today-strip .chip { padding: 3px 9px; font-size: .86rem; min-height: 30px; }
.today-strip .chip .pips { font-size: .66rem; letter-spacing: 0; opacity: 1; }
.ts-label { font: 700 .72rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--paper-front);
  background: var(--ink); border-radius: 999px; padding: 6px 9px 5px; }
.icon-btn { width: 36px; height: 36px; flex: none; border-radius: 12px; border: 2.5px solid var(--ink); background: var(--surface); color: var(--fg); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 3px 0 var(--ink); }
.icon-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- board */
.board-wrap { position: relative; width: min(100%, 54svh, 520px); aspect-ratio: 1; max-width: 100%; margin-bottom: 7px; }
@supports not (height: 1svh) { .board-wrap { width: min(100%, 54vh, 520px); } }
#board { width: 100%; height: 100%; display: block; touch-action: none; border: 3px solid var(--ink); border-radius: 26px; box-shadow: var(--pop-lg);
  cursor: default; user-select: none; -webkit-user-select: none; background: var(--board); }
#board.can-grab { cursor: grab; }
#board.dragging { cursor: grabbing; }
.board-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; font-weight: 800; pointer-events: none; }

/* speech bubble tip */
.tip { position: relative; margin: 4px 0 0; min-height: 2.9em; width: min(100%, 460px); text-align: center; text-wrap: balance;
  background: var(--surface); color: var(--fg); border: 2.5px solid var(--ink); border-radius: 18px; padding: 7px 14px;
  font-size: .95rem; line-height: 1.35; box-shadow: var(--pop); display: grid; place-items: center; }
.tip::before { content: ""; position: absolute; top: -10px; left: 50%; width: 16px; height: 16px; background: inherit;
  border-left: 2.5px solid var(--ink); border-top: 2.5px solid var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 4px 0 0 0; }
.tip b { color: var(--c1); }
.tip.warn { background: #ffe1ea; color: #8a0f33; animation: wiggle .35s; }
.tip.warn b { color: inherit; }
@keyframes wiggle { 25% { transform: rotate(-1.5deg); } 75% { transform: rotate(1.5deg); } }

/* ---------- controls */
.controls { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 2px; }
.status-row { display: flex; align-items: center; gap: 10px; }
.counter { display: flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: baseline; gap: 6px; border: 2.5px solid var(--ink); border-radius: 999px; padding: 2px 12px 3px;
  background: var(--surface); box-shadow: 0 3px 0 var(--ink); }
.badge .c-label { font: 600 .78rem/1 var(--f-display); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.badge b { font: 700 1.3rem/1.1 var(--f-display); }
.counter.over .b-folds { background: #ffe1ea; }
.counter.over .b-folds b { color: var(--extra); }
.sound-btn { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--surface); color: var(--fg); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 3px 0 var(--ink); }
.sound-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.sound-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn .spk { fill: currentColor; }
.sound-btn[aria-pressed="true"] .mute, .sound-btn[aria-pressed="false"] .wave { display: none; }

.btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; width: 100%; max-width: 470px; }
.btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px 6px; border-radius: 16px;
  border: 2.5px solid var(--ink); color: var(--on-color); cursor: pointer; font: 600 .86rem/1.2 var(--f-display); min-height: 56px;
  box-shadow: var(--pop); transition: transform .1s, box-shadow .1s; }
#btn-undo { background: var(--b-undo); }
#btn-restart { background: var(--b-restart); }
#btn-hint { background: var(--b-hint); }
#btn-diff { background: var(--surface); color: var(--fg); }
#btn-diff[aria-pressed="true"] { background: var(--b-diff); color: var(--on-color); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { filter: saturate(.2); opacity: .5; cursor: default; }

/* ---------- about */
.about { margin: 44px auto 0; max-width: 62ch; background: var(--surface); border: 2.5px solid var(--ink); border-radius: 22px; padding: 18px 20px 6px; box-shadow: var(--pop-lg); }
.about h1 { font: 700 1.7rem/1.15 var(--f-display); margin: 0 0 10px; text-wrap: balance; }
.about h2 { font: 700 1.3rem/1.2 var(--f-display); margin: 22px 0 8px; text-wrap: balance; }
.about ol, .about ul { margin: 0 0 12px; padding-left: 1.3em; color: var(--muted); font-weight: 600; display: grid; gap: 6px; }
.about a { color: var(--fg); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.table-wrap { overflow-x: auto; margin: 0 0 12px; border: 2.5px solid var(--ink); border-radius: 14px; }
.about table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.about th, .about td { text-align: left; padding: 7px 10px; border-bottom: 2px solid var(--sky-dot); white-space: nowrap; }
.about td:last-child { white-space: normal; min-width: 12em; }
.about th { font: 600 .9rem/1.2 var(--f-display); background: var(--sky); }
.about tbody tr:last-child td { border-bottom: 0; }
.about details { border: 2.5px solid var(--ink); border-radius: 14px; padding: 8px 12px; margin: 0 0 8px; background: var(--sky); }
.about summary { cursor: pointer; font: 600 1rem/1.3 var(--f-display); }
.about details p { margin: 8px 0 2px; }
.sheet-link { align-self: center; color: var(--fg); font: 600 .95rem/1.3 var(--f-display); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.foot-links a { color: var(--fg); }
.foot { max-width: 62ch; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: .85rem; }
.foot p { margin: 0 0 6px; }
.analytics-link { border: 0; background: transparent; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 7px 5px; }
.analytics-panel { margin: 16px 0 0; padding: 16px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--surface); box-shadow: var(--pop); }
.analytics-panel h2 { margin: 0 0 8px; font: 600 1.3rem/1.2 var(--f-display); }
.analytics-panel p { margin: 0 0 8px; font-size: .9rem; }
.analytics-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.analytics-actions .chip { min-height: 44px; }
.analytics-actions .chip:disabled { opacity: .65; cursor: default; }
.analytics-panel p:last-child, .analytics-panel #analytics-status { color: var(--muted); }
.about p { margin: 0 0 12px; color: var(--muted); font-weight: 600; }
.about strong { color: var(--fg); }
.about .fine { font-size: .82rem; }

/* ---------- sheets */
.scrim { position: fixed; inset: 0; background: rgba(20, 16, 50, .5); z-index: 20; }
.sheet { position: fixed; z-index: 21; left: 50%; bottom: 0; transform: translateX(-50%); width: min(540px, 100%);
  max-height: calc(100% - 24px); overflow: auto; background: var(--surface); color: var(--fg);
  border: 3px solid var(--ink); border-bottom: 0; border-radius: 28px 28px 0 0;
  padding: 18px max(18px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  animation: rise .4s cubic-bezier(.3, 1.5, .5, 1); }
@media (min-width: 640px) { .sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 28px; border-bottom: 3px solid var(--ink); box-shadow: 0 9px 0 var(--ink); max-height: 90%; } }
@keyframes rise { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
.sheet h2 { font: 700 2rem/1.05 var(--f-display); margin: 0; text-align: center; text-wrap: balance; }
.sheet-inner { display: flex; flex-direction: column; gap: 12px; }
.sheet .muted { color: var(--muted); margin: 0; text-align: center; font-weight: 700; }
.result-top { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mascot { width: 92px; height: 92px; animation: hop 1s ease-in-out infinite; }
@keyframes hop { 50% { transform: translateY(-6px) rotate(-4deg); } }
.m-shadow { fill: var(--ink); opacity: .25; }
.m-front { fill: var(--paper-front); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.m-back { fill: var(--paper-back); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.m-line { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.m-blush { fill: var(--blush); opacity: .8; }
.m-mouth { fill: var(--ink); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.stars { display: inline-flex; gap: 2px; }
.stars .st { color: var(--star); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; display: inline-block; }
.stars .st.off { color: var(--sky-dot); }
.stars.big .st { font-size: 2.8rem; line-height: 1; animation: starpop .5s cubic-bezier(.3, 1.8, .5, 1) both; animation-delay: calc(.25s + var(--i) * .18s); }
.stars.big .st:nth-child(2) { transform: translateY(-8px); }
@keyframes starpop { from { scale: 0; rotate: -60deg; } to { scale: 1; rotate: 0deg; } }
.stat-line { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pill { border: 2px solid var(--ink); border-radius: 999px; padding: 1px 10px; font: 600 .85rem/1.5 var(--f-display); background: var(--sky); }
.sheet-row { display: flex; gap: 8px; flex-wrap: wrap; }
.primary, .secondary { border: 2.5px solid var(--ink); border-radius: 14px; padding: 10px 16px; font: 600 1.05rem/1.2 var(--f-display); cursor: pointer;
  flex: 1 1 auto; box-shadow: var(--pop); transition: transform .1s, box-shadow .1s; }
.primary { background: var(--t-easy); color: var(--on-color); flex-grow: 2; }
.secondary { background: var(--surface); color: var(--fg); }
.primary:active, .secondary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.share-box { width: 100%; font: 700 .85rem/1.5 ui-monospace, "SFMono-Regular", Menlo, monospace; background: var(--sky); color: var(--fg);
  border: 2.5px dashed var(--ink); border-radius: 14px; padding: 10px; resize: none; white-space: pre; overflow: auto; }

.grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.tier-h { font: 600 .95rem/1 var(--f-display); margin: 8px 0 -2px; display: flex; align-items: center; gap: 8px; }
.tier-h::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--dot, var(--t-easy)); }
.tier-h.t-medium { --dot: var(--t-medium); } .tier-h.t-hard { --dot: var(--t-hard); } .tier-h.t-master { --dot: var(--t-master); }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 6px; border: 2.5px solid var(--ink);
  border-radius: 14px; background: var(--sky); color: var(--fg); cursor: pointer; min-width: 0; box-shadow: 0 3px 0 var(--ink); }
.tile:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.tile canvas { width: 56px; height: 56px; border-radius: 10px; border: 2px solid var(--ink); }
.tile .t-num { font: 700 .95rem/1 var(--f-display); }
.tile .t-stars { font-size: .78rem; min-height: 1em; }
.tile .t-stars .st { -webkit-text-stroke: 1px var(--ink); }
.tile[aria-current="true"] { background: var(--paper-front); color: var(--on-color); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 30;
  background: var(--ink); color: var(--paper-front); padding: 9px 18px; border-radius: 999px; font: 600 .95rem/1.3 var(--f-display);
  max-width: calc(100% - 32px); text-align: center; border: 2.5px solid var(--paper-front); }
.noscript { text-align: center; padding: 40px 16px; }

@media (max-width: 420px) {
  .wordmark { font-size: 1.45rem; }
  .brand-sub { font-size: .56rem; padding: 1px 5px 0; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-btn { padding: 5px 10px; font-size: .9rem; }
  .nav-btn .long { display: none; }
  .nav-btn .short { display: inline; }
  .picker-title { font-size: 1.15rem; }
  .icon-btn { width: 33px; height: 33px; border-radius: 11px; }
  .app { padding-block: 5px 28px; }
  .btn { min-height: 52px; font-size: .8rem; }
  .tip { font-size: .88rem; min-height: 0; padding: 5px 12px; }
  .stage { gap: 9px; padding-top: 4px; }
  .picker { min-height: 0; gap: 6px; }
  .controls { gap: 8px; }
  .badge { padding: 1px 10px 2px; }
  .badge b { font-size: 1.15rem; }
  .sound-btn { width: 34px; height: 34px; }
  .board-wrap { margin-bottom: 5px; }
}
@media (max-height: 760px) and (max-width: 420px) {
  .btn { min-height: 48px; padding: 5px 4px 4px; }
  .btn svg { width: 19px; height: 19px; }
  .board-wrap { width: min(100%, 53svh); }
}
@media (max-height: 620px) and (max-width: 420px) {
  .board-wrap { width: min(100%, 45svh); }
  .stage { gap: 7px; }
  .tip { font-size: .84rem; padding: 4px 10px; }
  .btn { min-height: 44px; padding: 4px 4px 3px; font-size: .74rem; }
  .btn svg { width: 17px; height: 17px; }
  .controls { gap: 6px; }
}
@media (max-width: 359px) {
  .brand-mark { width: 28px; height: 28px; }
  .wordmark { font-size: 1.2rem; }
  .brand-sub { font-size: .48rem; padding: 1px 4px 0; letter-spacing: .1em; }
  .nav { gap: 0; padding: 2px; }
  .nav-btn { padding: 4px 7px; font-size: .78rem; }
  .ts-label { display: none; }
  .today-strip { gap: 5px; }
  .today-strip .chip { padding: 3px 7px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet, .mascot, .stars.big .st, .tip.warn { animation: none; }
}

/* Explicitly retain the existing font family for static style audits. */
body { font-family: var(--f-body); }
