:root {
  --bg: #07080a;
  --panel: rgba(13, 17, 22, 0.92);
  --panel-strong: rgba(18, 24, 32, 0.97);
  --line: rgba(131, 164, 194, 0.18);
  --text: #edf3f8;
  --muted: #9caab5;
  --hot: #ff6b2c;
  --ice: #79c2ff;
  --acid: #b5ff6d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

/* Shared appearance tokens. Media content and canvas artwork are not transformed. */
:root[data-theme="light"] {
  --bg: #edf1f5; --panel: #ffffff; --panel-strong: #f6f8fb;
  --line: #788b9e; --text: #182637; --muted: #485d70;
  --hot: #9f390f; --ice: #075b99; --acid: #356414;
  --shadow: 0 12px 36px rgba(22, 38, 56, .13);
  --theme-surface: #ffffff; --theme-surface-tint: #edf2f7;
  --theme-text: #182637; --theme-muted: #485d70; --theme-on-action: #ffffff;
  --theme-border: #788b9e;
  --theme-info-text: #075b99; --theme-info-fill: #075b99; --theme-info-soft: #e6f2fc; --theme-info-border: #337bb0;
  --theme-warm-text: #9f390f; --theme-warm-fill: #9f390f; --theme-warm-soft: #fff0e6; --theme-warm-border: #aa5933;
  --theme-warning-text: #775000; --theme-warning-fill: #775000; --theme-warning-soft: #fff4d6; --theme-warning-border: #9b7728;
  --theme-success-text: #21633e; --theme-success-fill: #21633e; --theme-success-soft: #e9f6ed; --theme-success-border: #40845c;
  --theme-danger-text: #a12b37; --theme-danger-fill: #a12b37; --theme-danger-soft: #fff0f1; --theme-danger-border: #b55762;
}
:root { color-scheme: dark; background: var(--bg); }
:root[data-theme="light"] { color-scheme: light; }
