/* Game shell styles — speaks the site's design language (site/styles.css
   tokens: Fraunces display, Outfit body, dark default + light theme,
   per-subject accents, spring easing, radius 18). Responsive by fluid
   layout, not letterboxing: DOM games reflow natively at every viewport. */

:root {
  --bg: #12151c; --bg2: #191e27; --card: #212936; --card2: #283345;
  --ink: #edeef2; --ink-soft: #a5aec0; --line: #354156;
  --subject-maths: #5aa0ff; --subject-english: #ff7088; --subject-science: #4dd889;
  --good: #6fd388; --warn: #ffb35c; --gold: #fbbf24;
  --radius: 18px;
  --spring: cubic-bezier(.34, 1.4, .44, 1);
  --shadow: 0 10px 34px rgba(0, 0, 0, .35);
}
:root { color-scheme: light dark; --lword: #e8938f; }
/* dark-first: bare :root is the dark palette; light applies via OS preference
   (unless dark is explicitly chosen) AND via an explicit light choice. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f1ea; --bg2: #ece8df; --card: #fffdf8; --card2: #f7f4ec;
    --ink: #232832; --ink-soft: #6b7280; --line: #e0dbd0;
    --subject-maths: #2563eb; --subject-english: #c93855; --subject-science: #147c4f;
    --good: #2e9e52; --warn: #d97c1a; --gold: #b7791f;
    --shadow: 0 10px 30px rgba(60, 50, 30, .12);
    --lword: #c0504d;
  }
}
:root[data-theme="light"] {
  --bg: #f4f1ea; --bg2: #ece8df; --card: #fffdf8; --card2: #f7f4ec;
  --ink: #232832; --ink-soft: #6b7280; --line: #e0dbd0;
  --subject-maths: #2563eb; --subject-english: #c93855; --subject-science: #147c4f;
  --good: #2e9e52; --warn: #d97c1a; --gold: #b7791f;
  --shadow: 0 10px 30px rgba(60, 50, 30, .12);
  --lword: #c0504d;
}

* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
/* THE PAGE NEVER SCROLLS (owner, 28 Aug: the scrollbar blinking between
   scenes is annoying). body is a fixed viewport column: game area flexes,
   footer sits inside the viewport; anything that genuinely overflows
   scrolls INSIDE the stage, never at page level. */
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px; line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column;
}
#game { flex: 1; min-height: 0; display: flex; }

.gframe {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  height: 100%; min-height: 0;
  display: flex; flex-direction: column;
  padding: clamp(10px, 2.5vw, 24px);
  overflow: hidden;
}
.gframe[data-subject="maths"]   { --accent: var(--subject-maths); }
.gframe[data-subject="english"] { --accent: var(--subject-english); }
.gframe[data-subject="science"] { --accent: var(--subject-science); }

.gfx {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 20;
}

.ghead {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding-bottom: clamp(8px, 2vw, 18px);
}
.gtitle h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 4.5vw, 1.9rem);
  line-height: 1.12;
}
.gtitle { min-width: 0; }
.gstrap { color: var(--ink-soft); font-size: clamp(.78rem, 2.6vw, .95rem); max-width: 46ch; }
.gctl { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
[data-game-controls-placeholder] { visibility: hidden; }
.chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-weight: 800; font-size: 1.05rem;
  min-width: 64px; text-align: center; display: inline-block;
  color: var(--accent);
}
.iconb {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  width: 40px; height: 40px; font-size: 1rem; cursor: pointer; color: var(--ink);
}
.iconb.on { background: var(--accent); border-color: var(--accent); }
.iconb svg { width: 22px; height: 22px; display: block; margin: auto; }
.iconb.fx-off { opacity: .6; }
.ctl-toast {
  position: absolute; top: 56px; right: 8px; z-index: 40;
  background: var(--card); border: 1px solid var(--accent); border-radius: 999px;
  padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow); pointer-events: none;
}

