/* ==========================================================================
   DREAMVFIA Cyber-Skeuomorphic & Morphic Design System (3.0 Master Tokens)
   Extracted from Sets #02 (Vinyl Deck), #09 (EQ Sliders/Knobs), #24 (Dark Geek)
   ========================================================================== */

:root {
  /* Surface & Base Colors (Normalized Dark HSL) */
  --cs-bg-base: hsl(222, 28%, 5%);           /* #06090e base deck */
  --cs-surface-plate: hsl(220, 20%, 7%);       /* #0a0e14 chassis plate */
  --cs-surface-raised: hsl(220, 22%, 9.5%);    /* #0e141f extruded button */
  --cs-surface-recessed: hsl(222, 25%, 4%);    /* #05080c inset tray */
  --cs-surface-card: hsl(222, 24%, 8%);        /* #0b1018 rack unit */
  
  /* Precision Borders & Highlights */
  --cs-border-dark: rgba(255, 255, 255, 0.07);
  --cs-border-glow-cyan: rgba(0, 240, 255, 0.42);
  --cs-border-glow-red: rgba(235, 12, 45, 0.48);
  --cs-specular-top: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.01) 100%);
  --cs-specular-beveled: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.6) 100%);

  /* Dual-Light Model Shadows (02 + 24 Sets) */
  --cs-shadow-raised: 
    -3px -3px 8px rgba(255, 255, 255, 0.035),
     4px  5px 14px rgba(0, 0, 0, 0.88);

  --cs-shadow-raised-hover: 
    -4px -4px 12px rgba(255, 255, 255, 0.055),
     6px  8px 20px rgba(0, 0, 0, 0.95);

  --cs-shadow-inset: 
    inset  2.5px  2.5px  5px rgba(0, 0, 0, 0.92),
    inset -1.5px -1.5px  3px rgba(255, 255, 255, 0.03);

  --cs-shadow-pressed: 
    inset  2px  2px  4px rgba(0, 0, 0, 0.96),
    inset -1px -1px  2px rgba(255, 255, 255, 0.02);

  /* Cyber Glow Accents */
  --cs-glow-cyan: 0 0 14px rgba(0, 240, 255, 0.42), inset 0 0 6px rgba(0, 240, 255, 0.2);
  --cs-glow-red: 0 0 14px rgba(235, 12, 45, 0.5), inset 0 0 6px rgba(235, 12, 45, 0.2);
  --cs-glow-gold: 0 0 14px rgba(255, 190, 40, 0.45), inset 0 0 6px rgba(255, 190, 40, 0.18);

  /* Physics Springs */
  --cs-spring-snappy: cubic-bezier(0.34, 1.56, 0.64, 1);
  --cs-spring-tactile: cubic-bezier(0.2, 0.8, 0.2, 1);
  --cs-spring-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. CYBER SKEUOMORPHIC AUDIO DECK & PLAYER STYLING (DIMENSION LOCKED)
   ========================================================================== */

.hero-audio-widget {
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.65));
  box-sizing: border-box !important;
}

/* Desktop & Default Locked Geometry */
.hero-audio-widget .audio-widget-inner {
  position: relative;
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  background: linear-gradient(165deg, hsl(220, 22%, 9%) 0%, hsl(222, 26%, 6%) 100%) !important;
  border: 1px solid var(--cs-border-dark) !important;
  border-left: none !important;
  border-radius: 0 12px 12px 0 !important;
  box-shadow: 
    -2px -2px 6px rgba(255, 255, 255, 0.03),
     6px  8px 24px rgba(0, 0, 0, 0.85),
     inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  padding: 8px 12px !important;
  gap: 10px !important;
  /* Strictly lock layout transitions: only animate visual properties, never layout dimensions */
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

/* Metallic Texture Overlay on Deck */
.hero-audio-widget .audio-widget-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: 
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.008) 0, rgba(255, 255, 255, 0.008) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.85;
}

