/* Dazzle Digest theme for the Magazine Opus kit: obsidian night, champagne paper, one amber signal.
   Dark is the house default (set by the boot script before paint); light is champagne paper and ink.
   Amber (#c59b27) is only used as a fill or on dark surfaces; on paper it is 2.4:1, so never as text there. */
:root {
  --paper: #f8f6f0;
  --paper-2: #eeeadf;
  --card: #fcfbf7;
  --ink: #0b0c10;
  --ink-2: #262a33;
  --muted: #5d6070;
  --rule: #e1dccf;
  --rule-strong: #c4bca8;
  --brand: #2d4a7c;        /* night-sky blue, 8.1:1 on paper */
  --brand-2: #8a5a14;      /* lamp bronze, 5.5:1 on paper */
  --signal: #c59b27;       /* amber: the one dot */
  --signal-ink: #0b0c10;   /* 7.5:1 on amber */
  --inv-bg: #0b0c10;
  --inv-fg: #f8f6f0;
  --cover-bg: #0b0c10;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0c10; --paper-2: #13161e; --card: #1a1e29; --ink: #f1ede3; --ink-2: #d6d1c4; --muted: #9a9eab;
    --rule: #232734; --rule-strong: #353b4c; --brand: #a9bfe8; --brand-2: #e0b25a; --signal: #d4ab3c;
    --inv-bg: #1a1e29; --inv-fg: #f1ede3;
  }
}
:root[data-theme="dark"] {
  --paper: #0b0c10; --paper-2: #13161e; --card: #1a1e29; --ink: #f1ede3; --ink-2: #d6d1c4; --muted: #9a9eab;
  --rule: #232734; --rule-strong: #353b4c; --brand: #a9bfe8; --brand-2: #e0b25a; --signal: #d4ab3c;
  --inv-bg: #1a1e29; --inv-fg: #f1ede3;
}
html { background: var(--paper); }
.cover-mast { text-shadow: 0 2px 36px rgba(0,0,0,.45); }
/* A lamp glow behind the cover dot: the only decoration the brand allows itself. */
.cover-line::before { box-shadow: 0 0 .6em .12em color-mix(in srgb, var(--signal) 55%, transparent); }
.bar-brand span { color: var(--signal); opacity: 1; }
.bar.is-solid .bar-brand span { color: var(--brand-2); }
/* Frames that are manufacturer renderings or illustrations carry a visible label. */
.photo-place--render { color: var(--brand-2); }
.photo-place--render::after { content: " · rendering"; }
