:root {
  color-scheme: dark;
  --media-bg: #101113;
  --media-surface: #191b1f;
  --media-overlay: rgba(8, 10, 14, .76);
  --media-text: #f6f6f7;
  --media-muted: #b5b7bd;
  --media-accent: #f3f3f5;
  --media-on-accent: #151619;
  --media-card-radius: 6px;
  --media-motion-fast: 160ms ease;
  --media-motion-normal: 280ms ease;
  --media-shadow: 0 16px 36px #0008;
  --bg: #0f1115;
  --surface: #171a1f;
  --surface-2: #1e2229;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fa;
  --text-secondary: #9aa2ad;
  --accent: #2997ff;
  --success: #30d158;
  --danger: #ff453a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", sans-serif;
  --radius-button: 12px;
  --radius-input: 13px;
  --radius-poster: 14px;
  --radius-surface: 18px;
  --radius-library: 20px;
  --radius-modal: 24px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --shadow: 0 16px 48px #0004;
  --motion: 160ms ease;
  --sheet-duration: 260ms;
  --sheet-ease: cubic-bezier(.2,.75,.25,1);
  --sheet-backdrop: color-mix(in srgb, var(--bg) 58%, transparent);
  --sheet-backdrop-blur: blur(5px);
  --button-height: 44px;
  --input-height: 46px;
  --panel: var(--surface);
  --muted: var(--text-secondary);
}
:root[data-theme="light"] {
  color-scheme: light;
  --media-bg: #f3f2ef;
  --media-surface: #fff;
  --media-overlay: rgba(243, 242, 239, .85);
  --media-text: #191a1d;
  --media-muted: #575b65;
  --media-accent: #24262b;
  --media-on-accent: #fff;
  --media-shadow: 0 16px 36px #17203030;
  --bg: #f2f3f7;
  --surface: #ffffff;
  --surface-2: #e9ecf2;
  --border: rgba(0, 0, 0, 0.09);
  --text: #171a1f;
  --text-secondary: #626b78;
  --accent: #087bd9;
  --success: #208a40;
  --danger: #d82d26;
  --shadow: 0 16px 48px #17203016;
}