.gstage {
  flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative;
  overflow-x: hidden; overflow-y: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gstage::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ----- menu / mode select ----- */
.menu { display: flex; flex-direction: column; gap: 14px; margin: auto 0; padding: 8px 0; }
.menu h2 { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mode-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; cursor: pointer; text-align: left; color: var(--ink);
  font: inherit;
  transition: transform .18s var(--spring), border-color .18s;
}
.mode-card:hover, .mode-card:focus-visible { transform: translateY(-2px); border-color: var(--accent); }
.mode-card b { display: block; font-size: 1.05rem; }
.mode-card .soft { font-size: .82rem; }
.mode-card .best-line { display: block; color: var(--accent); font-size: .8rem; font-weight: 700; margin-top: 4px; }
.pick-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  min-width: 52px; height: 46px; font-weight: 800; font-size: 1.05rem;
  cursor: pointer; color: var(--ink); font-family: inherit;
  transition: transform .15s var(--spring), border-color .15s;
}
.pick.sel {
  border-color: var(--accent); color: var(--accent); transform: none;
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* ----- round ----- */
.round { flex: 1; display: flex; flex-direction: column; gap: clamp(10px, 2.5vw, 20px); }
.tsub { font-size: .62rem; font-weight: 600; line-height: 1.15; opacity: .7;
  text-align: center; margin-top: 1px; }

.sort-prompt:empty { display: none; }
.sort-prompt { font-size: .8rem; font-weight: 600; text-align: center;
  color: var(--ink); opacity: .85; margin: 0; line-height: 1.2; }

.hud { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hud .soft { font-size: .9rem; }
.timebar { height: 10px; border-radius: 999px; background: var(--card2); overflow: hidden; flex: 1; }
.timebar > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .2s linear; }
.timebar.hot > i { background: var(--warn); }

.qbox {
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  padding: clamp(10px, 3vw, 26px) 0;
  min-height: 1.3em;
  margin: auto 0; /* float centred in the free space above the grid */
}
.qart { display: block; width: clamp(120px, 34vw, 190px); height: clamp(120px, 34vw, 190px); margin: 0 auto 4px; }
.qart svg { width: 100%; height: 100%; display: block; }
.qbox:has(.qart) { font-size: clamp(1rem, 3.4vw, 1.3rem); padding: clamp(6px, 1.6vw, 12px) 0; }
.qbox:has(.qpassage) { font-size: 1rem; padding: clamp(6px, 1.6vw, 12px) 0; }
.qbox .qpassage { display: block; font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1rem, 3.6vw, 1.25rem); font-weight: 600; line-height: 1.4;
  color: var(--ink); margin-bottom: 10px; }
.qbox .qask { display: block; font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(.95rem, 3.2vw, 1.1rem); font-weight: 700; color: var(--ink-soft); }

.qbox:has(.qlead) { font-size: clamp(1.15rem, 4.4vw, 1.7rem); padding: clamp(6px, 1.6vw, 12px) 0; }
.qbox .qlead { display: block; font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(.8rem, 2.5vw, .95rem); color: var(--ink-soft); font-weight: 600;
  margin-bottom: 6px; }
.qbox .qmain { display: block; line-height: 1.25; }

.qbox .qsub { display: block; font-family: 'Outfit', system-ui, sans-serif; font-size: clamp(.85rem, 2.6vw, 1rem); color: var(--ink-soft); font-weight: 500; }

.agrid {
  display: grid; gap: clamp(8px, 2vw, 14px);
  grid-template-columns: repeat(2, 1fr);
  margin-top: auto;
}
@media (min-width: 560px) { .agrid { grid-template-columns: repeat(4, 1fr); } }
.bigb {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font: inherit; font-weight: 800;
  font-size: clamp(1.35rem, 5.5vw, 1.9rem);
  min-height: clamp(64px, 14vw, 92px);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .15s var(--spring), border-color .15s;
  touch-action: manipulation;
}
.bigb:active { transform: scale(.96); }
.bigb.primary { background: var(--accent); color: #fff; border-color: transparent; }
.bigb:disabled { opacity: .55; cursor: default; }

/* number pad (MTC) */
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(6px, 1.6vw, 10px); max-width: 340px; margin: auto auto 0; width: 100%; }
.pad .bigb { min-height: clamp(52px, 11vw, 72px); font-size: clamp(1.2rem, 5vw, 1.6rem); }
.entry {
  text-align: center; font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(2rem, 8vw, 3rem); min-height: 1.25em;
  border-bottom: 3px solid var(--line); max-width: 220px; margin: 0 auto; width: 100%;
}

