: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: #94bdff;
  --media-on-accent: #142640;
  --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: #f5f8fe;
  --media-surface: #fff;
  --media-overlay: rgba(245, 248, 254, .9);
  --media-text: #1c2d49;
  --media-muted: #65758f;
  --media-accent: #2f6fdd;
  --media-on-accent: #fff;
  --media-shadow: 0 16px 36px #325f9e18;
  --bg: #f5f8fe;
  --surface: #ffffff;
  --surface-2: #edf4ff;
  --border: #e4ebf5;
  --text: #1c2d49;
  --text-secondary: #65758f;
  --accent: #2f6fdd;
  --success: #208a40;
  --danger: #d82d26;
  --shadow: 0 16px 48px #17203016;
}
