/* SPDX-License-Identifier: GPL-3.0-only */
/* Fridge light. The ground has no colour of its own; only lumps do. Shadows are blue and hard. Pink means "i got it". */
@font-face { font-family: SpaceCRUD; src: url(fonts/spacecrud.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Atkinson; src: url(fonts/atkinson-regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Atkinson; src: url(fonts/atkinson-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root { --ink: #14306b; --soft: #4a669f; --cold: #f1f7fe; --shade: #9fc3ee; --line: #c9def5; --hot: #d90a5c; --safe: env(safe-area-inset-bottom, 0px); --navh: calc(68px + var(--safe)); color-scheme: light; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; overscroll-behavior: none; } html { background: var(--cold); -webkit-text-size-adjust: 100%; }
body { color: var(--ink); font: 1.125rem/1.45 Atkinson, system-ui, sans-serif; background: radial-gradient(120% 90% at 12% 0, #fff 0 18%, var(--cold) 62%, #e6f0fb); } .js body { overflow: hidden; position: fixed; inset: 0; }
h1, h2, h3, .ages, .tag, .nav a, button, dt, output, label, .soon, .tested, .chips, .parts b, .worlds b, small, .doc h3 i { font-family: SpaceCRUD, ui-monospace, monospace; font-weight: 400; -webkit-font-smoothing: none; }
h1, h2, h3, p { margin: 0; } h2 { font-size: 40px; line-height: 48px; margin-bottom: 20px; } h3 { font-size: 24px; line-height: 32px; margin: 0 0 4px; } p { margin-bottom: 12px; } a { color: var(--hot); text-underline-offset: .2em; } .big { font-size: 1.5rem; line-height: 1.35; max-width: 28ch; text-wrap: pretty; } .fine { color: var(--soft); font-size: 1rem; }
button { font-size: 16px; line-height: 20px; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; } :focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; } img { display: block; max-width: 100%; height: auto; } canvas { display: block; } [hidden] { display: none !important; } svg { fill: currentColor; shape-rendering: crispEdges; } svg[hidden] { position: absolute; } [data-i] > svg, .tag svg, #sign svg { width: 24px; height: 24px; display: block; flex: none; } [data-i] { display: inline-flex; align-items: center; justify-content: center; } .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; } label.sr { min-height: 0; }
/* tiny words under pictures */
[data-t]:is(.do, [role=tab], [data-scene], .gest span, .chain li, label span, .lanes span, .parts span, .bar button) { flex-direction: column; gap: 3px; } [data-t]:not(.pad)::after { content: attr(data-t); font: 700 12px/14px Atkinson, system-ui, sans-serif; white-space: nowrap; letter-spacing: 0; -webkit-font-smoothing: auto; }
body { -webkit-user-select: none; user-select: none; } :is(.doc, #about, .pairs, input) { -webkit-user-select: text; user-select: text; } img { -webkit-user-drag: none; } .dragging #ground { z-index: 45; } .dragging { cursor: grabbing; } html:not(.live) .live-only { display: none; }

#ground { position: fixed; left: 0; top: 0; image-rendering: pixelated; touch-action: none; transform-origin: 50% 70%; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
#tags { position: fixed; inset: 0; pointer-events: none; overflow: hidden; transition: opacity .2s; } .tag { position: absolute; left: 0; top: 0; pointer-events: none; padding: 2px; display: flex; flex-direction: column; align-items: center; gap: 1px; opacity: 0; transition: opacity .25s; filter: drop-shadow(2px 0 var(--cold)) drop-shadow(-2px 0 var(--cold)) drop-shadow(0 2px var(--cold)) drop-shadow(0 -2px var(--cold)); } .tag:is(.said, :focus-visible) { opacity: 1; } .tag.hot { color: var(--hot); } .few .tag { opacity: 1; } .few .tag:not(.said):not(.keep) svg { display: none; } .tag.keep { opacity: 1; padding: 0 2px; }
#sign { position: fixed; z-index: 40; left: calc(50% - 200px); bottom: 136px; transform: translateX(-50%); display: flex; gap: 16px; padding: 14px 18px; background: #fff; box-shadow: 4px 4px 0 var(--shade); opacity: 0; pointer-events: none; transition: opacity .2s; } #sign.on { opacity: 1; } #sign svg { width: 48px; height: 48px; } #sign.no { color: var(--hot); } #sign.no svg { animation: nope .4s; } #sign.ask svg { animation: ask 1s infinite steps(2, jump-none); }
#ghost { position: fixed; z-index: 35; left: 0; top: 0; width: 48px; height: 48px; pointer-events: none; opacity: 0; filter: drop-shadow(3px 0 #fff) drop-shadow(-3px 0 #fff) drop-shadow(0 3px #fff) drop-shadow(0 -3px #fff) drop-shadow(5px 5px var(--shade)); } #ghost.on { opacity: 1; } #ghost svg { width: 48px; height: 48px; } #ghost svg { color: var(--ink); }
@keyframes nope { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-4px); } } @keyframes ask { to { opacity: .3; } } .nope { animation: nope .35s; } .asking { animation: ask .8s infinite steps(2, jump-none); }
.name { position: fixed; left: 40px; top: 36px; pointer-events: none; } h1 { font-size: 80px; line-height: 88px; } h1 a { color: inherit; text-decoration: none; pointer-events: auto; display: inline-block; } h1 a:hover { color: var(--hot); } .ages { font-size: 24px; line-height: 32px; color: var(--soft); margin: 4px 0 0; } .pitch.gone { transition: opacity .4s; } .steps { position: fixed; left: 40px; bottom: 124px; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font: 700 14px/20px Atkinson, system-ui, sans-serif; pointer-events: none; transition: opacity .6s; } .steps li { justify-content: flex-start; gap: 10px; transition: color .3s; } .steps .done { color: #0a6b3c; } .steps.gone { opacity: 0; } body:is([data-at=inside], [data-at=make], [data-at=about], [data-at=film]) .steps { visibility: hidden; }
.volbox { position: relative; display: flex; } @media (min-width: 900px) { .row .volbox { display: none; } } .volpop { position: absolute; bottom: calc(100% + 12px); right: 0; background: #fff; box-shadow: 4px 4px 0 var(--shade); padding: 10px 16px; width: 220px; z-index: 3; } .volpop input { width: 100%; height: 44px; accent-color: var(--hot); }
.pitch { position: fixed; left: 40px; top: 170px; font-size: 1.125rem; line-height: 1.35; margin: 0; }

.do { min-height: 48px; padding: 4px 16px 8px; background: #fff; box-shadow: 4px 4px 0 var(--shade); } .do:hover { color: var(--hot); } .do:active, .do.down { transform: translate(4px, 4px); box-shadow: none; } .do[aria-pressed=true] { background: var(--ink); color: #fff; }
#catch { min-height: 80px; min-width: 236px; padding: 6px 20px 24px; gap: 14px; background: var(--hot); color: #fff; box-shadow: 6px 6px 0 var(--shade); margin: 0 8px; position: relative; touch-action: manipulation; } #catch::after { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; } #catch:hover { background: #bd004d; } #catch:active { translate: 6px 6px; box-shadow: none; } #catch > svg { width: 48px; height: 48px; } #catch canvas, #catch span { display: none; } #catch.listening { background: #8e0039; } #catch.listening > svg { width: 24px; height: 24px; } #catch.listening canvas { display: block; width: 118px; height: 40px; image-rendering: pixelated; } #catch.listening.ripe { background: var(--hot); } #catch.listening span { display: inline-flex; opacity: .25; } #catch.listening.ripe span { opacity: 1; animation: tapme .7s infinite alternate; } @keyframes tapme { to { transform: translateY(5px); } }
.do[data-i] { min-width: 56px; min-height: 60px; padding: 6px 8px 5px; } .do.down[data-i] { transform: translate(4px, 4px); box-shadow: none; }
.tools { position: fixed; left: calc(50% - 200px); bottom: 32px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; }  body:is([data-at=inside], [data-at=make], [data-at=about], [data-at=film]) :is(.tools, .pitch, #ghost) { visibility: hidden; }
.nav { position: fixed; z-index: 30; right: 40px; top: 36px; display: flex; gap: 8px; } .nav a { color: var(--ink); text-decoration: none; font-size: 16px; line-height: 20px; padding: 10px 12px 14px; display: flex; gap: 8px; } .nav svg { display: none; width: 24px; height: 24px; } .nav a:hover { color: var(--hot); } .nav a[aria-current] { background: #fff; box-shadow: 4px 4px 0 var(--shade); } .nav .w { display: none; }

.bench { position: fixed; right: 40px; width: 340px; top: 104px; bottom: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; pointer-events: none; } .bench > * { pointer-events: auto; }
.watch { --w: min(272px, calc((100vh - 424px) * .78)); width: max(190px, var(--w)); position: relative; transition: transform .2s; } .watch.hungry { transform: scale(1.06); } .shake { animation: shake .09s 5; } .chew { animation: chew .3s 3; } @keyframes chew { 50% { transform: scale(1.04, .95); } } @keyframes shake { 25% { transform: translate(-7px, 2px) rotate(-2deg); } 75% { transform: translate(7px, -2px) rotate(2deg); } }
.watch::before { content: ""; position: absolute; inset: 28px 0; background: var(--shade); border-radius: 26% / 22%; transform: translate(20px, 20px); z-index: -1; }
.strap { width: 56%; height: 30px; margin: 0 auto -4px; background: #fff; border: 3px solid var(--ink); } .strap.low { margin: -4px auto 0; } .case { position: relative; padding: 9px; border-radius: 26% / 22%; background: #fff; border: 3px solid var(--ink); }
.glassbox { position: relative; aspect-ratio: 410 / 502; border-radius: 24.4% / 19.9%; overflow: hidden; background: #000; box-shadow: 0 0 0 4px #000; } #glass, #film { position: absolute; inset: 0; width: 100%; height: 100%; } #glass { image-rendering: pixelated; touch-action: none; cursor: crosshair; display: none; } .live #glass { display: block; } .live #film { display: none; } #glass:focus-visible { outline: 0; } .case:has(#glass:focus-visible) { border-color: var(--hot); } .hungry .case { border-color: var(--hot); }
.side { position: absolute; right: -13px; width: 13px; height: 44px; background: #fff; border: 3px solid var(--ink); border-left: 0; touch-action: none; } .side::after { content: ""; position: absolute; inset: -10px -20px -10px 0; } .side span { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 8px; font: 700 12px/14px Atkinson, system-ui, sans-serif; text-align: left; white-space: nowrap; pointer-events: none; -webkit-font-smoothing: auto; } .side.a { top: 27%; } .side.b { top: 54%; } .side.down { right: -8px; width: 8px; } #peek { display: none; }
.watchdeck { width: 100%; display: flex; flex-direction: column; gap: 14px; } .seg { display: flex; background: #fff; box-shadow: 4px 4px 0 var(--shade); } .seg button { flex: 1; min-height: 60px; padding: 4px 0 3px; } .seg button:hover { color: var(--hot); } .seg button[aria-pressed=true] { background: var(--ink); color: #fff; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .row .do { padding-inline: 4px; min-width: 60px; } .pad::after { content: attr(data-t); position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; text-align: center; font: 700 12px/14px Atkinson, system-ui, sans-serif; } .pad { margin-bottom: 20px; position: relative; width: 48px; height: 48px; background: linear-gradient(var(--line), var(--line)) 50% 50% / 36px 4px no-repeat, linear-gradient(var(--line), var(--line)) 50% 50% / 4px 36px no-repeat, #fff; box-shadow: 4px 4px 0 var(--shade); touch-action: none; cursor: grab; flex: none; } .pad i { position: absolute; left: 16px; top: 16px; width: 16px; height: 16px; background: var(--ink); }
.rec::after { position: absolute; left: -20px; right: -20px; top: 100%; margin-top: 6px; text-align: center; } .rec { position: relative; margin-bottom: 20px; width: 64px; height: 64px; flex: none; border: 4px solid var(--ink); border-radius: 50%; padding: 5px; background: #fff; touch-action: none; } .rec i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--hot); } .rec.down i { transform: scale(.86); } .rec.on i { border-radius: 0; transform: scale(.6); }

/* drawers */
.js .drawer { position: fixed; z-index: 20; right: 0; top: 0; bottom: 0; width: min(680px, 100vw); padding: 104px 48px 48px; background: #fff; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; transform: translateX(102%); transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s .32s; border-left: 12px solid var(--shade); } .js .drawer.open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .8, .2, 1); } html:not(.js) .drawer { padding: 40px; background: #fff; margin-top: 24px; }
.shut { position: absolute; left: 0; top: 0; bottom: 0; width: 36px; display: none; } .js .shut { display: block; position: fixed; bottom: auto; top: 50%; height: 96px; margin-top: -48px; } .shut i { display: block; width: 6px; height: 64px; margin: 0 auto; background: var(--line); } .shut:hover i { background: var(--hot); } html:not(.js) .shut { display: none; }
.tabs { display: flex; gap: 4px; margin: 0 0 28px; flex-wrap: wrap; } .tabs button { min-height: 60px; min-width: 64px; padding: 5px 8px 4px; background: var(--cold); } .tabs button:hover { color: var(--hot); } .tabs button:is([aria-selected=true], [aria-pressed=true]) { background: var(--ink); color: #fff; } .js .tab:not(.on) { display: none; }
.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; } .worlds img, .grid img { border-radius: 24.4% / 19.9%; background: #000; } .worlds b { display: block; margin-top: 10px; font-weight: 400; } .worlds button:hover, .grid button:hover { color: var(--hot); } :is(.worlds, .grid) button:hover img { outline: 4px solid var(--hot); outline-offset: 3px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .grid button { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.gest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .gest li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--cold); } .gest svg { width: 36px !important; height: 36px !important; } .gest i { flex: 1; height: 4px; background: repeating-linear-gradient(90deg, var(--shade) 0 4px, transparent 4px 12px); } .gest li > :nth-last-child(2) { color: var(--hot); }
#theatre { position: fixed; z-index: 28; inset: 0; display: grid; place-items: center; background: rgb(225 237 251 / .86); visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; } #theatre.open { visibility: visible; opacity: 1; transition: opacity .2s; } .frame { --h: min(100dvh - 180px, 780px); background: #fff; border: 4px solid var(--ink); box-shadow: 18px 18px 0 var(--shade); padding: 14px 14px 0; transform: translateY(40px) rotate(-3deg); transition: transform .35s cubic-bezier(.2, .9, .2, 1.1); } .open .frame { transform: none; } #real { display: block; margin: 0 auto; height: calc(var(--h)); width: calc(var(--h) * 9 / 16); background: #000; cursor: pointer; } .bar { display: flex; align-items: center; gap: 8px; height: 76px; } .bar button { width: 56px; height: 60px; flex: none; } .bar button:hover { color: var(--hot); } .bar #vPlay { color: var(--hot); } .bar input { accent-color: var(--hot); }
#oDots { text-align: center; } .chain { list-style: none; display: flex; padding: 0; margin: 28px 0 8px; gap: 4px; } .chain li { flex: 1; min-width: 0; min-height: 104px; background: var(--cold); position: relative; } .chain svg { width: 36px !important; height: 36px !important; } .chain .hot { background: var(--ink); color: #fff; } .chain li { animation: hopto 2.5s infinite; } .chain li:nth-child(2) { animation-delay: .25s; } .chain li:nth-child(3) { animation-delay: .5s; } .chain li:nth-child(4) { animation-delay: .75s; } .chain li:nth-child(5) { animation-delay: 1s; } @keyframes hopto { 0%, 24% { transform: none; } 8% { transform: translateY(-10px); } } .mid { text-align: center; }
small { font-size: 16px; line-height: 20px; white-space: nowrap; } .lanes div { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; } .lanes canvas { flex: 1; min-width: 0; height: 48px; image-rendering: pixelated; } .lanes small { width: 60px; } .lanes span, label span { min-width: 56px; } .parts span[data-t] { min-width: 64px; } .parts { list-style: none; padding: 0; margin: 24px 0 0; } .parts li { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-top: 2px solid var(--cold); } .parts b { font-weight: 400; font-size: 16px; }
.pairs { margin: 0; } .pairs div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 10px 0; border-top: 2px solid var(--cold); align-items: baseline; } dd { margin: 0; } dt { font-size: 16px; line-height: 20px; }
.trick { margin-bottom: 36px; } .trick canvas { width: 100%; background: #fff; border: 3px solid var(--ink); margin-bottom: 8px; image-rendering: pixelated; } label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; } input[type=range] { flex: 1; min-width: 0; height: 32px; accent-color: var(--ink); } output { display: block; min-height: 24px; color: var(--soft); font-size: 16px; line-height: 20px; }
.budget { height: 20px; background: var(--cold); margin-bottom: 6px; } .budget i { display: block; width: 35%; height: 100%; background: var(--ink); } .swatches { display: grid; grid-template-columns: repeat(12, 1fr); height: 88px; margin: 20px 0 28px; } #cKit { width: 100%; image-rendering: pixelated; margin-bottom: 8px; } .kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; } .kit canvas { width: 100%; image-rendering: pixelated; } .kit button { padding: 4px; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px; } .kit button[aria-pressed=true] { background: var(--hot); color: #fff; }
/* the manual */
.doc { font-size: 1.0625rem; line-height: 1.55; } .doc h3 { margin: 40px 0 10px; display: flex; gap: 16px; align-items: center; scroll-margin-top: 116px; } .doc h3 i { font-style: normal; font-size: 24px; line-height: 24px; min-width: 40px; padding: 4px 0 10px; text-align: center; background: var(--ink); color: #fff; } .doc h3:focus { outline: 0; } .doc p { max-width: 62ch; } .doc a { display: inline-block; } .doc a svg { width: 12px !important; height: 12px !important; }
.board { display: grid; grid-template-columns: 148px 1fr; gap: 28px; align-items: center; background: var(--cold); padding: 24px; } .board img { border-radius: 24.4% / 19.9%; background: #000; box-shadow: 0 0 0 6px #000, 14px 14px 0 4px var(--shade); } .board p { margin-bottom: 8px; } .tested { color: #0a6b3c; font-size: 16px; line-height: 24px; display: flex; gap: 10px; align-items: center; } .what { font-weight: 700; font-size: 1.25rem; line-height: 1.3; } .chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 16px; line-height: 20px; } .chips li { background: #fff; padding: 4px 8px 8px; }
.note { background: var(--cold); border-left: 6px solid var(--shade); padding: 12px 16px; margin: 16px 0; } .warn { border-color: var(--hot); } .toc { columns: 2; column-gap: 32px; padding: 0 0 0 24px; margin: 20px 0 0; } .toc li { padding: 3px 0; break-inside: avoid; }
.cmd { position: relative; margin: 10px 0 14px; } pre { background: var(--ink); color: #dcecff; padding: 16px 64px 16px 18px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: .95rem/1.6 ui-monospace, Menlo, Consolas, monospace; } pre var { font-style: normal; color: #ffd27a; } .copy { position: absolute; right: 4px; top: 4px; width: 48px; height: 48px; color: #9fc3ee; } .copy:hover { color: #fff; } .copy svg { width: 24px; } code { font: .95em ui-monospace, Menlo, Consolas, monospace; } p code, td code { overflow-wrap: anywhere; background: var(--cold); padding: 1px 5px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; } th, td { overflow-wrap: anywhere; text-align: left; padding: 10px 14px 10px 0; border-bottom: 2px solid var(--cold); vertical-align: top; } th { color: var(--soft); font-size: .95rem; } .os { display: flex; gap: 4px; margin: 14px 0 10px; } .os button { min-height: 44px; padding: 2px 16px 6px; background: var(--cold); } .os button[aria-pressed=true] { background: var(--ink); color: #fff; } #port { font: 1rem ui-monospace, Menlo, monospace; padding: 12px 14px; width: min(100%, 300px); border: 3px solid var(--ink); border-radius: 0; color: var(--ink); background: #fff; } .checks { padding-left: 20px; } .checks li { padding: 4px 0; }
#people { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; } #people li > * { display: block; background: var(--cold); padding: 12px 16px; min-height: 48px; font-weight: 700; overflow-wrap: anywhere; } .soon { font-size: 16px; line-height: 24px; background: var(--cold); padding: 14px 20px 18px; display: inline-block; } .thanks { list-style: none; padding: 0; margin-top: 24px; } .thanks li { padding: 10px 0; border-top: 2px solid var(--cold); color: var(--soft); } #about .big { margin-bottom: 14px; }
@media (min-width: 900px) and (max-width: 1180px) { #catch { min-width: 140px; } h1 { font-size: 56px; line-height: 64px; } .ages { font-size: 16px; line-height: 24px; } .pitch { display: none; } #catch { margin: 0; } #catch.listening canvas { width: 118px; } .tools { gap: 8px; } }
@media (min-width: 900px) and (max-height: 700px) @media (min-width: 900px) and (max-height: 700px) { .pitch, .steps { display: none; } }
@media (min-width: 900px) and (max-width: 1319px) { .steps { display: none; } }
@media (min-width: 900px) { .pitch br { display: none; } }

@media (min-width: 900px) { body:is([data-at=inside], [data-at=make], [data-at=about]) .nav::before { content: ""; position: fixed; z-index: -1; right: 16px; top: 0; width: min(652px, 100vw); height: 92px; background: #fff; } .nav { isolation: isolate; } }

/* phone (and upright tablet): an app */
@media (max-width: 899px) {
  .nav { inset: auto 0 0; height: var(--navh); gap: 0; padding: 0 4px var(--safe); background: #fff; box-shadow: 0 -4px 0 var(--line); } .nav a { flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px 0 6px; font: 700 12px/14px Atkinson, system-ui, sans-serif; } .nav svg { display: block; } .nav .w { display: flex; } .nav a[aria-current] { background: none; box-shadow: none; color: var(--hot); } .nav a[href="#ground"], .nav a { min-width: 0; }
  .name { left: 16px; top: calc(12px + env(safe-area-inset-top, 0px)); } h1 { font-size: 32px; line-height: 40px; } .ages { font-size: 16px; line-height: 20px; max-width: 220px; } .pitch { left: 16px; right: 16px; top: calc(104px + env(safe-area-inset-top, 0px)); bottom: auto; right: 120px; font-size: 1rem; line-height: 1.25; } .pitch br { display: none; } .pitch.gone { opacity: 0; }
  .tools { left: 16px; right: 16px; bottom: calc(var(--navh) + 18px); transform: none; gap: 12px 8px; flex-wrap: wrap; max-width: 460px; margin: 0 auto; } .tools .do { flex: 1; min-height: 58px; min-width: 0; } .tools .do[data-tool], #bag { box-shadow: 0 4px 0 var(--shade); } #catch { flex: 1 0 100%; margin: 0; min-height: 70px; order: 9; min-width: 0; } #catch.listening canvas { width: 177px; height: 40px; } #deaf { position: absolute; order: 10; flex: none !important; left: auto; right: 6px; bottom: 5px; min-height: 60px; min-width: 56px !important; background: #5c0026; color: #fff; box-shadow: none; } #catch.listening { justify-content: flex-start; padding: 6px 70px 24px 12px; gap: 10px; } #catch.listening::after { right: 60px; }
  #sign { left: 50%; bottom: calc(var(--navh) + 176px); } [data-at=watch] #sign { bottom: calc(var(--navh) + 196px); }
  .bench { inset: 0 0 var(--navh); width: auto; gap: 0; display: block; } .watch { --w: min(64vw, calc((100dvh - 344px) * .8), 340px); width: var(--w); position: absolute; left: 50%; top: calc(24px + env(safe-area-inset-top, 0px)); margin-left: calc(var(--w) / -2); transition: transform .45s cubic-bezier(.2, .8, .2, 1); transform-origin: 100% 0; }
  body:not([data-at=watch]) .watch { transform: translate(calc(50vw - var(--w) / 2 - 16px), -14px) scale(.3); } body:not([data-at=watch]) .watch.hungry { transform: translate(calc(50vw - var(--w) / 2 - 16px), -14px) scale(.4); } body:not([data-at=watch]) #peek { display: block; position: absolute; inset: -20px; }
  body:not([data-at=watch]) .watch :is(.strap, .side) { visibility: hidden; } body:not([data-at=watch]) .case { border-width: 10px; padding: 0; } body:not([data-at=watch]) .watch::before { transform: translate(14px, 14px); inset: 27px 0; } body:not([data-at=watch]) #peek::after { content: "synth"; position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font: 700 40px/44px Atkinson, system-ui, sans-serif; }
  .watchdeck { position: absolute; left: 16px; right: 16px; bottom: 14px; width: auto; max-width: 460px; margin: 0 auto; transition: opacity .25s, transform .3s; } body:not([data-at=watch]) .watchdeck { opacity: 0; visibility: hidden; transform: translateY(40px); } [data-at=watch] :is(.tools, .name, .pitch, .steps) { visibility: hidden; } .steps { left: 8px; right: 112px; top: calc(102px + env(safe-area-inset-top, 0px)); bottom: auto; grid-template-columns: repeat(4, 1fr); gap: 2px; font-size: 11px; line-height: 12px; opacity: 0; } .steps li { flex-direction: column; text-align: center; gap: 3px; justify-content: flex-start; } .pitch.gone ~ .steps, .started .steps:not(.gone) { opacity: 1; } .volbox { flex: 1; } .side span { font-size: 11px; line-height: 12px; margin-left: 6px; } body:not([data-at=watch]) .side span { display: none; } .volbox .do { width: 100%; } .row:has(#bMotion:not([hidden])) :is(.pad, #bShake), .row.leaning :is(.pad, #bShake) { display: none; }
  [data-at=watch] #ground { transform: scale(.12); opacity: 0; } [data-at=watch] #tags { opacity: 0; } .rec { width: 72px; height: 72px; }
  .js .drawer { top: calc(52px + env(safe-area-inset-top, 0px)); bottom: var(--navh); width: auto; left: 0; padding: 52px 20px 32px; border: 0; box-shadow: 0 -12px 0 var(--shade); transform: translateY(104%); } .js .shut { position: absolute; top: 0; left: 50%; width: 120px; height: 44px; margin: 0 0 0 -60px; touch-action: none; } .shut i { width: 64px; height: 6px; margin: 16px auto; }
  h2 { font-size: 32px; line-height: 40px; } .tabs { flex-wrap: nowrap; gap: 2px; margin: 0 -12px 20px; position: sticky; top: -52px; z-index: 2; background: #fff; } .tabs button { flex: 1; min-width: 0; padding-inline: 0 !important; letter-spacing: -.2px; } .grid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; } .worlds { grid-template-columns: 1fr 1fr; gap: 18px; } .gest { grid-template-columns: 1fr; } .big { font-size: 1.25rem; } #theatre { inset: 0 0 var(--navh); } .frame { --h: min(100dvh - var(--navh) - 150px, (100vw - 56px) * 16 / 9); padding: 10px 10px 0; box-shadow: 10px 10px 0 var(--shade); } .bar { height: 66px; } .board { grid-template-columns: 84px minmax(0, 1fr); gap: 20px; padding: 18px; align-items: start; } .doc h3 { font-size: 16px; line-height: 24px; gap: 12px; } .os button { flex: 1; padding-inline: 4px; } .what { font-size: 1.0625rem; } .toc { columns: 1; } .chain small { font-size: 8px; line-height: 12px; } .chain svg { width: 24px !important; height: 24px !important; }
}
@media (max-width: 899px) and (max-height: 619px) { .pitch, .steps, .tag.keep { display: none !important; } }
@media (max-width: 359px) { .nav a { font-size: 11px; letter-spacing: -.2px; } .row { gap: 2px; } .row .do { padding-inline: 2px; min-width: 46px; } .pad { width: 46px; } .rec { width: 58px; height: 58px; } h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .frame, #theatre, #ground, .watch, .drawer, .watchdeck { transition: none !important; } .shake, .chew, .nope, .asking, #sign svg, .chain li, #catch span { animation: none !important; } }