/* ----- sorter ----- */
/* 10px, not 12: the sorter gained a prompt row, and on a 375x667 phone the
   old gap pushed the group labels under the page footer. */
.sort-area { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sort-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  padding: clamp(20px, 5vw, 36px) clamp(24px, 6vw, 48px);
  margin: auto; text-align: center;
  cursor: grab; user-select: none; touch-action: none;
  position: relative; z-index: 10;
}
.sort-card.alien { border-style: dashed; border-color: var(--accent); }
.sort-card .cardsub { display: block; font-family: 'Outfit', system-ui, sans-serif; font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
.sort-card.dragging { cursor: grabbing; box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.sort-card.has-art {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: clamp(14px, 3.5vw, 24px) clamp(26px, 6vw, 44px);
}
.carticon { width: clamp(96px, 26vw, 140px); height: clamp(96px, 26vw, 140px); display: block; pointer-events: none; position: relative; }
.carticon::before {
  content: ''; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--accent), transparent 72%);
  opacity: .16;
}
.carticon svg {
  width: 100%; height: 100%; display: block; position: relative;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .16));
  animation: ld-bob 3.4s ease-in-out infinite;
}
@keyframes ld-bob {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50% { transform: translateY(-5px) rotate(1.4deg); }
}
@media (prefers-reduced-motion: reduce) { .carticon svg { animation: none; } }
.cardlabel { font-size: clamp(1.15rem, 4.5vw, 1.6rem); }
.targets { display: flex; gap: clamp(8px, 2vw, 14px); }
.target {
  flex: 1; background: var(--card2); border: 2px dashed var(--line); border-radius: var(--radius);
  min-height: clamp(88px, 18vw, 128px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-weight: 800; cursor: pointer; color: var(--ink); font-family: inherit; font-size: 1rem;
  transition: transform .18s var(--spring), border-color .18s, background .18s;
}
.gicon { display: block; }
.gicon svg { width: 100%; height: 100%; display: block; }
.target .temoji { width: clamp(32px, 8vw, 46px); height: clamp(32px, 8vw, 46px); }
.target .tcount { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.target.hot { border-color: var(--accent); transform: scale(1.04); background: var(--card); }
.why-line {
  text-align: center; color: var(--ink-soft); font-size: clamp(.85rem, 2.6vw, 1rem);
  min-height: 2.6em; padding: 0 8px;
}
.why-line b { color: var(--ink); }

/* ----- sequence ----- */
.seq-track {
  min-height: clamp(64px, 14vw, 88px);
  border: 2px dashed var(--line); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 10px;
}
.seq-pool { display: flex; flex-wrap: wrap; gap: clamp(8px, 2vw, 12px); justify-content: center; margin-top: auto; padding-bottom: 4px; }
.seq-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  color: var(--ink); font: inherit; font-weight: 700;
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  padding: clamp(10px, 2.6vw, 16px) clamp(14px, 3.5vw, 22px);
  cursor: pointer; box-shadow: var(--shadow);
  transition: transform .15s var(--spring), border-color .15s;
  touch-action: manipulation;
}
.seq-card:active { transform: scale(.95); }
.seq-card.placed { border-color: var(--accent); color: var(--accent); box-shadow: none; cursor: default; }
.seq-track .seq-card { font-size: clamp(.85rem, 2.8vw, 1.05rem); padding: 8px 12px; }
.seq-card .cardsub { display: block; font-size: .72rem; color: var(--ink-soft); font-weight: 500; }

/* ----- track finale (hero reveal / cycle wheel) ----- */
.round { position: relative; }
.finale {
  position: absolute; left: 0; right: 0; bottom: 0; /* top set from measured track */
  z-index: 25; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.finale.wheel { display: block; }
.finale-hero {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .22));
  animation: ld-pop-in .45s cubic-bezier(.34, 1.4, .44, 1) both, ld-bob 3s ease-in-out .5s infinite;
}
.finale-hero svg { width: 100%; height: 100%; display: block; }
.finale-label {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(1.4rem, 6vw, 2.2rem); color: var(--accent);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.wheel-card {
  position: absolute; background: var(--card); border: 1.5px solid var(--accent);
  border-radius: 12px; padding: 5px 10px 4px; font-weight: 700;
  font-size: clamp(.72rem, 2.3vw, .9rem); color: var(--ink); box-shadow: var(--shadow);
  white-space: nowrap; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.wc-art { width: clamp(34px, 9vw, 46px); height: clamp(34px, 9vw, 46px); display: block; }
.wc-art svg { width: 100%; height: 100%; display: block; }
.wheel-card.small { font-size: .66rem; padding: 3px 7px 3px; }
.wheel-card.small .wc-art { width: 30px; height: 30px; }
.wheel-ring {
  position: absolute; border: 2.5px dashed var(--accent); border-radius: 50%;
  opacity: 0; transform: translate(-50%, -50%);
}
.pick.wide { min-width: 150px; padding: 0 14px; }
@media (prefers-reduced-motion: reduce) {
  .finale-hero { animation: ld-pop-in .12s both; }
}

/* ----- results ----- */
.results { margin: auto; text-align: center; display: flex; flex-direction: column; gap: 14px; max-width: 460px; width: 100%; }
.big-score {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(3.4rem, 15vw, 5.5rem); line-height: 1; color: var(--accent);
}
.ribbon { font-weight: 800; color: var(--gold); font-size: 1.2rem; }
.perfect-line { font-weight: 800; color: var(--gold); }
.soft { color: var(--ink-soft); }
.misses {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; text-align: left; display: flex; flex-direction: column; gap: 8px;
  /* the recap scrolls inside itself: six misses on a small phone used to push
     Play again 165px below the fold, worst for the child who needs it most */
  max-height: 40vh; overflow-x: hidden; overflow-y: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.misses::-webkit-scrollbar { display: none; width: 0; height: 0; }
.misses h2 { font-size: .95rem; font-family: 'Fraunces', Georgia, serif; }
.miss-row { font-size: .92rem; }
.miss-row .soft { font-size: .85rem; }
.btnrow { display: flex; gap: 10px; }
.btnrow .bigb { flex: 1; font-size: 1.05rem; min-height: 56px; }

/* on-fire state: background warms, edges glow — juice tier 10 */
.gframe.on-fire::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  box-shadow: inset 0 0 90px rgba(251, 191, 36, .22);
  border-radius: var(--radius);
}
.gframe.on-fire .qbox, .gframe.on-fire .sort-card { text-shadow: 0 0 24px rgba(251, 191, 36, .35); }

/* playing state: nothing structural appears or disappears between scenes
   (owner, 28 Aug) — the game header and strap stay constant; the strap just
   quietens. Only the fx/on-fire styling keys off .playing. */
.gframe.playing .gstrap { opacity: .55; }

@media (max-width: 360px) {
  .ghead { gap: 8px; }
  .gctl { gap: 6px; }
  .chip { min-width: 48px; padding: 5px 10px; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mode-card, .pick, .bigb, .target { transition-duration: .01s; }
}

/* Feedback FX (formerly injected at runtime by engine/dom.ts) */
@keyframes ld-pop { 0%{transform:scale(1)} 35%{transform:scale(1.22)} 100%{transform:scale(1)} }
@keyframes ld-pop-in { 0%{transform:scale(.4);opacity:0} 60%{transform:scale(1.12);opacity:1} 100%{transform:scale(1)} }
@keyframes ld-wiggle { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-7px)} 55%{transform:translateX(6px)} 80%{transform:translateX(-3px)} }
@keyframes ld-label { 0%{transform:scale(.3) rotate(-6deg);opacity:0} 45%{transform:scale(1.25) rotate(2deg);opacity:1} 70%{transform:scale(1)} 100%{transform:scale(1);opacity:0} }
@keyframes ld-ribbon { 0%{transform:translateY(-16px) scale(.6);opacity:0} 55%{transform:translateY(4px) scale(1.1);opacity:1} 100%{transform:translateY(0) scale(1)} }
.ld-pop { animation: ld-pop .28s cubic-bezier(.34,1.4,.44,1); }
.ld-pop-in { animation: ld-pop-in .34s cubic-bezier(.34,1.4,.44,1) both; }
.ld-wiggle { animation: ld-wiggle .4s ease-out; }
.ld-flylabel {
  position:absolute; pointer-events:none; font-weight:800; z-index:30;
  animation: ld-label 1s cubic-bezier(.34,1.4,.44,1) both;
}
.ld-ribbon { animation: ld-ribbon .5s cubic-bezier(.34,1.4,.44,1) both; }
.ld-fire { transition: box-shadow .6s, background .6s; }
@media (prefers-reduced-motion: reduce) {
  .ld-pop,.ld-pop-in,.ld-wiggle,.ld-flylabel,.ld-ribbon { animation-duration: .12s; }
}

@font-face{font-family:Outfit;src:url('/fonts/outfit-latin.woff2') format('woff2');font-display:optional}
@font-face{font-family:Fraunces;src:url('/fonts/fraunces-latin.woff2') format('woff2');font-display:optional}
.game-skip{position:fixed;left:12px;top:-70px;z-index:100;background:var(--card);color:var(--ink);padding:.6rem .9rem;border-radius:.5rem}.game-skip:focus{top:12px}
html{height:auto;min-height:100%;scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}
body{display:block;height:auto;min-height:100%;overflow-y:auto;scrollbar-width:none}
#game{height:100dvh;min-height:100dvh;max-height:none;aspect-ratio:auto;border:0;border-radius:0;background:var(--bg);touch-action:auto;cursor:default}
.site-footer{display:grid;justify-items:center;gap:.05rem;text-align:center;color:var(--ink-soft);font-size:.78rem;margin-top:3rem;padding-inline:clamp(.25rem,2vw,1rem)}
.site-footer a{color:inherit;text-underline-offset:.18em}.footer-wordmark{display:inline-flex;font-family:Fraunces,serif;font-size:1.18rem;font-weight:700;text-decoration:none}
.footer-tagline,.footer-copyright,.footer-disclosure{margin:0;text-wrap:balance}.footer-tagline{max-width:40ch}.footer-links,.footer-year-links{display:flex;justify-content:center;flex-wrap:wrap}
.footer-links{gap:0 .9rem}.footer-year-links{gap:.35rem .75rem;margin:.35rem 0}.footer-links a,.footer-year-links a{display:inline-flex;align-items:center;font-weight:700;min-height:30px}.footer-year-links a{font-size:.86rem;font-weight:800}
.footer-copyright{margin-top:.7rem}.footer-disclosure{max-width:68ch;margin-top:.85rem;line-height:1.45}.footer-disclosure-line{display:inline}
.game-info-button{min-height:40px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font:inherit;font-size:.76rem;font-weight:800;padding:.35rem .7rem;cursor:pointer}
.footer-game-settings{min-height:44px;border:0;background:transparent;color:var(--ink-soft);font:inherit;font-weight:700;padding:0;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
.footer-game-settings:hover,.footer-game-settings:focus-visible{color:var(--accent-text)}
.game-info{width:min(720px,calc(100vw - 24px));max-height:min(82dvh,760px);overflow:auto;border:1px solid var(--line);border-radius:18px;background:var(--bg2);color:var(--ink);padding:clamp(1rem,4vw,2rem);box-shadow:var(--shadow)}
.game-info::backdrop{background:rgba(0,0,0,.68)}.game-info h2,.game-info h3{font-family:Fraunces,Georgia,serif}.game-info h3{margin-top:1.25rem}.game-info p{margin:.6rem 0;color:var(--ink-soft)}.game-info a{color:var(--accent)}
.game-info-close{float:right}.storage-box{margin-top:1.2rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--card)}.storage-box label{display:flex;gap:.65rem;align-items:flex-start;font-weight:800}.storage-box input{width:20px;height:20px;margin-top:.15rem}.storage-box button{margin-top:.7rem}
@media(max-width:520px){.site-footer{gap:.12rem}.footer-links{gap:0 .75rem;line-height:1.08}.footer-links a{min-height:34px}.footer-disclosure{width:100%;max-width:none;margin-top:1rem}.footer-disclosure-line{display:block;margin-inline:auto}.footer-disclosure-line:nth-child(1){max-width:36ch}.footer-disclosure-line:nth-child(2){max-width:29ch}.footer-disclosure-line:nth-child(3){max-width:10ch}}
