/* Hub-only layout; shared toy components live in css/toys.css. */
/* The shared header (css/nav.css) floats fixed over the page; the body
   clears its height. The catalogue sets in Geist like /links (DESIGN.md
   § 3 Type); only the toy pages keep toys.css's default display face. */
body.v2 {
  --t-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  padding-top: var(--header-h);
  font-variation-settings: normal;
}
.builds-intro { padding: 36px 0 28px; position: relative; }
.builds-intro h1 { margin: 22px 0 0; }
.builds-intro .t-lede { max-width: 33ch; color: var(--t-ink-2); margin: 22px 0 0; }
.builds-intro strong { color: var(--t-ink); font-weight: 600; }
.swap { display: inline-block; color: var(--t-cobalt-deep); transform-origin: 50% 80%; animation: boing 1.3s var(--t-spring) 1s 3; }
@media (prefers-color-scheme: dark) { .swap { color: #8da2ff; } }
@keyframes boing { 0%,70%,100% { transform: none; } 78% { transform: scaleY(.82) scaleX(1.08); } 86% { transform: translateY(-6%) scaleY(1.06); } }
.sticker { display: none; position: absolute; right: 2%; top: 56px; width: 128px; height: 128px; border-radius: 50%; background: var(--t-lemon); color: #141414; place-items: center; text-align: center; font-weight: 700; line-height: 1.05; transform: rotate(12deg); box-shadow: inset 0 -6px 0 var(--t-lemon-deep), 0 14px 30px -12px rgba(0,0,0,.35); }
.shipped-gallery { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 24px 0 8px; }
#shipped-status:empty { display: none; }
.toy-art { display: block; width: 100%; height: 250px; object-fit: contain; margin: auto 0 10px; }
.toy-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; padding-right: 30px; }
.build-credit, .build-card time { font: 500 12px/1.5 var(--t-mono); padding-right: 60px; }
.build-card time { display: block; margin-top: 4px; }
.play-arrow { position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; background: #141414; color: #fff; display: grid; place-items: center; font-size: 24px; }
.t-next h2 { max-width: 14ch; margin: 0; }
.builds-workbench { display: grid; gap: 28px; margin-top: 22px; }
.t-next h3 { font-size: 20px; margin: 0 0 12px; }
.section-note, .idea-credit, .field-note { font-size: 13px; color: #c1beb6; }
.section-note { margin: 8px 0 14px; }
.ideas-list { list-style: none; padding: 0; margin: 0; }
.idea-row { display: grid; grid-template-columns: 58px 1fr; gap: 8px 12px; padding: 12px 0; border-top: 1px solid #ffffff30; }
.idea-copy { min-width: 0; overflow-wrap: anywhere; }
.idea-copy p { margin: 0; }
.idea-credit { margin-top: 4px !important; }
.vote-button { align-self: start; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; border: 1px solid #74726b; color: #f2f0ea; background: #292927; font: 500 13px var(--t-mono) !important; cursor: pointer; }
.vote-button[aria-pressed="true"] { background: var(--t-lemon); color: #141414; border-color: var(--t-lemon); }
.vote-message { grid-column: 2; margin: 0; font-size: 13px; }
#ideas-toggle { min-height: 44px; padding: 8px 14px; background: #292927; color: #f2f0ea; border: 1px solid #74726b; border-radius: 999px; cursor: pointer; }
#idea-form { display: grid; gap: 8px; }
#idea-form label { font-size: 14px; }
#idea-form input, #idea-form textarea { width: 100%; min-width: 0; border: 1px solid #74726b; border-radius: var(--t-r-s); color: #f2f0ea; background: #292927; padding: 12px; min-height: 48px; }
#idea-form textarea { resize: vertical; }
.field-note { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.field-error { color: #ffb3c0; font-size: 14px; margin: 0; }
.suggest-button { min-height: 48px; padding: 12px 18px; border: 0; border-radius: 13px; color: #141414; background: var(--t-lemon); box-shadow: inset 0 -4px 0 var(--t-lemon-deep); font-weight: 700 !important; cursor: pointer; }
.suggest-button:disabled { opacity: .7; cursor: wait; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-status { display: block; margin: 12px 0 0; }
.t-next :focus-visible, .t-next #form-status:focus { outline: 3px solid var(--t-lemon); outline-offset: 4px; }
@media (min-width: 760px) { .shipped-gallery { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; } .t-feat { grid-row: span 2; } .t-feat + .t-soon:last-child { grid-row: span 2; align-self: stretch; } .builds-workbench { grid-template-columns: 1fr 1.3fr; gap: 40px; } .t-next { padding: 34px; } }
@media (min-width: 900px) { .mobile-break { display: none; } .builds-intro h1 { font-size: clamp(56px,10.5vw,170px); } .sticker { display: grid; } }
/* Keep the featured object at the same physical scale as the approved mock. */
.t-toy h2 { font-size: clamp(40px,7vw,76px); max-width: 6ch; text-wrap: initial; }
.t-soon h2 { font-size: clamp(32px,5vw,48px); max-width: 11ch; }
.toy-art { width: min(64vw,270px); height: 300px; margin: auto auto 22px; }
.t-toy .build-credit { max-width: none; margin-top: 12px; }
.play-arrow { width: 58px; height: 58px; }
/* A daily toy's card carries the visitor's day (builds.js dailyLine): a white chip with a mint dot. */
.toy-today { display: inline-flex; align-self: flex-start; align-items: center; gap: 9px; margin: 18px 0 0; padding: 10px 14px; border-radius: 999px; background: #fff; color: #141414; font: 500 13px/1.3 var(--t-mono); box-shadow: inset 0 -3px 0 rgba(0,0,0,.1); }
.toy-today::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--t-mint); box-shadow: 0 0 0 2px #141414; }
.toy-today:empty { display: none; }
/* Reserve the shelf while the small catalogue request is in flight. */
.toys-shelf { position: relative; }
#shipped-status { position: absolute; inset: 0 auto auto 0; margin: 0; }
#shipped-gallery[aria-busy="true"] { min-height: 900px; }
@media (min-width: 760px) { #shipped-gallery[aria-busy="true"] { min-height: 640px; } }
/* Three or more shipped toys (.shelf-wide): the featured card runs full width with
   its art beside the text; the other toys and the next card fill rows below with
   no card left alone in a row. One or two toys keep the tall featured card. */
@media (min-width: 760px) {
  .shelf-wide { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shelf-wide .t-feat { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto auto auto auto 1fr auto auto; column-gap: 40px; min-height: 0; }
  .shelf-wide .t-feat > * { grid-column: 1; }
  .shelf-wide .t-feat .t-label { grid-column: 1 / -1; }
  .shelf-wide .t-feat h2 { max-width: 9ch; }
  .shelf-wide .t-feat .toy-art { grid-column: 2; grid-row: 2 / -1; align-self: center; width: min(100%, 360px); height: 320px; margin: 0 auto; }
  .shelf-wide .t-feat h2 { grid-row: 2; } .shelf-wide .t-feat > p:not(.build-credit) { grid-row: 3; }
  .shelf-wide .t-feat .toy-today { grid-row: 4; justify-self: start; }
  .shelf-wide .t-feat .toy-stats { grid-row: 5; align-self: end; }
  .shelf-wide .t-feat .build-credit { grid-row: 6; } .shelf-wide .t-feat time { grid-row: 7; }
  .shelf-wide .t-feat + .t-soon:last-child { grid-row: auto; }
  .shelf-wide .t-soon:nth-child(even) { grid-column: 1 / -1; min-height: 200px; }
  .shelf-wide .build-card:not(.t-feat) h2 { font-size: clamp(36px,4.4vw,58px); max-width: 8ch; }
  .shelf-wide .build-card:not(.t-feat) .toy-art { height: 230px; }
}
@media (min-width: 1100px) {
  .shelf-wide { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .shelf-wide .t-soon:nth-child(even) { grid-column: auto; min-height: 260px; }
  .shelf-wide .t-soon:nth-child(3n+2) { grid-column: 1 / -1; min-height: 200px; }
  .shelf-wide .t-soon:nth-child(3n) { grid-column: span 2; }
}
