/* ==========================================================================
   Rolex UK Inventory, Secondary Arbitrage & Haute Horlogerie Desk v5.0
   Bespoke Swiss Luxury Boutique Aesthetic (Geneva Green & Jubilee Gold)
   Featuring Magic UI Border Beam, Aceternity Card Spotlight & Viewport Simulator
   ========================================================================== */

:root {
  /* ─── Haute Horlogerie Luxury Color Palette (Default: Geneva Emerald & Jubilee Gold) ─── */
  --theme-name: 'geneva-emerald';
  --rolex-green-deep: #003e23;
  --rolex-green: #005a36;
  --rolex-green-light: #007a49;
  --rolex-green-glow: rgba(0, 90, 54, 0.4);
  
  --gold-primary: #c5a059;
  --gold-warm: #d4af37;
  --gold-light: #f5e7c4;
  --gold-dark: #7a5f24;
  --gold-glow: rgba(197, 160, 89, 0.28);
  --gold-shimmer: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);

  --bg-obsidian: #05080c;
  --bg-charcoal: #090e14;
  --bg-card: rgba(11, 17, 24, 0.88);
  --bg-card-hover: rgba(15, 23, 34, 0.96);
  --bg-glass-panel: rgba(255, 255, 255, 0.03);
  --bg-glass-sheet: rgba(255, 255, 255, 0.05);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(197, 160, 89, 0.35);
  --border-gold-bright: rgba(212, 175, 55, 0.7);
  --border-green: rgba(0, 90, 54, 0.45);

  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #8899ac;
  --text-gold: #e5c378;
  --text-champagne: #f7f1e1;

  --accent-emerald: #10b981;
  --accent-emerald-deep: #059669;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #9333ea;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-lux: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 90, 54, 0.15);
  --shadow-gold: 0 12px 32px -8px rgba(197, 160, 89, 0.22);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.65);
  
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Viewport frame constraints */
  --viewport-width: 100%;
}

/* ─── 6 LUXURY COLOR THEMES (HOLISTIC AMBIENT ENVIRONMENTS) ─────────── */

