/* ─────────────────────────────────────────────────────────────
   toy-page.css · the toy pages (toy-<slug>.html), one toy, one page. v2, 2026-11-23.
   Opened from a QR code beside the toy in the gallery, so: phone first,
   one thumb, standing up. Loads after games.css, whose shell it shares
   (tape, masthead, colophon, the 12-column rooms).

   v2, his note: "a cross between street art and museum".
   MUSEUM: paper ground, Erode and Literata for his words, the calm cover
           picture, wall-label facts, quiet credits.
   STREET: the toys are sprayed matte black, so the name and the step numerals
           are stencilled in Archivo Black (the Calling page's face, self-hosted)
           and sprayed through an SVG filter (#tpSpray, drawn by js/toy-page.js):
           rough edge, thin coverage, overspray. The cover is a pasted-up poster
           a degree or two off square on a red sheet, held by masking tape.
           Labels are tape strips. One sticker per toy, a different shape for
           each of the seven. Two drips, on the black end of the making scale.
   Black, paper and the site red only. No gradient ever sits on a photograph.
   ───────────────────────────────────────────────────────────── */
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/cag/ArchivoBlack-400-normal-latin.woff2') format('woff2'); }
:root { --stencil: 'Archivo Black', 'Arial Black', 'Helvetica Neue', Arial, sans-serif; --tape-c: #E4E2D8; }
.tp-defs { position: absolute; width: 0; height: 0; overflow: hidden; }


/* no eye button on this page, so phone.css's room for it is given back */
body { padding-bottom: 0 !important; }
.toy-page { position: relative; z-index: 2; }
.toy-noscript { padding: 3rem var(--edge); font-family: var(--serif); }
.toy-noscript a { color: var(--red); }

/* focus, everywhere on the page */
.toy-page a:focus-visible, .toy-page button:focus-visible, .toy-lb button:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px;
}

/* words to come */
.tk {
  display: inline-block; font-family: var(--mono); font-style: normal; font-weight: 400;
  font-size: var(--mono-b); letter-spacing: var(--mono-b-track); text-transform: uppercase;
  color: var(--red); border: 1px dashed var(--red); padding: 0.28em 0.6em 0.22em; line-height: 1.3;
  vertical-align: middle; white-space: nowrap;
}