/* Toggle Grip Button (Left Tab) */
.hero-audio-widget #audio-widget-toggle {
  background: linear-gradient(180deg, hsl(220, 22%, 10%) 0%, hsl(222, 26%, 6.5%) 100%) !important;
  border: 1px solid var(--cs-border-dark) !important;
  border-right: none !important;
  border-radius: 10px 0 0 10px !important;
  box-shadow: 
    -4px 4px 14px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: var(--cyan) !important;
  transition: transform 0.25s var(--cs-spring-snappy), box-shadow 0.25s ease, background 0.25s ease !important;
}

.hero-audio-widget #audio-widget-toggle:hover {
  background: linear-gradient(180deg, hsl(220, 22%, 13%) 0%, hsl(222, 26%, 8%) 100%) !important;
  color: #fff !important;
  box-shadow: -4px 4px 18px rgba(0, 240, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.hero-audio-widget #audio-widget-toggle:active {
  transform: scale(0.96) translateX(1px);
}

/* Master Play/Pause Button (Set #02: Extruded Vinyl Disc Control) - Dimension Fixed */
.hero-audio-widget #audio-play-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  flex: 0 0 40px !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, hsl(220, 22%, 12%) 0%, hsl(222, 28%, 6%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.04),
     4px  5px 12px rgba(0, 0, 0, 0.9),
     inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
  color: #ff2a55 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  transition: box-shadow 0.22s ease, color 0.2s ease, border-color 0.2s ease !important;
}

/* Concentric Vinyl Texture Ring */
.hero-audio-widget #audio-play-btn::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
}

.hero-audio-widget #audio-play-btn:hover {
  box-shadow: 
    -4px -4px 12px rgba(255, 255, 255, 0.06),
     5px  7px 18px rgba(0, 0, 0, 0.95),
     0 0 14px rgba(255, 42, 85, 0.4) !important;
  color: #ff607d !important;
}

.hero-audio-widget #audio-play-btn:active {
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.95),
    inset -1px -1px 2px rgba(255, 255, 255, 0.03),
    0 0 8px rgba(255, 42, 85, 0.3) !important;
}

/* Tactile Push Buttons (Next & List Buttons - Set #09) */
.hero-audio-widget #audio-next-btn,
.hero-audio-widget #audio-list-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex: 0 0 28px !important;
  box-sizing: border-box !important;
  border-radius: 7px !important;
  background: linear-gradient(145deg, hsl(220, 20%, 10%) 0%, hsl(222, 24%, 6%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 
    -2px -2px 5px rgba(255, 255, 255, 0.03),
     3px  3px 8px rgba(0, 0, 0, 0.8),
     inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.hero-audio-widget #audio-next-btn:hover,
.hero-audio-widget #audio-list-btn:hover {
  color: #fff !important;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.05),
     4px  5px 12px rgba(0, 0, 0, 0.9) !important;
}

.hero-audio-widget #audio-next-btn:active,
.hero-audio-widget #audio-list-btn:active,
.hero-audio-widget #audio-list-btn.is-open {
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.92),
    inset -1px -1px 2px rgba(255, 255, 255, 0.02) !important;
  color: var(--cyan) !important;
}

/* Inset Acrylic LCD Marquee Screen (Set #09: Recessed Meter Window) */
.hero-audio-widget .audio-info-btn {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  background: hsl(222, 28%, 4.5%) !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.8) !important;
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.92),
    inset -1px -1px 2px rgba(255, 255, 255, 0.025),
    0 1px 0 rgba(255, 255, 255, 0.05) !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.hero-audio-widget .audio-info {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.hero-audio-widget .audio-info-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  line-height: 1.1 !important;
}

.hero-audio-widget .audio-track-marquee {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  height: 16px !important;
  line-height: 16px !important;
}

