/* See Subtitles design tokens (direction A · Marquee) plus the bundled brand fonts. Generated from
   design/tokens/marquee.css by design/canvas/build.mjs; the @font-face block is prepended here so the app renders
   its type offline (Instrument Sans and Instrument Serif, SIL OFL 1.1, licences in web/fonts/). CJK text uses the
   system PingFang through the --cjk stack. Dark is the default; the light appearance follows the system, or
   <html data-appearance="light|dark"> forces one. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/InstrumentSans-Variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/InstrumentSans-Variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-Italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-Italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* See Subtitles · direction A · Marquee (chosen)
   The venue. Warm charcoal like a darkened hall, the yellow of a cinema subtitle as the one accent, and a red on-air light in the corner of the mark.
   Designed dark-first; the other appearance follows the system. Fonts: https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Noto+Sans+TC:wght@400;500;700&display=swap */
:root {
  --bg: #191816;
  --side: #131210;
  --surface: #21201d;
  --surface-2: #2b2926;
  --line: #35322d;
  --line-strong: #4a463f;
  --fg: #f1ece2;
  --fg-2: #aca496;
  --fg-3: #7d766c;
  --accent: #f5c518;
  --accent-fg: #1a1500;
  --accent-soft: rgba(245,197,24,.14);
  --accent-text: #f5c518;
  --ok: #3ec26a;
  --warn: #ff8f1f;
  --bad: #ff5a5a;
  --rec: #ff453a;
  --stage: #000000;
  --ui: "Instrument Sans", -apple-system, system-ui, "Noto Sans TC", "PingFang TC", "PingFang SC", sans-serif;
  --cjk: "Noto Sans TC", "PingFang TC", "PingFang SC", "Noto Sans CJK TC", sans-serif;
  --display: "Instrument Serif", "Noto Sans TC", serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-xl: 14px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --control-sm: 24px; --control: 28px; --control-lg: 32px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-appearance="dark"]) {
  --bg: #f5f2eb;
  --side: #ede9e0;
  --surface: #fffdf7;
  --surface-2: #f2eee5;
  --line: #e0dbcf;
  --line-strong: #c4bdae;
  --fg: #1c1a16;
  --fg-2: #6a6458;
  --fg-3: #948d80;
  --accent: #f5c518;
  --accent-fg: #1a1500;
  --accent-soft: rgba(245,197,24,.22);
  --accent-text: #8f6a00;
  --ok: #1f9a4a;
  --warn: #c76a00;
  --bad: #c62828;
  --rec: #d3232a;
  --stage: #000000;
    color-scheme: light;
  }
}
:root[data-appearance="light"] {
  --bg: #f5f2eb;
  --side: #ede9e0;
  --surface: #fffdf7;
  --surface-2: #f2eee5;
  --line: #e0dbcf;
  --line-strong: #c4bdae;
  --fg: #1c1a16;
  --fg-2: #6a6458;
  --fg-3: #948d80;
  --accent: #f5c518;
  --accent-fg: #1a1500;
  --accent-soft: rgba(245,197,24,.22);
  --accent-text: #8f6a00;
  --ok: #1f9a4a;
  --warn: #c76a00;
  --bad: #c62828;
  --rec: #d3232a;
  --stage: #000000;
  color-scheme: light;
}
