/* Wallpaper is part of every edition. Keep cards opaque and text readable. */
body[data-site-theme="default"]{--wallpaper:url('/assets/themes/original/background.webp');--wallpaper-base:#060a24;--wallpaper-shade:#060a2438}
body[data-site-theme="under-construction"]{--wallpaper:url('/assets/themes/construction/background.webp');--wallpaper-base:#13191e;--wallpaper-shade:#13191e38}
body[data-site-theme="election-2026"]{--wallpaper:url('/assets/themes/election/background.webp');--wallpaper-base:#071b16;--wallpaper-shade:#071b1638}
body[data-site-theme="halloween-construction-2026"]{--wallpaper:url('/assets/themes/halloween/background.webp');--wallpaper-base:#100d20;--wallpaper-shade:#100d2010}
body[data-site-theme="election-runoff-2026"]{--wallpaper:url('/assets/themes/arena/background.webp');--wallpaper-base:#10131e;--wallpaper-shade:#10131e38}
body[data-site-theme]{
  background-color:var(--wallpaper-base);
  background-image:linear-gradient(var(--wallpaper-shade),transparent 55%,var(--wallpaper-base)),var(--wallpaper);
  background-position:center top;
  background-size:100% max(1024px,66.667vw),max(100%,1536px) auto;
  background-repeat:no-repeat;
}
body[data-site-theme] .page-shell{background:transparent}
body[data-site-theme="halloween-construction-2026"]{background-image:linear-gradient(#100d2010,#100d2000 700px,#100d20 1100px),var(--wallpaper);background-size:auto,100% auto}
/* Runoff: both team sides dimmed equally so neither color dominates and the copy stays readable. */
body[data-site-theme="election-runoff-2026"]{background-image:linear-gradient(#10131ec7,#10131ea8 45%,#10131e 92%),var(--wallpaper);background-size:100% max(1024px,66.667vw),max(100%,1536px) auto}
@media(max-width:800px){body[data-site-theme]{background-size:100% 1000px,auto 1000px}}