.hero-audio-widget .audio-info-btn:hover {
  border-color: rgba(0, 240, 255, 0.28) !important;
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.92),
    inset -1px -1px 2px rgba(255, 255, 255, 0.04),
    0 0 10px rgba(0, 240, 255, 0.15) !important;
}

/* Recessed Playlist Drawer Panel (Set #24 + #28) */
.hero-audio-widget .audio-playlist-panel {
  background: linear-gradient(170deg, hsl(222, 28%, 7.5%) 0%, hsl(224, 30%, 4.5%) 100%) !important;
  border: 1px solid var(--cs-border-dark) !important;
  border-radius: 12px !important;
  box-shadow: 
    -4px -4px 14px rgba(255, 255, 255, 0.025),
     8px 16px 36px rgba(0, 0, 0, 0.95),
     inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.hero-audio-widget .audio-playlist-item {
  border-radius: 6px !important;
  margin: 2px 6px !important;
  transition: all 0.2s var(--cs-spring-tactile) !important;
}

.hero-audio-widget .audio-playlist-item:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  transform: translateX(3px) !important;
}

.hero-audio-widget .audio-playlist-item.is-active {
  background: linear-gradient(90deg, rgba(235, 12, 45, 0.18) 0%, rgba(235, 12, 45, 0.04) 100%) !important;
  border-left: 3px solid #ff2a55 !important;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
}

/* ==========================================================================
   2. MOBILE AUDIO PLAYER DIMENSION LOCK (IMMUTABLE PLAY/PAUSE GEOMETRY)
   ========================================================================== */

@media (max-width: 900px) {
  .hero-audio-widget {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 12px !important;
    bottom: auto !important;
    z-index: 16 !important;
    transform: none !important;
    transform-origin: top left !important;
    flex-direction: row !important;
    filter: drop-shadow(6px 8px 18px rgba(0, 0, 0, 0.55));
  }

  .hero-audio-widget #audio-widget-toggle {
    width: 30px !important;
    height: 56px !important;
    min-width: 30px !important;
    min-height: 56px !important;
    max-width: 30px !important;
    max-height: 56px !important;
    border-radius: 0 8px 8px 0 !important;
    border: 1px solid rgba(255, 31, 61, 0.55) !important;
    border-left: none !important;
    margin-left: 0 !important;
    margin-right: -1px !important;
    background: rgba(5, 7, 11, 0.94) !important;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.45) !important;
    box-sizing: border-box !important;
  }

  .hero-audio-widget #toggle-chevron {
    transform: rotate(180deg) !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }

  .hero-audio-widget.collapsed #toggle-chevron {
    transform: rotate(0deg) !important;
  }

  /* Lock the Player Deck to exact strict pixel dimensions with full horizontal flex layout */
  .hero-audio-widget .audio-widget-inner {
    width: 326px !important;
    min-width: 326px !important;
    max-width: 326px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    border-radius: 0 8px 8px 0 !important;
    border-left: none !important;
    border-right: 1px solid var(--cs-border-dark) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 8px 10px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .hero-audio-widget.collapsed .audio-widget-inner {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    border-color: transparent !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
  }

  .hero-audio-widget #audio-play-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transform: none !important;
  }

  .hero-audio-widget .audio-info-btn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .hero-audio-widget .audio-info {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .hero-audio-widget .audio-info-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    margin-bottom: 2px !important;
  }

  .hero-audio-widget .audio-info-label {
    font-size: 8.5px !important;
    letter-spacing: 0.1em !important;
    color: #ff2a55 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 1 !important;
  }

  .hero-audio-widget .audio-track-index {
    font-size: 8.5px !important;
    color: var(--cyan) !important;
    font-family: monospace !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 4px !important;
  }

  .hero-audio-widget .audio-track-marquee {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    height: 16px !important;
    line-height: 16px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  .hero-audio-widget #audio-list-btn {
    display: flex !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    flex: 0 0 26px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transform: none !important;
  }

  .hero-audio-widget #audio-next-btn {
    display: flex !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    flex: 0 0 26px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transform: none !important;
  }

  .hero-audio-widget .audio-visualizer-bars {
    display: flex !important;
    align-items: flex-end !important;
    gap: 2px !important;
    height: 14px !important;
    flex: 0 0 auto !important;
    margin: 0 1px !important;
  }

  .hero-audio-widget .hero-stage-meter {
    display: none !important;
  }

  .hero-audio-widget .audio-playlist-panel {
    top: calc(100% + 8px) !important;
    bottom: auto !important;
    width: 326px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: min(50vh, 280px) !important;
  }

  .hero-audio-widget .audio-playlist-list {
    max-height: min(44vh, 240px) !important;
  }
}

