@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* The Toy Shelf: a shop floor at night. Aubergine walls, a wooden shelf rail,
   cream list paper clipped to the counter, marigold price stickers. */
:root {
  --ground: #17111f;
  --ground-2: #1d1626;
  --panel: #221a2c;
  --line: rgba(247, 239, 223, 0.14);
  --line-2: rgba(247, 239, 223, 0.32);
  --line-control: rgba(247, 239, 223, 0.42);
  --ink: #f7efdf;
  --muted: #b9a9c7;
  --marigold: #f2b544;
  --marigold-dim: rgba(242, 181, 68, 0.14);
  --coral: #e4573f;
  --coral-dim: rgba(228, 87, 63, 0.14);
  --mint: #8fd6b4;
  --paper: #fffaf0;
  --paper-2: #f7eedc;
  --paper-ink: #2a2233;
  --paper-muted: #7c6b85;
  --paper-muted-strong: #5a4c63;
  --wood: #5a3f2b;
  --wood-2: #8a6440;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", monospace;
  --max: 1360px;
  --gutter: clamp(18px, 4.2vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main section[id] { scroll-margin-top: 78px; }

body {
  margin: 0;
  background-color: var(--ground);
  background-image:
    radial-gradient(circle at 12% -6%, rgba(242, 181, 68, 0.1), transparent 40%),
    radial-gradient(circle at 88% 4%, rgba(228, 87, 63, 0.08), transparent 36%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--marigold); color: var(--ground); }
* { scrollbar-width: thin; scrollbar-color: var(--line-2) var(--ground); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--line-2); }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
.list-panel :focus-visible { outline-color: var(--paper-ink); }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--marigold); color: var(--ground);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.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;
}

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23, 17, 31, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.bar-in {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 32px);
  min-height: 62px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  text-decoration: none; font-weight: 800;
  letter-spacing: -0.03em; font-size: 1.1rem;
  white-space: nowrap;
}
.brand-a { color: var(--ink); }
.brand-b { color: var(--marigold); }
.bar-tool { margin: 0; white-space: nowrap; }
.bar-live { margin: 0 0 0 auto; font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
.bar-live b { color: var(--marigold); font-family: var(--mono); font-size: 1rem; }
.reset {
  background: none; border: 1px solid var(--line-control);
  padding: 8px 14px; cursor: pointer; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.reset:hover { border-color: var(--marigold); color: var(--marigold); }

/* ---------- intro ---------- */
.intro { padding: clamp(40px, 7vw, 92px) 0 clamp(30px, 5vw, 56px); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 400px);
  gap: clamp(28px, 5vw, 72px); align-items: end;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.04em;
  font-variation-settings: "wdth" 106;
  margin: 0 0 1rem; max-width: 15ch; text-wrap: balance;
}
.intro-copy > p:first-of-type {
  max-width: 56ch; margin: 0 0 1.4rem; color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.intro-specs {
  list-style: none; margin: 0; padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem;
}
.intro-specs li { display: flex; flex-direction: column; gap: 2px; }
.intro-specs b { font-size: 1.05rem; font-weight: 700; }

/* the gift tag */
.tag {
  margin: 0; background: var(--paper); color: var(--paper-ink);
  padding: 1.5rem 1.4rem 1.2rem; position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.tag::before {
  content: ""; position: absolute; left: 18px; top: 16px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ground); border: 2px solid var(--paper-2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.tag::after {
  content: ""; position: absolute; left: 10px; top: 46px;
  width: 30px; height: 30px;
  border-left: 2px solid rgba(90, 63, 43, 0.55);
  border-radius: 50%; transform: rotate(-18deg);
}
.tag > .mono { color: var(--paper-muted); padding-left: 2.2rem; }
.tag dl { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.tag dl div { border-top: 1px solid rgba(42, 34, 51, 0.18); padding-top: 0.5rem; }
.tag dt { color: var(--paper-muted); }
.tag dd { margin: 0; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.tag-note {
  margin: 1.1rem 0 0; padding-top: 0.9rem;
  border-top: 1px dashed rgba(42, 34, 51, 0.28);
  font-size: 0.88rem; color: #55485e; min-height: 2.4em;
}

/* ---------- bench ---------- */
.bench {
  display: grid; grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.bench-head { margin-bottom: 1rem; }
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 0.4rem;
  display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap;
}
h2 .mono { color: var(--marigold); font-size: 0.75rem; }
.bench-head p, .sec-head p { margin: 0; color: var(--muted); max-width: 62ch; font-size: 0.95rem; }

.tools {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 0.8rem 1.4rem; margin-bottom: 1.2rem;
}
.search { display: flex; flex-direction: column; gap: 0.35rem; flex: 1 1 220px; }
.search input {
  background: var(--ground-2); border: 1px solid var(--line-control);
  color: var(--ink); padding: 10px 12px; font: inherit; width: 100%;
}
.search input::placeholder { color: #94839f; }
.search input:focus { border-color: var(--marigold); }
.search input:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }
.active-line { margin: 0 0 0.55rem; font-size: 0.9rem; color: var(--muted); }
.active-line b { color: var(--marigold); }

/* shelf */
.shelf-block { margin-bottom: 1.6rem; }
.shelf-title {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin: 0 0 0.15rem;
}
.shelf-title h3 {
  margin: 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em;
}
.shelf-title span { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.shelf-job { margin: 0 0 0.75rem; font-size: 0.84rem; color: var(--muted); }
.toy-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px; align-items: start;
}
@media (max-width: 1180px) {
  .toy-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.shelf-rail {
  height: 10px; margin-top: 14px; background: var(--wood);
  border-top: 2px solid var(--wood-2);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}

.toy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.toy-photo {
  position: relative; display: block; background: #fff;
  aspect-ratio: 1 / 1; overflow: hidden;
}
.toy-photo img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.toy-photo:hover img { transform: scale(1.04); }
.toy-photo img { transition: transform 160ms ease; }
.toy-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--marigold); color: #241d2b;
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 2px 6px;
}
.toy-lists {
  position: absolute; right: 4px; top: 4px;
  background: rgba(23, 17, 31, 0.86); color: var(--ink);
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em;
  padding: 2px 5px; text-transform: uppercase;
}
.toy-name {
  margin: 0; font-size: 0.84rem; font-weight: 600; line-height: 1.25;
  letter-spacing: -0.01em; min-height: 2.55em;
}
.toy-name a { text-decoration: none; }
.toy-name a:hover { color: var(--marigold); }
.toy-meta { margin: 0; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; min-height: 1.4em; }
.toy-add {
  align-self: flex-start; background: none; border: 1px solid var(--line-control);
  padding: 4px 10px; font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
.toy-add:hover { background: var(--marigold); border-color: var(--marigold); color: #241d2b; }
.toy.is-used .toy-photo { opacity: 0.55; }
.toy.is-used .toy-add { border-style: dashed; }
.toy.is-gone .toy-photo { filter: grayscale(1); opacity: 0.45; }
.toy.is-gone .toy-name, .toy.is-gone .toy-meta { opacity: 0.55; }
.toy.is-drag { outline: 2px dashed var(--marigold); outline-offset: 2px; }
.toy-add:disabled { opacity: 0.5; cursor: not-allowed; }
.toy-add[aria-disabled="true"] { opacity: 0.6; border-style: dashed; }
.toy-add:disabled:hover { background: none; color: inherit; border-color: var(--line-2); }

/* ---------- the list ---------- */
.list-panel {
  background: var(--paper); color: var(--paper-ink);
  position: sticky; top: 78px; padding: 1.1rem 1.1rem 1.1rem;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.4);
  max-height: calc(100vh - 96px); overflow-y: auto;
}
.list-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 2px solid var(--paper-ink); padding-bottom: 0.45rem;
}
.list-head .mono { color: var(--paper-muted); }
.list-head .mono:first-child { color: var(--paper-ink); font-weight: 600; }
.kid {
  padding: 0.8rem 0 0.7rem; border-bottom: 1px dashed rgba(42, 34, 51, 0.28);
}
.kid.is-active { box-shadow: inset 3px 0 0 var(--marigold); padding-left: 0.6rem; margin-left: -0.6rem; }
.kid-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  width: 100%; min-height: 44px; background: none; border: 0; padding: 0; cursor: pointer;
  text-align: left; color: var(--paper-ink);
}
.kid-name { font-weight: 800; font-size: 0.98rem; letter-spacing: -0.01em; }
.kid-head .mono { color: var(--paper-muted); font-size: 0.6875rem; }
.kid-head[aria-pressed="true"] .kid-name::after {
  content: "adding here"; margin-left: 0.5rem; font-family: var(--mono);
  font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #8a5a00; background: var(--marigold-dim); padding: 1px 5px;
}
.kid-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 0.8rem; margin-top: 0.5rem; }
.kid-controls label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-muted); }
.kid-controls output { color: var(--paper-ink); font-weight: 600; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px;
  background: transparent; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: rgba(42, 34, 51, 0.25); }
input[type="range"]::-moz-range-track { height: 3px; background: rgba(42, 34, 51, 0.25); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px;
  background: var(--paper-ink); border-radius: 50%; cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; background: var(--paper-ink); border: 0;
  border-radius: 50%; cursor: pointer;
}
.kid-items { list-style: none; margin: 0.55rem 0 0; padding: 0; }
.kid-item {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0;
  border-top: 1px solid rgba(42, 34, 51, 0.1);
}
.kid-item img { width: 30px; height: 30px; object-fit: contain; background: #fff; flex: none; }
.kid-item-name { flex: 1; font-size: 0.78rem; line-height: 1.25; min-width: 0; }
.kid-item-name a { text-decoration: none; border-bottom: 1px solid rgba(42, 34, 51, 0.2); }
.kid-item-name a:hover { border-color: var(--paper-ink); }
.kid-item-price { font-family: var(--mono); font-size: 0.6875rem; color: var(--paper-muted); }
.kid-item-fit { font-family: var(--mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 1px 4px; }
.fit-young, .fit-old, .fit-gone { background: var(--coral-dim); color: #a8351f; }
.kid-item-del {
  background: none; border: 0; cursor: pointer; color: var(--paper-muted);
  font-size: 1rem; line-height: 1; padding: 2px 4px;
}
.kid-item-del:hover { color: var(--coral); }
.kid-empty { margin: 0.45rem 0 0; font-size: 0.78rem; color: var(--paper-muted); font-style: italic; }
.kid-verdict {
  margin: 0.5rem 0 0; font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-muted);
}
.kid-verdict.is-warn { color: #a8351f; }
.kid.is-drop { background: var(--marigold-dim); box-shadow: inset 0 0 0 2px var(--marigold); }
.add-kid {
  width: 100%; margin-top: 0.8rem; background: none;
  border: 1px dashed rgba(42, 34, 51, 0.4); color: var(--paper-ink);
  padding: 8px; font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
.add-kid:hover { border-style: solid; background: rgba(42, 34, 51, 0.05); }
.add-kid:disabled { opacity: 0.45; cursor: not-allowed; border-style: dotted; }
.list-hint { margin: 0.7rem 0 0; font-size: 0.72rem; color: var(--paper-muted); line-height: 1.45; }

/* ---------- check ---------- */
.check { padding: clamp(34px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 1.4rem; }
.sec-head h2 { display: block; }

.tape {
  display: grid; grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.week {
  background: none; border: 0; border-right: 1px solid var(--line);
  padding: 10px 4px 8px; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; gap: 3px;
}
.week:last-child { border-right: 0; }
.week .mono { font-size: 0.6875rem; letter-spacing: 0.08em; }
.week b { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; color: var(--muted); }
.week:hover { background: var(--ground-2); }
.week[aria-checked="true"] { background: var(--marigold); color: #241d2b; }
.week[aria-checked="true"] .mono, .week[aria-checked="true"] b { color: #241d2b; }
.week-note { margin: 0.6rem 0 1.4rem; font-size: 0.84rem; color: var(--muted); }
.week-note b { color: var(--ink); }

.bars { display: flex; flex-direction: column; gap: 2px; }
.bar-row {
  display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr) 84px;
  gap: 12px; align-items: center; padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.bar-row:first-child { border-top: 1px solid var(--line); }
.bar-name { font-size: 0.84rem; line-height: 1.2; min-width: 0; }
.bar-name a { text-decoration: none; border-bottom: 1px solid transparent; }
.bar-name a:hover { border-color: var(--marigold); color: var(--marigold); }
.bar-name span { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bar-track { position: relative; height: 18px; background: var(--ground-2); }
.bar-fill {
  position: absolute; inset: 0 auto 0 0;
  background: rgba(143, 214, 180, 0.42); border-right: 3px solid var(--mint);
}
.bar-row.is-gone .bar-fill { background: repeating-linear-gradient(135deg, var(--coral-dim) 0 6px, transparent 6px 12px); border-right-color: var(--coral); }
.bar-row.is-low .bar-fill { background: var(--marigold-dim); border-right-color: var(--marigold); }
.bar-mark {
  position: absolute; top: -3px; bottom: -3px; width: 2px;
  background: var(--ink); box-shadow: 0 0 0 2px var(--ground);
}
.bar-state { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: right; color: var(--mint); }
.bar-row.is-low .bar-state { color: var(--marigold); }
.bar-row.is-gone .bar-state { color: var(--coral); }
.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin-top: 1.6rem; background: var(--line); }
.verdict { background: var(--ground); padding: 0.9rem 1rem; }
.verdict .mono { display: block; margin-bottom: 0.25rem; }
.verdict p { margin: 0; font-size: 0.9rem; }
.verdict p.is-warn { color: var(--coral); }
.check .list-hint { color: var(--muted); }

/* ---------- picks ---------- */
.picks { padding: clamp(34px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.pick-list { list-style: none; margin: 0; padding: 0; }
.pick {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 16px; align-items: center; padding: 14px 0;
  border-top: 1px solid var(--line);
}
.pick:last-child { border-bottom: 1px solid var(--line); }
.pick-img { width: 84px; height: 84px; object-fit: contain; background: #fff; padding: 5px; }
.pick-body h3 { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.pick-body h3 a { text-decoration: none; }
.pick-body h3 a:hover { color: var(--marigold); }
.pick-meta { margin: 0 0 0.3rem; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pick-why { margin: 0; font-size: 0.86rem; color: var(--muted); }
.pick-why b { color: var(--ink); font-weight: 600; }
.pick-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pick-score { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pick-score b { display: block; font-size: 1.3rem; color: var(--marigold); letter-spacing: -0.02em; }
.pick-add {
  background: var(--marigold); color: #241d2b; border: 0;
  padding: 7px 12px; font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  white-space: nowrap; font-weight: 600;
}
.pick-add:hover { background: #ffc866; }
.picks-empty { color: var(--muted); font-size: 0.92rem; padding: 1.2rem 0; }

/* ---------- table ---------- */
.every { padding: clamp(34px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.table-hint { margin: -0.6rem 0 0.7rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  border-bottom-color: var(--line-2);
}
td { font-size: 0.84rem; }
td.t-num, th.t-num { font-family: var(--mono); font-size: 0.72rem; white-space: nowrap; }
.t-toy { display: flex; align-items: center; gap: 9px; min-width: 220px; }
.t-toy img { width: 36px; height: 36px; object-fit: contain; background: #fff; flex: none; padding: 2px; }
.t-toy a { text-decoration: none; font-weight: 600; }
.t-toy a:hover { color: var(--marigold); }
.t-toy span { display: block; font-size: 0.7rem; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }
.t-lists { display: inline-block; max-width: 22ch; line-height: 1.35; }
.risk { display: inline-flex; align-items: center; gap: 5px; }
.risk i { width: 7px; height: 7px; background: currentColor; border-radius: 50%; font-style: normal; }
.risk-hi { color: var(--coral); }
.risk-mid { color: var(--marigold); }
.risk-lo { color: var(--mint); }
td a.row-link { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--marigold); text-decoration: none; border-bottom: 1px solid rgba(242, 181, 68, 0.4); }
tr.is-off img { opacity: 0.5; filter: grayscale(1); }
tr.is-off td:not(:first-child) { color: #a99ab6; }

/* ---------- method ---------- */
.method { padding: clamp(30px, 4vw, 54px) 0; border-top: 1px solid var(--line); }
details summary {
  display: flex; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; padding: 12px 0;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
details summary::-webkit-details-marker { display: none; }
details summary .mono:first-child { color: var(--ink); }
.method-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 44px); padding-top: 1.6rem;
}
.method h3 { font-size: 0.95rem; margin: 0 0 0.5rem; font-weight: 700; }
.method p, .method li { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }
.method p { margin: 0 0 0.8rem; }
.method ul { margin: 0 0 0.8rem; padding-left: 1.1rem; }
.method li { margin-bottom: 0.45rem; }
.method b { color: var(--ink); font-weight: 600; }
.method .fine { font-size: 0.78rem; color: #8f7f9c; }
.sources { list-style: none; padding: 0; }
.sources li { margin-bottom: 0.4rem; }
.sources a { color: var(--mint); text-decoration: none; border-bottom: 1px solid rgba(143, 214, 180, 0.35); }
.sources a:hover { color: var(--ink); }
.weights { list-style: none; padding: 0; }
.weights li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 5px 0; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; }
.weights li span:last-child { color: var(--marigold); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 3rem; margin-top: clamp(20px, 4vw, 48px); }
.affiliate-disclaimer { max-width: 86ch; font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.affiliate-disclaimer strong { color: var(--ink); }
.foot-in {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem;
  margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  align-items: baseline;
}
.foot-mark { margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.foot-in .mono { margin: 0; }
.foot-in a { text-decoration: none; }
.foot-in a:hover { color: var(--marigold); }

/* ---------- small screens ---------- */
@media (max-width: 1040px) {
  .bench { grid-template-columns: 1fr; }
  .list-panel { position: static; max-height: none; overflow: visible; }
  .intro-grid { grid-template-columns: 1fr; align-items: start; }
  .tag { max-width: 460px; }
}
@media (max-width: 700px) {
  .bar-tool { display: none; }
  .bar-live { font-size: 0.8rem; }
  .bar-in { gap: 10px; min-height: 56px; }
  .brand { font-size: 1rem; }
  .reset { padding: 7px 10px; font-size: 0.7rem; }
  h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .toy-grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 10px; }
  .toy-name { font-size: 0.78rem; min-height: 0; }
  .shelf-title { flex-direction: column; gap: 0; }
  .shelf-title h3 { font-size: 1.1rem; }
  .bar-row { grid-template-columns: minmax(96px, 140px) 1fr 62px; gap: 8px; }
  .pick { grid-template-columns: 62px minmax(0, 1fr); }
  .pick-img { width: 62px; height: 62px; }
  .pick-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .toy-add { min-height: 44px; padding: 8px 12px; }
  .pick-add { min-height: 44px; padding: 10px 14px; }
  .kid-item-del { min-width: 44px; min-height: 44px; }
  .week { min-height: 56px; }
  .add-kid { min-height: 44px; }
  input[type="range"] { height: 44px; }
  .week .mono { font-size: 0.75rem; letter-spacing: 0.02em; }
  .week b { font-size: 0.6875rem; }
  .kid-controls { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .toy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-specs { gap: 0.5rem 1.2rem; }
  .intro-specs b { font-size: 0.95rem; }
  .tape { display: flex; overflow-x: auto; }
  .week { flex: 1 0 76px; border-bottom: 0; }
}

@media (pointer: coarse) {
  .toy-add, .pick-add, .add-kid, .reset { min-height: 44px; }
  .kid-item-del { min-width: 44px; min-height: 44px; }
  .kid-head { min-height: 44px; }
  input[type="range"] { height: 44px; }
  .row-link, .kid-item-name a { display: inline-block; padding: 10px 0; }
}

@media (max-width: 560px) {
  .mono, .toy-meta, .toy-add, .week .mono, .week b, .list-hint, .kid-verdict,
  .kid-controls label, .pick-meta, .pick-add, .bar-state, .bar-name span { font-size: 0.75rem; }
}

@media print {
  body { background: none; color: #111; }
  .bar { position: static; background: none; border-bottom: 1px solid #999; }
  .skip, .toy-add, .pick-add, .add-kid, .kid-item-del, .tape, .reset, .search { display: none; }
  .list-panel { position: static; max-height: none; overflow: visible; box-shadow: none; border: 1px solid #999; }
  .toy-grid { grid-template-columns: repeat(3, 1fr); }
  .toy-name, .toy-meta, .bar-name, .verdict p, .pick-why, .method p, .method li { color: #111; }
  .shelf-rail { background: #999; border: 0; box-shadow: none; }
  .shelf-block, .pick, .bar-row, .method-grid { break-inside: avoid; }
  a { text-decoration: none; color: #111; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Related decisions, last-checked line and touch targets (added 2026-11-06) */
.related-tools { padding-top: 1.6rem; }
.related-title { margin: 0 0 0.5rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.related-tools ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.related-tools a { color: inherit; opacity: 0.9; }
.related-tools a:hover { opacity: 1; text-decoration: underline; }
.last-checked { margin: 0.55rem 0 0; font-size: 0.72rem; letter-spacing: 0.02em; opacity: 0.7; }

/* The quotable answer under the h1. */
.lede-answer { max-width: 62ch; margin: 0 0 0.9rem; font-size: 1.06em; line-height: 1.6; }
