/* Kids Social Studies scenes (byte-social-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}
.by-opt-w .by-say{align-self:center}
.ss-ic{width:52px;height:52px;flex:none;display:block}
.by-opt .ss-ic{width:52px;height:52px}
.by-opt .ss-ic-wide{width:auto;height:52px;max-width:132px}
.by-opt .ss-ic-view{width:60px;height:60px}
.by-reason-pic.ss-pic,.by-reason-pic.ss-votes,.by-reason-pic.ss-nestw,.by-reason-pic.ss-timelinew,.by-reason-pic.ss-peoplew,.by-reason-pic.ss-photow,.by-reason-pic.ss-flagw,.by-reason-pic.ss-familyw,.by-reason-pic.ss-compassw,.by-reason-pic.ss-keyw,.by-reason-pic.ss-share{max-height:110px}
.ss-icon,.ss-sym,.ss-viewart{pointer-events:none}
.by-scene .ss-map,.by-scene .ss-world,.by-scene .ss-nestw{max-height:52vh}
.by-scene .ss-peoplew,.by-scene .ss-tablew{max-height:44vh}
/* labels */
.ss-small{fill:var(--muted);font-family:Figtree,system-ui;font-weight:800}
.ss-age{fill:var(--gold);font-family:Figtree,system-ui;font-weight:900}
.ss-cap{fill:var(--muted);font-family:Figtree,system-ui;font-weight:800}
.ss-q{fill:var(--gold);font-family:Bungee,system-ui}
.ss-price rect{fill:#ffb02e}.ss-price .sc-tag-t{fill:#241309}
/* picture cards */
.ss-art-bg{fill:#3a261c;stroke:var(--line);stroke-width:2}
.ss-art.sc-counted .ss-art-bg{stroke:var(--good);stroke-width:4}
/* votes */
.ss-vrow-bg{fill:#3a261c;stroke:var(--line);stroke-width:2}
.ss-vrow.is-hl .ss-vrow-bg{stroke:var(--gold);stroke-width:4}
.ss-token-c{fill:#5aa7ff;stroke:#c9e4ff;stroke-width:2}
.ss-token-v{fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.ss-token.sc-counted .ss-token-c{fill:#3bb36a;stroke:var(--good);stroke-width:3}
/* fair shares */
.ss-pile-bg{fill:#3a261c;stroke:var(--gold);stroke-width:2;stroke-dasharray:6 5}
.ss-pile.sc-next .ss-pile-bg{stroke-width:3.5}
.ss-plate-c{fill:#fff6ea;stroke:#d8c7b0;stroke-width:3}
/* maps and the key */
.ss-map-bg{fill:#dfe9c8;stroke:#9fb57a;stroke-width:3}
.ss-park{fill:#7fcf7f;opacity:.85}
.ss-lake{fill:#9fd5ef;stroke:#5aa7ff;stroke-width:2}
.ss-grid{stroke:#b6c79a;stroke-width:1.5;stroke-dasharray:4 4}
.ss-road{stroke:#8e979f;stroke-width:12}
.ss-road.is-red{stroke:#e5463c}
.ss-map-t{fill:#2a1a10;font-family:Figtree,system-ui;font-weight:900}
.ss-place.is-hl .ss-sym{filter:drop-shadow(0 0 5px #ffd23f)}
.ss-place.sc-counted .ss-sym{filter:drop-shadow(0 0 4px rgba(59,179,106,.95))}
.ss-key-h{fill:var(--gold);font-family:Bungee,Figtree,system-ui}
.ss-keyrow-bg{fill:#fff6ea;stroke:#d8c7b0;stroke-width:2}
.ss-key-t{fill:#2a1a10;font-family:Figtree,system-ui;font-weight:800}
.ss-keyrow.sc-counted .ss-keyrow-bg{stroke:var(--good);stroke-width:4}
/* the compass rose */
.ss-compass-bg{fill:#fff6ea;stroke:#a8733f;stroke-width:3}
.ss-north{fill:#e5463c}
.ss-arm{fill:#8e979f}
.ss-dir-c{fill:#2a1a10}
.ss-dir-t{fill:#fff6ea;font-family:Bungee,Figtree,system-ui}
.ss-dir.sc-counted .ss-dir-c{fill:#1f7a43}
.ss-badge{fill:#fff6ea;stroke:#a8733f;stroke-width:3}.ss-badge.is-north{stroke:#e5463c}
.ss-badge-t{fill:#2a1a10;font-family:Bungee,Figtree,system-ui}
/* views from above and the side */
.vw-wood{fill:#a8733f}.vw-plate{fill:#fff6ea;stroke:#d8c7b0;stroke-width:2}.vw-blue{fill:#5aa7ff}.vw-blue2{fill:#2f6fd0}.vw-white{fill:#fff6ea}.vw-purple{fill:#b58cff}
.vw-glass{fill:#cfeefe}.vw-dark{fill:#120c0a}.vw-red{fill:#e5463c}.vw-orange{fill:#ffb02e}.vw-gray{fill:#9aa3ad}.vw-water{fill:#5aa7ff}
.vw-line{fill:none;stroke:#2a1a10;stroke-width:2.5;stroke-linecap:round}.vw-wave{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round}
.vw-green{fill:#3f9a55}.vw-green2{fill:#6fdc8c}
/* a shelf and a table */
.ss-shelf{fill:#a8733f}
.ss-tabletop{fill:#8a5a2c;stroke:#c9935a;stroke-width:3}
/* nested places */
.ss-lvl-r{stroke:#2a1a10;stroke-width:2}
.ss-lvl-earth .ss-lvl-r{fill:#2f6fd0}.ss-lvl-continent .ss-lvl-r{fill:#3f9a55}.ss-lvl-country .ss-lvl-r{fill:#d9a26b}
.ss-lvl-state .ss-lvl-r{fill:#b58cff}.ss-lvl-town .ss-lvl-r{fill:#ffd27a}.ss-lvl-home .ss-lvl-r{fill:#fff6ea}
.ss-lvl-t{fill:#120c0a;font-family:Figtree,system-ui;font-weight:900}
.ss-lvl-earth .ss-lvl-t{fill:#fff}
.ss-lvl.is-hl>.ss-lvl-r{stroke:#ffd23f;stroke-width:5}
.ss-lvl.sc-counted>.ss-lvl-r{stroke:#1f7a43;stroke-width:4}
/* the world map */
.ss-ocean{fill:#2f6fd0}
.ss-ocean-t{fill:#cfeefe;font-family:Figtree,system-ui;font-weight:800;font-style:italic}
.ss-cont-p{fill:#6fdc8c;stroke:#2a6e3c;stroke-width:1.5;stroke-linejoin:round}
.ss-cont:nth-of-type(odd) .ss-cont-p{fill:#9fe0a5}
.ss-cont-t{fill:#0e2a14;font-family:Figtree,system-ui;font-weight:900}
.ss-cont.is-hl .ss-cont-p{fill:#ffd23f}
.ss-cont.sc-counted .ss-cont-p{stroke:#fff;stroke-width:2.5}
.ss-usa-p{fill:#d9a26b;stroke:#6b4220;stroke-width:1.5}
.ss-usa-tag rect{fill:#fff6ea}.ss-usa-tag .sc-tag-t{fill:#2a1a10}
/* timelines and people */
.ss-tl-line{fill:none;stroke:var(--gold);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ss-tl-bg{fill:#3a261c;stroke:var(--line);stroke-width:2}
.ss-tl-t{fill:var(--ink);font-family:Figtree,system-ui;font-weight:800}
.ss-tl-dot{fill:var(--gold)}
.ss-tlcard.is-hl .ss-tl-bg{stroke:var(--gold);stroke-width:4}
.ss-tlcard.is-blank .ss-tl-bg{stroke:var(--gold);stroke-dasharray:6 5}
.ss-tlcard.sc-counted .ss-tl-bg{stroke:var(--good);stroke-width:4}
.ss-floor{stroke:var(--line);stroke-width:3;stroke-linecap:round}
/* an old photo */
.ss-photo-frame{fill:#f1ede4;stroke:#cfc6b3;stroke-width:2}
.ss-photo-in{fill:#cfeefe}
.ss-photo.is-old .ss-photo-in{fill:#bdbdbd}
.ss-photo.is-old .ss-photo-art,.ss-photo.is-old .ss-photo-in{filter:grayscale(1)}
.ss-photo.sc-counted .ss-photo-frame{stroke:var(--good);stroke-width:4}
/* the U.S. flag */
.ss-stripe.is-red .ss-stripe-r{fill:#b22234}.ss-stripe.is-white .ss-stripe-r{fill:#ffffff}
.ss-canton-r{fill:#3c3b6e}
.ss-pole{fill:#9aa3ad}
.ss-stripe.is-hl .ss-stripe-r,.ss-canton.is-hl .ss-canton-r{stroke:#ffd23f;stroke-width:2}
.ss-stripe.sc-counted .ss-stripe-r{opacity:.72}
/* savings jar and coin choices */
.ss-jar{fill:rgba(207,238,254,.18);stroke:#9fd5ef;stroke-width:3}
.ss-jar-lid{fill:#a8733f}
.ss-coin-c{fill:#c98f5f;stroke:#8a5a36;stroke-width:2}
.ss-coin-t{fill:#2a1206;font-family:Figtree,system-ui;font-weight:900}
.ss-coin.sc-counted .ss-coin-c{stroke:var(--good);stroke-width:4}
.ss-pcoin{fill:#d7dde3;stroke:#8e979f;stroke-width:2}.ss-pcoin.is-copper{fill:#c98f5f;stroke:#8a5a36}
.ss-pcoin-in{fill:none;stroke:rgba(0,0,0,.18);stroke-width:1.5}
.by-bytechip b{font-size:22px;line-height:1.2}