@media (max-width: 365px) {
  .hero-audio-widget #audio-widget-toggle {
    width: 28px !important;
    height: 52px !important;
    min-width: 28px !important;
    min-height: 52px !important;
    max-width: 28px !important;
    max-height: 52px !important;
  }

  .hero-audio-widget .audio-widget-inner {
    width: calc(100vw - 30px) !important;
    min-width: 0 !important;
    max-width: 326px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 6px 7px !important;
    gap: 4px !important;
  }

  .hero-audio-widget #audio-play-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
  }

  .hero-audio-widget .audio-info-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 2px 5px !important;
  }

  .hero-audio-widget #audio-list-btn,
  .hero-audio-widget #audio-next-btn {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex: 0 0 22px !important;
  }

  .hero-audio-widget .audio-visualizer-bars {
    height: 12px !important;
    gap: 1.5px !important;
  }

  .hero-audio-widget .audio-playlist-panel {
    width: calc(100vw - 30px) !important;
  }
}

/* ==========================================================================
   3. TOPBAR & NAVIGATION REFINED RESPONSIVE CONSTRAINTS (ENGLISH & MOBILE)
   ========================================================================== */

/* Topbar & Stage Dock handled by DRV-4.0 Integrated HUD Pod in index.html */
.topbar-stage-dock {
  transition: all 0.22s var(--cs-spring-snappy);
}
.lang-toggle {
  transition: all 0.22s var(--cs-spring-snappy);
}

