/* Dirt page background (Dig It preview, December 3, 2026).
   Douglas liked the brown soil with pebbles and rocks under Ernie and the prairie dog, so that same painted soil
   (/assets/scene/dirt.webp, quilted from the ground strip so it repeats both ways without a seam) now carries on
   down the page in place of the pale grey reading bands. Each band paints its own ground (so it still covers anything
   behind it, like the home scope ride), lined up to the page by dirt.js so bands that touch share one continuous piece
   of ground. A light brown shade keeps cream text at normal contrast or better. */
:root{--dirt-shade:rgb(30 19 11 / .5);
  --dirt-ink:#F7F1E8;--dirt-ink-soft:#EFE6DA;--dirt-link:#A6DDF7;--dirt-accent:#FFE4C8;}
body .band--topsoil,.scope-head.has-cut{background:linear-gradient(var(--dirt-shade),var(--dirt-shade)),url(/assets/scene/dirt.webp) 0 var(--dirt-y,0px)/720px auto repeat #624C3A!important;}
body .band--topsoil{color:var(--dirt-ink);}
:is(.band--topsoil,.scope-head.has-cut){text-shadow:0 1px 2px rgb(20 12 6 / .55);}
/* Text that pages.css paints in the old dark ink: light over the dirt instead. Cards with their own fill keep their colours. */
.band--topsoil :is(.answer-block,.shot-cap,.shot-n,.shot-place,.band-lead,.ernie-photo figcaption){color:var(--dirt-ink-soft)!important;}
.band--topsoil .ernie-kicker{color:var(--dirt-accent)!important;}
.scope-head.has-cut :is(h2,p,.text-link){color:var(--dirt-ink)!important;}
/* Buttons and filled cards keep their own crisp lettering. */
:is(.band--topsoil,.scope-head.has-cut) :is(.pill,.btn,button,input,textarea,select,[class*="btn"],[class*="pill"],[class*="card"]),
:is(.band--topsoil,.scope-head.has-cut) :is(.pill,.btn,button,[class*="btn"],[class*="pill"],[class*="card"]) *{text-shadow:none;}
