/* Kids Science scenes (byte-science-scenes.js). Loaded after byte.css; uses its colour variables. */
/* read-aloud choices: one per row, picture then words, with the speaker beside */
.by-answers:has(.by-opt-w){grid-template-columns:1fr}
.by-opt-w{display:flex;gap:8px;align-items:stretch}
.by-opt-w .by-opt{flex:1}
.by-opt-read{flex-direction:row;justify-content:flex-start;gap:12px;text-align:left;min-height:72px;padding:8px 14px}
.by-opt-read span{font-weight:800;font-size:18px;line-height:1.25}
.by-opt-w .by-say{align-self:center}
.sci-ic{width:52px;height:52px;flex:none;display:block}
.by-opt .sci-ic{width:52px;height:52px}
.by-reason-pic.sci-pic,.by-reason-pic.sc{max-height:104px}
.sci-icon{pointer-events:none}
.by-bytechip b{font-size:22px;line-height:1.2}
/* shared */
.sci-dark,.sci-note,.sci-beam,.sci-shadow,.sci-dim,.sci-spot,.sci-bounce,.sci-beamline,.sci-waves,.sci-zoom,.sci-dropc,.sci-ghost,.sci-move{pointer-events:none}
.sci-tile-bg{fill:#3a261c;stroke:var(--line);stroke-width:2}
.sci-tile.sc-counted .sci-tile-bg{stroke:var(--good);stroke-width:4}
.sci-cap{fill:var(--muted);font-family:Figtree,system-ui;font-weight:800}
.sci-lab rect{fill:#3a261c;stroke:var(--line);stroke-width:1.5}.sci-lab .sc-tag-t{fill:var(--ink)}
.sci-ground{fill:#3f7a3a}
.sci-floor{fill:#5a3f2c}
.sci-water{fill:#3d78c2;opacity:.85}
.sci-dash{fill:none;stroke:var(--muted);stroke-width:2;stroke-dasharray:5 5}
.sci-ghost{opacity:.3}
.sci-move{stroke:var(--gold);stroke-width:4}
.sci-rope{fill:none;stroke:#e8d1a8;stroke-width:3;stroke-linecap:round}
.sci-note{fill:#d7e3ff;font-family:Figtree,system-ui;font-weight:900}
.sci-panel-bg{fill:#3a261c;stroke:var(--line);stroke-width:2}
.sci-panel.sc-counted .sci-panel-bg,.sci-panel.sc-counted .sci-sky{stroke:var(--good);stroke-width:4}
.sci-faint{opacity:.2}
/* sky */
.sci-sky{fill:#6fbcf2}
.sci-sky.is-morning{fill:#f7b977}.sci-sky.is-evening{fill:#e98a6b}.sci-sky.is-noon,.sci-sky.is-day{fill:#6fbcf2}.sci-sky.is-night{fill:#17224d}
.sci-sky.is-flash{fill:#fff6c2}
.sci-star{fill:#fff6ea}
.sci-path{fill:none;stroke:#fff6ea;stroke-width:2.5;stroke-dasharray:4 7;opacity:.8}
.sci-moon.is-day{opacity:.75}
.sci-zoom{fill:#e8f6ff;stroke:#fff;stroke-width:3}
.sci-dropc{fill:#3f86e0}
.sci-beamline{fill:none;stroke:#ffe9a8;stroke-width:3;stroke-dasharray:6 6}
/* light */
.sci-room{fill:#3b2c24}
.sci-wall{fill:#efe3d0}
.sci-dark{fill:#05060a;opacity:.94}
.sci-beam{fill:#fff3b0;fill-opacity:.55}
.sci-shadow{fill:#2a1f1a}
.sci-dim{fill:#8a7d6c;opacity:.6}
.sci-spot{fill:#fff3b0;opacity:.8}
.sci-bounce{stroke:#fff3b0;stroke-dasharray:6 5}
.sci-mat-card{fill:#c88f52;stroke:#8a5a2c;stroke-width:2}
.sci-mat-wax{fill:#f3ecd8;opacity:.7;stroke:#d8cba8;stroke-width:2}
.sci-mat-clear{fill:#d8f1ff;opacity:.35;stroke:#9fd5ef;stroke-width:2}
.sci-mirror{stroke:#c7e6f4;stroke-width:9;stroke-linecap:round}
.sci-ballg{fill:#4a4f5c}.sci-ball-lit{fill:#d7e3ff}
/* sound */
.sci-box{fill:#c88f52;stroke:#8a5a2c;stroke-width:3}
.sci-hole{fill:#3a2412}
.sci-band{fill:none;stroke:#ff6b5e;stroke-width:4;stroke-linecap:round}
.sci-string{fill:none;stroke:#e8d1a8;stroke-width:2.5}
.sci-cupa{fill:#ff6b5e}.sci-cupb{fill:#5aa7ff}
.sci-wave{fill:none;stroke:var(--gold);stroke-width:3;stroke-linecap:round;opacity:.9}
.sci-waves.is-big .sci-wave{stroke-width:5}
.sci-rice{fill:#fffdf7;stroke:#8a6a3a;stroke-width:1.5}
/* changes, blocks and clay */
.sci-back-ok{stroke:var(--good)}.sci-back-no{stroke:var(--try)}
.sci-block-r{stroke:rgba(0,0,0,.35);stroke-width:1.5}
.sci-b0{fill:#ff6b5e}.sci-b1{fill:#ffd23f}.sci-b2{fill:#5aa7ff}.sci-b3{fill:#6fdc8c}
.sci-wheel{fill:#120c0a;stroke:#9aa3ad;stroke-width:3}
.sci-clay{fill:#7fb6ff;stroke:#3f75c2;stroke-width:2}
/* fair tests */
.sci-panel-bg.is-sun{fill:#4a3a1c}.sci-panel-bg.is-dark{fill:#15131c}
.sci-pot{fill:#d9694f}
.sci-plant{fill:#6fdc8c}.sci-plant.sci-stem{fill:none;stroke:#2f9e57;stroke-width:4;stroke-linecap:round}
.sci-plant.is-droop{fill:#c9d68a}.sci-plant.is-droop.sci-stem{fill:none;stroke:#a3ad5c}
.sci-wet{fill:#3f86e0;opacity:.45}
.sci-pier{fill:#9aa3ad}
.sci-deck{fill:none;stroke-width:9;stroke-linecap:round}
.sci-deck-wood{stroke:#d9a35b}.sci-deck-paper{stroke:#fff6ea}
/* land and water */
.sci-sea{fill:#2f6fd0}
.sci-mtn{fill:#8d7c6a}
.sci-snow{fill:#fff}
.sci-glacier{fill:#cfeefe;opacity:.9}
.sci-river{fill:none;stroke:#5aa7ff;stroke-width:9;stroke-linecap:round}
.sci-hill{fill:#58b55c}
.sci-isle{fill:#f2d38b}
.sci-palm{fill:none;stroke:#a8733f;stroke-width:4;stroke-linecap:round}
.sci-palmleaf{fill:#2f9e57}
.sci-underland{fill:#c9a75a;opacity:.85}
.sci-floorline{fill:#8a6a3a}
.sci-feat.sc-counted>*:not(.sc-hit){filter:drop-shadow(0 0 4px rgba(166,235,166,.95))}
/* words */
.sci-card{fill:#fff6ea}
.sci-word{fill:#2a1a10;font-family:Figtree,system-ui;font-weight:900}
.sci-words.sc-counted .sci-card{stroke:var(--good);stroke-width:4}
.sci-way{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.sci-way-a{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:6px 8px;border-radius:12px;background:#3a261c;color:var(--ink,#fff4e6);font:800 15px/1.2 Figtree,system-ui;text-align:center}
.sci-way-a .sci-ic{width:28px;height:28px}