/* Mobile Hamburger Menu Toggle Button */
.menu-toggle {
  background: linear-gradient(145deg, hsl(220, 20%, 10%) 0%, hsl(222, 26%, 6%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  box-shadow: 
    -2px -2px 5px rgba(255, 255, 255, 0.03),
     3px  3px 8px rgba(0, 0, 0, 0.75),
     inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: all 0.22s var(--cs-spring-snappy) !important;
}

.menu-toggle:hover {
  transform: scale(1.05) !important;
}

.menu-toggle:active {
  transform: scale(0.95) !important;
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.92),
    inset -1px -1px 2px rgba(255, 255, 255, 0.02) !important;
}

.menu-toggle.has-morphicon span,
.menu-toggle.has-morphicon::before,
.menu-toggle.has-morphicon::after {
  display: none !important;
}

.menu-toggle.has-morphicon {
  padding: 6px !important;
}

/* Responsive constraints for Topbar on mobile (resolves English text overflow) */
@media (max-width: 900px) {
  .topbar {
    height: var(--header-h, 56px) !important;
    min-height: var(--header-h, 56px) !important;
  }

  .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(4px, 1.5vw, 8px) !important;
    padding: 0 var(--page-pad-x, 12px) !important;
    height: var(--header-h, 56px) !important;
    min-height: var(--header-h, 56px) !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .brand-lockup {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .brand-mark {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px !important;
    border-radius: 6px !important;
  }

  .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .brand-copy strong {
    font-size: clamp(10px, 2.7vw, 11.5px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: 0.02em !important;
  }

  .brand-copy .brand-sub-serial {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 8px !important;
    line-height: 1 !important;
  }

  .brand-copy .serial-text {
    display: none !important;
  }

  .nav-stage-chip {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    margin-left: auto !important;
  }

  .nav-stage-chip [data-nav-stage-mode] {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 9px !important;
    font-family: var(--font-control), "Space Grotesk", "JetBrains Mono", monospace !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    gap: 6px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(0, 243, 255, 0.4) !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
    color: #e8f2f8 !important;
    background: rgba(8, 12, 18, 0.95) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .lang-toggle {
    min-width: 36px !important;
    width: 36px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    font-family: "JetBrains Mono", "Space Grotesk", monospace !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid rgba(0, 243, 255, 0.45) !important;
    background: rgba(0, 243, 255, 0.08) !important;
    color: #00f3ff !important;
    box-sizing: border-box !important;
  }

  .menu-toggle {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 5px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 375px) {
  .nav {
    gap: 3px !important;
    padding: 0 8px !important;
  }

  .brand-mark {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    flex: 0 0 28px !important;
  }

  .brand-copy strong {
    font-size: 9.5px !important;
  }

  .nav-stage-chip [data-nav-stage-mode] {
    padding: 0 6px !important;
    font-size: 8px !important;
    gap: 4px !important;
  }

  .lang-toggle {
    min-width: 30px !important;
    width: 30px !important;
    height: 26px !important;
    font-size: 9.5px !important;
  }

  .menu-toggle {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 4px !important;
  }
}

/* ==========================================================================
   4. MORPHICONS SVG CONTAINER & SMOOTH RENDERING
   ========================================================================== */

.morph-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.morph-icon-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

/* Solid Fill Mode for Play/Pause in Master Audio Button */
.morph-icon-solid {
  fill: currentColor;
  stroke: none;
}

/* ==========================================================================
   6. GLOBAL SKEUOMORPHIC BUTTON SYSTEM (HARD-SURFACE TACTILE BUTTONS)
   ========================================================================== */

/* Universal Tactile Button Base */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-hud, inherit);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px !important;
  background: linear-gradient(160deg, hsl(220, 20%, 10%) 0%, hsl(222, 26%, 5.5%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #e2e8f0 !important;
  box-shadow: 
    -2px -2px 5px rgba(255, 255, 255, 0.025),
     3px  4px 10px rgba(0, 0, 0, 0.75),
     inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.22s var(--cs-spring-snappy), box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease !important;
  box-sizing: border-box !important;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1.5px) !important;
  border-color: rgba(0, 240, 255, 0.38) !important;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.04),
     4px  6px 14px rgba(0, 0, 0, 0.85),
     0 0 12px rgba(0, 240, 255, 0.22) !important;
  color: #ffffff !important;
}

.btn:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.92),
    inset -1px -1px 2px rgba(255, 255, 255, 0.02) !important;
}

/* Primary Mechanical Push Button (Red High-Glow Key) */
.btn.primary,
.hero-actions .btn:nth-child(1),
.cta-row .btn.primary {
  background: linear-gradient(180deg, hsl(356, 88%, 52%) 0%, hsl(356, 92%, 40%) 100%) !important;
  border: 1px solid rgba(255, 120, 135, 0.5) !important;
  border-bottom: 2px solid rgba(120, 0, 15, 0.9) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
  box-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset,
    0 4px 14px rgba(235, 12, 45, 0.38),
    0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.btn.primary:hover,
.hero-actions .btn:nth-child(1):hover,
.cta-row .btn.primary:hover {
  transform: translateY(-1.5px) !important;
  border-color: rgba(255, 160, 175, 0.7) !important;
  box-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 6px 20px rgba(235, 12, 45, 0.58),
    0 3px 6px rgba(0, 0, 0, 0.9) !important;
}

.btn.primary:active,
.hero-actions .btn:nth-child(1):active,
.cta-row .btn.primary:active {
  transform: translateY(1px) scale(0.98) !important;
  border-bottom-width: 1px !important;
  box-shadow: 
    inset 0 2px 5px rgba(0, 0, 0, 0.7),
    inset 0 0 10px rgba(120, 0, 15, 0.85) !important;
}

/* ==========================================================================
   7. RACKMOUNT SYSTEM CHASSIS UNITS (#systems .system-unit)
   ========================================================================== */

.systems-grid {
  display: grid !important;
  gap: 16px !important;
}

.system-unit,
.assistant-points .system-unit {
  position: relative !important;
  background: linear-gradient(165deg, hsl(222, 26%, 8.5%) 0%, hsl(224, 28%, 4.5%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 24px !important;
  box-shadow: 
    -2px -2px 6px rgba(255, 255, 255, 0.02),
     5px  6px 18px rgba(0, 0, 0, 0.8),
     inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: transform 0.28s var(--cs-spring-snappy), border-color 0.28s ease, box-shadow 0.28s ease !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Metallic Fine-Brushed Surface */
.system-unit::before,
.assistant-points .system-unit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: 
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.006) 0, rgba(255, 255, 255, 0.006) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.85;
}

/* Indicator Left Strip */
.system-unit::after,
.assistant-points .system-unit::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, rgba(235, 12, 45, 0.8) 0%, rgba(235, 12, 45, 0.2) 100%);
  box-shadow: 0 0 8px rgba(235, 12, 45, 0.4);
  transition: all 0.25s ease;
}

.system-unit:nth-child(even)::after {
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.8) 0%, rgba(0, 240, 255, 0.2) 100%);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.system-unit:hover,
.assistant-points .system-unit:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(235, 12, 45, 0.45) !important;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.03),
     6px  8px 24px rgba(0, 0, 0, 0.9),
     0 0 16px rgba(235, 12, 45, 0.25) !important;
}

