:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#fdf8f1;--sidebar:#faf1e4;--surface:#fff;--surface-soft:#fff8ef;--text:#2b2118;--muted:#7a6a5c;--line:#efe2d0;--accent:#f0683a;--accent-hover:#e2592b;--accent-strong:#b93a0e;--accent-soft:#fde6da;--accent-text:#2b140a;--line-strong:#9a8269;--kid:#fff0e6;--coach:#fff;--held:#fff4d6;--sun:#ffd166;--sky:#d7ecff;--alert:#b3261e;--focus:#b93a0e;--shadow:0 1px 2px #3c230a0f, 0 6px 18px #3c230a12;--radius:1.25rem;--font:ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#1c1712;--sidebar:#221c16;--surface:#2a221b;--surface-soft:#30271f;--text:#f7efe6;--muted:#c9b8a6;--line:#43372b;--accent:#ff8a5c;--accent-hover:#ff9d76;--accent-strong:#ffa17c;--line-strong:#8d7967;--accent-soft:#4a2c1f;--accent-text:#2b140a;--kid:#43291c;--coach:#2f261e;--held:#4a3b12;--sky:#1f3348;--alert:#ff9b8f;--focus:#ff8a5c;--shadow:0 1px 2px #0000004d, 0 6px 18px #00000040}}*,:before,:after{box-sizing:border-box}html{font-size:106.25%}body{background:var(--bg);color:var(--text);font-family:var(--font);margin:0;line-height:1.5}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3{letter-spacing:-.01em;font-weight:800;line-height:1.2}h2{margin:0 0 .75rem;font-size:1.3rem}p{margin:.25rem 0}a{color:var(--accent-strong);font-weight:700}button{background:var(--accent);min-height:2.75rem;color:var(--accent-text);font:inherit;cursor:pointer;border:0;border-radius:999px;padding:.5rem 1.25rem;font-weight:700;transition:transform .12s,background .12s}button:hover:not(:disabled){background:var(--accent-hover)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{background:var(--line);color:var(--muted);box-shadow:none;cursor:not-allowed}button.secondary{border:2px solid var(--line-strong);background:var(--surface);color:var(--text)}button.secondary:hover:not(:disabled){border-color:var(--accent);background:var(--surface-soft)}input[type=text]{border:2px solid var(--line-strong);background:var(--surface);min-width:0;min-height:2.75rem;color:var(--text);font:inherit;border-radius:999px;flex:1;padding:.5rem 1rem}input[type=text]::placeholder{color:var(--muted);opacity:1}input[type=text]:focus-visible{border-color:var(--focus)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.hint{color:var(--muted)}.lost{font-size:1.25rem}.problem,[role=alert]{color:var(--alert)}.problem button{margin-top:.5rem}.page{max-width:64rem;margin:0 auto;padding:1.5rem 1rem 3rem}.masthead h1{margin:0 0 1rem;font-size:2rem}.brand{align-items:center;gap:.6rem;font-size:1.35rem;font-weight:800;display:flex}.brand-mark{background:var(--accent);width:2.25rem;height:2.25rem;color:var(--accent-text);border-radius:50%;place-items:center;font-size:1.1rem;display:grid}.app-shell{grid-template-columns:minmax(0,1fr);min-height:100vh;display:grid}@media (width>=52rem){.app-shell{grid-template-columns:16rem minmax(0,1fr)}}.sidebar{border-right:1px solid var(--line);background:var(--sidebar);flex-direction:column;gap:1rem;padding:1.25rem 1rem;display:flex}.new-game{width:100%;min-height:3.25rem;box-shadow:var(--shadow);border-radius:1rem;font-size:1.1rem}.my-games h2{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:.5rem 0 .4rem;font-size:.85rem}.my-games ul{flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none;display:flex}.game-link{width:100%;min-height:2.75rem;color:var(--text);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border-radius:.75rem;padding:.4rem .75rem;font-weight:600;overflow:hidden}.game-link:hover:not(:disabled){background:var(--accent-soft)}.game-link[aria-current=page]{background:var(--accent-soft);color:var(--accent-strong)}@media (width<=51.99rem){.sidebar{border-right:0;border-bottom:1px solid var(--line)}.my-games ul{flex-direction:row;overflow-x:auto}.game-link{width:auto;max-width:14rem}}.stage{min-width:0;padding:0 1rem 3rem}.topbar{border-bottom:1px solid var(--line);align-items:center;min-height:3.5rem;margin:0 -1rem 1rem;padding:0 1.5rem;display:flex}.topbar-title{margin:0;font-size:1.15rem;font-weight:800}.hero{text-align:center;flex-direction:column;align-items:center;gap:1rem;max-width:46rem;margin:3rem auto 0;display:flex}.hero h1{margin:0 0 .5rem;font-size:clamp(1.9rem,4vw,2.8rem)}.hero-name{color:var(--accent-strong)}.composer{width:100%}.composer label{margin-bottom:.25rem;font-weight:700;display:block}.composer-row{align-items:center;gap:.5rem;display:flex}.composer-big .composer-row{border:2px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:.75rem}.composer-big input[type=text]{border:0;min-height:3.5rem;font-size:1.15rem}.send{place-items:center;width:2.75rem;min-width:2.75rem;padding:0;font-size:1.3rem;display:grid}.composer-big .send{width:3.25rem;height:3.25rem}.ideas{flex-wrap:wrap;justify-content:center;gap:.6rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.idea{border:2px solid var(--line);background:var(--surface);color:var(--text);box-shadow:var(--shadow);font-weight:600}.idea:hover:not(:disabled){border-color:var(--accent);background:var(--surface-soft)}.play{grid-template-columns:minmax(0,1fr);gap:1.5rem;display:grid}@media (width>=60rem){.play{grid-template-columns:minmax(0,1.45fr) minmax(19rem,1fr);align-items:start}.play>.game-panel{position:sticky;top:1rem}}.chat{flex-direction:column;gap:.75rem;display:flex}.messages{flex-direction:column;gap:.7rem;margin:0;padding:0;list-style:none;display:flex}.bubble{border-radius:var(--radius);overflow-wrap:anywhere;white-space:pre-wrap;max-width:92%;box-shadow:var(--shadow);padding:.7rem 1rem}.bubble-kid{background:var(--kid);border-bottom-right-radius:.4rem;align-self:flex-end}.bubble-coach{border:1px solid var(--line);background:var(--coach);border-bottom-left-radius:.4rem;align-self:flex-start}.bubble-held{background:var(--held);align-self:center}.speaker{color:var(--muted);font-size:.8rem;font-weight:800;display:block}.thinking{color:var(--muted);font-style:italic}.building{border:2px dashed var(--sun);border-radius:var(--radius);background:var(--surface-soft);flex-direction:column;gap:.4rem;padding:.9rem 1rem;display:flex}.building-title{justify-content:space-between;align-items:baseline;gap:.75rem;margin:0;font-size:1.1rem;font-weight:800;display:flex}.building-title .wait-clock{color:var(--muted);font-size:.9rem;font-weight:700}.build-progress{background:var(--line);border-radius:999px;height:.6rem;overflow:hidden}.build-progress-fill{background:var(--accent);border-radius:999px;height:100%;transition:width .9s linear}.build-tip{margin:0;font-size:.9rem}.play-game{min-height:2.75rem;margin-top:.5rem}.wait-clock{font-variant-numeric:tabular-nums;margin:0}.plan-card{border:2px solid var(--sun);white-space:normal;width:100%}.plan-card h3{margin:.25rem 0 .5rem;font-size:1.15rem}.plan-lines{grid-template-columns:max-content 1fr;gap:.4rem .75rem;margin:0 0 .75rem;display:grid}.plan-lines dt{font-weight:800}.plan-lines dd{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;margin:0;display:flex}.plan-change{border:2px solid var(--line);background:var(--surface);min-height:2rem;color:var(--text);padding:.1rem .8rem;font-size:.85rem}.plan-change:hover:not(:disabled){border-color:var(--accent);background:var(--surface-soft)}.plan-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.plan-actions .hint{margin:0}.game-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:1.25rem}.game-area{flex-direction:column;gap:.75rem;display:flex}.game-stage{flex-direction:column;align-items:flex-start;gap:.75rem;display:flex}.game-frame{aspect-ratio:3/2;width:100%;max-width:760px}.game-frame iframe{border:4px solid var(--sun);background:#fff;border-radius:1.25rem;width:100%;height:100%;animation:.6s ease-out game-arrives}@keyframes game-arrives{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.game-frame iframe,.build-progress-fill{transition:none;animation:none}}.game-empty{border:3px dashed var(--line-strong);min-height:16rem;color:var(--muted);text-align:center;border-radius:1.25rem;place-items:center;padding:1.5rem;display:grid}.game-empty-icon{font-size:2.5rem}.versions ol{flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.versions button{border:2px solid var(--line);background:var(--surface);min-width:3rem;min-height:2.75rem;color:var(--text);padding:.2rem .9rem}.versions button[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.tune{background:var(--surface-soft);border-radius:1rem;width:100%;max-width:760px;padding:1rem}.tune h3{margin:0;font-size:1.05rem}.knobs{gap:.5rem;margin:.5rem 0 .75rem;padding:0;list-style:none;display:grid}.knob{grid-template-columns:minmax(6rem,9rem) 1fr 3.5rem;align-items:center;gap:.75rem;display:grid}.knob input[type=range]{width:100%;min-height:2.75rem;accent-color:var(--accent)}.knob output{font-variant-numeric:tabular-nums;text-align:right;font-weight:700}.grownups-head{align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.grownups-tag{background:var(--accent-soft);color:var(--accent-strong);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;margin:0;padding:.1rem .7rem;font-size:.8rem;font-weight:800}.grownups h1{margin:0 0 .25rem;font-size:2rem}.grownups>.hint{margin-bottom:1.5rem}.story{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:0 0 1.5rem;padding:1.25rem}.story-head{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.story-head h2{margin:0}.chip{border-radius:999px;padding:.05rem .6rem;font-size:.8rem;font-weight:800}.chip-kid{background:var(--accent-soft);color:var(--accent-strong)}.chip-coach{background:var(--sky);color:var(--text)}.safety-card{background:var(--surface-soft);color:var(--muted);font-variant-numeric:tabular-nums;border-radius:999px;margin:.6rem 0 1rem;padding:.3rem .8rem;font-size:.9rem;display:inline-block}.needs-look{border:2px solid var(--sun);background:var(--held);border-radius:1rem;margin:0 0 1rem;padding:.75rem 1rem}.needs-look h3{margin:0 0 .25rem;font-size:1rem}.needs-look ul{margin:0;padding-left:1.25rem}.feed-list{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.feed-entry{border:1px solid var(--line);background:var(--surface);border-radius:1rem;padding:.75rem 1rem}.feed-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.6rem;font-size:.85rem;display:flex}.feed-meta time{order:2;margin-left:auto}.feed-text{overflow-wrap:anywhere;white-space:pre-wrap}.badge{border:2px solid;border-radius:999px;padding:.05rem .55rem;font-size:.8rem;font-weight:800}.band-flag .badge{color:var(--text);background:var(--held)}.band-block .badge{color:var(--alert)}.scores{color:var(--muted);margin:.25rem 0;padding-left:1.25rem;font-size:.9rem}.feed-play{min-height:2.75rem;margin-top:.4rem;padding:.2rem 1rem}.feed-player{flex-direction:column;align-items:flex-start;gap:.5rem;margin-top:.5rem;display:flex}.all-clear{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:0 0 1.5rem;padding:.8rem 1rem;font-weight:700}.look-summary{border:3px solid var(--alert);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:0 0 1.5rem;padding:1rem 1.25rem}.look-summary h2{color:var(--alert);margin:0 0 .5rem}.look-summary ul{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.look-jump{border:2px solid var(--line-strong);background:var(--surface-soft);width:100%;min-height:2.75rem;color:var(--text);text-align:left;border-radius:1rem;flex-direction:column;align-items:flex-start;padding:.5rem .9rem;font-weight:600;display:flex}.look-jump:hover:not(:disabled){border-color:var(--accent);background:var(--surface-soft)}.look-text{color:var(--muted);overflow-wrap:anywhere;font-weight:500}.feed-entry:focus{outline:3px solid var(--focus);outline-offset:2px}.reasons p{margin:.35rem 0 0;font-weight:700}.reasons details summary{min-height:2.75rem;color:var(--muted);cursor:pointer;padding:.6rem 0}
