/* Shopscotch: design tokens first, then layout, then components.
   Chalk-on-the-playground: coral, sunshine, mint and grape on warm chalk cream. Rounded Fredoka type. */

@font-face { font-family: "Fredoka"; src: url("/static/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #FFF8EC;
  --surface: #FFFFFF;
  --surface-2: #FFF1D9;
  --text: #1E2A3B;
  --muted: #5E6B7D;
  --line: #F0E4CC;
  --brand: #F2545B;
  --brand-2: #FF8A6B;
  --brand-strong: #C2353D;
  --brand-ink: #2B0A0E;
  --brand-soft: #FFE3DD;
  --grad: linear-gradient(135deg, #FF8A6B 0%, #F2545B 60%, #E23F5A 100%);
  --grad-soft: linear-gradient(135deg, #FFE3DD, #FFF0D3);
  --btn-glow: 0 8px 18px -8px rgba(242, 84, 91, .7);
  --ok: #22C38E;
  --ok-ink: #FFFFFF;
  --danger: #C62828;
  --warn: #B7791F;
  --sun: #F5B700;
  --coral: #FF6F61;
  --grape: #8B5CF6;
  --shadow: 0 1px 2px rgba(30, 42, 59, .05), 0 6px 18px -6px rgba(30, 42, 59, .12);
  --shadow-lg: 0 18px 50px -12px rgba(30, 42, 59, .35);
  --radius: 20px;
  --font: "Fredoka", ui-rounded, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --tabbar-h: 68px;
  --spring: cubic-bezier(.2, 1.4, .4, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17141A; --surface: #221E26; --surface-2: #2C2731; --text: #F6F1EC; --muted: #B5ABA6; --line: #3A333F;
    --brand: #FF7A72; --brand-2: #FFA483; --brand-strong: #FFB0A6; --brand-ink: #2B0A0E; --brand-soft: #3D2026;
    --grad: linear-gradient(135deg, #FFA483 0%, #FF7A72 60%, #F2545B 100%); --grad-soft: linear-gradient(135deg, #3D2026, #3A2B1C);
    --btn-glow: 0 8px 20px -8px rgba(255, 122, 114, .5);
    --ok: #3DDCA6; --ok-ink: #04201A; --danger: #FF5C5C; --warn: #FBBF24;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35); --shadow-lg: 0 18px 50px -12px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17141A; --surface: #221E26; --surface-2: #2C2731; --text: #F6F1EC; --muted: #B5ABA6; --line: #3A333F;
  --brand: #FF7A72; --brand-2: #FFA483; --brand-strong: #FFB0A6; --brand-ink: #2B0A0E; --brand-soft: #3D2026;
  --grad: linear-gradient(135deg, #FFA483 0%, #FF7A72 60%, #F2545B 100%); --grad-soft: linear-gradient(135deg, #3D2026, #3A2B1C);
  --btn-glow: 0 8px 20px -8px rgba(255, 122, 114, .5);
  --ok: #3DDCA6; --ok-ink: #04201A; --danger: #FF5C5C; --warn: #FBBF24;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35); --shadow-lg: 0 18px 50px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.45 var(--font);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
h1 { font-size: 1.7rem; font-weight: 800; }
h2 { font-size: 1.05rem; font-weight: 750; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.haptic { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }

/* ------------------------------------------------------------ buttons & fields */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); font-weight: 700; cursor: pointer; text-decoration: none; user-select: none;
  transition: background .15s, transform .25s var(--spring), box-shadow .2s, border-color .15s, filter .15s;
}
.btn:active:not(:disabled) { transform: scale(.95); transition-duration: .08s; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--grad); border-color: transparent; color: var(--brand-ink); box-shadow: var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, .28); text-shadow: 0 1px 1px rgba(120, 30, 10, .25); }
:root[data-theme="dark"] .btn.primary { text-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { text-shadow: none; } }
.btn.primary:hover:not(:disabled) { filter: brightness(1.05) saturate(1.05); }
.btn.soft { background: var(--brand-soft); border-color: transparent; color: var(--brand-strong); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--danger); }
.btn.danger.solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.icon { width: 46px; padding: 0; border-radius: 50%; }
.btn.block { width: 100%; }
.btn.lg { min-height: 58px; font-size: 1.12rem; border-radius: 18px; letter-spacing: -.005em; }
.btn.lg svg { transition: transform .25s var(--spring); }
.btn.lg:hover svg { transform: translateX(3px); }
.link { background: none; border: 0; padding: 4px 0; color: var(--brand-strong); font-weight: 700; cursor: pointer; }

/* press ripple, added by app.js */
.ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; background: currentColor; opacity: .18;
  transform: translate(-50%, -50%) scale(0); animation: ripple .5s ease-out forwards; }
.btn.primary .ripple { background: #fff; opacity: .35; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

.field { display: grid; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--muted); }
input[type="text"], input:not([type]), input[type="number"], input[type="url"], select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  color: inherit; font: inherit; resize: vertical; outline: none; }
textarea:focus, input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.stack { display: grid; gap: 14px; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1.2em; margin-top: 10px; }

.seg { display: flex; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: 14px; }
.seg button { flex: 1; min-height: 40px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--surface); color: var(--brand-strong); box-shadow: var(--shadow); }

.switch { position: relative; display: inline-block; width: 50px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .3s var(--spring); }
.switch input:checked + span { background: var(--grad); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 2px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.card h2 { margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.card h2 .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); font-size: 1.05rem; }
.card-sub { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

/* ------------------------------------------------------------ welcome */
.welcome { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px;
  background: radial-gradient(900px 480px at 50% -12%, color-mix(in srgb, var(--brand-2) 32%, transparent), transparent 70%),
              radial-gradient(600px 400px at 100% 100%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%), var(--bg); }
.welcome-inner { width: min(440px, 100%); position: relative; }
.welcome-signin { position: absolute; top: -16px; right: 0; font: inherit; font-weight: 700; color: var(--brand-strong); background: var(--surface); border: 2px solid currentColor; border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.welcome.returning .welcome-signin, .welcome.returning #signinJump { display: none; }
.welcome-card.flash { animation: cardFlash 1.2s ease-out; }
@keyframes cardFlash { 0% { box-shadow: 0 0 0 0 rgba(242, 84, 91, .55); } 100% { box-shadow: 0 0 0 14px rgba(242, 84, 91, 0); } }
.welcome-brand { text-align: center; margin-bottom: 22px; }
.welcome-brand img { border-radius: 20px; box-shadow: 0 14px 30px -10px rgba(242, 84, 91, .45); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-5px) rotate(-2deg); } }
.welcome-brand h1 { font-size: 2.3rem; margin-top: 14px; }
.lede { color: var(--muted); font-size: 1.07rem; margin-top: 6px; }
.welcome-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.welcome-points li { display: flex; gap: 12px; align-items: center; }
.welcome-points li > span { font-size: 1.4rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--grad-soft); border-radius: 14px; flex: none; }
.welcome-points b { display: block; }
.welcome-points small { color: var(--muted); font-size: .88rem; }
.welcome-card .seg { margin-bottom: 18px; }
.code-input { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.join-who:empty { display: none; }

/* ------------------------------------------------------------ app frame */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top); }
.topbar-inner { max-width: 720px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.topbar-logo { border-radius: 9px; box-shadow: 0 4px 10px -4px rgba(242, 84, 91, .45); }
.topbar-title { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; min-width: 0; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; }
.topbar-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the greeting sits quietly in the top bar's right corner; the list page starts with "11 things on our list" */
.topbar-hi { margin: 0 0 0 auto; padding: 6px 0; border: 0; background: none; cursor: pointer; text-align: right; font: 600 .85rem/1.25 var(--font); color: var(--brand-strong);
  flex: 0 1 auto; max-width: 48%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.list-count b { color: var(--text); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sync { font-size: .75rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.sync.offline { color: var(--danger); }
.sync.offline::before { background: var(--danger); box-shadow: none; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; gap: 6px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); }
.tab { position: relative; flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 54px; border: 0; background: none; border-radius: 16px; color: var(--muted); font-size: .76rem; font-weight: 700; cursor: pointer;
  transition: color .2s, background .2s; overflow: hidden; isolation: isolate; }
.tab svg { width: 25px; height: 25px; transition: transform .35s var(--spring); }
.tab[aria-selected="true"] { color: var(--brand-strong); background: var(--brand-soft); }
.tab[aria-selected="true"] svg { transform: translateY(-1px) scale(1.08); fill: color-mix(in srgb, currentColor 22%, transparent); }
.badge { position: absolute; top: 3px; left: calc(50% + 7px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--grad); color: var(--brand-ink); font: 800 .7rem/19px var(--font); font-style: normal; text-align: center;
  box-shadow: 0 0 0 2px var(--surface); }

main { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom)); }   /* the action buttons sit in the page now */
#view-shop.finish-low { padding-bottom: 110px; }   /* room for Finish shop when it comes to the bottom at 100% */
/* the three main pages share one heading: the same title size, the same small line under it, the same gap below */
.view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-height: 52px; }
.view-head h1 { font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.view-head p { margin: 2px 0 0; font-size: .95rem; color: var(--muted); }
.head-btns { display: flex; align-items: center; gap: 6px; }
.aisle-switch { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line);
  background: transparent; color: var(--muted); font: 600 .9rem var(--font); cursor: pointer; }
.aisle-switch svg { width: 18px; height: 18px; }
.aisle-switch[aria-pressed="true"] { background: color-mix(in srgb, var(--brand, #f2545b) 16%, transparent); border-color: var(--brand, #f2545b); color: var(--brand, #f2545b); }
.aisle-switch[hidden] { display: none; }
.hello { color: var(--brand-strong); font-weight: 700; font-size: .92rem; margin-bottom: 2px !important; }
.view:not([hidden]) { animation: viewIn .3s ease-out; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }

@media (min-width: 900px) {
  .tabbar { position: sticky; top: 53px; border: 0; border-bottom: 1px solid var(--line); padding: 8px max(16px, calc(50% - 344px)); justify-content: flex-start;
    background: color-mix(in srgb, var(--bg) 92%, transparent); }
  .tab { flex-direction: row; flex: none; gap: 8px; min-height: 42px; padding: 0 18px; font-size: .95rem; border-radius: 99px; }
  .tab svg { width: 20px; height: 20px; }
  .badge { position: static; }
  main { padding-bottom: 120px; }
  .cta-bar { bottom: 20px !important; }
}

/* ------------------------------------------------------------ list tab */
.add-bar { display: flex; gap: 8px; }
.add-input { position: relative; flex: 1; }
.add-input input { padding-left: 18px; padding-right: 52px; min-height: 54px; font-size: 1.03rem; border-radius: 18px; box-shadow: var(--shadow); border-color: transparent; }
.add-input input:focus { border-color: var(--brand); }
.add-bar > .btn { min-height: 54px; border-radius: 18px; padding: 0 22px; }
.suggest { position: absolute; z-index: 15; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.suggest li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 11px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--surface-2); }
.suggest .e { font-size: 1.2rem; width: 26px; text-align: center; }
.suggest small { margin-left: auto; color: var(--muted); }

.tool-row { display: flex; gap: 10px; margin: 12px 0 14px; }   /* spacing: 12 inside a group, 14 between sections, 16 between aisles */
.tool { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; min-height: 62px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .25s var(--spring); }
.tool:active { transform: scale(.96); transition-duration: .08s; }
.tool .ti { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--grad); color: #fff; box-shadow: var(--btn-glow); }
.tool.alt .ti { background: linear-gradient(135deg, #8B5CF6, #EC4899); box-shadow: 0 8px 18px -8px rgba(139, 92, 246, .7); }
.tool .ti svg { width: 21px; height: 21px; }
.tool b { display: block; font-size: .95rem; line-height: 1.2; }
.tool small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.25; }

.usuals { margin-bottom: 14px; }
.usuals-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.usuals-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.usuals-toggle h2 { margin: 0; }
.usuals-toggle .chev { width: 16px; height: 16px; stroke: var(--muted); transition: transform .2s; }
.usuals-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
#usualChips[hidden] { display: none; }
.usuals-head h2, .aisle-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 800; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 14px 0 10px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .92rem; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow);
  transition: transform .25s var(--spring); }
.chip:active { transform: scale(.94); }
.chip .e { font-size: 1.1rem; }
.chip.due { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.chip.due::after { content: "due"; font-size: .66rem; font-weight: 800; text-transform: uppercase; color: var(--brand-ink); background: var(--grad); padding: 1px 7px; border-radius: 99px; }

.aisle { margin-bottom: 16px; }
.aisle-h { display: flex; align-items: center; gap: 8px; padding: 0 4px 7px; }
.aisle-h .n { margin-left: auto; font-weight: 700; letter-spacing: 0; }
.rows { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.row { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; min-height: 64px; cursor: pointer; transition: background .15s; }
.row + .row { border-top: 1px solid var(--line); }
.row:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.row .e { font-size: 1.55rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; flex: none;
  background: color-mix(in srgb, var(--t, #999) 15%, var(--surface)); }
.row .t { flex: 1; min-width: 0; }
.row .nm { font-weight: 650; display: block; overflow-wrap: anywhere; }
.row .sub { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .84rem; }
.who { display: inline-flex; align-items: center; gap: 4px; }
.who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.stepper { display: flex; align-items: center; background: var(--surface-2); border-radius: 13px; flex: none; }
.stepper button { width: 36px; height: 38px; border: 0; background: none; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--brand-strong); transition: transform .2s var(--spring), background .15s; }
.stepper button:hover { background: var(--brand-soft); }
.stepper button:active { transform: scale(.85); }
.stepper svg { width: 16px; height: 16px; stroke-width: 2.6; }
.stepper b { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.stepper b.bump { animation: bump .3s var(--spring); }
@keyframes bump { 40% { transform: scale(1.35); color: var(--brand-strong); } }

/* each aisle's own tint behind the item pictures */
[data-a="produce"] { --t: #22C55E; } [data-a="bakery"] { --t: #D97706; } [data-a="meat"] { --t: #EF4444; } [data-a="dairy"] { --t: #3B82F6; }
[data-a="pantry"] { --t: #A16207; } [data-a="snacks"] { --t: #EC4899; } [data-a="drinks"] { --t: #8B5CF6; } [data-a="frozen"] { --t: #06B6D4; }
[data-a="household"] { --t: #64748B; } [data-a="personal"] { --t: #14B8A6; } [data-a="baby"] { --t: #F472B6; } [data-a="pets"] { --t: #B45309; } [data-a="other"] { --t: #94A3B8; }
.aisle-h .ae { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font-size: .85rem; background: color-mix(in srgb, var(--t, #999) 20%, var(--surface)); }

.trolley summary { list-style: none; cursor: pointer; }
.trolley summary::-webkit-details-marker { display: none; }
.trolley .row .nm { text-decoration: line-through; color: var(--muted); }

.empty { text-align: center; padding: 36px 16px; }
.empty .big { font-size: 3rem; line-height: 1; width: 96px; height: 96px; margin: 0 auto; display: grid; place-items: center; border-radius: 30px; background: var(--grad-soft); animation: float 4s ease-in-out infinite; }
.empty h2 { margin: 16px 0 6px; font-size: 1.25rem; }
.empty p { color: var(--muted); max-width: 32ch; margin: 0 auto 18px; }

.cta-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); z-index: 25;
  padding: 0 16px; max-width: 720px; margin: 0 auto; pointer-events: none; }
.cta-bar .btn { pointer-events: auto; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .28); animation: rise .35s var(--spring); }
.cta-bar .btn svg { width: 22px; height: 22px; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* ------------------------------------------------------------ shop tab */
.kid-toggle { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: .92rem; cursor: pointer; padding: 6px 8px 6px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.progress { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .5s var(--spring); }
.shop-row .check { width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid var(--line); display: grid; place-items: center; flex: none; transition: all .25s var(--spring); }
.shop-row .check svg { width: 18px; height: 18px; stroke-width: 3.2; opacity: 0; color: var(--ok-ink); transform: scale(.4); transition: all .25s var(--spring); }
.shop-row:hover .check { border-color: var(--ok); }
.shop-row.done .check { background: var(--ok); border-color: var(--ok); transform: scale(1.06); }
.shop-row.done .check svg { opacity: 1; transform: scale(1); }
.shop-row.done .nm { text-decoration: line-through; color: var(--muted); }
.shop-row.done .e { filter: saturate(.6); }
.shop-row { min-height: 66px; }
.qty-pill { font-weight: 800; font-size: .85rem; padding: 3px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-strong); flex: none; }

/* kid mode */
.kid-banner { position: relative; border-radius: 22px; padding: 16px; margin-bottom: 14px; color: #3B1A0A; overflow: hidden;
  background: linear-gradient(135deg, #FFE1D2 0%, #FFE9C7 45%, #FDE2F1 100%); box-shadow: var(--shadow); }
:root[data-theme="dark"] .kid-banner { background: linear-gradient(135deg, #4A2416, #45300F 45%, #45193A); color: #FFF0E4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kid-banner { background: linear-gradient(135deg, #4A2416, #45300F 45%, #45193A); color: #FFF0E4; } }
.kid-banner h2 { font-size: 1.2rem; padding-right: 48px; }
.kid-banner .sound { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .7); font-size: 1.2rem; cursor: pointer; transition: transform .25s var(--spring); }
.kid-banner .sound:active { transform: scale(.88); }
.helpers { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.helper { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 6px; border-radius: 99px; border: 2.5px solid transparent;
  background: rgba(255, 255, 255, .75); color: #2B1608; font-weight: 800; cursor: pointer; transition: transform .25s var(--spring), box-shadow .2s; }
.helper:active { transform: scale(.94); }
.helper .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--sun)); color: #fff; font-weight: 900; }
.helper[aria-pressed="true"] { border-color: #F7862F; background: #fff; box-shadow: 0 6px 16px -4px rgba(247, 134, 47, .55); transform: scale(1.03); }
.helper .st { font-size: .85rem; color: #9A3412; }
.helper.add { padding: 0 14px; border-style: dashed; border-color: rgba(0, 0, 0, .2); background: transparent; color: inherit; }

.race { position: relative; height: 56px; margin: 6px 4px 20px; }
.race-track { position: absolute; left: 0; right: 0; top: 24px; height: 14px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--surface-2) 0 14px, var(--line) 14px 28px); }
.race-fill { position: absolute; left: 0; top: 24px; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #F5B700, #FF6F61, #22C38E, #8B5CF6); width: 0; transition: width .7s var(--spring); }
.race-cart { position: absolute; top: 0; font-size: 2.2rem; transform: translateX(-50%); left: 0; transition: left .7s var(--spring); }
.face-r { display: inline-block; transform: scaleX(-1); }   /* an emoji that faces left, turned to face the way it travels */
.race-cart.zoom { animation: zoom .6s var(--spring); }
@keyframes zoom { 30% { transform: translateX(-50%) translateY(-8px) rotate(12deg); } }
.race-flag { position: absolute; right: -6px; top: 4px; font-size: 1.8rem; }
.race-text { text-align: center; font-weight: 900; font-size: 1.15rem; margin-bottom: 4px; }
.race-sub { text-align: center; font-size: .88rem; font-weight: 600; opacity: .85; margin: -2px 0 6px; }
body.game-on #shopBody .race-dock .race-sub { color: var(--dock-ink); }
/* Dino: the trail winds through a little jungle to the nest */
.race.stones.trail { height: 122px; margin: 4px 0 8px; border-radius: 16px; overflow: hidden;
  background: var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ffc48a, #ffe2b8); box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.race.stones.trail i { bottom: auto; width: 22px; max-width: none; height: 14px; margin-top: -7px; border-radius: 50%; font-size: .55rem; }
body.game-on .race-dock .race.stones.trail { height: 122px; }
body.game-on .race-dock .race.stones.trail .race-cart, .race.stones.trail .race-cart { bottom: auto; font-size: 2.3rem; }
.trail-goal { position: absolute; right: 4%; top: 58px; font-size: 2.2rem; line-height: 1; text-align: center; }
.trail-goal b { display: block; margin-top: -14px; font-weight: 400; font-size: 2rem; }
.trail-goal .egg { display: inline-block; transform-origin: 50% 90%; font-size: 1.7rem; }
.trail-goal .egg.wobble { animation: ss-egg-wobble 1.6s ease-in-out infinite; }
/* Farm: the lane home to the barn */
.lane { position: relative; height: 112px; margin: 4px 0 8px; border-radius: 16px; overflow: hidden;
  background: var(--scene-farm) center 70% / 100% auto no-repeat, linear-gradient(180deg, #bfe6ff, #e9f8ff); box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.lane-field { position: absolute; left: 6%; top: 46px; display: flex; gap: 2px; font-size: 1.05rem; opacity: .5; filter: grayscale(.3); }
.lane-home { position: absolute; right: 34%; bottom: 8px; display: flex; gap: 1px; font-size: 1.35rem; }
.lane-field i, .lane-home i { font-style: normal; }
.lane .race-cart, body.game-on .race-dock .lane .race-cart { top: auto; bottom: 6px; font-size: 1.9rem; }
/* Spy: a radar that fills as targets are secured, and the message decoding */
.spy-panel { display: flex; align-items: center; gap: 16px; margin: 4px 0 10px; }
.radar { position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle, #04140a 0 54%, transparent 55%), conic-gradient(#4ade80 calc(var(--p, 0) * 360deg), #14532d 0); box-shadow: 0 0 16px rgba(74,222,128,.35); }
.radar::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: conic-gradient(rgba(74,222,128,.35), transparent 25%); animation: ss-radar 3s linear infinite; }
.spy-count { display: flex; flex-direction: column; font-family: ui-monospace, Consolas, monospace; color: #86efac; }
.spy-count small { font-size: .7rem; letter-spacing: .18em; font-weight: 700; }
.spy-count b { font-size: 1.9rem; color: #4ade80; line-height: 1.1; }
.spy-count span { font-family: var(--font); font-size: .85rem; }
.spy-msg { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #04140a; border: 1px solid #166534; font-family: ui-monospace, Consolas, monospace; }
.spy-msg small { display: block; font-size: .65rem; letter-spacing: .18em; color: #22c55e; font-weight: 700; }
.spy-msg b { display: block; color: #bbf7d0; letter-spacing: .12em; font-size: .95rem; word-break: break-word; }
/* Space: the fuel gauge */
.gauge { height: 14px; margin: 4px 6px 8px; border-radius: 99px; background: #0f172a; box-shadow: inset 0 0 0 2px #22d3ee; overflow: hidden; }
.gauge b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #22d3ee, #a78bfa); transition: width .7s var(--spring); }
/* the found things: one tidy bar (a basket, a hay cart, an evidence bag...) that opens to put something back */
.found-bar { margin: 6px 0 16px; }
.found-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 16px; border: 0; border-radius: 18px; cursor: pointer;
  font: 700 1rem var(--font); color: var(--tile-ink, var(--ink)); background: var(--tile-bg, var(--surface)); box-shadow: inset 0 0 0 2px var(--tile-line, var(--line)), 0 3px 0 var(--tile-edge, var(--line)); }
.found-toggle .fb-name { white-space: nowrap; }
.found-toggle .fb-pics { flex: 1; display: flex; gap: 2px; overflow: hidden; justify-content: flex-end; }
.found-toggle .fb-pics .e { width: 24px; height: 24px; font-size: 1rem; display: grid; place-items: center; background: none !important; }
.found-toggle .fb-pics .e svg { width: 20px; height: 20px; }
.found-toggle b { font-size: 1.2rem; }
.found-bar .tiles { margin-top: 10px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 118px; padding: 10px 6px;
  border-radius: 22px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; text-align: center; font-weight: 800; font-size: .92rem;
  box-shadow: 0 4px 0 var(--line); transition: transform .12s, box-shadow .12s; }
.tile:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
/* a grown-up holding a picture to save it for next time: it shrinks and fades as the hold fills */
.tile.holding { transition: transform 1s ease-in, opacity 1s ease-in; transform: scale(.88); opacity: .55; }
.tile .e { font-size: 2.7rem; line-height: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: color-mix(in srgb, var(--t, #999) 15%, var(--surface)); }
.tile .q { position: absolute; top: 7px; right: 8px; font-size: .8rem; background: var(--brand-soft); color: var(--brand-strong); border-radius: 99px; padding: 1px 8px; }
.tile.done { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border-color: var(--ok); box-shadow: 0 4px 0 color-mix(in srgb, var(--ok) 70%, #000); }
.tile.done::after { content: "✓"; position: absolute; top: 7px; left: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--ok-ink); font-size: .9rem; font-weight: 900; display: grid; place-items: center; }
.tile.pop { animation: pop .5s var(--spring); }
/* the reminder to finish the shop */
.finish-nudge { margin: 0 0 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--text); border: 2px solid #ffd23f;
  font-size: .9rem; line-height: 1.35; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); animation: rise .35s ease-out; }
#finishBar.nudge .btn { animation: nudge 1.4s ease-in-out 3; }
@keyframes nudge { 50% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(255, 210, 63, .45); } }
.reward.ready span { flex: 1; }
/* who's at the shop */
.at-shop { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--brand, #f2545b) 14%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--brand, #f2545b) 40%, transparent); font-size: .92rem; line-height: 1.35; }
.at-shop .link { margin-left: 4px; font-size: .85rem; }
/* voice */
.add-input .mic { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand, #f2545b) 14%, transparent); color: var(--brand, #f2545b); cursor: pointer; }
.add-input .mic svg { width: 22px; height: 22px; stroke-width: 2; }
.tool[hidden], .add-input .mic[hidden] { display: none; }
.listen-dim { position: fixed; inset: 0; z-index: 45; background: rgba(10, 8, 14, .62); animation: ss-dim-in .25s ease both; }
@keyframes ss-dim-in { from { opacity: 0; } }
body.listening :is(#micBtn, .add-input) { position: relative; z-index: 46; }
body.listening #micBtn { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand, #f2545b), 0 12px 30px -8px rgba(242, 84, 91, .7); }
/* the family card (tap the family name) */
.fam h3 { margin: 16px 0 8px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fam-name { display: flex; align-items: center; gap: 6px; font-size: 1.3rem; }
.fam-shop { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.fam-people { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.fam-people li { display: flex; align-items: center; gap: 10px; }
.fam-people small { color: var(--muted); }
.fam-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; color: #fff;
  background: color-mix(in srgb, var(--c, var(--muted)) 30%, var(--surface)); box-shadow: inset 0 0 0 2.5px var(--c, var(--muted)); }
.fam-name .fam-av { width: 44px; height: 44px; font-size: 1.5rem; }
.av-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.av-pick { aspect-ratio: 1; border: 0; border-radius: 16px; background: var(--surface-2); font-size: 1.7rem; cursor: pointer; transition: transform .12s; }
.av-pick:active { transform: scale(.92); }
.av-pick[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--brand, #f2545b); background: color-mix(in srgb, var(--brand, #f2545b) 14%, var(--surface-2)); }
.fam-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; }
.fam-last { margin: 0; }
.fam .btn-row { margin-top: 18px; }
.fam-more { display: block; margin: 16px auto 0; }
.fam .menu-list { margin-top: 16px; }
.me-out { display: block; margin: 28px auto 0; color: var(--muted); font-size: .85rem; }   /* small and apart, and it asks first */
.mic-steps { margin: 12px 0 18px; padding-left: 22px; display: grid; gap: 10px; line-height: 1.4; }
.tool.say.on { border-color: var(--brand, #f2545b); }
.tool.say.on .ti { animation: listen 1s ease-in-out infinite; }
.add-input:has(.mic:not([hidden])) input { padding-right: 46px; }
.add-input .mic.on { background: var(--brand, #f2545b); animation: listen 1s ease-in-out infinite; }
@keyframes listen { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand, #f2545b) 25%, transparent); } }
/* loading */
.skel { display: grid; gap: 10px; padding: 6px 0; }
.skel i { display: block; height: 58px; border-radius: 16px; background: linear-gradient(90deg, var(--line) 0%, color-mix(in srgb, var(--line) 40%, var(--surface)) 50%, var(--line) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skel i:nth-child(2) { width: 88%; } .skel i:nth-child(3) { width: 94%; } .skel i:nth-child(4) { width: 76%; }
@keyframes shimmer { to { background-position: -200% 0; } }
/* couldn't find it */
.not-here { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 5px 10px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.aisle.missing .row { opacity: .8; }
.btn.sm { padding: 6px 12px; font-size: .85rem; min-height: 0; }
/* rewards, two kids */
.reward { margin-top: 10px; display: grid; gap: 6px; font-size: .9rem; }
.reward .rbar { display: block; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .15); overflow: hidden; }
.reward .rbar b { display: block; height: 100%; background: linear-gradient(90deg, #ffd23f, #ff8a6b); border-radius: inherit; }
.reward.ready { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 210, 63, .25); }
.scoreboard { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 2px 0 6px; font-weight: 700; font-size: .95rem; color: var(--dock-ink, inherit); }
.scoreboard span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.scoreboard i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.tile.owned { box-shadow: inset 0 0 0 4px var(--c), 0 4px 0 var(--line); }
.tile .own { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; z-index: 2; }
.reward-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.reward-form > input { flex: 1 1 160px; }
.reward-form .stars-in { display: inline-flex; align-items: center; gap: 4px; }
.reward-form .stars-in input { width: 72px; }
/* first-run tour */
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.16) rotate(-4deg); } 100% { transform: scale(1); } }
/* just added by someone at home: it glows for a moment so the shopper spots it */
.fresh { animation: fresh 1.6s ease-out 2; }
.drop-in { position: fixed; top: calc(env(safe-area-inset-top) + 86px); left: 50%; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 18px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); border: 2px solid var(--brand); pointer-events: none; }
.drop-in b { color: var(--brand-strong); font-size: 1.1rem; }
.drop-in span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-in .e { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.drop-in small { color: var(--muted); }
@keyframes fresh { 0% { box-shadow: 0 0 0 0 rgba(242, 84, 91, .75); } 70% { box-shadow: 0 0 0 12px rgba(242, 84, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 84, 91, 0); } }
.burst { position: absolute; inset: 50% auto auto 50%; pointer-events: none; z-index: 2; }
.burst i { position: absolute; font-style: normal; font-size: 1.25rem; animation: burst .85s ease-out forwards; transform: translate(-50%, -50%) rotate(var(--a)) translateY(0); }
@keyframes burst { to { transform: translate(-50%, -50%) rotate(var(--a)) translateY(-66px) scale(.6); opacity: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti i { position: absolute; top: -40px; font-style: normal; font-size: 1.6rem; animation: fall var(--d, 2s) linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }
.trophy { text-align: center; padding: 6px 0 4px; }
.trophy .big { font-size: 4.2rem; line-height: 1; animation: pop .7s var(--spring); }
.trophy h3 { font-size: 1.35rem; margin: 10px 0 4px; }
.star-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.star-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--grad-soft); font-weight: 750; }
.star-list li span:last-child { margin-left: auto; color: var(--brand-strong); font-weight: 900; }

/* ------------------------------------------------------------ household tab */
.invite-code { font: 800 1.7rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; padding: 18px; text-align: center;
  background: var(--grad-soft); color: var(--brand-strong); border-radius: 16px; margin: 4px 0 12px; user-select: all; border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row .btn { flex: 1 1 auto; }
.people { list-style: none; margin: 0 0 12px; padding: 0; }
.people li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.people li + li { border-top: 1px solid var(--line); }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--c, var(--brand)); flex: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.people .t { flex: 1; min-width: 0; }
.people .t small { display: block; color: var(--muted); }
.inline-form { display: flex; gap: 8px; }
.aisle-order { list-style: none; margin: 0 0 12px; padding: 0; }
.aisle-order li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.aisle-order li + li { border-top: 1px solid var(--line); }
.aisle-order .e { font-size: 1.1rem; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--t, #999) 16%, var(--surface)); }
.aisle-order span.nm { flex: 1; font-weight: 650; }
.aisle-order .btn { width: 38px; min-height: 38px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.toggle-row + .toggle-row { border-top: 1px solid var(--line); }
.toggle-row b { display: block; }
.toggle-row small { color: var(--muted); }
.trips { list-style: none; margin: 0; padding: 0; }
.trips li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; }
.trips li + li { border-top: 1px solid var(--line); }
.about { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 22px; }

/* ------------------------------------------------------------ sheet (dialog) */
.sheet { border: 0; padding: 0; width: min(560px, 100%); max-width: 100%; max-height: 88vh; max-height: 88dvh; margin: auto auto 0; border-radius: 26px 26px 0 0;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.sheet:not([open]) { display: none; }
.sheet[open] { animation: up .32s var(--spring); }
.sheet::backdrop { background: rgba(30, 12, 6, .45); backdrop-filter: blur(2px); }
@keyframes up { from { transform: translateY(60px); opacity: 0; } }
@media (min-width: 640px) { .sheet { margin: auto; border-radius: 26px; } }
.sheet-grip { width: 42px; height: 5px; border-radius: 99px; background: var(--line); margin: 9px auto 0; }
@media (min-width: 640px) { .sheet-grip { display: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 6px 20px; }
.sheet-head h2 { font-size: 1.25rem; }
.sheet-body { padding: 6px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
.sheet-actions { display: flex; gap: 8px; margin-top: 18px; }
.sheet-actions .btn { flex: 1; }
.menu-list { display: grid; gap: 4px; }
.menu-list .btn { justify-content: flex-start; border: 0; background: none; min-height: 52px; border-radius: 14px; }
.menu-list .btn:hover { background: var(--surface-2); }
.menu-list .btn svg { color: var(--brand-strong); }
.menu-list .btn.danger svg { color: var(--danger); }
.qty-field { display: flex; align-items: center; gap: 12px; }
.qty-field .stepper button { width: 46px; height: 46px; }
.qty-field .stepper b { min-width: 34px; font-size: 1.1rem; }

.browse-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; position: sticky; top: -6px; background: var(--surface); z-index: 3; padding-top: 6px; }
.browse-filter::-webkit-scrollbar { display: none; }
.browse-filter .chip { box-shadow: none; }
.browse-filter .chip[aria-pressed="true"] { background: var(--grad); color: var(--brand-ink); border-color: transparent; }
.browse .tiles { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.browse .tile { min-height: 104px; }
.browse .tile .e { font-size: 2.2rem; width: 54px; height: 54px; }

.scan-list { list-style: none; margin: 0; padding: 0; }
.scan-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.scan-list li + li { border-top: 1px solid var(--line); }
.scan-list input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.scan-list input.nm { min-height: 42px; }
.scan-list li.unsure input.nm { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); }
.scan-list .q { width: 64px; flex: none; text-align: center; padding: 0 6px; min-height: 42px; }
.scan-list li.off input.nm { opacity: .45; text-decoration: line-through; }
.scan-hint { font-size: .85rem; color: var(--warn); margin-bottom: 8px; }
.scan-list li:has(.wrote) { flex-wrap: wrap; }
.scan-list li:has(.wrote) input.nm { flex: 1 1 0; width: auto; min-width: 0; }
.scan-list .wrote { flex: 0 0 100%; padding-left: 32px; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.scan-list li.off .wrote { display: none; }
.scan-photo { margin-bottom: 8px; }
.scan-photo summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.scan-photo summary::after { content: "›"; margin-left: 8px; font-size: 1.2rem; transition: transform .2s; } .scan-photo[open] summary::after { transform: rotate(90deg); }
.scan-photo img { display: block; width: 100%; max-height: 60vh; object-fit: contain; border-radius: 12px; background: var(--line); }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--surface-2); border-top-color: var(--brand); border-right-color: var(--brand-2); animation: spin .8s linear infinite; margin: 24px auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 86px); z-index: 120;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px); padding: 12px 14px 12px 18px; border-radius: 16px;
  background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); font-weight: 650; animation: toastIn .35s var(--spring); }
@keyframes toastIn { from { transform: translate(-50%, 16px) scale(.96); opacity: 0; } }
.toast button { background: none; border: 0; color: var(--brand-2); font-weight: 900; cursor: pointer; padding: 4px; }
@media (min-width: 900px) { .toast { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.welcome-hop { filter: drop-shadow(0 8px 14px rgba(242, 84, 91, .25)); }
.welcome-brand img.welcome-hop { border-radius: 0; box-shadow: none; animation: none; }   /* Hop animates itself */

/* Kid mode: game picker and the Dino Discovery world */
.game-pick { display: flex; gap: 8px; margin-bottom: 10px; overflow-x: auto; }
.game-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; transition: transform .25s var(--spring); }
.game-chip span { font-size: 1.3rem; }
.game-chip:active { transform: scale(.94); }
.game-chip[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); }
body.game-dino .kid-banner { background: linear-gradient(135deg, #C9F2D9 0%, #E6F4C2 50%, #F9E3B5 100%); color: #183A22; }
:root[data-theme="dark"] body.game-dino .kid-banner { background: linear-gradient(135deg, #12351F, #2A3A12 50%, #3F2E0E); color: #E8F7EC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.game-dino .kid-banner { background: linear-gradient(135deg, #12351F, #2A3A12 50%, #3F2E0E); color: #E8F7EC; } }
body.game-dino .race-track { background: repeating-linear-gradient(90deg, #E9D8B4 0 14px, #D9C090 14px 28px); }
body.game-dino .race-fill { background: linear-gradient(90deg, #6BBF59, #2E8B57, #8B5A2B, #E5483A); }
/* Dino: numbered stepping stones (hopscotch squares) to the volcano; the dino steps onto the next one with each find */
.race.stones { height: 58px; }
.race.stones i { position: absolute; bottom: 2px; max-width: 30px; height: 16px; transform: translateX(-50%);
  display: grid; place-items: center; font: 700 .6rem var(--font); font-style: normal; color: #6b6460; border-radius: 6px;
  background: #d6cfc6; box-shadow: 0 3px 0 #a39a90; }
.race.stones i.on { background: #ffd23f; color: #6b4a00; box-shadow: 0 3px 0 #c99a12; }
.race.stones .race-cart { top: auto; bottom: 14px; transform: translateX(-50%); font-size: 2.2rem; line-height: 1; }
.race.stones .race-cart.step { animation: ss-dino-step .7s ease-in-out; }
.race.stones .race-flag { top: auto; bottom: 0; font-size: 2rem; }
.race-flag .egg { display: inline-block; transform-origin: 50% 90%; }
.race-flag .egg.wobble { animation: ss-egg-wobble 1.6s ease-in-out infinite; }   /* nearly there: the egg's about to hatch */
@keyframes ss-egg-wobble { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-12deg); } 76% { transform: rotate(10deg); } 84% { transform: rotate(-6deg); } 92% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .race-flag .egg.wobble { animation: none; } }
body.game-on .race-dock .race.stones { height: 64px; } body.game-on .race-dock .race.stones .race-cart { font-size: 2.7rem; }
@keyframes ss-dino-step { from { transform: translateX(calc(-50% + var(--from, 0px))); }
  30% { transform: translateX(calc(-50% + var(--from, 0px) * .7)) rotate(-6deg); } 65% { transform: translateX(calc(-50% + var(--from, 0px) * .2)) rotate(4deg); } }
.dino-art { display: inline-block; width: 1.2em; height: 1.05em; vertical-align: middle; stroke: none; }
.game-extra { text-align: center; font-size: 1.15rem; margin: 2px 0 10px; letter-spacing: .04em; }
/* Space: our solar system in a row, lighting up as the rocket reaches each planet */
.game-extra.planets { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 30px; }
.pl { position: relative; display: inline-block; flex: none; border-radius: 50%; opacity: .3; filter: grayscale(.7); transition: opacity .5s, filter .5s; }
.pl.on { opacity: 1; filter: none; }
.pl.next { opacity: .7; filter: none; animation: ss-pl-next 1.4s ease-in-out infinite; }
@keyframes ss-pl-next { 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); } }
.pl-sun { width: 22px; height: 22px; background: radial-gradient(circle at 40% 40%, #fff6b0, #fbbf24 55%, #f97316); box-shadow: 0 0 10px #fbbf24; }
.pl-mercury { width: 7px; height: 7px; background: radial-gradient(circle at 35% 35%, #d6d3d1, #78716c); }
.pl-venus { width: 11px; height: 11px; background: radial-gradient(circle at 35% 35%, #fef3c7, #d6a356); }
.pl-earth { width: 12px; height: 12px; background: radial-gradient(circle at 35% 35%, #7dd3fc 0 30%, transparent 31%), radial-gradient(circle at 65% 60%, #4ade80 0 28%, #2563eb 29%); }
.pl-mars { width: 9px; height: 9px; background: radial-gradient(circle at 35% 35%, #fca5a5, #dc2626); }
.pl-jupiter { width: 24px; height: 24px; background: repeating-linear-gradient(180deg, #f5deb3 0 3px, #d6a067 3px 6px, #b7794a 6px 8px); }
.pl-saturn { width: 18px; height: 18px; margin: 0 6px; background: radial-gradient(circle at 35% 35%, #fef3c7, #e3c27d); }
.pl-saturn::after { content: ""; position: absolute; left: -7px; right: -7px; top: 50%; height: 6px; margin-top: -3px; border-radius: 50%;
  border: 2px solid #d9b56b; transform: rotate(-18deg); }
.pl-uranus { width: 14px; height: 14px; background: radial-gradient(circle at 35% 35%, #ccfbf1, #5eead4); }
.pl-neptune { width: 14px; height: 14px; background: radial-gradient(circle at 35% 35%, #93c5fd, #1d4ed8); }
.pl-neptune.big { width: 26px; height: 26px; opacity: 1; filter: none; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .pl.next { animation: none; } }
/* Space: a starfield at night whatever the theme */
body.game-space .kid-banner { background: radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 1.6px) 0 0 / 26px 26px, linear-gradient(135deg, #0B1437, #2A1A5E 60%, #3B1A6E); color: #F1F5FF; }
body.game-space .race-track { background: rgba(167,139,250,.18); }
body.game-space .race-fill { background: linear-gradient(90deg, #22D3EE, #A78BFA, #F472B6); }
/* Farm: sky over a hay field */
body.game-farm .kid-banner { background: linear-gradient(180deg, #BFE6FF 0 55%, #8BD36B 55% 100%); color: #1F3A12; }
:root[data-theme="dark"] body.game-farm .kid-banner { background: linear-gradient(180deg, #1B3550 0 55%, #2E5320 55% 100%); color: #EAF7E0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.game-farm .kid-banner { background: linear-gradient(180deg, #1B3550 0 55%, #2E5320 55% 100%); color: #EAF7E0; } }
body.game-farm .race-track { background: #C69C6D; }
body.game-farm .race-fill { background: repeating-linear-gradient(90deg, #F6D365 0 10px, #E5B94F 10px 20px); }
/* Spy: green-on-black terminal, and the secret message in monospace */
body.game-spy .kid-banner { background: repeating-linear-gradient(0deg, rgba(34,197,94,.06) 0 2px, transparent 2px 4px), #0F1A14; color: #B9F6CA; }
body.game-spy .race-track { background: rgba(34,197,94,.15); }
body.game-spy .race-fill { background: linear-gradient(90deg, #16A34A, #4ADE80); }
body.game-spy .game-extra { font-family: ui-monospace, Consolas, monospace; font-weight: 800; color: #16A34A; letter-spacing: .18em; word-break: break-word; }

/* ============================================================ splash: Hop hops along the list while the app opens */
.splash { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; background: linear-gradient(180deg, #FF8A6B, #F2545B); color: #fff; transition: opacity .4s ease; cursor: pointer; }
.splash.gone { opacity: 0; pointer-events: none; }
.splash img { width: min(64vw, 260px); height: auto; filter: drop-shadow(0 12px 18px rgba(90, 20, 20, .22)); }
.splash-word { font: 700 2.5rem/1 var(--font); letter-spacing: .01em; }
.splash-word b { display: inline-block; font-weight: 700; }
.splash-word b:nth-child(odd) { transform: translateY(-3px); } .splash-word b:nth-child(even) { transform: translateY(3px); }
.splash-tag { margin: 0; font-weight: 600; opacity: .92; text-align: center; }

/* ============================================================ sign-in: Google, Apple, email code */
.welcome-h { margin: 0; font-size: 1.25rem; }
.social { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; text-decoration: none; font-weight: 600; }
.s-google { background: #fff; color: #1f1f1f; border: 1.5px solid #dadce0; }
.s-apple { background: #000; color: #fff; border: 1.5px solid #000; }
:root[data-theme="dark"] .s-apple { background: #fff; color: #000; border-color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .s-apple { background: #fff; color: #000; border-color: #fff; } }
.or-line { display: flex; align-items: center; gap: 10px; margin: 2px 0; color: var(--muted, #7a6c64); font-size: .9rem; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; }
.otp { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.dev-code { margin: 0; padding: 8px 12px; border-radius: 12px; background: #fff4c2; color: #5c4400; font-size: .9rem; }
.signed-as { margin: 0; }
.center { text-align: center; }
.card-sub.warn { color: var(--danger, #C62828); }

/* try it first: the big button on the welcome screen, the strip while trying, the nudges after a shop */
.try-box { margin: 18px auto 4px; max-width: 360px; display: grid; gap: 8px; text-align: center; }
.try-box .small { margin: 0; opacity: .85; }
.trial-bar { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 16px;
  background: color-mix(in srgb, var(--brand) 14%, var(--surface)); border-bottom: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  font-size: .9rem; font-weight: 500; }
.trial-bar[hidden] { display: none; }
.trial-card { border: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.after-nudge { display: grid; gap: 4px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.after-nudge span { font-size: .9rem; color: var(--muted); }
.after-nudge .btn { justify-self: start; margin-top: 6px; }
.gift { margin: 4px 0 0; padding: 8px 12px; border-radius: 14px; background: var(--brand-soft); font-weight: 600; font-size: .92rem; }
.gift[hidden] { display: none; }
.save-stars { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--brand-soft); font-weight: 600; text-align: center; }
.free-months { margin: 0 0 10px; padding: 8px 12px; border-radius: 12px; background: var(--brand-soft); }
.partner-view { margin-top: 14px; }
/* Go shopping sits at the end of the list (the Shop tab carries the count) */
.go-shop { margin: 16px 0 8px; }
.go-shop[hidden] { display: none; }
.go-shop .btn { min-height: 52px; }
.go-shop .btn svg { width: 20px; height: 20px; }
.btn.primary { text-shadow: none; }
/* Shop tab: "Not here" only on the row you press and hold (still there for screen readers) */
.not-here:not(.show) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.not-here.show { min-height: 44px; padding: 0 14px; animation: rise .2s var(--spring); }
.hold-hint { margin: 0 4px 10px; font-size: .85rem; color: var(--muted); }
.shop-row { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* usuals: wrap instead of scrolling sideways, and the whole usual shop in one go */
#usualChips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.usual-shop { margin: 0 0 10px; }
.usual-shop[hidden] { display: none; }
.scan-list .have { flex: none; font-size: .72rem; font-weight: 700; color: var(--muted); }
/* invite link: just the invitation and the sign-in */
.welcome.invited .welcome-points, .welcome.invited #welcomeTabs { display: none; }
/* Kid mode: pick a game */
.game-picker .gi-name { margin-bottom: 18px; }
.gp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(92vw, 420px); }
.gp-card { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; border-radius: 22px; border: 3px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14); color: #fff; font: 700 1.05rem/1.2 var(--font); cursor: pointer; }
.gp-card .gp-ico { font-size: 2.6rem; }
.gp-card.on { border-color: #ffd23f; background: rgba(255, 210, 63, .22); }
.gp-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.partner-card { position: relative; display: grid; gap: 6px; margin: 0 0 14px; padding: 14px 44px 14px 16px; border-radius: 18px;
  background: var(--surface); border: 2px solid var(--brand-soft); box-shadow: var(--shadow); }
.partner-card[hidden] { display: none; }
.partner-card span, .partner-card small { color: var(--muted); font-size: .9rem; }
.partner-card .btn-row { margin-top: 4px; }
.partner-card .pc-x { position: absolute; top: 6px; right: 6px; }
.kid-banner.playing { padding-top: 12px; padding-bottom: 12px; }
.kid-banner .also { margin: 4px 0 8px; font-size: .9rem; opacity: .9; }
.tile.theirs { opacity: .55; filter: saturate(.6); }
.fn-score { position: relative; z-index: 2; margin: 6px 0 0; font-size: 1.2rem; font-weight: 700; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.kid-banner.playing h2 { font-size: 1.15rem; margin-bottom: 8px; }
.seg-opt { flex: 1; position: relative; }
.seg-opt input { position: absolute; opacity: 0; }
.seg-opt span { display: block; padding: 8px 6px; text-align: center; border-radius: 12px; font-size: .85rem; cursor: pointer; }
.seg-opt input:checked + span { background: var(--surface); box-shadow: var(--shadow); font-weight: 600; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--brand); }
.brag-wrap { display: grid; place-items: center; min-height: 120px; margin: 10px 0; }
.brag-img { width: min(100%, 300px); border-radius: 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.install-steps { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 12px; }
.install-steps li { display: flex; gap: 12px; align-items: flex-start; }
.install-steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.install-steps b { display: block; }
.install-steps small { color: var(--muted); }
.si-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.si-list:empty { display: none; }
.si-ok { color: var(--ok, #22C38E); font-weight: 700; margin-right: 6px; }
.welcome.later .welcome-points { display: none; }
.topbar-home { display: flex; flex: none; }

/* ============================================================ big game moments (ported from the first Shopscotch) */
/* 25/50/75%: the hero dashes across with a trail and a badge pops */
.ms-show { position: fixed; inset: 0; z-index: 110; overflow: hidden; touch-action: manipulation; animation: fs-fadein .25s ease both; }
.ms-show.out { animation: ss-fn-out .3s ease forwards; }
.ms-bg { position: absolute; inset: 0; }
.ms-run { position: absolute; top: 66%; left: 0; display: flex; align-items: center; gap: 4px; transform: translateX(-110%); animation: ss-ms-run 2s cubic-bezier(.45, .05, .4, 1) forwards; }
.ms-hero { font-size: 4.6rem; line-height: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); animation: ss-ms-bob .3s ease-in-out infinite; }
.ms-trail { display: flex; gap: 2px; font-size: 1.8rem; }
.ms-trail i { font-style: normal; animation: ss-ms-bob .4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.07s); }
.ms-badge { position: absolute; left: 0; right: 0; top: 11%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 16px; text-align: center; color: #fff;
  font: 700 1.5rem/1.05 var(--font); letter-spacing: .06em; text-shadow: 0 3px 0 rgba(0,0,0,.3), 0 0 16px rgba(0,0,0,.35); animation: ss-ms-badge-in .6s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.ms-badge b { font-size: 3.4rem; color: #ffd54a; }
.zoom-space .ms-run { animation-name: ss-ms-fly; } .zoom-space .ms-badge b { color: #a5f3fc; }
.zoom-farm .ms-badge b { color: #fde047; } .zoom-dino .ms-badge b { color: #fdba74; }
.zoom-spy .ms-badge, .zoom-spy .ms-badge b { font-family: ui-monospace, Consolas, monospace; color: #4ade80; }
.zoom-spy.ms-show::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 4px; background: #ef4444; box-shadow: 0 0 18px 4px rgba(239,68,68,.7); animation: ss-ms-scan 1.1s ease-in-out 2 alternate; }
@keyframes ss-ms-run { from { transform: translateX(-110%); } to { transform: translateX(110vw); } }
@keyframes ss-ms-fly { from { transform: translate(-110%, 120px) rotate(-20deg); } to { transform: translate(110vw, -120px) rotate(-20deg); } }
@keyframes ss-ms-bob { 50% { translate: 0 -8px; } }
@keyframes ss-ms-badge { 0% { transform: scale(.2) rotate(-12deg); opacity: 0; } 18% { transform: scale(1.15) rotate(3deg); opacity: 1; } 28%, 80% { transform: none; opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes ss-ms-shake { 25% { transform: translate(3px, -2px); } 75% { transform: translate(-3px, 2px); } }
@keyframes ss-ms-scan { to { top: 100vh; } }

/* everything found: the themed finale */
.finale { position: fixed; inset: 0; z-index: 115; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  padding: 24px; color: #fff; animation: ss-fn-in .35s ease both; cursor: pointer; }
.finale.out { animation: ss-fn-out .4s ease forwards; }
.fn-sky { position: absolute; inset: 0; z-index: -1; }
.fn-scene { font-size: 7rem; line-height: 1; animation: ss-fn-scene .9s cubic-bezier(.3, 1.5, .5, 1) .2s both; filter: drop-shadow(0 10px 16px rgba(0,0,0,.35)); }
.fn-hero { font-size: 3.4rem; line-height: 1; margin-top: -10px; animation: ss-fn-hero 1.4s cubic-bezier(.3, 1.2, .5, 1) .3s both; }
.fn-head { margin: 16px 0 6px; font: 700 2.1rem/1.05 var(--font); letter-spacing: .06em; text-shadow: 0 4px 0 rgba(0,0,0,.25); animation: ss-fn-head .6s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
.fn-sub { margin: 0; font-size: 1.1rem; font-weight: 700; opacity: .95; animation: ss-fn-in .5s ease 1.2s both; }
.fn-parade { position: absolute; left: 0; right: 0; bottom: 70px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 0 16px; font-size: 1.9rem; }
.fn-parade i { font-style: normal; animation: ss-fn-crew .5s cubic-bezier(.3, 1.6, .5, 1) both, ss-ms-bob 1.2s ease-in-out infinite;
  animation-delay: calc(1.3s + var(--i, 0) * .08s), calc(1.9s + var(--i, 0) * .1s); }
.fn-tap { position: absolute; bottom: 26px; left: 0; right: 0; margin: 0; font-size: .85rem; opacity: .75; }
.fn-props span { position: absolute; font-size: 2.6rem; animation: ss-fn-prop 3.6s linear both; }
.fn-props span:first-child { left: -60px; top: 18%; } .fn-props span:last-child { right: -60px; top: 70%; animation-direction: reverse; }
.finale-race { background: var(--scene-race) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); } .finale-race .fn-sky { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 60px 60px; opacity: .18; } .finale-race .fn-head { color: #facc15; }
.finale-space { background: var(--scene-space) center bottom / 100% auto no-repeat, radial-gradient(circle at 75% 20%, rgba(167,139,250,.35), transparent 40%), linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); } .finale-space .fn-head { color: #a5f3fc; }
.finale-space .fn-sky { background: radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.6px) 0 0 / 61px 67px, radial-gradient(circle, rgba(255,255,255,.55) 0 .8px, transparent 1.3px) 23px 31px / 43px 47px, radial-gradient(circle, rgba(165,243,252,.7) 0 1.2px, transparent 1.8px) 9px 52px / 97px 89px; animation: ss-fn-stars 20s linear infinite; }
.finale-space .fn-hero { animation-name: ss-fn-land; }
/* Space Shop's checkout: the route from Neptune to the Checkout Station, then the grown-up's buttons */
.finale.checkout .co-route { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.finale.checkout .co-route .pl { width: 34px; height: 34px; opacity: 1; filter: none; }
.co-from { font-size: 2.6rem; line-height: 1; }
.co-from svg, .co-from img { width: 52px; height: 52px; }
/* under every game's picture once everything's found: the last stop, glowing */
.co-next { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 0; padding: 6px 16px; border: 2px dashed currentColor; border-radius: 999px; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; animation: ss-co-beacon 1.6s ease-in-out infinite; }
.co-next .co-stop { font-size: 1.5rem; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .co-next { animation: none; } }
.co-dots { width: 110px; border-top: 4px dotted #a5f3fc; opacity: .8; }
.co-station { font-size: 3.2rem; animation: ss-co-beacon 1.6s ease-in-out infinite; }
@keyframes ss-co-beacon { 50% { transform: scale(1.12); filter: drop-shadow(0 0 12px #a5f3fc); } }
.co-actions { display: grid; gap: 10px; justify-items: center; margin-top: 22px; position: relative; z-index: 2; }
.co-actions .btn { min-height: 52px; padding: 12px 22px; font-size: 1.05rem; }
.co-actions .link { color: inherit; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .co-station { animation: none; } }
.finale-farm { background: var(--scene-farm) center bottom / 100% auto no-repeat, linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); color: #234d16; } .finale-farm .fn-head { color: #a0703f; text-shadow: 0 3px 0 #fff8e7; }
.finale-dino { background: var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); } .finale-dino .fn-head { color: #fde68a; }
.finale-dino .fn-scene { animation: ss-fn-scene .9s cubic-bezier(.3,1.5,.5,1) .2s both, ss-fn-erupt .3s ease-in-out 1.1s 6 alternate; }
.finale-dino .fn-props span:first-child { scale: -1 1; }
.finale-spy { background: var(--scene-spy) center bottom / 100% auto no-repeat, linear-gradient(180deg, #020604 0%, #06140b 100%); color: #b9f6ca; font-family: ui-monospace, Consolas, monospace; }
.finale-spy .fn-head { color: #ef4444; border: 4px solid #ef4444; padding: 4px 14px; border-radius: 6px; transform: rotate(-6deg); background: rgba(255,255,255,.05);
  animation: ss-fn-stamp .45s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
.finale-spy .fn-sub { letter-spacing: .14em; color: #4ade80; }
@keyframes ss-fn-in { from { opacity: 0; } } @keyframes ss-fn-out { to { opacity: 0; } }
@keyframes ss-fn-scene { from { transform: scale(.2) rotate(-20deg); opacity: 0; } }
@keyframes ss-fn-hero { from { transform: translateY(-60vh) scale(.6); } }
@keyframes ss-fn-land { from { transform: translateY(-70vh) scale(.6); } 70% { transform: translateY(10px); } }
@keyframes ss-fn-head { from { transform: scale(.3); opacity: 0; } }
@keyframes ss-fn-prop { to { transform: translateX(calc(100vw + 120px)); } }
@keyframes ss-fn-crew { from { transform: translateY(30px) scale(0); opacity: 0; } }
@keyframes ss-fn-stars { to { background-position: 0 300px; } }
@keyframes ss-fn-erupt { to { transform: translateY(-6px) rotate(2deg); } }
@keyframes ss-fn-stamp { from { transform: rotate(-6deg) scale(2.4); opacity: 0; } to { transform: rotate(-6deg); } }

@media (prefers-reduced-motion: reduce) {
  .ms-run { display: none; } .race.stones .race-cart.step { animation: none; }
  .finale *, .finale { animation-duration: .01s !important; animation-delay: 0s !important; }
}

/* ============================================================ the game takes over: its world, the game bar, the intro */
body.game-on .topbar, body.game-on .tabbar, body.game-on #view-shop .view-head, body.game-on #shopProgress { display: none !important; }
body.game-on main { padding-top: calc(var(--hud-h, 60px) + 10px); padding-bottom: calc(110px + env(safe-area-inset-bottom)); transition: padding-top .25s ease; }
body.game-on.hud-away main { padding-top: max(12px, env(safe-area-inset-top)); }
body.game-on .cta-bar { bottom: max(14px, env(safe-area-inset-bottom)); }
body.game-on { min-height: 100vh; min-height: 100dvh; overflow-anchor: none; }
body.game-on :is(.race-text, .game-extra, #shopBody .aisle-h) { color: var(--game-ink); }

/* in a game the progress locks to the top of the screen, so kids can see how far they've got while scrolling the tiles.
   It sits under the game bar, and slides up to the very top when the bar tucks away. */
body.game-on .race-dock { position: sticky; top: calc(var(--hud-h, 60px) - 1px); z-index: 30; margin: 0 -16px 12px; padding: 8px 16px 2px;
  background: var(--dock-bg); border-radius: 0 0 20px 20px; box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: top .25s ease; }
body.game-on.hud-away .race-dock { top: 0; padding-top: max(8px, env(safe-area-inset-top)); }
body.game-on #shopBody .race-dock :is(.race-text, .game-extra) { color: var(--dock-ink); text-shadow: none; }   /* #shopBody: beats the world ink above */
/* the games' scenery, drawn once and used by the world, the intro and the finale */
:root {
  --scene-race: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cpath d=%22M0 118 L400 118 L400 112 L0 100Z%22 fill=%22%23475569%22/%3E%3Crect x=%220%22 y=%22118%22 width=%22400%22 height=%2284%22 fill=%22%23334155%22/%3E %3Cg stroke=%22%231e293b%22 stroke-width=%222%22%3E%3Cpath d=%22M0 127h400%22/%3E%3Cpath d=%22M0 136h400%22/%3E%3Cpath d=%22M0 145h400%22/%3E%3Cpath d=%22M0 154h400%22/%3E%3Cpath d=%22M0 163h400%22/%3E%3Cpath d=%22M0 172h400%22/%3E%3Cpath d=%22M0 181h400%22/%3E%3Cpath d=%22M0 190h400%22/%3E%3Cpath d=%22M0 199h400%22/%3E%3C/g%3E%3Ccircle cx=%2214%22 cy=%22132%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2224%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2234%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2244%22 cy=%22132%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2254%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2264%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2274%22 cy=%22132%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2284%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2294%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22104%22 cy=%22132%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22114%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22124%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22134%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22144%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22154%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22164%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22174%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22184%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22194%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22204%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22214%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22224%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22234%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22244%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22254%22 cy=%22132%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22264%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22274%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22284%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22294%22 cy=%22132%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22304%22 cy=%22132%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22314%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22324%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22334%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22344%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22354%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22364%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22374%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22384%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22394%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2219%22 cy=%22141%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2229%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2239%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2249%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2259%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2269%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2279%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2289%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2299%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22109%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22119%22 cy=%22141%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22129%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22139%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22149%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22159%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22169%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22179%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22189%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22199%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22209%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22219%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22229%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22239%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22249%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22259%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22269%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22279%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22289%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22299%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22309%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22319%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22329%22 cy=%22141%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22339%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22349%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22359%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22369%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22379%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22389%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2214%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2224%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2234%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2244%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2254%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2264%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2274%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2284%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2294%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22104%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22114%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22124%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22134%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22144%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22154%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22164%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22174%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22184%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22194%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22204%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22214%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22224%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22234%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22244%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22254%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22264%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22274%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22284%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22294%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22304%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22314%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22324%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22334%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22344%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22354%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22364%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22374%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22384%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22394%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2219%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2229%22 cy=%22159%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2239%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2249%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2259%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2269%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2279%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2289%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2299%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22109%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22119%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22129%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22139%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22149%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22159%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22169%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22179%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22189%22 cy=%22159%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22199%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22209%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22219%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22229%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22239%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22249%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22259%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22269%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22279%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22289%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22299%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22309%22 cy=%22159%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22319%22 cy=%22159%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22329%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22339%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22349%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22359%22 cy=%22159%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22369%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22379%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22389%22 cy=%22159%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2214%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2224%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2234%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2244%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2254%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2264%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2274%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2284%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2294%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22104%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22114%22 cy=%22168%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22124%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22134%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22144%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22154%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22164%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22174%22 cy=%22168%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22184%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22194%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22204%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22214%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22224%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22234%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22244%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22254%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22264%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22274%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22284%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22294%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22304%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22314%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22324%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22334%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22344%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22354%22 cy=%22168%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22364%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22374%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22384%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22394%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2219%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2229%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2239%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2249%22 cy=%22177%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2259%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2269%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2279%22 cy=%22177%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2289%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2299%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22109%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22119%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22129%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22139%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22149%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22159%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22169%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22179%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22189%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22199%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22209%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22219%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22229%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22239%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22249%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22259%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22269%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22279%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22289%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22299%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22309%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22319%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22329%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22339%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22349%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22359%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22369%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22379%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22389%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2214%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2224%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2234%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2244%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2254%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2264%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2274%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2284%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2294%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22104%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22114%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22124%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22134%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22144%22 cy=%22186%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22154%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22164%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22174%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22184%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22194%22 cy=%22186%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22204%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22214%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22224%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22234%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22244%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22254%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22264%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22274%22 cy=%22186%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22284%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22294%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22304%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22314%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22324%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22334%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22344%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22354%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22364%22 cy=%22186%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22374%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22384%22 cy=%22186%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22394%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2219%22 cy=%22195%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2229%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2239%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2249%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2259%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2269%22 cy=%22195%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2279%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2289%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2299%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22109%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22119%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22129%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22139%22 cy=%22195%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22149%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22159%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22169%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22179%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22189%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22199%22 cy=%22195%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22209%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22219%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22229%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22239%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22249%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22259%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22269%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22279%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22289%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22299%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22309%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22319%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22329%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22339%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22349%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22359%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22369%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22379%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22389%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E %3Cg fill=%22%23e2e8f0%22%3E%3Crect x=%2240%22 y=%2270%22 width=%223%22 height=%2248%22/%3E%3Crect x=%22160%22 y=%2270%22 width=%223%22 height=%2248%22/%3E%3Crect x=%22280%22 y=%2270%22 width=%223%22 height=%2248%22/%3E%3C/g%3E %3Cpath d=%22M43 70h22l-6 6 6 6h-22Z%22 fill=%22%23ef4444%22/%3E%3Cpath d=%22M163 70h22l-6 6 6 6h-22Z%22 fill=%22%23facc15%22/%3E%3Cpath d=%22M283 70h22l-6 6 6 6h-22Z%22 fill=%22%2322c55e%22/%3E %3Crect x=%220%22 y=%22202%22 width=%22400%22 height=%228%22 fill=%22%23e2e8f0%22/%3E %3Crect x=%220%22 y=%22210%22 width=%22400%22 height=%2290%22 fill=%22%233f4a5a%22/%3E %3Cg fill=%22%23e2e8f0%22%3E%3Crect x=%224%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%2248%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%2292%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22136%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22180%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22224%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22268%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22312%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22356%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3C/g%3E%3Crect x=%22300%22 y=%22214%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22222%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22230%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22238%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22246%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22254%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22262%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22270%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22278%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22286%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22294%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22214%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22222%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22230%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22238%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22246%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22254%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22262%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22270%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22278%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22286%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22294%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E %3Cg fill=%22%23111%22%3E%3Ccircle cx=%2220%22 cy=%22196%22 r=%229%22/%3E%3Ccircle cx=%2238%22 cy=%22196%22 r=%229%22/%3E%3Ccircle cx=%2229%22 cy=%22182%22 r=%229%22/%3E%3C/g%3E %3Cg fill=%22%23ef4444%22%3E%3Crect x=%220%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%2240%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%2280%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22120%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22160%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22200%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22240%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22280%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22320%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22360%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3C/g%3E %3C/svg%3E");
  --scene-space: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22388%22 cy=%22218%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22205%22 cy=%22189%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22265%22 cy=%22126%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2214%22 cy=%227%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22132%22 cy=%2249%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22370%22 cy=%2289%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22112%22 cy=%2226%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22100%22 cy=%2286%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22319%22 cy=%22230%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22334%22 cy=%2288%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2261%22 cy=%2299%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2291%22 cy=%22111%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22369%22 cy=%22101%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22380%22 cy=%2221%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2265%22 cy=%227%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22238%22 cy=%22206%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22305%22 cy=%22121%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22280%22 cy=%22140%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%227%22 cy=%22204%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22383%22 cy=%2235%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22108%22 cy=%227%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22149%22 cy=%22128%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22166%22 cy=%2266%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2231%22 cy=%22189%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22339%22 cy=%22149%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2266%22 cy=%22136%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22261%22 cy=%224%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22311%22 cy=%221%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2272%22 cy=%22121%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2231%22 cy=%2283%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22286%22 cy=%2214%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22141%22 cy=%2210%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22231%22 cy=%22143%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22226%22 cy=%2283%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22141%22 cy=%22115%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22126%22 cy=%22178%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22103%22 cy=%22215%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22213%22 cy=%2231%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22161%22 cy=%2218%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2237%22 cy=%2254%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22397%22 cy=%2239%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22129%22 cy=%22226%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22112%22 cy=%22191%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22249%22 cy=%2241%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22361%22 cy=%22110%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22215%22 cy=%2250%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2247%22 cy=%22184%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22173%22 cy=%22141%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22360%22 cy=%224%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22264%22 cy=%22159%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2232%22 cy=%2228%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2243%22 cy=%2267%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22398%22 cy=%2246%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22216%22 cy=%22217%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2276%22 cy=%22137%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22167%22 cy=%2222%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22352%22 cy=%2246%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22137%22 cy=%224%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2242%22 cy=%22155%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22135%22 cy=%22220%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%225%22 cy=%2286%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22318%22 cy=%2233%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22363%22 cy=%2261%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22134%22 cy=%2212%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22159%22 cy=%22160%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22388%22 cy=%2252%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22256%22 cy=%22172%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22177%22 cy=%22205%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2218%22 cy=%223%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22258%22 cy=%22141%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E %3Ccircle cx=%22320%22 cy=%2270%22 r=%2220%22 fill=%22%23e3c27d%22/%3E%3Cellipse cx=%22320%22 cy=%2270%22 rx=%2236%22 ry=%229%22 fill=%22none%22 stroke=%22%23d9b56b%22 stroke-width=%224%22 transform=%22rotate(-18 320 70)%22/%3E %3Ccircle cx=%2270%22 cy=%2260%22 r=%229%22 fill=%22%23e5e7eb%22/%3E%3Ccircle cx=%2267%22 cy=%2257%22 r=%222%22 fill=%22%23cbd5e1%22/%3E %3Ccircle cx=%22200%22 cy=%22560%22 r=%22330%22 fill=%22%2360a5fa%22 opacity=%22.35%22/%3E %3Ccircle cx=%22200%22 cy=%22560%22 r=%22318%22 fill=%22%232563eb%22/%3E %3Cpath d=%22M60 262 q40 -24 90 -10 q30 10 20 30 q-50 10 -110 -20Z%22 fill=%22%2322c55e%22/%3E%3Cpath d=%22M230 250 q50 -14 90 4 q10 20 -30 24 q-40 0 -60 -28Z%22 fill=%22%2316a34a%22/%3E %3Cellipse cx=%22160%22 cy=%22292%22 rx=%2260%22 ry=%228%22 fill=%22%23fff%22 opacity=%22.5%22/%3E %3C/svg%3E");
  --scene-farm: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cg fill=%22%23fff%22 opacity=%22.95%22%3E%3Cellipse cx=%22300%22 cy=%2250%22 rx=%2234%22 ry=%2212%22/%3E%3Cellipse cx=%22322%22 cy=%2242%22 rx=%2222%22 ry=%2212%22/%3E%3Cellipse cx=%22110%22 cy=%2280%22 rx=%2226%22 ry=%229%22/%3E%3Cellipse cx=%22126%22 cy=%2274%22 rx=%2216%22 ry=%229%22/%3E%3C/g%3E %3Cpath d=%22M0 175 Q90 135 190 162 T400 150 V300 H0Z%22 fill=%22%239bd673%22/%3E %3Cpath d=%22M0 212 Q120 180 240 205 T400 196 V300 H0Z%22 fill=%22%236fbf4a%22/%3E %3Cg stroke=%22%235aa83a%22 stroke-width=%223%22 fill=%22none%22 opacity=%22.7%22%3E%3Cpath d=%22M10 250 Q120 225 230 245%22/%3E%3Cpath d=%22M0 268 Q130 242 260 262%22/%3E%3Cpath d=%22M0 286 Q140 262 290 280%22/%3E%3C/g%3E %3Crect x=%2244%22 y=%22160%22 width=%227%22 height=%2234%22 fill=%22%237a5230%22/%3E%3Ccircle cx=%2247%22 cy=%22150%22 r=%2222%22 fill=%22%233f8f3f%22/%3E%3Ccircle cx=%2234%22 cy=%22160%22 r=%2214%22 fill=%22%234caf50%22/%3E%3Ccircle cx=%2260%22 cy=%22158%22 r=%2215%22 fill=%22%234caf50%22/%3E %3Crect x=%22330%22 y=%22128%22 width=%2224%22 height=%2278%22 rx=%223%22 fill=%22%23cfd8dc%22/%3E%3Cpath d=%22M330 130 Q342 108 354 130Z%22 fill=%22%23b0bec5%22/%3E%3Cg stroke=%22%23b0bec5%22 stroke-width=%222%22%3E%3Cpath d=%22M330 150h24M330 170h24M330 190h24%22/%3E%3C/g%3E %3Crect x=%22252%22 y=%22150%22 width=%2276%22 height=%2258%22 fill=%22%23c0392b%22/%3E%3Cpath d=%22M245 153 290 116 335 153Z%22 fill=%22%238e2a20%22/%3E %3Crect x=%22282%22 y=%22128%22 width=%2216%22 height=%2213%22 fill=%22%23f5e6c8%22/%3E %3Crect x=%22274%22 y=%22172%22 width=%2232%22 height=%2236%22 fill=%22%23f5e6c8%22/%3E%3Cpath d=%22M274 172l32 36M306 172l-32 36%22 stroke=%22%23c0392b%22 stroke-width=%223%22/%3E %3Cg fill=%22%23f5e6c8%22%3E%3Crect x=%220%22 y=%22236%22 width=%22400%22 height=%225%22/%3E%3Crect x=%220%22 y=%22250%22 width=%22400%22 height=%225%22/%3E %3Crect x=%228%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%2248%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%2288%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22128%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E %3Crect x=%22168%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22208%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22248%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22288%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E %3Crect x=%22328%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22368%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3C/g%3E %3Cg fill=%22%23e3b94f%22%3E%3Cpath d=%22M20 300 l4-22 4 22Z%22/%3E%3Cpath d=%22M60 300 l3-18 3 18Z%22/%3E%3Cpath d=%22M150 300 l4-20 4 20Z%22/%3E%3Cpath d=%22M230 300 l3-24 3 24Z%22/%3E%3Cpath d=%22M320 300 l4-19 4 19Z%22/%3E%3Cpath d=%22M380 300 l3-22 3 22Z%22/%3E%3C/g%3E %3C/svg%3E");
  --scene-jungle: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cg fill=%22%239ca3af%22 opacity=%22.7%22%3E%3Ccircle cx=%22262%22 cy=%2270%22 r=%2212%22/%3E%3Ccircle cx=%22276%22 cy=%2256%22 r=%2215%22/%3E%3Ccircle cx=%22292%22 cy=%2242%22 r=%2218%22/%3E%3C/g%3E %3Cpath d=%22M184 240 252 96h22l68 144Z%22 fill=%22%237a4a35%22/%3E%3Cpath d=%22M252 96q11 9 22 0l-3 10-5-5-3 9-4-8-4 6Z%22 fill=%22%23ff6a1a%22/%3E%3Cellipse cx=%22263%22 cy=%2296%22 rx=%2211%22 ry=%223%22 fill=%22%23ffd23f%22/%3E %3Cg fill=%22%234a3a5a%22%3E%3Cpath d=%22M80 60 l10-6 6 5 6-5 10 6-10-2-6 4-6-4Z%22/%3E%3Cpath d=%22M140 40 l7-4 4 3 4-3 7 4-7-1-4 3-4-3Z%22/%3E%3Cpath d=%22M340 120 l8-5 5 4 5-4 8 5-8-2-5 3-5-3Z%22/%3E%3C/g%3E %3Cpath d=%22M0 200 Q100 170 200 195 T400 185 V300 H0Z%22 fill=%22%234f8f2f%22/%3E %3Cpath d=%22M0 238 Q120 215 240 235 T400 228 V300 H0Z%22 fill=%22%233f7d27%22/%3E %3Cpath d=%22M34 300 Q30 220 52 150%22 stroke=%22%238b5a2b%22 stroke-width=%229%22 fill=%22none%22 stroke-linecap=%22round%22/%3E %3Cg fill=%22%232f7d32%22%3E%3Cpath d=%22M52 150 q-40 -6 -56 18 q30 -16 56 -18Z%22/%3E%3Cpath d=%22M52 150 q-24 -30 -58 -24 q36 4 58 24Z%22/%3E%3Cpath d=%22M52 150 q10 -36 40 -42 q-26 18 -40 42Z%22/%3E%3Cpath d=%22M52 150 q40 -10 60 12 q-30 -10 -60 -12Z%22/%3E%3Cpath d=%22M52 150 q22 18 30 46 q-14 -26 -30 -46Z%22/%3E%3C/g%3E %3Cpath d=%22M368 300 Q372 230 352 170%22 stroke=%22%238b5a2b%22 stroke-width=%228%22 fill=%22none%22 stroke-linecap=%22round%22/%3E %3Cg fill=%22%232f7d32%22%3E%3Cpath d=%22M352 170 q40 -6 56 18 q-30 -16 -56 -18Z%22/%3E%3Cpath d=%22M352 170 q24 -30 58 -24 q-36 4 -58 24Z%22/%3E%3Cpath d=%22M352 170 q-10 -36 -40 -42 q26 18 40 42Z%22/%3E%3Cpath d=%22M352 170 q-40 -10 -60 12 q30 -10 60 -12Z%22/%3E%3C/g%3E %3Cg fill=%22%232f6b1f%22%3E%3Cpath d=%22M0 300 q20 -50 60 -60 q-30 24 -40 60Z%22/%3E%3Cpath d=%22M60 300 q10 -40 46 -48 q-26 20 -30 48Z%22/%3E%3Cpath d=%22M300 300 q14 -46 50 -54 q-28 22 -34 54Z%22/%3E%3Cpath d=%22M350 300 q20 -40 50 -44 q-24 18 -32 44Z%22/%3E%3Cpath d=%22M160 300 q16 -30 44 -34 q-22 14 -28 34Z%22/%3E%3C/g%3E %3Cg fill=%22%232a4a18%22 opacity=%22.55%22%3E%3Cpath d=%22M120 262 l4 -8 4 8 4 -8 4 8 -8 4Z%22/%3E%3Cpath d=%22M196 276 l4 -8 4 8 4 -8 4 8 -8 4Z%22/%3E%3Cpath d=%22M262 260 l4 -8 4 8 4 -8 4 8 -8 4Z%22/%3E%3C/g%3E %3C/svg%3E");
  --scene-spy: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22330%22 cy=%2250%22 r=%2218%22 fill=%22%23d9f99d%22 opacity=%22.85%22/%3E%3Ccircle cx=%22324%22 cy=%2246%22 r=%2218%22 fill=%22%23050d08%22 opacity=%22.0%22/%3E %3Ccircle cx=%22213%22 cy=%226%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22159%22 cy=%2295%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22290%22 cy=%22113%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22182%22 cy=%2253%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22213%22 cy=%222%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22392%22 cy=%22102%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22186%22 cy=%2282%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22100%22 cy=%2250%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22372%22 cy=%2251%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22104%22 cy=%22120%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%223%22 cy=%2255%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2280%22 cy=%2254%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2258%22 cy=%22105%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2246%22 cy=%2251%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22295%22 cy=%22113%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22186%22 cy=%2258%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22395%22 cy=%2220%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2266%22 cy=%221%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2226%22 cy=%2270%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2272%22 cy=%2282%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22203%22 cy=%2211%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22293%22 cy=%2279%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22189%22 cy=%2294%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22258%22 cy=%2221%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2274%22 cy=%2244%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22145%22 cy=%2220%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22266%22 cy=%2221%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2234%22 cy=%2213%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22196%22 cy=%2262%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22385%22 cy=%22103%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E %3Crect x=%220%22 y=%22199%22 width=%2245%22 height=%22101%22 fill=%22%230f2a1a%22/%3E%3Crect x=%2247%22 y=%22182%22 width=%2240%22 height=%22118%22 fill=%22%230b1f14%22/%3E%3Crect x=%2289%22 y=%22173%22 width=%2242%22 height=%22127%22 fill=%22%230a1a10%22/%3E%3Crect x=%22133%22 y=%22173%22 width=%2246%22 height=%22127%22 fill=%22%230f2a1a%22/%3E%3Crect x=%22184%22 y=%22160%22 width=%2247%22 height=%22140%22 fill=%22%230b1f14%22/%3E%3Crect x=%22233%22 y=%22199%22 width=%2238%22 height=%22101%22 fill=%22%230f2a1a%22/%3E%3Crect x=%22273%22 y=%22130%22 width=%2230%22 height=%22170%22 fill=%22%230b1f14%22/%3E%3Crect x=%22305%22 y=%22167%22 width=%2249%22 height=%22133%22 fill=%22%230a1a10%22/%3E%3Crect x=%22356%22 y=%22135%22 width=%2238%22 height=%22165%22 fill=%22%230a1a10%22/%3E%3Crect x=%22397%22 y=%22131%22 width=%2247%22 height=%22169%22 fill=%22%230a1a10%22/%3E%3Crect x=%225%22 y=%22207%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2223%22 y=%22243%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2232%22 y=%22243%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2214%22 y=%22255%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2223%22 y=%22255%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2223%22 y=%22267%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%225%22 y=%22279%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2214%22 y=%22279%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2223%22 y=%22279%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2223%22 y=%22291%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2232%22 y=%22291%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2270%22 y=%22190%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2261%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2270%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2279%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22214%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2279%22 y=%22214%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2261%22 y=%22238%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2279%22 y=%22238%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22262%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22274%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2261%22 y=%22286%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2270%22 y=%22286%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2294%22 y=%22181%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2294%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22103%22 y=%22205%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22103%22 y=%22217%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22112%22 y=%22217%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22121%22 y=%22241%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2294%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22103%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22121%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22103%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22112%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2294%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22103%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22121%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22165%22 y=%22181%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22138%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22147%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22156%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22156%22 y=%22205%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22138%22 y=%22217%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22156%22 y=%22229%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22165%22 y=%22229%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22147%22 y=%22241%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22138%22 y=%22253%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22147%22 y=%22253%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22156%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22165%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22147%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22156%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22138%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22165%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22198%22 y=%22168%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22189%22 y=%22180%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22189%22 y=%22192%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22207%22 y=%22192%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22207%22 y=%22204%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22198%22 y=%22216%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22207%22 y=%22216%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22198%22 y=%22228%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22189%22 y=%22240%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22198%22 y=%22240%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22216%22 y=%22240%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22207%22 y=%22252%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22198%22 y=%22276%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22256%22 y=%22219%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22256%22 y=%22243%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22256%22 y=%22255%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22238%22 y=%22267%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22278%22 y=%22138%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22296%22 y=%22138%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22162%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22296%22 y=%22174%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22278%22 y=%22186%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22287%22 y=%22186%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22296%22 y=%22186%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22278%22 y=%22210%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22210%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22278%22 y=%22222%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22222%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22278%22 y=%22234%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22278%22 y=%22246%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22296%22 y=%22258%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22296%22 y=%22270%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22278%22 y=%22282%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22282%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22296%22 y=%22282%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22310%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22337%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22346%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22310%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22328%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22346%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22319%22 y=%22211%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22337%22 y=%22211%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22337%22 y=%22223%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22346%22 y=%22223%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22319%22 y=%22247%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22328%22 y=%22247%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22319%22 y=%22259%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22310%22 y=%22271%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22328%22 y=%22271%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22310%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22346%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22379%22 y=%22143%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22370%22 y=%22167%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22379%22 y=%22167%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22361%22 y=%22191%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22379%22 y=%22191%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22361%22 y=%22203%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22370%22 y=%22203%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22379%22 y=%22215%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22370%22 y=%22239%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22379%22 y=%22239%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22379%22 y=%22251%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22379%22 y=%22263%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22361%22 y=%22275%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22370%22 y=%22287%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22420%22 y=%22139%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22420%22 y=%22151%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22151%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22402%22 y=%22163%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22163%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22411%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22402%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22420%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22402%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22411%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22420%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22429%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22211%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22223%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22402%22 y=%22235%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22411%22 y=%22235%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22235%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22247%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22420%22 y=%22259%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22411%22 y=%22271%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22402%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E %3Crect x=%22180%22 y=%22100%22 width=%223%22 height=%2240%22 fill=%22%230f2a1a%22/%3E%3Ccircle cx=%22181.5%22 cy=%2298%22 r=%223%22 fill=%22%23ef4444%22/%3E %3C/svg%3E");
}
/* the picture tiles dress for each game's world (found ones keep their green tick) */
body.game-on #shopBody .tile { background: var(--tile-bg, var(--surface)); border-color: var(--tile-line, var(--line)); color: var(--tile-ink, inherit);
  box-shadow: 0 4px 0 var(--tile-edge, var(--tile-line, var(--line))), var(--tile-glow, 0 0 0 transparent); }
body.game-on #shopBody .tile .e { background: var(--tile-pic, color-mix(in srgb, var(--t, #999) 15%, var(--surface))); }
body.game-on #shopBody .tile.owned { box-shadow: inset 0 0 0 4px var(--c), 0 4px 0 var(--tile-edge, var(--line)); }   /* two kids: whose it is stays clear */
body.game-on #shopBody .tile.done { background: color-mix(in srgb, var(--ok) 22%, var(--tile-bg-solid, var(--surface))); border-color: var(--ok); box-shadow: 0 4px 0 color-mix(in srgb, var(--ok) 70%, #000); }
body.game-on.game-race { --tile-bg: linear-gradient(180deg, #4b5563, #374151); --tile-bg-solid: #374151; --tile-line: #fbbf24; --tile-edge: #b45309; --tile-ink: #f9fafb; --tile-pic: rgba(255,255,255,.1); }
body.game-on.game-space { --tile-bg: radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.5px) 0 0 / 23px 29px, linear-gradient(160deg, #1e1b4b, #0f172a);
  --tile-bg-solid: #1e1b4b; --tile-line: #22d3ee; --tile-edge: #0e7490; --tile-ink: #e0e7ff; --tile-pic: radial-gradient(circle at 40% 35%, rgba(167,139,250,.45), rgba(15,23,42,.6));
  --tile-glow: 0 0 14px rgba(34,211,238,.35); }
body.game-on.game-farm { --tile-bg: repeating-linear-gradient(180deg, #dcae74 0 22px, #c9965b 22px 24px); --tile-bg-solid: #dcae74; --tile-line: #8b5a2b;
  --tile-edge: #6b4423; --tile-ink: #3b2410; --tile-pic: #fff8e7; }
body.game-on.game-dino { --tile-bg: radial-gradient(circle at 20% 80%, rgba(0,0,0,.06) 0 6px, transparent 7px) 0 0 / 40px 46px, #eadfc4; --tile-bg-solid: #eadfc4;
  --tile-line: #9a7b4f; --tile-edge: #6b5233; --tile-ink: #3b2a12; --tile-pic: radial-gradient(circle at 40% 35%, #e3f2c8, #b9d98f); }
body.game-on.game-spy { --tile-bg: repeating-linear-gradient(0deg, rgba(34,197,94,.06) 0 1px, transparent 1px 4px), #04140a; --tile-bg-solid: #04140a;
  --tile-line: #22c55e; --tile-edge: #14532d; --tile-ink: #86efac; --tile-pic: rgba(34,197,94,.12); }
body.game-on.game-spy #shopBody .tile { font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
body.game-on .race-dock .race-text { font-size: 1.05rem; margin-bottom: 0; }
body.game-on .race-dock .race { height: 46px; margin: 2px 4px 6px; }
body.game-on .race-dock .race-track, body.game-on .race-dock .race-fill { top: 20px; }
body.game-on .race-dock .race-cart { font-size: 1.9rem; }
body.game-on .race-dock .race-flag { font-size: 1.5rem; }
body.game-on .race-dock .game-extra { font-size: 1rem; margin: 0 0 6px; }
body.game-race { --dock-bg: rgba(17, 24, 39, .93); --dock-ink: #f8fafc; }
body.game-on.game-race .race-dock { padding-bottom: 14px; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) left bottom / 12px 12px repeat-x, var(--dock-bg); }
body.game-on.game-space .race-dock { background: radial-gradient(circle, #64748b 0 2px, transparent 2.5px) 8px 8px / calc(100% - 16px) 30px, linear-gradient(180deg, #1e293b, #0f172a);
  border: 2px solid #22d3ee; border-top: 0; box-shadow: 0 0 18px rgba(34,211,238,.25); }
body.game-on.game-spy .race-dock { background: repeating-linear-gradient(0deg, rgba(34,197,94,.08) 0 1px, transparent 1px 4px), #020604; border: 2px solid #22c55e; border-top: 0; }
body.game-space { --dock-bg: rgba(10, 16, 48, .9); --dock-ink: #c7d2fe; }
body.game-farm { --dock-bg: rgba(147, 101, 58, .94); --dock-ink: #fff8e7; }
body.game-on.game-farm .race-dock { background: repeating-linear-gradient(180deg, #a0703f 0 16px, #8f6236 16px 18px); border: 3px solid #6b4423; border-top: 0; }
body.game-on.game-dino .race-dock { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.06) 0 18px, transparent 19px) 0 0 / 90px 64px, linear-gradient(180deg, #5b5248, #3f3830);
  border: 3px solid #2a2520; border-top: 0; }
body.game-dino { --dock-bg: rgba(47, 59, 18, .92); --dock-ink: #fde68a; }
body.game-spy { --dock-bg: rgba(3, 12, 6, .92); --dock-ink: #86efac; }
body.game-on.game-spy #shopBody .race-dock .game-extra { color: #4ade80; }

/* each game's world, edge to edge */
body.game-on.game-race { --game-ink: #f8fafc; background: var(--scene-race) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%) fixed !important; }   /* the stadium */
body.game-on.game-space { --game-ink: #c7d2fe; background:
  radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.6px) 0 0 / 61px 67px,
  radial-gradient(circle, rgba(255,255,255,.55) 0 .8px, transparent 1.3px) 23px 31px / 43px 47px,
  radial-gradient(circle at 80% 15%, rgba(167,139,250,.45), transparent 35%),
  radial-gradient(circle at 15% 85%, rgba(34,211,238,.25), transparent 40%), #070b24 !important; animation: ss-starfield 60s linear infinite; }
@keyframes ss-starfield { to { background-position: 0 340px, 17px 541px, 0 0, 0 0, 0 0; } }
body.game-on.game-farm { --game-ink: #234d16; background:   /* the farm: hills, the barn and silo, a fence along the bottom */
  radial-gradient(circle at 88% 9%, #fde047 0 30px, rgba(253,224,71,.35) 31px 48px, transparent 49px) fixed,
  var(--scene-farm) center bottom / 100% auto no-repeat fixed,
  linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%) fixed !important; }
body.game-on.game-dino { --game-ink: #3b2a12; background:   /* the jungle at sunset: a smoking volcano far off, palms and ferns */
  var(--scene-jungle) center bottom / 100% auto no-repeat fixed,
  linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%) fixed !important; }
/* Dino: the world changes to suit the thing just found (the newest find's aisle) */
body.game-on.game-dino[class*="dz-"] :is(.race-text, .game-extra, #shopBody .aisle-h) { text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
body.game-on.game-dino.dz-frozen { --game-ink: #17365c; background:   /* snowy mountains */
  radial-gradient(circle, #fff 0 2px, transparent 2.5px) 0 0 / 46px 52px, radial-gradient(circle, rgba(255,255,255,.8) 0 1.4px, transparent 2px) 20px 26px / 38px 44px,
  linear-gradient(135deg, transparent 0 60%, #f4fbff 60% 100%) 0 18% / 50% 30% no-repeat, linear-gradient(225deg, transparent 0 60%, #e6f4fb 60% 100%) 100% 18% / 50% 30% no-repeat,
  linear-gradient(180deg, #9fd3f2 0%, #cfeaf8 30%, #f4fbff 31%, #e1f0f8 100%) fixed !important; }
body.game-on.game-dino.dz-produce { --game-ink: #f4ffe9; background:   /* fern forest */
  radial-gradient(ellipse 40% 26% at 6% 30%, rgba(20,80,30,.9) 0 60%, transparent 61%), radial-gradient(ellipse 36% 22% at 96% 52%, rgba(20,80,30,.9) 0 60%, transparent 61%),
  radial-gradient(circle at 20% 80%, rgba(60,140,50,.55) 0 40px, transparent 41px) 0 0 / 160px 180px,
  linear-gradient(180deg, #4f8a3a 0%, #2f6b28 22%, #245a22 60%, #173f17 100%) fixed !important; }
body.game-on.game-dino.dz-bakery { --game-ink: #4a2f0e; background:   /* sandy dunes */
  radial-gradient(ellipse 80% 22% at 20% 62%, #f0c977 0 60%, transparent 61%), radial-gradient(ellipse 70% 20% at 85% 78%, #e3b25f 0 60%, transparent 61%),
  radial-gradient(circle at 85% 12%, #fff3b0 0 30px, transparent 31px),
  linear-gradient(180deg, #ffd98a 0%, #ffe9b8 40%, #e8c27a 41%, #d9a75a 100%) fixed !important; }
body.game-on.game-dino.dz-dairy { --game-ink: #234d16; background:   /* cloud meadow */
  radial-gradient(ellipse 60% 40px at 20% 14%, #fff 0 60%, transparent 61%), radial-gradient(ellipse 50% 32px at 70% 24%, #fff 0 60%, transparent 61%),
  radial-gradient(circle, #fff 0 3px, transparent 3.5px) 10px 0 / 70px 60px,
  linear-gradient(180deg, #bfe6ff 0%, #e6f6ff 40%, #a6dc7c 41%, #86c75a 100%) fixed !important; }
body.game-on.game-dino.dz-meat { --game-ink: #fff1e6; background:   /* rocky canyon */
  linear-gradient(160deg, transparent 0 55%, #8a3b22 55%) 0 30% / 50% 40% no-repeat, linear-gradient(200deg, transparent 0 55%, #7a321c 55%) 100% 40% / 50% 40% no-repeat,
  linear-gradient(180deg, #f39a6b 0%, #e5794a 35%, #a8482a 36%, #6e2c18 100%) fixed !important; }
body.game-on.game-dino.dz-pantry { --game-ink: #fff4dc; background:   /* crystal cave */
  radial-gradient(circle, rgba(167,139,250,.8) 0 3px, transparent 4px) 0 0 / 90px 110px, radial-gradient(circle, rgba(94,234,212,.7) 0 2px, transparent 3px) 40px 50px / 70px 90px,
  radial-gradient(ellipse 70% 50% at 50% 40%, #5a3a26, transparent 70%),
  linear-gradient(180deg, #2e1d12 0%, #3f2a1b 60%, #24160c 100%) fixed !important; }
body.game-on.game-dino.dz-snacks { --game-ink: #fff0fb; background:   /* berry bushes */
  radial-gradient(circle, #8b5cf6 0 5px, transparent 6px) 0 0 / 60px 70px, radial-gradient(circle, #ec4899 0 4px, transparent 5px) 30px 35px / 60px 70px,
  linear-gradient(180deg, #7c3a8f 0%, #a2508c 40%, #3f7a3a 41%, #2c5c28 100%) fixed !important; }
body.game-on.game-dino.dz-drinks { --game-ink: #f0fbff; background:   /* waterfall lagoon */
  repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 4px, transparent 4px 26px) 50% 0 / 40% 55% no-repeat,
  radial-gradient(circle, rgba(255,255,255,.5) 0 2px, transparent 3px) 0 0 / 40px 30px,
  linear-gradient(180deg, #4fb3e8 0%, #2b8fcf 55%, #1769a8 56%, #0e4a7c 100%) fixed !important; }
body.game-on.game-dino.dz-household { --game-ink: #effffa; background:   /* bubble swamp */
  radial-gradient(circle, transparent 0 9px, rgba(255,255,255,.55) 10px 11px, transparent 12px) 0 0 / 80px 90px,
  radial-gradient(circle, transparent 0 5px, rgba(255,255,255,.5) 6px 7px, transparent 8px) 40px 45px / 60px 70px,
  linear-gradient(180deg, #3f8f80 0%, #2f7268 50%, #1f5149 100%) fixed !important; }
body.game-on.game-dino.dz-personal { --game-ink: #4a1d34; background:   /* flower meadow */
  radial-gradient(circle, #f472b6 0 4px, transparent 5px) 0 0 / 50px 56px, radial-gradient(circle, #fde047 0 3px, transparent 4px) 25px 28px / 50px 56px,
  linear-gradient(180deg, #ffd6e7 0%, #ffe9f2 35%, #b5e08f 36%, #8fcf6a 100%) fixed !important; }
body.game-on.game-dino.dz-baby { --game-ink: #3d3410; background:   /* duck pond */
  radial-gradient(ellipse 45% 18% at 50% 72%, #7cc6ef 0 60%, transparent 61%),
  linear-gradient(180deg, #fff3b8 0%, #fff8d9 40%, #b9e08a 41%, #9fd06c 100%) fixed !important; }
body.game-on.game-dino.dz-pets { --game-ink: #fff4e6; background:   /* autumn woods */
  radial-gradient(circle, #f59e0b 0 5px, transparent 6px) 0 0 / 70px 80px, radial-gradient(circle, #dc2626 0 4px, transparent 5px) 35px 40px / 70px 80px,
  linear-gradient(180deg, #e8833a 0%, #c9622a 45%, #7a4a26 46%, #5a3418 100%) fixed !important; }
body.game-on.game-spy { --game-ink: #86efac; background:   /* the city at night, under a green grid */
  repeating-linear-gradient(0deg, rgba(34,197,94,.06) 0 1px, transparent 1px 32px) fixed,
  repeating-linear-gradient(90deg, rgba(34,197,94,.06) 0 1px, transparent 1px 32px) fixed,
  var(--scene-spy) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #020604 0%, #06140b 100%) fixed !important; }
body.game-on.game-spy::after { content: ""; position: fixed; z-index: 0; left: 50%; top: 55%; width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(74,222,128,.16), transparent 18%); border-radius: 50%; animation: ss-radar 6s linear infinite; }
body.game-on.game-spy main { position: relative; z-index: 1; }
body.game-on.game-space::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--scene-space) center bottom / 100% auto no-repeat; }   /* Earth, Saturn, the Moon */
body.game-on.game-space main { position: relative; z-index: 1; }
@keyframes ss-radar { to { transform: rotate(360deg); } }

/* the game bar */
.game-hud { position: fixed; left: 0; right: 0; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px;
  padding: max(8px, env(safe-area-inset-top)) 10px 8px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .25s ease; }
.game-hud[hidden] { display: none; }
body.hud-away .game-hud { transform: translateY(-100%); }
.hud-title { flex: 1; text-align: center; font-weight: 700; font-size: 1rem; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-btn { min-height: 44px; border: 0; cursor: pointer; font: 700 .92rem var(--font); border-radius: 999px; padding: 8px 13px; white-space: nowrap; }
.hud-btn:active { transform: scale(.97); }
.hud-sound { font-size: 1.05rem; padding: 6px 10px; } .hud-sound[aria-pressed="false"] { opacity: .7; }
.hud-add { box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.hud-exit { position: relative; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.hold-ring { position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.35); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hud-exit.holding .hold-ring { transform: scaleX(1); transition: transform 1s linear; }
/* Finish shop: a small button at the very end of the list, not a big target for little hands (held for a second in Kid mode).
   Once everything is found it moves to the bottom of the screen and gently pulses. */
#finishBar { position: static; margin: 0; padding: 22px 0 8px; display: flex; flex-direction: column; align-items: center; pointer-events: auto; }
#finishBar.all-done { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); padding: 0 16px; pointer-events: none; }
body.game-on #finishBar.all-done { bottom: max(14px, env(safe-area-inset-bottom)); }
#finishBar.all-done .finish-btn { animation: finishPulse 1.8s ease-in-out infinite; }
@keyframes finishPulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-lg), 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); }
  50% { transform: scale(1.06); box-shadow: var(--shadow-lg), 0 0 0 12px color-mix(in srgb, var(--brand) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { #finishBar.all-done .finish-btn { animation: none; } }
#finishBar[hidden] { display: none; }
#finishBar .finish-nudge { align-self: stretch; }
.finish-btn { position: relative; overflow: hidden; min-height: 40px; padding: 8px 16px; font-size: .95rem; border-radius: 14px; }
.finish-btn.holding .hold-ring { transform: scaleX(1); transition: transform 1s linear; }
@media (max-width: 400px) { .hud-exit span { display: none; } .hud-title { font-size: .9rem; } }
.game-race .game-hud { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) bottom / 16px 16px repeat-x, linear-gradient(#111827ee, #111827ee); background-size: 16px 6px, auto; color: #fff; }
.game-race :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.15); color: #fff; } .game-race .hud-add { background: #facc15; color: #111; }
.game-space .game-hud { background: linear-gradient(180deg, rgba(10,16,48,.95), rgba(10,16,48,.75)); color: #a5f3fc; border-bottom: 1px solid rgba(34,211,238,.5); }
.game-space :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(34,211,238,.12); color: #a5f3fc; border: 1px solid rgba(34,211,238,.5); } .game-space .hud-add { background: linear-gradient(90deg, #22d3ee, #a78bfa); color: #0b1020; }
.game-farm .game-hud { background: repeating-linear-gradient(0deg, #a0703f 0 9px, #93653a 9px 18px); color: #fff8e7; border-bottom: 3px solid #6b4423; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.game-farm :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,248,231,.2); color: #fff8e7; } .game-farm .hud-add { background: #fde047; color: #5a3a1a; }
.game-dino .game-hud { background: linear-gradient(180deg, rgba(36,72,27,.97), rgba(47,93,36,.9)); color: #fde68a; border-bottom: 3px solid #8a6a3a; }
.game-dino :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(253,230,138,.15); color: #fde68a; } .game-dino .hud-add { background: #f97316; color: #fff; }
.game-spy .game-hud { background: rgba(3,12,6,.92); color: #4ade80; border-bottom: 1px solid rgba(74,222,128,.5); font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.game-spy :is(.hud-exit, .hud-sound, .hud-swap) { background: transparent; color: #4ade80; border: 1px solid rgba(74,222,128,.6); } .game-spy .hud-add { background: #4ade80; color: #04140a; }

/* the intro when a game starts */
.game-intro { position: fixed; inset: 0; z-index: 116; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px;
  text-align: center; color: #fff; cursor: pointer; animation: ss-fn-in .25s ease both; }
.game-intro.out { animation: ss-fn-out .35s ease forwards; }
.gi-hero { font-size: 6rem; line-height: 1; filter: drop-shadow(0 10px 16px rgba(0,0,0,.35)); animation: ss-gi-hero .7s cubic-bezier(.3, 1.5, .5, 1) both; }
.gi-name { margin: 10px 0 0; font: 700 2.3rem/1.05 var(--font); letter-spacing: .04em; text-shadow: 0 4px 0 rgba(0,0,0,.25); animation: ss-fn-head .5s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
.gi-goal { margin: 0; max-width: 22em; font-size: 1.1rem; font-weight: 600; opacity: .95; animation: ss-fn-in .4s ease .5s both; }
.gi-count { position: relative; height: 4.2rem; width: 100%; margin-top: 18px; }
.gi-count b { position: absolute; inset: 0; font: 700 3.6rem/1 var(--font); opacity: 0; animation: ss-gi-count .45s ease both; }
.gi-count b:nth-child(1) { animation-delay: .6s; } .gi-count b:nth-child(2) { animation-delay: 1.05s; } .gi-count b:nth-child(3) { animation-delay: 1.5s; }
.gi-count b:nth-child(4) { animation: ss-gi-go .6s cubic-bezier(.3, 1.6, .5, 1) 1.95s both; color: #ffd54a; }
.gi-play { margin-top: 22px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; font: 700 1.3rem var(--font); color: #111; background: #ffd54a;
  box-shadow: 0 6px 0 rgba(0,0,0,.25); cursor: pointer; animation: ss-fn-in .4s ease .6s both, ss-gi-pulse 1.2s ease-in-out 1s infinite; }
.intro-race { background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); color: #f8fafc; }
.intro-race .gi-name { padding: 6px 22px 20px; color: #facc15; border-radius: 8px; text-shadow: none;   /* on a chequered banner */
  background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) left bottom / 12px 12px repeat-x, #111827; }
.gi-race-stage { background: var(--scene-race) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); }
.gi-zoom { position: absolute; left: 0; bottom: 18px; font-size: 3rem; line-height: 1; animation: ss-gi-zoom 1.1s cubic-bezier(.5, 0, .2, 1) .3s both; }
.gi-zoom::before { content: ""; position: absolute; right: 100%; top: 40%; width: 70px; height: 14px; margin-right: 4px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.8) 0 2px, transparent 2px 6px); border-radius: 4px; }
.gi-flag { position: absolute; right: 12%; bottom: 60px; font-size: 2.4rem; transform-origin: 10% 100%; animation: ss-gi-flag .4s ease-in-out infinite alternate; }
@keyframes ss-gi-zoom { from { transform: translateX(-90px); } to { transform: translateX(min(250px, 62vw)); } }
@keyframes ss-gi-flag { to { transform: rotate(-12deg); } }
.intro-space { background: radial-gradient(circle at 75% 20%, rgba(167,139,250,.35), transparent 40%), linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); color: #e0e7ff; }
.gi-space-stage { background: var(--scene-space) center bottom / 100% auto no-repeat, radial-gradient(circle at 75% 20%, rgba(167,139,250,.35), transparent 40%), linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); }
.gi-launch { position: absolute; left: 16%; bottom: 20px; font-size: 3rem; line-height: 1; animation: ss-gi-launch 1.8s cubic-bezier(.5, 0, .7, .4) .5s both; }
.gi-launch::after { content: ""; position: absolute; left: -2px; top: 82%; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, #fde047, #f97316 60%, transparent 70%); box-shadow: -10px 10px 0 2px rgba(249,115,22,.5), -20px 20px 0 1px rgba(253,224,71,.3); }
@keyframes ss-gi-launch { 0%, 20% { transform: translate(0, 0); } 25% { transform: translate(2px, -2px); } 30% { transform: translate(-2px, 0); }
  to { transform: translate(min(220px, 55vw), -240px); } } .intro-space .gi-name { color: #a5f3fc; }
.gi-hopper { position: absolute; left: 4%; bottom: 70px; font-size: 2.6rem; line-height: 1; animation: ss-gi-hops 2s ease-in-out .3s both; }
.gi-steps { position: absolute; left: 4%; right: 34%; bottom: 52px; display: flex; justify-content: space-between; font-size: 1.6rem; }
@keyframes ss-gi-hops { 0% { transform: translate(0, 0); } 16% { transform: translate(min(50px, 12vw), -40px); } 33% { transform: translate(min(90px, 23vw), 0); }
  50% { transform: translate(min(140px, 35vw), -40px); } 66% { transform: translate(min(185px, 47vw), 0); } 83% { transform: translate(min(235px, 59vw), -46px); }
  100% { transform: translate(min(280px, 70vw), -10px); } }
.intro-farm { background: linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); color: #234d16; }
.intro-farm .gi-name { padding: 8px 22px; border-radius: 10px; color: #fff8e7; text-shadow: 0 2px 0 rgba(0,0,0,.3);   /* a wooden sign */
  background: repeating-linear-gradient(180deg, #a0703f 0 14px, #8f6236 14px 16px); box-shadow: 0 5px 0 #6b4423, 0 10px 18px rgba(0,0,0,.25); }
.intro-farm .gi-goal { color: #1f3a12; }
.gi-stage { position: relative; width: min(380px, 94vw); height: 230px; margin-bottom: 8px; border-radius: 22px; overflow: hidden;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); animation: ss-fn-in .4s ease both; }
.gi-farm-stage { background: radial-gradient(circle at 15% 18%, #fde047 0 22px, rgba(253,224,71,.35) 23px 34px, transparent 35px), var(--scene-farm) center bottom / 100% auto no-repeat, linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); }
.gi-tractor { position: absolute; left: 0; bottom: 10px; font-size: 3.2rem; line-height: 1; animation: ss-gi-drive 1.7s cubic-bezier(.3, .7, .4, 1) .2s both; }
.gi-ani { position: absolute; bottom: 58px; font-size: 2rem; line-height: 1; animation: ss-gi-popup .5s cubic-bezier(.3, 1.7, .5, 1) both; }
.gi-ani.a1 { left: 14%; animation-delay: .7s; } .gi-ani.a2 { left: 32%; animation-delay: .95s; } .gi-ani.a3 { left: 50%; animation-delay: 1.2s; } .gi-ani.a4 { left: 66%; animation-delay: 1.45s; }
.gi-ani.a1, .gi-ani.a2, .gi-ani.a3, .gi-ani.a4 { transform-origin: 50% 100%; }
@keyframes ss-gi-drive { from { transform: translateX(-80px); } to { transform: translateX(min(150px, 38vw)); } }
@keyframes ss-gi-popup { from { transform: translateY(40px) scale(.4); opacity: 0; } }
.intro-dino { background: linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); color: #3b2a12; }
.intro-dino .gi-name { padding: 8px 22px; border-radius: 16px 12px 18px 10px; color: #f5e6c8; text-shadow: 0 -1px 0 rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.2);   /* carved on a stone slab */
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0 14px, transparent 15px) 0 0 / 70px 50px, linear-gradient(180deg, #7c7066, #5b5248);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 6px 0 #3f3830, 0 10px 18px rgba(0,0,0,.3); }
.intro-dino .gi-goal { color: #3b2a12; }
.gi-dino-stage { background: var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); }
.gi-walker { position: absolute; left: 0; bottom: 12px; animation: ss-gi-walk 1.8s cubic-bezier(.3, .7, .4, 1) .2s both; }
.gi-walker .dino-art { width: 84px; height: 71px; animation: ss-gi-stomp .3s ease-in-out .2s 6 alternate; }
.gi-nest { position: absolute; right: 22%; bottom: 16px; font-size: 2.6rem; line-height: 1; }
.gi-nest b { position: absolute; left: 50%; bottom: 60%; margin-left: -.5em; font-weight: 400; font-size: 1.6rem; transform-origin: 50% 90%; animation: ss-egg-wobble 1.2s ease-in-out .8s infinite; }
@keyframes ss-gi-walk { from { transform: translateX(-100px); } to { transform: translateX(min(110px, 28vw)); } }
@keyframes ss-gi-stomp { to { transform: translateY(-5px) rotate(-3deg); } }
.intro-spy { background: linear-gradient(180deg, #020604 0%, #06140b 100%); color: #b9f6ca; font-family: ui-monospace, Consolas, monospace; }
.intro-spy .gi-name { color: #ef4444; font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; padding: 4px 14px;   /* stamped TOP SECRET */
  border: 4px solid #ef4444; border-radius: 6px; transform: rotate(-5deg); text-shadow: none; }
.gi-spy-stage { background: var(--scene-spy) center bottom / 100% auto no-repeat, linear-gradient(180deg, #020604 0%, #06140b 100%); }
.gi-beam { position: absolute; bottom: 0; width: 60px; height: 260px; transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgba(187,247,208,.35), transparent); clip-path: polygon(45% 100%, 55% 100%, 100% 0, 0 0); animation: ss-gi-beam 2.4s ease-in-out infinite alternate; }
.gi-beam.b1 { left: 22%; } .gi-beam.b2 { left: 64%; animation-delay: -1.2s; }
.gi-agent { position: absolute; left: 0; bottom: 14px; font-size: 3rem; line-height: 1; animation: ss-gi-sneak 1.8s ease-out .3s both; }
.gi-laser { position: absolute; left: 0; right: 0; height: 2px; background: #ef4444; box-shadow: 0 0 6px #ef4444; opacity: 0; animation: ss-gi-laser 1s ease-in-out .8s infinite; }
.gi-laser.l1 { bottom: 40px; } .gi-laser.l2 { bottom: 70px; animation-delay: 1.3s; }
@keyframes ss-gi-beam { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes ss-gi-sneak { from { transform: translateX(-80px); } to { transform: translateX(min(150px, 38vw)); } }
@keyframes ss-gi-laser { 50% { opacity: .9; } }
@keyframes ss-gi-hero { from { transform: scale(.2) translateY(40px); opacity: 0; } }
@keyframes ss-gi-count { 0% { transform: scale(1.8); opacity: 0; } 30% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(.7); opacity: 0; } }
@keyframes ss-gi-go { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ss-gi-pulse { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  body.game-on.game-space, body.game-on.game-spy::after { animation: none !important; }
  .game-intro *, .game-intro { animation-duration: .01s !important; animation-delay: 0s !important; }
}
.pic-svg { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -0.25em; fill: initial; stroke: none; stroke-width: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
/* drawn pictures keep a dark outline on light backgrounds; on dark ones it turns light so the shapes still read */
.pic-svg [stroke="#1f2a44"] { stroke: var(--pic-ol, #1f2a44); }
:root[data-theme="dark"] { --pic-ol: #e9e1ef; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pic-ol: #e9e1ef; } }

/* Household: the everyday cards first, then a quiet Settings group */
.home-group { margin: 26px 4px 10px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* the picker: who's playing, any reward ready, then the games */
.gp-who { width: min(92vw, 420px); margin: 0 0 18px; text-align: center; color: #fff; }
.gp-who > p { margin: 0 0 8px; font-weight: 700; opacity: .9; }
.gp-kids { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gp-kid { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1);
  color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.gp-kid[aria-pressed="true"] { background: var(--c, #ffd23f); border-color: #fff; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.gp-kid.add { border-style: dashed; }
.gp-kid small { opacity: .85; }
.gp-reward { margin: 10px 0 0; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.game-picker { overflow-y: auto; padding-block: 24px; }
/* the list: a small dot in their colour for someone else's item, the amount only when it's more than one, aisle shortcuts */
.who-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--muted)); }
#listBody .row .who-dot { position: absolute; left: 10px; top: 50%; margin-top: -4.5px; }   /* in the margin, so every name lines up */
.added-by { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; color: var(--muted); font-size: .9rem; }
.row .qty-pill { flex: none; }
.qty-pill.one { background: transparent; color: var(--muted); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }   /* every amount on the List tab, ×1 and up, in the same quiet outline */
.row.pending { opacity: .5; }
.aisle-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.aisle-jump .jump { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border-radius: 99px;
  border: 1.5px solid var(--line); background: var(--surface); font: 600 .9rem var(--font); color: var(--text); cursor: pointer; }
.aisle-jump .jump b { font-size: .8rem; color: var(--muted); }
#listBody .aisle { scroll-margin-top: 70px; }
/* the List tab is a plain list: words only (no pictures), thin dashed lines between, like the front page */
#listBody .row { min-height: 52px; padding: 8px 14px 8px 26px; }
#listBody .row + .row { border-top: 1.5px dashed var(--line); }
#listBody .row .nm { font-weight: 500; }
/* swipe left to remove: the row follows the finger, goes red once far enough, then the name is struck through */
#listBody .row { touch-action: pan-y; transition: transform .2s ease, background .15s; }
#listBody .row.dragging { transition: none; }
#listBody .row.swipe-far { background: color-mix(in srgb, #ef4444 20%, var(--surface)); }
#listBody .row .nm { display: inline-block; position: relative; }
#listBody .row.striking .nm::after { content: ""; position: absolute; left: -2px; top: 52%; width: 0; height: 2px; border-radius: 2px; background: currentColor;
  animation: ss-strike .45s ease-out forwards; }
#listBody .row.striking { animation: ss-row-out 1s ease forwards; }
@keyframes ss-strike { to { width: calc(100% + 4px); } }
@keyframes ss-row-out { 0%, 50% { opacity: 1; } to { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { #listBody .row.striking .nm::after { animation: none; width: calc(100% + 4px); } #listBody .row.striking { animation: none; opacity: .5; } }
/* in the game: who's playing, and a small Change that reopens the picker */
.who-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0 0 6px; }
.who-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 3px; border-radius: 99px; font-size: .85rem; font-weight: 700;
  background: rgba(255, 255, 255, .12); color: var(--dock-ink, #fff); }
.who-chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .75rem; color: #fff; background: var(--c, #888); }
.who-change { min-height: 30px; padding: 0 12px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, .35); background: none;
  color: var(--dock-ink, #fff); font: 600 .8rem var(--font); cursor: pointer; }
.race-dock .also { margin: 0 0 4px; font-size: .85rem; opacity: .9; text-align: center; }
.game-intro.game-picker { background: radial-gradient(circle at 50% 20%, #4a3570, #1d1630 70%); }

/* Kiwi Road Trip: snowy mountains, green hills, a pohutukawa and sheep, the road winding south */
:root { --scene-trip: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cg fill=%22%23fff%22 opacity=%22.9%22%3E%3Cellipse cx=%2280%22 cy=%2240%22 rx=%2236%22 ry=%2211%22/%3E%3Cellipse cx=%22104%22 cy=%2234%22 rx=%2222%22 ry=%2210%22/%3E%3Cellipse cx=%22300%22 cy=%2258%22 rx=%2240%22 ry=%2210%22/%3E%3C/g%3E %3Cpath d=%22M0 170 L60 95 L95 130 L150 70 L205 140 L250 90 L300 150 L345 85 L400 140 V200 H0Z%22 fill=%22%237c93ad%22/%3E %3Cpath d=%22M60 95 L75 113 L68 112 L60 120 L50 108Z M150 70 L168 95 L158 92 L150 100 L138 88Z M250 90 L266 110 L258 108 L250 115 L240 104Z M345 85 L362 106 L352 103 L345 111 L334 99Z%22 fill=%22%23fff%22/%3E %3Cpath d=%22M0 200 Q70 150 140 185 T280 180 T400 175 V300 H0Z%22 fill=%22%235fae45%22/%3E %3Cpath d=%22M0 240 Q90 200 190 232 T400 222 V300 H0Z%22 fill=%22%233f8f34%22/%3E %3Cpath d=%22M150 300 Q190 262 235 248 Q275 236 330 232 L346 236 Q290 244 252 258 Q214 274 196 300Z%22 fill=%22%236b7280%22/%3E %3Cpath d=%22M180 296 Q206 270 240 255 M262 247 Q290 240 318 236%22 stroke=%22%23fde047%22 stroke-width=%223%22 stroke-dasharray=%2210 9%22 fill=%22none%22/%3E %3Cg transform=%22translate(54 196)%22%3E%3Crect x=%22-4%22 y=%220%22 width=%228%22 height=%2234%22 fill=%22%237a4a26%22/%3E%3Ccircle cx=%220%22 cy=%22-8%22 r=%2226%22 fill=%22%232f6b2a%22/%3E%3Ccircle cx=%22-18%22 cy=%222%22 r=%2216%22 fill=%22%232f6b2a%22/%3E%3Ccircle cx=%2218%22 cy=%222%22 r=%2216%22 fill=%22%232f6b2a%22/%3E %3Cg fill=%22%23dc2626%22%3E%3Ccircle cx=%22-14%22 cy=%22-14%22 r=%223%22/%3E%3Ccircle cx=%224%22 cy=%22-22%22 r=%223%22/%3E%3Ccircle cx=%2216%22 cy=%22-8%22 r=%223%22/%3E%3Ccircle cx=%22-6%22 cy=%22-4%22 r=%223%22/%3E%3Ccircle cx=%22-22%22 cy=%224%22 r=%223%22/%3E%3Ccircle cx=%2222%22 cy=%226%22 r=%223%22/%3E%3Ccircle cx=%228%22 cy=%224%22 r=%223%22/%3E%3C/g%3E%3C/g%3E %3Cg fill=%22%23fff%22%3E%3Cellipse cx=%22110%22 cy=%22250%22 rx=%2210%22 ry=%227%22/%3E%3Cellipse cx=%22128%22 cy=%22262%22 rx=%2210%22 ry=%227%22/%3E%3Cellipse cx=%22300%22 cy=%22268%22 rx=%2210%22 ry=%227%22/%3E%3Cellipse cx=%22350%22 cy=%22256%22 rx=%2210%22 ry=%227%22/%3E%3C/g%3E %3Cg fill=%22%231f2937%22%3E%3Ccircle cx=%22118%22 cy=%22248%22 r=%223.5%22/%3E%3Ccircle cx=%22136%22 cy=%22260%22 r=%223.5%22/%3E%3Ccircle cx=%22308%22 cy=%22266%22 r=%223.5%22/%3E%3Ccircle cx=%22358%22 cy=%22254%22 r=%223.5%22/%3E%3C/g%3E %3Cpath d=%22M380 300 q-6 -40 6 -62 q6 18 -2 34 q10 -16 14 -30 q2 30 -10 58Z%22 fill=%22%232f6b2a%22/%3E %3C/svg%3E"); }
.game-extra.planets .stp { flex: none; font-size: 1.05rem; line-height: 1; opacity: .3; filter: grayscale(.8); transition: opacity .5s, filter .5s; }
.game-extra.planets .stp.on { opacity: 1; filter: none; }
.game-extra.planets .stp.next { opacity: .75; filter: none; animation: ss-pl-next 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .game-extra.planets .stp.next { animation: none; } }
body.game-trip .kid-banner { background: linear-gradient(180deg, #9bd4f5 0 55%, #5fae45 55% 100%); color: #14361a; }
body.game-trip .race-track { background: repeating-linear-gradient(90deg, #4b5563 0 14px, #fde047 14px 22px) center / 100% 3px no-repeat, #6b7280; }
body.game-trip .race-fill { background: linear-gradient(90deg, #2f6b2a, #5fae45); }
body.game-on.game-trip { --tile-bg: radial-gradient(circle at 85% 15%, rgba(255,255,255,.35) 0 8px, transparent 9px), linear-gradient(180deg, #e9f7df, #cfeabd);
  --tile-bg-solid: #e9f7df; --tile-line: #3f8f34; --tile-edge: #2f6b2a; --tile-ink: #14361a; --tile-pic: #fff; }
body.game-trip { --dock-bg: rgba(31, 77, 29, .93); --dock-ink: #f0fdf4; }
body.game-on.game-trip .race-dock { background: linear-gradient(180deg, #2f6b2a, #1f4d1d); border: 3px solid #14361a; border-top: 0; }
body.game-on.game-trip { --game-ink: #14361a; background: var(--scene-trip) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%) fixed !important; }
.game-trip .game-hud { background: linear-gradient(180deg, #2f6b2a, #1f4d1d); color: #f0fdf4; border-bottom: 3px solid #fde047; }
.game-trip :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(240,253,244,.18); color: #f0fdf4; } .game-trip .hud-add { background: #fde047; color: #14361a; }
.zoom-trip .ms-badge b { color: #fde047; }
.finale-trip { background: var(--scene-trip) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); color: #14361a; }
.finale-trip .fn-head { color: #2f6b2a; text-shadow: 0 3px 0 #fff; }
.intro-trip { background: linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); color: #14361a; }
.intro-trip .gi-name { padding: 8px 22px; border-radius: 10px; color: #fff; background: #2f6b2a; box-shadow: 0 5px 0 #14361a, 0 10px 18px rgba(0,0,0,.25); }   /* a green road sign */
.gi-trip-stage { background: var(--scene-trip) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); }

/* the end-of-game drawings (FINALE_ART) */
.fn-scene.fn-art { font-size: 0; }
.fn-art svg { width: min(250px, 66vw); height: auto; max-height: 34vh; overflow: visible; stroke: none; }   /* not the icons' outline style */
.fn-art :is(.fa-rays, .fa-rise, .fa-wave, .fa-door, .fa-egg-top, .fa-baby, .fa-vault, .fa-pop) { transform-box: fill-box; }
.fa-rays { transform-origin: center; opacity: .65; animation: fa-spin 14s linear infinite; }
.fa-rise { transform-origin: 50% 100%; animation: fa-rise .9s cubic-bezier(.3, 1.5, .5, 1) .2s both; }
.fa-wave { transform-origin: 0 50%; animation: fa-wave .5s ease-in-out infinite alternate; } .fa-wave.r { transform-origin: 100% 50%; animation-delay: -.25s; }
.fa-shoot line { stroke-dasharray: 26 200; stroke-dashoffset: 226; animation: fa-shoot 1.5s linear infinite; }
.fa-shoot.s2 line { animation-delay: .5s; } .fa-shoot.s3 line { animation-delay: 1s; }
.fa-twinkle { animation: fa-twinkle .8s ease-in-out infinite alternate; }
.fa-door { animation: fa-door .7s cubic-bezier(.4, 0, .3, 1.3) 1.2s both; } .fa-door.l { transform-origin: 0 50%; } .fa-door.r { transform-origin: 100% 50%; }
.fa-egg-top { transform-origin: 100% 100%; animation: fa-shake .12s ease-in-out .9s 4 alternate, fa-hatch .6s cubic-bezier(.3, 1.6, .5, 1) 1.4s both; }
.fa-baby { transform-origin: 50% 100%; animation: fa-peek .6s cubic-bezier(.3, 1.7, .5, 1) 1.6s both; }
.fa-vault { transform-origin: 0 50%; animation: fa-open 1s cubic-bezier(.5, 0, .3, 1) 1s both; }
.fa-glow { animation: fa-glow .8s ease 1.4s both; }
.fa-route { stroke-dasharray: 260; stroke-dashoffset: 260; animation: fa-draw 1.8s ease-in-out .6s forwards; }
.fa-pop { transform-origin: 50% 100%; animation: fa-pop .5s cubic-bezier(.3, 1.8, .5, 1) 2.4s both; }
@keyframes fa-spin { to { transform: rotate(360deg); } }
@keyframes fa-rise { from { transform: translateY(40px) scale(.4); opacity: 0; } }
@keyframes fa-wave { from { transform: skewY(-8deg); } to { transform: skewY(8deg) scaleX(.9); } }
@keyframes fa-shoot { to { stroke-dashoffset: 0; } }
@keyframes fa-twinkle { from { opacity: .2; } }
@keyframes fa-door { from { transform: scaleX(.05); } }
@keyframes fa-shake { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes fa-hatch { to { transform: translate(26px, -40px) rotate(34deg); } }
@keyframes fa-peek { from { transform: translateY(36px) scale(.3); opacity: 0; } }
@keyframes fa-open { to { transform: scaleX(.12) skewY(10deg); } }
@keyframes fa-glow { from { opacity: 0; } }
@keyframes fa-draw { to { stroke-dashoffset: 0; } }
@keyframes fa-pop { from { transform: scale(0); } }

/* 25/50/75%: a full-screen scene for each game, on that game's own scenery, dimmed a little so the words stand out */
@keyframes ss-ms-fade { 0% { opacity: 0; } 8%, 90% { opacity: 1; } 100% { opacity: 0; } }
.zoom-race .ms-bg { background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)), var(--scene-race) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); }
.zoom-space .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-space) center bottom / 100% auto no-repeat, linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); }
.zoom-farm .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-farm) center bottom / 100% auto no-repeat, linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); }
.zoom-dino .ms-bg { background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); }
.zoom-spy .ms-bg { background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), var(--scene-spy) center bottom / 100% auto no-repeat, linear-gradient(180deg, #020604 0%, #06140b 100%); }
.zoom-trip .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-trip) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); }
.zoom-dino .ms-scene { position: absolute; inset: 0; animation: ss-ms-shake .12s linear 8; }
.ms-scene { position: absolute; inset: 0; }
.sx { position: absolute; }
.sx i { font-style: normal; }
.sx-big { left: 50%; top: 38%; margin-left: -.5em; font-size: 6.5rem; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.4)); }
.sx-grow { animation: sx-grow .7s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes sx-grow { from { scale: .1; opacity: 0; } }
.sx-wobble { animation: sx-wobble .22s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes sx-wobble { from { rotate: -9deg; } to { rotate: 9deg; } }
.sx-eggart { left: 50%; top: 36%; width: 130px; margin-left: -65px; stroke: none; height: auto; }
.sx-flagwave { animation: sx-grow .7s cubic-bezier(.3, 1.6, .5, 1) both, sx-wobble .3s ease-in-out infinite alternate; }
.sx-crowd { left: 0; right: 0; bottom: 3%; display: flex; justify-content: space-around; font-size: 2.4rem; }
.sx-wave i { animation: sx-hop .5s ease-in-out infinite alternate; }
.sx-wave i:nth-child(2n) { animation-delay: .15s; } .sx-wave i:nth-child(3n) { animation-delay: .3s; }
@keyframes sx-hop { to { translate: 0 -18px; } }
.sx-streaks { inset: 0; }
.sx-streaks i { position: absolute; width: 3px; height: 70px; border-radius: 3px; background: linear-gradient(transparent, #fff); animation: sx-streak .6s linear infinite; }
.sx-streaks i:nth-child(1) { left: 8%; } .sx-streaks i:nth-child(2) { left: 22%; animation-delay: .2s; } .sx-streaks i:nth-child(3) { left: 35%; animation-delay: .4s; } .sx-streaks i:nth-child(4) { left: 48%; animation-delay: .1s; }
.sx-streaks i:nth-child(5) { left: 60%; animation-delay: .3s; } .sx-streaks i:nth-child(6) { left: 72%; animation-delay: .5s; } .sx-streaks i:nth-child(7) { left: 84%; animation-delay: .25s; } .sx-streaks i:nth-child(8) { left: 94%; animation-delay: .45s; }
@keyframes sx-streak { from { transform: translateY(-80px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(100vh); opacity: 0; } }
.sx-flames { left: 50%; bottom: 4%; margin-left: -.5em; font-size: 6rem; line-height: 1; animation: sx-wobble .12s linear infinite alternate; }
.sx-drift { left: 0; top: 40%; animation: sx-drift 2.8s linear both; scale: 4; }
@keyframes sx-drift { from { transform: translateX(110vw); } to { transform: translateX(-20vw); } }
.sx-looming { left: 50%; top: 42%; animation: sx-loom 2.6s ease-out both; }
@keyframes sx-loom { from { scale: 1; } to { scale: 11; } }
.sx-gate { left: 50%; top: 38%; width: min(320px, 82vw); height: auto; transform: translateX(-50%); stroke: none; }
.sx-gate-l, .sx-gate-r { transform-box: fill-box; animation: sx-gate 1.2s ease-in-out .5s both; }
.sx-gate-l { transform-origin: 0 50%; } .sx-gate-r { transform-origin: 100% 50%; }
@keyframes sx-gate { to { transform: scaleX(.12); } }
.sx-herd { left: 0; top: 46%; display: flex; gap: 14px; font-size: 3.4rem; animation: sx-cross 2.6s linear both; }
.sx-herd i { animation: sx-hop .22s ease-in-out infinite alternate; }
.sx-herd i:nth-child(2n) { animation-delay: .11s; }
@keyframes sx-cross { from { transform: translateX(-100%); } to { transform: translateX(110vw); } }
.sx-barn { left: 50%; top: 26%; width: min(260px, 70vw); height: auto; margin-left: calc(min(260px, 70vw) / -2); stroke: none; }
.sx-barn + .sx-herd { top: 62%; font-size: 2.6rem; }
.sx-prints { left: 8%; right: 8%; top: 38%; display: flex; justify-content: space-between; font-size: 3rem; }
.sx-prints i { animation: sx-grow .3s ease both; } .sx-prints i:nth-child(odd) { translate: 0 28px; }
.sx-prints i:nth-child(2) { animation-delay: .35s; } .sx-prints i:nth-child(3) { animation-delay: .7s; } .sx-prints i:nth-child(4) { animation-delay: 1.05s; } .sx-prints i:nth-child(5) { animation-delay: 1.4s; }
.sx-scanner { left: 0; right: 0; top: 0; height: 6px; background: #4ade80; box-shadow: 0 0 26px 8px rgba(74,222,128,.7); animation: sx-scan 1.3s ease-in-out infinite alternate; }
@keyframes sx-scan { to { transform: translateY(96vh); } }
.sx-dial { left: 50%; top: 38%; width: 130px; height: 130px; margin-left: -65px; border-radius: 50%; background: #1f2937; border: 8px solid #4ade80; animation: sx-grow .6s ease both; }
.sx-dial i { position: absolute; left: 50%; top: 8px; bottom: 50%; width: 8px; margin-left: -4px; border-radius: 4px; background: #4ade80; transform-origin: 50% 100%; animation: sx-spin 1.1s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes sx-spin { to { rotate: 360deg; } }
.sx-digits { left: 0; right: 0; top: 42%; text-align: center; font: 700 3.6rem ui-monospace, Consolas, monospace; color: #4ade80; letter-spacing: .1em; text-shadow: 0 0 16px #4ade80; }
.sx-sign { left: 50%; top: 38%; width: min(290px, 80vw); margin-left: calc(min(290px, 80vw) / -2); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; border-radius: 12px; color: #fff; background: #2f6b2a; border: 5px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,.35); }
.sx-sign b { font-size: 2rem; letter-spacing: .04em; } .sx-sign small { font-size: 1.1rem; font-weight: 700; }
.sx-sea { left: 0; right: 0; bottom: 0; height: 40%; background: repeating-linear-gradient(170deg, #0e7490 0 18px, #0891b2 18px 36px); }
.sx-ferry { left: 0; bottom: 30%; font-size: 6rem; line-height: 1; animation: sx-sail 2.8s linear both; }
@keyframes sx-sail { from { transform: translateX(-30vw); } to { transform: translateX(80vw); } }
@media (prefers-reduced-motion: reduce) { .ms-scene *, .ms-scene { animation: none !important; } }

/* 100%: the build-up, then the big moment, then the kids' names and what they found */
.fn-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.finale > :not(.fn-stage):not(.fn-sky) { z-index: 1; }
.finale .fn-head { animation-delay: 2.4s; }
.finale .fn-sub { animation-delay: 2.9s; }
.finale .fn-parade i { animation-delay: calc(3.3s + var(--i, 0) * .08s), 3.8s; }
.fn-stage i { font-style: normal; }
.fs-parent { position: absolute; left: 0; bottom: 8%; font-size: 7.5rem; line-height: 1; animation: fs-stomp 1.8s steps(5) 2s both; }
@keyframes fs-stomp { from { transform: translateX(-110%); } to { transform: translateX(6vw); } }
.finale-dino .fn-art { animation: ss-fn-scene .9s cubic-bezier(.3,1.5,.5,1) .2s both, ss-ms-shake .12s linear 2s 12; }
.fs-fireworks i { position: absolute; width: 8px; height: 8px; border-radius: 50%; animation: fs-burst 1.2s ease-out infinite both; box-shadow: 0 -46px 0 var(--fw), 0 46px 0 var(--fw), 46px 0 0 var(--fw), -46px 0 0 var(--fw), 33px 33px 0 var(--fw), -33px 33px 0 var(--fw), 33px -33px 0 var(--fw), -33px -33px 0 var(--fw); }
.fs-fireworks i:nth-child(1) { --fw: #f472b6; left: 18%; top: 14%; animation-delay: 1.4s; } .fs-fireworks i:nth-child(2) { --fw: #a5f3fc; left: 76%; top: 12%; animation-delay: 1.9s; }
.fs-fireworks i:nth-child(3) { --fw: #fde047; left: 48%; top: 8%; animation-delay: 2.4s; } .fs-fireworks i:nth-child(4) { --fw: #86efac; left: 12%; top: 40%; animation-delay: 2.8s; }
.fs-fireworks i:nth-child(5) { --fw: #fda4af; left: 84%; top: 38%; animation-delay: 3.2s; } .fs-fireworks i:nth-child(6) { --fw: #c4b5fd; left: 30%; top: 24%; animation-delay: 3.6s; } .fs-fireworks i:nth-child(7) { --fw: #fdba74; left: 66%; top: 26%; animation-delay: 4s; }
@keyframes fs-burst { from { scale: .1; opacity: 1; } to { scale: 1.3; opacity: 0; } }
.fs-herd { position: absolute; left: 0; bottom: 18%; display: flex; gap: 12px; font-size: 3rem; animation: fs-home 3s ease-in .6s both; }
.fs-herd i { animation: sx-hop .22s ease-in-out infinite alternate; }
@keyframes fs-home { from { transform: translateX(-100%); } to { transform: translateX(44vw) scale(.3); opacity: 0; } }
.fs-sunset { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,146,60,.55), rgba(244,63,94,.25) 60%, transparent); animation: fs-fadein 2.5s ease 3.4s both; }
@keyframes fs-fadein { from { opacity: 0; } }
.fs-finish { position: absolute; left: 6%; top: 8%; font-size: 4rem; animation: sx-wobble .3s ease-in-out infinite alternate; }
.fs-crowd { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; justify-content: space-around; font-size: 2.2rem; }
.fs-crowd i { animation: sx-hop .45s ease-in-out infinite alternate; } .fs-crowd i:nth-child(2n) { animation-delay: .2s; }
.fs-flashes i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 22px 10px #fff; animation: fs-flash 1.3s linear infinite; }
.fs-flashes i:nth-child(1) { left: 8%; top: 54%; } .fs-flashes i:nth-child(2) { left: 24%; top: 60%; animation-delay: .3s; } .fs-flashes i:nth-child(3) { left: 40%; top: 52%; animation-delay: .6s; } .fs-flashes i:nth-child(4) { left: 58%; top: 62%; animation-delay: .15s; }
.fs-flashes i:nth-child(5) { left: 72%; top: 54%; animation-delay: .9s; } .fs-flashes i:nth-child(6) { left: 88%; top: 60%; animation-delay: .45s; } .fs-flashes i:nth-child(7) { left: 16%; top: 66%; animation-delay: 1.1s; } .fs-flashes i:nth-child(8) { left: 66%; top: 68%; animation-delay: .75s; }
@keyframes fs-flash { 0%, 88%, 100% { opacity: 0; } 92% { opacity: 1; } }
.fs-beams i { position: absolute; left: 50%; top: -10%; width: 90px; height: 130%; margin-left: -45px; background: linear-gradient(180deg, rgba(74,222,128,.28), transparent); transform-origin: 50% 0; animation: fs-sweep 2.4s ease-in-out infinite alternate; }
.fs-beams i:nth-child(2) { animation-direction: alternate-reverse; }
@keyframes fs-sweep { from { rotate: -28deg; } to { rotate: 28deg; } }
.finale-spy .fn-head { animation: fs-stamp .4s cubic-bezier(.3, 1.6, .5, 1) 3.6s both; }
@keyframes fs-stamp { from { scale: 3; opacity: 0; } }
.fs-van { position: absolute; left: 0; bottom: 14%; font-size: 4.6rem; line-height: 1; animation: fs-drive 2.4s ease-out .5s both; }
@keyframes fs-drive { from { transform: translateX(-120%); } to { transform: translateX(58vw); } }
.fs-chips { position: absolute; right: 6%; bottom: 26%; font-size: 3.6rem; animation: sx-grow .6s cubic-bezier(.3, 1.8, .5, 1) 3s both; }
@media (prefers-reduced-motion: reduce) { .fn-stage * { animation: none !important; } }

/* The start screens: the game's whole world fills the screen, with the Go button big at the bottom */
.game-intro:not(.game-picker) { justify-content: flex-start; padding: max(7vh, 40px) 18px 0; overflow: hidden; }
.game-intro:not(.game-picker) > :is(.gi-name, .gi-goal, .gi-play) { position: relative; z-index: 2; }
.game-intro .gi-stage { position: absolute; inset: 0; width: auto; height: auto; margin: 0; border-radius: 0; box-shadow: none; z-index: 0; }
.gi-life { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.gi-life i { font-style: normal; }
.game-intro:not(.game-picker) .gi-name { margin: 0; font-size: clamp(2.4rem, 11vw, 3.2rem); text-align: center; }
.game-intro:not(.game-picker) .gi-goal { margin-top: 12px; padding: 10px 16px; border-radius: 16px; color: #fff; background: rgba(0, 0, 0, .42); text-align: center; backdrop-filter: blur(2px); }
.game-intro:not(.game-picker) .gi-play { margin: auto 0 max(6vh, 30px); min-height: 72px; padding: 0 44px; font-size: 1.7rem; animation: ss-fn-in .4s ease .7s both, gi-pulse 1.1s ease-in-out 1.2s infinite; }
@keyframes gi-pulse { 50% { scale: 1.08; box-shadow: 0 0 0 12px rgba(255, 213, 74, .3); } }
.game-intro .gi-tractor, .game-intro .gi-launch, .game-intro .gi-zoom, .game-intro .gi-agent { bottom: 17vh; font-size: 5rem; }
.game-intro .gi-ani { bottom: 26vh; font-size: 3rem; }
.game-intro .gi-flag { bottom: 24vh; font-size: 3.6rem; }
.game-intro .gi-walker { bottom: 17vh; } .game-intro .gi-walker .dino-art { width: 130px; height: 110px; }
.game-intro .gi-nest { bottom: 17vh; font-size: 4rem; } .game-intro .gi-nest b { font-size: 2.4rem; }
.game-intro .gi-beam { height: 100%; } .game-intro .gi-laser.l1 { bottom: 24vh; } .game-intro .gi-laser.l2 { bottom: 36vh; }
.game-intro .gi-launch { animation-duration: 2.6s; animation-iteration-count: infinite; }
.gl-crowd { bottom: 24vh; font-size: 2.4rem; }
.gl-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: gl-twinkle 1.4s ease-in-out infinite alternate; }
.gl-stars i:nth-child(1) { left: 8%; top: 12%; } .gl-stars i:nth-child(2) { left: 24%; top: 30%; animation-delay: .3s; } .gl-stars i:nth-child(3) { left: 40%; top: 8%; animation-delay: .6s; } .gl-stars i:nth-child(4) { left: 58%; top: 34%; animation-delay: .9s; }
.gl-stars i:nth-child(5) { left: 72%; top: 14%; animation-delay: .2s; } .gl-stars i:nth-child(6) { left: 88%; top: 28%; animation-delay: .5s; } .gl-stars i:nth-child(7) { left: 14%; top: 48%; animation-delay: .8s; } .gl-stars i:nth-child(8) { left: 34%; top: 56%; animation-delay: 1.1s; }
.gl-stars i:nth-child(9) { left: 52%; top: 50%; animation-delay: .4s; } .gl-stars i:nth-child(10) { left: 78%; top: 46%; animation-delay: .7s; } .gl-stars i:nth-child(11) { left: 92%; top: 58%; animation-delay: 1s; } .gl-stars i:nth-child(12) { left: 4%; top: 66%; animation-delay: 1.3s; }
@keyframes gl-twinkle { from { opacity: .15; } to { opacity: 1; scale: 1.6; } }
.gl-shoot { position: absolute; left: -10%; top: 18%; width: 90px; height: 3px; background: linear-gradient(90deg, transparent, #fff); rotate: 18deg; animation: gl-shoot 3.4s linear 1s infinite; }
@keyframes gl-shoot { 0% { transform: translateX(0); opacity: 1; } 28%, 100% { transform: translateX(130vw); opacity: 0; } }
.gl-drift { position: absolute; top: 34%; font-size: 3.4rem; opacity: .9; animation: gl-drift 16s linear infinite; }
.gl-drift.b { top: 44%; font-size: 2.4rem; animation-duration: 24s; animation-delay: -9s; }
@keyframes gl-drift { from { transform: translateX(-20vw); } to { transform: translateX(110vw); } }
.gl-flit { position: absolute; left: 20%; bottom: 36vh; font-size: 1.8rem; animation: gl-flit 4s ease-in-out infinite alternate; }
.gl-flit.b { left: 62%; bottom: 40vh; animation-duration: 3s; animation-delay: -1.4s; }
@keyframes gl-flit { 25% { transform: translate(30px, -26px); } 50% { transform: translate(70px, 8px); } 75% { transform: translate(110px, -34px); } 100% { transform: translate(150px, 0); } }
.gl-fly { position: absolute; top: 38%; font-size: 3rem; animation: gl-drift 7s linear infinite; }
.gl-rumble { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: radial-gradient(ellipse at 70% 100%, rgba(249, 115, 22, .3), transparent 70%); animation: gl-twinkle 1.2s ease-in-out infinite alternate; }
.gl-code { position: absolute; inset: 0; display: flex; justify-content: space-around; font: 700 .8rem ui-monospace, Consolas, monospace; color: rgba(74, 222, 128, .45); }
.gl-code i { writing-mode: vertical-rl; animation: sx-streak 3.2s linear infinite; }
.gl-code i:nth-child(2) { animation-delay: .8s; } .gl-code i:nth-child(3) { animation-delay: 1.6s; } .gl-code i:nth-child(4) { animation-delay: .4s; } .gl-code i:nth-child(5) { animation-delay: 2.2s; } .gl-code i:nth-child(6) { animation-delay: 1.2s; }

/* Entering the world: the doors close over the start screen, then open on the game */
.enter { position: fixed; inset: 0; z-index: 120; overflow: hidden; pointer-events: none; }
.en-door { position: absolute; top: 0; bottom: 0; width: 50.5%; animation: en-shut .36s cubic-bezier(.5, 0, .3, 1) both; }
.en-door.l { left: 0; --from: -100%; } .en-door.r { right: 0; --from: 100%; }
@keyframes en-shut { from { transform: translateX(var(--from)); } }
.enter.opening .en-door { animation: en-open .55s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes en-open { to { transform: translateX(var(--from)); } }
.en-mark { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; animation: sx-grow .35s cubic-bezier(.3, 1.6, .5, 1) .3s both; }
.enter.opening .en-mark { animation: ss-fn-out .2s ease forwards; }
.en-pic { font-size: 8rem; line-height: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); animation: sx-hop .22s ease-in-out infinite alternate; }
.enter-race .en-door { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 60px 60px; }
.en-lights { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: #111; }
.en-lights i { width: 44px; height: 44px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 18px #dc2626; animation: en-light .9s steps(1) .3s both; }
@keyframes en-light { 0% { background: #450a0a; box-shadow: none; } 66%, 100% { background: #22c55e; box-shadow: 0 0 18px #22c55e; } }
.en-lights i:nth-child(2) { animation-name: en-light2; } .en-lights i:nth-child(3) { animation-name: en-light3; }
@keyframes en-light2 { 0%, 22% { background: #450a0a; box-shadow: none; } 44% { background: #dc2626; } 66%, 100% { background: #22c55e; box-shadow: 0 0 18px #22c55e; } }
@keyframes en-light3 { 0%, 44% { background: #450a0a; box-shadow: none; } 55% { background: #dc2626; } 66%, 100% { background: #22c55e; box-shadow: 0 0 18px #22c55e; } }
.en-go { margin-top: 12px; padding: 2px 18px; border-radius: 12px; background: #111; color: #22c55e; font-size: 3.4rem; animation: sx-grow .3s ease .9s both; }
.enter-space .en-door { background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .5) 0 2px, transparent 3px) 0 0 / 46px 46px, #0b1033; border-inline: 6px solid #22d3ee; }
.en-count { position: relative; width: 120px; height: 120px; font-size: 6rem; line-height: 120px; color: #a5f3fc; text-shadow: 0 0 20px #22d3ee; }
.en-count i { position: absolute; inset: 0; font-style: normal; opacity: 0; animation: en-tick .3s ease both; } .en-count i:nth-child(1) { animation-delay: .3s; } .en-count i:nth-child(2) { animation-delay: .6s; } .en-count i:nth-child(3) { animation-delay: .9s; }
@keyframes en-tick { 0%, 100% { opacity: 0; scale: 1.5; } 30%, 80% { opacity: 1; scale: 1; } }
.enter-farm .en-door { background: linear-gradient(45deg, transparent 48%, #fef3c7 48% 52%, transparent 52%), linear-gradient(-45deg, transparent 48%, #fef3c7 48% 52%, transparent 52%), #b91c1c; border: 8px solid #fef3c7; }
.enter-dino .en-door { background: radial-gradient(circle at 30% 30%, #4ade80 0 34px, transparent 35px) 0 0 / 90px 90px, radial-gradient(circle at 70% 70%, #16a34a 0 40px, transparent 41px) 0 0 / 110px 110px, #14532d; }
.enter-spy .en-door { background: repeating-linear-gradient(90deg, #374151 0 18px, #1f2937 18px 36px); border-inline: 6px solid #4ade80; }
.en-access { padding: 10px 16px; font: 700 1.7rem ui-monospace, Consolas, monospace; letter-spacing: .08em; color: #4ade80; background: #020604; border: 3px solid #4ade80; }
.enter-trip .en-door { background: linear-gradient(180deg, #7cc4f0 0 56%, #5fae45 56%); }
.en-road { display: flex; flex-direction: column; padding: 14px 22px; border-radius: 14px; background: #2f6b2a; border: 5px solid #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); }
.en-road b { font-size: 1.7rem; line-height: 1.15; } .en-road small { margin-top: 4px; font-size: 1rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .gi-life * { animation: none !important; } .en-mark *, .en-door { animation-duration: .01s !important; } }


/* Five more worlds, each to the same recipe as the rest: scenery, tiles, dock, title bar, start screen, milestones, finish */
body.game-on.game-pirate { --tile-bg: linear-gradient(180deg, #f5e6c8, #e8d3a6); --tile-bg-solid: #f5e6c8; --tile-line: #92400e; --tile-edge: #78350f; --tile-ink: #3b2410; --tile-pic: #fff8e7; --game-ink: #0c2a4a; background: var(--scene-pirate) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%) fixed !important; }
body.game-pirate { --dock-bg: rgba(120, 53, 15, .94); --dock-ink: #fef3c7; }
body.game-on.game-pirate .race-dock { background: linear-gradient(180deg, #7c2d12, #431407); border: 3px solid #78350f; border-top: 0; }
body.game-pirate .race-track { background: rgba(255,255,255,.25); } body.game-pirate .race-fill { background: linear-gradient(90deg, #fbbf24, #92400e); }
.game-pirate .game-hud { background: linear-gradient(180deg, #7c2d12, #431407); color: #fef3c7; border-bottom: 3px solid #fbbf24; }
.game-pirate :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fef3c7; } .game-pirate .hud-add { background: #fbbf24; color: #431407; }
.zoom-pirate .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-pirate) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); } .zoom-pirate .ms-badge b { color: #fbbf24; }
.finale-pirate { background: var(--scene-pirate) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); color: #0c2a4a; } .finale-pirate .fn-head { color: #fbbf24; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-pirate .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-pirate { background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); color: #0c2a4a; } .gi-pirate-stage { background: var(--scene-pirate) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); }
.intro-pirate .gi-name { padding: 8px 20px; border-radius: 12px; color: #fef3c7; background: linear-gradient(180deg, #7c2d12, #431407); box-shadow: 0 5px 0 #78350f, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-pirate .en-door { background: linear-gradient(180deg, #7c2d12, #431407); border-inline: 8px solid #fbbf24; }
body.game-on.game-robot { --tile-bg: linear-gradient(180deg, #e2e8f0, #cbd5e1); --tile-bg-solid: #e2e8f0; --tile-line: #0ea5e9; --tile-edge: #0369a1; --tile-ink: #0f172a; --tile-pic: #fff; --game-ink: #e2e8f0; background: var(--scene-robot) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #1e293b, #0f172a) fixed !important; }
body.game-robot { --dock-bg: rgba(15, 23, 42, .94); --dock-ink: #bae6fd; }
body.game-on.game-robot .race-dock { background: linear-gradient(180deg, #334155, #0f172a); border: 3px solid #0369a1; border-top: 0; }
body.game-robot .race-track { background: rgba(255,255,255,.25); } body.game-robot .race-fill { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.game-robot .game-hud { background: linear-gradient(180deg, #334155, #0f172a); color: #bae6fd; border-bottom: 3px solid #38bdf8; }
.game-robot :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #bae6fd; } .game-robot .hud-add { background: #38bdf8; color: #0f172a; }
.zoom-robot .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-robot) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e293b, #0f172a); } .zoom-robot .ms-badge b { color: #38bdf8; }
.finale-robot { background: var(--scene-robot) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e293b, #0f172a); color: #e2e8f0; } .finale-robot .fn-head { color: #38bdf8; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-robot .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-robot { background: linear-gradient(180deg, #1e293b, #0f172a); color: #e2e8f0; } .gi-robot-stage { background: var(--scene-robot) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e293b, #0f172a); }
.intro-robot .gi-name { padding: 8px 20px; border-radius: 12px; color: #bae6fd; background: linear-gradient(180deg, #334155, #0f172a); box-shadow: 0 5px 0 #0369a1, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-robot .en-door { background: linear-gradient(180deg, #334155, #0f172a); border-inline: 8px solid #38bdf8; }
body.game-on.game-potion { --tile-bg: linear-gradient(180deg, #4c1d95, #3b0764); --tile-bg-solid: #4c1d95; --tile-line: #c084fc; --tile-edge: #7e22ce; --tile-ink: #f3e8ff; --tile-pic: rgba(255,255,255,.12); --game-ink: #f3e8ff; background: var(--scene-potion) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #2e1065, #1e1b4b) fixed !important; }
body.game-potion { --dock-bg: rgba(46, 16, 101, .94); --dock-ink: #e9d5ff; }
body.game-on.game-potion .race-dock { background: linear-gradient(180deg, #581c87, #2e1065); border: 3px solid #7e22ce; border-top: 0; }
body.game-potion .race-track { background: rgba(255,255,255,.25); } body.game-potion .race-fill { background: linear-gradient(90deg, #c084fc, #c084fc); }
.game-potion .game-hud { background: linear-gradient(180deg, #581c87, #2e1065); color: #f3e8ff; border-bottom: 3px solid #c084fc; }
.game-potion :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #f3e8ff; } .game-potion .hud-add { background: #c084fc; color: #2e1065; }
.zoom-potion .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-potion) center bottom / 100% auto no-repeat, linear-gradient(180deg, #2e1065, #1e1b4b); } .zoom-potion .ms-badge b { color: #c084fc; }
.finale-potion { background: var(--scene-potion) center bottom / 100% auto no-repeat, linear-gradient(180deg, #2e1065, #1e1b4b); color: #f3e8ff; } .finale-potion .fn-head { color: #c084fc; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-potion .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-potion { background: linear-gradient(180deg, #2e1065, #1e1b4b); color: #f3e8ff; } .gi-potion-stage { background: var(--scene-potion) center bottom / 100% auto no-repeat, linear-gradient(180deg, #2e1065, #1e1b4b); }
.intro-potion .gi-name { padding: 8px 20px; border-radius: 12px; color: #f3e8ff; background: linear-gradient(180deg, #581c87, #2e1065); box-shadow: 0 5px 0 #7e22ce, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-potion .en-door { background: linear-gradient(180deg, #581c87, #2e1065); border-inline: 8px solid #c084fc; }
body.game-on.game-super { --tile-bg: linear-gradient(180deg, #dc2626, #991b1b); --tile-bg-solid: #dc2626; --tile-line: #fde047; --tile-edge: #7f1d1d; --tile-ink: #fff; --tile-pic: rgba(255,255,255,.14); --game-ink: #fff; background: var(--scene-super) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%) fixed !important; }
body.game-super { --dock-bg: rgba(15, 23, 42, .94); --dock-ink: #fde047; }
body.game-on.game-super .race-dock { background: linear-gradient(180deg, #b91c1c, #7f1d1d); border: 3px solid #7f1d1d; border-top: 0; }
body.game-super .race-track { background: rgba(255,255,255,.25); } body.game-super .race-fill { background: linear-gradient(90deg, #fde047, #fde047); }
.game-super .game-hud { background: linear-gradient(180deg, #b91c1c, #7f1d1d); color: #fff; border-bottom: 3px solid #fde047; }
.game-super :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fff; } .game-super .hud-add { background: #fde047; color: #7f1d1d; }
.zoom-super .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-super) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); } .zoom-super .ms-badge b { color: #fde047; }
.finale-super { background: var(--scene-super) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); color: #fff; } .finale-super .fn-head { color: #fde047; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-super .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-super { background: linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); color: #fff; } .gi-super-stage { background: var(--scene-super) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); }
.intro-super .gi-name { padding: 8px 20px; border-radius: 12px; color: #fff; background: linear-gradient(180deg, #b91c1c, #7f1d1d); box-shadow: 0 5px 0 #7f1d1d, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-super .en-door { background: linear-gradient(180deg, #b91c1c, #7f1d1d); border-inline: 8px solid #fde047; }
body.game-on.game-garden { --tile-bg: linear-gradient(180deg, #fdf2f8, #fce7f3); --tile-bg-solid: #fdf2f8; --tile-line: #ec4899; --tile-edge: #be185d; --tile-ink: #3f1d2e; --tile-pic: #fff; --game-ink: #14532d; background: var(--scene-garden) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%) fixed !important; }
body.game-garden { --dock-bg: rgba(21, 128, 61, .94); --dock-ink: #f0fdf4; }
body.game-on.game-garden .race-dock { background: linear-gradient(180deg, #16a34a, #166534); border: 3px solid #be185d; border-top: 0; }
body.game-garden .race-track { background: rgba(255,255,255,.25); } body.game-garden .race-fill { background: linear-gradient(90deg, #fbcfe8, #ec4899); }
.game-garden .game-hud { background: linear-gradient(180deg, #16a34a, #166534); color: #f0fdf4; border-bottom: 3px solid #fbcfe8; }
.game-garden :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #f0fdf4; } .game-garden .hud-add { background: #fbcfe8; color: #831843; }
.zoom-garden .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-garden) center bottom / 100% auto no-repeat, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); } .zoom-garden .ms-badge b { color: #fbcfe8; }
.finale-garden { background: var(--scene-garden) center bottom / 100% auto no-repeat, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); color: #14532d; } .finale-garden .fn-head { color: #fbcfe8; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-garden .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-garden { background: linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); color: #14532d; } .gi-garden-stage { background: var(--scene-garden) center bottom / 100% auto no-repeat, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); }
.intro-garden .gi-name { padding: 8px 20px; border-radius: 12px; color: #f0fdf4; background: linear-gradient(180deg, #16a34a, #166534); box-shadow: 0 5px 0 #be185d, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-garden .en-door { background: linear-gradient(180deg, #16a34a, #166534); border-inline: 8px solid #fbcfe8; }
:root { --scene-pirate: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22330%22 cy=%2290%22 r=%2230%22 fill=%22%23fde047%22/%3E %3Cpath d=%22M0 190 Q60 130 120 188Z%22 fill=%22%2365a30d%22/%3E%3Cpath d=%22M90 168 q4 -44 -6 -66 q18 8 16 66Z%22 fill=%22%2392400e%22/%3E%3Cpath d=%22M84 104 q-30 -10 -44 10 q24 -6 44 0 q-14 -22 -36 -24 q22 -2 36 14 q6 -24 30 -28 q-14 14 -18 28 q22 -8 40 6 q-24 -4 -38 0Z%22 fill=%22%23166534%22/%3E %3Cpath d=%22M0 190 H400 V300 H0Z%22 fill=%22%230284c7%22/%3E%3Cpath d=%22M0 214 q25 -14 50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 V300 H0Z%22 fill=%22%230369a1%22/%3E%3Cpath d=%22M0 250 q25 -14 50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 V300 H0Z%22 fill=%22%23075985%22/%3E%3C/svg%3E"); --scene-robot: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Crect width=%22400%22 height=%22300%22 fill=%22%231e293b%22/%3E %3Cg fill=%22%23334155%22%3E%3Crect x=%220%22 y=%2240%22 width=%22400%22 height=%2210%22/%3E%3Crect x=%2260%22 y=%2250%22 width=%226%22 height=%2260%22/%3E%3Crect x=%22330%22 y=%2250%22 width=%226%22 height=%2290%22/%3E%3C/g%3E%3Cg fill=%22%23475569%22%3E%3Ccircle cx=%2263%22 cy=%22118%22 r=%2212%22/%3E%3Ccircle cx=%22333%22 cy=%22148%22 r=%2214%22/%3E%3C/g%3E %3Crect x=%220%22 y=%22236%22 width=%22400%22 height=%2264%22 fill=%22%230f172a%22/%3E%3Crect x=%2230%22 y=%22206%22 width=%22340%22 height=%2230%22 fill=%22%23475569%22/%3E%3Cg fill=%22%23facc15%22%3E%3Cpath d=%22M0 290 l20 -14 h20 l-20 14Z M60 290 l20 -14 h20 l-20 14Z M120 290 l20 -14 h20 l-20 14Z M180 290 l20 -14 h20 l-20 14Z M240 290 l20 -14 h20 l-20 14Z M300 290 l20 -14 h20 l-20 14Z M360 290 l20 -14 h20 l-20 14Z%22/%3E%3C/g%3E%3C/svg%3E"); --scene-potion: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Crect width=%22400%22 height=%22300%22 fill=%22%232e1065%22/%3E %3Cg fill=%22%234c1d95%22%3E%3Crect x=%220%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%2266%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22132%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22198%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22264%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22330%22 y=%220%22 width=%2270%22 height=%2230%22/%3E%3Crect x=%2230%22 y=%2236%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%2296%22 y=%2236%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22264%22 y=%2236%22 width=%2260%22 height=%2230%22/%3E%3C/g%3E %3Crect x=%2220%22 y=%22130%22 width=%2290%22 height=%228%22 fill=%22%2378350f%22/%3E%3Cg%3E%3Crect x=%2230%22 y=%22102%22 width=%2216%22 height=%2228%22 rx=%223%22 fill=%22%2322c55e%22/%3E%3Crect x=%2256%22 y=%22110%22 width=%2214%22 height=%2220%22 rx=%223%22 fill=%22%23ec4899%22/%3E%3Crect x=%2280%22 y=%2298%22 width=%2216%22 height=%2232%22 rx=%223%22 fill=%22%2306b6d4%22/%3E%3C/g%3E %3Crect x=%22290%22 y=%22150%22 width=%2290%22 height=%228%22 fill=%22%2378350f%22/%3E%3Crect x=%22300%22 y=%22122%22 width=%2216%22 height=%2228%22 rx=%223%22 fill=%22%23a855f7%22/%3E%3Crect x=%22330%22 y=%22116%22 width=%2216%22 height=%2234%22 rx=%223%22 fill=%22%23fde047%22/%3E%3Crect x=%220%22 y=%22250%22 width=%22400%22 height=%2250%22 fill=%22%231e1b4b%22/%3E%3C/svg%3E"); --scene-super: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22340%22 cy=%2260%22 r=%2224%22 fill=%22%23e2e8f0%22/%3E%3Cg fill=%22%231e293b%22%3E%3Crect x=%220%22 y=%22150%22 width=%2260%22 height=%22150%22/%3E%3Crect x=%2264%22 y=%22110%22 width=%2250%22 height=%22190%22/%3E%3Crect x=%22118%22 y=%22170%22 width=%2246%22 height=%22130%22/%3E%3Crect x=%22168%22 y=%2290%22 width=%2260%22 height=%22210%22/%3E%3Crect x=%22232%22 y=%22140%22 width=%2248%22 height=%22160%22/%3E%3Crect x=%22284%22 y=%22120%22 width=%2256%22 height=%22180%22/%3E%3Crect x=%22344%22 y=%22165%22 width=%2256%22 height=%22135%22/%3E%3C/g%3E%3Crect y=%22270%22 width=%22400%22 height=%2230%22 fill=%22%230f172a%22/%3E%3C/svg%3E"); --scene-garden: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%2270%22 cy=%2270%22 r=%2230%22 fill=%22%23fde047%22/%3E%3Cpath d=%22M0 200 Q80 150 200 190 T400 180 V300 H0Z%22 fill=%22%2386efac%22/%3E%3Cpath d=%22M0 240 Q120 200 260 235 T400 230 V300 H0Z%22 fill=%22%2322c55e%22/%3E %3Cg fill=%22%2365a30d%22%3E%3Crect x=%220%22 y=%22130%22 width=%2220%22 height=%2290%22/%3E%3Crect x=%22380%22 y=%22120%22 width=%2220%22 height=%22100%22/%3E%3C/g%3E%3Cpath d=%22M140 170 a60 60 0 0 1 120 0 v30 h-120Z%22 fill=%22%23a8a29e%22/%3E%3Cpath d=%22M160 170 a40 40 0 0 1 80 0 v30 h-80Z%22 fill=%22%2314532d%22/%3E %3Cg fill=%22%23f472b6%22%3E%3Ccircle cx=%2250%22 cy=%22262%22 r=%226%22/%3E%3Ccircle cx=%22120%22 cy=%22276%22 r=%226%22/%3E%3Ccircle cx=%22330%22 cy=%22266%22 r=%226%22/%3E%3C/g%3E%3Cg fill=%22%23fde047%22%3E%3Ccircle cx=%2280%22 cy=%22282%22 r=%225%22/%3E%3Ccircle cx=%22280%22 cy=%22280%22 r=%225%22/%3E%3Ccircle cx=%22370%22 cy=%22284%22 r=%225%22/%3E%3C/g%3E%3C/svg%3E"); }

/* what the building games draw in the dock as things are found */
.bp { display: flex; justify-content: center; margin: 2px 0 8px; }
.bp svg { width: auto; height: 96px; stroke: none; flex: none; }
.bp-super svg { width: 100%; max-width: 320px; height: auto; }
.rb { opacity: .12; transition: opacity .5s; } .rb.on { opacity: 1; }
.rb-eye.lit { fill: #fde047; }
.bb { animation: bb-rise 1.1s ease-in infinite; } .bb.b2 { animation-delay: .35s; } .bb.b3 { animation-delay: .7s; }
@keyframes bb-rise { from { transform: translateY(0); opacity: .8; } to { transform: translateY(-22px); opacity: 0; } }
.bp-garden { gap: 6px; font-size: 2.1rem; line-height: 1; }
.bp-garden span { filter: grayscale(.2); } .bp-garden span.up { animation: sx-grow .6s cubic-bezier(.3, 1.8, .5, 1) both; }
/* start screens, scenes and finishes for the new games */
.game-intro .gi-sail { position: absolute; left: 0; bottom: 15vh; font-size: 6rem; line-height: 1; animation: gi-sail 7s ease-in-out infinite alternate; }
@keyframes gi-sail { from { transform: translateX(-6vw) rotate(-4deg); } to { transform: translateX(62vw) rotate(4deg); } }
.gi-art { position: absolute; left: 50%; bottom: 17vh; width: 190px; margin-left: -95px; }
.gi-art.wide { left: 0; right: 0; bottom: 0; width: auto; margin: 0; }
.gi-art svg, .sx-bigart svg { width: 100%; height: auto; stroke: none; display: block; }
.gi-seeds { position: absolute; left: 0; right: 0; bottom: 17vh; display: flex; justify-content: space-around; font-size: 2.8rem; animation: sx-hop 1.4s ease-in-out infinite alternate; }
.gl-gear { position: absolute; font-size: 4rem; opacity: .55; animation: sx-spin 4s linear infinite; } .gl-gear.a { left: 6%; top: 34%; } .gl-gear.b { right: 8%; top: 42%; font-size: 3rem; animation-direction: reverse; }
.sx-bigart { left: 50%; top: 32%; width: min(250px, 66vw); margin-left: calc(min(250px, 66vw) / -2); animation: sx-grow .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.sx-bigart.wide { top: auto; bottom: 0; left: 0; width: 100%; margin: 0; }
.sx-bigart.sx-wobble { animation: sx-wobble .22s ease-in-out infinite alternate; }
.sx-xmark { left: 0; right: 0; top: 34%; text-align: center; font: 700 8rem/1 var(--font); color: #dc2626; text-shadow: 0 4px 0 #fff, 0 10px 14px rgba(0,0,0,.4); }
.sx-sparks, .sx-sparks i { pointer-events: none; }
.sx-sparks { position: absolute; inset: 0; }
.sx-sparks i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fde047; box-shadow: 0 0 10px 3px #f59e0b; animation: fs-burst .7s ease-out infinite; }
.sx-sparks i:nth-child(1) { left: 20%; top: 40%; } .sx-sparks i:nth-child(2) { left: 74%; top: 36%; animation-delay: .2s; } .sx-sparks i:nth-child(3) { left: 36%; top: 62%; animation-delay: .4s; } .sx-sparks i:nth-child(4) { left: 60%; top: 58%; animation-delay: .1s; }
.sx-sparks i:nth-child(5) { left: 14%; top: 66%; animation-delay: .5s; } .sx-sparks i:nth-child(6) { left: 84%; top: 60%; animation-delay: .3s; } .sx-sparks i:nth-child(7) { left: 48%; top: 30%; animation-delay: .6s; } .sx-sparks i:nth-child(8) { left: 28%; top: 28%; animation-delay: .25s; }
.sx-flowers { left: 0; right: 0; top: 44%; display: flex; justify-content: space-around; font-size: 3.6rem; }
.sx-flowers i { animation: sx-grow .5s cubic-bezier(.3, 1.8, .5, 1) both; } .sx-flowers i:nth-child(2) { animation-delay: .25s; } .sx-flowers i:nth-child(3) { animation-delay: .5s; } .sx-flowers i:nth-child(4) { animation-delay: .75s; } .sx-flowers i:nth-child(5) { animation-delay: 1s; }
.fs-coins i, .fs-petals i { position: absolute; top: -10%; font-size: 2rem; font-style: normal; animation: fs-fall 2.8s linear infinite both; }
.fs-coins i:nth-child(1), .fs-petals i:nth-child(1) { left: 6%; animation-delay: 1.4s; } .fs-coins i:nth-child(2), .fs-petals i:nth-child(2) { left: 18%; animation-delay: 2s; } .fs-coins i:nth-child(3), .fs-petals i:nth-child(3) { left: 30%; animation-delay: 1.7s; } .fs-coins i:nth-child(4), .fs-petals i:nth-child(4) { left: 42%; animation-delay: 2.4s; } .fs-coins i:nth-child(5), .fs-petals i:nth-child(5) { left: 54%; animation-delay: 1.5s; }
.fs-coins i:nth-child(6), .fs-petals i:nth-child(6) { left: 64%; animation-delay: 2.2s; } .fs-coins i:nth-child(7), .fs-petals i:nth-child(7) { left: 74%; animation-delay: 1.9s; } .fs-coins i:nth-child(8), .fs-petals i:nth-child(8) { left: 84%; animation-delay: 2.6s; } .fs-coins i:nth-child(9), .fs-petals i:nth-child(9) { left: 92%; animation-delay: 1.6s; } .fs-coins i:nth-child(10), .fs-petals i:nth-child(10) { left: 12%; animation-delay: 3s; }
@keyframes fs-fall { to { transform: translateY(115vh) rotate(300deg); } }
.fs-parrot { position: absolute; right: 6%; top: 10%; font-size: 3.6rem; animation: sx-hop .35s ease-in-out infinite alternate; }
.fs-bolt { position: absolute; left: 50%; top: 4%; margin-left: -.5em; font-size: 5rem; animation: fs-flash 1s linear 1.6s infinite; }
.fs-bubbles i { position: absolute; bottom: -8%; width: 22px; height: 22px; border-radius: 50%; background: rgba(216, 180, 254, .35); border: 2px solid rgba(255, 255, 255, .6); animation: fs-rise 3s ease-in infinite both; }
.fs-bubbles i:nth-child(1) { left: 6%; } .fs-bubbles i:nth-child(2) { left: 16%; animation-delay: .6s; } .fs-bubbles i:nth-child(3) { left: 28%; animation-delay: 1.2s; } .fs-bubbles i:nth-child(4) { left: 40%; animation-delay: .3s; } .fs-bubbles i:nth-child(5) { left: 50%; animation-delay: 1.8s; }
.fs-bubbles i:nth-child(6) { left: 60%; animation-delay: .9s; } .fs-bubbles i:nth-child(7) { left: 70%; animation-delay: 2.1s; } .fs-bubbles i:nth-child(8) { left: 80%; animation-delay: .5s; } .fs-bubbles i:nth-child(9) { left: 90%; animation-delay: 1.5s; } .fs-bubbles i:nth-child(10) { left: 34%; animation-delay: 2.5s; }
@keyframes fs-rise { to { transform: translateY(-115vh); opacity: .2; } }
.fs-fairy { position: absolute; left: 0; top: 18%; font-size: 3.4rem; animation: gl-flit 3s ease-in-out 2s infinite alternate; }
.en-robot { color: #38bdf8; border-color: #38bdf8; }
@media (prefers-reduced-motion: reduce) { .fn-stage *, .bb, .bp * { animation: none !important; } }

/* Start screen titles: no box behind them, just lettering in the style of each world */
.game-intro:not(.game-picker) .gi-name { padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none; transform: none; font-size: clamp(2.8rem, 13vw, 3.8rem); line-height: 1.02; letter-spacing: .02em;
  --edge: #111; text-shadow: -2px -2px 0 var(--edge), 2px -2px 0 var(--edge), -2px 2px 0 var(--edge), 2px 2px 0 var(--edge), 0 6px 0 var(--edge), 0 12px 18px rgba(0, 0, 0, .35); }
.game-intro:not(.game-picker) .gi-name::before, .game-intro:not(.game-picker) .gi-name::after { display: none; }
.intro-race .gi-name { color: #facc15; --edge: #1e293b; font-style: italic; }
.intro-space .gi-name { color: #e0f7ff; --edge: #0e7490; text-shadow: 0 0 10px #22d3ee, 0 0 26px #22d3ee, 0 0 52px #a78bfa; }
.intro-farm .gi-name { color: #fff8e7; --edge: #8f5a2b; }
.intro-dino .gi-name { color: #fde68a; --edge: #5b3a1a; letter-spacing: .05em; }
.intro-trip .gi-name { color: #fff; --edge: #1f4d1d; }
.intro-spy .gi-name { color: #ef4444; font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; text-shadow: 0 0 10px rgba(239, 68, 68, .9), 0 0 30px rgba(239, 68, 68, .5); }
.intro-pirate .gi-name { color: #fbbf24; --edge: #431407; letter-spacing: .04em; }
.intro-robot .gi-name { color: #bae6fd; --edge: #0369a1; font-family: ui-monospace, Consolas, monospace; letter-spacing: -.02em; }
.intro-potion .gi-name { color: #f0abfc; text-shadow: 0 0 10px #a855f7, 0 0 28px #a855f7, 0 0 54px #ec4899; }
.intro-super .gi-name { color: #fde047; --edge: #b91c1c; font-style: italic; }
.intro-garden .gi-name { color: #fff; --edge: #be185d; }
.game-intro:not(.game-picker) .gi-read { position: relative; z-index: 2; min-height: 32px; margin-top: 8px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; font: 600 .8rem var(--font); color: #fff; background: rgba(0, 0, 0, .42); cursor: pointer; animation: ss-fn-in .4s ease .6s both; }
.ms-aboard .ms-run { display: none; }
.finale-dino .fn-head { color: #fde68a; text-shadow: -2px -2px 0 #7c2d12, 2px -2px 0 #7c2d12, -2px 2px 0 #7c2d12, 2px 2px 0 #7c2d12, 0 5px 0 #7c2d12; }
.finale-dino .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0, 0, 0, .42); }

/* Household: a short menu of rows, each opening one page */
.home-menu { list-style: none; margin: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--card, var(--surface)); border: 1px solid var(--line); }
.home-menu li + li { border-top: 1px solid var(--line); }
.menu-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 8px 14px; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.menu-row .ic { flex: none; width: 34px; font-size: 1.35rem; text-align: center; }
.menu-row .t { flex: 1; min-width: 0; } .menu-row b { display: block; } .menu-row small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-row .go { flex: none; width: 18px; height: 18px; rotate: -90deg; color: var(--muted); }
.home-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-bottom: 6px; padding: 0 8px 0 0; border: 0; background: none; color: var(--brand-strong, var(--brand)); font: 700 1rem var(--font); cursor: pointer; }
.home-back svg { width: 18px; height: 18px; rotate: -90deg; }
.quiet-row { margin: 14px 4px; font-size: .9rem; color: var(--muted); }
#homeBody .card h2 { margin-top: 0; }
#homeBody .seg { margin-bottom: 8px; }

/* The game picker: all the games on one screen, starting from the top so nothing is cut off */
.game-intro.game-picker { justify-content: flex-start; overflow-y: auto; padding-top: max(3vh, 16px); padding-bottom: 28px; }
.game-picker .gi-name { padding: 0; background: none !important; box-shadow: none; color: #fde047; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); font-size: 2rem; margin-bottom: 10px; }
.game-picker .gp-grid { flex: none; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.game-picker .gp-card { min-height: 92px; padding: 8px 4px; }
.game-picker .gp-card b { font-size: .78rem; line-height: 1.1; }
.game-picker .gp-ico { font-size: 2rem; }
.game-picker .gp-card:last-child:nth-child(odd) { grid-column: auto; }


/* Unicorn Rainbow and Royal Ball */
body.game-on.game-unicorn { --tile-bg: linear-gradient(180deg, #fdf4ff, #fae8ff); --tile-bg-solid: #fdf4ff; --tile-line: #c026d3; --tile-edge: #a21caf; --tile-ink: #4a044e; --tile-pic: #fff; --game-ink: #4a044e; background: var(--scene-unicorn) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%) fixed !important; }
body.game-unicorn { --dock-bg: rgba(162, 28, 175, .92); --dock-ink: #fdf4ff; }
body.game-on.game-unicorn .race-dock { background: linear-gradient(180deg, #c026d3, #86198f); border: 3px solid #a21caf; border-top: 0; }
body.game-unicorn .race-track { background: rgba(255,255,255,.3); } body.game-unicorn .race-fill { background: linear-gradient(90deg, #fde047, #c026d3); }
.game-unicorn .game-hud { background: linear-gradient(180deg, #c026d3, #86198f); color: #fdf4ff; border-bottom: 3px solid #fde047; }
.game-unicorn :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fdf4ff; } .game-unicorn .hud-add { background: #fde047; color: #701a75; }
.zoom-unicorn .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-unicorn) center bottom / 100% auto no-repeat, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); } .zoom-unicorn .ms-badge b { color: #fde047; }
.finale-unicorn { background: var(--scene-unicorn) center bottom / 100% auto no-repeat, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); color: #4a044e; } .finale-unicorn .fn-head { color: #fde047; text-shadow: -2px -2px 0 #a21caf, 2px -2px 0 #a21caf, -2px 2px 0 #a21caf, 2px 2px 0 #a21caf, 0 5px 0 #a21caf; } .finale-unicorn .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-unicorn { background: linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); color: #4a044e; } .gi-unicorn-stage { background: var(--scene-unicorn) center bottom / 100% auto no-repeat, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); }
.enter-unicorn .en-door { background: linear-gradient(180deg, #c026d3, #86198f); border-inline: 8px solid #fde047; }
body.game-on.game-ball { --tile-bg: linear-gradient(180deg, #fff1f2, #ffe4e6); --tile-bg-solid: #fff1f2; --tile-line: #db2777; --tile-edge: #9d174d; --tile-ink: #500724; --tile-pic: #fff; --game-ink: #fff1f2; background: var(--scene-ball) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%) fixed !important; }
body.game-ball { --dock-bg: rgba(80, 7, 36, .94); --dock-ink: #fbcfe8; }
body.game-on.game-ball .race-dock { background: linear-gradient(180deg, #9d174d, #500724); border: 3px solid #9d174d; border-top: 0; }
body.game-ball .race-track { background: rgba(255,255,255,.3); } body.game-ball .race-fill { background: linear-gradient(90deg, #fde047, #db2777); }
.game-ball .game-hud { background: linear-gradient(180deg, #9d174d, #500724); color: #fff1f2; border-bottom: 3px solid #fde047; }
.game-ball :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fff1f2; } .game-ball .hud-add { background: #fde047; color: #500724; }
.zoom-ball .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-ball) center bottom / 100% auto no-repeat, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); } .zoom-ball .ms-badge b { color: #fde047; }
.finale-ball { background: var(--scene-ball) center bottom / 100% auto no-repeat, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); color: #fff1f2; } .finale-ball .fn-head { color: #fde047; text-shadow: -2px -2px 0 #9d174d, 2px -2px 0 #9d174d, -2px 2px 0 #9d174d, 2px 2px 0 #9d174d, 0 5px 0 #9d174d; } .finale-ball .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-ball { background: linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); color: #fff1f2; } .gi-ball-stage { background: var(--scene-ball) center bottom / 100% auto no-repeat, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); }
.enter-ball .en-door { background: linear-gradient(180deg, #9d174d, #500724); border-inline: 8px solid #fde047; }
:root { --scene-unicorn: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cg fill=%22%23fff%22 opacity=%22.9%22%3E%3Cellipse cx=%2270%22 cy=%2270%22 rx=%2242%22 ry=%2214%22/%3E%3Cellipse cx=%22300%22 cy=%2250%22 rx=%2250%22 ry=%2215%22/%3E%3Cellipse cx=%22350%22 cy=%22130%22 rx=%2234%22 ry=%2211%22/%3E%3C/g%3E %3Cpath d=%22M0 210 Q90 160 210 200 T400 190 V300 H0Z%22 fill=%22%23f9a8d4%22/%3E%3Cpath d=%22M0 248 Q120 212 260 244 T400 240 V300 H0Z%22 fill=%22%23c4b5fd%22/%3E%3Cg fill=%22%23fff%22%3E%3Ccircle cx=%2260%22 cy=%22270%22 r=%224%22/%3E%3Ccircle cx=%22150%22 cy=%22284%22 r=%224%22/%3E%3Ccircle cx=%22300%22 cy=%22274%22 r=%224%22/%3E%3Ccircle cx=%22360%22 cy=%22288%22 r=%224%22/%3E%3C/g%3E%3C/svg%3E"); --scene-ball: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22340%22 cy=%2260%22 r=%2226%22 fill=%22%23fef3c7%22/%3E%3Cpath d=%22M0 240 Q120 214 240 236 T400 232 V300 H0Z%22 fill=%22%23500724%22/%3E %3Cg fill=%22%23831843%22%3E%3Crect x=%22110%22 y=%22120%22 width=%22180%22 height=%22120%22/%3E%3Crect x=%2290%22 y=%2284%22 width=%2240%22 height=%22156%22/%3E%3Crect x=%22270%22 y=%2284%22 width=%2240%22 height=%22156%22/%3E%3Crect x=%22176%22 y=%2270%22 width=%2248%22 height=%22170%22/%3E%3C/g%3E%3Cg fill=%22%23be185d%22%3E%3Cpolygon points=%2290,84 110,44 130,84%22/%3E%3Cpolygon points=%22270,84 290,44 310,84%22/%3E%3Cpolygon points=%22176,70 200,24 224,70%22/%3E%3C/g%3E %3Cg fill=%22%23fde047%22%3E%3Crect x=%22102%22 y=%22110%22 width=%2214%22 height=%2220%22/%3E%3Crect x=%22284%22 y=%22110%22 width=%2214%22 height=%2220%22/%3E%3Crect x=%22192%22 y=%2296%22 width=%2216%22 height=%2222%22/%3E%3Crect x=%22146%22 y=%22150%22 width=%2216%22 height=%2222%22/%3E%3Crect x=%22238%22 y=%22150%22 width=%2216%22 height=%2222%22/%3E%3C/g%3E%3Cpath d=%22M180 240 V204 A20 20 0 0 1 220 204 V240Z%22 fill=%22%23500724%22/%3E%3C/svg%3E"); }
.intro-unicorn .gi-name { color: #fff; --edge: #a21caf; }
.intro-ball .gi-name { color: #fde047; text-shadow: 0 0 10px rgba(253, 224, 71, .8), 0 0 26px #ec4899, 0 4px 0 #500724; font-style: italic; }
.gi-art.gi-rainbow { bottom: 24vh; width: min(320px, 84vw); margin-left: calc(min(320px, 84vw) / -2); }
.bp-ball span { opacity: .25; filter: grayscale(1); transition: opacity .5s, filter .5s; } .bp-ball span.up { opacity: 1; filter: none; }
.en-invite { background: #fff1f2; color: #831843; border-color: #fde047; }

/* Who's playing: the first thing when going into a game */
.who-picker { gap: 10px; }
.who-tip { margin: 0; color: #fff; opacity: .8; font-weight: 600; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
.who-card { position: relative; }
.who-pick { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; min-height: 128px; padding: 12px 4px 8px; border-radius: 20px; border: 3px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.who-pick b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .who-pick small { opacity: .85; font-weight: 600; }
.who-pick[aria-pressed="true"] { background: rgba(255, 255, 255, .22); border-color: #fde047; box-shadow: 0 0 0 3px rgba(253, 224, 71, .35); }
.who-av { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-size: 2.3rem; line-height: 1; font-weight: 800; color: #fff; background: var(--c, rgba(255, 255, 255, .18)); }
.who-pick.new { border-style: dashed; justify-content: center; }
.who-edit { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; font-size: .95rem; background: rgba(0, 0, 0, .45); cursor: pointer; }
.game-picker .gi-play.who-next { margin: 14px 0 0; animation: none; }
.game-picker .gp-reward { margin: 4px 0; color: #fff; text-align: center; }
.who-back { min-height: 36px; margin-bottom: 8px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 .85rem var(--font); cursor: pointer; }

/* Every game the same shape */
body.game-on.game-spy #shopBody .tile { font-family: inherit; text-transform: none; letter-spacing: normal; font-size: .92rem; }
.game-on .spy-panel { gap: 10px; margin: 2px 0 8px; }
.game-on .spy-panel .radar { width: 58px; height: 58px; }
.game-on .spy-panel .spy-msg { flex: 1; min-width: 0; margin: 0; }

/* Finish: always at the bottom of the screen in a game, in that game's colours */
body.game-on #finishBar, body.game-on #finishBar.all-done { position: fixed; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 25; padding: 0 16px; pointer-events: none; }
body.game-on #finishBar .finish-btn { pointer-events: auto; touch-action: none; -webkit-touch-callout: none; background: var(--finish-bg, #ffd54a); color: var(--finish-ink, #111); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
body.game-on #finishBar .finish-btn.holding { animation: none; }
body.game-on #view-shop { padding-bottom: 86px; }
body.game-race { --finish-bg: #facc15; --finish-ink: #111; }
body.game-space { --finish-bg: #22d3ee; --finish-ink: #0b1020; }
body.game-farm { --finish-bg: #fde047; --finish-ink: #5a3a1a; }
body.game-dino { --finish-bg: #f97316; --finish-ink: #fff; }
body.game-spy { --finish-bg: #4ade80; --finish-ink: #04140a; }
body.game-trip { --finish-bg: #fde047; --finish-ink: #14361a; }
body.game-pirate { --finish-bg: #fbbf24; --finish-ink: #431407; }
body.game-robot { --finish-bg: #38bdf8; --finish-ink: #0f172a; }
body.game-potion { --finish-bg: #c084fc; --finish-ink: #2e1065; }
body.game-super { --finish-bg: #fde047; --finish-ink: #7f1d1d; }
body.game-garden { --finish-bg: #fbcfe8; --finish-ink: #831843; }
body.game-unicorn { --finish-bg: #fde047; --finish-ink: #701a75; }
body.game-ball { --finish-bg: #fde047; --finish-ink: #500724; }

/* The window at the top of every game: about three-quarters of its old height, so the things to find get the room */
body.game-on .race-dock { padding: 5px 14px 1px; margin-bottom: 8px; }
body.game-on .race-dock .who-row { margin-bottom: 3px; }
body.game-on .race-dock .who-chip { padding-block: 1px; font-size: .78rem; }
body.game-on .race-dock .who-chip i { width: 19px; height: 19px; }
body.game-on .race-dock .who-change { min-height: 24px; font-size: .75rem; }
body.game-on #shopBody .race-dock .race-text { margin-bottom: 1px; font-size: .98rem; line-height: 1.15; }
body.game-on #shopBody .race-dock .race-sub { margin: 0 0 3px; font-size: .78rem; }
body.game-on .race-dock .race { height: 34px; margin: 2px 4px 4px; }
body.game-on .race-dock .race .race-cart { font-size: 1.8rem; } body.game-on .race-dock .race .race-flag { font-size: 1.5rem; }
body.game-on .race-dock .race.stones.trail, body.game-on .race-dock .lane { zoom: .72; margin: 2px 0 6px; }
body.game-on .race-dock .game-extra { margin: 0 0 5px; min-height: 22px; }
body.game-on .race-dock .game-extra.planets { gap: 7px; }
body.game-on .race-dock .gauge { height: 10px; margin: 2px 6px 5px; }
body.game-on .race-dock .bp { margin: 0 0 4px; }
body.game-on .race-dock .bp svg { height: 66px; width: auto; max-width: 100%; }
body.game-on .race-dock .bp-garden { font-size: 1.6rem; }
body.game-on .race-dock .spy-panel { margin: 0 0 4px; } body.game-on .race-dock .spy-panel .radar { width: 44px; height: 44px; }
body.game-on .race-dock .spy-msg { padding: 4px 10px; } body.game-on .race-dock .spy-msg small { font-size: .58rem; } body.game-on .race-dock .spy-msg b { font-size: .8rem; }
body.game-on .race-dock .scoreboard { margin-bottom: 3px; font-size: .78rem; }

/* The screens answer back: a job to do at 25/50/75%, and sparkles wherever a finger lands */
@keyframes ss-ms-badge-in { 0% { transform: scale(.2) rotate(-12deg); opacity: 0; } 70% { transform: scale(1.12) rotate(3deg); } 100% { transform: none; opacity: 1; } }
.ms-tap { position: absolute; left: 0; right: 0; bottom: 7%; z-index: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font: 700 1.3rem var(--font); text-align: center; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); pointer-events: none; animation: gi-tap-pulse 1s ease-in-out infinite; }
@keyframes gi-tap-pulse { 50% { scale: 1.07; } }
.ms-dots { display: flex; gap: 10px; }
.ms-dots i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; background: rgba(0, 0, 0, .25); transition: background .15s, scale .15s; }
.ms-dots i.on { background: #fde047; scale: 1.25; }
.ms-show.done .ms-scene { animation: tap-done .6s ease both; }
@keyframes tap-done { 40% { scale: 1.08; filter: brightness(1.35); } }
.ms-show { cursor: pointer; } .ms-run { pointer-events: none; }
.tap-pop { position: fixed; left: var(--x); top: var(--y); z-index: 3; margin: -1.1rem 0 0 -1.1rem; font-size: 2.2rem; font-style: normal; line-height: 1; pointer-events: none; animation: tap-pop .8s ease-out forwards; }
@keyframes tap-pop { 0% { scale: .3; opacity: 0; } 25% { scale: 1.2; opacity: 1; } 100% { translate: 0 -70px; scale: .9; opacity: 0; } }
.finale .fn-tap { position: absolute; bottom: 18px; left: 0; right: 0; width: fit-content; margin-inline: auto; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; color: #111; background: #ffd54a; font: 700 1rem var(--font); opacity: 1; z-index: 2; cursor: pointer; animation: ss-fn-in .4s ease 3.6s both; }
@media (prefers-reduced-motion: reduce) { .ms-tap, .tap-pop { animation-duration: .01s !important; } .tap-pop { display: none; } }

/* The offer to install */
.install-offer { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 80px); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: rise .35s var(--spring); }
.install-offer img { flex: none; border-radius: 10px; }
.install-offer .t { flex: 1; min-width: 0; } .install-offer b { display: block; } .install-offer small { display: block; color: var(--muted); font-size: .78rem; }
.install-offer .btn { flex: none; }

/* List icons, chosen in Settings: Auto (the usual) grows with the screen, Large is the full size, Medium is 75% of it */
:root[data-icons="auto"] .row .e { --ic: clamp(33px, 11.7vw, 52px); width: var(--ic); height: var(--ic); font-size: calc(var(--ic) * .66); border-radius: calc(var(--ic) * .32); }
:root[data-icons="medium"] .row .e { font-size: 1.36rem; width: 33px; height: 33px; border-radius: 11px; }
:root[data-icons="small"] .row .e { font-size: 1rem; width: 24px; height: 24px; border-radius: 8px; }
:root[data-icons="off"] .row .e, :root[data-icons="off"] body:not(.kid) .aisle-h .ae { display: none; }
.set-pick { display: grid; gap: 8px; padding: 10px 0; }
.set-pick + .set-pick { border-top: 1px solid var(--line); }
.set-pick b, .set-pick small { display: block; }
.set-pick small { color: var(--muted); }
.set-pick .seg { flex-wrap: wrap; }
.set-pick .seg button { flex: 1 1 auto; min-width: 0; padding: 0 6px; font-size: .9rem; }

/* Text size, chosen in Settings (the games always use normal) */
:root[data-text="large"] { font-size: 112.5%; }
:root[data-text="xlarge"] { font-size: 125%; }

/* The Clean theme, chosen in Settings: neutral colours, one muted green, plain type, flat buttons. The games switch back to Playful. */
:root[data-style="clean"] {
  --bg: #F6F7F6; --surface: #FFFFFF; --surface-2: #EEF1EF; --text: #1B2420; --muted: #5C6963; --line: #DFE4E1;
  --brand: #1F6F54; --brand-2: #1F6F54; --brand-strong: #185A44; --brand-ink: #FFFFFF; --brand-soft: #E1EFE9;
  --grad: linear-gradient(#1F6F54, #1F6F54); --grad-soft: linear-gradient(#E1EFE9, #EEF1EF); --btn-glow: 0 0 0 transparent;
  --ok: #1F8A63; --ok-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06); --shadow-lg: 0 12px 32px -12px rgba(20, 30, 25, .25);
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root[data-style="clean"]:not([data-theme="light"]) {
  --bg: #141716; --surface: #1C201E; --surface-2: #252A28; --text: #ECEFED; --muted: #A3ADA8; --line: #333A37;
  --brand: #5FC29E; --brand-2: #5FC29E; --brand-strong: #8FD8BD; --brand-ink: #0B1F18; --brand-soft: #1E3A30;
  --grad: linear-gradient(#5FC29E, #5FC29E); --grad-soft: linear-gradient(#1E3A30, #252A28); --btn-glow: 0 0 0 transparent;
  --ok: #4CC79A; --ok-ink: #06201A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 12px 32px -12px rgba(0, 0, 0, .7);
  }
}
:root[data-style="clean"][data-theme="dark"] {
  --bg: #141716; --surface: #1C201E; --surface-2: #252A28; --text: #ECEFED; --muted: #A3ADA8; --line: #333A37;
  --brand: #5FC29E; --brand-2: #5FC29E; --brand-strong: #8FD8BD; --brand-ink: #0B1F18; --brand-soft: #1E3A30;
  --grad: linear-gradient(#5FC29E, #5FC29E); --grad-soft: linear-gradient(#1E3A30, #252A28); --btn-glow: 0 0 0 transparent;
  --ok: #4CC79A; --ok-ink: #06201A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 12px 32px -12px rgba(0, 0, 0, .7);
}
:root[data-style="clean"] h1 { font-weight: 700; }
:root[data-style="clean"] .btn.primary { box-shadow: none; }
:root[data-style="clean"] .btn:not(.icon), :root[data-style="clean"] .btn.lg, :root[data-style="clean"] .tool { border-radius: 10px; }
:root[data-style="clean"] .seg { border-radius: 10px; }
:root[data-style="clean"] .seg button { border-radius: 8px; }
:root[data-style="clean"] .tool .ti, :root[data-style="clean"] .tool.alt .ti { border-radius: 8px; background: var(--brand-soft); color: var(--brand-strong); box-shadow: none; }

/* Clearing the trolley from the List tab */
.aisle-h .clear-ticked { margin-left: auto; padding: 4px 10px; font-size: .85rem; text-transform: none; letter-spacing: 0; }
.aisle-h .clear-ticked + .n { margin-left: 0; }

/* Prices, when they're switched on in Settings */
.price-bar { position: sticky; top: 58px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.price-bar span { display: grid; }
.price-bar small { color: var(--muted); font-size: .78rem; }
.price-bar b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.price-bar .price-gap { flex-basis: 100%; }
.price-tag { flex: none; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-2); color: var(--text); font: 600 .85rem var(--font); font-variant-numeric: tabular-nums; cursor: pointer; }
.price-tag.none { background: transparent; color: var(--muted); border-style: dashed; }

/* A line drawn through the name when it's ticked off */
.shop-row .nm { position: relative; }
.strike { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.strike path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: strike-in .38s ease-out forwards; }
@keyframes strike-in { to { stroke-dashoffset: 0; } }
.shop-row.striking-off .nm { color: var(--muted); transition: color .3s; }
.shop-row.striking-off .check { background: var(--ok); border-color: var(--ok); }
.shop-row.striking-off .check svg { opacity: 1; transform: scale(1); }

/* The how-to guide: the app dimmed, the real button lit up, and a small animation of the move */
.guide { position: fixed; inset: 0; z-index: 900; touch-action: manipulation; }
.guide.out { opacity: 0; transition: opacity .25s; }
.guide-hole { position: fixed; left: var(--x, 50%); top: var(--y, 50%); width: var(--w, 0); height: var(--h, 0); border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .72); transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; }
.guide-hole::after { content: ""; position: absolute; inset: 0; border: 3px solid #ffd54a; border-radius: inherit; animation: guide-ring 1.3s ease-in-out infinite; }
.guide-hole.none::after, .guide-finger { display: none; }
.guide-hole.tap .guide-finger { display: block; position: absolute; left: 50%; top: 50%; font-size: 2.1rem; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); animation: guide-tap 1.3s ease-in-out infinite; }
@keyframes guide-ring { 50% { box-shadow: 0 0 0 7px rgba(255, 213, 74, .35); } }
@keyframes guide-tap { 0%, 100% { transform: translate(-6px, 8px); } 45% { transform: translate(-6px, -2px) scale(.88); } }
.guide-card { position: fixed; left: 16px; right: 16px; margin-inline: auto; top: var(--top, 30%); max-width: 380px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; padding: 14px 16px 16px; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); transition: top .35s ease; }
.guide-top { display: flex; align-items: center; justify-content: space-between; min-height: 36px; color: var(--muted); font-size: .85rem; }
.guide-top .link { min-height: 36px; padding: 0 0 0 12px; font-size: .9rem; }
.guide-card img { display: block; margin: 0 auto 4px; }
.guide-card h2 { margin: 2px 0 4px; font-size: 1.2rem; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-card.tight .guide-demo { display: none; }
.guide-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.guide-demo { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); overflow: hidden; font-size: .95rem; }
.gd-row { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border-radius: 10px; background: var(--surface); }
.gd-row small { margin-left: auto; color: var(--muted); }
.gd-box { display: flex; align-items: center; min-height: 38px; margin-bottom: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.gd-type { display: inline-block; overflow: hidden; white-space: nowrap; animation: gd-type 4s steps(6) infinite; }
.gd-caret { width: 2px; height: 1.1em; margin-left: 2px; background: var(--brand); animation: gd-blink .8s steps(2) infinite; }
@keyframes gd-type { 0% { width: 0; } 35%, 100% { width: 3.1em; } }
@keyframes gd-blink { 50% { opacity: 0; } }
.gd-pop { animation: gd-pop 4s ease infinite; }
@keyframes gd-pop { 0%, 40% { opacity: 0; transform: translateY(-8px); } 50%, 100% { opacity: 1; transform: none; } }
.gd-swipe { position: relative; min-height: 38px; border-radius: 10px; background: var(--brand-soft); overflow: hidden; }
.gd-under { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--brand-strong); font-size: .85rem; font-weight: 700; }
.gd-slide { position: relative; animation: gd-slide 3.6s ease-in-out infinite; }
@keyframes gd-slide { 0%, 20% { transform: none; } 50%, 75% { transform: translateX(-100%); } 90%, 100% { transform: none; } }
.gd-swipe .gd-finger { position: absolute; left: 70%; top: 4px; font-size: 1.6rem; line-height: 1; animation: gd-finger 3.6s ease-in-out infinite; }
@keyframes gd-finger { 0%, 20% { transform: none; opacity: 1; } 50% { transform: translateX(-150px); opacity: 1; } 55%, 100% { opacity: 0; transform: translateX(-150px); } }
.gd-list { display: grid; gap: 6px; }
.gd-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 50%; color: transparent; font-size: .8rem; font-style: normal; }
.gd-first .gd-check { animation: gd-check 4.4s linear infinite; }
@keyframes gd-check { 0%, 14% { background: transparent; border-color: var(--line); color: transparent; } 16%, 96% { background: var(--ok); border-color: var(--ok); color: var(--ok-ink); } 100% { background: transparent; border-color: var(--line); color: transparent; } }
.gd-nm { position: relative; display: inline-block; }
.gd-nm b { font-weight: 600; }
.gd-first .gd-nm b { animation: gd-cross 4.4s linear infinite; }
@keyframes gd-cross { 0%, 52% { text-decoration: none; color: inherit; } 54%, 96% { text-decoration: line-through; color: var(--muted); } }
.gd-strike { position: absolute; left: -3px; top: 54%; transform: translateY(-50%); overflow: visible; }
.gd-strike path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; animation: gd-strike 4.4s linear infinite; }
@keyframes gd-strike { 0%, 16% { stroke-dashoffset: 1; opacity: 1; } 34%, 50% { stroke-dashoffset: 0; opacity: 1; } 52%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.gd-first { animation: gd-down 4.4s ease infinite; }
.gd-second { animation: gd-up 4.4s ease infinite; }
@keyframes gd-down { 0%, 50% { transform: none; } 60%, 96% { transform: translateY(calc(100% + 6px)); } 100% { transform: none; } }
@keyframes gd-up { 0%, 50% { transform: none; } 60%, 96% { transform: translateY(calc(-100% - 6px)); } 100% { transform: none; } }
.gd-live { position: relative; display: grid; gap: 6px; }
.gd-alert { position: absolute; left: 0; right: 0; width: fit-content; margin-inline: auto; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border: 1.5px solid var(--brand); border-radius: 99px; background: var(--brand-soft); box-shadow: var(--shadow-lg); white-space: nowrap; animation: gd-alert 4.4s ease infinite; }
.gd-alert b { color: var(--brand-strong); }
.gd-alert small { color: var(--muted); }
.gd-arrive { animation: gd-arrive 4.4s ease infinite; }
@keyframes gd-alert { 0%, 8% { opacity: 0; transform: translateY(-10px) scale(.85); } 16%, 56% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(44px) scale(.6); } }
@keyframes gd-arrive { 0%, 62% { opacity: 0; } 70%, 100% { opacity: 1; } }
.gd-finish { position: relative; display: grid; place-items: center; min-height: 42px; border-radius: 10px; background: var(--grad); color: var(--brand-ink); font-weight: 700; animation: gd-press 1.6s ease-in-out infinite; }
.gd-finish .gd-finger { position: absolute; right: 22%; top: 16px; font-size: 1.5rem; line-height: 1; }
@keyframes gd-press { 50% { transform: scale(.97); } }
.gd-games { display: flex; justify-content: space-around; font-size: 1.7rem; line-height: 1.3; }
.gd-games span { animation: gd-bounce 1.5s ease-in-out infinite; }
.gd-games span:nth-child(2) { animation-delay: .15s; } .gd-games span:nth-child(3) { animation-delay: .3s; } .gd-games span:nth-child(4) { animation-delay: .45s; } .gd-games span:nth-child(5) { animation-delay: .6s; }
@keyframes gd-bounce { 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .guide-hole, .guide-card { transition: none; }
  .guide *, .guide *::after { animation: none !important; }
  .gd-pop { opacity: 1; }
  .gd-alert { display: none; }
  .gd-strike { display: none; }
}

/* A long name or a big price wraps instead of squeezing the row or pushing a sheet's close button off screen */
.shop-row { flex-wrap: wrap; }
.shop-row .t { flex: 1 1 6em; }
.sheet-head > :first-child { min-width: 0; overflow-wrap: anywhere; }
.sheet-head .btn { flex: none; }

/* Scenes matched to what the games say */
.pirate-map { display: block; width: 100%; height: auto; stroke: none; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); transform: rotate(-2deg); }
.pm-ink { filter: sepia(.85) saturate(.75) contrast(1.05); }
.pm-new { animation: pm-new 1.1s ease-out 3 both; }
@keyframes pm-new { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: .15; } }
.sx-rivals { left: 0; top: 62%; font-size: 2.6rem; line-height: 1; white-space: nowrap; animation: sx-rivals 3.2s ease-in-out both; }
@keyframes sx-rivals { from { transform: translateX(-120%); } to { transform: translateX(46vw); } }
.fs-map { position: absolute; left: 12px; top: max(12px, env(safe-area-inset-top)); width: min(30vw, 130px); z-index: 1; animation: sx-grow .6s cubic-bezier(.3, 1.5, .5, 1) 1.4s both; }
.sx-gauge { left: 50%; top: 28%; width: min(240px, 62vw); height: 22px; margin-left: calc(min(240px, 62vw) / -2); border: 3px solid #fff; border-radius: 99px; overflow: hidden; background: rgba(0, 0, 0, .35); }
.sx-gauge i { display: block; width: 25%; height: 100%; background: #22d3ee; animation: sx-fill 1s ease-out both; transform-origin: left; }
@keyframes sx-fill { from { transform: scaleX(0); } }
.sx-cheer { left: 0; right: 0; top: 22%; display: flex; justify-content: space-around; font-size: 2.4rem; }
.sx-cheer i { animation: sx-hop .3s ease-in-out infinite alternate; }
.sx-cheer i:nth-child(2n) { animation-delay: .15s; }
.sx-carriage { left: 0; right: 0; top: 62%; display: flex; justify-content: center; gap: 4px; font-size: 3.4rem; }
.sx-chips { left: 50%; top: 62%; margin-left: -.5em; font-size: 4rem; line-height: 1; animation: sx-wobble .3s ease-in-out infinite alternate; }
.gi-sleeper { position: absolute; left: 44%; bottom: 30vh; font-size: 2.6rem; line-height: 1; }
.gi-sleeper small { position: absolute; left: 80%; top: -30%; font-size: 1.2rem; animation: gi-tap-pulse 1.6s ease-in-out infinite; }
.game-intro .gi-farm-stage .gi-ani { bottom: auto; top: 40vh; }
.gi-farm-stage::before { content: ""; position: absolute; inset: 0; background: rgba(30, 41, 59, .4); }
.gi-rain { position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 14px, rgba(255, 255, 255, .28) 14px 16px); background-size: 200px 200px; animation: gi-rain .5s linear infinite; }
@keyframes gi-rain { to { background-position: -40px 120px; } }
/* in space the rocket is stuck on the pad at the start: it shakes, and doesn't go anywhere yet */
.game-intro .gi-launch { animation: sx-wobble .25s ease-in-out infinite alternate; }
.game-intro .gi-launch::after { display: none; }
@media (prefers-reduced-motion: reduce) { .gi-rain, .pm-new, .sx-rivals, .sx-gauge i, .sx-cheer i, .sx-chips, .game-intro .gi-launch { animation: none; } .pm-new { opacity: .6; } }

/* In every game, what's already found steps back: grey and quiet, so the eye stays on what's left to find */
body.kid #shopBody .found-toggle { min-height: 40px; padding: 4px 14px; font-size: .85rem; font-weight: 600; background: rgba(120, 120, 120, .16); color: inherit; opacity: .72; box-shadow: none; }
body.kid #shopBody .found-toggle .fb-pics { filter: grayscale(1); opacity: .6; }
body.kid #shopBody .tile.done { opacity: .5; filter: grayscale(1); background: rgba(120, 120, 120, .14); border-color: transparent; box-shadow: none; min-height: 0; padding-block: 6px; font-size: .8rem; font-weight: 500; }
body.kid #shopBody .tile.done .e { width: 40px; height: 40px; font-size: 1.6rem; background: rgba(120, 120, 120, .14); }
body.kid #shopBody .tile.done::after { top: 4px; left: 4px; width: 20px; height: 20px; font-size: .7rem; }
/* Next time: rolled up at the very bottom, greyer still, with a dashed edge so it reads as "not today" */
body.kid #shopBody .later-bar .found-toggle { opacity: .6; border: 2px dashed rgba(160, 160, 160, .45); }
body.kid #shopBody .later-note { margin: 8px 4px 0; font-size: .8rem; opacity: .65; }
body.kid #shopBody .tile.later { opacity: .42; filter: grayscale(1); background: rgba(120, 120, 120, .12); border: 2px dashed rgba(160, 160, 160, .45); box-shadow: none; min-height: 0; padding-block: 6px; font-size: .8rem; font-weight: 500; }
body.kid #shopBody .tile.later .e { width: 40px; height: 40px; font-size: 1.6rem; background: rgba(120, 120, 120, .14); }

/* Browsers without color-mix (Safari before 16.2, Samsung Internet before 22): the same rules with the nearest plain colour,
   so bars and tiles don't go see-through. Add to this when a new rule uses color-mix. */
@supports not (background: color-mix(in srgb, red, blue)) {
  :focus-visible { outline: 3px solid var(--brand); }
  textarea:focus, input:focus, select:focus { box-shadow: 0 0 0 4px transparent; }
  .switch input:focus-visible + span { outline: 3px solid transparent; }
  .welcome { background: radial-gradient(900px 480px at 50% -12%, transparent, transparent 70%), radial-gradient(600px 400px at 100% 100%, transparent, transparent 70%), var(--bg); }
  .topbar { background: var(--bg); }
  .sync::before { box-shadow: 0 0 0 3px transparent; }
  .tabbar { background: var(--surface); }
  .tab[aria-selected="true"] svg { fill: transparent; }
  .aisle-switch[aria-pressed="true"] { background: transparent; }
  @media (min-width: 900px) { .tabbar { background: var(--bg); } }
  .chip.due { border-color: var(--line); }
  .row:hover { background: transparent; }
  .row .e { background: var(--surface); }
  .aisle-h .ae { background: var(--surface); }
  .tile .e { background: var(--surface); }
  .tile.done { background: var(--surface); box-shadow: 0 4px 0 var(--ok); }
  .at-shop { background: var(--surface); border: 1.5px solid transparent; }
  .add-input .mic { background: transparent; }
  .fam-av { background: var(--surface); }
  .av-pick[aria-checked="true"] { background: var(--surface-2); }
  .skel i { background: linear-gradient(90deg, var(--line) 0%, var(--surface) 50%, var(--line) 100%); }
  .invite-code { border: 1.5px dashed transparent; }
  .aisle-order .e { background: var(--surface); }
  .scan-list li.unsure input.nm { background: var(--surface); }
  .trial-bar { background: var(--surface); border-bottom: 1px solid transparent; }
  .trial-card { border: 2px solid transparent; }
  .after-nudge { background: var(--surface); }
  body.game-on #shopBody .tile .e { background: var(--tile-pic, var(--surface)); }
  body.game-on #shopBody .tile.done { background: var(--tile-bg-solid, var(--surface)); box-shadow: 0 4px 0 var(--ok); }
  #listBody .row.swipe-far { background: var(--surface); }
}


/* Little Vet and Digger Crew */
body.game-on.game-vet { --tile-bg: linear-gradient(180deg, #f0fdfa, #ccfbf1); --tile-bg-solid: #f0fdfa; --tile-line: #14b8a6; --tile-edge: #0f766e; --tile-ink: #134e4a; --tile-pic: #fff; --game-ink: #134e4a; background: var(--scene-vet) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%) fixed !important; }
body.game-vet { --dock-bg: rgba(15, 118, 110, .92); --dock-ink: #f0fdfa; --finish-bg: #fda4af; --finish-ink: #4c0519; }
body.game-on.game-vet .race-dock { background: linear-gradient(180deg, #14b8a6, #0f766e); border: 3px solid #0f766e; border-top: 0; }
body.game-vet .race-track { background: rgba(255,255,255,.3); } body.game-vet .race-fill { background: linear-gradient(90deg, #fda4af, #14b8a6); }
.game-vet .game-hud { background: linear-gradient(180deg, #14b8a6, #0f766e); color: #f0fdfa; border-bottom: 3px solid #fda4af; }
.game-vet :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #f0fdfa; } .game-vet .hud-add { background: #fda4af; color: #4c0519; }
.zoom-vet .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-vet) center bottom / 100% auto no-repeat, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); } .zoom-vet .ms-badge b { color: #fda4af; }
.finale-vet { background: var(--scene-vet) center bottom / 100% auto no-repeat, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); color: #134e4a; } .finale-vet .fn-head { color: #fda4af; text-shadow: -2px -2px 0 #0f766e, 2px -2px 0 #0f766e, -2px 2px 0 #0f766e, 2px 2px 0 #0f766e, 0 5px 0 #0f766e; } .finale-vet .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-vet { background: linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); color: #134e4a; } .gi-vet-stage { background: var(--scene-vet) center bottom / 100% auto no-repeat, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); }
.enter-vet .en-door { background: linear-gradient(180deg, #14b8a6, #0f766e); border-inline: 8px solid #fda4af; }
body.game-on.game-digger { --tile-bg: linear-gradient(180deg, #fefce8, #fef08a); --tile-bg-solid: #fefce8; --tile-line: #ca8a04; --tile-edge: #854d0e; --tile-ink: #422006; --tile-pic: #fff; --game-ink: #422006; background: var(--scene-digger) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%) fixed !important; }
body.game-digger { --dock-bg: rgba(66, 32, 6, .92); --dock-ink: #fef9c3; --finish-bg: #1c1917; --finish-ink: #fde047; }
body.game-on.game-digger .race-dock { background: linear-gradient(180deg, #eab308, #a16207); border: 3px solid #854d0e; border-top: 0; }
body.game-digger .race-track { background: rgba(255,255,255,.3); } body.game-digger .race-fill { background: linear-gradient(90deg, #1c1917, #ca8a04); }
.game-digger .game-hud { background: linear-gradient(180deg, #eab308, #a16207); color: #1c1917; border-bottom: 3px solid #1c1917; }
.game-digger :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #1c1917; } .game-digger .hud-add { background: #1c1917; color: #fde047; }
.zoom-digger .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-digger) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); } .zoom-digger .ms-badge b { color: #1c1917; }
.finale-digger { background: var(--scene-digger) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); color: #422006; } .finale-digger .fn-head { color: #1c1917; text-shadow: -2px -2px 0 #854d0e, 2px -2px 0 #854d0e, -2px 2px 0 #854d0e, 2px 2px 0 #854d0e, 0 5px 0 #854d0e; } .finale-digger .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-digger { background: linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); color: #422006; } .gi-digger-stage { background: var(--scene-digger) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); }
.enter-digger .en-door { background: linear-gradient(180deg, #eab308, #a16207); border-inline: 8px solid #1c1917; }
:root { --scene-vet: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cpath d=%22M0 246 Q120 226 260 244 T400 240 V300 H0Z%22 fill=%22%2386efac%22/%3E %3Crect x=%22120%22 y=%22120%22 width=%22210%22 height=%22128%22 fill=%22%23f8fafc%22 stroke=%22%2394a3b8%22 stroke-width=%223%22/%3E%3Crect x=%22120%22 y=%22108%22 width=%22210%22 height=%2216%22 fill=%22%230f766e%22/%3E%3Cg fill=%22%23ef4444%22%3E%3Crect x=%22214%22 y=%2254%22 width=%2222%22 height=%2254%22/%3E%3Crect x=%22198%22 y=%2270%22 width=%2254%22 height=%2222%22/%3E%3C/g%3E %3Cg fill=%22%23bae6fd%22 stroke=%22%2364748b%22 stroke-width=%222%22%3E%3Crect x=%22140%22 y=%22142%22 width=%2236%22 height=%2230%22/%3E%3Crect x=%22274%22 y=%22142%22 width=%2236%22 height=%2230%22/%3E%3C/g%3E%3Crect x=%22204%22 y=%22176%22 width=%2242%22 height=%2272%22 fill=%22%230f766e%22/%3E%3Ccircle cx=%22238%22 cy=%22214%22 r=%223%22 fill=%22%23fde047%22/%3E%3C/svg%3E"); --scene-digger: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22340%22 cy=%2260%22 r=%2228%22 fill=%22%23fde047%22/%3E%3Cpath d=%22M0 232 Q130 196 270 228 T400 222 V300 H0Z%22 fill=%22%23b45309%22/%3E%3Cpath d=%22M0 262 Q150 240 290 260 T400 256 V300 H0Z%22 fill=%22%2392400e%22/%3E %3Cpath d=%22M40 232 L78 176 L116 232Z%22 fill=%22%23a16207%22/%3E%3Cg fill=%22%23f97316%22%3E%3Cpolygon points=%22300,234 312,196 324,234%22/%3E%3Cpolygon points=%22340,238 352,200 364,238%22/%3E%3C/g%3E%3Cg fill=%22%23fff%22%3E%3Crect x=%22306%22 y=%22214%22 width=%2212%22 height=%225%22/%3E%3Crect x=%22346%22 y=%22218%22 width=%2212%22 height=%225%22/%3E%3C/g%3E%3C/svg%3E"); }
.intro-vet .gi-name { color: #fff; --edge: #0f766e; }
.intro-digger .gi-name { color: #fde047; --edge: #422006; }
.digger-art { display: block; width: 100%; height: auto; stroke: none; }
.gi-tractor .digger-art { width: 1.5em; }
.gi-ani small { position: absolute; right: -6px; bottom: -2px; font-size: .55em; }
.sx-patch { left: 56%; top: 52%; font-size: 3rem; line-height: 1; animation: sx-grow .5s cubic-bezier(.3, 1.8, .5, 1) .5s both; }
.sx-steth { left: 50%; top: 28%; margin-left: -.5em; font-size: 4rem; line-height: 1; animation: sx-wobble .4s ease-in-out infinite alternate; }
.sx-digging { left: 6%; bottom: 62%; width: min(150px, 40vw); animation: sx-wobble .3s ease-in-out infinite alternate; }
.bp-super svg.pg { max-width: 320px; }
.sx-hall { top: 26%; width: min(320px, 86vw); margin-left: calc(min(320px, 86vw) / -2); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 22px rgba(0, 0, 0, .45); }

/* The start screen's way back to the games */
.game-intro:not(.game-picker) .gi-back { position: absolute; z-index: 3; left: 12px; top: max(12px, env(safe-area-inset-top)); min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; font: 700 .9rem var(--font); cursor: pointer; }
.installed-tick { color: var(--ok); white-space: nowrap; }

/* Who's playing: the kids' cards centred, and the grown-ups' buttons tucked underneath */
.who-picker .who-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 420px; margin-inline: auto; }
.who-picker .who-card { flex: 0 1 calc((100% - 20px) / 3); max-width: 130px; }
.who-picker > .who-tip, .who-picker > .gi-name { text-align: center; }
.who-tools { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; width: 100%; max-width: 420px; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); }
.who-tools button { min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 600 .85rem var(--font); cursor: pointer; }
.who-mini { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--surface-2); }
.pirate-ship { display: inline-block; vertical-align: -.12em; stroke: none; overflow: visible; }
.sx-rivals .pirate-ship { font-size: 3.4rem; }
.pirate-ship { width: 1em; height: 1em; stroke: none; }
/* the large size: the picture fills more of its tile, so it reads at a glance */
:root[data-icons="large"] .row .e { font-size: 1.8rem; }

/* a reward a kid has earned, waiting for a grown-up to give it (top of Household) */
.card.reward-due { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.card.reward-due p { margin: 0; }
.card.reward-due .btn { flex: none; white-space: nowrap; }

/* Pictures sheet: a search box above the aisle chips */
.browse-search { width: 100%; min-height: 44px; margin-bottom: 8px; padding: 8px 14px; border-radius: 12px; border: 2px solid var(--line, #ddd);
  font: inherit; background: var(--card, #fff); color: inherit; }
.browse .tile.typed .e { font-weight: 700; }

/* ---- a phone held sideways: the story on the left, the pictures on the right ---- */
.kid-split, .kid-story, .kid-finds { display: contents; }
.story-hero, .story-rocket { display: none; }
.hud-swap { display: none; }
@media (orientation: landscape) and (max-height: 560px) {
  body.game-on main { max-width: none; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 16px calc(70px + env(safe-area-inset-left)); }
  body.game-on.hud-away main { padding-top: max(8px, env(safe-area-inset-top)); }
  /* the game bar becomes a rail down the left edge */
  .game-hud { right: auto; bottom: 0; width: calc(62px + env(safe-area-inset-left)); flex-direction: column; justify-content: flex-start; gap: 10px;
    padding: max(10px, env(safe-area-inset-top)) 6px 10px calc(6px + env(safe-area-inset-left)); }
  body.hud-away .game-hud { transform: none; }
  .hud-title { display: none; }
  .hud-btn { width: 50px; min-height: 50px; padding: 0; display: grid; place-items: center; font-size: 1.15rem; }
  .hud-btn span, .hud-add { font-size: 0; }
  .hud-add::before { content: "＋"; font-size: 1.4rem; }
  .hud-exit { font-size: 1.2rem; }
  .hud-swap { display: grid; margin-top: auto; font-size: 1.3rem; }
  /* swapped: the pictures on the left, the story on the right (for a left thumb) */
  body.game-on.story-right .kid-split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  body.game-on.story-right .kid-story { order: 2; }
  body.game-on.story-right #finishBar, body.game-on.story-right #finishBar.all-done { left: auto; right: max(12px, env(safe-area-inset-right)); }

  body.game-on .kid-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; align-items: start; }
  body.game-on .kid-story { position: sticky; top: max(8px, env(safe-area-inset-top)); z-index: 30;
    height: calc(100vh - 16px - env(safe-area-inset-top)); height: calc(100dvh - 16px - env(safe-area-inset-top)); }
  body.game-on .kid-finds { display: block; min-width: 0; }
  body.game-on .kid-story { display: flex; flex-direction: column; gap: 8px; }
  body.game-on .kid-story .race-dock { flex: 1; min-height: 0; }
  body.game-on .kid-story .kid-banner { flex: none; margin: 0; padding: 8px 10px; border-radius: 18px; }
  body.game-on .kid-story .kid-banner h2 { font-size: 1rem; margin: 0 0 6px; }
  /* while the "who's helping?" box is showing, the panel below it goes compact */
  body.game-on .kid-story:has(.kid-banner) .story-hero { display: none; }
  body.game-on.game-spy .kid-story:has(.kid-banner) .radar { width: 64px; height: 64px; }
  body.game-on.game-space .kid-story:has(.kid-banner) .pl { width: 16px; height: 16px; }
  body.game-on.game-space .kid-story:has(.kid-banner) .stp { font-size: 1.2rem; }
  body.game-on.game-space .kid-story:has(.kid-banner) .story-rocket { font-size: 1.3rem; }
  body.game-on .kid-story .race-dock { position: static; margin: 0; height: 100%; overflow: hidden auto; border-radius: 22px;
    display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 14px; }
  body.game-on .kid-story .race-dock .race-text { font-size: 1.25rem; }
  body.game-on .kid-story .race-dock .who-row { justify-content: center; }
  body.game-on .kid-story .story-hero { display: block; text-align: center; font-size: 3.6rem; line-height: 1.1; animation: ss-ms-bob 1.6s ease-in-out infinite; }
  body.game-on #shopBody .kid-finds .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
  body.game-on #shopBody .kid-finds .aisle:first-child { margin-top: 0; }
  /* the grown-ups' finish button sits at the foot of the story panel, away from the pictures kids are tapping */
  body.game-on #finishBar, body.game-on #finishBar.all-done { left: calc(70px + env(safe-area-inset-left)); right: auto; padding: 0 10px;
    width: calc((100vw - 70px - env(safe-area-inset-left) - max(12px, env(safe-area-inset-right)) - 14px) / 3); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 35; }
  body.game-on #finishBar .finish-btn { width: 100%; padding-inline: 10px; font-size: .9rem; }
  body.game-on:has(#finishBar:not([hidden])) .kid-story .race-dock { padding-bottom: 62px; }
  body.game-on .kid-story .race-dock { scrollbar-width: none; }

  /* Space: the planets climb the side of the panel, the Sun at the bottom and the Checkout Station at the top,
     with the rocket between the last planet reached and the next one */
  body.game-on.game-space .kid-story .race-dock { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: 1fr repeat(3, auto) 1fr; column-gap: 8px; row-gap: 4px; }
  body.game-on.game-space .kid-story .race-dock > * { grid-column: 2; }
  body.game-on.game-space .kid-story .race-dock > .who-row { grid-row: 2; } body.game-on.game-space .kid-story .race-dock > .race-text { grid-row: 3; }
  body.game-on.game-space .kid-story .race-dock > .race-sub { grid-row: 4; }
  body.game-on.game-space .kid-story .race-dock > .game-extra.planets { grid-column: 1; grid-row: 1 / 6; align-self: center; margin: 0;
    display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; }
  body.game-on.game-space .kid-story .pl { width: 22px; height: 22px; }
  body.game-on.game-space .kid-story .pl.next { box-shadow: 0 0 0 3px rgba(165, 243, 252, .55); }
  body.game-on.game-space .kid-story .stp { font-size: 1.7rem; line-height: 1; }
  body.game-on.game-space .kid-story .story-rocket { display: block; font-size: 1.9rem; line-height: 1; rotate: -45deg; animation: ss-ms-bob 1.4s ease-in-out infinite; }
  body.game-on.game-space .kid-story .gauge { display: none; }
  body.game-on.game-space .kid-story .race-text { font-size: 1.15rem; text-align: left; }
  body.game-on.game-space .kid-story :is(.race-sub, .who-row) { text-align: left; justify-content: flex-start; }
  /* Spy: the radar and the coded message fill the panel */
  body.game-on.game-spy .kid-story .radar { width: 88px; height: 88px; }
  body.game-on.game-spy .kid-story .story-hero { font-size: 2.2rem; }
  body.game-on.game-spy .kid-story .spy-panel { margin: 6px 0 0; gap: 8px; align-items: center; }
  body.game-on.game-spy .kid-story .spy-msg { min-width: 0; font-size: .8rem; }
  @media (max-height: 400px) {   /* an iPhone SE or similar on its side */
    body.game-on.game-spy .kid-story .radar { width: 66px; height: 66px; }
    body.game-on.game-spy .kid-story .story-hero { font-size: 1.8rem; }
  }
  /* Dino: the stepping-stone trail sits in the middle of the panel */
  body.game-on.game-dino .kid-story .race.stones.trail { margin: 10px 0 4px; }

  /* the checkout and the finale: the picture on the left, the words and buttons on the right */
  .finale { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr repeat(4, auto) 1fr; column-gap: 24px; padding: 12px 24px 56px; }
  .finale > :is(.fn-scene, .co-route) { grid-column: 1; grid-row: 1 / -1; align-self: center; }
  .finale > .fn-hero { grid-column: 1; grid-row: 4 / -1; align-self: start; }
  .finale > .fn-head { grid-column: 2; grid-row: 2; } .finale > .fn-sub { grid-column: 2; grid-row: 3; }
  .finale > .fn-score { grid-column: 2; grid-row: 4; } .finale > :is(.co-actions, .fn-tap) { grid-column: 2; grid-row: 5; }
  .finale .fn-scene { font-size: 5rem; }
  .finale > .co-route { justify-self: center; margin: 0; scale: 1.2; max-width: 100%; }
  body.game-on .kid-story .story-rocket { margin: 3px 0; }
  .finale .fn-head { margin-top: 0; font-size: 1.8rem; }
  .finale .co-actions { margin-top: 12px; }
  .finale .fn-parade { bottom: 8px; font-size: 1.5rem; }
  /* the intro and the game picker: shorter, so they fit sideways */
  .game-intro { overflow-y: auto; }
  /* five games to a row, so all 15 fit on a sideways screen with little or no scrolling */
  .game-picker .gi-name { font-size: 1.5rem; margin-bottom: 6px; }
  .game-picker .gp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 760px; }
  .game-picker .gp-card { min-height: 0; padding: 6px 4px; gap: 2px; font-size: .8rem; }
  .game-picker .gp-card .gp-ico { font-size: 2rem; }
}

/* never pop the install offer up over a game */
body.game-on .install-offer { display: none; }

/* ---- the phone keyboard is up: sheets sit on top of it, never under it ---- */
body.kb-up .sheet { margin-bottom: var(--kb, 0px); max-height: calc(var(--vvh, 100dvh) - 10px); border-radius: 22px 22px 0 0; }
body.kb-up .sheet[open] { animation: none; }
body.kb-up .sheet-body { padding-bottom: 14px; }
body.kb-up .suggest { max-height: calc(var(--vvh, 60vh) * .45); overflow-y: auto; }
body.kb-up main { padding-bottom: calc(var(--kb, 0px) + 40px); }

/* the terms and privacy line under the sign-in buttons */
.legal-line a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================ the hopscotch in Shopscotch */
.sq-c0 { --sq: #ff6f61; --sq-ink: #fff; } .sq-c1 { --sq: #f5b700; --sq-ink: #1f2a44; } .sq-c2 { --sq: #22c38e; --sq-ink: #1f2a44; }
.sq-c3 { --sq: #2a7de9; --sq-ink: #fff; } .sq-c4 { --sq: #8b5cf6; --sq-ink: #fff; }
/* the shop's progress: squares 1 to 8, then HOME, and Hop on the square you've reached */
#shopProgress.hop-course { margin: 46px 0 16px; }
.hc { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; height: 46px; }
.hc .pair { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.hc .sq { display: grid; place-items: center; border-radius: 8px; font: 700 .72rem/1 var(--font); color: var(--muted);
  border: 2px dashed color-mix(in srgb, var(--muted) 50%, transparent); transition: background .3s, color .3s, border-color .3s; }
.hc .sq.on { background: var(--sq); border: 2px solid var(--sq); color: var(--sq-ink); }
.hc .home { display: grid; place-items: center; border-radius: 22px 22px 10px 10px; font: 800 .7rem/1 var(--font); letter-spacing: .06em;
  color: var(--muted); border: 2px dashed color-mix(in srgb, var(--muted) 50%, transparent); }
.hc.home-in .home { background: #f2545b; border: 2px solid #f2545b; color: #fff; animation: hc-glow 1.6s ease-in-out infinite; }
.hc-hop { position: absolute; bottom: 44px; width: 44px; transform: translateX(-50%); pointer-events: none; }
.hc-hop .hop-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .18)); }
.hc-hop.jump .hop-img { animation: hc-jump .55s cubic-bezier(.3, .7, .4, 1); }
@keyframes hc-jump { 0% { transform: translate(-60%, 4px) scale(1.05, .9); } 45% { transform: translate(-20%, -22px) rotate(-6deg); } 80% { transform: translate(0, 2px) scale(1.06, .92); } 100% { transform: none; } }
@keyframes hc-glow { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, #f2545b 25%, transparent); } }
.next-hop { display: block; margin-top: 2px; font-size: .82rem; font-weight: 600; color: var(--brand, #2a7de9); }
/* aisles are numbered squares in the shop */
.sqn { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 7px; background: var(--sq); color: var(--sq-ink);
  font: 700 .8rem/1 var(--font); transform: rotate(-3deg); flex: none; }
/* Hop in place of an emoji: the empty list, an empty shop, and HOME at the end */
.empty .big.hop-big { background: var(--grad-soft); }
.empty .big.hop-big .hop-img { width: 78px; height: auto; }
.empty .big.hop-big.home { box-shadow: inset 0 -10px 0 #f2545b; }
/* loading: Hop hops along three squares while they light up in turn */
.hop-load { position: relative; display: flex; justify-content: center; gap: 8px; padding: 46px 0 22px; }
.hop-load span { width: 34px; height: 30px; border-radius: 8px; border: 2px dashed color-mix(in srgb, var(--muted) 50%, transparent); animation: hl-sq 1.5s infinite; }
.hop-load span:nth-child(2) { animation-delay: .5s; } .hop-load span:nth-child(3) { animation-delay: 1s; }
.hop-load .hop-img { position: absolute; top: 4px; left: calc(50% - 63px); width: 42px; animation: hl-hop 1.5s infinite; }
@keyframes hl-sq { 0%, 30% { background: #ff6f61; border-color: #ff6f61; } 34%, 100% { background: transparent; } }
@keyframes hl-hop { 0% { transform: translateX(0); } 16% { transform: translate(21px, -14px); } 33% { transform: translateX(42px); } 49% { transform: translate(63px, -14px); }
  66% { transform: translateX(84px); } 82% { transform: translate(42px, -18px); } 100% { transform: translateX(0); } }
/* offline: Hop sits it out until the signal's back */
.sync.offline::before { width: 18px; height: 12px; border-radius: 0; background: url("/static/hop.svg") center / contain no-repeat; }
/* ticking off: the box is a chalk square that hops and puffs chalk dust */
.shop-row .check { border-radius: 9px; transform: rotate(-2deg); }
.shop-row.done .check { transform: rotate(-2deg) scale(1.06); }
.shop-row.hop-tick .check { position: relative; animation: tick-hop .5s cubic-bezier(.3, 1.6, .5, 1); }
.shop-row.hop-tick .check::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 2px, transparent 3px) 0 0 / 12px 12px; animation: tick-dust .6s ease-out forwards; }
@keyframes tick-hop { 0% { transform: rotate(-2deg) scale(.9); } 40% { transform: translateY(-7px) rotate(4deg) scale(1.15); } 100% { transform: rotate(-2deg) scale(1.06); } }
@keyframes tick-dust { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
/* the invite code in hopscotch squares */
.invite-code { display: flex; justify-content: center; align-items: center; gap: 4px; letter-spacing: 0; padding: 16px 6px; }
.invite-code .cs { display: grid; place-items: center; width: 28px; height: 36px; border-radius: 8px; background: var(--sq); color: var(--sq-ink); font-size: 1.15rem; flex: none; }
.invite-code .cs:nth-child(odd) { transform: rotate(-3deg); } .invite-code .cs:nth-child(even) { transform: rotate(2deg); }
.invite-code .cs-dash { color: var(--muted); padding: 0 2px; }
/* chalk on the playground: counts in chalk squares */
.aisle-h .n { margin-left: auto; font-weight: 700; letter-spacing: 0; }
.rows { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.row { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; min-height: 64px; cursor: pointer; transition: background .15s; }
.row + .row { border-top: 1px solid var(--line); }
.row:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.row .e { font-size: 1.55rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; flex: none;
  background: color-mix(in srgb, var(--t, #999) 15%, var(--surface)); }
.row .t { flex: 1; min-width: 0; }
.row .nm { font-weight: 650; display: block; overflow-wrap: anywhere; }
.row .sub { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .84rem; }
.who { display: inline-flex; align-items: center; gap: 4px; }
.who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.stepper { display: flex; align-items: center; background: var(--surface-2); border-radius: 13px; flex: none; }
.stepper button { width: 36px; height: 38px; border: 0; background: none; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--brand-strong); transition: transform .2s var(--spring), background .15s; }
.stepper button:hover { background: var(--brand-soft); }
.stepper button:active { transform: scale(.85); }
.stepper svg { width: 16px; height: 16px; stroke-width: 2.6; }
.stepper b { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.stepper b.bump { animation: bump .3s var(--spring); }
@keyframes bump { 40% { transform: scale(1.35); color: var(--brand-strong); } }

/* each aisle's own tint behind the item pictures */
[data-a="produce"] { --t: #22C55E; } [data-a="bakery"] { --t: #D97706; } [data-a="meat"] { --t: #EF4444; } [data-a="dairy"] { --t: #3B82F6; }
[data-a="pantry"] { --t: #A16207; } [data-a="snacks"] { --t: #EC4899; } [data-a="drinks"] { --t: #8B5CF6; } [data-a="frozen"] { --t: #06B6D4; }
[data-a="household"] { --t: #64748B; } [data-a="personal"] { --t: #14B8A6; } [data-a="baby"] { --t: #F472B6; } [data-a="pets"] { --t: #B45309; } [data-a="other"] { --t: #94A3B8; }
.aisle-h .ae { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font-size: .85rem; background: color-mix(in srgb, var(--t, #999) 20%, var(--surface)); }

.trolley summary { list-style: none; cursor: pointer; }
.trolley summary::-webkit-details-marker { display: none; }
.trolley .row .nm { text-decoration: line-through; color: var(--muted); }

.empty { text-align: center; padding: 36px 16px; }
.empty .big { font-size: 3rem; line-height: 1; width: 96px; height: 96px; margin: 0 auto; display: grid; place-items: center; border-radius: 30px; background: var(--grad-soft); animation: float 4s ease-in-out infinite; }
.empty h2 { margin: 16px 0 6px; font-size: 1.25rem; }
.empty p { color: var(--muted); max-width: 32ch; margin: 0 auto 18px; }

.cta-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); z-index: 25;
  padding: 0 16px; max-width: 720px; margin: 0 auto; pointer-events: none; }
.cta-bar .btn { pointer-events: auto; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .28); animation: rise .35s var(--spring); }
.cta-bar .btn svg { width: 22px; height: 22px; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* ------------------------------------------------------------ shop tab */
.kid-toggle { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: .92rem; cursor: pointer; padding: 6px 8px 6px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.progress { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .5s var(--spring); }
.shop-row .check { width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid var(--line); display: grid; place-items: center; flex: none; transition: all .25s var(--spring); }
.shop-row .check svg { width: 18px; height: 18px; stroke-width: 3.2; opacity: 0; color: var(--ok-ink); transform: scale(.4); transition: all .25s var(--spring); }
.shop-row:hover .check { border-color: var(--ok); }
.shop-row.done .check { background: var(--ok); border-color: var(--ok); transform: scale(1.06); }
.shop-row.done .check svg { opacity: 1; transform: scale(1); }
.shop-row.done .nm { text-decoration: line-through; color: var(--muted); }
.shop-row.done .e { filter: saturate(.6); }
.shop-row { min-height: 66px; }
.qty-pill { font-weight: 800; font-size: .85rem; padding: 3px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-strong); flex: none; }

/* kid mode */
.kid-banner { position: relative; border-radius: 22px; padding: 16px; margin-bottom: 14px; color: #3B1A0A; overflow: hidden;
  background: linear-gradient(135deg, #FFE1D2 0%, #FFE9C7 45%, #FDE2F1 100%); box-shadow: var(--shadow); }
:root[data-theme="dark"] .kid-banner { background: linear-gradient(135deg, #4A2416, #45300F 45%, #45193A); color: #FFF0E4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kid-banner { background: linear-gradient(135deg, #4A2416, #45300F 45%, #45193A); color: #FFF0E4; } }
.kid-banner h2 { font-size: 1.2rem; padding-right: 48px; }
.kid-banner .sound { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .7); font-size: 1.2rem; cursor: pointer; transition: transform .25s var(--spring); }
.kid-banner .sound:active { transform: scale(.88); }
.helpers { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.helper { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 6px; border-radius: 99px; border: 2.5px solid transparent;
  background: rgba(255, 255, 255, .75); color: #2B1608; font-weight: 800; cursor: pointer; transition: transform .25s var(--spring), box-shadow .2s; }
.helper:active { transform: scale(.94); }
.helper .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--sun)); color: #fff; font-weight: 900; }
.helper[aria-pressed="true"] { border-color: #F7862F; background: #fff; box-shadow: 0 6px 16px -4px rgba(247, 134, 47, .55); transform: scale(1.03); }
.helper .st { font-size: .85rem; color: #9A3412; }
.helper.add { padding: 0 14px; border-style: dashed; border-color: rgba(0, 0, 0, .2); background: transparent; color: inherit; }

.race { position: relative; height: 56px; margin: 6px 4px 20px; }
.race-track { position: absolute; left: 0; right: 0; top: 24px; height: 14px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--surface-2) 0 14px, var(--line) 14px 28px); }
.race-fill { position: absolute; left: 0; top: 24px; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #F5B700, #FF6F61, #22C38E, #8B5CF6); width: 0; transition: width .7s var(--spring); }
.race-cart { position: absolute; top: 0; font-size: 2.2rem; transform: translateX(-50%); left: 0; transition: left .7s var(--spring); }
.face-r { display: inline-block; transform: scaleX(-1); }   /* an emoji that faces left, turned to face the way it travels */
.race-cart.zoom { animation: zoom .6s var(--spring); }
@keyframes zoom { 30% { transform: translateX(-50%) translateY(-8px) rotate(12deg); } }
.race-flag { position: absolute; right: -6px; top: 4px; font-size: 1.8rem; }
.race-text { text-align: center; font-weight: 900; font-size: 1.15rem; margin-bottom: 4px; }
.race-sub { text-align: center; font-size: .88rem; font-weight: 600; opacity: .85; margin: -2px 0 6px; }
body.game-on #shopBody .race-dock .race-sub { color: var(--dock-ink); }
/* Dino: the trail winds through a little jungle to the nest */
.race.stones.trail { height: 122px; margin: 4px 0 8px; border-radius: 16px; overflow: hidden;
  background: var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ffc48a, #ffe2b8); box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.race.stones.trail i { bottom: auto; width: 22px; max-width: none; height: 14px; margin-top: -7px; border-radius: 50%; font-size: .55rem; }
body.game-on .race-dock .race.stones.trail { height: 122px; }
body.game-on .race-dock .race.stones.trail .race-cart, .race.stones.trail .race-cart { bottom: auto; font-size: 2.3rem; }
.trail-goal { position: absolute; right: 4%; top: 58px; font-size: 2.2rem; line-height: 1; text-align: center; }
.trail-goal b { display: block; margin-top: -14px; font-weight: 400; font-size: 2rem; }
.trail-goal .egg { display: inline-block; transform-origin: 50% 90%; font-size: 1.7rem; }
.trail-goal .egg.wobble { animation: ss-egg-wobble 1.6s ease-in-out infinite; }
/* Farm: the lane home to the barn */
.lane { position: relative; height: 112px; margin: 4px 0 8px; border-radius: 16px; overflow: hidden;
  background: var(--scene-farm) center 70% / 100% auto no-repeat, linear-gradient(180deg, #bfe6ff, #e9f8ff); box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.lane-field { position: absolute; left: 6%; top: 46px; display: flex; gap: 2px; font-size: 1.05rem; opacity: .5; filter: grayscale(.3); }
.lane-home { position: absolute; right: 34%; bottom: 8px; display: flex; gap: 1px; font-size: 1.35rem; }
.lane-field i, .lane-home i { font-style: normal; }
.lane .race-cart, body.game-on .race-dock .lane .race-cart { top: auto; bottom: 6px; font-size: 1.9rem; }
/* Spy: a radar that fills as targets are secured, and the message decoding */
.spy-panel { display: flex; align-items: center; gap: 16px; margin: 4px 0 10px; }
.radar { position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle, #04140a 0 54%, transparent 55%), conic-gradient(#4ade80 calc(var(--p, 0) * 360deg), #14532d 0); box-shadow: 0 0 16px rgba(74,222,128,.35); }
.radar::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: conic-gradient(rgba(74,222,128,.35), transparent 25%); animation: ss-radar 3s linear infinite; }
.spy-count { display: flex; flex-direction: column; font-family: ui-monospace, Consolas, monospace; color: #86efac; }
.spy-count small { font-size: .7rem; letter-spacing: .18em; font-weight: 700; }
.spy-count b { font-size: 1.9rem; color: #4ade80; line-height: 1.1; }
.spy-count span { font-family: var(--font); font-size: .85rem; }
.spy-msg { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #04140a; border: 1px solid #166534; font-family: ui-monospace, Consolas, monospace; }
.spy-msg small { display: block; font-size: .65rem; letter-spacing: .18em; color: #22c55e; font-weight: 700; }
.spy-msg b { display: block; color: #bbf7d0; letter-spacing: .12em; font-size: .95rem; word-break: break-word; }
/* Space: the fuel gauge */
.gauge { height: 14px; margin: 4px 6px 8px; border-radius: 99px; background: #0f172a; box-shadow: inset 0 0 0 2px #22d3ee; overflow: hidden; }
.gauge b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #22d3ee, #a78bfa); transition: width .7s var(--spring); }
/* the found things: one tidy bar (a basket, a hay cart, an evidence bag...) that opens to put something back */
.found-bar { margin: 6px 0 16px; }
.found-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 16px; border: 0; border-radius: 18px; cursor: pointer;
  font: 700 1rem var(--font); color: var(--tile-ink, var(--ink)); background: var(--tile-bg, var(--surface)); box-shadow: inset 0 0 0 2px var(--tile-line, var(--line)), 0 3px 0 var(--tile-edge, var(--line)); }
.found-toggle .fb-name { white-space: nowrap; }
.found-toggle .fb-pics { flex: 1; display: flex; gap: 2px; overflow: hidden; justify-content: flex-end; }
.found-toggle .fb-pics .e { width: 24px; height: 24px; font-size: 1rem; display: grid; place-items: center; background: none !important; }
.found-toggle .fb-pics .e svg { width: 20px; height: 20px; }
.found-toggle b { font-size: 1.2rem; }
.found-bar .tiles { margin-top: 10px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 118px; padding: 10px 6px;
  border-radius: 22px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; text-align: center; font-weight: 800; font-size: .92rem;
  box-shadow: 0 4px 0 var(--line); transition: transform .12s, box-shadow .12s; }
.tile:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
/* a grown-up holding a picture to save it for next time: it shrinks and fades as the hold fills */
.tile.holding { transition: transform 1s ease-in, opacity 1s ease-in; transform: scale(.88); opacity: .55; }
.tile .e { font-size: 2.7rem; line-height: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: color-mix(in srgb, var(--t, #999) 15%, var(--surface)); }
.tile .q { position: absolute; top: 7px; right: 8px; font-size: .8rem; background: var(--brand-soft); color: var(--brand-strong); border-radius: 99px; padding: 1px 8px; }
.tile.done { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border-color: var(--ok); box-shadow: 0 4px 0 color-mix(in srgb, var(--ok) 70%, #000); }
.tile.done::after { content: "✓"; position: absolute; top: 7px; left: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--ok-ink); font-size: .9rem; font-weight: 900; display: grid; place-items: center; }
.tile.pop { animation: pop .5s var(--spring); }
/* the reminder to finish the shop */
.finish-nudge { margin: 0 0 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--text); border: 2px solid #ffd23f;
  font-size: .9rem; line-height: 1.35; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); animation: rise .35s ease-out; }
#finishBar.nudge .btn { animation: nudge 1.4s ease-in-out 3; }
@keyframes nudge { 50% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(255, 210, 63, .45); } }
.reward.ready span { flex: 1; }
/* who's at the shop */
.at-shop { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--brand, #f2545b) 14%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--brand, #f2545b) 40%, transparent); font-size: .92rem; line-height: 1.35; }
.at-shop .link { margin-left: 4px; font-size: .85rem; }
/* voice */
.add-input .mic { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand, #f2545b) 14%, transparent); color: var(--brand, #f2545b); cursor: pointer; }
.add-input .mic svg { width: 22px; height: 22px; stroke-width: 2; }
.tool[hidden], .add-input .mic[hidden] { display: none; }
.listen-dim { position: fixed; inset: 0; z-index: 45; background: rgba(10, 8, 14, .62); animation: ss-dim-in .25s ease both; }
@keyframes ss-dim-in { from { opacity: 0; } }
body.listening :is(#micBtn, .add-input) { position: relative; z-index: 46; }
body.listening #micBtn { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand, #f2545b), 0 12px 30px -8px rgba(242, 84, 91, .7); }
/* the family card (tap the family name) */
.fam h3 { margin: 16px 0 8px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fam-name { display: flex; align-items: center; gap: 6px; font-size: 1.3rem; }
.fam-shop { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.fam-people { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.fam-people li { display: flex; align-items: center; gap: 10px; }
.fam-people small { color: var(--muted); }
.fam-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; color: #fff;
  background: color-mix(in srgb, var(--c, var(--muted)) 30%, var(--surface)); box-shadow: inset 0 0 0 2.5px var(--c, var(--muted)); }
.fam-name .fam-av { width: 44px; height: 44px; font-size: 1.5rem; }
.av-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.av-pick { aspect-ratio: 1; border: 0; border-radius: 16px; background: var(--surface-2); font-size: 1.7rem; cursor: pointer; transition: transform .12s; }
.av-pick:active { transform: scale(.92); }
.av-pick[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--brand, #f2545b); background: color-mix(in srgb, var(--brand, #f2545b) 14%, var(--surface-2)); }
.fam-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; }
.fam-last { margin: 0; }
.fam .btn-row { margin-top: 18px; }
.fam-more { display: block; margin: 16px auto 0; }
.fam .menu-list { margin-top: 16px; }
.me-out { display: block; margin: 28px auto 0; color: var(--muted); font-size: .85rem; }   /* small and apart, and it asks first */
.mic-steps { margin: 12px 0 18px; padding-left: 22px; display: grid; gap: 10px; line-height: 1.4; }
.tool.say.on { border-color: var(--brand, #f2545b); }
.tool.say.on .ti { animation: listen 1s ease-in-out infinite; }
.add-input:has(.mic:not([hidden])) input { padding-right: 46px; }
.add-input .mic.on { background: var(--brand, #f2545b); animation: listen 1s ease-in-out infinite; }
@keyframes listen { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand, #f2545b) 25%, transparent); } }
/* loading */
.skel { display: grid; gap: 10px; padding: 6px 0; }
.skel i { display: block; height: 58px; border-radius: 16px; background: linear-gradient(90deg, var(--line) 0%, color-mix(in srgb, var(--line) 40%, var(--surface)) 50%, var(--line) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skel i:nth-child(2) { width: 88%; } .skel i:nth-child(3) { width: 94%; } .skel i:nth-child(4) { width: 76%; }
@keyframes shimmer { to { background-position: -200% 0; } }
/* couldn't find it */
.not-here { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 5px 10px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.aisle.missing .row { opacity: .8; }
.btn.sm { padding: 6px 12px; font-size: .85rem; min-height: 0; }
/* rewards, two kids */
.reward { margin-top: 10px; display: grid; gap: 6px; font-size: .9rem; }
.reward .rbar { display: block; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .15); overflow: hidden; }
.reward .rbar b { display: block; height: 100%; background: linear-gradient(90deg, #ffd23f, #ff8a6b); border-radius: inherit; }
.reward.ready { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 210, 63, .25); }
.scoreboard { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 2px 0 6px; font-weight: 700; font-size: .95rem; color: var(--dock-ink, inherit); }
.scoreboard span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.scoreboard i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.tile.owned { box-shadow: inset 0 0 0 4px var(--c), 0 4px 0 var(--line); }
.tile .own { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; z-index: 2; }
.reward-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.reward-form > input { flex: 1 1 160px; }
.reward-form .stars-in { display: inline-flex; align-items: center; gap: 4px; }
.reward-form .stars-in input { width: 72px; }
/* first-run tour */
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.16) rotate(-4deg); } 100% { transform: scale(1); } }
/* just added by someone at home: it glows for a moment so the shopper spots it */
.fresh { animation: fresh 1.6s ease-out 2; }
.drop-in { position: fixed; top: calc(env(safe-area-inset-top) + 86px); left: 50%; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 18px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); border: 2px solid var(--brand); pointer-events: none; }
.drop-in b { color: var(--brand-strong); font-size: 1.1rem; }
.drop-in span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-in .e { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.drop-in small { color: var(--muted); }
@keyframes fresh { 0% { box-shadow: 0 0 0 0 rgba(242, 84, 91, .75); } 70% { box-shadow: 0 0 0 12px rgba(242, 84, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 84, 91, 0); } }
.burst { position: absolute; inset: 50% auto auto 50%; pointer-events: none; z-index: 2; }
.burst i { position: absolute; font-style: normal; font-size: 1.25rem; animation: burst .85s ease-out forwards; transform: translate(-50%, -50%) rotate(var(--a)) translateY(0); }
@keyframes burst { to { transform: translate(-50%, -50%) rotate(var(--a)) translateY(-66px) scale(.6); opacity: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti i { position: absolute; top: -40px; font-style: normal; font-size: 1.6rem; animation: fall var(--d, 2s) linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }
.trophy { text-align: center; padding: 6px 0 4px; }
.trophy .big { font-size: 4.2rem; line-height: 1; animation: pop .7s var(--spring); }
.trophy h3 { font-size: 1.35rem; margin: 10px 0 4px; }
.star-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.star-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--grad-soft); font-weight: 750; }
.star-list li span:last-child { margin-left: auto; color: var(--brand-strong); font-weight: 900; }

/* ------------------------------------------------------------ household tab */
.invite-code { font: 800 1.7rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; padding: 18px; text-align: center;
  background: var(--grad-soft); color: var(--brand-strong); border-radius: 16px; margin: 4px 0 12px; user-select: all; border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row .btn { flex: 1 1 auto; }
.people { list-style: none; margin: 0 0 12px; padding: 0; }
.people li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.people li + li { border-top: 1px solid var(--line); }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--c, var(--brand)); flex: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.people .t { flex: 1; min-width: 0; }
.people .t small { display: block; color: var(--muted); }
.inline-form { display: flex; gap: 8px; }
.aisle-order { list-style: none; margin: 0 0 12px; padding: 0; }
.aisle-order li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.aisle-order li + li { border-top: 1px solid var(--line); }
.aisle-order .e { font-size: 1.1rem; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--t, #999) 16%, var(--surface)); }
.aisle-order span.nm { flex: 1; font-weight: 650; }
.aisle-order .btn { width: 38px; min-height: 38px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.toggle-row + .toggle-row { border-top: 1px solid var(--line); }
.toggle-row b { display: block; }
.toggle-row small { color: var(--muted); }
.trips { list-style: none; margin: 0; padding: 0; }
.trips li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; }
.trips li + li { border-top: 1px solid var(--line); }
.about { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 22px; }

/* ------------------------------------------------------------ sheet (dialog) */
.sheet { border: 0; padding: 0; width: min(560px, 100%); max-width: 100%; max-height: 88vh; max-height: 88dvh; margin: auto auto 0; border-radius: 26px 26px 0 0;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.sheet:not([open]) { display: none; }
.sheet[open] { animation: up .32s var(--spring); }
.sheet::backdrop { background: rgba(30, 12, 6, .45); backdrop-filter: blur(2px); }
@keyframes up { from { transform: translateY(60px); opacity: 0; } }
@media (min-width: 640px) { .sheet { margin: auto; border-radius: 26px; } }
.sheet-grip { width: 42px; height: 5px; border-radius: 99px; background: var(--line); margin: 9px auto 0; }
@media (min-width: 640px) { .sheet-grip { display: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 6px 20px; }
.sheet-head h2 { font-size: 1.25rem; }
.sheet-body { padding: 6px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
.sheet-actions { display: flex; gap: 8px; margin-top: 18px; }
.sheet-actions .btn { flex: 1; }
.menu-list { display: grid; gap: 4px; }
.menu-list .btn { justify-content: flex-start; border: 0; background: none; min-height: 52px; border-radius: 14px; }
.menu-list .btn:hover { background: var(--surface-2); }
.menu-list .btn svg { color: var(--brand-strong); }
.menu-list .btn.danger svg { color: var(--danger); }
.qty-field { display: flex; align-items: center; gap: 12px; }
.qty-field .stepper button { width: 46px; height: 46px; }
.qty-field .stepper b { min-width: 34px; font-size: 1.1rem; }

.browse-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; position: sticky; top: -6px; background: var(--surface); z-index: 3; padding-top: 6px; }
.browse-filter::-webkit-scrollbar { display: none; }
.browse-filter .chip { box-shadow: none; }
.browse-filter .chip[aria-pressed="true"] { background: var(--grad); color: var(--brand-ink); border-color: transparent; }
.browse .tiles { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.browse .tile { min-height: 104px; }
.browse .tile .e { font-size: 2.2rem; width: 54px; height: 54px; }

.scan-list { list-style: none; margin: 0; padding: 0; }
.scan-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.scan-list li + li { border-top: 1px solid var(--line); }
.scan-list input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.scan-list input.nm { min-height: 42px; }
.scan-list li.unsure input.nm { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); }
.scan-list .q { width: 64px; flex: none; text-align: center; padding: 0 6px; min-height: 42px; }
.scan-list li.off input.nm { opacity: .45; text-decoration: line-through; }
.scan-hint { font-size: .85rem; color: var(--warn); margin-bottom: 8px; }
.scan-list li:has(.wrote) { flex-wrap: wrap; }
.scan-list li:has(.wrote) input.nm { flex: 1 1 0; width: auto; min-width: 0; }
.scan-list .wrote { flex: 0 0 100%; padding-left: 32px; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.scan-list li.off .wrote { display: none; }
.scan-photo { margin-bottom: 8px; }
.scan-photo summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.scan-photo summary::after { content: "›"; margin-left: 8px; font-size: 1.2rem; transition: transform .2s; } .scan-photo[open] summary::after { transform: rotate(90deg); }
.scan-photo img { display: block; width: 100%; max-height: 60vh; object-fit: contain; border-radius: 12px; background: var(--line); }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--surface-2); border-top-color: var(--brand); border-right-color: var(--brand-2); animation: spin .8s linear infinite; margin: 24px auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 86px); z-index: 120;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px); padding: 12px 14px 12px 18px; border-radius: 16px;
  background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); font-weight: 650; animation: toastIn .35s var(--spring); }
@keyframes toastIn { from { transform: translate(-50%, 16px) scale(.96); opacity: 0; } }
.toast button { background: none; border: 0; color: var(--brand-2); font-weight: 900; cursor: pointer; padding: 4px; }
@media (min-width: 900px) { .toast { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.welcome-hop { filter: drop-shadow(0 8px 14px rgba(242, 84, 91, .25)); }
.welcome-brand img.welcome-hop { border-radius: 0; box-shadow: none; animation: none; }   /* Hop animates itself */

/* Kid mode: game picker and the Dino Discovery world */
.game-pick { display: flex; gap: 8px; margin-bottom: 10px; overflow-x: auto; }
.game-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; transition: transform .25s var(--spring); }
.game-chip span { font-size: 1.3rem; }
.game-chip:active { transform: scale(.94); }
.game-chip[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); }
body.game-dino .kid-banner { background: linear-gradient(135deg, #C9F2D9 0%, #E6F4C2 50%, #F9E3B5 100%); color: #183A22; }
:root[data-theme="dark"] body.game-dino .kid-banner { background: linear-gradient(135deg, #12351F, #2A3A12 50%, #3F2E0E); color: #E8F7EC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.game-dino .kid-banner { background: linear-gradient(135deg, #12351F, #2A3A12 50%, #3F2E0E); color: #E8F7EC; } }
body.game-dino .race-track { background: repeating-linear-gradient(90deg, #E9D8B4 0 14px, #D9C090 14px 28px); }
body.game-dino .race-fill { background: linear-gradient(90deg, #6BBF59, #2E8B57, #8B5A2B, #E5483A); }
/* Dino: numbered stepping stones (hopscotch squares) to the volcano; the dino steps onto the next one with each find */
.race.stones { height: 58px; }
.race.stones i { position: absolute; bottom: 2px; max-width: 30px; height: 16px; transform: translateX(-50%);
  display: grid; place-items: center; font: 700 .6rem var(--font); font-style: normal; color: #6b6460; border-radius: 6px;
  background: #d6cfc6; box-shadow: 0 3px 0 #a39a90; }
.race.stones i.on { background: #ffd23f; color: #6b4a00; box-shadow: 0 3px 0 #c99a12; }
.race.stones .race-cart { top: auto; bottom: 14px; transform: translateX(-50%); font-size: 2.2rem; line-height: 1; }
.race.stones .race-cart.step { animation: ss-dino-step .7s ease-in-out; }
.race.stones .race-flag { top: auto; bottom: 0; font-size: 2rem; }
.race-flag .egg { display: inline-block; transform-origin: 50% 90%; }
.race-flag .egg.wobble { animation: ss-egg-wobble 1.6s ease-in-out infinite; }   /* nearly there: the egg's about to hatch */
@keyframes ss-egg-wobble { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-12deg); } 76% { transform: rotate(10deg); } 84% { transform: rotate(-6deg); } 92% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .race-flag .egg.wobble { animation: none; } }
body.game-on .race-dock .race.stones { height: 64px; } body.game-on .race-dock .race.stones .race-cart { font-size: 2.7rem; }
@keyframes ss-dino-step { from { transform: translateX(calc(-50% + var(--from, 0px))); }
  30% { transform: translateX(calc(-50% + var(--from, 0px) * .7)) rotate(-6deg); } 65% { transform: translateX(calc(-50% + var(--from, 0px) * .2)) rotate(4deg); } }
.dino-art { display: inline-block; width: 1.2em; height: 1.05em; vertical-align: middle; stroke: none; }
.game-extra { text-align: center; font-size: 1.15rem; margin: 2px 0 10px; letter-spacing: .04em; }
/* Space: our solar system in a row, lighting up as the rocket reaches each planet */
.game-extra.planets { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 30px; }
.pl { position: relative; display: inline-block; flex: none; border-radius: 50%; opacity: .3; filter: grayscale(.7); transition: opacity .5s, filter .5s; }
.pl.on { opacity: 1; filter: none; }
.pl.next { opacity: .7; filter: none; animation: ss-pl-next 1.4s ease-in-out infinite; }
@keyframes ss-pl-next { 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); } }
.pl-sun { width: 22px; height: 22px; background: radial-gradient(circle at 40% 40%, #fff6b0, #fbbf24 55%, #f97316); box-shadow: 0 0 10px #fbbf24; }
.pl-mercury { width: 7px; height: 7px; background: radial-gradient(circle at 35% 35%, #d6d3d1, #78716c); }
.pl-venus { width: 11px; height: 11px; background: radial-gradient(circle at 35% 35%, #fef3c7, #d6a356); }
.pl-earth { width: 12px; height: 12px; background: radial-gradient(circle at 35% 35%, #7dd3fc 0 30%, transparent 31%), radial-gradient(circle at 65% 60%, #4ade80 0 28%, #2563eb 29%); }
.pl-mars { width: 9px; height: 9px; background: radial-gradient(circle at 35% 35%, #fca5a5, #dc2626); }
.pl-jupiter { width: 24px; height: 24px; background: repeating-linear-gradient(180deg, #f5deb3 0 3px, #d6a067 3px 6px, #b7794a 6px 8px); }
.pl-saturn { width: 18px; height: 18px; margin: 0 6px; background: radial-gradient(circle at 35% 35%, #fef3c7, #e3c27d); }
.pl-saturn::after { content: ""; position: absolute; left: -7px; right: -7px; top: 50%; height: 6px; margin-top: -3px; border-radius: 50%;
  border: 2px solid #d9b56b; transform: rotate(-18deg); }
.pl-uranus { width: 14px; height: 14px; background: radial-gradient(circle at 35% 35%, #ccfbf1, #5eead4); }
.pl-neptune { width: 14px; height: 14px; background: radial-gradient(circle at 35% 35%, #93c5fd, #1d4ed8); }
.pl-neptune.big { width: 26px; height: 26px; opacity: 1; filter: none; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .pl.next { animation: none; } }
/* Space: a starfield at night whatever the theme */
body.game-space .kid-banner { background: radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 1.6px) 0 0 / 26px 26px, linear-gradient(135deg, #0B1437, #2A1A5E 60%, #3B1A6E); color: #F1F5FF; }
body.game-space .race-track { background: rgba(167,139,250,.18); }
body.game-space .race-fill { background: linear-gradient(90deg, #22D3EE, #A78BFA, #F472B6); }
/* Farm: sky over a hay field */
body.game-farm .kid-banner { background: linear-gradient(180deg, #BFE6FF 0 55%, #8BD36B 55% 100%); color: #1F3A12; }
:root[data-theme="dark"] body.game-farm .kid-banner { background: linear-gradient(180deg, #1B3550 0 55%, #2E5320 55% 100%); color: #EAF7E0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.game-farm .kid-banner { background: linear-gradient(180deg, #1B3550 0 55%, #2E5320 55% 100%); color: #EAF7E0; } }
body.game-farm .race-track { background: #C69C6D; }
body.game-farm .race-fill { background: repeating-linear-gradient(90deg, #F6D365 0 10px, #E5B94F 10px 20px); }
/* Spy: green-on-black terminal, and the secret message in monospace */
body.game-spy .kid-banner { background: repeating-linear-gradient(0deg, rgba(34,197,94,.06) 0 2px, transparent 2px 4px), #0F1A14; color: #B9F6CA; }
body.game-spy .race-track { background: rgba(34,197,94,.15); }
body.game-spy .race-fill { background: linear-gradient(90deg, #16A34A, #4ADE80); }
body.game-spy .game-extra { font-family: ui-monospace, Consolas, monospace; font-weight: 800; color: #16A34A; letter-spacing: .18em; word-break: break-word; }

/* ============================================================ splash: Hop hops along the list while the app opens */
.splash { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; background: linear-gradient(180deg, #FF8A6B, #F2545B); color: #fff; transition: opacity .4s ease; cursor: pointer; }
.splash.gone { opacity: 0; pointer-events: none; }
.splash img { width: min(64vw, 260px); height: auto; filter: drop-shadow(0 12px 18px rgba(90, 20, 20, .22)); }
.splash-word { font: 700 2.5rem/1 var(--font); letter-spacing: .01em; }
.splash-word b { display: inline-block; font-weight: 700; }
.splash-word b:nth-child(odd) { transform: translateY(-3px); } .splash-word b:nth-child(even) { transform: translateY(3px); }
.splash-tag { margin: 0; font-weight: 600; opacity: .92; text-align: center; }

/* ============================================================ sign-in: Google, Apple, email code */
.welcome-h { margin: 0; font-size: 1.25rem; }
.social { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; text-decoration: none; font-weight: 600; }
.s-google { background: #fff; color: #1f1f1f; border: 1.5px solid #dadce0; }
.s-apple { background: #000; color: #fff; border: 1.5px solid #000; }
:root[data-theme="dark"] .s-apple { background: #fff; color: #000; border-color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .s-apple { background: #fff; color: #000; border-color: #fff; } }
.or-line { display: flex; align-items: center; gap: 10px; margin: 2px 0; color: var(--muted, #7a6c64); font-size: .9rem; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; }
.otp { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.dev-code { margin: 0; padding: 8px 12px; border-radius: 12px; background: #fff4c2; color: #5c4400; font-size: .9rem; }
.signed-as { margin: 0; }
.center { text-align: center; }
.card-sub.warn { color: var(--danger, #C62828); }

/* try it first: the big button on the welcome screen, the strip while trying, the nudges after a shop */
.try-box { margin: 18px auto 4px; max-width: 360px; display: grid; gap: 8px; text-align: center; }
.try-box .small { margin: 0; opacity: .85; }
.trial-bar { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 16px;
  background: color-mix(in srgb, var(--brand) 14%, var(--surface)); border-bottom: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  font-size: .9rem; font-weight: 500; }
.trial-bar[hidden] { display: none; }
.trial-card { border: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.after-nudge { display: grid; gap: 4px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.after-nudge span { font-size: .9rem; color: var(--muted); }
.after-nudge .btn { justify-self: start; margin-top: 6px; }
.gift { margin: 4px 0 0; padding: 8px 12px; border-radius: 14px; background: var(--brand-soft); font-weight: 600; font-size: .92rem; }
.gift[hidden] { display: none; }
.save-stars { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--brand-soft); font-weight: 600; text-align: center; }
.free-months { margin: 0 0 10px; padding: 8px 12px; border-radius: 12px; background: var(--brand-soft); }
.partner-view { margin-top: 14px; }
/* Go shopping sits at the end of the list (the Shop tab carries the count) */
.go-shop { margin: 16px 0 8px; }
.go-shop[hidden] { display: none; }
.go-shop .btn { min-height: 52px; }
.go-shop .btn svg { width: 20px; height: 20px; }
.btn.primary { text-shadow: none; }
/* Shop tab: "Not here" only on the row you press and hold (still there for screen readers) */
.not-here:not(.show) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.not-here.show { min-height: 44px; padding: 0 14px; animation: rise .2s var(--spring); }
.hold-hint { margin: 0 4px 10px; font-size: .85rem; color: var(--muted); }
.shop-row { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* usuals: wrap instead of scrolling sideways, and the whole usual shop in one go */
#usualChips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.usual-shop { margin: 0 0 10px; }
.usual-shop[hidden] { display: none; }
.scan-list .have { flex: none; font-size: .72rem; font-weight: 700; color: var(--muted); }
/* invite link: just the invitation and the sign-in */
.welcome.invited .welcome-points, .welcome.invited #welcomeTabs { display: none; }
/* Kid mode: pick a game */
.game-picker .gi-name { margin-bottom: 18px; }
.gp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(92vw, 420px); }
.gp-card { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; border-radius: 22px; border: 3px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14); color: #fff; font: 700 1.05rem/1.2 var(--font); cursor: pointer; }
.gp-card .gp-ico { font-size: 2.6rem; }
.gp-card.on { border-color: #ffd23f; background: rgba(255, 210, 63, .22); }
.gp-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.partner-card { position: relative; display: grid; gap: 6px; margin: 0 0 14px; padding: 14px 44px 14px 16px; border-radius: 18px;
  background: var(--surface); border: 2px solid var(--brand-soft); box-shadow: var(--shadow); }
.partner-card[hidden] { display: none; }
.partner-card span, .partner-card small { color: var(--muted); font-size: .9rem; }
.partner-card .btn-row { margin-top: 4px; }
.partner-card .pc-x { position: absolute; top: 6px; right: 6px; }
.kid-banner.playing { padding-top: 12px; padding-bottom: 12px; }
.kid-banner .also { margin: 4px 0 8px; font-size: .9rem; opacity: .9; }
.tile.theirs { opacity: .55; filter: saturate(.6); }
.fn-score { position: relative; z-index: 2; margin: 6px 0 0; font-size: 1.2rem; font-weight: 700; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.kid-banner.playing h2 { font-size: 1.15rem; margin-bottom: 8px; }
.seg-opt { flex: 1; position: relative; }
.seg-opt input { position: absolute; opacity: 0; }
.seg-opt span { display: block; padding: 8px 6px; text-align: center; border-radius: 12px; font-size: .85rem; cursor: pointer; }
.seg-opt input:checked + span { background: var(--surface); box-shadow: var(--shadow); font-weight: 600; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--brand); }
.brag-wrap { display: grid; place-items: center; min-height: 120px; margin: 10px 0; }
.brag-img { width: min(100%, 300px); border-radius: 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.install-steps { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 12px; }
.install-steps li { display: flex; gap: 12px; align-items: flex-start; }
.install-steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.install-steps b { display: block; }
.install-steps small { color: var(--muted); }
.si-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.si-list:empty { display: none; }
.si-ok { color: var(--ok, #22C38E); font-weight: 700; margin-right: 6px; }
.welcome.later .welcome-points { display: none; }
.topbar-home { display: flex; flex: none; }

/* ============================================================ big game moments (ported from the first Shopscotch) */
/* 25/50/75%: the hero dashes across with a trail and a badge pops */
.ms-show { position: fixed; inset: 0; z-index: 110; overflow: hidden; touch-action: manipulation; animation: fs-fadein .25s ease both; }
.ms-show.out { animation: ss-fn-out .3s ease forwards; }
.ms-bg { position: absolute; inset: 0; }
.ms-run { position: absolute; top: 66%; left: 0; display: flex; align-items: center; gap: 4px; transform: translateX(-110%); animation: ss-ms-run 2s cubic-bezier(.45, .05, .4, 1) forwards; }
.ms-hero { font-size: 4.6rem; line-height: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); animation: ss-ms-bob .3s ease-in-out infinite; }
.ms-trail { display: flex; gap: 2px; font-size: 1.8rem; }
.ms-trail i { font-style: normal; animation: ss-ms-bob .4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.07s); }
.ms-badge { position: absolute; left: 0; right: 0; top: 11%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 16px; text-align: center; color: #fff;
  font: 700 1.5rem/1.05 var(--font); letter-spacing: .06em; text-shadow: 0 3px 0 rgba(0,0,0,.3), 0 0 16px rgba(0,0,0,.35); animation: ss-ms-badge-in .6s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.ms-badge b { font-size: 3.4rem; color: #ffd54a; }
.zoom-space .ms-run { animation-name: ss-ms-fly; } .zoom-space .ms-badge b { color: #a5f3fc; }
.zoom-farm .ms-badge b { color: #fde047; } .zoom-dino .ms-badge b { color: #fdba74; }
.zoom-spy .ms-badge, .zoom-spy .ms-badge b { font-family: ui-monospace, Consolas, monospace; color: #4ade80; }
.zoom-spy.ms-show::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 4px; background: #ef4444; box-shadow: 0 0 18px 4px rgba(239,68,68,.7); animation: ss-ms-scan 1.1s ease-in-out 2 alternate; }
@keyframes ss-ms-run { from { transform: translateX(-110%); } to { transform: translateX(110vw); } }
@keyframes ss-ms-fly { from { transform: translate(-110%, 120px) rotate(-20deg); } to { transform: translate(110vw, -120px) rotate(-20deg); } }
@keyframes ss-ms-bob { 50% { translate: 0 -8px; } }
@keyframes ss-ms-badge { 0% { transform: scale(.2) rotate(-12deg); opacity: 0; } 18% { transform: scale(1.15) rotate(3deg); opacity: 1; } 28%, 80% { transform: none; opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes ss-ms-shake { 25% { transform: translate(3px, -2px); } 75% { transform: translate(-3px, 2px); } }
@keyframes ss-ms-scan { to { top: 100vh; } }

/* everything found: the themed finale */
.finale { position: fixed; inset: 0; z-index: 115; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  padding: 24px; color: #fff; animation: ss-fn-in .35s ease both; cursor: pointer; }
.finale.out { animation: ss-fn-out .4s ease forwards; }
.fn-sky { position: absolute; inset: 0; z-index: -1; }
.fn-scene { font-size: 7rem; line-height: 1; animation: ss-fn-scene .9s cubic-bezier(.3, 1.5, .5, 1) .2s both; filter: drop-shadow(0 10px 16px rgba(0,0,0,.35)); }
.fn-hero { font-size: 3.4rem; line-height: 1; margin-top: -10px; animation: ss-fn-hero 1.4s cubic-bezier(.3, 1.2, .5, 1) .3s both; }
.fn-head { margin: 16px 0 6px; font: 700 2.1rem/1.05 var(--font); letter-spacing: .06em; text-shadow: 0 4px 0 rgba(0,0,0,.25); animation: ss-fn-head .6s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
.fn-sub { margin: 0; font-size: 1.1rem; font-weight: 700; opacity: .95; animation: ss-fn-in .5s ease 1.2s both; }
.fn-parade { position: absolute; left: 0; right: 0; bottom: 70px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 0 16px; font-size: 1.9rem; }
.fn-parade i { font-style: normal; animation: ss-fn-crew .5s cubic-bezier(.3, 1.6, .5, 1) both, ss-ms-bob 1.2s ease-in-out infinite;
  animation-delay: calc(1.3s + var(--i, 0) * .08s), calc(1.9s + var(--i, 0) * .1s); }
.fn-tap { position: absolute; bottom: 26px; left: 0; right: 0; margin: 0; font-size: .85rem; opacity: .75; }
.fn-props span { position: absolute; font-size: 2.6rem; animation: ss-fn-prop 3.6s linear both; }
.fn-props span:first-child { left: -60px; top: 18%; } .fn-props span:last-child { right: -60px; top: 70%; animation-direction: reverse; }
.finale-race { background: var(--scene-race) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); } .finale-race .fn-sky { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 60px 60px; opacity: .18; } .finale-race .fn-head { color: #facc15; }
.finale-space { background: var(--scene-space) center bottom / 100% auto no-repeat, radial-gradient(circle at 75% 20%, rgba(167,139,250,.35), transparent 40%), linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); } .finale-space .fn-head { color: #a5f3fc; }
.finale-space .fn-sky { background: radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.6px) 0 0 / 61px 67px, radial-gradient(circle, rgba(255,255,255,.55) 0 .8px, transparent 1.3px) 23px 31px / 43px 47px, radial-gradient(circle, rgba(165,243,252,.7) 0 1.2px, transparent 1.8px) 9px 52px / 97px 89px; animation: ss-fn-stars 20s linear infinite; }
.finale-space .fn-hero { animation-name: ss-fn-land; }
/* Space Shop's checkout: the route from Neptune to the Checkout Station, then the grown-up's buttons */
.finale.checkout .co-route { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.finale.checkout .co-route .pl { width: 34px; height: 34px; opacity: 1; filter: none; }
.co-from { font-size: 2.6rem; line-height: 1; }
.co-from svg, .co-from img { width: 52px; height: 52px; }
/* under every game's picture once everything's found: the last stop, glowing */
.co-next { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 0; padding: 6px 16px; border: 2px dashed currentColor; border-radius: 999px; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; animation: ss-co-beacon 1.6s ease-in-out infinite; }
.co-next .co-stop { font-size: 1.5rem; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .co-next { animation: none; } }
.co-dots { width: 110px; border-top: 4px dotted #a5f3fc; opacity: .8; }
.co-station { font-size: 3.2rem; animation: ss-co-beacon 1.6s ease-in-out infinite; }
@keyframes ss-co-beacon { 50% { transform: scale(1.12); filter: drop-shadow(0 0 12px #a5f3fc); } }
.co-actions { display: grid; gap: 10px; justify-items: center; margin-top: 22px; position: relative; z-index: 2; }
.co-actions .btn { min-height: 52px; padding: 12px 22px; font-size: 1.05rem; }
.co-actions .link { color: inherit; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .co-station { animation: none; } }
.finale-farm { background: var(--scene-farm) center bottom / 100% auto no-repeat, linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); color: #234d16; } .finale-farm .fn-head { color: #a0703f; text-shadow: 0 3px 0 #fff8e7; }
.finale-dino { background: var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); } .finale-dino .fn-head { color: #fde68a; }
.finale-dino .fn-scene { animation: ss-fn-scene .9s cubic-bezier(.3,1.5,.5,1) .2s both, ss-fn-erupt .3s ease-in-out 1.1s 6 alternate; }
.finale-dino .fn-props span:first-child { scale: -1 1; }
.finale-spy { background: var(--scene-spy) center bottom / 100% auto no-repeat, linear-gradient(180deg, #020604 0%, #06140b 100%); color: #b9f6ca; font-family: ui-monospace, Consolas, monospace; }
.finale-spy .fn-head { color: #ef4444; border: 4px solid #ef4444; padding: 4px 14px; border-radius: 6px; transform: rotate(-6deg); background: rgba(255,255,255,.05);
  animation: ss-fn-stamp .45s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
.finale-spy .fn-sub { letter-spacing: .14em; color: #4ade80; }
@keyframes ss-fn-in { from { opacity: 0; } } @keyframes ss-fn-out { to { opacity: 0; } }
@keyframes ss-fn-scene { from { transform: scale(.2) rotate(-20deg); opacity: 0; } }
@keyframes ss-fn-hero { from { transform: translateY(-60vh) scale(.6); } }
@keyframes ss-fn-land { from { transform: translateY(-70vh) scale(.6); } 70% { transform: translateY(10px); } }
@keyframes ss-fn-head { from { transform: scale(.3); opacity: 0; } }
@keyframes ss-fn-prop { to { transform: translateX(calc(100vw + 120px)); } }
@keyframes ss-fn-crew { from { transform: translateY(30px) scale(0); opacity: 0; } }
@keyframes ss-fn-stars { to { background-position: 0 300px; } }
@keyframes ss-fn-erupt { to { transform: translateY(-6px) rotate(2deg); } }
@keyframes ss-fn-stamp { from { transform: rotate(-6deg) scale(2.4); opacity: 0; } to { transform: rotate(-6deg); } }

@media (prefers-reduced-motion: reduce) {
  .ms-run { display: none; } .race.stones .race-cart.step { animation: none; }
  .finale *, .finale { animation-duration: .01s !important; animation-delay: 0s !important; }
}

/* ============================================================ the game takes over: its world, the game bar, the intro */
body.game-on .topbar, body.game-on .tabbar, body.game-on #view-shop .view-head, body.game-on #shopProgress { display: none !important; }
body.game-on main { padding-top: calc(var(--hud-h, 60px) + 10px); padding-bottom: calc(110px + env(safe-area-inset-bottom)); transition: padding-top .25s ease; }
body.game-on.hud-away main { padding-top: max(12px, env(safe-area-inset-top)); }
body.game-on .cta-bar { bottom: max(14px, env(safe-area-inset-bottom)); }
body.game-on { min-height: 100vh; min-height: 100dvh; overflow-anchor: none; }
body.game-on :is(.race-text, .game-extra, #shopBody .aisle-h) { color: var(--game-ink); }

/* in a game the progress locks to the top of the screen, so kids can see how far they've got while scrolling the tiles.
   It sits under the game bar, and slides up to the very top when the bar tucks away. */
body.game-on .race-dock { position: sticky; top: calc(var(--hud-h, 60px) - 1px); z-index: 30; margin: 0 -16px 12px; padding: 8px 16px 2px;
  background: var(--dock-bg); border-radius: 0 0 20px 20px; box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: top .25s ease; }
body.game-on.hud-away .race-dock { top: 0; padding-top: max(8px, env(safe-area-inset-top)); }
body.game-on #shopBody .race-dock :is(.race-text, .game-extra) { color: var(--dock-ink); text-shadow: none; }   /* #shopBody: beats the world ink above */
/* the games' scenery, drawn once and used by the world, the intro and the finale */
:root {
  --scene-race: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cpath d=%22M0 118 L400 118 L400 112 L0 100Z%22 fill=%22%23475569%22/%3E%3Crect x=%220%22 y=%22118%22 width=%22400%22 height=%2284%22 fill=%22%23334155%22/%3E %3Cg stroke=%22%231e293b%22 stroke-width=%222%22%3E%3Cpath d=%22M0 127h400%22/%3E%3Cpath d=%22M0 136h400%22/%3E%3Cpath d=%22M0 145h400%22/%3E%3Cpath d=%22M0 154h400%22/%3E%3Cpath d=%22M0 163h400%22/%3E%3Cpath d=%22M0 172h400%22/%3E%3Cpath d=%22M0 181h400%22/%3E%3Cpath d=%22M0 190h400%22/%3E%3Cpath d=%22M0 199h400%22/%3E%3C/g%3E%3Ccircle cx=%2214%22 cy=%22132%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2224%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2234%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2244%22 cy=%22132%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2254%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2264%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2274%22 cy=%22132%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2284%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2294%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22104%22 cy=%22132%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22114%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22124%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22134%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22144%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22154%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22164%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22174%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22184%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22194%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22204%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22214%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22224%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22234%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22244%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22254%22 cy=%22132%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22264%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22274%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22284%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22294%22 cy=%22132%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22304%22 cy=%22132%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22314%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22324%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22334%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22344%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22354%22 cy=%22132%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22364%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22374%22 cy=%22132%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22384%22 cy=%22132%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22394%22 cy=%22132%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2219%22 cy=%22141%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2229%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2239%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2249%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2259%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2269%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2279%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2289%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2299%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22109%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22119%22 cy=%22141%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22129%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22139%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22149%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22159%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22169%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22179%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22189%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22199%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22209%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22219%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22229%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22239%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22249%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22259%22 cy=%22141%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22269%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22279%22 cy=%22141%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22289%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22299%22 cy=%22141%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22309%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22319%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22329%22 cy=%22141%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22339%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22349%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22359%22 cy=%22141%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22369%22 cy=%22141%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22379%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22389%22 cy=%22141%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2214%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2224%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2234%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2244%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2254%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2264%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2274%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2284%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2294%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22104%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22114%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22124%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22134%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22144%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22154%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22164%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22174%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22184%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22194%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22204%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22214%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22224%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22234%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22244%22 cy=%22150%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22254%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22264%22 cy=%22150%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22274%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22284%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22294%22 cy=%22150%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22304%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22314%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22324%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22334%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22344%22 cy=%22150%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22354%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22364%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22374%22 cy=%22150%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22384%22 cy=%22150%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22394%22 cy=%22150%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2219%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2229%22 cy=%22159%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2239%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2249%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2259%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2269%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2279%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2289%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2299%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22109%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22119%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22129%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22139%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22149%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22159%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22169%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22179%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22189%22 cy=%22159%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22199%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22209%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22219%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22229%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22239%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22249%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22259%22 cy=%22159%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22269%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22279%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22289%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22299%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22309%22 cy=%22159%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22319%22 cy=%22159%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22329%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22339%22 cy=%22159%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22349%22 cy=%22159%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22359%22 cy=%22159%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22369%22 cy=%22159%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22379%22 cy=%22159%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22389%22 cy=%22159%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2214%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2224%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2234%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2244%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2254%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2264%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2274%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2284%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2294%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22104%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22114%22 cy=%22168%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22124%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22134%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22144%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22154%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22164%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22174%22 cy=%22168%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22184%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22194%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22204%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22214%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22224%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22234%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22244%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22254%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22264%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22274%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22284%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22294%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22304%22 cy=%22168%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22314%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22324%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22334%22 cy=%22168%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22344%22 cy=%22168%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22354%22 cy=%22168%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22364%22 cy=%22168%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22374%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22384%22 cy=%22168%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22394%22 cy=%22168%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2219%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2229%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2239%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2249%22 cy=%22177%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2259%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2269%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2279%22 cy=%22177%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2289%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2299%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22109%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22119%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22129%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22139%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22149%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22159%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22169%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22179%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22189%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22199%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22209%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22219%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22229%22 cy=%22177%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22239%22 cy=%22177%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22249%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22259%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22269%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22279%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22289%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22299%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22309%22 cy=%22177%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22319%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22329%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22339%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22349%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22359%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22369%22 cy=%22177%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22379%22 cy=%22177%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22389%22 cy=%22177%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2214%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2224%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2234%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2244%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2254%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2264%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2274%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2284%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2294%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22104%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22114%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22124%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22134%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22144%22 cy=%22186%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22154%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22164%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22174%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22184%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22194%22 cy=%22186%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22204%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22214%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22224%22 cy=%22186%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22234%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22244%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22254%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22264%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22274%22 cy=%22186%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22284%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22294%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22304%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22314%22 cy=%22186%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%22324%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22334%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22344%22 cy=%22186%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22354%22 cy=%22186%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22364%22 cy=%22186%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22374%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22384%22 cy=%22186%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22394%22 cy=%22186%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%2219%22 cy=%22195%22 r=%223.2%22 fill=%22%2334d399%22/%3E%3Ccircle cx=%2229%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%2239%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2249%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2259%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2269%22 cy=%22195%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%2279%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%2289%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%2299%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22109%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22119%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22129%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22139%22 cy=%22195%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22149%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22159%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22169%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22179%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22189%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22199%22 cy=%22195%22 r=%223.2%22 fill=%22%23f87171%22/%3E%3Ccircle cx=%22209%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22219%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22229%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22239%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22249%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22259%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22269%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22279%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22289%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22299%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22309%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22319%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22329%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22339%22 cy=%22195%22 r=%223.2%22 fill=%22%2360a5fa%22/%3E%3Ccircle cx=%22349%22 cy=%22195%22 r=%223.2%22 fill=%22%23fff%22/%3E%3Ccircle cx=%22359%22 cy=%22195%22 r=%223.2%22 fill=%22%23fbbf24%22/%3E%3Ccircle cx=%22369%22 cy=%22195%22 r=%223.2%22 fill=%22%23f472b6%22/%3E%3Ccircle cx=%22379%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E%3Ccircle cx=%22389%22 cy=%22195%22 r=%223.2%22 fill=%22%23a78bfa%22/%3E %3Cg fill=%22%23e2e8f0%22%3E%3Crect x=%2240%22 y=%2270%22 width=%223%22 height=%2248%22/%3E%3Crect x=%22160%22 y=%2270%22 width=%223%22 height=%2248%22/%3E%3Crect x=%22280%22 y=%2270%22 width=%223%22 height=%2248%22/%3E%3C/g%3E %3Cpath d=%22M43 70h22l-6 6 6 6h-22Z%22 fill=%22%23ef4444%22/%3E%3Cpath d=%22M163 70h22l-6 6 6 6h-22Z%22 fill=%22%23facc15%22/%3E%3Cpath d=%22M283 70h22l-6 6 6 6h-22Z%22 fill=%22%2322c55e%22/%3E %3Crect x=%220%22 y=%22202%22 width=%22400%22 height=%228%22 fill=%22%23e2e8f0%22/%3E %3Crect x=%220%22 y=%22210%22 width=%22400%22 height=%2290%22 fill=%22%233f4a5a%22/%3E %3Cg fill=%22%23e2e8f0%22%3E%3Crect x=%224%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%2248%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%2292%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22136%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22180%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22224%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22268%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22312%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3Crect x=%22356%22 y=%22255%22 width=%2222%22 height=%224%22 rx=%222%22/%3E%3C/g%3E%3Crect x=%22300%22 y=%22214%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22222%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22230%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22238%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22246%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22254%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22262%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22270%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22278%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22286%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22300%22 y=%22294%22 width=%228%22 height=%228%22 fill=%22%23fff%22/%3E%3Crect x=%22308%22 y=%22214%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22222%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22230%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22238%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22246%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22254%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22262%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22270%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22278%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22300%22 y=%22286%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E%3Crect x=%22308%22 y=%22294%22 width=%228%22 height=%228%22 fill=%22%23111%22/%3E %3Cg fill=%22%23111%22%3E%3Ccircle cx=%2220%22 cy=%22196%22 r=%229%22/%3E%3Ccircle cx=%2238%22 cy=%22196%22 r=%229%22/%3E%3Ccircle cx=%2229%22 cy=%22182%22 r=%229%22/%3E%3C/g%3E %3Cg fill=%22%23ef4444%22%3E%3Crect x=%220%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%2240%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%2280%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22120%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22160%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22200%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22240%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22280%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22320%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3Crect x=%22360%22 y=%22202%22 width=%2220%22 height=%228%22/%3E%3C/g%3E %3C/svg%3E");
  --scene-space: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22388%22 cy=%22218%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22205%22 cy=%22189%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22265%22 cy=%22126%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2214%22 cy=%227%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22132%22 cy=%2249%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22370%22 cy=%2289%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22112%22 cy=%2226%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22100%22 cy=%2286%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22319%22 cy=%22230%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22334%22 cy=%2288%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2261%22 cy=%2299%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2291%22 cy=%22111%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22369%22 cy=%22101%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22380%22 cy=%2221%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2265%22 cy=%227%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22238%22 cy=%22206%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22305%22 cy=%22121%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22280%22 cy=%22140%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%227%22 cy=%22204%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22383%22 cy=%2235%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22108%22 cy=%227%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22149%22 cy=%22128%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22166%22 cy=%2266%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2231%22 cy=%22189%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22339%22 cy=%22149%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2266%22 cy=%22136%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22261%22 cy=%224%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22311%22 cy=%221%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2272%22 cy=%22121%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2231%22 cy=%2283%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22286%22 cy=%2214%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22141%22 cy=%2210%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22231%22 cy=%22143%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22226%22 cy=%2283%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22141%22 cy=%22115%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22126%22 cy=%22178%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22103%22 cy=%22215%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22213%22 cy=%2231%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22161%22 cy=%2218%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2237%22 cy=%2254%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22397%22 cy=%2239%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22129%22 cy=%22226%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22112%22 cy=%22191%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22249%22 cy=%2241%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22361%22 cy=%22110%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22215%22 cy=%2250%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2247%22 cy=%22184%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22173%22 cy=%22141%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22360%22 cy=%224%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22264%22 cy=%22159%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%2232%22 cy=%2228%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%2243%22 cy=%2267%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22398%22 cy=%2246%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22216%22 cy=%22217%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2276%22 cy=%22137%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22167%22 cy=%2222%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22352%22 cy=%2246%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22137%22 cy=%224%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2242%22 cy=%22155%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22135%22 cy=%22220%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%225%22 cy=%2286%22 r=%221.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22318%22 cy=%2233%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22363%22 cy=%2261%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22134%22 cy=%2212%22 r=%221%22 fill=%22%23fff%22 opacity=%220.5%22/%3E%3Ccircle cx=%22159%22 cy=%22160%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22388%22 cy=%2252%22 r=%221.3%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22256%22 cy=%22172%22 r=%221%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%22177%22 cy=%22205%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.7%22/%3E%3Ccircle cx=%2218%22 cy=%223%22 r=%220.8%22 fill=%22%23fff%22 opacity=%220.9%22/%3E%3Ccircle cx=%22258%22 cy=%22141%22 r=%221%22 fill=%22%23fff%22 opacity=%220.9%22/%3E %3Ccircle cx=%22320%22 cy=%2270%22 r=%2220%22 fill=%22%23e3c27d%22/%3E%3Cellipse cx=%22320%22 cy=%2270%22 rx=%2236%22 ry=%229%22 fill=%22none%22 stroke=%22%23d9b56b%22 stroke-width=%224%22 transform=%22rotate(-18 320 70)%22/%3E %3Ccircle cx=%2270%22 cy=%2260%22 r=%229%22 fill=%22%23e5e7eb%22/%3E%3Ccircle cx=%2267%22 cy=%2257%22 r=%222%22 fill=%22%23cbd5e1%22/%3E %3Ccircle cx=%22200%22 cy=%22560%22 r=%22330%22 fill=%22%2360a5fa%22 opacity=%22.35%22/%3E %3Ccircle cx=%22200%22 cy=%22560%22 r=%22318%22 fill=%22%232563eb%22/%3E %3Cpath d=%22M60 262 q40 -24 90 -10 q30 10 20 30 q-50 10 -110 -20Z%22 fill=%22%2322c55e%22/%3E%3Cpath d=%22M230 250 q50 -14 90 4 q10 20 -30 24 q-40 0 -60 -28Z%22 fill=%22%2316a34a%22/%3E %3Cellipse cx=%22160%22 cy=%22292%22 rx=%2260%22 ry=%228%22 fill=%22%23fff%22 opacity=%22.5%22/%3E %3C/svg%3E");
  --scene-farm: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cg fill=%22%23fff%22 opacity=%22.95%22%3E%3Cellipse cx=%22300%22 cy=%2250%22 rx=%2234%22 ry=%2212%22/%3E%3Cellipse cx=%22322%22 cy=%2242%22 rx=%2222%22 ry=%2212%22/%3E%3Cellipse cx=%22110%22 cy=%2280%22 rx=%2226%22 ry=%229%22/%3E%3Cellipse cx=%22126%22 cy=%2274%22 rx=%2216%22 ry=%229%22/%3E%3C/g%3E %3Cpath d=%22M0 175 Q90 135 190 162 T400 150 V300 H0Z%22 fill=%22%239bd673%22/%3E %3Cpath d=%22M0 212 Q120 180 240 205 T400 196 V300 H0Z%22 fill=%22%236fbf4a%22/%3E %3Cg stroke=%22%235aa83a%22 stroke-width=%223%22 fill=%22none%22 opacity=%22.7%22%3E%3Cpath d=%22M10 250 Q120 225 230 245%22/%3E%3Cpath d=%22M0 268 Q130 242 260 262%22/%3E%3Cpath d=%22M0 286 Q140 262 290 280%22/%3E%3C/g%3E %3Crect x=%2244%22 y=%22160%22 width=%227%22 height=%2234%22 fill=%22%237a5230%22/%3E%3Ccircle cx=%2247%22 cy=%22150%22 r=%2222%22 fill=%22%233f8f3f%22/%3E%3Ccircle cx=%2234%22 cy=%22160%22 r=%2214%22 fill=%22%234caf50%22/%3E%3Ccircle cx=%2260%22 cy=%22158%22 r=%2215%22 fill=%22%234caf50%22/%3E %3Crect x=%22330%22 y=%22128%22 width=%2224%22 height=%2278%22 rx=%223%22 fill=%22%23cfd8dc%22/%3E%3Cpath d=%22M330 130 Q342 108 354 130Z%22 fill=%22%23b0bec5%22/%3E%3Cg stroke=%22%23b0bec5%22 stroke-width=%222%22%3E%3Cpath d=%22M330 150h24M330 170h24M330 190h24%22/%3E%3C/g%3E %3Crect x=%22252%22 y=%22150%22 width=%2276%22 height=%2258%22 fill=%22%23c0392b%22/%3E%3Cpath d=%22M245 153 290 116 335 153Z%22 fill=%22%238e2a20%22/%3E %3Crect x=%22282%22 y=%22128%22 width=%2216%22 height=%2213%22 fill=%22%23f5e6c8%22/%3E %3Crect x=%22274%22 y=%22172%22 width=%2232%22 height=%2236%22 fill=%22%23f5e6c8%22/%3E%3Cpath d=%22M274 172l32 36M306 172l-32 36%22 stroke=%22%23c0392b%22 stroke-width=%223%22/%3E %3Cg fill=%22%23f5e6c8%22%3E%3Crect x=%220%22 y=%22236%22 width=%22400%22 height=%225%22/%3E%3Crect x=%220%22 y=%22250%22 width=%22400%22 height=%225%22/%3E %3Crect x=%228%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%2248%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%2288%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22128%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E %3Crect x=%22168%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22208%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22248%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22288%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E %3Crect x=%22328%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3Crect x=%22368%22 y=%22228%22 width=%227%22 height=%2234%22 rx=%222%22/%3E%3C/g%3E %3Cg fill=%22%23e3b94f%22%3E%3Cpath d=%22M20 300 l4-22 4 22Z%22/%3E%3Cpath d=%22M60 300 l3-18 3 18Z%22/%3E%3Cpath d=%22M150 300 l4-20 4 20Z%22/%3E%3Cpath d=%22M230 300 l3-24 3 24Z%22/%3E%3Cpath d=%22M320 300 l4-19 4 19Z%22/%3E%3Cpath d=%22M380 300 l3-22 3 22Z%22/%3E%3C/g%3E %3C/svg%3E");
  --scene-jungle: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cg fill=%22%239ca3af%22 opacity=%22.7%22%3E%3Ccircle cx=%22262%22 cy=%2270%22 r=%2212%22/%3E%3Ccircle cx=%22276%22 cy=%2256%22 r=%2215%22/%3E%3Ccircle cx=%22292%22 cy=%2242%22 r=%2218%22/%3E%3C/g%3E %3Cpath d=%22M184 240 252 96h22l68 144Z%22 fill=%22%237a4a35%22/%3E%3Cpath d=%22M252 96q11 9 22 0l-3 10-5-5-3 9-4-8-4 6Z%22 fill=%22%23ff6a1a%22/%3E%3Cellipse cx=%22263%22 cy=%2296%22 rx=%2211%22 ry=%223%22 fill=%22%23ffd23f%22/%3E %3Cg fill=%22%234a3a5a%22%3E%3Cpath d=%22M80 60 l10-6 6 5 6-5 10 6-10-2-6 4-6-4Z%22/%3E%3Cpath d=%22M140 40 l7-4 4 3 4-3 7 4-7-1-4 3-4-3Z%22/%3E%3Cpath d=%22M340 120 l8-5 5 4 5-4 8 5-8-2-5 3-5-3Z%22/%3E%3C/g%3E %3Cpath d=%22M0 200 Q100 170 200 195 T400 185 V300 H0Z%22 fill=%22%234f8f2f%22/%3E %3Cpath d=%22M0 238 Q120 215 240 235 T400 228 V300 H0Z%22 fill=%22%233f7d27%22/%3E %3Cpath d=%22M34 300 Q30 220 52 150%22 stroke=%22%238b5a2b%22 stroke-width=%229%22 fill=%22none%22 stroke-linecap=%22round%22/%3E %3Cg fill=%22%232f7d32%22%3E%3Cpath d=%22M52 150 q-40 -6 -56 18 q30 -16 56 -18Z%22/%3E%3Cpath d=%22M52 150 q-24 -30 -58 -24 q36 4 58 24Z%22/%3E%3Cpath d=%22M52 150 q10 -36 40 -42 q-26 18 -40 42Z%22/%3E%3Cpath d=%22M52 150 q40 -10 60 12 q-30 -10 -60 -12Z%22/%3E%3Cpath d=%22M52 150 q22 18 30 46 q-14 -26 -30 -46Z%22/%3E%3C/g%3E %3Cpath d=%22M368 300 Q372 230 352 170%22 stroke=%22%238b5a2b%22 stroke-width=%228%22 fill=%22none%22 stroke-linecap=%22round%22/%3E %3Cg fill=%22%232f7d32%22%3E%3Cpath d=%22M352 170 q40 -6 56 18 q-30 -16 -56 -18Z%22/%3E%3Cpath d=%22M352 170 q24 -30 58 -24 q-36 4 -58 24Z%22/%3E%3Cpath d=%22M352 170 q-10 -36 -40 -42 q26 18 40 42Z%22/%3E%3Cpath d=%22M352 170 q-40 -10 -60 12 q30 -10 60 -12Z%22/%3E%3C/g%3E %3Cg fill=%22%232f6b1f%22%3E%3Cpath d=%22M0 300 q20 -50 60 -60 q-30 24 -40 60Z%22/%3E%3Cpath d=%22M60 300 q10 -40 46 -48 q-26 20 -30 48Z%22/%3E%3Cpath d=%22M300 300 q14 -46 50 -54 q-28 22 -34 54Z%22/%3E%3Cpath d=%22M350 300 q20 -40 50 -44 q-24 18 -32 44Z%22/%3E%3Cpath d=%22M160 300 q16 -30 44 -34 q-22 14 -28 34Z%22/%3E%3C/g%3E %3Cg fill=%22%232a4a18%22 opacity=%22.55%22%3E%3Cpath d=%22M120 262 l4 -8 4 8 4 -8 4 8 -8 4Z%22/%3E%3Cpath d=%22M196 276 l4 -8 4 8 4 -8 4 8 -8 4Z%22/%3E%3Cpath d=%22M262 260 l4 -8 4 8 4 -8 4 8 -8 4Z%22/%3E%3C/g%3E %3C/svg%3E");
  --scene-spy: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22330%22 cy=%2250%22 r=%2218%22 fill=%22%23d9f99d%22 opacity=%22.85%22/%3E%3Ccircle cx=%22324%22 cy=%2246%22 r=%2218%22 fill=%22%23050d08%22 opacity=%22.0%22/%3E %3Ccircle cx=%22213%22 cy=%226%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22159%22 cy=%2295%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22290%22 cy=%22113%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22182%22 cy=%2253%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22213%22 cy=%222%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22392%22 cy=%22102%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22186%22 cy=%2282%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22100%22 cy=%2250%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22372%22 cy=%2251%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22104%22 cy=%22120%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%223%22 cy=%2255%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2280%22 cy=%2254%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2258%22 cy=%22105%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2246%22 cy=%2251%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22295%22 cy=%22113%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22186%22 cy=%2258%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22395%22 cy=%2220%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2266%22 cy=%221%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2226%22 cy=%2270%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2272%22 cy=%2282%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22203%22 cy=%2211%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22293%22 cy=%2279%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22189%22 cy=%2294%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22258%22 cy=%2221%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2274%22 cy=%2244%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22145%22 cy=%2220%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22266%22 cy=%2221%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%2234%22 cy=%2213%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22196%22 cy=%2262%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E%3Ccircle cx=%22385%22 cy=%22103%22 r=%221%22 fill=%22%23bbf7d0%22 opacity=%22.6%22/%3E %3Crect x=%220%22 y=%22199%22 width=%2245%22 height=%22101%22 fill=%22%230f2a1a%22/%3E%3Crect x=%2247%22 y=%22182%22 width=%2240%22 height=%22118%22 fill=%22%230b1f14%22/%3E%3Crect x=%2289%22 y=%22173%22 width=%2242%22 height=%22127%22 fill=%22%230a1a10%22/%3E%3Crect x=%22133%22 y=%22173%22 width=%2246%22 height=%22127%22 fill=%22%230f2a1a%22/%3E%3Crect x=%22184%22 y=%22160%22 width=%2247%22 height=%22140%22 fill=%22%230b1f14%22/%3E%3Crect x=%22233%22 y=%22199%22 width=%2238%22 height=%22101%22 fill=%22%230f2a1a%22/%3E%3Crect x=%22273%22 y=%22130%22 width=%2230%22 height=%22170%22 fill=%22%230b1f14%22/%3E%3Crect x=%22305%22 y=%22167%22 width=%2249%22 height=%22133%22 fill=%22%230a1a10%22/%3E%3Crect x=%22356%22 y=%22135%22 width=%2238%22 height=%22165%22 fill=%22%230a1a10%22/%3E%3Crect x=%22397%22 y=%22131%22 width=%2247%22 height=%22169%22 fill=%22%230a1a10%22/%3E%3Crect x=%225%22 y=%22207%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2223%22 y=%22243%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2232%22 y=%22243%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2214%22 y=%22255%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2223%22 y=%22255%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2223%22 y=%22267%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%225%22 y=%22279%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2214%22 y=%22279%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2223%22 y=%22279%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2223%22 y=%22291%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2232%22 y=%22291%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2270%22 y=%22190%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2261%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2270%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2279%22 y=%22202%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22214%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2279%22 y=%22214%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2261%22 y=%22238%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2279%22 y=%22238%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22262%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2252%22 y=%22274%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2261%22 y=%22286%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2270%22 y=%22286%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%2294%22 y=%22181%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2294%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22103%22 y=%22205%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22103%22 y=%22217%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22112%22 y=%22217%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22121%22 y=%22241%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%2294%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22103%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22121%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22103%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22112%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%2294%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22103%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22121%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22165%22 y=%22181%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22138%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22147%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22156%22 y=%22193%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22156%22 y=%22205%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22138%22 y=%22217%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22156%22 y=%22229%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22165%22 y=%22229%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22147%22 y=%22241%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22138%22 y=%22253%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22147%22 y=%22253%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22156%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22165%22 y=%22265%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22147%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22156%22 y=%22277%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22138%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22165%22 y=%22289%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22198%22 y=%22168%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22189%22 y=%22180%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22189%22 y=%22192%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22207%22 y=%22192%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22207%22 y=%22204%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22198%22 y=%22216%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22207%22 y=%22216%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22198%22 y=%22228%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22189%22 y=%22240%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22198%22 y=%22240%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22216%22 y=%22240%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22207%22 y=%22252%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22198%22 y=%22276%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22256%22 y=%22219%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22256%22 y=%22243%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22256%22 y=%22255%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22238%22 y=%22267%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22278%22 y=%22138%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22296%22 y=%22138%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22162%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22296%22 y=%22174%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22278%22 y=%22186%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22287%22 y=%22186%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22296%22 y=%22186%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22278%22 y=%22210%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22210%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22278%22 y=%22222%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22222%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22278%22 y=%22234%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22278%22 y=%22246%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22296%22 y=%22258%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22296%22 y=%22270%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22278%22 y=%22282%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22287%22 y=%22282%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22296%22 y=%22282%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22310%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22337%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22346%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22310%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22328%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22346%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22319%22 y=%22211%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22337%22 y=%22211%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22337%22 y=%22223%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22346%22 y=%22223%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22319%22 y=%22247%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22328%22 y=%22247%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22319%22 y=%22259%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22310%22 y=%22271%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22328%22 y=%22271%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22310%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22346%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22379%22 y=%22143%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22370%22 y=%22167%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22379%22 y=%22167%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22361%22 y=%22191%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22379%22 y=%22191%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22361%22 y=%22203%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22370%22 y=%22203%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22379%22 y=%22215%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22370%22 y=%22239%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22379%22 y=%22239%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22379%22 y=%22251%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22379%22 y=%22263%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22361%22 y=%22275%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22370%22 y=%22287%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22420%22 y=%22139%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22420%22 y=%22151%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22151%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22402%22 y=%22163%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22163%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22411%22 y=%22175%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22402%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22420%22 y=%22187%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22402%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22411%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22420%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22429%22 y=%22199%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22211%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22223%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22402%22 y=%22235%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E%3Crect x=%22411%22 y=%22235%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22235%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22247%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22420%22 y=%22259%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22411%22 y=%22271%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22402%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%221%22/%3E%3Crect x=%22411%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.5%22/%3E%3Crect x=%22429%22 y=%22283%22 width=%224%22 height=%225%22 fill=%22%234ade80%22 opacity=%220.8%22/%3E %3Crect x=%22180%22 y=%22100%22 width=%223%22 height=%2240%22 fill=%22%230f2a1a%22/%3E%3Ccircle cx=%22181.5%22 cy=%2298%22 r=%223%22 fill=%22%23ef4444%22/%3E %3C/svg%3E");
}
/* the picture tiles dress for each game's world (found ones keep their green tick) */
body.game-on #shopBody .tile { background: var(--tile-bg, var(--surface)); border-color: var(--tile-line, var(--line)); color: var(--tile-ink, inherit);
  box-shadow: 0 4px 0 var(--tile-edge, var(--tile-line, var(--line))), var(--tile-glow, 0 0 0 transparent); }
body.game-on #shopBody .tile .e { background: var(--tile-pic, color-mix(in srgb, var(--t, #999) 15%, var(--surface))); }
body.game-on #shopBody .tile.owned { box-shadow: inset 0 0 0 4px var(--c), 0 4px 0 var(--tile-edge, var(--line)); }   /* two kids: whose it is stays clear */
body.game-on #shopBody .tile.done { background: color-mix(in srgb, var(--ok) 22%, var(--tile-bg-solid, var(--surface))); border-color: var(--ok); box-shadow: 0 4px 0 color-mix(in srgb, var(--ok) 70%, #000); }
body.game-on.game-race { --tile-bg: linear-gradient(180deg, #4b5563, #374151); --tile-bg-solid: #374151; --tile-line: #fbbf24; --tile-edge: #b45309; --tile-ink: #f9fafb; --tile-pic: rgba(255,255,255,.1); }
body.game-on.game-space { --tile-bg: radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.5px) 0 0 / 23px 29px, linear-gradient(160deg, #1e1b4b, #0f172a);
  --tile-bg-solid: #1e1b4b; --tile-line: #22d3ee; --tile-edge: #0e7490; --tile-ink: #e0e7ff; --tile-pic: radial-gradient(circle at 40% 35%, rgba(167,139,250,.45), rgba(15,23,42,.6));
  --tile-glow: 0 0 14px rgba(34,211,238,.35); }
body.game-on.game-farm { --tile-bg: repeating-linear-gradient(180deg, #dcae74 0 22px, #c9965b 22px 24px); --tile-bg-solid: #dcae74; --tile-line: #8b5a2b;
  --tile-edge: #6b4423; --tile-ink: #3b2410; --tile-pic: #fff8e7; }
body.game-on.game-dino { --tile-bg: radial-gradient(circle at 20% 80%, rgba(0,0,0,.06) 0 6px, transparent 7px) 0 0 / 40px 46px, #eadfc4; --tile-bg-solid: #eadfc4;
  --tile-line: #9a7b4f; --tile-edge: #6b5233; --tile-ink: #3b2a12; --tile-pic: radial-gradient(circle at 40% 35%, #e3f2c8, #b9d98f); }
body.game-on.game-spy { --tile-bg: repeating-linear-gradient(0deg, rgba(34,197,94,.06) 0 1px, transparent 1px 4px), #04140a; --tile-bg-solid: #04140a;
  --tile-line: #22c55e; --tile-edge: #14532d; --tile-ink: #86efac; --tile-pic: rgba(34,197,94,.12); }
body.game-on.game-spy #shopBody .tile { font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
body.game-on .race-dock .race-text { font-size: 1.05rem; margin-bottom: 0; }
body.game-on .race-dock .race { height: 46px; margin: 2px 4px 6px; }
body.game-on .race-dock .race-track, body.game-on .race-dock .race-fill { top: 20px; }
body.game-on .race-dock .race-cart { font-size: 1.9rem; }
body.game-on .race-dock .race-flag { font-size: 1.5rem; }
body.game-on .race-dock .game-extra { font-size: 1rem; margin: 0 0 6px; }
body.game-race { --dock-bg: rgba(17, 24, 39, .93); --dock-ink: #f8fafc; }
body.game-on.game-race .race-dock { padding-bottom: 14px; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) left bottom / 12px 12px repeat-x, var(--dock-bg); }
body.game-on.game-space .race-dock { background: radial-gradient(circle, #64748b 0 2px, transparent 2.5px) 8px 8px / calc(100% - 16px) 30px, linear-gradient(180deg, #1e293b, #0f172a);
  border: 2px solid #22d3ee; border-top: 0; box-shadow: 0 0 18px rgba(34,211,238,.25); }
body.game-on.game-spy .race-dock { background: repeating-linear-gradient(0deg, rgba(34,197,94,.08) 0 1px, transparent 1px 4px), #020604; border: 2px solid #22c55e; border-top: 0; }
body.game-space { --dock-bg: rgba(10, 16, 48, .9); --dock-ink: #c7d2fe; }
body.game-farm { --dock-bg: rgba(147, 101, 58, .94); --dock-ink: #fff8e7; }
body.game-on.game-farm .race-dock { background: repeating-linear-gradient(180deg, #a0703f 0 16px, #8f6236 16px 18px); border: 3px solid #6b4423; border-top: 0; }
body.game-on.game-dino .race-dock { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.06) 0 18px, transparent 19px) 0 0 / 90px 64px, linear-gradient(180deg, #5b5248, #3f3830);
  border: 3px solid #2a2520; border-top: 0; }
body.game-dino { --dock-bg: rgba(47, 59, 18, .92); --dock-ink: #fde68a; }
body.game-spy { --dock-bg: rgba(3, 12, 6, .92); --dock-ink: #86efac; }
body.game-on.game-spy #shopBody .race-dock .game-extra { color: #4ade80; }

/* each game's world, edge to edge */
body.game-on.game-race { --game-ink: #f8fafc; background: var(--scene-race) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%) fixed !important; }   /* the stadium */
body.game-on.game-space { --game-ink: #c7d2fe; background:
  radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.6px) 0 0 / 61px 67px,
  radial-gradient(circle, rgba(255,255,255,.55) 0 .8px, transparent 1.3px) 23px 31px / 43px 47px,
  radial-gradient(circle at 80% 15%, rgba(167,139,250,.45), transparent 35%),
  radial-gradient(circle at 15% 85%, rgba(34,211,238,.25), transparent 40%), #070b24 !important; animation: ss-starfield 60s linear infinite; }
@keyframes ss-starfield { to { background-position: 0 340px, 17px 541px, 0 0, 0 0, 0 0; } }
body.game-on.game-farm { --game-ink: #234d16; background:   /* the farm: hills, the barn and silo, a fence along the bottom */
  radial-gradient(circle at 88% 9%, #fde047 0 30px, rgba(253,224,71,.35) 31px 48px, transparent 49px) fixed,
  var(--scene-farm) center bottom / 100% auto no-repeat fixed,
  linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%) fixed !important; }
body.game-on.game-dino { --game-ink: #3b2a12; background:   /* the jungle at sunset: a smoking volcano far off, palms and ferns */
  var(--scene-jungle) center bottom / 100% auto no-repeat fixed,
  linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%) fixed !important; }
/* Dino: the world changes to suit the thing just found (the newest find's aisle) */
body.game-on.game-dino[class*="dz-"] :is(.race-text, .game-extra, #shopBody .aisle-h) { text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
body.game-on.game-dino.dz-frozen { --game-ink: #17365c; background:   /* snowy mountains */
  radial-gradient(circle, #fff 0 2px, transparent 2.5px) 0 0 / 46px 52px, radial-gradient(circle, rgba(255,255,255,.8) 0 1.4px, transparent 2px) 20px 26px / 38px 44px,
  linear-gradient(135deg, transparent 0 60%, #f4fbff 60% 100%) 0 18% / 50% 30% no-repeat, linear-gradient(225deg, transparent 0 60%, #e6f4fb 60% 100%) 100% 18% / 50% 30% no-repeat,
  linear-gradient(180deg, #9fd3f2 0%, #cfeaf8 30%, #f4fbff 31%, #e1f0f8 100%) fixed !important; }
body.game-on.game-dino.dz-produce { --game-ink: #f4ffe9; background:   /* fern forest */
  radial-gradient(ellipse 40% 26% at 6% 30%, rgba(20,80,30,.9) 0 60%, transparent 61%), radial-gradient(ellipse 36% 22% at 96% 52%, rgba(20,80,30,.9) 0 60%, transparent 61%),
  radial-gradient(circle at 20% 80%, rgba(60,140,50,.55) 0 40px, transparent 41px) 0 0 / 160px 180px,
  linear-gradient(180deg, #4f8a3a 0%, #2f6b28 22%, #245a22 60%, #173f17 100%) fixed !important; }
body.game-on.game-dino.dz-bakery { --game-ink: #4a2f0e; background:   /* sandy dunes */
  radial-gradient(ellipse 80% 22% at 20% 62%, #f0c977 0 60%, transparent 61%), radial-gradient(ellipse 70% 20% at 85% 78%, #e3b25f 0 60%, transparent 61%),
  radial-gradient(circle at 85% 12%, #fff3b0 0 30px, transparent 31px),
  linear-gradient(180deg, #ffd98a 0%, #ffe9b8 40%, #e8c27a 41%, #d9a75a 100%) fixed !important; }
body.game-on.game-dino.dz-dairy { --game-ink: #234d16; background:   /* cloud meadow */
  radial-gradient(ellipse 60% 40px at 20% 14%, #fff 0 60%, transparent 61%), radial-gradient(ellipse 50% 32px at 70% 24%, #fff 0 60%, transparent 61%),
  radial-gradient(circle, #fff 0 3px, transparent 3.5px) 10px 0 / 70px 60px,
  linear-gradient(180deg, #bfe6ff 0%, #e6f6ff 40%, #a6dc7c 41%, #86c75a 100%) fixed !important; }
body.game-on.game-dino.dz-meat { --game-ink: #fff1e6; background:   /* rocky canyon */
  linear-gradient(160deg, transparent 0 55%, #8a3b22 55%) 0 30% / 50% 40% no-repeat, linear-gradient(200deg, transparent 0 55%, #7a321c 55%) 100% 40% / 50% 40% no-repeat,
  linear-gradient(180deg, #f39a6b 0%, #e5794a 35%, #a8482a 36%, #6e2c18 100%) fixed !important; }
body.game-on.game-dino.dz-pantry { --game-ink: #fff4dc; background:   /* crystal cave */
  radial-gradient(circle, rgba(167,139,250,.8) 0 3px, transparent 4px) 0 0 / 90px 110px, radial-gradient(circle, rgba(94,234,212,.7) 0 2px, transparent 3px) 40px 50px / 70px 90px,
  radial-gradient(ellipse 70% 50% at 50% 40%, #5a3a26, transparent 70%),
  linear-gradient(180deg, #2e1d12 0%, #3f2a1b 60%, #24160c 100%) fixed !important; }
body.game-on.game-dino.dz-snacks { --game-ink: #fff0fb; background:   /* berry bushes */
  radial-gradient(circle, #8b5cf6 0 5px, transparent 6px) 0 0 / 60px 70px, radial-gradient(circle, #ec4899 0 4px, transparent 5px) 30px 35px / 60px 70px,
  linear-gradient(180deg, #7c3a8f 0%, #a2508c 40%, #3f7a3a 41%, #2c5c28 100%) fixed !important; }
body.game-on.game-dino.dz-drinks { --game-ink: #f0fbff; background:   /* waterfall lagoon */
  repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 4px, transparent 4px 26px) 50% 0 / 40% 55% no-repeat,
  radial-gradient(circle, rgba(255,255,255,.5) 0 2px, transparent 3px) 0 0 / 40px 30px,
  linear-gradient(180deg, #4fb3e8 0%, #2b8fcf 55%, #1769a8 56%, #0e4a7c 100%) fixed !important; }
body.game-on.game-dino.dz-household { --game-ink: #effffa; background:   /* bubble swamp */
  radial-gradient(circle, transparent 0 9px, rgba(255,255,255,.55) 10px 11px, transparent 12px) 0 0 / 80px 90px,
  radial-gradient(circle, transparent 0 5px, rgba(255,255,255,.5) 6px 7px, transparent 8px) 40px 45px / 60px 70px,
  linear-gradient(180deg, #3f8f80 0%, #2f7268 50%, #1f5149 100%) fixed !important; }
body.game-on.game-dino.dz-personal { --game-ink: #4a1d34; background:   /* flower meadow */
  radial-gradient(circle, #f472b6 0 4px, transparent 5px) 0 0 / 50px 56px, radial-gradient(circle, #fde047 0 3px, transparent 4px) 25px 28px / 50px 56px,
  linear-gradient(180deg, #ffd6e7 0%, #ffe9f2 35%, #b5e08f 36%, #8fcf6a 100%) fixed !important; }
body.game-on.game-dino.dz-baby { --game-ink: #3d3410; background:   /* duck pond */
  radial-gradient(ellipse 45% 18% at 50% 72%, #7cc6ef 0 60%, transparent 61%),
  linear-gradient(180deg, #fff3b8 0%, #fff8d9 40%, #b9e08a 41%, #9fd06c 100%) fixed !important; }
body.game-on.game-dino.dz-pets { --game-ink: #fff4e6; background:   /* autumn woods */
  radial-gradient(circle, #f59e0b 0 5px, transparent 6px) 0 0 / 70px 80px, radial-gradient(circle, #dc2626 0 4px, transparent 5px) 35px 40px / 70px 80px,
  linear-gradient(180deg, #e8833a 0%, #c9622a 45%, #7a4a26 46%, #5a3418 100%) fixed !important; }
body.game-on.game-spy { --game-ink: #86efac; background:   /* the city at night, under a green grid */
  repeating-linear-gradient(0deg, rgba(34,197,94,.06) 0 1px, transparent 1px 32px) fixed,
  repeating-linear-gradient(90deg, rgba(34,197,94,.06) 0 1px, transparent 1px 32px) fixed,
  var(--scene-spy) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #020604 0%, #06140b 100%) fixed !important; }
body.game-on.game-spy::after { content: ""; position: fixed; z-index: 0; left: 50%; top: 55%; width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(74,222,128,.16), transparent 18%); border-radius: 50%; animation: ss-radar 6s linear infinite; }
body.game-on.game-spy main { position: relative; z-index: 1; }
body.game-on.game-space::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--scene-space) center bottom / 100% auto no-repeat; }   /* Earth, Saturn, the Moon */
body.game-on.game-space main { position: relative; z-index: 1; }
@keyframes ss-radar { to { transform: rotate(360deg); } }

/* the game bar */
.game-hud { position: fixed; left: 0; right: 0; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px;
  padding: max(8px, env(safe-area-inset-top)) 10px 8px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .25s ease; }
.game-hud[hidden] { display: none; }
body.hud-away .game-hud { transform: translateY(-100%); }
.hud-title { flex: 1; text-align: center; font-weight: 700; font-size: 1rem; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-btn { min-height: 44px; border: 0; cursor: pointer; font: 700 .92rem var(--font); border-radius: 999px; padding: 8px 13px; white-space: nowrap; }
.hud-btn:active { transform: scale(.97); }
.hud-sound { font-size: 1.05rem; padding: 6px 10px; } .hud-sound[aria-pressed="false"] { opacity: .7; }
.hud-add { box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.hud-exit { position: relative; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.hold-ring { position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.35); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hud-exit.holding .hold-ring { transform: scaleX(1); transition: transform 1s linear; }
/* Finish shop: a small button at the very end of the list, not a big target for little hands (held for a second in Kid mode).
   Once everything is found it moves to the bottom of the screen and gently pulses. */
#finishBar { position: static; margin: 0; padding: 22px 0 8px; display: flex; flex-direction: column; align-items: center; pointer-events: auto; }
#finishBar.all-done { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); padding: 0 16px; pointer-events: none; }
body.game-on #finishBar.all-done { bottom: max(14px, env(safe-area-inset-bottom)); }
#finishBar.all-done .finish-btn { animation: finishPulse 1.8s ease-in-out infinite; }
@keyframes finishPulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-lg), 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); }
  50% { transform: scale(1.06); box-shadow: var(--shadow-lg), 0 0 0 12px color-mix(in srgb, var(--brand) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { #finishBar.all-done .finish-btn { animation: none; } }
#finishBar[hidden] { display: none; }
#finishBar .finish-nudge { align-self: stretch; }
.finish-btn { position: relative; overflow: hidden; min-height: 40px; padding: 8px 16px; font-size: .95rem; border-radius: 14px; }
.finish-btn.holding .hold-ring { transform: scaleX(1); transition: transform 1s linear; }
@media (max-width: 400px) { .hud-exit span { display: none; } .hud-title { font-size: .9rem; } }
.game-race .game-hud { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) bottom / 16px 16px repeat-x, linear-gradient(#111827ee, #111827ee); background-size: 16px 6px, auto; color: #fff; }
.game-race :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.15); color: #fff; } .game-race .hud-add { background: #facc15; color: #111; }
.game-space .game-hud { background: linear-gradient(180deg, rgba(10,16,48,.95), rgba(10,16,48,.75)); color: #a5f3fc; border-bottom: 1px solid rgba(34,211,238,.5); }
.game-space :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(34,211,238,.12); color: #a5f3fc; border: 1px solid rgba(34,211,238,.5); } .game-space .hud-add { background: linear-gradient(90deg, #22d3ee, #a78bfa); color: #0b1020; }
.game-farm .game-hud { background: repeating-linear-gradient(0deg, #a0703f 0 9px, #93653a 9px 18px); color: #fff8e7; border-bottom: 3px solid #6b4423; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.game-farm :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,248,231,.2); color: #fff8e7; } .game-farm .hud-add { background: #fde047; color: #5a3a1a; }
.game-dino .game-hud { background: linear-gradient(180deg, rgba(36,72,27,.97), rgba(47,93,36,.9)); color: #fde68a; border-bottom: 3px solid #8a6a3a; }
.game-dino :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(253,230,138,.15); color: #fde68a; } .game-dino .hud-add { background: #f97316; color: #fff; }
.game-spy .game-hud { background: rgba(3,12,6,.92); color: #4ade80; border-bottom: 1px solid rgba(74,222,128,.5); font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.game-spy :is(.hud-exit, .hud-sound, .hud-swap) { background: transparent; color: #4ade80; border: 1px solid rgba(74,222,128,.6); } .game-spy .hud-add { background: #4ade80; color: #04140a; }

/* the intro when a game starts */
.game-intro { position: fixed; inset: 0; z-index: 116; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px;
  text-align: center; color: #fff; cursor: pointer; animation: ss-fn-in .25s ease both; }
.game-intro.out { animation: ss-fn-out .35s ease forwards; }
.gi-hero { font-size: 6rem; line-height: 1; filter: drop-shadow(0 10px 16px rgba(0,0,0,.35)); animation: ss-gi-hero .7s cubic-bezier(.3, 1.5, .5, 1) both; }
.gi-name { margin: 10px 0 0; font: 700 2.3rem/1.05 var(--font); letter-spacing: .04em; text-shadow: 0 4px 0 rgba(0,0,0,.25); animation: ss-fn-head .5s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
.gi-goal { margin: 0; max-width: 22em; font-size: 1.1rem; font-weight: 600; opacity: .95; animation: ss-fn-in .4s ease .5s both; }
.gi-count { position: relative; height: 4.2rem; width: 100%; margin-top: 18px; }
.gi-count b { position: absolute; inset: 0; font: 700 3.6rem/1 var(--font); opacity: 0; animation: ss-gi-count .45s ease both; }
.gi-count b:nth-child(1) { animation-delay: .6s; } .gi-count b:nth-child(2) { animation-delay: 1.05s; } .gi-count b:nth-child(3) { animation-delay: 1.5s; }
.gi-count b:nth-child(4) { animation: ss-gi-go .6s cubic-bezier(.3, 1.6, .5, 1) 1.95s both; color: #ffd54a; }
.gi-play { margin-top: 22px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; font: 700 1.3rem var(--font); color: #111; background: #ffd54a;
  box-shadow: 0 6px 0 rgba(0,0,0,.25); cursor: pointer; animation: ss-fn-in .4s ease .6s both, ss-gi-pulse 1.2s ease-in-out 1s infinite; }
.intro-race { background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); color: #f8fafc; }
.intro-race .gi-name { padding: 6px 22px 20px; color: #facc15; border-radius: 8px; text-shadow: none;   /* on a chequered banner */
  background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) left bottom / 12px 12px repeat-x, #111827; }
.gi-race-stage { background: var(--scene-race) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); }
.gi-zoom { position: absolute; left: 0; bottom: 18px; font-size: 3rem; line-height: 1; animation: ss-gi-zoom 1.1s cubic-bezier(.5, 0, .2, 1) .3s both; }
.gi-zoom::before { content: ""; position: absolute; right: 100%; top: 40%; width: 70px; height: 14px; margin-right: 4px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.8) 0 2px, transparent 2px 6px); border-radius: 4px; }
.gi-flag { position: absolute; right: 12%; bottom: 60px; font-size: 2.4rem; transform-origin: 10% 100%; animation: ss-gi-flag .4s ease-in-out infinite alternate; }
@keyframes ss-gi-zoom { from { transform: translateX(-90px); } to { transform: translateX(min(250px, 62vw)); } }
@keyframes ss-gi-flag { to { transform: rotate(-12deg); } }
.intro-space { background: radial-gradient(circle at 75% 20%, rgba(167,139,250,.35), transparent 40%), linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); color: #e0e7ff; }
.gi-space-stage { background: var(--scene-space) center bottom / 100% auto no-repeat, radial-gradient(circle at 75% 20%, rgba(167,139,250,.35), transparent 40%), linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); }
.gi-launch { position: absolute; left: 16%; bottom: 20px; font-size: 3rem; line-height: 1; animation: ss-gi-launch 1.8s cubic-bezier(.5, 0, .7, .4) .5s both; }
.gi-launch::after { content: ""; position: absolute; left: -2px; top: 82%; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, #fde047, #f97316 60%, transparent 70%); box-shadow: -10px 10px 0 2px rgba(249,115,22,.5), -20px 20px 0 1px rgba(253,224,71,.3); }
@keyframes ss-gi-launch { 0%, 20% { transform: translate(0, 0); } 25% { transform: translate(2px, -2px); } 30% { transform: translate(-2px, 0); }
  to { transform: translate(min(220px, 55vw), -240px); } } .intro-space .gi-name { color: #a5f3fc; }
.gi-hopper { position: absolute; left: 4%; bottom: 70px; font-size: 2.6rem; line-height: 1; animation: ss-gi-hops 2s ease-in-out .3s both; }
.gi-steps { position: absolute; left: 4%; right: 34%; bottom: 52px; display: flex; justify-content: space-between; font-size: 1.6rem; }
@keyframes ss-gi-hops { 0% { transform: translate(0, 0); } 16% { transform: translate(min(50px, 12vw), -40px); } 33% { transform: translate(min(90px, 23vw), 0); }
  50% { transform: translate(min(140px, 35vw), -40px); } 66% { transform: translate(min(185px, 47vw), 0); } 83% { transform: translate(min(235px, 59vw), -46px); }
  100% { transform: translate(min(280px, 70vw), -10px); } }
.intro-farm { background: linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); color: #234d16; }
.intro-farm .gi-name { padding: 8px 22px; border-radius: 10px; color: #fff8e7; text-shadow: 0 2px 0 rgba(0,0,0,.3);   /* a wooden sign */
  background: repeating-linear-gradient(180deg, #a0703f 0 14px, #8f6236 14px 16px); box-shadow: 0 5px 0 #6b4423, 0 10px 18px rgba(0,0,0,.25); }
.intro-farm .gi-goal { color: #1f3a12; }
.gi-stage { position: relative; width: min(380px, 94vw); height: 230px; margin-bottom: 8px; border-radius: 22px; overflow: hidden;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); animation: ss-fn-in .4s ease both; }
.gi-farm-stage { background: radial-gradient(circle at 15% 18%, #fde047 0 22px, rgba(253,224,71,.35) 23px 34px, transparent 35px), var(--scene-farm) center bottom / 100% auto no-repeat, linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); }
.gi-tractor { position: absolute; left: 0; bottom: 10px; font-size: 3.2rem; line-height: 1; animation: ss-gi-drive 1.7s cubic-bezier(.3, .7, .4, 1) .2s both; }
.gi-ani { position: absolute; bottom: 58px; font-size: 2rem; line-height: 1; animation: ss-gi-popup .5s cubic-bezier(.3, 1.7, .5, 1) both; }
.gi-ani.a1 { left: 14%; animation-delay: .7s; } .gi-ani.a2 { left: 32%; animation-delay: .95s; } .gi-ani.a3 { left: 50%; animation-delay: 1.2s; } .gi-ani.a4 { left: 66%; animation-delay: 1.45s; }
.gi-ani.a1, .gi-ani.a2, .gi-ani.a3, .gi-ani.a4 { transform-origin: 50% 100%; }
@keyframes ss-gi-drive { from { transform: translateX(-80px); } to { transform: translateX(min(150px, 38vw)); } }
@keyframes ss-gi-popup { from { transform: translateY(40px) scale(.4); opacity: 0; } }
.intro-dino { background: linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); color: #3b2a12; }
.intro-dino .gi-name { padding: 8px 22px; border-radius: 16px 12px 18px 10px; color: #f5e6c8; text-shadow: 0 -1px 0 rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.2);   /* carved on a stone slab */
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0 14px, transparent 15px) 0 0 / 70px 50px, linear-gradient(180deg, #7c7066, #5b5248);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 6px 0 #3f3830, 0 10px 18px rgba(0,0,0,.3); }
.intro-dino .gi-goal { color: #3b2a12; }
.gi-dino-stage { background: var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); }
.gi-walker { position: absolute; left: 0; bottom: 12px; animation: ss-gi-walk 1.8s cubic-bezier(.3, .7, .4, 1) .2s both; }
.gi-walker .dino-art { width: 84px; height: 71px; animation: ss-gi-stomp .3s ease-in-out .2s 6 alternate; }
.gi-nest { position: absolute; right: 22%; bottom: 16px; font-size: 2.6rem; line-height: 1; }
.gi-nest b { position: absolute; left: 50%; bottom: 60%; margin-left: -.5em; font-weight: 400; font-size: 1.6rem; transform-origin: 50% 90%; animation: ss-egg-wobble 1.2s ease-in-out .8s infinite; }
@keyframes ss-gi-walk { from { transform: translateX(-100px); } to { transform: translateX(min(110px, 28vw)); } }
@keyframes ss-gi-stomp { to { transform: translateY(-5px) rotate(-3deg); } }
.intro-spy { background: linear-gradient(180deg, #020604 0%, #06140b 100%); color: #b9f6ca; font-family: ui-monospace, Consolas, monospace; }
.intro-spy .gi-name { color: #ef4444; font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; padding: 4px 14px;   /* stamped TOP SECRET */
  border: 4px solid #ef4444; border-radius: 6px; transform: rotate(-5deg); text-shadow: none; }
.gi-spy-stage { background: var(--scene-spy) center bottom / 100% auto no-repeat, linear-gradient(180deg, #020604 0%, #06140b 100%); }
.gi-beam { position: absolute; bottom: 0; width: 60px; height: 260px; transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgba(187,247,208,.35), transparent); clip-path: polygon(45% 100%, 55% 100%, 100% 0, 0 0); animation: ss-gi-beam 2.4s ease-in-out infinite alternate; }
.gi-beam.b1 { left: 22%; } .gi-beam.b2 { left: 64%; animation-delay: -1.2s; }
.gi-agent { position: absolute; left: 0; bottom: 14px; font-size: 3rem; line-height: 1; animation: ss-gi-sneak 1.8s ease-out .3s both; }
.gi-laser { position: absolute; left: 0; right: 0; height: 2px; background: #ef4444; box-shadow: 0 0 6px #ef4444; opacity: 0; animation: ss-gi-laser 1s ease-in-out .8s infinite; }
.gi-laser.l1 { bottom: 40px; } .gi-laser.l2 { bottom: 70px; animation-delay: 1.3s; }
@keyframes ss-gi-beam { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes ss-gi-sneak { from { transform: translateX(-80px); } to { transform: translateX(min(150px, 38vw)); } }
@keyframes ss-gi-laser { 50% { opacity: .9; } }
@keyframes ss-gi-hero { from { transform: scale(.2) translateY(40px); opacity: 0; } }
@keyframes ss-gi-count { 0% { transform: scale(1.8); opacity: 0; } 30% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(.7); opacity: 0; } }
@keyframes ss-gi-go { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ss-gi-pulse { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  body.game-on.game-space, body.game-on.game-spy::after { animation: none !important; }
  .game-intro *, .game-intro { animation-duration: .01s !important; animation-delay: 0s !important; }
}
.pic-svg { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -0.25em; fill: initial; stroke: none; stroke-width: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
/* drawn pictures keep a dark outline on light backgrounds; on dark ones it turns light so the shapes still read */
.pic-svg [stroke="#1f2a44"] { stroke: var(--pic-ol, #1f2a44); }
:root[data-theme="dark"] { --pic-ol: #e9e1ef; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pic-ol: #e9e1ef; } }

/* Household: the everyday cards first, then a quiet Settings group */
.home-group { margin: 26px 4px 10px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* the picker: who's playing, any reward ready, then the games */
.gp-who { width: min(92vw, 420px); margin: 0 0 18px; text-align: center; color: #fff; }
.gp-who > p { margin: 0 0 8px; font-weight: 700; opacity: .9; }
.gp-kids { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gp-kid { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1);
  color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.gp-kid[aria-pressed="true"] { background: var(--c, #ffd23f); border-color: #fff; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.gp-kid.add { border-style: dashed; }
.gp-kid small { opacity: .85; }
.gp-reward { margin: 10px 0 0; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.game-picker { overflow-y: auto; padding-block: 24px; }
/* the list: a small dot in their colour for someone else's item, the amount only when it's more than one, aisle shortcuts */
.who-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--muted)); }
#listBody .row .who-dot { position: absolute; left: 10px; top: 50%; margin-top: -4.5px; }   /* in the margin, so every name lines up */
.added-by { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; color: var(--muted); font-size: .9rem; }
.row .qty-pill { flex: none; }
.qty-pill.one { background: transparent; color: var(--muted); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }   /* every amount on the List tab, ×1 and up, in the same quiet outline */
.row.pending { opacity: .5; }
.aisle-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.aisle-jump .jump { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border-radius: 99px;
  border: 1.5px solid var(--line); background: var(--surface); font: 600 .9rem var(--font); color: var(--text); cursor: pointer; }
.aisle-jump .jump b { font-size: .8rem; color: var(--muted); }
#listBody .aisle { scroll-margin-top: 70px; }
/* the List tab is a plain list: words only (no pictures), thin dashed lines between, like the front page */
#listBody .row { min-height: 52px; padding: 8px 14px 8px 26px; }
#listBody .row + .row { border-top: 1.5px dashed var(--line); }
#listBody .row .nm { font-weight: 500; }
/* swipe left to remove: the row follows the finger, goes red once far enough, then the name is struck through */
#listBody .row { touch-action: pan-y; transition: transform .2s ease, background .15s; }
#listBody .row.dragging { transition: none; }
#listBody .row.swipe-far { background: color-mix(in srgb, #ef4444 20%, var(--surface)); }
#listBody .row .nm { display: inline-block; position: relative; }
#listBody .row.striking .nm::after { content: ""; position: absolute; left: -2px; top: 52%; width: 0; height: 2px; border-radius: 2px; background: currentColor;
  animation: ss-strike .45s ease-out forwards; }
#listBody .row.striking { animation: ss-row-out 1s ease forwards; }
@keyframes ss-strike { to { width: calc(100% + 4px); } }
@keyframes ss-row-out { 0%, 50% { opacity: 1; } to { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { #listBody .row.striking .nm::after { animation: none; width: calc(100% + 4px); } #listBody .row.striking { animation: none; opacity: .5; } }
/* in the game: who's playing, and a small Change that reopens the picker */
.who-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0 0 6px; }
.who-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 3px; border-radius: 99px; font-size: .85rem; font-weight: 700;
  background: rgba(255, 255, 255, .12); color: var(--dock-ink, #fff); }
.who-chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .75rem; color: #fff; background: var(--c, #888); }
.who-change { min-height: 30px; padding: 0 12px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, .35); background: none;
  color: var(--dock-ink, #fff); font: 600 .8rem var(--font); cursor: pointer; }
.race-dock .also { margin: 0 0 4px; font-size: .85rem; opacity: .9; text-align: center; }
.game-intro.game-picker { background: radial-gradient(circle at 50% 20%, #4a3570, #1d1630 70%); }

/* Kiwi Road Trip: snowy mountains, green hills, a pohutukawa and sheep, the road winding south */
:root { --scene-trip: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E %3Cg fill=%22%23fff%22 opacity=%22.9%22%3E%3Cellipse cx=%2280%22 cy=%2240%22 rx=%2236%22 ry=%2211%22/%3E%3Cellipse cx=%22104%22 cy=%2234%22 rx=%2222%22 ry=%2210%22/%3E%3Cellipse cx=%22300%22 cy=%2258%22 rx=%2240%22 ry=%2210%22/%3E%3C/g%3E %3Cpath d=%22M0 170 L60 95 L95 130 L150 70 L205 140 L250 90 L300 150 L345 85 L400 140 V200 H0Z%22 fill=%22%237c93ad%22/%3E %3Cpath d=%22M60 95 L75 113 L68 112 L60 120 L50 108Z M150 70 L168 95 L158 92 L150 100 L138 88Z M250 90 L266 110 L258 108 L250 115 L240 104Z M345 85 L362 106 L352 103 L345 111 L334 99Z%22 fill=%22%23fff%22/%3E %3Cpath d=%22M0 200 Q70 150 140 185 T280 180 T400 175 V300 H0Z%22 fill=%22%235fae45%22/%3E %3Cpath d=%22M0 240 Q90 200 190 232 T400 222 V300 H0Z%22 fill=%22%233f8f34%22/%3E %3Cpath d=%22M150 300 Q190 262 235 248 Q275 236 330 232 L346 236 Q290 244 252 258 Q214 274 196 300Z%22 fill=%22%236b7280%22/%3E %3Cpath d=%22M180 296 Q206 270 240 255 M262 247 Q290 240 318 236%22 stroke=%22%23fde047%22 stroke-width=%223%22 stroke-dasharray=%2210 9%22 fill=%22none%22/%3E %3Cg transform=%22translate(54 196)%22%3E%3Crect x=%22-4%22 y=%220%22 width=%228%22 height=%2234%22 fill=%22%237a4a26%22/%3E%3Ccircle cx=%220%22 cy=%22-8%22 r=%2226%22 fill=%22%232f6b2a%22/%3E%3Ccircle cx=%22-18%22 cy=%222%22 r=%2216%22 fill=%22%232f6b2a%22/%3E%3Ccircle cx=%2218%22 cy=%222%22 r=%2216%22 fill=%22%232f6b2a%22/%3E %3Cg fill=%22%23dc2626%22%3E%3Ccircle cx=%22-14%22 cy=%22-14%22 r=%223%22/%3E%3Ccircle cx=%224%22 cy=%22-22%22 r=%223%22/%3E%3Ccircle cx=%2216%22 cy=%22-8%22 r=%223%22/%3E%3Ccircle cx=%22-6%22 cy=%22-4%22 r=%223%22/%3E%3Ccircle cx=%22-22%22 cy=%224%22 r=%223%22/%3E%3Ccircle cx=%2222%22 cy=%226%22 r=%223%22/%3E%3Ccircle cx=%228%22 cy=%224%22 r=%223%22/%3E%3C/g%3E%3C/g%3E %3Cg fill=%22%23fff%22%3E%3Cellipse cx=%22110%22 cy=%22250%22 rx=%2210%22 ry=%227%22/%3E%3Cellipse cx=%22128%22 cy=%22262%22 rx=%2210%22 ry=%227%22/%3E%3Cellipse cx=%22300%22 cy=%22268%22 rx=%2210%22 ry=%227%22/%3E%3Cellipse cx=%22350%22 cy=%22256%22 rx=%2210%22 ry=%227%22/%3E%3C/g%3E %3Cg fill=%22%231f2937%22%3E%3Ccircle cx=%22118%22 cy=%22248%22 r=%223.5%22/%3E%3Ccircle cx=%22136%22 cy=%22260%22 r=%223.5%22/%3E%3Ccircle cx=%22308%22 cy=%22266%22 r=%223.5%22/%3E%3Ccircle cx=%22358%22 cy=%22254%22 r=%223.5%22/%3E%3C/g%3E %3Cpath d=%22M380 300 q-6 -40 6 -62 q6 18 -2 34 q10 -16 14 -30 q2 30 -10 58Z%22 fill=%22%232f6b2a%22/%3E %3C/svg%3E"); }
.game-extra.planets .stp { flex: none; font-size: 1.05rem; line-height: 1; opacity: .3; filter: grayscale(.8); transition: opacity .5s, filter .5s; }
.game-extra.planets .stp.on { opacity: 1; filter: none; }
.game-extra.planets .stp.next { opacity: .75; filter: none; animation: ss-pl-next 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .game-extra.planets .stp.next { animation: none; } }
body.game-trip .kid-banner { background: linear-gradient(180deg, #9bd4f5 0 55%, #5fae45 55% 100%); color: #14361a; }
body.game-trip .race-track { background: repeating-linear-gradient(90deg, #4b5563 0 14px, #fde047 14px 22px) center / 100% 3px no-repeat, #6b7280; }
body.game-trip .race-fill { background: linear-gradient(90deg, #2f6b2a, #5fae45); }
body.game-on.game-trip { --tile-bg: radial-gradient(circle at 85% 15%, rgba(255,255,255,.35) 0 8px, transparent 9px), linear-gradient(180deg, #e9f7df, #cfeabd);
  --tile-bg-solid: #e9f7df; --tile-line: #3f8f34; --tile-edge: #2f6b2a; --tile-ink: #14361a; --tile-pic: #fff; }
body.game-trip { --dock-bg: rgba(31, 77, 29, .93); --dock-ink: #f0fdf4; }
body.game-on.game-trip .race-dock { background: linear-gradient(180deg, #2f6b2a, #1f4d1d); border: 3px solid #14361a; border-top: 0; }
body.game-on.game-trip { --game-ink: #14361a; background: var(--scene-trip) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%) fixed !important; }
.game-trip .game-hud { background: linear-gradient(180deg, #2f6b2a, #1f4d1d); color: #f0fdf4; border-bottom: 3px solid #fde047; }
.game-trip :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(240,253,244,.18); color: #f0fdf4; } .game-trip .hud-add { background: #fde047; color: #14361a; }
.zoom-trip .ms-badge b { color: #fde047; }
.finale-trip { background: var(--scene-trip) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); color: #14361a; }
.finale-trip .fn-head { color: #2f6b2a; text-shadow: 0 3px 0 #fff; }
.intro-trip { background: linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); color: #14361a; }
.intro-trip .gi-name { padding: 8px 22px; border-radius: 10px; color: #fff; background: #2f6b2a; box-shadow: 0 5px 0 #14361a, 0 10px 18px rgba(0,0,0,.25); }   /* a green road sign */
.gi-trip-stage { background: var(--scene-trip) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); }

/* the end-of-game drawings (FINALE_ART) */
.fn-scene.fn-art { font-size: 0; }
.fn-art svg { width: min(250px, 66vw); height: auto; max-height: 34vh; overflow: visible; stroke: none; }   /* not the icons' outline style */
.fn-art :is(.fa-rays, .fa-rise, .fa-wave, .fa-door, .fa-egg-top, .fa-baby, .fa-vault, .fa-pop) { transform-box: fill-box; }
.fa-rays { transform-origin: center; opacity: .65; animation: fa-spin 14s linear infinite; }
.fa-rise { transform-origin: 50% 100%; animation: fa-rise .9s cubic-bezier(.3, 1.5, .5, 1) .2s both; }
.fa-wave { transform-origin: 0 50%; animation: fa-wave .5s ease-in-out infinite alternate; } .fa-wave.r { transform-origin: 100% 50%; animation-delay: -.25s; }
.fa-shoot line { stroke-dasharray: 26 200; stroke-dashoffset: 226; animation: fa-shoot 1.5s linear infinite; }
.fa-shoot.s2 line { animation-delay: .5s; } .fa-shoot.s3 line { animation-delay: 1s; }
.fa-twinkle { animation: fa-twinkle .8s ease-in-out infinite alternate; }
.fa-door { animation: fa-door .7s cubic-bezier(.4, 0, .3, 1.3) 1.2s both; } .fa-door.l { transform-origin: 0 50%; } .fa-door.r { transform-origin: 100% 50%; }
.fa-egg-top { transform-origin: 100% 100%; animation: fa-shake .12s ease-in-out .9s 4 alternate, fa-hatch .6s cubic-bezier(.3, 1.6, .5, 1) 1.4s both; }
.fa-baby { transform-origin: 50% 100%; animation: fa-peek .6s cubic-bezier(.3, 1.7, .5, 1) 1.6s both; }
.fa-vault { transform-origin: 0 50%; animation: fa-open 1s cubic-bezier(.5, 0, .3, 1) 1s both; }
.fa-glow { animation: fa-glow .8s ease 1.4s both; }
.fa-route { stroke-dasharray: 260; stroke-dashoffset: 260; animation: fa-draw 1.8s ease-in-out .6s forwards; }
.fa-pop { transform-origin: 50% 100%; animation: fa-pop .5s cubic-bezier(.3, 1.8, .5, 1) 2.4s both; }
@keyframes fa-spin { to { transform: rotate(360deg); } }
@keyframes fa-rise { from { transform: translateY(40px) scale(.4); opacity: 0; } }
@keyframes fa-wave { from { transform: skewY(-8deg); } to { transform: skewY(8deg) scaleX(.9); } }
@keyframes fa-shoot { to { stroke-dashoffset: 0; } }
@keyframes fa-twinkle { from { opacity: .2; } }
@keyframes fa-door { from { transform: scaleX(.05); } }
@keyframes fa-shake { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes fa-hatch { to { transform: translate(26px, -40px) rotate(34deg); } }
@keyframes fa-peek { from { transform: translateY(36px) scale(.3); opacity: 0; } }
@keyframes fa-open { to { transform: scaleX(.12) skewY(10deg); } }
@keyframes fa-glow { from { opacity: 0; } }
@keyframes fa-draw { to { stroke-dashoffset: 0; } }
@keyframes fa-pop { from { transform: scale(0); } }

/* 25/50/75%: a full-screen scene for each game, on that game's own scenery, dimmed a little so the words stand out */
@keyframes ss-ms-fade { 0% { opacity: 0; } 8%, 90% { opacity: 1; } 100% { opacity: 0; } }
.zoom-race .ms-bg { background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)), var(--scene-race) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 55%, #93c5fd 100%); }
.zoom-space .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-space) center bottom / 100% auto no-repeat, linear-gradient(180deg, #070b24 0%, #1e1b4b 100%); }
.zoom-farm .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-farm) center bottom / 100% auto no-repeat, linear-gradient(180deg, #8fd3ff 0%, #c9ecff 60%, #e9f8ff 100%); }
.zoom-dino .ms-bg { background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), var(--scene-jungle) center bottom / 100% auto no-repeat, linear-gradient(180deg, #ff9a5c 0%, #ffc48a 40%, #ffe2b8 70%, #c9e6a0 100%); }
.zoom-spy .ms-bg { background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), var(--scene-spy) center bottom / 100% auto no-repeat, linear-gradient(180deg, #020604 0%, #06140b 100%); }
.zoom-trip .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-trip) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7cc4f0 0%, #b9e2f8 60%, #e6f6ff 100%); }
.zoom-dino .ms-scene { position: absolute; inset: 0; animation: ss-ms-shake .12s linear 8; }
.ms-scene { position: absolute; inset: 0; }
.sx { position: absolute; }
.sx i { font-style: normal; }
.sx-big { left: 50%; top: 38%; margin-left: -.5em; font-size: 6.5rem; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.4)); }
.sx-grow { animation: sx-grow .7s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes sx-grow { from { scale: .1; opacity: 0; } }
.sx-wobble { animation: sx-wobble .22s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes sx-wobble { from { rotate: -9deg; } to { rotate: 9deg; } }
.sx-eggart { left: 50%; top: 36%; width: 130px; margin-left: -65px; stroke: none; height: auto; }
.sx-flagwave { animation: sx-grow .7s cubic-bezier(.3, 1.6, .5, 1) both, sx-wobble .3s ease-in-out infinite alternate; }
.sx-crowd { left: 0; right: 0; bottom: 3%; display: flex; justify-content: space-around; font-size: 2.4rem; }
.sx-wave i { animation: sx-hop .5s ease-in-out infinite alternate; }
.sx-wave i:nth-child(2n) { animation-delay: .15s; } .sx-wave i:nth-child(3n) { animation-delay: .3s; }
@keyframes sx-hop { to { translate: 0 -18px; } }
.sx-streaks { inset: 0; }
.sx-streaks i { position: absolute; width: 3px; height: 70px; border-radius: 3px; background: linear-gradient(transparent, #fff); animation: sx-streak .6s linear infinite; }
.sx-streaks i:nth-child(1) { left: 8%; } .sx-streaks i:nth-child(2) { left: 22%; animation-delay: .2s; } .sx-streaks i:nth-child(3) { left: 35%; animation-delay: .4s; } .sx-streaks i:nth-child(4) { left: 48%; animation-delay: .1s; }
.sx-streaks i:nth-child(5) { left: 60%; animation-delay: .3s; } .sx-streaks i:nth-child(6) { left: 72%; animation-delay: .5s; } .sx-streaks i:nth-child(7) { left: 84%; animation-delay: .25s; } .sx-streaks i:nth-child(8) { left: 94%; animation-delay: .45s; }
@keyframes sx-streak { from { transform: translateY(-80px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(100vh); opacity: 0; } }
.sx-flames { left: 50%; bottom: 4%; margin-left: -.5em; font-size: 6rem; line-height: 1; animation: sx-wobble .12s linear infinite alternate; }
.sx-drift { left: 0; top: 40%; animation: sx-drift 2.8s linear both; scale: 4; }
@keyframes sx-drift { from { transform: translateX(110vw); } to { transform: translateX(-20vw); } }
.sx-looming { left: 50%; top: 42%; animation: sx-loom 2.6s ease-out both; }
@keyframes sx-loom { from { scale: 1; } to { scale: 11; } }
.sx-gate { left: 50%; top: 38%; width: min(320px, 82vw); height: auto; transform: translateX(-50%); stroke: none; }
.sx-gate-l, .sx-gate-r { transform-box: fill-box; animation: sx-gate 1.2s ease-in-out .5s both; }
.sx-gate-l { transform-origin: 0 50%; } .sx-gate-r { transform-origin: 100% 50%; }
@keyframes sx-gate { to { transform: scaleX(.12); } }
.sx-herd { left: 0; top: 46%; display: flex; gap: 14px; font-size: 3.4rem; animation: sx-cross 2.6s linear both; }
.sx-herd i { animation: sx-hop .22s ease-in-out infinite alternate; }
.sx-herd i:nth-child(2n) { animation-delay: .11s; }
@keyframes sx-cross { from { transform: translateX(-100%); } to { transform: translateX(110vw); } }
.sx-barn { left: 50%; top: 26%; width: min(260px, 70vw); height: auto; margin-left: calc(min(260px, 70vw) / -2); stroke: none; }
.sx-barn + .sx-herd { top: 62%; font-size: 2.6rem; }
.sx-prints { left: 8%; right: 8%; top: 38%; display: flex; justify-content: space-between; font-size: 3rem; }
.sx-prints i { animation: sx-grow .3s ease both; } .sx-prints i:nth-child(odd) { translate: 0 28px; }
.sx-prints i:nth-child(2) { animation-delay: .35s; } .sx-prints i:nth-child(3) { animation-delay: .7s; } .sx-prints i:nth-child(4) { animation-delay: 1.05s; } .sx-prints i:nth-child(5) { animation-delay: 1.4s; }
.sx-scanner { left: 0; right: 0; top: 0; height: 6px; background: #4ade80; box-shadow: 0 0 26px 8px rgba(74,222,128,.7); animation: sx-scan 1.3s ease-in-out infinite alternate; }
@keyframes sx-scan { to { transform: translateY(96vh); } }
.sx-dial { left: 50%; top: 38%; width: 130px; height: 130px; margin-left: -65px; border-radius: 50%; background: #1f2937; border: 8px solid #4ade80; animation: sx-grow .6s ease both; }
.sx-dial i { position: absolute; left: 50%; top: 8px; bottom: 50%; width: 8px; margin-left: -4px; border-radius: 4px; background: #4ade80; transform-origin: 50% 100%; animation: sx-spin 1.1s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes sx-spin { to { rotate: 360deg; } }
.sx-digits { left: 0; right: 0; top: 42%; text-align: center; font: 700 3.6rem ui-monospace, Consolas, monospace; color: #4ade80; letter-spacing: .1em; text-shadow: 0 0 16px #4ade80; }
.sx-sign { left: 50%; top: 38%; width: min(290px, 80vw); margin-left: calc(min(290px, 80vw) / -2); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; border-radius: 12px; color: #fff; background: #2f6b2a; border: 5px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,.35); }
.sx-sign b { font-size: 2rem; letter-spacing: .04em; } .sx-sign small { font-size: 1.1rem; font-weight: 700; }
.sx-sea { left: 0; right: 0; bottom: 0; height: 40%; background: repeating-linear-gradient(170deg, #0e7490 0 18px, #0891b2 18px 36px); }
.sx-ferry { left: 0; bottom: 30%; font-size: 6rem; line-height: 1; animation: sx-sail 2.8s linear both; }
@keyframes sx-sail { from { transform: translateX(-30vw); } to { transform: translateX(80vw); } }
@media (prefers-reduced-motion: reduce) { .ms-scene *, .ms-scene { animation: none !important; } }

/* 100%: the build-up, then the big moment, then the kids' names and what they found */
.fn-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.finale > :not(.fn-stage):not(.fn-sky) { z-index: 1; }
.finale .fn-head { animation-delay: 2.4s; }
.finale .fn-sub { animation-delay: 2.9s; }
.finale .fn-parade i { animation-delay: calc(3.3s + var(--i, 0) * .08s), 3.8s; }
.fn-stage i { font-style: normal; }
.fs-parent { position: absolute; left: 0; bottom: 8%; font-size: 7.5rem; line-height: 1; animation: fs-stomp 1.8s steps(5) 2s both; }
@keyframes fs-stomp { from { transform: translateX(-110%); } to { transform: translateX(6vw); } }
.finale-dino .fn-art { animation: ss-fn-scene .9s cubic-bezier(.3,1.5,.5,1) .2s both, ss-ms-shake .12s linear 2s 12; }
.fs-fireworks i { position: absolute; width: 8px; height: 8px; border-radius: 50%; animation: fs-burst 1.2s ease-out infinite both; box-shadow: 0 -46px 0 var(--fw), 0 46px 0 var(--fw), 46px 0 0 var(--fw), -46px 0 0 var(--fw), 33px 33px 0 var(--fw), -33px 33px 0 var(--fw), 33px -33px 0 var(--fw), -33px -33px 0 var(--fw); }
.fs-fireworks i:nth-child(1) { --fw: #f472b6; left: 18%; top: 14%; animation-delay: 1.4s; } .fs-fireworks i:nth-child(2) { --fw: #a5f3fc; left: 76%; top: 12%; animation-delay: 1.9s; }
.fs-fireworks i:nth-child(3) { --fw: #fde047; left: 48%; top: 8%; animation-delay: 2.4s; } .fs-fireworks i:nth-child(4) { --fw: #86efac; left: 12%; top: 40%; animation-delay: 2.8s; }
.fs-fireworks i:nth-child(5) { --fw: #fda4af; left: 84%; top: 38%; animation-delay: 3.2s; } .fs-fireworks i:nth-child(6) { --fw: #c4b5fd; left: 30%; top: 24%; animation-delay: 3.6s; } .fs-fireworks i:nth-child(7) { --fw: #fdba74; left: 66%; top: 26%; animation-delay: 4s; }
@keyframes fs-burst { from { scale: .1; opacity: 1; } to { scale: 1.3; opacity: 0; } }
.fs-herd { position: absolute; left: 0; bottom: 18%; display: flex; gap: 12px; font-size: 3rem; animation: fs-home 3s ease-in .6s both; }
.fs-herd i { animation: sx-hop .22s ease-in-out infinite alternate; }
@keyframes fs-home { from { transform: translateX(-100%); } to { transform: translateX(44vw) scale(.3); opacity: 0; } }
.fs-sunset { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,146,60,.55), rgba(244,63,94,.25) 60%, transparent); animation: fs-fadein 2.5s ease 3.4s both; }
@keyframes fs-fadein { from { opacity: 0; } }
.fs-finish { position: absolute; left: 6%; top: 8%; font-size: 4rem; animation: sx-wobble .3s ease-in-out infinite alternate; }
.fs-crowd { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; justify-content: space-around; font-size: 2.2rem; }
.fs-crowd i { animation: sx-hop .45s ease-in-out infinite alternate; } .fs-crowd i:nth-child(2n) { animation-delay: .2s; }
.fs-flashes i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 22px 10px #fff; animation: fs-flash 1.3s linear infinite; }
.fs-flashes i:nth-child(1) { left: 8%; top: 54%; } .fs-flashes i:nth-child(2) { left: 24%; top: 60%; animation-delay: .3s; } .fs-flashes i:nth-child(3) { left: 40%; top: 52%; animation-delay: .6s; } .fs-flashes i:nth-child(4) { left: 58%; top: 62%; animation-delay: .15s; }
.fs-flashes i:nth-child(5) { left: 72%; top: 54%; animation-delay: .9s; } .fs-flashes i:nth-child(6) { left: 88%; top: 60%; animation-delay: .45s; } .fs-flashes i:nth-child(7) { left: 16%; top: 66%; animation-delay: 1.1s; } .fs-flashes i:nth-child(8) { left: 66%; top: 68%; animation-delay: .75s; }
@keyframes fs-flash { 0%, 88%, 100% { opacity: 0; } 92% { opacity: 1; } }
.fs-beams i { position: absolute; left: 50%; top: -10%; width: 90px; height: 130%; margin-left: -45px; background: linear-gradient(180deg, rgba(74,222,128,.28), transparent); transform-origin: 50% 0; animation: fs-sweep 2.4s ease-in-out infinite alternate; }
.fs-beams i:nth-child(2) { animation-direction: alternate-reverse; }
@keyframes fs-sweep { from { rotate: -28deg; } to { rotate: 28deg; } }
.finale-spy .fn-head { animation: fs-stamp .4s cubic-bezier(.3, 1.6, .5, 1) 3.6s both; }
@keyframes fs-stamp { from { scale: 3; opacity: 0; } }
.fs-van { position: absolute; left: 0; bottom: 14%; font-size: 4.6rem; line-height: 1; animation: fs-drive 2.4s ease-out .5s both; }
@keyframes fs-drive { from { transform: translateX(-120%); } to { transform: translateX(58vw); } }
.fs-chips { position: absolute; right: 6%; bottom: 26%; font-size: 3.6rem; animation: sx-grow .6s cubic-bezier(.3, 1.8, .5, 1) 3s both; }
@media (prefers-reduced-motion: reduce) { .fn-stage * { animation: none !important; } }

/* The start screens: the game's whole world fills the screen, with the Go button big at the bottom */
.game-intro:not(.game-picker) { justify-content: flex-start; padding: max(7vh, 40px) 18px 0; overflow: hidden; }
.game-intro:not(.game-picker) > :is(.gi-name, .gi-goal, .gi-play) { position: relative; z-index: 2; }
.game-intro .gi-stage { position: absolute; inset: 0; width: auto; height: auto; margin: 0; border-radius: 0; box-shadow: none; z-index: 0; }
.gi-life { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.gi-life i { font-style: normal; }
.game-intro:not(.game-picker) .gi-name { margin: 0; font-size: clamp(2.4rem, 11vw, 3.2rem); text-align: center; }
.game-intro:not(.game-picker) .gi-goal { margin-top: 12px; padding: 10px 16px; border-radius: 16px; color: #fff; background: rgba(0, 0, 0, .42); text-align: center; backdrop-filter: blur(2px); }
.game-intro:not(.game-picker) .gi-play { margin: auto 0 max(6vh, 30px); min-height: 72px; padding: 0 44px; font-size: 1.7rem; animation: ss-fn-in .4s ease .7s both, gi-pulse 1.1s ease-in-out 1.2s infinite; }
@keyframes gi-pulse { 50% { scale: 1.08; box-shadow: 0 0 0 12px rgba(255, 213, 74, .3); } }
.game-intro .gi-tractor, .game-intro .gi-launch, .game-intro .gi-zoom, .game-intro .gi-agent { bottom: 17vh; font-size: 5rem; }
.game-intro .gi-ani { bottom: 26vh; font-size: 3rem; }
.game-intro .gi-flag { bottom: 24vh; font-size: 3.6rem; }
.game-intro .gi-walker { bottom: 17vh; } .game-intro .gi-walker .dino-art { width: 130px; height: 110px; }
.game-intro .gi-nest { bottom: 17vh; font-size: 4rem; } .game-intro .gi-nest b { font-size: 2.4rem; }
.game-intro .gi-beam { height: 100%; } .game-intro .gi-laser.l1 { bottom: 24vh; } .game-intro .gi-laser.l2 { bottom: 36vh; }
.game-intro .gi-launch { animation-duration: 2.6s; animation-iteration-count: infinite; }
.gl-crowd { bottom: 24vh; font-size: 2.4rem; }
.gl-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: gl-twinkle 1.4s ease-in-out infinite alternate; }
.gl-stars i:nth-child(1) { left: 8%; top: 12%; } .gl-stars i:nth-child(2) { left: 24%; top: 30%; animation-delay: .3s; } .gl-stars i:nth-child(3) { left: 40%; top: 8%; animation-delay: .6s; } .gl-stars i:nth-child(4) { left: 58%; top: 34%; animation-delay: .9s; }
.gl-stars i:nth-child(5) { left: 72%; top: 14%; animation-delay: .2s; } .gl-stars i:nth-child(6) { left: 88%; top: 28%; animation-delay: .5s; } .gl-stars i:nth-child(7) { left: 14%; top: 48%; animation-delay: .8s; } .gl-stars i:nth-child(8) { left: 34%; top: 56%; animation-delay: 1.1s; }
.gl-stars i:nth-child(9) { left: 52%; top: 50%; animation-delay: .4s; } .gl-stars i:nth-child(10) { left: 78%; top: 46%; animation-delay: .7s; } .gl-stars i:nth-child(11) { left: 92%; top: 58%; animation-delay: 1s; } .gl-stars i:nth-child(12) { left: 4%; top: 66%; animation-delay: 1.3s; }
@keyframes gl-twinkle { from { opacity: .15; } to { opacity: 1; scale: 1.6; } }
.gl-shoot { position: absolute; left: -10%; top: 18%; width: 90px; height: 3px; background: linear-gradient(90deg, transparent, #fff); rotate: 18deg; animation: gl-shoot 3.4s linear 1s infinite; }
@keyframes gl-shoot { 0% { transform: translateX(0); opacity: 1; } 28%, 100% { transform: translateX(130vw); opacity: 0; } }
.gl-drift { position: absolute; top: 34%; font-size: 3.4rem; opacity: .9; animation: gl-drift 16s linear infinite; }
.gl-drift.b { top: 44%; font-size: 2.4rem; animation-duration: 24s; animation-delay: -9s; }
@keyframes gl-drift { from { transform: translateX(-20vw); } to { transform: translateX(110vw); } }
.gl-flit { position: absolute; left: 20%; bottom: 36vh; font-size: 1.8rem; animation: gl-flit 4s ease-in-out infinite alternate; }
.gl-flit.b { left: 62%; bottom: 40vh; animation-duration: 3s; animation-delay: -1.4s; }
@keyframes gl-flit { 25% { transform: translate(30px, -26px); } 50% { transform: translate(70px, 8px); } 75% { transform: translate(110px, -34px); } 100% { transform: translate(150px, 0); } }
.gl-fly { position: absolute; top: 38%; font-size: 3rem; animation: gl-drift 7s linear infinite; }
.gl-rumble { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: radial-gradient(ellipse at 70% 100%, rgba(249, 115, 22, .3), transparent 70%); animation: gl-twinkle 1.2s ease-in-out infinite alternate; }
.gl-code { position: absolute; inset: 0; display: flex; justify-content: space-around; font: 700 .8rem ui-monospace, Consolas, monospace; color: rgba(74, 222, 128, .45); }
.gl-code i { writing-mode: vertical-rl; animation: sx-streak 3.2s linear infinite; }
.gl-code i:nth-child(2) { animation-delay: .8s; } .gl-code i:nth-child(3) { animation-delay: 1.6s; } .gl-code i:nth-child(4) { animation-delay: .4s; } .gl-code i:nth-child(5) { animation-delay: 2.2s; } .gl-code i:nth-child(6) { animation-delay: 1.2s; }

/* Entering the world: the doors close over the start screen, then open on the game */
.enter { position: fixed; inset: 0; z-index: 120; overflow: hidden; pointer-events: none; }
.en-door { position: absolute; top: 0; bottom: 0; width: 50.5%; animation: en-shut .36s cubic-bezier(.5, 0, .3, 1) both; }
.en-door.l { left: 0; --from: -100%; } .en-door.r { right: 0; --from: 100%; }
@keyframes en-shut { from { transform: translateX(var(--from)); } }
.enter.opening .en-door { animation: en-open .55s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes en-open { to { transform: translateX(var(--from)); } }
.en-mark { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; animation: sx-grow .35s cubic-bezier(.3, 1.6, .5, 1) .3s both; }
.enter.opening .en-mark { animation: ss-fn-out .2s ease forwards; }
.en-pic { font-size: 8rem; line-height: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); animation: sx-hop .22s ease-in-out infinite alternate; }
.enter-race .en-door { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 60px 60px; }
.en-lights { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: #111; }
.en-lights i { width: 44px; height: 44px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 18px #dc2626; animation: en-light .9s steps(1) .3s both; }
@keyframes en-light { 0% { background: #450a0a; box-shadow: none; } 66%, 100% { background: #22c55e; box-shadow: 0 0 18px #22c55e; } }
.en-lights i:nth-child(2) { animation-name: en-light2; } .en-lights i:nth-child(3) { animation-name: en-light3; }
@keyframes en-light2 { 0%, 22% { background: #450a0a; box-shadow: none; } 44% { background: #dc2626; } 66%, 100% { background: #22c55e; box-shadow: 0 0 18px #22c55e; } }
@keyframes en-light3 { 0%, 44% { background: #450a0a; box-shadow: none; } 55% { background: #dc2626; } 66%, 100% { background: #22c55e; box-shadow: 0 0 18px #22c55e; } }
.en-go { margin-top: 12px; padding: 2px 18px; border-radius: 12px; background: #111; color: #22c55e; font-size: 3.4rem; animation: sx-grow .3s ease .9s both; }
.enter-space .en-door { background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .5) 0 2px, transparent 3px) 0 0 / 46px 46px, #0b1033; border-inline: 6px solid #22d3ee; }
.en-count { position: relative; width: 120px; height: 120px; font-size: 6rem; line-height: 120px; color: #a5f3fc; text-shadow: 0 0 20px #22d3ee; }
.en-count i { position: absolute; inset: 0; font-style: normal; opacity: 0; animation: en-tick .3s ease both; } .en-count i:nth-child(1) { animation-delay: .3s; } .en-count i:nth-child(2) { animation-delay: .6s; } .en-count i:nth-child(3) { animation-delay: .9s; }
@keyframes en-tick { 0%, 100% { opacity: 0; scale: 1.5; } 30%, 80% { opacity: 1; scale: 1; } }
.enter-farm .en-door { background: linear-gradient(45deg, transparent 48%, #fef3c7 48% 52%, transparent 52%), linear-gradient(-45deg, transparent 48%, #fef3c7 48% 52%, transparent 52%), #b91c1c; border: 8px solid #fef3c7; }
.enter-dino .en-door { background: radial-gradient(circle at 30% 30%, #4ade80 0 34px, transparent 35px) 0 0 / 90px 90px, radial-gradient(circle at 70% 70%, #16a34a 0 40px, transparent 41px) 0 0 / 110px 110px, #14532d; }
.enter-spy .en-door { background: repeating-linear-gradient(90deg, #374151 0 18px, #1f2937 18px 36px); border-inline: 6px solid #4ade80; }
.en-access { padding: 10px 16px; font: 700 1.7rem ui-monospace, Consolas, monospace; letter-spacing: .08em; color: #4ade80; background: #020604; border: 3px solid #4ade80; }
.enter-trip .en-door { background: linear-gradient(180deg, #7cc4f0 0 56%, #5fae45 56%); }
.en-road { display: flex; flex-direction: column; padding: 14px 22px; border-radius: 14px; background: #2f6b2a; border: 5px solid #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); }
.en-road b { font-size: 1.7rem; line-height: 1.15; } .en-road small { margin-top: 4px; font-size: 1rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .gi-life * { animation: none !important; } .en-mark *, .en-door { animation-duration: .01s !important; } }


/* Five more worlds, each to the same recipe as the rest: scenery, tiles, dock, title bar, start screen, milestones, finish */
body.game-on.game-pirate { --tile-bg: linear-gradient(180deg, #f5e6c8, #e8d3a6); --tile-bg-solid: #f5e6c8; --tile-line: #92400e; --tile-edge: #78350f; --tile-ink: #3b2410; --tile-pic: #fff8e7; --game-ink: #0c2a4a; background: var(--scene-pirate) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%) fixed !important; }
body.game-pirate { --dock-bg: rgba(120, 53, 15, .94); --dock-ink: #fef3c7; }
body.game-on.game-pirate .race-dock { background: linear-gradient(180deg, #7c2d12, #431407); border: 3px solid #78350f; border-top: 0; }
body.game-pirate .race-track { background: rgba(255,255,255,.25); } body.game-pirate .race-fill { background: linear-gradient(90deg, #fbbf24, #92400e); }
.game-pirate .game-hud { background: linear-gradient(180deg, #7c2d12, #431407); color: #fef3c7; border-bottom: 3px solid #fbbf24; }
.game-pirate :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fef3c7; } .game-pirate .hud-add { background: #fbbf24; color: #431407; }
.zoom-pirate .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-pirate) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); } .zoom-pirate .ms-badge b { color: #fbbf24; }
.finale-pirate { background: var(--scene-pirate) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); color: #0c2a4a; } .finale-pirate .fn-head { color: #fbbf24; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-pirate .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-pirate { background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); color: #0c2a4a; } .gi-pirate-stage { background: var(--scene-pirate) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #bae6fd 60%, #e0f2fe 100%); }
.intro-pirate .gi-name { padding: 8px 20px; border-radius: 12px; color: #fef3c7; background: linear-gradient(180deg, #7c2d12, #431407); box-shadow: 0 5px 0 #78350f, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-pirate .en-door { background: linear-gradient(180deg, #7c2d12, #431407); border-inline: 8px solid #fbbf24; }
body.game-on.game-robot { --tile-bg: linear-gradient(180deg, #e2e8f0, #cbd5e1); --tile-bg-solid: #e2e8f0; --tile-line: #0ea5e9; --tile-edge: #0369a1; --tile-ink: #0f172a; --tile-pic: #fff; --game-ink: #e2e8f0; background: var(--scene-robot) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #1e293b, #0f172a) fixed !important; }
body.game-robot { --dock-bg: rgba(15, 23, 42, .94); --dock-ink: #bae6fd; }
body.game-on.game-robot .race-dock { background: linear-gradient(180deg, #334155, #0f172a); border: 3px solid #0369a1; border-top: 0; }
body.game-robot .race-track { background: rgba(255,255,255,.25); } body.game-robot .race-fill { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.game-robot .game-hud { background: linear-gradient(180deg, #334155, #0f172a); color: #bae6fd; border-bottom: 3px solid #38bdf8; }
.game-robot :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #bae6fd; } .game-robot .hud-add { background: #38bdf8; color: #0f172a; }
.zoom-robot .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-robot) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e293b, #0f172a); } .zoom-robot .ms-badge b { color: #38bdf8; }
.finale-robot { background: var(--scene-robot) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e293b, #0f172a); color: #e2e8f0; } .finale-robot .fn-head { color: #38bdf8; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-robot .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-robot { background: linear-gradient(180deg, #1e293b, #0f172a); color: #e2e8f0; } .gi-robot-stage { background: var(--scene-robot) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e293b, #0f172a); }
.intro-robot .gi-name { padding: 8px 20px; border-radius: 12px; color: #bae6fd; background: linear-gradient(180deg, #334155, #0f172a); box-shadow: 0 5px 0 #0369a1, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-robot .en-door { background: linear-gradient(180deg, #334155, #0f172a); border-inline: 8px solid #38bdf8; }
body.game-on.game-potion { --tile-bg: linear-gradient(180deg, #4c1d95, #3b0764); --tile-bg-solid: #4c1d95; --tile-line: #c084fc; --tile-edge: #7e22ce; --tile-ink: #f3e8ff; --tile-pic: rgba(255,255,255,.12); --game-ink: #f3e8ff; background: var(--scene-potion) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #2e1065, #1e1b4b) fixed !important; }
body.game-potion { --dock-bg: rgba(46, 16, 101, .94); --dock-ink: #e9d5ff; }
body.game-on.game-potion .race-dock { background: linear-gradient(180deg, #581c87, #2e1065); border: 3px solid #7e22ce; border-top: 0; }
body.game-potion .race-track { background: rgba(255,255,255,.25); } body.game-potion .race-fill { background: linear-gradient(90deg, #c084fc, #c084fc); }
.game-potion .game-hud { background: linear-gradient(180deg, #581c87, #2e1065); color: #f3e8ff; border-bottom: 3px solid #c084fc; }
.game-potion :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #f3e8ff; } .game-potion .hud-add { background: #c084fc; color: #2e1065; }
.zoom-potion .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-potion) center bottom / 100% auto no-repeat, linear-gradient(180deg, #2e1065, #1e1b4b); } .zoom-potion .ms-badge b { color: #c084fc; }
.finale-potion { background: var(--scene-potion) center bottom / 100% auto no-repeat, linear-gradient(180deg, #2e1065, #1e1b4b); color: #f3e8ff; } .finale-potion .fn-head { color: #c084fc; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-potion .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-potion { background: linear-gradient(180deg, #2e1065, #1e1b4b); color: #f3e8ff; } .gi-potion-stage { background: var(--scene-potion) center bottom / 100% auto no-repeat, linear-gradient(180deg, #2e1065, #1e1b4b); }
.intro-potion .gi-name { padding: 8px 20px; border-radius: 12px; color: #f3e8ff; background: linear-gradient(180deg, #581c87, #2e1065); box-shadow: 0 5px 0 #7e22ce, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-potion .en-door { background: linear-gradient(180deg, #581c87, #2e1065); border-inline: 8px solid #c084fc; }
body.game-on.game-super { --tile-bg: linear-gradient(180deg, #dc2626, #991b1b); --tile-bg-solid: #dc2626; --tile-line: #fde047; --tile-edge: #7f1d1d; --tile-ink: #fff; --tile-pic: rgba(255,255,255,.14); --game-ink: #fff; background: var(--scene-super) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%) fixed !important; }
body.game-super { --dock-bg: rgba(15, 23, 42, .94); --dock-ink: #fde047; }
body.game-on.game-super .race-dock { background: linear-gradient(180deg, #b91c1c, #7f1d1d); border: 3px solid #7f1d1d; border-top: 0; }
body.game-super .race-track { background: rgba(255,255,255,.25); } body.game-super .race-fill { background: linear-gradient(90deg, #fde047, #fde047); }
.game-super .game-hud { background: linear-gradient(180deg, #b91c1c, #7f1d1d); color: #fff; border-bottom: 3px solid #fde047; }
.game-super :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fff; } .game-super .hud-add { background: #fde047; color: #7f1d1d; }
.zoom-super .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-super) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); } .zoom-super .ms-badge b { color: #fde047; }
.finale-super { background: var(--scene-super) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); color: #fff; } .finale-super .fn-head { color: #fde047; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-super .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-super { background: linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); color: #fff; } .gi-super-stage { background: var(--scene-super) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); }
.intro-super .gi-name { padding: 8px 20px; border-radius: 12px; color: #fff; background: linear-gradient(180deg, #b91c1c, #7f1d1d); box-shadow: 0 5px 0 #7f1d1d, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-super .en-door { background: linear-gradient(180deg, #b91c1c, #7f1d1d); border-inline: 8px solid #fde047; }
body.game-on.game-garden { --tile-bg: linear-gradient(180deg, #fdf2f8, #fce7f3); --tile-bg-solid: #fdf2f8; --tile-line: #ec4899; --tile-edge: #be185d; --tile-ink: #3f1d2e; --tile-pic: #fff; --game-ink: #14532d; background: var(--scene-garden) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%) fixed !important; }
body.game-garden { --dock-bg: rgba(21, 128, 61, .94); --dock-ink: #f0fdf4; }
body.game-on.game-garden .race-dock { background: linear-gradient(180deg, #16a34a, #166534); border: 3px solid #be185d; border-top: 0; }
body.game-garden .race-track { background: rgba(255,255,255,.25); } body.game-garden .race-fill { background: linear-gradient(90deg, #fbcfe8, #ec4899); }
.game-garden .game-hud { background: linear-gradient(180deg, #16a34a, #166534); color: #f0fdf4; border-bottom: 3px solid #fbcfe8; }
.game-garden :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #f0fdf4; } .game-garden .hud-add { background: #fbcfe8; color: #831843; }
.zoom-garden .ms-bg { background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--scene-garden) center bottom / 100% auto no-repeat, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); } .zoom-garden .ms-badge b { color: #fbcfe8; }
.finale-garden { background: var(--scene-garden) center bottom / 100% auto no-repeat, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); color: #14532d; } .finale-garden .fn-head { color: #fbcfe8; text-shadow: 0 4px 0 rgba(0,0,0,.45); } .finale-garden .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.4); }
.intro-garden { background: linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); color: #14532d; } .gi-garden-stage { background: var(--scene-garden) center bottom / 100% auto no-repeat, linear-gradient(180deg, #bae6fd 0%, #d9f99d 70%, #bbf7d0 100%); }
.intro-garden .gi-name { padding: 8px 20px; border-radius: 12px; color: #f0fdf4; background: linear-gradient(180deg, #16a34a, #166534); box-shadow: 0 5px 0 #be185d, 0 10px 18px rgba(0,0,0,.3); text-shadow: none; }
.enter-garden .en-door { background: linear-gradient(180deg, #16a34a, #166534); border-inline: 8px solid #fbcfe8; }
:root { --scene-pirate: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22330%22 cy=%2290%22 r=%2230%22 fill=%22%23fde047%22/%3E %3Cpath d=%22M0 190 Q60 130 120 188Z%22 fill=%22%2365a30d%22/%3E%3Cpath d=%22M90 168 q4 -44 -6 -66 q18 8 16 66Z%22 fill=%22%2392400e%22/%3E%3Cpath d=%22M84 104 q-30 -10 -44 10 q24 -6 44 0 q-14 -22 -36 -24 q22 -2 36 14 q6 -24 30 -28 q-14 14 -18 28 q22 -8 40 6 q-24 -4 -38 0Z%22 fill=%22%23166534%22/%3E %3Cpath d=%22M0 190 H400 V300 H0Z%22 fill=%22%230284c7%22/%3E%3Cpath d=%22M0 214 q25 -14 50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 V300 H0Z%22 fill=%22%230369a1%22/%3E%3Cpath d=%22M0 250 q25 -14 50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 t50 0 V300 H0Z%22 fill=%22%23075985%22/%3E%3C/svg%3E"); --scene-robot: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Crect width=%22400%22 height=%22300%22 fill=%22%231e293b%22/%3E %3Cg fill=%22%23334155%22%3E%3Crect x=%220%22 y=%2240%22 width=%22400%22 height=%2210%22/%3E%3Crect x=%2260%22 y=%2250%22 width=%226%22 height=%2260%22/%3E%3Crect x=%22330%22 y=%2250%22 width=%226%22 height=%2290%22/%3E%3C/g%3E%3Cg fill=%22%23475569%22%3E%3Ccircle cx=%2263%22 cy=%22118%22 r=%2212%22/%3E%3Ccircle cx=%22333%22 cy=%22148%22 r=%2214%22/%3E%3C/g%3E %3Crect x=%220%22 y=%22236%22 width=%22400%22 height=%2264%22 fill=%22%230f172a%22/%3E%3Crect x=%2230%22 y=%22206%22 width=%22340%22 height=%2230%22 fill=%22%23475569%22/%3E%3Cg fill=%22%23facc15%22%3E%3Cpath d=%22M0 290 l20 -14 h20 l-20 14Z M60 290 l20 -14 h20 l-20 14Z M120 290 l20 -14 h20 l-20 14Z M180 290 l20 -14 h20 l-20 14Z M240 290 l20 -14 h20 l-20 14Z M300 290 l20 -14 h20 l-20 14Z M360 290 l20 -14 h20 l-20 14Z%22/%3E%3C/g%3E%3C/svg%3E"); --scene-potion: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Crect width=%22400%22 height=%22300%22 fill=%22%232e1065%22/%3E %3Cg fill=%22%234c1d95%22%3E%3Crect x=%220%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%2266%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22132%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22198%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22264%22 y=%220%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22330%22 y=%220%22 width=%2270%22 height=%2230%22/%3E%3Crect x=%2230%22 y=%2236%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%2296%22 y=%2236%22 width=%2260%22 height=%2230%22/%3E%3Crect x=%22264%22 y=%2236%22 width=%2260%22 height=%2230%22/%3E%3C/g%3E %3Crect x=%2220%22 y=%22130%22 width=%2290%22 height=%228%22 fill=%22%2378350f%22/%3E%3Cg%3E%3Crect x=%2230%22 y=%22102%22 width=%2216%22 height=%2228%22 rx=%223%22 fill=%22%2322c55e%22/%3E%3Crect x=%2256%22 y=%22110%22 width=%2214%22 height=%2220%22 rx=%223%22 fill=%22%23ec4899%22/%3E%3Crect x=%2280%22 y=%2298%22 width=%2216%22 height=%2232%22 rx=%223%22 fill=%22%2306b6d4%22/%3E%3C/g%3E %3Crect x=%22290%22 y=%22150%22 width=%2290%22 height=%228%22 fill=%22%2378350f%22/%3E%3Crect x=%22300%22 y=%22122%22 width=%2216%22 height=%2228%22 rx=%223%22 fill=%22%23a855f7%22/%3E%3Crect x=%22330%22 y=%22116%22 width=%2216%22 height=%2234%22 rx=%223%22 fill=%22%23fde047%22/%3E%3Crect x=%220%22 y=%22250%22 width=%22400%22 height=%2250%22 fill=%22%231e1b4b%22/%3E%3C/svg%3E"); --scene-super: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22340%22 cy=%2260%22 r=%2224%22 fill=%22%23e2e8f0%22/%3E%3Cg fill=%22%231e293b%22%3E%3Crect x=%220%22 y=%22150%22 width=%2260%22 height=%22150%22/%3E%3Crect x=%2264%22 y=%22110%22 width=%2250%22 height=%22190%22/%3E%3Crect x=%22118%22 y=%22170%22 width=%2246%22 height=%22130%22/%3E%3Crect x=%22168%22 y=%2290%22 width=%2260%22 height=%22210%22/%3E%3Crect x=%22232%22 y=%22140%22 width=%2248%22 height=%22160%22/%3E%3Crect x=%22284%22 y=%22120%22 width=%2256%22 height=%22180%22/%3E%3Crect x=%22344%22 y=%22165%22 width=%2256%22 height=%22135%22/%3E%3C/g%3E%3Crect y=%22270%22 width=%22400%22 height=%2230%22 fill=%22%230f172a%22/%3E%3C/svg%3E"); --scene-garden: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%2270%22 cy=%2270%22 r=%2230%22 fill=%22%23fde047%22/%3E%3Cpath d=%22M0 200 Q80 150 200 190 T400 180 V300 H0Z%22 fill=%22%2386efac%22/%3E%3Cpath d=%22M0 240 Q120 200 260 235 T400 230 V300 H0Z%22 fill=%22%2322c55e%22/%3E %3Cg fill=%22%2365a30d%22%3E%3Crect x=%220%22 y=%22130%22 width=%2220%22 height=%2290%22/%3E%3Crect x=%22380%22 y=%22120%22 width=%2220%22 height=%22100%22/%3E%3C/g%3E%3Cpath d=%22M140 170 a60 60 0 0 1 120 0 v30 h-120Z%22 fill=%22%23a8a29e%22/%3E%3Cpath d=%22M160 170 a40 40 0 0 1 80 0 v30 h-80Z%22 fill=%22%2314532d%22/%3E %3Cg fill=%22%23f472b6%22%3E%3Ccircle cx=%2250%22 cy=%22262%22 r=%226%22/%3E%3Ccircle cx=%22120%22 cy=%22276%22 r=%226%22/%3E%3Ccircle cx=%22330%22 cy=%22266%22 r=%226%22/%3E%3C/g%3E%3Cg fill=%22%23fde047%22%3E%3Ccircle cx=%2280%22 cy=%22282%22 r=%225%22/%3E%3Ccircle cx=%22280%22 cy=%22280%22 r=%225%22/%3E%3Ccircle cx=%22370%22 cy=%22284%22 r=%225%22/%3E%3C/g%3E%3C/svg%3E"); }

/* what the building games draw in the dock as things are found */
.bp { display: flex; justify-content: center; margin: 2px 0 8px; }
.bp svg { width: auto; height: 96px; stroke: none; flex: none; }
.bp-super svg { width: 100%; max-width: 320px; height: auto; }
.rb { opacity: .12; transition: opacity .5s; } .rb.on { opacity: 1; }
.rb-eye.lit { fill: #fde047; }
.bb { animation: bb-rise 1.1s ease-in infinite; } .bb.b2 { animation-delay: .35s; } .bb.b3 { animation-delay: .7s; }
@keyframes bb-rise { from { transform: translateY(0); opacity: .8; } to { transform: translateY(-22px); opacity: 0; } }
.bp-garden { gap: 6px; font-size: 2.1rem; line-height: 1; }
.bp-garden span { filter: grayscale(.2); } .bp-garden span.up { animation: sx-grow .6s cubic-bezier(.3, 1.8, .5, 1) both; }
/* start screens, scenes and finishes for the new games */
.game-intro .gi-sail { position: absolute; left: 0; bottom: 15vh; font-size: 6rem; line-height: 1; animation: gi-sail 7s ease-in-out infinite alternate; }
@keyframes gi-sail { from { transform: translateX(-6vw) rotate(-4deg); } to { transform: translateX(62vw) rotate(4deg); } }
.gi-art { position: absolute; left: 50%; bottom: 17vh; width: 190px; margin-left: -95px; }
.gi-art.wide { left: 0; right: 0; bottom: 0; width: auto; margin: 0; }
.gi-art svg, .sx-bigart svg { width: 100%; height: auto; stroke: none; display: block; }
.gi-seeds { position: absolute; left: 0; right: 0; bottom: 17vh; display: flex; justify-content: space-around; font-size: 2.8rem; animation: sx-hop 1.4s ease-in-out infinite alternate; }
.gl-gear { position: absolute; font-size: 4rem; opacity: .55; animation: sx-spin 4s linear infinite; } .gl-gear.a { left: 6%; top: 34%; } .gl-gear.b { right: 8%; top: 42%; font-size: 3rem; animation-direction: reverse; }
.sx-bigart { left: 50%; top: 32%; width: min(250px, 66vw); margin-left: calc(min(250px, 66vw) / -2); animation: sx-grow .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.sx-bigart.wide { top: auto; bottom: 0; left: 0; width: 100%; margin: 0; }
.sx-bigart.sx-wobble { animation: sx-wobble .22s ease-in-out infinite alternate; }
.sx-xmark { left: 0; right: 0; top: 34%; text-align: center; font: 700 8rem/1 var(--font); color: #dc2626; text-shadow: 0 4px 0 #fff, 0 10px 14px rgba(0,0,0,.4); }
.sx-sparks, .sx-sparks i { pointer-events: none; }
.sx-sparks { position: absolute; inset: 0; }
.sx-sparks i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fde047; box-shadow: 0 0 10px 3px #f59e0b; animation: fs-burst .7s ease-out infinite; }
.sx-sparks i:nth-child(1) { left: 20%; top: 40%; } .sx-sparks i:nth-child(2) { left: 74%; top: 36%; animation-delay: .2s; } .sx-sparks i:nth-child(3) { left: 36%; top: 62%; animation-delay: .4s; } .sx-sparks i:nth-child(4) { left: 60%; top: 58%; animation-delay: .1s; }
.sx-sparks i:nth-child(5) { left: 14%; top: 66%; animation-delay: .5s; } .sx-sparks i:nth-child(6) { left: 84%; top: 60%; animation-delay: .3s; } .sx-sparks i:nth-child(7) { left: 48%; top: 30%; animation-delay: .6s; } .sx-sparks i:nth-child(8) { left: 28%; top: 28%; animation-delay: .25s; }
.sx-flowers { left: 0; right: 0; top: 44%; display: flex; justify-content: space-around; font-size: 3.6rem; }
.sx-flowers i { animation: sx-grow .5s cubic-bezier(.3, 1.8, .5, 1) both; } .sx-flowers i:nth-child(2) { animation-delay: .25s; } .sx-flowers i:nth-child(3) { animation-delay: .5s; } .sx-flowers i:nth-child(4) { animation-delay: .75s; } .sx-flowers i:nth-child(5) { animation-delay: 1s; }
.fs-coins i, .fs-petals i { position: absolute; top: -10%; font-size: 2rem; font-style: normal; animation: fs-fall 2.8s linear infinite both; }
.fs-coins i:nth-child(1), .fs-petals i:nth-child(1) { left: 6%; animation-delay: 1.4s; } .fs-coins i:nth-child(2), .fs-petals i:nth-child(2) { left: 18%; animation-delay: 2s; } .fs-coins i:nth-child(3), .fs-petals i:nth-child(3) { left: 30%; animation-delay: 1.7s; } .fs-coins i:nth-child(4), .fs-petals i:nth-child(4) { left: 42%; animation-delay: 2.4s; } .fs-coins i:nth-child(5), .fs-petals i:nth-child(5) { left: 54%; animation-delay: 1.5s; }
.fs-coins i:nth-child(6), .fs-petals i:nth-child(6) { left: 64%; animation-delay: 2.2s; } .fs-coins i:nth-child(7), .fs-petals i:nth-child(7) { left: 74%; animation-delay: 1.9s; } .fs-coins i:nth-child(8), .fs-petals i:nth-child(8) { left: 84%; animation-delay: 2.6s; } .fs-coins i:nth-child(9), .fs-petals i:nth-child(9) { left: 92%; animation-delay: 1.6s; } .fs-coins i:nth-child(10), .fs-petals i:nth-child(10) { left: 12%; animation-delay: 3s; }
@keyframes fs-fall { to { transform: translateY(115vh) rotate(300deg); } }
.fs-parrot { position: absolute; right: 6%; top: 10%; font-size: 3.6rem; animation: sx-hop .35s ease-in-out infinite alternate; }
.fs-bolt { position: absolute; left: 50%; top: 4%; margin-left: -.5em; font-size: 5rem; animation: fs-flash 1s linear 1.6s infinite; }
.fs-bubbles i { position: absolute; bottom: -8%; width: 22px; height: 22px; border-radius: 50%; background: rgba(216, 180, 254, .35); border: 2px solid rgba(255, 255, 255, .6); animation: fs-rise 3s ease-in infinite both; }
.fs-bubbles i:nth-child(1) { left: 6%; } .fs-bubbles i:nth-child(2) { left: 16%; animation-delay: .6s; } .fs-bubbles i:nth-child(3) { left: 28%; animation-delay: 1.2s; } .fs-bubbles i:nth-child(4) { left: 40%; animation-delay: .3s; } .fs-bubbles i:nth-child(5) { left: 50%; animation-delay: 1.8s; }
.fs-bubbles i:nth-child(6) { left: 60%; animation-delay: .9s; } .fs-bubbles i:nth-child(7) { left: 70%; animation-delay: 2.1s; } .fs-bubbles i:nth-child(8) { left: 80%; animation-delay: .5s; } .fs-bubbles i:nth-child(9) { left: 90%; animation-delay: 1.5s; } .fs-bubbles i:nth-child(10) { left: 34%; animation-delay: 2.5s; }
@keyframes fs-rise { to { transform: translateY(-115vh); opacity: .2; } }
.fs-fairy { position: absolute; left: 0; top: 18%; font-size: 3.4rem; animation: gl-flit 3s ease-in-out 2s infinite alternate; }
.en-robot { color: #38bdf8; border-color: #38bdf8; }
@media (prefers-reduced-motion: reduce) { .fn-stage *, .bb, .bp * { animation: none !important; } }

/* Start screen titles: no box behind them, just lettering in the style of each world */
.game-intro:not(.game-picker) .gi-name { padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none; transform: none; font-size: clamp(2.8rem, 13vw, 3.8rem); line-height: 1.02; letter-spacing: .02em;
  --edge: #111; text-shadow: -2px -2px 0 var(--edge), 2px -2px 0 var(--edge), -2px 2px 0 var(--edge), 2px 2px 0 var(--edge), 0 6px 0 var(--edge), 0 12px 18px rgba(0, 0, 0, .35); }
.game-intro:not(.game-picker) .gi-name::before, .game-intro:not(.game-picker) .gi-name::after { display: none; }
.intro-race .gi-name { color: #facc15; --edge: #1e293b; font-style: italic; }
.intro-space .gi-name { color: #e0f7ff; --edge: #0e7490; text-shadow: 0 0 10px #22d3ee, 0 0 26px #22d3ee, 0 0 52px #a78bfa; }
.intro-farm .gi-name { color: #fff8e7; --edge: #8f5a2b; }
.intro-dino .gi-name { color: #fde68a; --edge: #5b3a1a; letter-spacing: .05em; }
.intro-trip .gi-name { color: #fff; --edge: #1f4d1d; }
.intro-spy .gi-name { color: #ef4444; font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; text-shadow: 0 0 10px rgba(239, 68, 68, .9), 0 0 30px rgba(239, 68, 68, .5); }
.intro-pirate .gi-name { color: #fbbf24; --edge: #431407; letter-spacing: .04em; }
.intro-robot .gi-name { color: #bae6fd; --edge: #0369a1; font-family: ui-monospace, Consolas, monospace; letter-spacing: -.02em; }
.intro-potion .gi-name { color: #f0abfc; text-shadow: 0 0 10px #a855f7, 0 0 28px #a855f7, 0 0 54px #ec4899; }
.intro-super .gi-name { color: #fde047; --edge: #b91c1c; font-style: italic; }
.intro-garden .gi-name { color: #fff; --edge: #be185d; }
.game-intro:not(.game-picker) .gi-read { position: relative; z-index: 2; min-height: 32px; margin-top: 8px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; font: 600 .8rem var(--font); color: #fff; background: rgba(0, 0, 0, .42); cursor: pointer; animation: ss-fn-in .4s ease .6s both; }
.ms-aboard .ms-run { display: none; }
.finale-dino .fn-head { color: #fde68a; text-shadow: -2px -2px 0 #7c2d12, 2px -2px 0 #7c2d12, -2px 2px 0 #7c2d12, 2px 2px 0 #7c2d12, 0 5px 0 #7c2d12; }
.finale-dino .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0, 0, 0, .42); }

/* Household: a short menu of rows, each opening one page */
.home-menu { list-style: none; margin: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--card, var(--surface)); border: 1px solid var(--line); }
.home-menu li + li { border-top: 1px solid var(--line); }
.menu-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 8px 14px; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.menu-row .ic { flex: none; width: 34px; font-size: 1.35rem; text-align: center; }
.menu-row .t { flex: 1; min-width: 0; } .menu-row b { display: block; } .menu-row small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-row .go { flex: none; width: 18px; height: 18px; rotate: -90deg; color: var(--muted); }
.home-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-bottom: 6px; padding: 0 8px 0 0; border: 0; background: none; color: var(--brand-strong, var(--brand)); font: 700 1rem var(--font); cursor: pointer; }
.home-back svg { width: 18px; height: 18px; rotate: -90deg; }
.quiet-row { margin: 14px 4px; font-size: .9rem; color: var(--muted); }
#homeBody .card h2 { margin-top: 0; }
#homeBody .seg { margin-bottom: 8px; }

/* The game picker: all the games on one screen, starting from the top so nothing is cut off */
.game-intro.game-picker { justify-content: flex-start; overflow-y: auto; padding-top: max(3vh, 16px); padding-bottom: 28px; }
.game-picker .gi-name { padding: 0; background: none !important; box-shadow: none; color: #fde047; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); font-size: 2rem; margin-bottom: 10px; }
.game-picker .gp-grid { flex: none; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.game-picker .gp-card { min-height: 92px; padding: 8px 4px; }
.game-picker .gp-card b { font-size: .78rem; line-height: 1.1; }
.game-picker .gp-ico { font-size: 2rem; }
.game-picker .gp-card:last-child:nth-child(odd) { grid-column: auto; }


/* Unicorn Rainbow and Royal Ball */
body.game-on.game-unicorn { --tile-bg: linear-gradient(180deg, #fdf4ff, #fae8ff); --tile-bg-solid: #fdf4ff; --tile-line: #c026d3; --tile-edge: #a21caf; --tile-ink: #4a044e; --tile-pic: #fff; --game-ink: #4a044e; background: var(--scene-unicorn) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%) fixed !important; }
body.game-unicorn { --dock-bg: rgba(162, 28, 175, .92); --dock-ink: #fdf4ff; }
body.game-on.game-unicorn .race-dock { background: linear-gradient(180deg, #c026d3, #86198f); border: 3px solid #a21caf; border-top: 0; }
body.game-unicorn .race-track { background: rgba(255,255,255,.3); } body.game-unicorn .race-fill { background: linear-gradient(90deg, #fde047, #c026d3); }
.game-unicorn .game-hud { background: linear-gradient(180deg, #c026d3, #86198f); color: #fdf4ff; border-bottom: 3px solid #fde047; }
.game-unicorn :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fdf4ff; } .game-unicorn .hud-add { background: #fde047; color: #701a75; }
.zoom-unicorn .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-unicorn) center bottom / 100% auto no-repeat, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); } .zoom-unicorn .ms-badge b { color: #fde047; }
.finale-unicorn { background: var(--scene-unicorn) center bottom / 100% auto no-repeat, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); color: #4a044e; } .finale-unicorn .fn-head { color: #fde047; text-shadow: -2px -2px 0 #a21caf, 2px -2px 0 #a21caf, -2px 2px 0 #a21caf, 2px 2px 0 #a21caf, 0 5px 0 #a21caf; } .finale-unicorn .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-unicorn { background: linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); color: #4a044e; } .gi-unicorn-stage { background: var(--scene-unicorn) center bottom / 100% auto no-repeat, linear-gradient(180deg, #c4b5fd 0%, #fbcfe8 55%, #fef3c7 100%); }
.enter-unicorn .en-door { background: linear-gradient(180deg, #c026d3, #86198f); border-inline: 8px solid #fde047; }
body.game-on.game-ball { --tile-bg: linear-gradient(180deg, #fff1f2, #ffe4e6); --tile-bg-solid: #fff1f2; --tile-line: #db2777; --tile-edge: #9d174d; --tile-ink: #500724; --tile-pic: #fff; --game-ink: #fff1f2; background: var(--scene-ball) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%) fixed !important; }
body.game-ball { --dock-bg: rgba(80, 7, 36, .94); --dock-ink: #fbcfe8; }
body.game-on.game-ball .race-dock { background: linear-gradient(180deg, #9d174d, #500724); border: 3px solid #9d174d; border-top: 0; }
body.game-ball .race-track { background: rgba(255,255,255,.3); } body.game-ball .race-fill { background: linear-gradient(90deg, #fde047, #db2777); }
.game-ball .game-hud { background: linear-gradient(180deg, #9d174d, #500724); color: #fff1f2; border-bottom: 3px solid #fde047; }
.game-ball :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #fff1f2; } .game-ball .hud-add { background: #fde047; color: #500724; }
.zoom-ball .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-ball) center bottom / 100% auto no-repeat, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); } .zoom-ball .ms-badge b { color: #fde047; }
.finale-ball { background: var(--scene-ball) center bottom / 100% auto no-repeat, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); color: #fff1f2; } .finale-ball .fn-head { color: #fde047; text-shadow: -2px -2px 0 #9d174d, 2px -2px 0 #9d174d, -2px 2px 0 #9d174d, 2px 2px 0 #9d174d, 0 5px 0 #9d174d; } .finale-ball .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-ball { background: linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); color: #fff1f2; } .gi-ball-stage { background: var(--scene-ball) center bottom / 100% auto no-repeat, linear-gradient(180deg, #4a044e 0%, #831843 60%, #be185d 100%); }
.enter-ball .en-door { background: linear-gradient(180deg, #9d174d, #500724); border-inline: 8px solid #fde047; }
:root { --scene-unicorn: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cg fill=%22%23fff%22 opacity=%22.9%22%3E%3Cellipse cx=%2270%22 cy=%2270%22 rx=%2242%22 ry=%2214%22/%3E%3Cellipse cx=%22300%22 cy=%2250%22 rx=%2250%22 ry=%2215%22/%3E%3Cellipse cx=%22350%22 cy=%22130%22 rx=%2234%22 ry=%2211%22/%3E%3C/g%3E %3Cpath d=%22M0 210 Q90 160 210 200 T400 190 V300 H0Z%22 fill=%22%23f9a8d4%22/%3E%3Cpath d=%22M0 248 Q120 212 260 244 T400 240 V300 H0Z%22 fill=%22%23c4b5fd%22/%3E%3Cg fill=%22%23fff%22%3E%3Ccircle cx=%2260%22 cy=%22270%22 r=%224%22/%3E%3Ccircle cx=%22150%22 cy=%22284%22 r=%224%22/%3E%3Ccircle cx=%22300%22 cy=%22274%22 r=%224%22/%3E%3Ccircle cx=%22360%22 cy=%22288%22 r=%224%22/%3E%3C/g%3E%3C/svg%3E"); --scene-ball: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22340%22 cy=%2260%22 r=%2226%22 fill=%22%23fef3c7%22/%3E%3Cpath d=%22M0 240 Q120 214 240 236 T400 232 V300 H0Z%22 fill=%22%23500724%22/%3E %3Cg fill=%22%23831843%22%3E%3Crect x=%22110%22 y=%22120%22 width=%22180%22 height=%22120%22/%3E%3Crect x=%2290%22 y=%2284%22 width=%2240%22 height=%22156%22/%3E%3Crect x=%22270%22 y=%2284%22 width=%2240%22 height=%22156%22/%3E%3Crect x=%22176%22 y=%2270%22 width=%2248%22 height=%22170%22/%3E%3C/g%3E%3Cg fill=%22%23be185d%22%3E%3Cpolygon points=%2290,84 110,44 130,84%22/%3E%3Cpolygon points=%22270,84 290,44 310,84%22/%3E%3Cpolygon points=%22176,70 200,24 224,70%22/%3E%3C/g%3E %3Cg fill=%22%23fde047%22%3E%3Crect x=%22102%22 y=%22110%22 width=%2214%22 height=%2220%22/%3E%3Crect x=%22284%22 y=%22110%22 width=%2214%22 height=%2220%22/%3E%3Crect x=%22192%22 y=%2296%22 width=%2216%22 height=%2222%22/%3E%3Crect x=%22146%22 y=%22150%22 width=%2216%22 height=%2222%22/%3E%3Crect x=%22238%22 y=%22150%22 width=%2216%22 height=%2222%22/%3E%3C/g%3E%3Cpath d=%22M180 240 V204 A20 20 0 0 1 220 204 V240Z%22 fill=%22%23500724%22/%3E%3C/svg%3E"); }
.intro-unicorn .gi-name { color: #fff; --edge: #a21caf; }
.intro-ball .gi-name { color: #fde047; text-shadow: 0 0 10px rgba(253, 224, 71, .8), 0 0 26px #ec4899, 0 4px 0 #500724; font-style: italic; }
.gi-art.gi-rainbow { bottom: 24vh; width: min(320px, 84vw); margin-left: calc(min(320px, 84vw) / -2); }
.bp-ball span { opacity: .25; filter: grayscale(1); transition: opacity .5s, filter .5s; } .bp-ball span.up { opacity: 1; filter: none; }
.en-invite { background: #fff1f2; color: #831843; border-color: #fde047; }

/* Who's playing: the first thing when going into a game */
.who-picker { gap: 10px; }
.who-tip { margin: 0; color: #fff; opacity: .8; font-weight: 600; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
.who-card { position: relative; }
.who-pick { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; min-height: 128px; padding: 12px 4px 8px; border-radius: 20px; border: 3px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.who-pick b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .who-pick small { opacity: .85; font-weight: 600; }
.who-pick[aria-pressed="true"] { background: rgba(255, 255, 255, .22); border-color: #fde047; box-shadow: 0 0 0 3px rgba(253, 224, 71, .35); }
.who-av { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-size: 2.3rem; line-height: 1; font-weight: 800; color: #fff; background: var(--c, rgba(255, 255, 255, .18)); }
.who-pick.new { border-style: dashed; justify-content: center; }
.who-edit { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; font-size: .95rem; background: rgba(0, 0, 0, .45); cursor: pointer; }
.game-picker .gi-play.who-next { margin: 14px 0 0; animation: none; }
.game-picker .gp-reward { margin: 4px 0; color: #fff; text-align: center; }
.who-back { min-height: 36px; margin-bottom: 8px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 .85rem var(--font); cursor: pointer; }

/* Every game the same shape */
body.game-on.game-spy #shopBody .tile { font-family: inherit; text-transform: none; letter-spacing: normal; font-size: .92rem; }
.game-on .spy-panel { gap: 10px; margin: 2px 0 8px; }
.game-on .spy-panel .radar { width: 58px; height: 58px; }
.game-on .spy-panel .spy-msg { flex: 1; min-width: 0; margin: 0; }

/* Finish: always at the bottom of the screen in a game, in that game's colours */
body.game-on #finishBar, body.game-on #finishBar.all-done { position: fixed; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 25; padding: 0 16px; pointer-events: none; }
body.game-on #finishBar .finish-btn { pointer-events: auto; touch-action: none; -webkit-touch-callout: none; background: var(--finish-bg, #ffd54a); color: var(--finish-ink, #111); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
body.game-on #finishBar .finish-btn.holding { animation: none; }
body.game-on #view-shop { padding-bottom: 86px; }
body.game-race { --finish-bg: #facc15; --finish-ink: #111; }
body.game-space { --finish-bg: #22d3ee; --finish-ink: #0b1020; }
body.game-farm { --finish-bg: #fde047; --finish-ink: #5a3a1a; }
body.game-dino { --finish-bg: #f97316; --finish-ink: #fff; }
body.game-spy { --finish-bg: #4ade80; --finish-ink: #04140a; }
body.game-trip { --finish-bg: #fde047; --finish-ink: #14361a; }
body.game-pirate { --finish-bg: #fbbf24; --finish-ink: #431407; }
body.game-robot { --finish-bg: #38bdf8; --finish-ink: #0f172a; }
body.game-potion { --finish-bg: #c084fc; --finish-ink: #2e1065; }
body.game-super { --finish-bg: #fde047; --finish-ink: #7f1d1d; }
body.game-garden { --finish-bg: #fbcfe8; --finish-ink: #831843; }
body.game-unicorn { --finish-bg: #fde047; --finish-ink: #701a75; }
body.game-ball { --finish-bg: #fde047; --finish-ink: #500724; }

/* The window at the top of every game: about three-quarters of its old height, so the things to find get the room */
body.game-on .race-dock { padding: 5px 14px 1px; margin-bottom: 8px; }
body.game-on .race-dock .who-row { margin-bottom: 3px; }
body.game-on .race-dock .who-chip { padding-block: 1px; font-size: .78rem; }
body.game-on .race-dock .who-chip i { width: 19px; height: 19px; }
body.game-on .race-dock .who-change { min-height: 24px; font-size: .75rem; }
body.game-on #shopBody .race-dock .race-text { margin-bottom: 1px; font-size: .98rem; line-height: 1.15; }
body.game-on #shopBody .race-dock .race-sub { margin: 0 0 3px; font-size: .78rem; }
body.game-on .race-dock .race { height: 34px; margin: 2px 4px 4px; }
body.game-on .race-dock .race .race-cart { font-size: 1.8rem; } body.game-on .race-dock .race .race-flag { font-size: 1.5rem; }
body.game-on .race-dock .race.stones.trail, body.game-on .race-dock .lane { zoom: .72; margin: 2px 0 6px; }
body.game-on .race-dock .game-extra { margin: 0 0 5px; min-height: 22px; }
body.game-on .race-dock .game-extra.planets { gap: 7px; }
body.game-on .race-dock .gauge { height: 10px; margin: 2px 6px 5px; }
body.game-on .race-dock .bp { margin: 0 0 4px; }
body.game-on .race-dock .bp svg { height: 66px; width: auto; max-width: 100%; }
body.game-on .race-dock .bp-garden { font-size: 1.6rem; }
body.game-on .race-dock .spy-panel { margin: 0 0 4px; } body.game-on .race-dock .spy-panel .radar { width: 44px; height: 44px; }
body.game-on .race-dock .spy-msg { padding: 4px 10px; } body.game-on .race-dock .spy-msg small { font-size: .58rem; } body.game-on .race-dock .spy-msg b { font-size: .8rem; }
body.game-on .race-dock .scoreboard { margin-bottom: 3px; font-size: .78rem; }

/* The screens answer back: a job to do at 25/50/75%, and sparkles wherever a finger lands */
@keyframes ss-ms-badge-in { 0% { transform: scale(.2) rotate(-12deg); opacity: 0; } 70% { transform: scale(1.12) rotate(3deg); } 100% { transform: none; opacity: 1; } }
.ms-tap { position: absolute; left: 0; right: 0; bottom: 7%; z-index: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font: 700 1.3rem var(--font); text-align: center; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); pointer-events: none; animation: gi-tap-pulse 1s ease-in-out infinite; }
@keyframes gi-tap-pulse { 50% { scale: 1.07; } }
.ms-dots { display: flex; gap: 10px; }
.ms-dots i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; background: rgba(0, 0, 0, .25); transition: background .15s, scale .15s; }
.ms-dots i.on { background: #fde047; scale: 1.25; }
.ms-show.done .ms-scene { animation: tap-done .6s ease both; }
@keyframes tap-done { 40% { scale: 1.08; filter: brightness(1.35); } }
.ms-show { cursor: pointer; } .ms-run { pointer-events: none; }
.tap-pop { position: fixed; left: var(--x); top: var(--y); z-index: 3; margin: -1.1rem 0 0 -1.1rem; font-size: 2.2rem; font-style: normal; line-height: 1; pointer-events: none; animation: tap-pop .8s ease-out forwards; }
@keyframes tap-pop { 0% { scale: .3; opacity: 0; } 25% { scale: 1.2; opacity: 1; } 100% { translate: 0 -70px; scale: .9; opacity: 0; } }
.finale .fn-tap { position: absolute; bottom: 18px; left: 0; right: 0; width: fit-content; margin-inline: auto; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; color: #111; background: #ffd54a; font: 700 1rem var(--font); opacity: 1; z-index: 2; cursor: pointer; animation: ss-fn-in .4s ease 3.6s both; }
@media (prefers-reduced-motion: reduce) { .ms-tap, .tap-pop { animation-duration: .01s !important; } .tap-pop { display: none; } }

/* The offer to install */
.install-offer { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 80px); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: rise .35s var(--spring); }
.install-offer img { flex: none; border-radius: 10px; }
.install-offer .t { flex: 1; min-width: 0; } .install-offer b { display: block; } .install-offer small { display: block; color: var(--muted); font-size: .78rem; }
.install-offer .btn { flex: none; }

/* List icons, chosen in Settings: Auto (the usual) grows with the screen, Large is the full size, Medium is 75% of it */
:root[data-icons="auto"] .row .e { --ic: clamp(33px, 11.7vw, 52px); width: var(--ic); height: var(--ic); font-size: calc(var(--ic) * .66); border-radius: calc(var(--ic) * .32); }
:root[data-icons="medium"] .row .e { font-size: 1.36rem; width: 33px; height: 33px; border-radius: 11px; }
:root[data-icons="small"] .row .e { font-size: 1rem; width: 24px; height: 24px; border-radius: 8px; }
:root[data-icons="off"] .row .e, :root[data-icons="off"] body:not(.kid) .aisle-h .ae { display: none; }
.set-pick { display: grid; gap: 8px; padding: 10px 0; }
.set-pick + .set-pick { border-top: 1px solid var(--line); }
.set-pick b, .set-pick small { display: block; }
.set-pick small { color: var(--muted); }
.set-pick .seg { flex-wrap: wrap; }
.set-pick .seg button { flex: 1 1 auto; min-width: 0; padding: 0 6px; font-size: .9rem; }

/* Text size, chosen in Settings (the games always use normal) */
:root[data-text="large"] { font-size: 112.5%; }
:root[data-text="xlarge"] { font-size: 125%; }

/* The Clean theme, chosen in Settings: neutral colours, one muted green, plain type, flat buttons. The games switch back to Playful. */
:root[data-style="clean"] {
  --bg: #F6F7F6; --surface: #FFFFFF; --surface-2: #EEF1EF; --text: #1B2420; --muted: #5C6963; --line: #DFE4E1;
  --brand: #1F6F54; --brand-2: #1F6F54; --brand-strong: #185A44; --brand-ink: #FFFFFF; --brand-soft: #E1EFE9;
  --grad: linear-gradient(#1F6F54, #1F6F54); --grad-soft: linear-gradient(#E1EFE9, #EEF1EF); --btn-glow: 0 0 0 transparent;
  --ok: #1F8A63; --ok-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06); --shadow-lg: 0 12px 32px -12px rgba(20, 30, 25, .25);
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root[data-style="clean"]:not([data-theme="light"]) {
  --bg: #141716; --surface: #1C201E; --surface-2: #252A28; --text: #ECEFED; --muted: #A3ADA8; --line: #333A37;
  --brand: #5FC29E; --brand-2: #5FC29E; --brand-strong: #8FD8BD; --brand-ink: #0B1F18; --brand-soft: #1E3A30;
  --grad: linear-gradient(#5FC29E, #5FC29E); --grad-soft: linear-gradient(#1E3A30, #252A28); --btn-glow: 0 0 0 transparent;
  --ok: #4CC79A; --ok-ink: #06201A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 12px 32px -12px rgba(0, 0, 0, .7);
  }
}
:root[data-style="clean"][data-theme="dark"] {
  --bg: #141716; --surface: #1C201E; --surface-2: #252A28; --text: #ECEFED; --muted: #A3ADA8; --line: #333A37;
  --brand: #5FC29E; --brand-2: #5FC29E; --brand-strong: #8FD8BD; --brand-ink: #0B1F18; --brand-soft: #1E3A30;
  --grad: linear-gradient(#5FC29E, #5FC29E); --grad-soft: linear-gradient(#1E3A30, #252A28); --btn-glow: 0 0 0 transparent;
  --ok: #4CC79A; --ok-ink: #06201A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 12px 32px -12px rgba(0, 0, 0, .7);
}
:root[data-style="clean"] h1 { font-weight: 700; }
:root[data-style="clean"] .btn.primary { box-shadow: none; }
:root[data-style="clean"] .btn:not(.icon), :root[data-style="clean"] .btn.lg, :root[data-style="clean"] .tool { border-radius: 10px; }
:root[data-style="clean"] .seg { border-radius: 10px; }
:root[data-style="clean"] .seg button { border-radius: 8px; }
:root[data-style="clean"] .tool .ti, :root[data-style="clean"] .tool.alt .ti { border-radius: 8px; background: var(--brand-soft); color: var(--brand-strong); box-shadow: none; }

/* Clearing the trolley from the List tab */
.aisle-h .clear-ticked { margin-left: auto; padding: 4px 10px; font-size: .85rem; text-transform: none; letter-spacing: 0; }
.aisle-h .clear-ticked + .n { margin-left: 0; }

/* Prices, when they're switched on in Settings */
.price-bar { position: sticky; top: 58px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.price-bar span { display: grid; }
.price-bar small { color: var(--muted); font-size: .78rem; }
.price-bar b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.price-bar .price-gap { flex-basis: 100%; }
.price-tag { flex: none; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-2); color: var(--text); font: 600 .85rem var(--font); font-variant-numeric: tabular-nums; cursor: pointer; }
.price-tag.none { background: transparent; color: var(--muted); border-style: dashed; }

/* A line drawn through the name when it's ticked off */
.shop-row .nm { position: relative; }
.strike { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.strike path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: strike-in .38s ease-out forwards; }
@keyframes strike-in { to { stroke-dashoffset: 0; } }
.shop-row.striking-off .nm { color: var(--muted); transition: color .3s; }
.shop-row.striking-off .check { background: var(--ok); border-color: var(--ok); }
.shop-row.striking-off .check svg { opacity: 1; transform: scale(1); }

/* The how-to guide: the app dimmed, the real button lit up, and a small animation of the move */
.guide { position: fixed; inset: 0; z-index: 900; touch-action: manipulation; }
.guide.out { opacity: 0; transition: opacity .25s; }
.guide-hole { position: fixed; left: var(--x, 50%); top: var(--y, 50%); width: var(--w, 0); height: var(--h, 0); border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .72); transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; }
.guide-hole::after { content: ""; position: absolute; inset: 0; border: 3px solid #ffd54a; border-radius: inherit; animation: guide-ring 1.3s ease-in-out infinite; }
.guide-hole.none::after, .guide-finger { display: none; }
.guide-hole.tap .guide-finger { display: block; position: absolute; left: 50%; top: 50%; font-size: 2.1rem; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); animation: guide-tap 1.3s ease-in-out infinite; }
@keyframes guide-ring { 50% { box-shadow: 0 0 0 7px rgba(255, 213, 74, .35); } }
@keyframes guide-tap { 0%, 100% { transform: translate(-6px, 8px); } 45% { transform: translate(-6px, -2px) scale(.88); } }
.guide-card { position: fixed; left: 16px; right: 16px; margin-inline: auto; top: var(--top, 30%); max-width: 380px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; padding: 14px 16px 16px; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); transition: top .35s ease; }
.guide-top { display: flex; align-items: center; justify-content: space-between; min-height: 36px; color: var(--muted); font-size: .85rem; }
.guide-top .link { min-height: 36px; padding: 0 0 0 12px; font-size: .9rem; }
.guide-card img { display: block; margin: 0 auto 4px; }
.guide-card h2 { margin: 2px 0 4px; font-size: 1.2rem; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-card.tight .guide-demo { display: none; }
.guide-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.guide-demo { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); overflow: hidden; font-size: .95rem; }
.gd-row { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border-radius: 10px; background: var(--surface); }
.gd-row small { margin-left: auto; color: var(--muted); }
.gd-box { display: flex; align-items: center; min-height: 38px; margin-bottom: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.gd-type { display: inline-block; overflow: hidden; white-space: nowrap; animation: gd-type 4s steps(6) infinite; }
.gd-caret { width: 2px; height: 1.1em; margin-left: 2px; background: var(--brand); animation: gd-blink .8s steps(2) infinite; }
@keyframes gd-type { 0% { width: 0; } 35%, 100% { width: 3.1em; } }
@keyframes gd-blink { 50% { opacity: 0; } }
.gd-pop { animation: gd-pop 4s ease infinite; }
@keyframes gd-pop { 0%, 40% { opacity: 0; transform: translateY(-8px); } 50%, 100% { opacity: 1; transform: none; } }
.gd-swipe { position: relative; min-height: 38px; border-radius: 10px; background: var(--brand-soft); overflow: hidden; }
.gd-under { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--brand-strong); font-size: .85rem; font-weight: 700; }
.gd-slide { position: relative; animation: gd-slide 3.6s ease-in-out infinite; }
@keyframes gd-slide { 0%, 20% { transform: none; } 50%, 75% { transform: translateX(-100%); } 90%, 100% { transform: none; } }
.gd-swipe .gd-finger { position: absolute; left: 70%; top: 4px; font-size: 1.6rem; line-height: 1; animation: gd-finger 3.6s ease-in-out infinite; }
@keyframes gd-finger { 0%, 20% { transform: none; opacity: 1; } 50% { transform: translateX(-150px); opacity: 1; } 55%, 100% { opacity: 0; transform: translateX(-150px); } }
.gd-list { display: grid; gap: 6px; }
.gd-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 50%; color: transparent; font-size: .8rem; font-style: normal; }
.gd-first .gd-check { animation: gd-check 4.4s linear infinite; }
@keyframes gd-check { 0%, 14% { background: transparent; border-color: var(--line); color: transparent; } 16%, 96% { background: var(--ok); border-color: var(--ok); color: var(--ok-ink); } 100% { background: transparent; border-color: var(--line); color: transparent; } }
.gd-nm { position: relative; display: inline-block; }
.gd-nm b { font-weight: 600; }
.gd-first .gd-nm b { animation: gd-cross 4.4s linear infinite; }
@keyframes gd-cross { 0%, 52% { text-decoration: none; color: inherit; } 54%, 96% { text-decoration: line-through; color: var(--muted); } }
.gd-strike { position: absolute; left: -3px; top: 54%; transform: translateY(-50%); overflow: visible; }
.gd-strike path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; animation: gd-strike 4.4s linear infinite; }
@keyframes gd-strike { 0%, 16% { stroke-dashoffset: 1; opacity: 1; } 34%, 50% { stroke-dashoffset: 0; opacity: 1; } 52%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.gd-first { animation: gd-down 4.4s ease infinite; }
.gd-second { animation: gd-up 4.4s ease infinite; }
@keyframes gd-down { 0%, 50% { transform: none; } 60%, 96% { transform: translateY(calc(100% + 6px)); } 100% { transform: none; } }
@keyframes gd-up { 0%, 50% { transform: none; } 60%, 96% { transform: translateY(calc(-100% - 6px)); } 100% { transform: none; } }
.gd-live { position: relative; display: grid; gap: 6px; }
.gd-alert { position: absolute; left: 0; right: 0; width: fit-content; margin-inline: auto; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border: 1.5px solid var(--brand); border-radius: 99px; background: var(--brand-soft); box-shadow: var(--shadow-lg); white-space: nowrap; animation: gd-alert 4.4s ease infinite; }
.gd-alert b { color: var(--brand-strong); }
.gd-alert small { color: var(--muted); }
.gd-arrive { animation: gd-arrive 4.4s ease infinite; }
@keyframes gd-alert { 0%, 8% { opacity: 0; transform: translateY(-10px) scale(.85); } 16%, 56% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(44px) scale(.6); } }
@keyframes gd-arrive { 0%, 62% { opacity: 0; } 70%, 100% { opacity: 1; } }
.gd-finish { position: relative; display: grid; place-items: center; min-height: 42px; border-radius: 10px; background: var(--grad); color: var(--brand-ink); font-weight: 700; animation: gd-press 1.6s ease-in-out infinite; }
.gd-finish .gd-finger { position: absolute; right: 22%; top: 16px; font-size: 1.5rem; line-height: 1; }
@keyframes gd-press { 50% { transform: scale(.97); } }
.gd-games { display: flex; justify-content: space-around; font-size: 1.7rem; line-height: 1.3; }
.gd-games span { animation: gd-bounce 1.5s ease-in-out infinite; }
.gd-games span:nth-child(2) { animation-delay: .15s; } .gd-games span:nth-child(3) { animation-delay: .3s; } .gd-games span:nth-child(4) { animation-delay: .45s; } .gd-games span:nth-child(5) { animation-delay: .6s; }
@keyframes gd-bounce { 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .guide-hole, .guide-card { transition: none; }
  .guide *, .guide *::after { animation: none !important; }
  .gd-pop { opacity: 1; }
  .gd-alert { display: none; }
  .gd-strike { display: none; }
}

/* A long name or a big price wraps instead of squeezing the row or pushing a sheet's close button off screen */
.shop-row { flex-wrap: wrap; }
.shop-row .t { flex: 1 1 6em; }
.sheet-head > :first-child { min-width: 0; overflow-wrap: anywhere; }
.sheet-head .btn { flex: none; }

/* Scenes matched to what the games say */
.pirate-map { display: block; width: 100%; height: auto; stroke: none; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); transform: rotate(-2deg); }
.pm-ink { filter: sepia(.85) saturate(.75) contrast(1.05); }
.pm-new { animation: pm-new 1.1s ease-out 3 both; }
@keyframes pm-new { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: .15; } }
.sx-rivals { left: 0; top: 62%; font-size: 2.6rem; line-height: 1; white-space: nowrap; animation: sx-rivals 3.2s ease-in-out both; }
@keyframes sx-rivals { from { transform: translateX(-120%); } to { transform: translateX(46vw); } }
.fs-map { position: absolute; left: 12px; top: max(12px, env(safe-area-inset-top)); width: min(30vw, 130px); z-index: 1; animation: sx-grow .6s cubic-bezier(.3, 1.5, .5, 1) 1.4s both; }
.sx-gauge { left: 50%; top: 28%; width: min(240px, 62vw); height: 22px; margin-left: calc(min(240px, 62vw) / -2); border: 3px solid #fff; border-radius: 99px; overflow: hidden; background: rgba(0, 0, 0, .35); }
.sx-gauge i { display: block; width: 25%; height: 100%; background: #22d3ee; animation: sx-fill 1s ease-out both; transform-origin: left; }
@keyframes sx-fill { from { transform: scaleX(0); } }
.sx-cheer { left: 0; right: 0; top: 22%; display: flex; justify-content: space-around; font-size: 2.4rem; }
.sx-cheer i { animation: sx-hop .3s ease-in-out infinite alternate; }
.sx-cheer i:nth-child(2n) { animation-delay: .15s; }
.sx-carriage { left: 0; right: 0; top: 62%; display: flex; justify-content: center; gap: 4px; font-size: 3.4rem; }
.sx-chips { left: 50%; top: 62%; margin-left: -.5em; font-size: 4rem; line-height: 1; animation: sx-wobble .3s ease-in-out infinite alternate; }
.gi-sleeper { position: absolute; left: 44%; bottom: 30vh; font-size: 2.6rem; line-height: 1; }
.gi-sleeper small { position: absolute; left: 80%; top: -30%; font-size: 1.2rem; animation: gi-tap-pulse 1.6s ease-in-out infinite; }
.game-intro .gi-farm-stage .gi-ani { bottom: auto; top: 40vh; }
.gi-farm-stage::before { content: ""; position: absolute; inset: 0; background: rgba(30, 41, 59, .4); }
.gi-rain { position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 14px, rgba(255, 255, 255, .28) 14px 16px); background-size: 200px 200px; animation: gi-rain .5s linear infinite; }
@keyframes gi-rain { to { background-position: -40px 120px; } }
/* in space the rocket is stuck on the pad at the start: it shakes, and doesn't go anywhere yet */
.game-intro .gi-launch { animation: sx-wobble .25s ease-in-out infinite alternate; }
.game-intro .gi-launch::after { display: none; }
@media (prefers-reduced-motion: reduce) { .gi-rain, .pm-new, .sx-rivals, .sx-gauge i, .sx-cheer i, .sx-chips, .game-intro .gi-launch { animation: none; } .pm-new { opacity: .6; } }

/* In every game, what's already found steps back: grey and quiet, so the eye stays on what's left to find */
body.kid #shopBody .found-toggle { min-height: 40px; padding: 4px 14px; font-size: .85rem; font-weight: 600; background: rgba(120, 120, 120, .16); color: inherit; opacity: .72; box-shadow: none; }
body.kid #shopBody .found-toggle .fb-pics { filter: grayscale(1); opacity: .6; }
body.kid #shopBody .tile.done { opacity: .5; filter: grayscale(1); background: rgba(120, 120, 120, .14); border-color: transparent; box-shadow: none; min-height: 0; padding-block: 6px; font-size: .8rem; font-weight: 500; }
body.kid #shopBody .tile.done .e { width: 40px; height: 40px; font-size: 1.6rem; background: rgba(120, 120, 120, .14); }
body.kid #shopBody .tile.done::after { top: 4px; left: 4px; width: 20px; height: 20px; font-size: .7rem; }
/* Next time: rolled up at the very bottom, greyer still, with a dashed edge so it reads as "not today" */
body.kid #shopBody .later-bar .found-toggle { opacity: .6; border: 2px dashed rgba(160, 160, 160, .45); }
body.kid #shopBody .later-note { margin: 8px 4px 0; font-size: .8rem; opacity: .65; }
body.kid #shopBody .tile.later { opacity: .42; filter: grayscale(1); background: rgba(120, 120, 120, .12); border: 2px dashed rgba(160, 160, 160, .45); box-shadow: none; min-height: 0; padding-block: 6px; font-size: .8rem; font-weight: 500; }
body.kid #shopBody .tile.later .e { width: 40px; height: 40px; font-size: 1.6rem; background: rgba(120, 120, 120, .14); }

/* Browsers without color-mix (Safari before 16.2, Samsung Internet before 22): the same rules with the nearest plain colour,
   so bars and tiles don't go see-through. Add to this when a new rule uses color-mix. */
@supports not (background: color-mix(in srgb, red, blue)) {
  :focus-visible { outline: 3px solid var(--brand); }
  textarea:focus, input:focus, select:focus { box-shadow: 0 0 0 4px transparent; }
  .switch input:focus-visible + span { outline: 3px solid transparent; }
  .welcome { background: radial-gradient(900px 480px at 50% -12%, transparent, transparent 70%), radial-gradient(600px 400px at 100% 100%, transparent, transparent 70%), var(--bg); }
  .topbar { background: var(--bg); }
  .sync::before { box-shadow: 0 0 0 3px transparent; }
  .tabbar { background: var(--surface); }
  .tab[aria-selected="true"] svg { fill: transparent; }
  .aisle-switch[aria-pressed="true"] { background: transparent; }
  @media (min-width: 900px) { .tabbar { background: var(--bg); } }
  .chip.due { border-color: var(--line); }
  .row:hover { background: transparent; }
  .row .e { background: var(--surface); }
  .aisle-h .ae { background: var(--surface); }
  .tile .e { background: var(--surface); }
  .tile.done { background: var(--surface); box-shadow: 0 4px 0 var(--ok); }
  .at-shop { background: var(--surface); border: 1.5px solid transparent; }
  .add-input .mic { background: transparent; }
  .fam-av { background: var(--surface); }
  .av-pick[aria-checked="true"] { background: var(--surface-2); }
  .skel i { background: linear-gradient(90deg, var(--line) 0%, var(--surface) 50%, var(--line) 100%); }
  .invite-code { border: 1.5px dashed transparent; }
  .aisle-order .e { background: var(--surface); }
  .scan-list li.unsure input.nm { background: var(--surface); }
  .trial-bar { background: var(--surface); border-bottom: 1px solid transparent; }
  .trial-card { border: 2px solid transparent; }
  .after-nudge { background: var(--surface); }
  body.game-on #shopBody .tile .e { background: var(--tile-pic, var(--surface)); }
  body.game-on #shopBody .tile.done { background: var(--tile-bg-solid, var(--surface)); box-shadow: 0 4px 0 var(--ok); }
  #listBody .row.swipe-far { background: var(--surface); }
}


/* Little Vet and Digger Crew */
body.game-on.game-vet { --tile-bg: linear-gradient(180deg, #f0fdfa, #ccfbf1); --tile-bg-solid: #f0fdfa; --tile-line: #14b8a6; --tile-edge: #0f766e; --tile-ink: #134e4a; --tile-pic: #fff; --game-ink: #134e4a; background: var(--scene-vet) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%) fixed !important; }
body.game-vet { --dock-bg: rgba(15, 118, 110, .92); --dock-ink: #f0fdfa; --finish-bg: #fda4af; --finish-ink: #4c0519; }
body.game-on.game-vet .race-dock { background: linear-gradient(180deg, #14b8a6, #0f766e); border: 3px solid #0f766e; border-top: 0; }
body.game-vet .race-track { background: rgba(255,255,255,.3); } body.game-vet .race-fill { background: linear-gradient(90deg, #fda4af, #14b8a6); }
.game-vet .game-hud { background: linear-gradient(180deg, #14b8a6, #0f766e); color: #f0fdfa; border-bottom: 3px solid #fda4af; }
.game-vet :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #f0fdfa; } .game-vet .hud-add { background: #fda4af; color: #4c0519; }
.zoom-vet .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-vet) center bottom / 100% auto no-repeat, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); } .zoom-vet .ms-badge b { color: #fda4af; }
.finale-vet { background: var(--scene-vet) center bottom / 100% auto no-repeat, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); color: #134e4a; } .finale-vet .fn-head { color: #fda4af; text-shadow: -2px -2px 0 #0f766e, 2px -2px 0 #0f766e, -2px 2px 0 #0f766e, 2px 2px 0 #0f766e, 0 5px 0 #0f766e; } .finale-vet .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-vet { background: linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); color: #134e4a; } .gi-vet-stage { background: var(--scene-vet) center bottom / 100% auto no-repeat, linear-gradient(180deg, #99f6e4 0%, #ccfbf1 60%, #f0fdfa 100%); }
.enter-vet .en-door { background: linear-gradient(180deg, #14b8a6, #0f766e); border-inline: 8px solid #fda4af; }
body.game-on.game-digger { --tile-bg: linear-gradient(180deg, #fefce8, #fef08a); --tile-bg-solid: #fefce8; --tile-line: #ca8a04; --tile-edge: #854d0e; --tile-ink: #422006; --tile-pic: #fff; --game-ink: #422006; background: var(--scene-digger) center bottom / 100% auto no-repeat fixed, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%) fixed !important; }
body.game-digger { --dock-bg: rgba(66, 32, 6, .92); --dock-ink: #fef9c3; --finish-bg: #1c1917; --finish-ink: #fde047; }
body.game-on.game-digger .race-dock { background: linear-gradient(180deg, #eab308, #a16207); border: 3px solid #854d0e; border-top: 0; }
body.game-digger .race-track { background: rgba(255,255,255,.3); } body.game-digger .race-fill { background: linear-gradient(90deg, #1c1917, #ca8a04); }
.game-digger .game-hud { background: linear-gradient(180deg, #eab308, #a16207); color: #1c1917; border-bottom: 3px solid #1c1917; }
.game-digger :is(.hud-exit, .hud-sound, .hud-swap) { background: rgba(255,255,255,.16); color: #1c1917; } .game-digger .hud-add { background: #1c1917; color: #fde047; }
.zoom-digger .ms-bg { background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--scene-digger) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); } .zoom-digger .ms-badge b { color: #1c1917; }
.finale-digger { background: var(--scene-digger) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); color: #422006; } .finale-digger .fn-head { color: #1c1917; text-shadow: -2px -2px 0 #854d0e, 2px -2px 0 #854d0e, -2px 2px 0 #854d0e, 2px 2px 0 #854d0e, 0 5px 0 #854d0e; } .finale-digger .fn-sub { padding: 6px 12px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); }
.intro-digger { background: linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); color: #422006; } .gi-digger-stage { background: var(--scene-digger) center bottom / 100% auto no-repeat, linear-gradient(180deg, #7dd3fc 0%, #fde68a 62%, #fbbf24 100%); }
.enter-digger .en-door { background: linear-gradient(180deg, #eab308, #a16207); border-inline: 8px solid #1c1917; }
:root { --scene-vet: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cpath d=%22M0 246 Q120 226 260 244 T400 240 V300 H0Z%22 fill=%22%2386efac%22/%3E %3Crect x=%22120%22 y=%22120%22 width=%22210%22 height=%22128%22 fill=%22%23f8fafc%22 stroke=%22%2394a3b8%22 stroke-width=%223%22/%3E%3Crect x=%22120%22 y=%22108%22 width=%22210%22 height=%2216%22 fill=%22%230f766e%22/%3E%3Cg fill=%22%23ef4444%22%3E%3Crect x=%22214%22 y=%2254%22 width=%2222%22 height=%2254%22/%3E%3Crect x=%22198%22 y=%2270%22 width=%2254%22 height=%2222%22/%3E%3C/g%3E %3Cg fill=%22%23bae6fd%22 stroke=%22%2364748b%22 stroke-width=%222%22%3E%3Crect x=%22140%22 y=%22142%22 width=%2236%22 height=%2230%22/%3E%3Crect x=%22274%22 y=%22142%22 width=%2236%22 height=%2230%22/%3E%3C/g%3E%3Crect x=%22204%22 y=%22176%22 width=%2242%22 height=%2272%22 fill=%22%230f766e%22/%3E%3Ccircle cx=%22238%22 cy=%22214%22 r=%223%22 fill=%22%23fde047%22/%3E%3C/svg%3E"); --scene-digger: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 300%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Ccircle cx=%22340%22 cy=%2260%22 r=%2228%22 fill=%22%23fde047%22/%3E%3Cpath d=%22M0 232 Q130 196 270 228 T400 222 V300 H0Z%22 fill=%22%23b45309%22/%3E%3Cpath d=%22M0 262 Q150 240 290 260 T400 256 V300 H0Z%22 fill=%22%2392400e%22/%3E %3Cpath d=%22M40 232 L78 176 L116 232Z%22 fill=%22%23a16207%22/%3E%3Cg fill=%22%23f97316%22%3E%3Cpolygon points=%22300,234 312,196 324,234%22/%3E%3Cpolygon points=%22340,238 352,200 364,238%22/%3E%3C/g%3E%3Cg fill=%22%23fff%22%3E%3Crect x=%22306%22 y=%22214%22 width=%2212%22 height=%225%22/%3E%3Crect x=%22346%22 y=%22218%22 width=%2212%22 height=%225%22/%3E%3C/g%3E%3C/svg%3E"); }
.intro-vet .gi-name { color: #fff; --edge: #0f766e; }
.intro-digger .gi-name { color: #fde047; --edge: #422006; }
.digger-art { display: block; width: 100%; height: auto; stroke: none; }
.gi-tractor .digger-art { width: 1.5em; }
.gi-ani small { position: absolute; right: -6px; bottom: -2px; font-size: .55em; }
.sx-patch { left: 56%; top: 52%; font-size: 3rem; line-height: 1; animation: sx-grow .5s cubic-bezier(.3, 1.8, .5, 1) .5s both; }
.sx-steth { left: 50%; top: 28%; margin-left: -.5em; font-size: 4rem; line-height: 1; animation: sx-wobble .4s ease-in-out infinite alternate; }
.sx-digging { left: 6%; bottom: 62%; width: min(150px, 40vw); animation: sx-wobble .3s ease-in-out infinite alternate; }
.bp-super svg.pg { max-width: 320px; }
.sx-hall { top: 26%; width: min(320px, 86vw); margin-left: calc(min(320px, 86vw) / -2); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 22px rgba(0, 0, 0, .45); }

/* The start screen's way back to the games */
.game-intro:not(.game-picker) .gi-back { position: absolute; z-index: 3; left: 12px; top: max(12px, env(safe-area-inset-top)); min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; font: 700 .9rem var(--font); cursor: pointer; }
.installed-tick { color: var(--ok); white-space: nowrap; }

/* Who's playing: the kids' cards centred, and the grown-ups' buttons tucked underneath */
.who-picker .who-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 420px; margin-inline: auto; }
.who-picker .who-card { flex: 0 1 calc((100% - 20px) / 3); max-width: 130px; }
.who-picker > .who-tip, .who-picker > .gi-name { text-align: center; }
.who-tools { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; width: 100%; max-width: 420px; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); }
.who-tools button { min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 600 .85rem var(--font); cursor: pointer; }
.who-mini { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--surface-2); }
.pirate-ship { display: inline-block; vertical-align: -.12em; stroke: none; overflow: visible; }
.sx-rivals .pirate-ship { font-size: 3.4rem; }
.pirate-ship { width: 1em; height: 1em; stroke: none; }
/* the large size: the picture fills more of its tile, so it reads at a glance */
:root[data-icons="large"] .row .e { font-size: 1.8rem; }

/* a reward a kid has earned, waiting for a grown-up to give it (top of Household) */
.card.reward-due { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.card.reward-due p { margin: 0; }
.card.reward-due .btn { flex: none; white-space: nowrap; }

/* Pictures sheet: a search box above the aisle chips */
.browse-search { width: 100%; min-height: 44px; margin-bottom: 8px; padding: 8px 14px; border-radius: 12px; border: 2px solid var(--line, #ddd);
  font: inherit; background: var(--card, #fff); color: inherit; }
.browse .tile.typed .e { font-weight: 700; }

/* ---- a phone held sideways: the story on the left, the pictures on the right ---- */
.kid-split, .kid-story, .kid-finds { display: contents; }
.story-hero, .story-rocket { display: none; }
.hud-swap { display: none; }
@media (orientation: landscape) and (max-height: 560px) {
  body.game-on main { max-width: none; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 16px calc(70px + env(safe-area-inset-left)); }
  body.game-on.hud-away main { padding-top: max(8px, env(safe-area-inset-top)); }
  /* the game bar becomes a rail down the left edge */
  .game-hud { right: auto; bottom: 0; width: calc(62px + env(safe-area-inset-left)); flex-direction: column; justify-content: flex-start; gap: 10px;
    padding: max(10px, env(safe-area-inset-top)) 6px 10px calc(6px + env(safe-area-inset-left)); }
  body.hud-away .game-hud { transform: none; }
  .hud-title { display: none; }
  .hud-btn { width: 50px; min-height: 50px; padding: 0; display: grid; place-items: center; font-size: 1.15rem; }
  .hud-btn span, .hud-add { font-size: 0; }
  .hud-add::before { content: "＋"; font-size: 1.4rem; }
  .hud-exit { font-size: 1.2rem; }
  .hud-swap { display: grid; margin-top: auto; font-size: 1.3rem; }
  /* swapped: the pictures on the left, the story on the right (for a left thumb) */
  body.game-on.story-right .kid-split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  body.game-on.story-right .kid-story { order: 2; }
  body.game-on.story-right #finishBar, body.game-on.story-right #finishBar.all-done { left: auto; right: max(12px, env(safe-area-inset-right)); }

  body.game-on .kid-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; align-items: start; }
  body.game-on .kid-story { position: sticky; top: max(8px, env(safe-area-inset-top)); z-index: 30;
    height: calc(100vh - 16px - env(safe-area-inset-top)); height: calc(100dvh - 16px - env(safe-area-inset-top)); }
  body.game-on .kid-finds { display: block; min-width: 0; }
  body.game-on .kid-story { display: flex; flex-direction: column; gap: 8px; }
  body.game-on .kid-story .race-dock { flex: 1; min-height: 0; }
  body.game-on .kid-story .kid-banner { flex: none; margin: 0; padding: 8px 10px; border-radius: 18px; }
  body.game-on .kid-story .kid-banner h2 { font-size: 1rem; margin: 0 0 6px; }
  /* while the "who's helping?" box is showing, the panel below it goes compact */
  body.game-on .kid-story:has(.kid-banner) .story-hero { display: none; }
  body.game-on.game-spy .kid-story:has(.kid-banner) .radar { width: 64px; height: 64px; }
  body.game-on.game-space .kid-story:has(.kid-banner) .pl { width: 16px; height: 16px; }
  body.game-on.game-space .kid-story:has(.kid-banner) .stp { font-size: 1.2rem; }
  body.game-on.game-space .kid-story:has(.kid-banner) .story-rocket { font-size: 1.3rem; }
  body.game-on .kid-story .race-dock { position: static; margin: 0; height: 100%; overflow: hidden auto; border-radius: 22px;
    display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 14px; }
  body.game-on .kid-story .race-dock .race-text { font-size: 1.25rem; }
  body.game-on .kid-story .race-dock .who-row { justify-content: center; }
  body.game-on .kid-story .story-hero { display: block; text-align: center; font-size: 3.6rem; line-height: 1.1; animation: ss-ms-bob 1.6s ease-in-out infinite; }
  body.game-on #shopBody .kid-finds .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
  body.game-on #shopBody .kid-finds .aisle:first-child { margin-top: 0; }
  /* the grown-ups' finish button sits at the foot of the story panel, away from the pictures kids are tapping */
  body.game-on #finishBar, body.game-on #finishBar.all-done { left: calc(70px + env(safe-area-inset-left)); right: auto; padding: 0 10px;
    width: calc((100vw - 70px - env(safe-area-inset-left) - max(12px, env(safe-area-inset-right)) - 14px) / 3); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 35; }
  body.game-on #finishBar .finish-btn { width: 100%; padding-inline: 10px; font-size: .9rem; }
  body.game-on:has(#finishBar:not([hidden])) .kid-story .race-dock { padding-bottom: 62px; }
  body.game-on .kid-story .race-dock { scrollbar-width: none; }

  /* Space: the planets climb the side of the panel, the Sun at the bottom and the Checkout Station at the top,
     with the rocket between the last planet reached and the next one */
  body.game-on.game-space .kid-story .race-dock { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: 1fr repeat(3, auto) 1fr; column-gap: 8px; row-gap: 4px; }
  body.game-on.game-space .kid-story .race-dock > * { grid-column: 2; }
  body.game-on.game-space .kid-story .race-dock > .who-row { grid-row: 2; } body.game-on.game-space .kid-story .race-dock > .race-text { grid-row: 3; }
  body.game-on.game-space .kid-story .race-dock > .race-sub { grid-row: 4; }
  body.game-on.game-space .kid-story .race-dock > .game-extra.planets { grid-column: 1; grid-row: 1 / 6; align-self: center; margin: 0;
    display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; }
  body.game-on.game-space .kid-story .pl { width: 22px; height: 22px; }
  body.game-on.game-space .kid-story .pl.next { box-shadow: 0 0 0 3px rgba(165, 243, 252, .55); }
  body.game-on.game-space .kid-story .stp { font-size: 1.7rem; line-height: 1; }
  body.game-on.game-space .kid-story .story-rocket { display: block; font-size: 1.9rem; line-height: 1; rotate: -45deg; animation: ss-ms-bob 1.4s ease-in-out infinite; }
  body.game-on.game-space .kid-story .gauge { display: none; }
  body.game-on.game-space .kid-story .race-text { font-size: 1.15rem; text-align: left; }
  body.game-on.game-space .kid-story :is(.race-sub, .who-row) { text-align: left; justify-content: flex-start; }
  /* Spy: the radar and the coded message fill the panel */
  body.game-on.game-spy .kid-story .radar { width: 88px; height: 88px; }
  body.game-on.game-spy .kid-story .story-hero { font-size: 2.2rem; }
  body.game-on.game-spy .kid-story .spy-panel { margin: 6px 0 0; gap: 8px; align-items: center; }
  body.game-on.game-spy .kid-story .spy-msg { min-width: 0; font-size: .8rem; }
  @media (max-height: 400px) {   /* an iPhone SE or similar on its side */
    body.game-on.game-spy .kid-story .radar { width: 66px; height: 66px; }
    body.game-on.game-spy .kid-story .story-hero { font-size: 1.8rem; }
  }
  /* Dino: the stepping-stone trail sits in the middle of the panel */
  body.game-on.game-dino .kid-story .race.stones.trail { margin: 10px 0 4px; }

  /* the checkout and the finale: the picture on the left, the words and buttons on the right */
  .finale { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr repeat(4, auto) 1fr; column-gap: 24px; padding: 12px 24px 56px; }
  .finale > :is(.fn-scene, .co-route) { grid-column: 1; grid-row: 1 / -1; align-self: center; }
  .finale > .fn-hero { grid-column: 1; grid-row: 4 / -1; align-self: start; }
  .finale > .fn-head { grid-column: 2; grid-row: 2; } .finale > .fn-sub { grid-column: 2; grid-row: 3; }
  .finale > .fn-score { grid-column: 2; grid-row: 4; } .finale > :is(.co-actions, .fn-tap) { grid-column: 2; grid-row: 5; }
  .finale .fn-scene { font-size: 5rem; }
  .finale > .co-route { justify-self: center; margin: 0; scale: 1.2; max-width: 100%; }
  body.game-on .kid-story .story-rocket { margin: 3px 0; }
  .finale .fn-head { margin-top: 0; font-size: 1.8rem; }
  .finale .co-actions { margin-top: 12px; }
  .finale .fn-parade { bottom: 8px; font-size: 1.5rem; }
  /* the intro and the game picker: shorter, so they fit sideways */
  .game-intro { overflow-y: auto; }
  /* five games to a row, so all 15 fit on a sideways screen with little or no scrolling */
  .game-picker .gi-name { font-size: 1.5rem; margin-bottom: 6px; }
  .game-picker .gp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 760px; }
  .game-picker .gp-card { min-height: 0; padding: 6px 4px; gap: 2px; font-size: .8rem; }
  .game-picker .gp-card .gp-ico { font-size: 2rem; }
}

/* never pop the install offer up over a game */
body.game-on .install-offer { display: none; }

/* ---- the phone keyboard is up: sheets sit on top of it, never under it ---- */
body.kb-up .sheet { margin-bottom: var(--kb, 0px); max-height: calc(var(--vvh, 100dvh) - 10px); border-radius: 22px 22px 0 0; }
body.kb-up .sheet[open] { animation: none; }
body.kb-up .sheet-body { padding-bottom: 14px; }
body.kb-up .suggest { max-height: calc(var(--vvh, 60vh) * .45); overflow-y: auto; }
body.kb-up main { padding-bottom: calc(var(--kb, 0px) + 40px); }

/* the terms and privacy line under the sign-in buttons */
.legal-line a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================ the hopscotch in Shopscotch */
.sq-c0 { --sq: #ff6f61; --sq-ink: #fff; } .sq-c1 { --sq: #f5b700; --sq-ink: #1f2a44; } .sq-c2 { --sq: #22c38e; --sq-ink: #1f2a44; }
.sq-c3 { --sq: #2a7de9; --sq-ink: #fff; } .sq-c4 { --sq: #8b5cf6; --sq-ink: #fff; }
/* the shop's progress: squares 1 to 8, then HOME, and Hop on the square you've reached */
#shopProgress.hop-course { margin: 46px 0 16px; }
.hc { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; height: 46px; }
.hc .pair { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.hc .sq { display: grid; place-items: center; border-radius: 8px; font: 700 .72rem/1 var(--font); color: var(--muted);
  border: 2px dashed color-mix(in srgb, var(--muted) 50%, transparent); transition: background .3s, color .3s, border-color .3s; }
.hc .sq.on { background: var(--sq); border: 2px solid var(--sq); color: var(--sq-ink); }
.hc .home { display: grid; place-items: center; border-radius: 22px 22px 10px 10px; font: 800 .7rem/1 var(--font); letter-spacing: .06em;
  color: var(--muted); border: 2px dashed color-mix(in srgb, var(--muted) 50%, transparent); }
.hc.home-in .home { background: #f2545b; border: 2px solid #f2545b; color: #fff; animation: hc-glow 1.6s ease-in-out infinite; }
.hc-hop { position: absolute; bottom: 44px; width: 44px; transform: translateX(-50%); pointer-events: none; }
.hc-hop .hop-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .18)); }
.hc-hop.jump .hop-img { animation: hc-jump .55s cubic-bezier(.3, .7, .4, 1); }
@keyframes hc-jump { 0% { transform: translate(-60%, 4px) scale(1.05, .9); } 45% { transform: translate(-20%, -22px) rotate(-6deg); } 80% { transform: translate(0, 2px) scale(1.06, .92); } 100% { transform: none; } }
@keyframes hc-glow { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, #f2545b 25%, transparent); } }
.next-hop { display: block; margin-top: 2px; font-size: .82rem; font-weight: 600; color: var(--brand, #2a7de9); }
/* aisles are numbered squares in the shop */
.sqn { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 7px; background: var(--sq); color: var(--sq-ink);
  font: 700 .8rem/1 var(--font); transform: rotate(-3deg); flex: none; }
/* Hop in place of an emoji: the empty list, an empty shop, and HOME at the end */
.empty .big.hop-big { background: var(--grad-soft); }
.empty .big.hop-big .hop-img { width: 78px; height: auto; }
.empty .big.hop-big.home { box-shadow: inset 0 -10px 0 #f2545b; }
/* loading: Hop hops along three squares while they light up in turn */
.hop-load { position: relative; display: flex; justify-content: center; gap: 8px; padding: 46px 0 22px; }
.hop-load span { width: 34px; height: 30px; border-radius: 8px; border: 2px dashed color-mix(in srgb, var(--muted) 50%, transparent); animation: hl-sq 1.5s infinite; }
.hop-load span:nth-child(2) { animation-delay: .5s; } .hop-load span:nth-child(3) { animation-delay: 1s; }
.hop-load .hop-img { position: absolute; top: 4px; left: calc(50% - 63px); width: 42px; animation: hl-hop 1.5s infinite; }
@keyframes hl-sq { 0%, 30% { background: #ff6f61; border-color: #ff6f61; } 34%, 100% { background: transparent; } }
@keyframes hl-hop { 0% { transform: translateX(0); } 16% { transform: translate(21px, -14px); } 33% { transform: translateX(42px); } 49% { transform: translate(63px, -14px); }
  66% { transform: translateX(84px); } 82% { transform: translate(42px, -18px); } 100% { transform: translateX(0); } }
/* offline: Hop sits it out until the signal's back */
.sync.offline::before { width: 18px; height: 12px; border-radius: 0; background: url("/static/hop.svg") center / contain no-repeat; }
/* ticking off: the box is a chalk square that hops and puffs chalk dust */
.shop-row .check { border-radius: 9px; transform: rotate(-2deg); }
.shop-row.done .check { transform: rotate(-2deg) scale(1.06); }
.shop-row.hop-tick .check { position: relative; animation: tick-hop .5s cubic-bezier(.3, 1.6, .5, 1); }
.shop-row.hop-tick .check::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 2px, transparent 3px) 0 0 / 12px 12px; animation: tick-dust .6s ease-out forwards; }
@keyframes tick-hop { 0% { transform: rotate(-2deg) scale(.9); } 40% { transform: translateY(-7px) rotate(4deg) scale(1.15); } 100% { transform: rotate(-2deg) scale(1.06); } }
@keyframes tick-dust { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
/* the invite code in hopscotch squares */
.invite-code { display: flex; justify-content: center; align-items: center; gap: 4px; letter-spacing: 0; padding: 16px 6px; }
.invite-code .cs { display: grid; place-items: center; width: 28px; height: 36px; border-radius: 8px; background: var(--sq); color: var(--sq-ink); font-size: 1.15rem; flex: none; }
.invite-code .cs:nth-child(odd) { transform: rotate(-3deg); } .invite-code .cs:nth-child(even) { transform: rotate(2deg); }
.invite-code .cs-dash { color: var(--muted); padding: 0 2px; }
/* chalk on the playground: counts in chalk squares */
.aisle-h .n { min-width: 26px; padding: 1px 6px; text-align: center; border: 1.5px dashed color-mix(in srgb, currentColor 55%, transparent); border-radius: 7px; }
/* a shop finished: Hop lands on HOME */
.hop-home { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: color-mix(in srgb, var(--bg, #fff8ec) 75%, transparent);
  backdrop-filter: blur(3px); animation: hh-in .25s ease-out; transition: opacity .35s; }
.hop-home.gone { opacity: 0; }
.hh-card { width: min(88vw, 380px); padding: 60px 20px 22px; border-radius: 26px; background: var(--surface); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35); text-align: center; }
.hh-card .hc { margin-bottom: 16px; }
.hh-card .hc .sq.on { animation: hh-fill .3s both; }
.hh-card .sq-c0.on { animation-delay: .05s; } .hh-card .sq-c1.on { animation-delay: .12s; } .hh-card .sq-c2.on { animation-delay: .19s; }
.hh-card .sq-c3.on { animation-delay: .26s; } .hh-card .sq-c4.on { animation-delay: .33s; }
.hh-card b { display: block; font: 800 1.7rem/1.1 var(--font); color: #f2545b; }
.hh-card span:not(.sq):not(.pair):not(.home):not(.hc-hop) { color: var(--muted); font-weight: 600; }
@keyframes hh-in { from { opacity: 0; } }
@keyframes hh-fill { from { transform: scale(.4); opacity: 0; } }
/* the game picker: toss the stone */
.gp-toss { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 18px; border-radius: 99px; border: 3px dashed rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .12); color: #fff; font: 700 1rem/1 var(--font); cursor: pointer; }
.gp-pebble, .gp-stone { width: 22px; height: 18px; border-radius: 50% 45% 50% 40%; background: var(--c, #8b5cf6); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .2), 0 2px 0 rgba(0, 0, 0, .25); }
.gp-stone { position: absolute; left: -11px; top: -9px; z-index: 3; pointer-events: none; }
.gp-card.landed { border-color: #fde047; box-shadow: 0 0 0 4px rgba(253, 224, 71, .45); animation: gp-landed .9s ease-in-out infinite; }
@keyframes gp-landed { 50% { transform: scale(1.06) rotate(-1.5deg); } }
/* rewards: stars as stones on each helper's hopscotch */
.stone-track { margin-top: 14px; }
.st-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.st-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.st-sq { aspect-ratio: 1; border-radius: 6px; border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent); display: grid; place-items: center; }
.st-sq.on { border-style: solid; border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.st-sq.on::after { content: ""; width: 62%; height: 52%; border-radius: 50% 45% 50% 40%; background: var(--c); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .2); }
/* the splash: the logo's four squares fill one after another */
.splash-squares { display: flex; gap: 6px; }
.splash-squares i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font: 700 .9rem/1 var(--font); font-style: normal;
  color: #fff; border: 2px dashed rgba(255, 255, 255, .7); animation: sp-fill .35s ease-out both; }
.splash-squares i:nth-child(1) { --f: #ff6f61; animation-delay: .3s; } .splash-squares i:nth-child(2) { --f: #f5b700; animation-delay: .7s; }
.splash-squares i:nth-child(3) { --f: #22c38e; animation-delay: 1.1s; } .splash-squares i:nth-child(4) { --f: #2a7de9; animation-delay: 1.5s; }
@keyframes sp-fill { from { background: transparent; } to { background: var(--f); border-color: var(--f); } }
@media (prefers-reduced-motion: reduce) {
  .hc-hop.jump .hop-img, .hc.home-in .home, .hop-load span, .hop-load .hop-img, .shop-row.hop-tick .check, .shop-row.hop-tick .check::after,
  .hh-card .hc .sq.on, .gp-card.landed, .splash-squares i { animation: none !important; }
  .splash-squares i { background: var(--f); border-color: var(--f); }
}

/* Shopscotch Family: the free-week card and the subscribe sheet */
.plan-card h2 { display: flex; align-items: center; gap: 8px; }
.plan-card.ended { border: 2px solid color-mix(in srgb, #f2545b 40%, transparent); }
.paywall .pw-why { font-weight: 700; margin: 0 0 10px; }
.paywall .pw-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.paywall .pw-price { font-size: 1.25rem; margin: 0 0 12px; }
.paywall .link { display: block; margin: 10px auto 0; }
.paywall .pw-small { margin-top: 14px; font-size: .78rem; color: var(--muted); }
.paywall .pw-small a { color: inherit; text-decoration: underline; }
/* Scan a list and Your usuals: two pills, only as wide as their words, centred under the add box */
.tool-row { justify-content: center; gap: 10px; margin: 12px 0 14px; }
.tool-row .tool { flex: none; min-height: 46px; gap: 8px; padding: 5px 18px 5px 5px; border-radius: 999px; }
.tool-row .tool .ti { width: 36px; height: 36px; border-radius: 50%; box-shadow: none; }
.tool-row .tool .ti svg { width: 19px; height: 19px; }
.tool-row .tool b { font-size: .98rem; white-space: nowrap; }
.tool-row .tool.icon-only { width: 46px; padding: 5px; justify-content: center; }
/* the top bar's corner off Household: just your face, tap for your details */
.topbar-hi.face { font-size: 1.35rem; padding: 4px 8px; }
/* In the trolley: the bought things matter least, so their heading whispers */
.trolley .aisle-h { font-weight: 700; letter-spacing: .06em; opacity: .8; }
.trolley .aisle-h .clear-ticked { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.trolley .aisle-h .n { border: 0; padding: 0 2px; }
/* the pictures sheet says what it's for */
.browse-hint { margin: -4px 0 12px; color: var(--muted); font-size: .9rem; line-height: 1.35; }
/* the mic lives inside the add box: keep it in place while listening */
body.listening .add-input #micBtn { position: absolute; transform: translateY(-50%); box-shadow: none; }
/* Clear the list and start over: a quiet link under the Hop button */
.start-over { display: block; margin: 6px auto 4px; padding: 10px 14px; color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.start-over[hidden] { display: none; }
/* Recipe: the third quick button, and its sheet */
.tool.recipe .ti { background: linear-gradient(135deg, #22c55e, #0ea5a4); }
.recipe-ways { display: grid; gap: 16px; margin-top: 4px; }
.recipe-ways .recipe-photo { min-height: 50px; gap: 10px; }
.recipe-ways .recipe-photo svg { width: 20px; height: 20px; }
.recipe-ways form { display: grid; gap: 8px; }
.recipe-ways textarea { resize: vertical; min-height: 96px; }
/* three quick ways to add (Scan a list, Your usuals, Recipe): equal small tiles, icon above the word, so all three fit a phone */
.tool-row { gap: 8px; }
.tool-row .tool { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 5px; min-height: 68px; padding: 8px 4px; border-radius: 18px; }
.tool-row .tool .ti { width: 34px; height: 34px; }
.tool-row .tool b { font-size: .86rem; }
/* two quick-add tiles again (Scan a list or recipe, Your usuals): a little more room for the longer words */
.tool-row .tool b { font-size: .9rem; line-height: 1.15; text-align: center; white-space: normal; }
/* games you unlock: a padlock on the card, a little faded */
.gp-card { position: relative; }
.gp-card.locked { opacity: .62; }
.gp-card .gp-lock { position: absolute; top: 8px; right: 10px; font-size: 1.05rem; }
.grown-up-check { display: grid; gap: 12px; }
.grown-up-check input { font-size: 1.4rem; text-align: center; letter-spacing: .1em; }