.system-unit:nth-child(even):hover {
  border-color: rgba(0, 240, 255, 0.45) !important;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.03),
     6px  8px 24px rgba(0, 0, 0, 0.9),
     0 0 16px rgba(0, 240, 255, 0.25) !important;
}

/* System Unit Dot-Matrix Badge (.index) */
.system-unit .index {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 8px !important;
  font-family: var(--font-hud, monospace) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--red) !important;
  background: rgba(8, 12, 18, 0.9) !important;
  border: 1px solid rgba(235, 12, 45, 0.35) !important;
  border-radius: 4px !important;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 6px rgba(235, 12, 45, 0.2) !important;
  margin-bottom: 12px !important;
}

.system-unit:nth-child(even) .index {
  color: var(--cyan, #00f0ff) !important;
  border-color: rgba(0, 240, 255, 0.35) !important;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 240, 255, 0.2) !important;
}

/* Mini Sound/Signal Chart */
.system-unit .mini-chart i {
  background: rgba(235, 12, 45, 0.5) !important;
  border-radius: 1px !important;
  box-shadow: 0 0 4px rgba(235, 12, 45, 0.3) !important;
}

.system-unit:nth-child(even) .mini-chart i {
  background: rgba(0, 240, 255, 0.5) !important;
  box-shadow: 0 0 4px rgba(0, 240, 255, 0.3) !important;
}

/* ==========================================================================
   8. RSHIELD SECURITY SENTINEL & MATRIX PANELS
   ========================================================================== */

