/* Draft B dark pages (the playground, Ben 2026-11-27): the page inverts. Loaded only by DraftB with theme="dark".
   :root:root:root outranks the light override in draft-b.css. Greys keep WCAG AA on #0b0b0b (white 60% ≈ 7.3:1). */
:root:root:root {
  --color-canvas: #0b0b0b;
  --color-surface: #161616;
  --color-ink: #f2f2f2;
  --color-ink-70: rgb(242 242 242 / 0.82);
  --color-ink-50: rgb(242 242 242 / 0.6);
  --color-ink-20: rgb(242 242 242 / 0.22);
  --color-line: rgb(255 255 255 / 0.12);
  color-scheme: dark;
}
body { background: var(--color-canvas); color: var(--color-ink); }
/* The nav stays dark over the whole page; its button is the light one. */
header.nav--clean.nav--dark .nav__actions > .btn { background: #f2f2f2 !important; color: #0b0b0b !important; }
html.menu-open .nav--clean { background: var(--color-canvas); color: var(--color-ink); }
/* Footer: light, the inverse of the page. */
:root footer.hc-foot { background: #fff; color: #0a0a0a; --color-on-dark: #0a0a0a; --color-on-dark-60: rgb(10 10 10 / 0.6); --color-line-dark: rgb(10 10 10 / 0.12); }
/* Drams objects in dark: graphite plastic, black wells, the same orange light. */
:root .dr.dr {
  --dr-tile: #151515;
  --dr-well: #070707;
  --dr-face: #1f1f1f;
  --dr-plastic: linear-gradient(160deg, #3a3a3a 0%, #262626 55%, #1c1c1c 100%);
  --dr-sphere: radial-gradient(circle at 34% 28%, #505050 0%, #333 38%, #1d1d1d 78%, #121212 100%);
  --dr-raise: 0 1px 1px rgb(0 0 0 / 0.5), 0 8px 18px -6px rgb(0 0 0 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.09);
  --dr-raise-hi: 0 1px 1px rgb(0 0 0 / 0.5), 0 14px 28px -10px rgb(0 0 0 / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.1);
  --dr-press: inset 0 2px 4px rgb(0 0 0 / 0.7), inset 0 -1px 0 rgb(255 255 255 / 0.06);
}
:root .dr .dr-knob { box-shadow: 0 14px 26px -10px rgb(0 0 0 / 0.8), 0 3px 6px rgb(0 0 0 / 0.4), inset 0 -2px 5px rgb(0 0 0 / 0.3), inset 0 1px 1px rgb(255 255 255 / 0.12); }