/* 1. Geneva Emerald & Jubilee Gold (Rolex Boutique Heritage) */
[data-theme="geneva-emerald"] {
  --rolex-green-deep: #003e23;
  --rolex-green: #005a36;
  --rolex-green-light: #007a49;
  --rolex-green-glow: rgba(0, 90, 54, 0.45);
  --gold-primary: #c5a059;
  --gold-warm: #d4af37;
  --gold-light: #f5e7c4;
  --gold-glow: rgba(197, 160, 89, 0.35);
  --bg-obsidian: #020e08;
  --bg-charcoal: #04180e;
  --bg-card: rgba(4, 28, 18, 0.90);
  --bg-card-hover: rgba(6, 38, 24, 0.98);
  --border-gold: rgba(197, 160, 89, 0.40);
  --border-green: rgba(0, 110, 60, 0.55);
  --text-gold: #e5c378;
  --accent-emerald: #10b981;
  --body-bg-gradient: radial-gradient(ellipse 90% 60% at 50% 0%, #032415 0%, #02140c 45%, #010906 100%);
  --aurora-blob-1: radial-gradient(circle, rgba(0, 110, 60, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-2: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-3: radial-gradient(circle, rgba(0, 168, 90, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  --ticker-bg: linear-gradient(90deg, #02120b 0%, #052c1a 50%, #02120b 100%);
  --switcher-bg: rgba(3, 20, 13, 0.92);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 90, 54, 0.22);
}

/* 2. Mayfair Midnight Obsidian & Platinum (London Private Vault) */
[data-theme="mayfair-midnight"] {
  --rolex-green-deep: #0f172a;
  --rolex-green: #1e293b;
  --rolex-green-light: #334155;
  --rolex-green-glow: rgba(56, 189, 248, 0.35);
  --gold-primary: #38bdf8;
  --gold-warm: #60a5fa;
  --gold-light: #e0f2fe;
  --gold-glow: rgba(56, 189, 248, 0.30);
  --bg-obsidian: #02050f;
  --bg-charcoal: #061026;
  --bg-card: rgba(8, 20, 48, 0.90);
  --bg-card-hover: rgba(12, 28, 66, 0.98);
  --border-gold: rgba(56, 189, 248, 0.40);
  --border-green: rgba(30, 58, 102, 0.65);
  --text-gold: #7dd3fc;
  --accent-emerald: #38bdf8;
  --body-bg-gradient: radial-gradient(ellipse 90% 60% at 50% 0%, #081a40 0%, #040e24 45%, #02050f 100%);
  --aurora-blob-1: radial-gradient(circle, rgba(37, 99, 235, 0.40) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-2: radial-gradient(circle, rgba(56, 189, 248, 0.30) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-3: radial-gradient(circle, rgba(99, 102, 241, 0.24) 0%, rgba(0, 0, 0, 0) 70%);
  --ticker-bg: linear-gradient(90deg, #030818 0%, #0c204e 50%, #030818 100%);
  --switcher-bg: rgba(4, 11, 28, 0.92);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.24);
}

/* 3. Platona Ice Blue & Ceramic Glacier (Exhibition Glacier & Titanium) */
[data-theme="platona-ice"] {
  --rolex-green-deep: #082f49;
  --rolex-green: #0369a1;
  --rolex-green-light: #0284c7;
  --rolex-green-glow: rgba(14, 165, 233, 0.40);
  --gold-primary: #06b6d4;
  --gold-warm: #22d3ee;
  --gold-light: #cffafe;
  --gold-glow: rgba(6, 182, 212, 0.35);
  --bg-obsidian: #010c17;
  --bg-charcoal: #041a2e;
  --bg-card: rgba(4, 28, 48, 0.90);
  --bg-card-hover: rgba(6, 40, 68, 0.98);
  --border-gold: rgba(6, 182, 212, 0.42);
  --border-green: rgba(3, 105, 161, 0.60);
  --text-gold: #67e8f9;
  --accent-emerald: #06b6d4;
  --body-bg-gradient: radial-gradient(ellipse 90% 60% at 50% 0%, #062f4c 0%, #03182b 45%, #010c17 100%);
  --aurora-blob-1: radial-gradient(circle, rgba(14, 165, 233, 0.44) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-2: radial-gradient(circle, rgba(6, 182, 212, 0.34) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-3: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
  --ticker-bg: linear-gradient(90deg, #010e1c 0%, #083457 50%, #010e1c 100%);
  --switcher-bg: rgba(3, 18, 32, 0.92);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(6, 182, 212, 0.26);
}

/* 4. Everose Olive & Royal Champagne (Presidential Day-Date) */
[data-theme="everose-olive"] {
  --rolex-green-deep: #1c1917;
  --rolex-green: #44403c;
  --rolex-green-light: #57534e;
  --rolex-green-glow: rgba(224, 122, 95, 0.40);
  --gold-primary: #d4a373;
  --gold-warm: #e07a5f;
  --gold-light: #faedcd;
  --gold-glow: rgba(212, 163, 115, 0.32);
  --bg-obsidian: #0d0405;
  --bg-charcoal: #1d0a0d;
  --bg-card: rgba(32, 14, 18, 0.92);
  --bg-card-hover: rgba(46, 20, 26, 0.98);
  --border-gold: rgba(212, 163, 115, 0.45);
  --border-green: rgba(163, 177, 138, 0.55);
  --text-gold: #e6b89c;
  --accent-emerald: #a3b18a;
  --body-bg-gradient: radial-gradient(ellipse 90% 60% at 50% 0%, #301317 0%, #1a0a0d 45%, #0d0405 100%);
  --aurora-blob-1: radial-gradient(circle, rgba(224, 122, 95, 0.40) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-2: radial-gradient(circle, rgba(212, 163, 115, 0.32) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-3: radial-gradient(circle, rgba(163, 177, 138, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
  --ticker-bg: linear-gradient(90deg, #120507 0%, #38151c 50%, #120507 100%);
  --switcher-bg: rgba(20, 7, 10, 0.92);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(224, 122, 95, 0.24);
}

/* 5. Stealth Ceramic Monolith (Ghost Daytona & Matte Carbon) */
[data-theme="ceramic-stealth"] {
  --rolex-green-deep: #18181b;
  --rolex-green: #27272a;
  --rolex-green-light: #3f3f46;
  --rolex-green-glow: rgba(255, 255, 255, 0.25);
  --gold-primary: #e2e8f0;
  --gold-warm: #f8fafc;
  --gold-light: #ffffff;
  --gold-glow: rgba(255, 255, 255, 0.25);
  --bg-obsidian: #050508;
  --bg-charcoal: #0f0f14;
  --bg-card: rgba(18, 18, 24, 0.94);
  --bg-card-hover: rgba(28, 28, 36, 0.98);
  --border-gold: rgba(226, 232, 240, 0.38);
  --border-green: rgba(100, 116, 139, 0.60);
  --text-gold: #f1f5f9;
  --accent-emerald: #38bdf8;
  --body-bg-gradient: radial-gradient(ellipse 90% 60% at 50% 0%, #1c1c24 0%, #0f0f14 45%, #050508 100%);
  --aurora-blob-1: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-2: radial-gradient(circle, rgba(148, 163, 184, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-3: radial-gradient(circle, rgba(226, 232, 240, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  --ticker-bg: linear-gradient(90deg, #07070a 0%, #1f1f2a 50%, #07070a 100%);
  --switcher-bg: rgba(10, 10, 14, 0.94);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.14);
}

/* 6. Santos Cognac & Royal Amber (Imperial Horology & Rare Amber) */
[data-theme="santos-amber"] {
  --rolex-green-deep: #2e1065;
  --rolex-green: #4c1d95;
  --rolex-green-light: #6d28d9;
  --rolex-green-glow: rgba(245, 158, 11, 0.40);
  --gold-primary: #f59e0b;
  --gold-warm: #fbbf24;
  --gold-light: #fef3c7;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --bg-obsidian: #0a0112;
  --bg-charcoal: #19052b;
  --bg-card: rgba(28, 10, 46, 0.92);
  --bg-card-hover: rgba(42, 16, 68, 0.98);
  --border-gold: rgba(245, 158, 11, 0.45);
  --border-green: rgba(168, 85, 247, 0.55);
  --text-gold: #fde68a;
  --accent-emerald: #f59e0b;
  --body-bg-gradient: radial-gradient(ellipse 90% 60% at 50% 0%, #320d4c 0%, #1a052a 45%, #0a0112 100%);
  --aurora-blob-1: radial-gradient(circle, rgba(245, 158, 11, 0.44) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-2: radial-gradient(circle, rgba(168, 85, 247, 0.34) 0%, rgba(0, 0, 0, 0) 70%);
  --aurora-blob-3: radial-gradient(circle, rgba(251, 191, 36, 0.26) 0%, rgba(0, 0, 0, 0) 70%);
  --ticker-bg: linear-gradient(90deg, #0c0216 0%, #360c55 50%, #0c0216 100%);
  --switcher-bg: rgba(18, 4, 30, 0.92);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  background-color: var(--bg-obsidian);
  background-image: var(--body-bg-gradient, radial-gradient(ellipse 90% 60% at 50% 0%, #032415 0%, #02140c 45%, #010906 100%));
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ─── Aurora Floating Ambient Background ──────────────────────────── */
.aurora-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.aurora-blob-1 {
  position: absolute;
  top: -10%; left: 10%;
  width: 60vw; height: 60vw;
  background: var(--aurora-blob-1, radial-gradient(circle, rgba(0, 90, 54, 0.18) 0%, rgba(0, 0, 0, 0) 70%));
  filter: blur(90px);
  animation: floatAurora1 24s ease-in-out infinite alternate;
  transition: background 0.4s ease;
}

.aurora-blob-2 {
  position: absolute;
  bottom: 0%; right: 10%;
  width: 55vw; height: 55vw;
  background: var(--aurora-blob-2, radial-gradient(circle, rgba(197, 160, 89, 0.13) 0%, rgba(0, 0, 0, 0) 70%));
  filter: blur(95px);
  animation: floatAurora2 30s ease-in-out infinite alternate;
  transition: background 0.4s ease;
}

.aurora-blob-3 {
  position: absolute;
  top: 35%; left: 40%;
  width: 45vw; height: 45vw;
  background: var(--aurora-blob-3, radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(0, 0, 0, 0) 70%));
  filter: blur(110px);
  animation: floatAurora3 22s ease-in-out infinite alternate;
  transition: background 0.4s ease;
}

@keyframes floatAurora1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.08); }
  100% { transform: translate(-4vw, 8vh) scale(0.95); }
}

@keyframes floatAurora2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, -6vh) scale(1.05); }
  100% { transform: translate(4vw, -4vh) scale(0.92); }
}

@keyframes floatAurora3 {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(4vw, 6vh) scale(1.1); }
}

/* ─── 1. TOP VIEWPORT DEVICE SWITCHER CONTROL BAR ─────────────────── */
.viewport-switcher-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  background: var(--switcher-bg, rgba(6, 9, 14, 0.88));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.viewport-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.viewport-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.viewport-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 700;
}

.viewport-btn-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: 99px;
  border: 1px solid var(--border-gold);
  gap: 2px;
}

.viewport-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.viewport-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.viewport-btn.active {
  background: linear-gradient(135deg, var(--rolex-green) 0%, var(--gold-primary) 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.viewport-btn .vp-icon {
  font-size: 13px;
}

.viewport-tools-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.viewport-hub-link {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-gold);
  transition: all 0.2s ease;
}

.viewport-hub-link:hover {
  background: rgba(197, 160, 89, 0.2);
  color: #ffffff;
}

/* ─── 2. LIVE ROLEX TICKER TAPE ───────────────────────────────────── */
.ticker-tape-container {
  position: relative;
  z-index: 10;
  background: var(--ticker-bg, linear-gradient(90deg, #05080c 0%, #09131a 50%, #05080c 100%));
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.ticker-tape-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerLoop 40s linear infinite;
  will-change: transform;
}

.ticker-tape-track:hover {
  animation-play-state: paused;
}

@keyframes tickerLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: #ffffff;
}

.ticker-item .t-ref {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 5px;
  border-radius: 4px;
}

.ticker-item .t-profit-pos {
  color: var(--accent-emerald);
  font-weight: 800;
}

.ticker-item .t-profit-neg {
  color: var(--accent-rose);
  font-weight: 800;
}

/* ─── 3. MAIN APPLICATION CONTAINER & VIEWPORT MODES ──────────────── */
.viewport-outer-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0 60px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-shell {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mode: Desktop Simulation (Default) */
.viewport-mode-desktop .app-shell {
  max-width: 1540px;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Mode: Tablet Simulation (768px - 834px) */
.viewport-mode-tablet .app-shell {
  max-width: 820px;
  background: #090e15;
  border: 10px solid #1a2332;
  border-radius: 36px;
  padding: 24px 20px 40px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  min-height: 90vh;
}

/* Mode: Mobile Simulation (390px iPhone Pro) */
.viewport-mode-mobile .app-shell {
  max-width: 410px;
  background: #080d14;
  border: 12px solid #161f2c;
  border-radius: 46px;
  padding: 20px 14px 40px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.12);
  min-height: 90vh;
}

/* ─── 4. TOP NAVBAR & BRANDING ────────────────────────────────────── */
.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(11, 17, 24, 0.9) 0%, rgba(6, 9, 14, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lux);
  margin-bottom: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  gap: 20px;
  flex-wrap: wrap;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: radial-gradient(circle at 35% 35%, #007a49 0%, #004d2e 60%, #002919 100%);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-gold), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.brand-titles h1 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 60%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--gold-light);
}

.brand-titles p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── 5. BUTTONS & CONTROLS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(140, 111, 50, 0.3) 100%);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.15);
}

.btn-gold:hover {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.35) 0%, rgba(140, 111, 50, 0.45) 100%);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.btn-primary, .btn-emerald {
  background: linear-gradient(135deg, var(--rolex-green) 0%, #007a49 100%);
  border: 1px solid rgba(0, 132, 78, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 90, 54, 0.3);
}

.btn-primary:hover, .btn-emerald:hover {
  background: linear-gradient(135deg, #007a49 0%, #00995c 100%);
  box-shadow: 0 6px 20px rgba(0, 132, 78, 0.45);
}

.btn-purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(126, 34, 206, 0.3) 100%);
  border: 1px solid rgba(147, 51, 234, 0.4);
  color: #e9d5ff;
}

.btn-purple:hover {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.35) 0%, rgba(126, 34, 206, 0.45) 100%);
  color: #ffffff;
}

.btn-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(8, 145, 178, 0.3) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #a5f3fc;
}

/* ─── 6. NAVIGATION MODE SWITCHER TABS ─────────────────────────────── */
.mode-switcher-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.mode-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: rgba(11, 17, 24, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mode-tab-btn:hover {
  color: #ffffff;
  background: rgba(15, 23, 34, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
}

.mode-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 90, 54, 0.4) 0%, rgba(197, 160, 89, 0.2) 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mode-tab-btn.radar-active {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* ─── 7. MACRO STATS STRIP ────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: rgba(11, 17, 24, 0.85);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-card.gold { border-color: var(--border-gold); }
.stat-card.emerald { border-color: var(--border-green); }
.stat-card.cyan { border-color: rgba(6, 182, 212, 0.3); }
.stat-card.purple { border-color: rgba(147, 51, 234, 0.3); }

.stat-card .label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.stat-card .value {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  color: #ffffff;
  margin: 4px 0 2px;
  line-height: 1.15;
}

.stat-card.gold .value { color: var(--gold-light); }
.stat-card.emerald .value { color: var(--accent-emerald); }
.stat-card.cyan .value { color: #a5f3fc; }
.stat-card.purple .value { color: #f3e8ff; }

.stat-card .subtext {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── 8. FILTER & CONTROLS DESK ───────────────────────────────────── */
.controls-desk {
  background: rgba(11, 17, 24, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lux);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.search-sort-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input-wrapper span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
  background: rgba(0, 0, 0, 0.6);
}

.sort-select-wrapper {
  min-width: 220px;
}

.sort-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #0a0e14;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-select:focus {
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

/* Quick Sort Row */
.quick-sort-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-sort-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.qs-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qs-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.qs-btn.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-emerald);
  color: #ffffff;
}

/* Filter Attribute Rows */
.filter-row-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-attribute-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-attr-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 110px;
  letter-spacing: 0.05em;
}

.chip-btn {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.chip-btn.active {
  background: linear-gradient(135deg, rgba(0, 90, 54, 0.5) 0%, rgba(0, 122, 73, 0.5) 100%);
  border-color: rgba(0, 132, 78, 0.7);
  color: #ffffff;
  font-weight: 700;
}

/* ─── 9. CATALOG GRID & WATCH CARDS ───────────────────────────────── */
.results-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 4px;
}

.results-count {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.verified-platforms-note {
  font-size: 11.5px;
  color: var(--text-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Watch Card Styling */
.watch-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.watch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lux);
  border-color: var(--border-gold);
}

/* S-Tier Magic UI Border Beam Card */
.watch-card.s-tier-card {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-charcoal) 100%);
}

.watch-card.s-tier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-shimmer);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

/* Watch Card Official Photo Spotlight Box */
.watch-card-image-box {
  position: relative;
  width: 100%;
  height: 230px;
  background: radial-gradient(circle at 50% 50%, var(--rolex-green-glow) 0%, var(--bg-charcoal) 75%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.watch-card-badge-row {
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.tier-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-s { background: linear-gradient(135deg, #b45309 0%, #d97706 100%); color: #fff; }
.tier-a { background: linear-gradient(135deg, #047857 0%, #10b981 100%); color: #fff; }
.tier-b { background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%); color: #fff; }
.tier-c { background: rgba(255, 255, 255, 0.1); color: #cbd5e1; }
.tier-d { background: rgba(244, 63, 94, 0.2); color: #fda4af; }

.grade-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

.watch-card-img {
  max-width: 82%;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.95));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.watch-card:hover .watch-card-img {
  transform: scale(1.06) translateY(-2px);
}

.watch-card-header {
  margin-bottom: 12px;
}

.watch-collection-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-gold);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.watch-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.watch-ref {
  font-family: monospace;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Multi-Platform Reselling Breakdown Strip */
.multi-platform-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 12px;
}

.platform-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.platform-pill .pl-name { color: var(--text-muted); }
.platform-pill .pl-price { font-family: var(--font-heading); font-weight: 700; color: #ffffff; }

/* Pricing Grid */
.watch-pricing-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.price-item .p-label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.price-item .p-val {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.price-item.market { text-align: right; }
.price-item.market .p-val { color: var(--gold-light); }

/* Spread Banner */
.spread-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 90, 54, 0.3) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.spread-banner.negative {
  background: rgba(244, 63, 94, 0.1);
  border-color: var(--accent-rose);
}

.spread-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-soft);
}

.spread-val-group {
  text-align: right;
}

.spread-profit {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-emerald);
}

.spread-pct {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-gold);
}

/* Metrics Bar */
.watch-metrics-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  margin-bottom: 14px;
  text-align: center;
}

.metric-col .m-val {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.metric-col .m-lbl {
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Footer Buttons */
.watch-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.watch-card-footer .btn {
  padding: 8px 10px;
  font-size: 12px;
}

/* ─── 10. FUTURE INVESTMENT RADAR VIEW ────────────────────────────── */
.radar-view-wrap {
  display: none;
}

.radar-view-wrap.active {
  display: block;
}

.radar-hero-panel {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 14, 26, 0.98) 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lux);
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.radar-card {
  background: rgba(11, 17, 24, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

/* ─── 11. MODAL & INSPECTION DRAWER ───────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: #090e15;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Configurator Grid inside Modal */
.configurator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .configurator-grid {
    grid-template-columns: 1fr;
  }
}

.swatch-group {
  margin-bottom: 14px;
}

.swatch-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.swatch-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.swatch-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swatch-btn.selected {
  background: linear-gradient(135deg, var(--rolex-green) 0%, #007a49 100%);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.config-preview-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.config-preview-img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.9));
  margin-bottom: 12px;
}

/* ─── 12. FLOATING LUXURY HAUTE HORLOGERIE PALETTE DOCK ───────────── */
.luxury-palette-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.palette-dock-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(10, 15, 22, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-gold);
  border-radius: 40px;
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.8), 0 0 18px var(--gold-glow);
}

.palette-dock-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 4px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-gold);
  border-right: 1px solid var(--border-glass);
}

.palette-swatch-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.palette-swatch-btn:hover {
  transform: scale(1.22);
}

.swatch-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.swatch-color {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  display: block;
}

.palette-swatch-btn.active .swatch-ring {
  border-color: #ffffff;
  box-shadow: 0 0 12px #ffffff, 0 0 20px var(--gold-glow);
}

.swatch-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(7, 10, 14, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.swatch-tooltip kbd {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-family: monospace;
  margin-left: 4px;
}

.palette-swatch-btn:hover .swatch-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ─── 13. PRICING & NET FEE TOGGLE BUTTONS ────────────────────────── */
.fee-mode-toggle-group {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}

.fee-mode-btn {
  padding: 6px 14px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fee-mode-btn.active {
  background: linear-gradient(135deg, var(--rolex-green-deep) 0%, var(--rolex-green) 100%);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.35);
}

/* ─── 14. FEE BREAKDOWN CARD IN INSPECTOR MODAL ───────────────────── */
.fee-breakdown-card {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
}

.fee-breakdown-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.fee-table th {
  text-align: left;
  padding: 6px 8px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.fee-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.fee-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.fee-table .net-payout-col {
  font-weight: 700;
  color: var(--accent-emerald);
  text-align: right;
}

/* ─── 15. RESPONSIVE ADAPTATIONS ──────────────────────────────────── */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .viewport-switcher-bar {
    padding: 8px 12px;
  }
  .app-shell {
    padding: 0 12px;
  }
  .top-navbar {
    padding: 16px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .mode-switcher-bar {
    grid-template-columns: 1fr 1fr;
  }
  .luxury-palette-dock {
    bottom: 12px;
    right: 50%;
    transform: translateX(50%);
  }
}



/* ==========================================================================
   ROLEX SUITE V7.0: LUXURY POLISH, 24H ALERTS & INVESTMENT RADAR STYLES
   ========================================================================== */

/* 1. Global Tabular Numerics & Text Rendering */
.p-val, .spread-profit, .spread-pct, .stat-card .value,
#radarInitialMSRP, #radarTerminalValue, #radarNetGain, #radarAnnualCAGR,
.fee-table td, .leaderboard-table td, .metric-col .m-val,
.r-stat-val, .m-delta-value, .rf-val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv01" 1;
}

/* 2. Global Sleek Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--border-gold) 0%, rgba(197, 160, 89, 0.4) 100%);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* 3. Ticker Tape Edge-Fade Gradient Mask */
.ticker-tape-container {
  mask-image: linear-gradient(to right, transparent 0%, black 48px, black calc(100% - 48px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 48px, black calc(100% - 48px), transparent 100%);
}

.ticker-item {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.ticker-item:hover {
  transform: translateY(-1px);
}

/* 4. Glassmorphic Modal Windows & Enter Animation */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: radial-gradient(circle at 50% 0%, rgba(18, 28, 42, 0.95) 0%, rgba(8, 12, 18, 0.98) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.92), 0 0 35px var(--gold-glow);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}

/* 5. Investment Radar Section & Calculator */
.radar-hero-panel {
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.12) 0%, rgba(11, 17, 26, 0.95) 60%),
              linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(6, 9, 14, 0.98) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.radar-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.radar-headline {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.radar-subhead {
  color: var(--text-soft);
  font-size: 14px;
  max-width: 860px;
  margin-top: 8px;
  line-height: 1.6;
}

.radar-calculator-box {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.calculator-header .calc-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.calc-icon {
  font-size: 24px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--accent-cyan);
  border-radius: 10px;
  padding: 6px 10px;
}

.calculator-header h3 {
  font-size: 16px;
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 800;
}

.calculator-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.calculator-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.control-group label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.projected-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card.gain {
  background: rgba(0, 96, 57, 0.3);
  border-color: var(--accent-emerald);
}

.metric-card.cagr {
  background: rgba(147, 51, 234, 0.25);
  border-color: var(--accent-purple);
}

.metric-card .m-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.metric-card .m-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  margin-top: 4px;
}

.metric-card .m-val.white { color: #fff; }
.metric-card .m-val.gold { color: var(--gold-light); }
.metric-card .m-val.emerald { color: var(--accent-emerald); }
.metric-card .m-val.purple { color: #e9d5ff; }

.metric-card .m-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Radar Filter Desk */
.radar-filter-desk {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 24px;
  backdrop-filter: blur(12px);
}

.radar-bucket-macro-banner {
  margin-top: 18px;
}

.macro-thesis-card {
  background: rgba(11, 17, 24, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.macro-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.macro-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.macro-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.macro-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.macro-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.1);
}

.macro-pill.gold { color: var(--gold-light); border-color: var(--border-gold); }
.macro-pill.cyan { color: var(--accent-cyan); border-color: var(--accent-cyan); }

.macro-summary {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 10px;
}

.macro-objective {
  font-size: 12.5px;
  color: var(--gold-light);
  background: rgba(0,0,0,0.3);
  padding: 8px 12px;
  border-radius: 6px;
}

/* Radar Cards Grid */
.radar-cards-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.radar-ai-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(11, 17, 24, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.radar-ai-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lux);
}

.radar-ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.horizon-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.horizon-badge.1y { background: rgba(16, 185, 129, 0.2); color: var(--accent-emerald); border: 1px solid var(--accent-emerald); }
.horizon-badge.3y { background: rgba(56, 189, 248, 0.2); color: var(--accent-cyan); border: 1px solid var(--accent-cyan); }
.horizon-badge.5y { background: rgba(168, 85, 247, 0.2); color: #d8b4fe; border: 1px solid var(--accent-purple); }
.horizon-badge.10y { background: rgba(197, 160, 89, 0.2); color: var(--gold-light); border: 1px solid var(--gold-primary); }

.efficiency-badge {
  font-size: 11px;
  color: var(--gold-light);
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-gold);
}

.radar-ai-watch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.radar-ai-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: radial-gradient(circle, rgba(0, 90, 54, 0.4) 0%, rgba(0,0,0,0.6) 80%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.radar-ai-thumb:hover {
  transform: scale(1.08);
}

.radar-coll-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-gold);
  letter-spacing: 0.05em;
}

.radar-watch-name {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  cursor: pointer;
}

.radar-watch-name:hover {
  color: var(--gold-light);
}

.radar-watch-ref {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.radar-financial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0,0,0,0.4);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.rf-col {
  display: flex;
  flex-direction: column;
}

.rf-label {
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.rf-val {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

.rf-val.pos { color: var(--accent-emerald); }
.rf-val.neg { color: var(--accent-rose); }
.rf-val.cagr { color: #d8b4fe; }

.radar-ai-thesis-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 14px;
}

.ai-thesis-row {
  font-size: 12px;
  line-height: 1.45;
}

.thesis-label {
  display: block;
  font-weight: 800;
  color: var(--gold-light);
  font-size: 11px;
  margin-bottom: 2px;
}

.thesis-val {
  color: var(--text-soft);
}

.thesis-val.pitch-text {
  color: #cbd5e1;
  font-style: italic;
}

.radar-ai-actions {
  display: flex;
  gap: 8px;
}

/* ─── 6. 24-HOUR VOLATILITY & PRICE MOVEMENT ALERTS STYLES ───────── */
.radar24h-container {
  margin-top: 10px;
  margin-bottom: 50px;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar24h-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.radar24h-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--accent-emerald), var(--accent-cyan), var(--gold-primary));
  opacity: 0.8;
}

.radar24h-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  color: var(--accent-emerald);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px var(--accent-emerald); }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-emerald); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px var(--accent-emerald); }
}

.radar-latency-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.radar24h-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

@media (max-width: 960px) {
  .radar24h-title-row {
    grid-template-columns: 1fr;
  }
}

.radar24h-heading {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.radar24h-subheading {
  font-size: 13.5px;
  color: var(--text-soft);
  max-width: 780px;
  line-height: 1.55;
}

.radar24h-quick-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.r-stat-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 175px;
}

.r-stat-box.green { border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.06); }
.r-stat-box.red { border-color: rgba(244, 63, 94, 0.4); background: rgba(244, 63, 94, 0.06); }
.r-stat-box.gold { border-color: rgba(197, 160, 89, 0.4); background: rgba(197, 160, 89, 0.06); }

.r-stat-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.r-stat-val {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.r-stat-box.green .r-stat-val { color: #34d399; }
.r-stat-box.red .r-stat-val { color: #fb7185; }
.r-stat-box.gold .r-stat-val { color: var(--gold-light); }

.r-stat-pct {
  font-size: 12px;
  font-weight: 600;
}

.r-stat-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-pulse-marquee {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.ai-marquee-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.ai-marquee-content {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-soft);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.ai-marquee-content::-webkit-scrollbar { display: none; }

.ai-pulse-item strong.pulse-tag {
  color: #ffffff;
  font-weight: 700;
}

.ai-pulse-sep {
  color: var(--gold-primary);
  opacity: 0.5;
}

.radar24h-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 18px;
}

.radar-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-headline {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 4px;
}

.radar-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.radar-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.radar-tab-btn.active {
  background: var(--rolex-green);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 0 14px var(--rolex-green-glow);
}

.radar-tab-btn.gainer-tab.active {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-emerald);
  color: #6ee7b7;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.radar-tab-btn.dip-tab.active {
  background: rgba(244, 63, 94, 0.22);
  border-color: var(--accent-rose);
  color: #fda4af;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.35);
}

.radar-tab-btn.alpha-tab.active {
  background: rgba(6, 182, 212, 0.22);
  border-color: var(--accent-cyan);
  color: #67e8f9;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.35);
}

.pill-count {
  padding: 1px 7px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-light);
}

.radar-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radar-sort-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.radar24h-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.mover-alert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(16px);
}

.mover-alert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lux);
  border-color: var(--border-gold-bright);
}

.mover-alert-card.card-gainer {
  border-left: 4px solid var(--accent-emerald);
}

.mover-alert-card.card-dip {
  border-left: 4px solid var(--accent-rose);
}

.mover-alert-card.card-alpha {
  border-left: 4px solid var(--accent-cyan);
}

.m-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.m-watch-thumb-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.m-watch-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.mover-alert-card:hover .m-watch-img {
  transform: scale(1.08);
}

.m-header-info {
  flex: 1;
  min-width: 0;
}

.m-ref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.m-ref-code {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-gold);
  letter-spacing: 0.04em;
}

.m-signal-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.m-signal-tag.breakout { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.m-signal-tag.dip { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.4); }
.m-signal-tag.alpha { background: rgba(6, 182, 212, 0.2); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.4); }

.m-watch-title {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-watch-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.m-delta-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.m-delta-item {
  display: flex;
  flex-direction: column;
}

.m-delta-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.m-delta-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-delta-value.pos { color: #34d399; }
.m-delta-value.neg { color: #fb7185; }

.m-sparkline-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 4px;
}

.m-sparkline-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.m-sparkline-bar.pos { background: linear-gradient(90deg, #059669, #34d399); }
.m-sparkline-bar.neg { background: linear-gradient(90deg, #e11d48, #fb7185); }

.m-advisory-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--gold-primary);
  border-radius: 0 6px 6px 0;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.45;
  margin-bottom: 14px;
}

.m-advisory-box strong {
  color: #ffffff;
}

.m-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.m-secondary-price {
  font-size: 11.5px;
  color: var(--text-muted);
}

.m-secondary-price strong {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 800;
}

.m-action-btn {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.m-action-btn.inspect {
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

.m-action-btn.inspect:hover {
  background: var(--gold-primary);
  color: #000000;
}

.alpha-alert-card {
  background: var(--bg-card);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.alpha-alert-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 28px -6px rgba(6, 182, 212, 0.25);
  transform: translateY(-3px);
}

.alpha-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.alpha-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #67e8f9;
}

.alpha-time-tag {
  font-size: 10.5px;
  color: var(--text-muted);
  font-family: monospace;
}

.alpha-headline {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 8px;
}

.alpha-body {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 12px;
}

.alpha-directive-pill {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: #a5f3fc;
  line-height: 1.4;
}


/* ==========================================================================
   ROLEX SUITE: MACRO LOUPE & ULTRA HIGH-RES WATCH ZOOM LIGHTBOX
   ========================================================================== */

.macro-loupe-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 6, 10, 0.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.macro-loupe-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.macro-loupe-modal {
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  background: radial-gradient(circle at 50% 10%, rgba(18, 30, 48, 0.95) 0%, rgba(5, 8, 14, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 45px var(--gold-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.macro-loupe-backdrop.open .macro-loupe-modal {
  transform: scale(1) translateY(0);
}

.macro-loupe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-gold);
  flex-wrap: wrap;
  gap: 12px;
}

.macro-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.macro-loupe-icon {
  font-size: 22px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 4px 8px;
}

.macro-watch-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.macro-watch-meta {
  font-size: 12px;
  color: var(--text-gold);
  font-family: monospace;
  margin-top: 2px;
}

.macro-controls-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.macro-zoom-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.macro-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.macro-zoom-btn.active {
  background: var(--rolex-green);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 0 10px var(--rolex-green-glow);
}

.macro-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-soft);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.macro-close-btn:hover {
  background: rgba(244, 63, 94, 0.3);
  border-color: var(--accent-rose);
  color: #fff;
  transform: rotate(90deg);
}

.macro-viewport-canvas {
  flex: 1;
  min-height: 480px;
  max-height: 65vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(0, 75, 45, 0.35) 0%, rgba(3, 5, 8, 0.95) 75%);
  cursor: crosshair;
}

.macro-watch-big-image {
  max-width: 88%;
  max-height: 58vh;
  object-fit: contain;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.95));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.macro-zoom-hint-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.macro-footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
}

.macro-spec-item {
  display: flex;
  flex-direction: column;
}

.macro-spec-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.macro-spec-val {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 2px;
}

.macro-spec-val.gold { color: var(--gold-light); }
.macro-spec-val.emerald { color: var(--accent-emerald); }

/* Inspection Modal Hero Image Hover Enlarge Badge */
.modal-photo-hover-wrapper {
  position: relative;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal-photo-hover-wrapper:hover {
  transform: scale(1.03);
  border-color: var(--border-gold-bright) !important;
  box-shadow: 0 0 25px var(--gold-glow);
}

.modal-photo-hover-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-photo-hover-wrapper:hover .modal-photo-hover-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
  background: var(--rolex-green);
  color: #fff;
  border-color: var(--gold-primary);
}


/* ==========================================================================
   HAUTE HORLOGERIE HERO MOTION GRAPHIC & 360 TURNTABLE SHOWCASE
   ========================================================================== */

.hero-motion-showcase {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(0, 55, 35, 0.45) 0%, rgba(5, 8, 14, 0.95) 75%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px var(--gold-glow);
  margin-bottom: 30px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

#horologyHeroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-motion-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.hero-text-block {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.hero-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.hero-motion-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hero-motion-title span {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, #c5a059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-motion-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.hero-motion-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-metric-pill {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
}

.hero-metric-pill .lbl {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.hero-metric-pill .val {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

.hero-metric-pill .val.gold { color: var(--gold-light); }
.hero-metric-pill .val.green { color: var(--accent-emerald); }

/* 3D Watch Pedestal */
.hero-stage-pedestal {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.stage-glow-disc {
  position: absolute;
  width: 240px;
  height: 60px;
  bottom: 20px;
  background: radial-gradient(ellipse at 50% 50%, var(--rolex-green-glow) 0%, rgba(197, 160, 89, 0.25) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(12px);
  animation: pedestalPulse 4s ease-in-out infinite alternate;
}

@keyframes pedestalPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1.0; }
}

.stage-watch-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.stage-watch-img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.95));
  animation: heroFloat 5s ease-in-out infinite alternate;
  user-select: none;
}

@keyframes heroFloat {
  0% { transform: translateY(0px) rotateY(-8deg) rotateX(4deg); }
  50% { transform: translateY(-10px) rotateY(0deg) rotateX(0deg); }
  100% { transform: translateY(0px) rotateY(8deg) rotateX(-4deg); }
}

.stage-glint-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  background-size: 250% 250%;
  animation: sapphireShimmer 6s infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
  border-radius: 50%;
}

@keyframes sapphireShimmer {
  0% { background-position: 150% 150%; opacity: 0; }
  25% { opacity: 0.8; }
  50% { background-position: -50% -50%; opacity: 0; }
  100% { background-position: -50% -50%; opacity: 0; }
}

.stage-tour-badge {
  position: absolute;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

/* Quick Grail Showcase Nav */
.hero-grail-carousel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.hero-grail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hero-grail-item:hover, .hero-grail-item.active {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.hero-grail-thumb {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8));
}

.hero-grail-text {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.hero-grail-text small {
  display: block;
  font-size: 10px;
  color: var(--accent-emerald);
}

/* 360 Optical Turntable in Macro Loupe */
.macro-mode-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.macro-mode-btn {
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.macro-mode-btn.active {
  background: var(--gold-primary);
  color: #000;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Chromalight Luminous Glow Filter */
.macro-watch-big-image.lume-active {
  filter: drop-shadow(0 0 25px #00d2ff) brightness(1.2) contrast(1.15) !important;
}

/* 360 Turntable Continuous Sweep Animation */
.macro-watch-big-image.turntable-360 {
  animation: turntable360 8s infinite linear;
}

@keyframes turntable360 {
  0% { transform: rotateY(0deg) scale(1.05); filter: drop-shadow(15px 25px 35px rgba(0, 0, 0, 0.9)); }
  25% { transform: rotateY(18deg) scale(1.1); filter: drop-shadow(25px 25px 45px rgba(0, 0, 0, 0.95)); }
  50% { transform: rotateY(0deg) scale(1.05); filter: drop-shadow(15px 25px 35px rgba(0, 0, 0, 0.9)); }
  75% { transform: rotateY(-18deg) scale(1.1); filter: drop-shadow(5px 25px 45px rgba(0, 0, 0, 0.95)); }
  100% { transform: rotateY(0deg) scale(1.05); filter: drop-shadow(15px 25px 35px rgba(0, 0, 0, 0.9)); }
}
