/* Light theme — for bright classrooms / weak projectors. Loaded after deck.css by light/index.html. */
:root{--snow:#0d1b2a;--muted:#55687c;--line:rgba(13,27,42,.14);color-scheme:light;background:#dfe6ee}
html,body{background:#dfe6ee}
#stage{background:radial-gradient(1100px 650px at 80% 0%,#e3eefb 0%,transparent 60%),radial-gradient(900px 600px at 0% 100%,#e6f5ef 0%,transparent 60%),#f6f8fb;color:#0d1b2a;
  --accent:#0d9f6e;--glow:rgba(13,159,110,.22)}
#stage[data-theme=ice]{--accent:#1b63c6;--glow:rgba(27,99,198,.2)}
#stage[data-theme=amber]{--accent:#b86e00;--glow:rgba(184,110,0,.2)}
#stage[data-theme=red]{--accent:#d0363c;--glow:rgba(208,54,60,.2)}
#stage[data-theme=blue]{--accent:#3557c9;--glow:rgba(53,87,201,.2)}
#stage[data-theme=wood]{--accent:#a35a1c;--glow:rgba(163,90,28,.2)}
.sky .stars{display:none}
.sky .aur{opacity:.14}
.sky .aur.two{opacity:.1}

/* chrome */
.topbar{background:linear-gradient(180deg,rgba(246,248,251,.92),rgba(246,248,251,0))}
.deck-footer{background:linear-gradient(0deg,rgba(246,248,251,.94),rgba(246,248,251,0))}
.chapters,.icon-button,.pill,.nav-button{background:rgba(255,255,255,.75)}
.chapters button.active,.nav-button.next{color:#fff}
.counter strong{color:#0d1b2a}
.progress-track button{background:rgba(13,27,42,.1)}
.brand,.eyebrow strong{color:#0d1b2a}
.chip,.badge{color:#fff}

/* text colours that were tuned for dark */
.lead,.gov-type p,.calc-q,.mini-points li,.sauna-stat p,.sum-card p,.pop-list li,.why li,.event-card p,.link-note p,.word-card p,.r-card p,.r-card blockquote,.callout p{color:#22364b}
.lead b,.lead strong{color:#0d1b2a}
.fact small,.person small,.big-stat small,.pop-big small,.r-card small,.source,.quiz-card .tap{color:#55687c}

/* cards */
.fact,.person,.pop-row,.gov-type,.why,.event-card,.agenda-list li,.chart-card,.r-card,.calc,.word-card,.chain li,.sum-card,.quiz-card,.timeline li,.flag-note,.trump-chip{
  background:rgba(255,255,255,.9);border-color:rgba(13,27,42,.1);box-shadow:0 10px 30px rgba(13,27,42,.08)}
.l-full .fact{background:rgba(255,255,255,.88)}
.agenda-list li.main{background:linear-gradient(90deg,rgba(184,110,0,.12),rgba(255,255,255,.92))}
.thumb-icon{background:linear-gradient(135deg,rgba(13,159,110,.16),rgba(27,99,198,.1));color:#0d9f6e}
.big-stat{background:linear-gradient(135deg,rgba(184,110,0,.14),rgba(255,255,255,.92));border-color:rgba(184,110,0,.35)}
.big-stat>span{color:#b86e00}
.callout{background:rgba(208,54,60,.08);border-color:rgba(208,54,60,.35)}
.callout-no,.t-date,.hot{color:#d0363c!important}
.define{background:rgba(184,110,0,.08);border-color:rgba(184,110,0,.45)}
.define span{color:#b86e00}
.link-note{background:rgba(184,110,0,.08);border-color:rgba(184,110,0,.4)}
.link-note span{color:#b86e00}
.r-card.ok{background:linear-gradient(90deg,rgba(13,159,110,.12),rgba(255,255,255,.92));border-color:rgba(13,159,110,.4)}
.r-card.ok .who{color:#0d9f6e}
.r-card .big-check{background:#0d9f6e;color:#fff}
.quiz-card.open{background:linear-gradient(160deg,rgba(13,159,110,.12),#fff);border-color:#0d9f6e}
.quiz-card .answer{color:#0d9f6e}
.eight li{background:rgba(208,54,60,.1);border-color:rgba(208,54,60,.35)}
.eight li.me{background:#d0363c;color:#fff}
.calc-buttons button{background:#fff}
.calc-buttons button.on{background:#b86e00;color:#fff;border-color:#b86e00}
.calc-price{color:#0d1b2a}.calc-price.up{color:#d0363c}
.calc-meter{background:rgba(13,27,42,.08)}
.chain li+li::before{color:#b86e00}
.pop-list .happy{color:#b86e00}
.export-table .up{color:#0d9f6e}.export-table .down{color:#d0363c}
.export-table tr.us td{background:rgba(208,54,60,.08)}
.export-table tr.us .rank,.export-table tr.us .country{color:#d0363c}
.export-table .bar{background:linear-gradient(90deg,#7aa7dc,#1b63c6)}
.tag{background:rgba(255,255,255,.88);color:#0d1b2a}
.vis.tile figcaption{background:linear-gradient(0deg,rgba(255,255,255,.95),rgba(255,255,255,0))}
.vis.tile figcaption span{color:#22364b}
.vis.panel,.vis.tile{box-shadow:0 20px 50px rgba(13,27,42,.18)}
.closing,.sum-card h3{color:#0d1b2a}

/* full-bleed photo slides: light veil on the text side */
.slide.l-full::before,.slide.l-cover::before{
  background:linear-gradient(90deg,rgba(246,248,251,.96) 0%,rgba(246,248,251,.9) 32%,rgba(246,248,251,.45) 52%,rgba(246,248,251,0) 70%),
             linear-gradient(0deg,rgba(246,248,251,.8) 0%,transparent 22%),linear-gradient(180deg,rgba(246,248,251,.75) 0%,transparent 20%)}
.cover-title{text-shadow:none}
.cover-tags span,.ghost-button{background:rgba(255,255,255,.75);border-color:rgba(13,27,42,.2)}
.vis[data-slot] .credit{color:rgba(13,27,42,.75);text-shadow:0 0 4px #fff}

/* maps */
.map .grat{stroke:rgba(27,99,198,.12)}
.map .land{fill:#d5dee8;stroke:#f6f8fb}
.map .t8{fill:#e7c9cb}
.map .us{fill:#e8686d}.map .dk{fill:#9fb3c8}
.map text{fill:#22364b;stroke:#f6f8fb}
.map text.big{fill:#fff}
.map text.sea{fill:rgba(27,99,198,.7)}
.map .pin text{fill:#0d1b2a}
.map .pin .dot{fill:#0d1b2a;stroke:#fff}
.map .pin .pulse{stroke:#0d1b2a}
.map .pin.capital .dot{fill:#b86e00}

/* dialogs / misc */
.dlg{background:#fff;color:#0d1b2a}
.ov-tile{background:#f6f8fb}
.ov-tile span{color:#0d9f6e}
.ov-tile.current{background:rgba(13,159,110,.12);border-color:#0d9f6e}
.src-list a{color:#1b4f9c}
#toast{background:#fff;color:#0d1b2a}
.vis{background:linear-gradient(135deg,#e2e9f1,#cfd9e4)}
.map .land.hl{fill:var(--accent)}
.map .land.us{fill:#e8686d}.map .land.dk{fill:#8ea4bb}
.map .land.t8{fill:#e7c9cb}
.slide.active .map .land.t8,.static .map .land.t8{fill:#e0565b}
