/* AnotherV · My sandbox (sandbox.html) and a toy's background page (sandbox-mimi-disk.html).
   Laid out by Vivi in Claude Design ("My sandbox", 22 Oct 2026); built on room.css, which
   holds the look (glass, panels, header, footer). Only what the shelf and the background
   page add is here. */

/* ---------------------------------------------------------------- the shelf */
.toys { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: stretch; }
.toy { display: flex; flex-direction: column; padding: 8px; }
.toy .media { aspect-ratio: 1; background: #CFCAC1; }
.toy .body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px 12px 12px; }
.toy .name { font-size: 32px; line-height: 1.02; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps b { flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: var(--r-pill);
           font-weight: 400; font-size: 10.5px; color: var(--ink); box-shadow: inset 0 0 0 0.5px rgb(42 33 27 / 0.35); }
.toy-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.toy-actions .btn { height: 44px; padding: 0 20px; font-size: 13px; letter-spacing: 0.06em; }
.aside-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-note); font-style: italic; font-size: 16px;
              color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 0.5px; text-underline-offset: 0.3em; }
.aside-link:hover { color: var(--ink); }
/* a space on the shelf still waiting for its toy */
.toy.empty { background: linear-gradient(165deg, rgb(255 255 255 / 0.22) 0%, rgb(255 255 255 / 0.10) 30%, rgb(255 252 247 / 0.08) 62%, rgb(255 255 255 / 0.14) 100%);
             box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), inset 0 0 18px rgb(255 255 255 / 0.12), 0 10px 26px rgb(30 24 18 / 0.07); }
.toy.empty .media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink-2);
                    background: rgb(255 255 255 / 0.14); box-shadow: inset 0 0 0 0.5px rgb(42 33 27 / 0.18); }
.toy.empty .media i { font-size: 26px; }
.toy.empty .media span { font-family: var(--f-hand); font-size: 19px; line-height: 1.2; }
.toy.empty .body { padding-bottom: 12px; }

/* ---------------------------------------------------------------- a toy's background page */
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: -22px; font-size: 12px; letter-spacing: 0.08em;
             color: var(--ink-2); text-decoration: none; justify-self: start; }
.back-link:hover { color: var(--ink); }
.back-link i { font-size: 16px; }
.bg-head { padding-top: 18px; }
.bg-head .rule { top: 58px; bottom: 6px; }
.bg-head .title { font-size: clamp(36px, 2.6vw + 22px, 56px); line-height: 1.02; }
.bg-head .hand { font-size: 18px; max-width: 34ch; }
.bg-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }   /* minmax: the flick row must not widen the page */

/* why I made it: the first disk beside Vivi's own words */
.why { display: flex; flex-wrap: wrap; gap: 24px 48px; padding: clamp(20px, 3vw, 36px); }
.why-side { flex: 0 1 340px; display: flex; flex-direction: column; gap: 28px; }
.why-side .section-label { margin: 0; align-items: flex-start; }
.first-disk { margin: auto 0; align-self: center; width: min(100%, 220px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.first-disk svg { display: block; width: 100%; height: auto; overflow: visible; }
.first-disk figcaption { font-family: var(--f-note); font-style: italic; font-size: 15px; line-height: 1.3; color: var(--ink-2); text-align: center; }
.why-text { flex: 1 1 420px; min-width: 0; max-width: 64ch; display: flex; flex-direction: column; justify-content: center; gap: 16px;
            font-family: var(--f-hand); font-size: clamp(18px, 0.5vw + 16px, 22px); line-height: 1.5; color: var(--ink); }
.why-text p { margin: 0; }
.why-text .last { font-size: clamp(21px, 0.6vw + 18px, 26px); line-height: 1.4; }
.why-text .sign { font-family: var(--f-note); font-style: italic; font-size: 16px; color: var(--ink-2); }

/* from sketch to the real thing: three a row, a flick row on phones */
.process { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
           margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
.process::-webkit-scrollbar { display: none; }
.step { margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; }
.step .pic { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #EFE7DA; }
.step .pic img { width: 100%; height: 100%; object-fit: cover; }
.step figcaption { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px 8px; }
.step .when { display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-forma); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-2); }
.step b { font-weight: 400; font-size: 14px; line-height: 1.3; }
.step span.t { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }

/* small details and along the way */
.facts { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.facts > div { flex: 1 1 300px; min-width: 0; display: grid; align-content: start; gap: 12px; }
.facts .section-label { margin: 0 0 0 4px; }
.details { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.details li { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: var(--r-pill);
              font-size: 12px; line-height: 1.3; color: var(--ink-2); box-shadow: inset 0 0 0 0.5px rgb(42 33 27 / 0.3); }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; }
.timeline li { display: flex; gap: 16px; padding: 10px 4px; border-bottom: 0.5px solid rgb(42 33 27 / 0.22); font-size: 13.5px; line-height: 1.45; }
.timeline time { flex: none; width: 56px; padding-top: 2px; font-family: var(--f-forma); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-2); }

/* play again */
.again { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 8px; }
.again .media { flex: 0 1 220px; aspect-ratio: 1; }
.again-text { flex: 999 1 260px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 12px 12px; }
.again-text .hand { font-size: 24px; line-height: 1.3; opacity: 1; max-width: none; }

@media (min-width: 768px) {
  .process { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
}
