/* ReelMart design system. SINGLE :root for public UI, legal and admin.
   Aliases temporarily support as-yet-unmigrated CSS; remove them in batch 5. */
:root {
  color-scheme: dark;
  /* Canonical palette. */
  --rm-color-bg: #0e1015;
  --rm-color-edge: #343b45;
  --rm-color-black: #000000;
  --rm-color-white: #ffffff;
  --rm-color-violet: #a86be9;
  --rm-color-surface: #171b22;
  --rm-color-raised: #1f252e;
  --rm-color-border: rgba(255,255,255,.09);
  --rm-color-overlay: rgba(14,16,21,.87);
  --rm-color-scrim: rgba(0,0,0,.86);
  --rm-color-scrim-soft: rgba(0,0,0,.34);
  --rm-color-text: #f5f6f8;
  --rm-color-secondary: #b2b8c2;
  --rm-color-gold: #ffc24c;
  --rm-color-on-gold: #201706;
  --rm-color-success: #39c998;
  --rm-color-danger: #ff6b75;
  --rm-color-warning: #f2b655;
  /* Type, spacing, corners, elevation. */
  --rm-font: 'Tajawal',system-ui,sans-serif;
  --rm-font-12: 12px;
  --rm-font-14: 14px;
  --rm-font-16: 16px;
  --rm-font-18: 18px;
  --rm-font-22: 22px;
  --rm-font-28: 28px;
  --rm-space-1: 4px;
  --rm-space-2: 8px;
  --rm-space-3: 12px;
  --rm-space-4: 16px;
  --rm-space-6: 24px;
  --rm-space-8: 32px;
  --rm-space-12: 48px;
  --rm-radius-1: 8px;
  --rm-radius-2: 12px;
  --rm-radius-3: 16px;
  --rm-radius-pill: 999px;
  --rm-shadow-float: 0 16px 48px rgba(0,0,0,.35);
  --rm-z-base: 0;
  --rm-z-raised: 10;
  --rm-z-sticky: 20;
  --rm-z-nav: 30;
  --rm-z-sheet: 40;
  --rm-z-dialog: 50;
  --rm-z-toast: 60;
  --rm-hit: 44px;
  --rm-duration: 180ms;
  --rm-ease: ease-out;
  --rm-safe-top: env(safe-area-inset-top,0px);
  --rm-safe-bottom: env(safe-area-inset-bottom,0px);
  --rm-safe-start: env(safe-area-inset-left,0px);
  --rm-safe-end: env(safe-area-inset-right,0px);
  --rm-top-h: calc(56px + var(--rm-safe-top));
  --rm-bottom-h: 64px;
  --tab-h: calc(64px + var(--rm-safe-bottom));
  --rm-content-max: 620px;
  --rm-video-max: 520px;
  --rm-desktop-nav: 204px;
  /* Alias bridge used by the as-yet-unmigrated selectors. */
  --bg: var(--rm-color-bg);
  --ink: var(--rm-color-bg);
  --ink2: var(--rm-color-surface);
  --rm-bg: var(--rm-color-bg);
  --rm-surface: var(--rm-color-surface);
  --rm-soft: var(--rm-color-raised);
  --rm-elevated: var(--rm-color-raised);
  --rm-panel: var(--rm-color-surface);
  --rm-sheet: var(--rm-color-raised);
  --rm-text: var(--rm-color-text);
  --rm-secondary: var(--rm-color-secondary);
  --mut: var(--rm-color-secondary);
  --muted: var(--rm-color-secondary);
  --rm-gold: var(--rm-color-gold);
  --gold: var(--rm-color-gold);
  --brand: var(--rm-color-gold);
  --operator-accent: var(--rm-color-gold);
  --rm42-gold: var(--rm-color-gold);
  --rm43-gold: var(--rm-color-gold);
  --rm19-accent: var(--rm-color-gold);
  --rm-fix16-gold: var(--rm-color-gold);
  --line: var(--rm-color-border);
  --edge: var(--rm-color-border);
  --rm-border: var(--rm-color-border);
  --rm-border-subtle: var(--rm-color-border);
  --rm43-line: var(--rm-color-border);
  --rm42-line: var(--rm-color-border);
  --rm42-sub: var(--rm-color-secondary);
  --rm43-sub: var(--rm-color-secondary);
  --rm19-muted: var(--rm-color-secondary);
  --ok: var(--rm-color-success);
  --bad: var(--rm-color-danger);
  --f-body: var(--rm-font);
  --f-disp: var(--rm-font);
  --safe-t: var(--rm-safe-top);
  --safe-b: var(--rm-safe-bottom);
  --operator-bg: var(--rm-color-bg);
  --operator-panel: var(--rm-color-surface);
  --operator-border: var(--rm-color-border);
  --panel: var(--rm-color-surface);
  --panel2: var(--rm-color-raised);
  --text: var(--rm-color-text);
  --green: var(--rm-color-success);
  /* Undecorated compatibility values retained to avoid breaking older selectors. */
  --blue: var(--rm-color-gold);
  --blue2: var(--rm-color-gold);
  --clay: var(--rm-color-danger);
  --cream: var(--rm-color-text);
  --glass: var(--rm-color-surface);
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease2: cubic-bezier(.7,0,.2,1);
  --rm-separator: rgb(38,38,38);
  --rm-space-5: 32px;
  --rm-rad-xs: 4px;
  --rm-rad-sm: 8px;
  --rm-rad-md: 12px;
  --rm-rad-lg: 16px;
  --rm-story-gradient: conic-gradient(from 40deg,#d818aa,#e84d65,#f6a63b,#ffca52,#bd1cb3,#d818aa);
  --rm-on-sheet: var(--rm-color-text);
  --rm-reels-nav: var(--tab-h,63px);
  --rm-desktop-space: 28px;
  --rm-panel-border: var(--rm-color-edge);
  --rm-chat-border: var(--rm-color-edge);
  --rm-deep: var(--rm-color-bg);
  --rm-mid: var(--rm-color-surface);
  --rm19-surface: var(--rm-color-surface);
  --rm19-panel: var(--rm-color-raised);
  --rm19-border: var(--rm-color-edge);
  --rm19-text: var(--rm-color-text);
  --soft: var(--rm-color-raised);
  --red: var(--rm-color-danger);
}