.rshield-card,
.rshield-matrix,
.rshield-hud {
  position: relative !important;
  background: linear-gradient(165deg, hsl(222, 26%, 8%) 0%, hsl(224, 28%, 4%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 
    -2px -2px 6px rgba(255, 255, 255, 0.02),
     6px  8px 24px rgba(0, 0, 0, 0.85),
     inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  padding: 24px !important;
  box-sizing: border-box !important;
}

/* CRT Screen Scanline Overlay on RSHIELD */
.rshield-card::before,
.rshield-matrix::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(0, 240, 255, 0.015) 0, rgba(0, 240, 255, 0.015) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
  opacity: 0.8;
}

/* ==========================================================================
   9. COMPANY ENTITY QUADRANT HUD CELL ENHANCEMENTS (#company)
   ========================================================================== */

.hud-company-table {
  background: hsl(222, 28%, 5%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 
    -2px -2px 6px rgba(255, 255, 255, 0.02),
     6px  8px 24px rgba(0, 0, 0, 0.85),
     inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  overflow: hidden !important;
}

.hud-cell {
  background: linear-gradient(165deg, hsl(220, 22%, 8.5%) 0%, hsl(222, 26%, 5.5%) 100%) !important;
  transition: background 0.25s ease, border-color 0.25s ease !important;
}

.hud-cell:hover {
  background: linear-gradient(165deg, hsl(220, 22%, 10%) 0%, hsl(222, 26%, 6.5%) 100%) !important;
}

/* ==========================================================================
   10. DATA PROBE RESEARCH & SEARCH ENTRY CARDS (.seo-growth-card)
   ========================================================================== */

.seo-growth-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: linear-gradient(165deg, hsl(222, 24%, 8%) 0%, hsl(224, 26%, 4.5%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 10px !important;
  padding: 20px !important;
  text-decoration: none !important;
  box-shadow: 
    -2px -2px 5px rgba(255, 255, 255, 0.02),
     4px  5px 14px rgba(0, 0, 0, 0.75),
     inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: transform 0.24s var(--cs-spring-snappy), border-color 0.24s ease, box-shadow 0.24s ease !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.seo-growth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.seo-growth-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(0, 240, 255, 0.4) !important;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.035),
     5px  7px 20px rgba(0, 0, 0, 0.88),
     0 0 14px rgba(0, 240, 255, 0.2) !important;
}

.seo-growth-card.primary:hover {
  border-color: rgba(235, 12, 45, 0.45) !important;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.035),
     5px  7px 20px rgba(0, 0, 0, 0.88),
     0 0 14px rgba(235, 12, 45, 0.25) !important;
}

.seo-growth-card span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 14px !important;
  font-family: var(--font-hud, monospace) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--cyan, #00f0ff) !important;
  transition: transform 0.2s ease !important;
}

.seo-growth-card.primary span {
  color: var(--red, #eb0c2d) !important;
}

.seo-growth-card:hover span {
  transform: translateX(3px) !important;
}

/* ==========================================================================
   11. STREAM PILLS & HARDWARE TAGS (.stream-pill, .ad-tags)
   ========================================================================== */

.stream-pill {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  background: linear-gradient(150deg, hsl(220, 20%, 9.5%) 0%, hsl(222, 26%, 5%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  color: #cbd5e1 !important;
  font-family: var(--font-hud, monospace) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 
    -1.5px -1.5px 4px rgba(255, 255, 255, 0.02),
     2px  3px 8px rgba(0, 0, 0, 0.7),
     inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  transition: all 0.2s var(--cs-spring-snappy) !important;
}

.stream-pill:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(235, 12, 45, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 
    -2px -2px 6px rgba(255, 255, 255, 0.035),
     3px  5px 12px rgba(0, 0, 0, 0.85),
     0 0 10px rgba(235, 12, 45, 0.25) !important;
}

.stream-pill:active {
  transform: translateY(1px) scale(0.97) !important;
  box-shadow: inset 1.5px 1.5px 3px rgba(0, 0, 0, 0.9) !important;
}

.ad-tags span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 7px !important;
  font-family: var(--font-hud, monospace) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  background: rgba(8, 12, 18, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}

/* ==========================================================================
   12. ACCESSIBILITY & REDUCED MOTION SAFEGUARDS
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-audio-widget #audio-play-btn,
  .hero-audio-widget #audio-next-btn,
  .hero-audio-widget #audio-list-btn,
  .topbar-stage-dock,
  .lang-toggle,
  .menu-toggle,
  .btn,
  .system-unit,
  .seo-growth-card,
  .stream-pill {
    transition: none !important;
    transform: none !important;
  }
}

