/* Loaded only for readers using a dark color scheme. */
:root {
  color-scheme: dark;
  --paper: #181715;
  --ink: #f5f0e5;
  --muted: #bcb5a9;
  --rule: #4e4941;
  --accent: #ff7864;
  --link: #9bc9ff;
  --tint: #452b26;
  --panel: #292622;
  --gain: #84e0a7;
  --loss: #ff9c8e;
}

header { background: #100f0d; color: var(--ink); border-bottom-color: var(--rule); }
.hero h1 em,.leadmove span,.leadmove b { color: var(--accent); }
.archive-nav .edge { color: #a59e93; }
.rankrow:hover { background: #302d28; }
.chosen .rankrow { color: #ffe2d7; background: var(--tint); }
.entry:has(.steady) .number,.change.steady,.read p { color: var(--muted); }
.change.up { background: #203a2b; color: var(--gain); box-shadow: inset 0 0 0 1px #4a805c; }
.change.down { background: #442725; color: var(--loss); box-shadow: inset 0 0 0 1px #9b5953; }
.change.big.up { background: #80d49e; color: #102d1d; box-shadow: none; }
.change.big.down { background: #f49184; color: #401715; box-shadow: none; }
.change.debut { color: #c6ceff; box-shadow: inset 0 0 0 1px #7a86be; }

.analysis,.intro,.history { background: var(--panel); color: var(--ink); }
.business,.uncertainty,.history .uncertainty { color: #e2d9ca; }
.rankline { border-color: #635c52; }
.history .plot { color: #ffa270; }
.history .plot text { fill: #d6cabe; }
.history .gridline { stroke: #887d71; }
.prooftitle .verdict { color: #f3cd91; background: #3a3023; }
.evidence-note { color: #f3cd91; border-color: #c59b60; }

.tach { mix-blend-mode: normal; }
.state-ice-cold { color: #9de9ff; }
.state-cool { color: #9ec7ff; }
.state-mild,.state-unmeasured { color: #c2c1ba; }
.state-hot { color: #ffb066; }
.state-smoking-hot { color: #ff866e; }

::selection { color: #fff7e9; background: #754037; }

.theme-switch .moon { display: none; }
.theme-switch .sun { display: block; }

.riser-mark,.history .riser-note { color: #ffb483; }