/* ─── shared street parts ─── */
/* masking tape: a strip with torn ends. Used for labels and to hold pictures up. */
.mtape {
  display: inline-block; background: var(--tape-c); color: var(--ink);
  font-family: var(--mono); font-size: var(--mono-a); letter-spacing: var(--mono-a-track); text-transform: uppercase;
  line-height: 1.2; padding: 0.5em 1.15em 0.42em; transform: rotate(var(--r, -1.5deg));
  clip-path: polygon(0 12%, 1.5% 0, 3% 14%, 4.5% 2%, 100% 0, 98.6% 16%, 100% 34%, 98.4% 52%, 100% 70%, 98.8% 88%, 100% 100%, 3.6% 100%, 2.2% 86%, 0.8% 100%, 0 82%, 1.4% 64%, 0 46%, 1.2% 28%);
  box-shadow: inset 0 0 0 1px rgba(17,17,16,0.06);
}
.mtape.blank { position: absolute; z-index: 3; width: 4.6rem; height: 1.35rem; padding: 0; opacity: 0.92; }
/* stencilled lettering: Archivo Black, cut with bridges, sprayed */
.stencil { font-family: var(--stencil); font-weight: 400; font-style: normal; text-transform: uppercase; letter-spacing: -0.005em; filter: url(#tpSpray); }
.stencil .st {
  -webkit-mask: linear-gradient(90deg, #000 calc(var(--cut, 50%) - 0.046em), transparent 0, transparent calc(var(--cut, 50%) + 0.046em), #000 0);
          mask: linear-gradient(90deg, #000 calc(var(--cut, 50%) - 0.046em), transparent 0, transparent calc(var(--cut, 50%) + 0.046em), #000 0);
  display: inline-block;
}
/* the sticker: one per toy, a shape of its own (data: sticker). Tap it and it peels a little. */
.sticker {
  appearance: none; -webkit-appearance: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  position: absolute; z-index: 4; width: 4.3rem; height: 4.3rem; display: grid; place-items: center;
  background: none; color: var(--paper); transform: rotate(var(--sr, 9deg)); transform-origin: 30% 20%;
  transition: transform .5s var(--ease-out); filter: drop-shadow(1.5px 2.5px 0 rgba(17,17,16,0.28));
}
.sticker .sh { position: absolute; inset: 0; background: var(--red); }
.sticker .tx { position: relative; font-family: var(--stencil); font-size: 1.5rem; line-height: 1; letter-spacing: -0.02em; }
.sticker .tx i { font-style: normal; font-size: 0.62em; opacity: 0.9; margin-left: 0.06em; }
.sticker.peel { transform: rotate(calc(var(--sr, 9deg) + 9deg)) translate(3px, -5px) scale(1.04); }
.sticker.round .sh { border-radius: 50%; }
.sticker.oval { width: 5.2rem; height: 3.5rem; } .sticker.oval .sh { border-radius: 50%; }
.sticker.square .sh { border-radius: 0.35rem; }
.sticker.burst .sh { clip-path: polygon(50% 0, 59% 12%, 71% 4%, 75% 18%, 89% 15%, 87% 29%, 100% 34%, 91% 45%, 100% 57%, 88% 63%, 92% 77%, 78% 77%, 76% 91%, 63% 85%, 55% 100%, 46% 88%, 34% 97%, 30% 83%, 16% 86%, 18% 72%, 4% 68%, 12% 56%, 0 46%, 12% 38%, 6% 24%, 20% 23%, 22% 9%, 35% 14%, 42% 2%); }
.sticker.ticket { width: 5.2rem; height: 3.3rem; } .sticker.ticket .sh { clip-path: polygon(0 0, 100% 0, 100% 32%, 93% 50%, 100% 68%, 100% 100%, 0 100%, 0 68%, 7% 50%, 0 32%); }
.sticker.hex .sh { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.sticker.shield .sh { clip-path: polygon(6% 0, 94% 0, 94% 58%, 50% 100%, 6% 58%); } .sticker.shield .tx { margin-top: -0.5rem; }
/* a label-maker strip: black, raised white letters */
.dymo {
  display: inline-block; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-weight: 700; font-size: var(--mono-a); letter-spacing: 0.3em; text-transform: uppercase;
  line-height: 1; padding: 0.55em 0.7em 0.5em 0.95em; transform: rotate(var(--r, 2deg)); border-radius: 1px;
}

/* ─── 1 · COVER: a pasted-up poster ─── */
.toy-cover { max-width: 1480px; margin: 0 auto; padding: 1.05rem var(--edge) 0; overflow-x: clip; }
.toy-cover .titleblock { position: relative; }
.toy-name {
  color: var(--ink); line-height: 0.9; margin-top: 0.75rem;
  font-size: var(--fit, 2.4rem);   /* js/toy-page.js fits the longest line to the column */
}
.toy-name .ln { display: block; white-space: nowrap; width: max-content; }
.toy-name .ln + .ln { margin-top: 0.04em; }
.toy-name .ln.tkl { font-size: 1rem; filter: none; margin-top: 0.5rem; }
.toy-name.fresh { animation: tp-spray .75s cubic-bezier(.3,.1,.2,1) both; }
@keyframes tp-spray { from { clip-path: inset(-30% 100% -30% -8%); opacity: 0.2; } 60% { opacity: 1; } to { clip-path: inset(-30% -8% -30% -8%); opacity: 1; } }
.toy-line {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.32rem, 2.3vw, 2rem); line-height: 1.2; color: var(--ink);
  margin-top: 0.75rem; text-wrap: balance;
}
.toy-plate { margin: 1.5rem 0 0; }
.poster { position: relative; transform: rotate(var(--tilt, -1deg)); margin: 0 0.25rem; }
.poster::before {   /* the red sheet pasted underneath */
  content: ""; position: absolute; inset: 0; background: var(--red); z-index: 0;
  transform: rotate(calc(var(--tilt, -1deg) * -2.2)) translate(5px, 6px);
}
.poster .frame {
  position: relative; z-index: 1; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--ground, #EDE3D6);
}
.poster .frame > img, .poster .frame > svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster .mtape.blank.a { top: -0.6rem; left: 9%; --r: -7deg; }
.poster .mtape.blank.b { top: -0.55rem; right: 11%; --r: 5deg; }
.poster .sticker { right: -0.5rem; bottom: 9%; }
.poster .dymo { position: absolute; z-index: 4; left: -0.35rem; bottom: 7%; --r: -3deg; }
.poster model-viewer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: transparent; opacity: 0; transition: opacity .5s var(--ease-out);
  --poster-color: transparent; --progress-bar-color: var(--red);
}
.poster .frame.is-3d model-viewer { opacity: 1; }
.poster .frame.is-3d > img { visibility: hidden; }

/* the 3D study: one button, a fixed line of status beside it (never moves the page) */
.toy-turn {
  display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  padding: 1.25rem 0 0; min-height: calc(44px + 1.25rem);
}
.toy-turn button {
  appearance: none; -webkit-appearance: none; cursor: pointer; border-radius: 0;
  font-family: var(--mono); font-size: var(--mono-a); letter-spacing: var(--mono-a-track);
  text-transform: uppercase; color: var(--ink); background: transparent;
  border: 2px solid var(--ink); padding: 0 1rem; min-height: 44px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.toy-turn button:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.toy-turn button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.toy-turn button[aria-pressed="true"]:hover { background: var(--red); }
.toy-turn .status {
  font-family: var(--mono); font-size: var(--mono-b); letter-spacing: var(--mono-b-track);
  text-transform: uppercase; color: var(--muted); flex: 1 1 8rem;
}

@media (min-width: 921px) {
  .toy-cover {
    display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.4rem;
    align-items: center; padding-top: clamp(1.8rem, 4.5vh, 3rem);
  }
  .toy-cover .titleblock { grid-column: 1 / span 7; }
  .toy-name { margin-top: 1.5rem; }
  .toy-line { margin-top: 1.7rem; max-width: 30ch; font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
  .toy-plate { grid-column: 8 / span 5; margin: 0; }
  .poster { width: min(100%, calc((100vh - 235px) * 0.8)); margin: 0.6rem auto 0; }
  .poster .mtape.blank { width: 6rem; height: 1.6rem; }
  .poster .sticker { width: 5.4rem; height: 5.4rem; right: -1.4rem; }
  .poster .sticker.oval, .poster .sticker.ticket { width: 6.4rem; height: 4.2rem; }
  .poster .sticker .tx { font-size: 1.9rem; }
  .toy-turn { justify-content: center; }
  .toy-turn .status { flex: 0 1 auto; }
}

/* ─── the rooms below the cover: same 12 columns as .step on the game pages ─── */
.toy-sec {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(2.3rem, 6vh, 4.4rem) var(--edge);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.4rem; row-gap: 1.3rem;
}
.toy-cover + .toy-sec { margin-top: clamp(2.2rem, 5vh, 3.6rem); }
.toy-sec > .sec-head { grid-column: 1 / span 3; }
.toy-sec > .sec-main { grid-column: 4 / span 9; min-width: 0; }
.toy-sec.wide > .sec-head, .toy-sec.wide > .sec-main { grid-column: 1 / -1; }
.toy-sec h2 { font-weight: 400; font-size: 1rem; line-height: 1; margin-top: -0.35rem; }
.toy-sec .sec-head:nth-child(1) .mtape { --r: -2deg; }
.toy-sec:nth-of-type(odd) .sec-head .mtape { --r: 1.4deg; }
@media (max-width: 920px) {
  .toy-sec > .sec-head, .toy-sec > .sec-main { grid-column: 1 / -1; }
}

/* ─── 2 · THE STORY ─── */
.toy-story .said {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.12; color: var(--ink);
  max-width: 22ch; text-wrap: balance;
}
/* one red pass of the can under his first line, with one drip */
.toy-story .swipe { display: block; width: min(15rem, 62%); height: 2.2rem; margin: 0.5rem 0 0 -0.3rem; overflow: visible; }
.toy-story .swipe path, .toy-story .swipe line { fill: none; stroke: var(--red); stroke-linecap: round; }
.toy-story .more-said {
  font-family: var(--serif); font-size: clamp(1.12rem, 1.3vw, 1.22rem); line-height: 1.62;
  color: var(--ink); max-width: 56ch; margin-top: 1.1rem;
}
.toy-story .more-said:first-child { margin-top: 0; }
.toy-story .swipe + .more-said { margin-top: 0.9rem; }
/* a reading: a note pinned beside his voice. Upright, smaller, boxed, labelled. Never italic display. */
.toy-reading {
  position: relative; margin-top: 2.8rem; max-width: 56ch;
  border: 1px solid var(--ink); background: var(--paper-2);
  padding: 1.35rem 1.1rem 1.1rem; transform: rotate(0.5deg);
}
.toy-reading .mtape { position: absolute; top: -0.85rem; left: 0.9rem; --r: -2.5deg; font-size: var(--mono-b); }
.toy-reading p { font-family: var(--serif); font-style: normal; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }

/* ─── 3 · THE MAKING ───
   Six pictures of three shapes (square, wide, tall) taped up along one line.
   Each keeps its own shape; the line under them thickens from a hairline to solid black,
   colour at one end and matte black at the other. On a phone the row swipes. */
.toy-making .sec-head { display: flex; justify-content: space-between; align-items: center; }
.mk-count { font-family: var(--mono); font-size: var(--mono-b); letter-spacing: var(--mono-b-track); text-transform: uppercase; color: var(--muted); }
.mk-count b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.toy-making .scale { display: flex; align-items: center; gap: 0.7rem; margin: 0.2rem 0 2.1rem; white-space: nowrap; }
.toy-making .scale .from { font-family: var(--mono); font-size: var(--mono-b); letter-spacing: var(--mono-b-track); text-transform: uppercase; color: var(--red); }
/* the line of the can: a hairline that fattens into black */
.toy-making .scale i { flex: 1; height: 12px; background: var(--ink); clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 54%); filter: url(#tpRough); margin-right: -0.7rem; }
.toy-making .scale .end {
  position: relative; font-family: var(--stencil); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); padding: 0.55em 0.75em 0.45em; filter: url(#tpRough);
}
/* two drips, the only two on the page */
.toy-making .scale .end::before, .toy-making .scale .end::after {
  content: ""; position: absolute; top: 96%; width: 4px; background: var(--ink); border-radius: 0 0 3px 3px;
}
.toy-making .scale .end::before { left: 22%; height: 1.05rem; }
.toy-making .scale .end::after { left: 71%; height: 1.7rem; width: 5px; border-radius: 0 0 4px 4px; }

.mk-strip {
  --u: 17.5px;
  list-style: none; display: flex; align-items: flex-start; gap: 1.25rem;
  margin: 0 calc(var(--edge) * -1); padding: 1rem var(--edge) 0.6rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scroll-padding-left: var(--edge); -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mk-strip::-webkit-scrollbar { display: none; }
.mk-step { flex: 0 0 auto; scroll-snap-align: start; width: calc(var(--w) * var(--u)); min-width: 10.4rem; }
.mk-step .stand { height: calc(var(--top, 15) * var(--u)); display: flex; align-items: flex-end; }
.mk-step .hang { position: relative; transform: rotate(var(--r, 0deg)); transition: transform .35s var(--ease-out); }
.mk-step .hang .mtape.blank { top: -0.62rem; left: 50%; margin-left: -1.9rem; width: 3.8rem; height: 1.2rem; --r: calc(var(--r0, 0deg) * -3); pointer-events: none; }
.mk-step button {
  appearance: none; -webkit-appearance: none; display: block; padding: 0; margin: 0; border: 0; border-radius: 0;
  background: var(--paper-2); cursor: zoom-in;
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
  box-shadow: 2px 3px 0 rgba(17,17,16,0.14);
}
.mk-step .tocome { display: block; width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); box-shadow: 2px 3px 0 rgba(17,17,16,0.14); }
.mk-step .tocome svg { display: block; width: 100%; height: 100%; }
.mk-step button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (hover: hover) { .mk-step .hang:hover { transform: rotate(0deg) scale(1.015); } }
.mk-step img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mk-step .foot {
  margin-top: 0.9rem; padding-top: 0.55rem;
  border-top: calc(var(--i) * 1.4px) solid var(--ink);
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: start;
}
.mk-step .n { font-size: 2.5rem; line-height: 0.86; color: var(--ink); min-width: 0.7em; }
.mk-step figcaption { font-family: var(--serif); font-size: 1rem; line-height: 1.42; color: var(--ink); padding-top: 0.1rem; }
/* shape units: square 13.5 x 13.5, wide 17.6 x 9.9, tall 8.4 x 15 */
@media (min-width: 921px) {
  /* all six in one row, nothing to swipe: the unit is whatever makes the six widths + five gaps fill the row */
  .mk-strip { --gap: 1.5rem; --u: calc((min(100vw, 1480px) - 2 * var(--edge) - 5 * var(--gap) - 1px) / var(--sum, 79.8)); gap: var(--gap); overflow: visible; margin: 0; padding: 1rem 0 0; }
  .mk-step { min-width: 0; }
  .mk-step .foot { grid-template-columns: 1fr; row-gap: 0.5rem; }
  .mk-step .n { font-size: 3rem; }
  .mk-step figcaption { font-size: 0.95rem; }
  .mk-count { display: none; }
}

/* ─── 4 · 5 · FACTS AND CREDITS ─── */
.toy-list { max-width: 62ch; border-top: 1px solid var(--ink); }
.toy-list > div {
  display: grid; grid-template-columns: 8.2rem 1fr; column-gap: 0.9rem; align-items: baseline;
  padding: 0.72rem 0; border-bottom: 1px solid var(--rule-soft);
}
.toy-list dt {
  font-family: var(--mono); font-size: var(--mono-b); letter-spacing: var(--mono-b-track);
  text-transform: uppercase; color: var(--red);
}
.toy-list dd { font-family: var(--serif); font-size: 1.06rem; line-height: 1.4; color: var(--ink); }

/* ─── 6 · THE OTHER TOYS: six small posters ─── */
.toy-others { list-style: none; border-top: 1px solid var(--ink); }
.toy-others a {
  display: grid; grid-template-columns: 4.9rem 1fr auto; column-gap: 1.1rem; align-items: center;
  padding: 0.75rem 0 0.75rem 0.3rem; border-bottom: 1px solid var(--rule-soft);
  text-decoration: none; color: var(--ink);
}
.toy-others .pic { position: relative; display: block; width: 4.6rem; transform: rotate(var(--r, 0deg)); transition: transform .3s var(--ease-out); }
.toy-others .pic .im { display: block; aspect-ratio: 4 / 5; background: #EDE3D6; overflow: hidden; box-shadow: 2px 3px 0 var(--red); }
.toy-others .pic img, .toy-others .pic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.toy-others .pic .no {
  position: absolute; z-index: 2; right: -0.5rem; top: -0.45rem; width: 1.55rem; height: 1.55rem; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: grid; place-items: center;
  font-family: var(--stencil); font-size: 0.78rem; line-height: 1;
}
.toy-others .t { display: block; font-family: var(--stencil); text-transform: uppercase; font-size: 1.12rem; line-height: 1.05; letter-spacing: 0; transition: color .2s var(--ease); }
.toy-others .s { display: block; margin-top: 0.4rem; font-family: var(--display); font-style: italic; font-size: 1.02rem; line-height: 1.25; color: var(--ink-2); }
.toy-others .go { font-family: var(--mono); font-size: 1rem; color: var(--ink-2); transition: color .2s var(--ease), transform .2s var(--ease); }
.toy-others a:hover .t, .toy-others a:hover .go { color: var(--red); }
.toy-others a:hover .go { transform: translateX(3px); }
.toy-others a:hover .pic { transform: rotate(0deg); }
.toy-out { display: flex; flex-direction: column; margin-top: 2rem; }
.toy-out a {
  display: flex; justify-content: space-between; align-items: center; min-height: 52px;
  font-family: var(--display); font-style: italic; font-size: 1.42rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--ink);
  transition: color .2s var(--ease);
}
.toy-out a:first-child { border-top: 1px solid var(--ink); }
.toy-out a span { font-family: var(--mono); font-style: normal; font-size: 1rem; }
.toy-out a:hover { color: var(--red); }
@media (min-width: 921px) {
  .toy-others { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.8rem; border-top: 0; padding-top: 0.6rem; }
  .toy-others a { display: block; padding: 0; border-bottom: 0; }
  .toy-others .pic { width: 100%; margin-bottom: 1.1rem; }
  .toy-others .pic .im { box-shadow: 4px 5px 0 var(--red); }
  .toy-others .pic .no { width: 2.1rem; height: 2.1rem; font-size: 1rem; right: -0.7rem; top: -0.7rem; }
  .toy-others .go { display: none; }
  .toy-others .t { font-size: 1.05rem; }
  .toy-out { flex-direction: row; gap: 2.4rem; margin-top: 2.8rem; }
  .toy-out a { border: 0 !important; border-bottom: 2px solid var(--red) !important; gap: 0.8rem; min-height: 0; padding-bottom: 0.15rem; font-size: 1.6rem; }
}

/* the one quiet line at the foot of the page. Small, plain, not a button. */
.toy-enquiry {
  max-width: 1480px; margin: 0 auto; padding: 0 var(--edge) clamp(2.3rem, 6vh, 4rem);
  font-family: var(--serif); font-size: 0.88rem; line-height: 1.5; color: var(--ink-2);
}
.toy-enquiry a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-soft); display: inline-block; padding: 0.5rem 0 0.1rem; }
.toy-enquiry a:hover { color: var(--red); border-color: var(--red); }

/* ─── LIGHTBOX: one picture, larger. Esc, the close button, a tap outside or a swipe down closes it;
       arrow keys and a sideways swipe move between the six. ─── */
.toy-lb {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink);
}
.toy-lb::backdrop { background: var(--paper); }
.toy-lb .lb-in {
  height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(0.6rem + env(safe-area-inset-top, 0px)) var(--edge) calc(1rem + env(safe-area-inset-bottom, 0px));
}
.toy-lb .lb-top { display: flex; justify-content: space-between; align-items: center; min-height: 48px;
  font-family: var(--mono); font-size: var(--mono-a); letter-spacing: var(--mono-a-track); text-transform: uppercase; color: var(--ink-2); }
.toy-lb button {
  appearance: none; -webkit-appearance: none; background: transparent; border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  font-family: var(--mono); font-size: var(--mono-a); letter-spacing: var(--mono-a-track); text-transform: uppercase; color: var(--ink);
  min-height: 44px; min-width: 44px; padding: 0 0.9rem;
}
.toy-lb button:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.toy-lb button[disabled] { opacity: 0.25; pointer-events: none; }
.toy-lb .lb-stage { position: relative; min-height: 0; margin: 0.6rem 0; touch-action: none; overflow: hidden; }
.toy-lb .lb-stage img { position: absolute; inset: 0; margin: auto; display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.toy-lb .lb-foot { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; min-height: 4.6rem; }
.toy-lb .lb-cap { display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: baseline; }
.toy-lb .lb-cap .n { font-family: var(--stencil); font-size: 2.3rem; line-height: 0.86; color: var(--ink); filter: url(#tpSpray); }
.toy-lb .lb-cap p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.42; max-width: 44ch; }
.toy-lb .lb-nav { display: flex; gap: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  .poster model-viewer, .toy-others .pic, .toy-others .go, .sticker, .mk-step .hang { transition: none !important; }
  .toy-name.fresh { animation: none; }
  .mk-strip { scroll-behavior: auto; }
}

/* phones: the masthead keeps two crumbs and the eye, so it never runs off the side */
@media (max-width: 640px) {
  body .masthead .left { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  body .masthead .left a:nth-child(n+3) { display: none !important; }
  body .masthead .mh-search::after { content: none; }
  body .masthead .mh-search { padding: 0 0.6rem; min-width: 44px; height: 36px; justify-content: center; }
  .toy-list > div { grid-template-columns: 6.6rem 1fr; }
}
