:root {
  color-scheme: dark;
  /* colour */
  --black: #000000;
  --bg: #000000;
  --surface: #121212;
  --raised: #1C1C1E;
  --hairline: #2A2A2C;
  --text-primary: #F4F6FA;
  --text-secondary: #97A2B8;
  --text-tertiary: #6B7690;
  --logo-ink: #FFFFFF;
  --bharat-blue: #004AAD;
  --route-blue: #1F7FD1;
  --accent: #5DE0E6;
  --on-accent: #04161C;
  --accent-soft: #0C3440;
  --marigold: #FFB627;
  --on-marigold: #2A1600;
  --laterite: #F0643C;
  --rani: #C2255C;
  --monsoon: #18B887;
  --monsoon-deep: #0E6B5C;
  --indigo: #24307A;
  --royal: #3A2A8F;
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;
  --info: #5DE0E6;
  --success-soft: #10291F;
  --warning-soft: #2E230C;
  --danger-soft: #2E1416;
  --glass-fill: rgba(28, 28, 30, 0.55);
  --glass-fill-strong: rgba(255, 255, 255, 0.10);
  --glass-fill-solid: #1C1C1E;
  --glass-selected: rgba(0, 0, 0, 0.36);
  --glass-ink-inactive: #B4B4B9;
  --ring-track: rgba(255, 255, 255, 0.08);
  --veil-fill: rgba(255, 255, 255, 0.04);
  --pass-surface: #121212;
  --pass-perforation: #2A2A2C;
  --qr-ink: #000000;
  --stamp-paper: #F2F2F0;
  --brand-white: #FFFFFF;
  --brand-black: #000000;
  --card-bg: #121212;
  --card-border: #2A2A2C;
  --chip-bg: #1C1C1E;
  --input-bg: #1C1C1E;
  --accent-secondary: #004AAD;
  --on-accent-secondary: #FFFFFF;
  --inactive-icon: #6B7690;
  --map-bg: #121212;
  --map-route: #2A2A2C;
  --star: #FFB627;
  --notif-critical: #F87171;
  --notif-critical-soft: #2E1416;
  --notif-critical-ink: #FECACA;
  --notif-opportunity: #34D399;
  --notif-opportunity-soft: #10291F;
  --notif-opportunity-ink: #BBF7D0;
  --notif-info: #FBBF24;
  --notif-info-soft: #2E230C;
  --notif-info-ink: #FDE68A;
  --glass-rim: rgba(255, 255, 255, 0);
  --glass-rim-low: rgba(255, 255, 255, 0);
  --glass-lens: rgba(255, 255, 255, 0.12);
  --glass-specular: rgba(255, 255, 255, 0.38);
  --bg-deep: #000000;
  --night-0: #000000;
  --route-mid: #1F7FD1;
  --veil-rim: rgba(255, 255, 255, 0.08);
  --veil-rim-strong: rgba(255, 255, 255, 0.12);
  --veil-scrim: rgba(4, 20, 40, 0.35);
  --glow-ice: rgba(93, 224, 230, 0.22);
  --glow-violet: rgba(31, 127, 209, 0.40);
  --dusk-indigo: #24307A;
  --dusk-navy: #142450;
  --sunrise-amber: #FFB627;
  --sunrise-orange: #F0643C;
  --sunrise-rose: #C2255C;
  --on-sunrise: #2A1600;
  --text-on-route: #FFFFFF;
  /* gradient */
  --grad-ground: linear-gradient(180deg, #000000 0%, #000000 100%);
  --grad-route: linear-gradient(135deg, #004AAD 0%, #1F7FD1 55%, #5DE0E6 100%);
  --grad-signal: linear-gradient(180deg, #7AE8EC 0%, #5DE0E6 50%, #3CC6D6 100%);
  --grad-progress: linear-gradient(90deg, #004AAD 0%, #5DE0E6 100%);
  --grad-sunrise: linear-gradient(170deg, #FFB627 0%, #F0643C 45%, #C2255C 100%);
  --grad-monsoon: linear-gradient(135deg, #0E6B5C 0%, #12957A 55%, #18B887 100%);
  --grad-dusk: linear-gradient(160deg, #24307A 0%, #142450 50%, #0B3B4A 100%);
  --grad-royal: linear-gradient(135deg, #1B1450 0%, #3A2A8F 50%, #004AAD 100%);
  --grad-reward: linear-gradient(135deg, #FFD36B 0%, #FFB627 55%, #F08A24 100%);
  --grad-text: linear-gradient(180deg, #FFFFFF 0%, #A9C7E8 100%);
  --grad-glass: linear-gradient(180deg, rgba(30, 30, 32, 0.62) 0%, rgba(18, 18, 20, 0.50) 100%);
  --grad-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 100%);
  --grad-glow: radial-gradient(closest-side, rgba(93, 224, 230, 0.30), rgba(93, 224, 230, 0));
  --grad-glow-route: radial-gradient(closest-side, rgba(31, 127, 209, 0.45), rgba(31, 127, 209, 0));
  --grad-shimmer: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0) 80%);
  --ring-score: conic-gradient(from 210deg, #5DE0E6, #18B887, #FFB627);
  --glow-ice-fill: radial-gradient(closest-side, rgba(93, 224, 230, 0.30), rgba(93, 224, 230, 0));
  --glow-violet-fill: radial-gradient(closest-side, rgba(31, 127, 209, 0.45), rgba(31, 127, 209, 0));
  /* spacing */
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-top: 60px;
  --space-nav-reserve: 92px;
  --space-footer-reserve: 100px;
  --space-perforation: 28px;
  /* radius */
  --radius-badge: 6px;
  --radius-chip: 8px;
  --radius-input: 12px;
  --radius-card: 14px;
  --radius-sheet: 16px;
  --radius-panel: 20px;
  --radius-glass-pill: 28px;
  --radius-glass-bar: 32px;
  --radius-card-xl: 24px;
  --radius-pass: 28px;
  --radius-full: 999px;
  /* shadow */
  --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.40);
  --shadow-action: 0 8px 24px rgba(93, 224, 230, 0.28);
  --shadow-glass-lens: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.18);
  /* backdrop */
  --glass-blur: blur(24px) saturate(180%);
  --glass-blur-lens: blur(6px) saturate(220%) brightness(1.15);
  --veil-blur: blur(16px);
  /* motion */
  --motion-draw: 1200ms;
  --motion-splash: 2000ms;
  --motion-loader: 1600ms;
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);
  /* type */
  --font-brand: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-hindi: "Noto Sans Devanagari", sans-serif;
}

/* Glass: blurred, never outlined */
.bb-glass { background: var(--grad-glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass); border: 0; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .bb-glass { background: var(--glass-fill-solid); } }
@media (prefers-reduced-transparency: reduce) { .bb-glass { background: var(--glass-fill-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.bb-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--glass-fill-strong); border: 0; color: var(--text-primary); }
.bb-search::placeholder, .bb-search input::placeholder { color: var(--text-secondary); }
.bb-text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
