/* =========================================================================
   SNAKESTRIKES.IO - MAIN MENU & CYBERNETIC HUD STYLESHEET
   ========================================================================= */

:root {
  --hud-bg-color: rgba(3, 8, 20, 0.94);
  --hud-deck-bg-image: none;
  --hud-border-color: #00d2ff;
  --hud-divider-color: #00d2ff;
  --hud-accent-color: #00d2ff;
  --hud-slot-bg: rgba(12, 18, 34, 0.92);
  --hud-slot-border: #475569;
  --hud-text-primary: #ffffff;
  --hud-text-secondary: #94a3b8;
  --hud-stat-score-color: #ffffff;
  --hud-stat-venom-color: #ff2a4b;
  --hud-stat-speed-color: #ffcc00;
}

#game-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  width: 100dvw;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

/* 1. STANDARDIZED CYBER HUD PANELS (Your Snake, Daily Missions, Top Players) */
.cyber-hud-card {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 310px;
  min-height: 310px;
  max-height: 310px;
  background: radial-gradient(circle at 50% 25%, rgba(6, 28, 56, 0.94) 0%, rgba(3, 10, 22, 0.98) 78%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  clip-path: polygon(
    18px 0%,
    calc(100% - 18px) 0%,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0% calc(100% - 18px),
    0% 18px
  );
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.38));
  box-sizing: border-box;
}

.cyber-hud-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.16) 0%, transparent 62%);
  z-index: 1;
}

/* Profile Widget Cyber Frame (Anchored at top right above Daily Missions) */
.cyber-profile-card {
  position: relative;
  width: 100%;
  max-width: 350px;
  background: linear-gradient(135deg, rgba(6, 28, 56, 0.92) 0%, rgba(3, 11, 24, 0.96) 100%);
  backdrop-filter: none;
  border: 1.5px solid rgba(0, 229, 255, 0.65);
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25), inset 0 0 14px rgba(0, 229, 255, 0.1);
  box-sizing: border-box;
}

/* 2. ADSENSE-COMPLIANT ZONES (Exact same dimensions, flat darkened background, same corner cuts, NO glowing borders) */
.cyber-ad-card,
#ad-slot-left {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 310px;
  min-height: 310px;
  max-height: 310px;
  background: #060a14;
  clip-path: polygon(
    18px 0%,
    calc(100% - 18px) 0%,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0% calc(100% - 18px),
    0% 18px
  );
  filter: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.ad-label {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.5);
  user-select: none;
  pointer-events: none;
}

#ad-slot-bottom {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 90px;
  background: #060a12;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 6px;
  box-shadow: none !important;
  filter: none !important;
  pointer-events: auto;
}

/* SYMMETRIC PANELS PAIR WRAPPER (Centers the horizontal gap on the 50% midline) */
.menu-panels-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 350px;
}

/* 3. CENTER STAGE & CURVED MODE SELECTION CARDS */
.curved-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  perspective: 1100px;
  transform-style: preserve-3d;
  padding: 6px 4px 14px 4px;
}

.mode-card {
  position: relative;
  border-radius: 16px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  backface-visibility: hidden;
  will-change: transform;
}

/* 3D Curved Arc Positions matching reference image */
.mode-card-pos-1 {
  transform: translateY(-8px) rotateZ(-6.5deg) rotateY(8deg);
}
.mode-card-pos-1:hover {
  transform: translateY(-13px) rotateZ(-5.5deg) rotateY(6deg) scale(1.03);
}

.mode-card-pos-2 {
  transform: translateY(8px) rotateZ(-2deg) rotateY(3deg);
}
.mode-card-pos-2:hover {
  transform: translateY(3px) rotateZ(-1.5deg) rotateY(2deg) scale(1.03);
}

.mode-card-pos-3 {
  transform: translateY(8px) rotateZ(2deg) rotateY(-3deg);
}
.mode-card-pos-3:hover {
  transform: translateY(3px) rotateZ(1.5deg) rotateY(-2deg) scale(1.03);
}

.mode-card-pos-4 {
  transform: translateY(-8px) rotateZ(6.5deg) rotateY(-8deg);
}
.mode-card-pos-4:hover {
  transform: translateY(-13px) rotateZ(5.5deg) rotateY(-6deg) scale(1.03);
}

/* Default Cyan Mode Card Variants */
.mode-card-cyan-active {
  background: linear-gradient(165deg, rgba(8, 55, 82, 0.82) 0%, rgba(4, 22, 42, 0.94) 100%);
  border: 2px solid #00e5ff;
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.45), inset 0 0 18px rgba(0, 229, 255, 0.22);
}

.mode-card-cyan-idle {
  background: linear-gradient(165deg, rgba(10, 25, 48, 0.8) 0%, rgba(5, 13, 28, 0.92) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 0 12px rgba(0, 229, 255, 0.08);
}
.mode-card-cyan-idle:hover {
  border-color: rgba(0, 229, 255, 0.75);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.35), inset 0 0 14px rgba(0, 229, 255, 0.15);
}

/* MAZE MODE CARD OVERRIDE: Bright Red/Orange Neon Border & Box-Shadow + Yellow NEW Badge */
.mode-card-maze {
  background: linear-gradient(165deg, rgba(115, 18, 14, 0.86) 0%, rgba(42, 7, 10, 0.95) 100%) !important;
  border: 2px solid #ff4522 !important;
  box-shadow: 0 0 28px rgba(255, 59, 31, 0.6), inset 0 0 20px rgba(255, 69, 34, 0.28) !important;
}
.mode-card-maze:hover,
.mode-card-maze.mode-card-selected {
  border-color: #ff6a3d !important;
  box-shadow: 0 0 38px rgba(255, 69, 34, 0.85), inset 0 0 24px rgba(255, 90, 45, 0.38) !important;
}

.maze-new-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  background: linear-gradient(90deg, #fde047 0%, #facc15 100%);
  color: #090d16;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 9999px;
  border: 1.5px solid #fef08a;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.85);
  text-transform: uppercase;
  z-index: 20;
}

/* ================= TITLE & LOGO CINEMATIC ENTRANCE & READABILITY ================= */
#menu-logo {
  width: 250px;
  height: 250px;
  animation: logoEntrance 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#logo-s-main {
  animation: drawSLogo 1.25s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.logo-accent-triangle {
  transform-box: fill-box;
  transform-origin: center;
  animation: popTriangle 1.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

#logo-text {
  animation: textEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
  filter: 
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.98))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 1))
    drop-shadow(0 0 35px rgba(2, 6, 23, 0.95));
}

#logo-tagline {
  animation: taglineEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
}

.snake-title-snake {
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

.snake-title-strikes {
  display: inline-block;
  background: linear-gradient(180deg, #ff7a59 0%, #ef4444 48%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.98))
    drop-shadow(0 1px 3px #000000)
    drop-shadow(0 0 18px rgba(0, 0, 0, 0.9));
}

.snake-title-io {
  color: #fde047;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

@keyframes logoEntrance {
  0% {
    transform: scale(0.7) translateY(-14px);
    opacity: 0;
    filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.9));
  }
  60% {
    transform: scale(1.05) translateY(0);
    opacity: 1;
    filter: drop-shadow(0 0 36px rgba(245, 158, 11, 0.95));
  }
  85% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: 
      drop-shadow(0 4px 14px rgba(0, 0, 0, 0.98))
      drop-shadow(0 2px 4px #000000)
      drop-shadow(0 0 25px rgba(2, 6, 23, 0.95));
  }
}

@keyframes drawSLogo {
  0% {
    stroke-dasharray: 4500;
    stroke-dashoffset: 4500;
    stroke: #ff9900;
    stroke-width: 10;
    fill-opacity: 0;
    filter: drop-shadow(0 0 16px #ff7700) drop-shadow(0 0 30px #ff3300);
  }
  50% {
    stroke-dashoffset: 0;
    stroke: #fef08a;
    stroke-width: 6;
    fill-opacity: 0.35;
    filter: drop-shadow(0 0 24px #ff9900) drop-shadow(0 0 45px #ff5500);
  }
  75% {
    stroke-dashoffset: 0;
    stroke: #ea580c;
    stroke-width: 2;
    fill-opacity: 0.9;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    stroke-width: 0;
    fill-opacity: 1;
  }
}

@keyframes popTriangle {
  0%, 60% {
    opacity: 0;
    transform: scale(0.3);
  }
  80% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textEntrance {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.92);
    filter: blur(8px);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: 
      drop-shadow(0 4px 14px rgba(0, 0, 0, 0.98))
      drop-shadow(0 2px 4px rgba(0, 0, 0, 1))
      drop-shadow(0 0 35px rgba(2, 6, 23, 0.95));
  }
}

@keyframes taglineEntrance {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= HYPER-INVITING AAA PLAY BUTTON ================= */
.play-btn-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  z-index: 10;
}

#ui-play-btn {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 72px;
  border-radius: 22px;
  font-family: 'Arial Black', sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 45%, #0284c7 100%);
  border: 2px solid #a5f3fc;
  box-shadow: 
    0 0 35px rgba(0, 229, 255, 0.85),
    0 0 70px rgba(6, 182, 212, 0.5),
    inset 0 2px 2px rgba(255, 255, 255, 0.85),
    inset 0 -3px 6px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, filter 0.25s ease;
  animation: playButtonPulse 2.8s ease-in-out infinite;
}

#ui-play-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(180deg, #67e8f9 0%, #22d3ee 45%, #0ea5e9 100%);
  border-color: #ffffff;
  box-shadow: 
    0 0 55px rgba(0, 229, 255, 1),
    0 0 95px rgba(6, 182, 212, 0.75),
    inset 0 2px 4px rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4);
  filter: brightness(1.12);
}

#ui-play-btn:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: 
    0 0 25px rgba(0, 229, 255, 0.7),
    inset 0 3px 6px rgba(0, 0, 0, 0.6);
}

/* Pulsing Neon Aura Behind Play Button */
.play-btn-aura {
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.65) 0%, rgba(6, 182, 212, 0) 75%);
  z-index: 1;
  pointer-events-none;
  animation: playAuraGlow 2.8s infinite ease-in-out;
}

/* Live Sheen Sweep across Button Surface */
.play-btn-sheen {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events-none;
  z-index: 12;
  animation: playSheenSweep 3.2s infinite ease-in-out;
}

@keyframes playButtonPulse {
  0%, 100% {
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.8), 0 0 65px rgba(6, 182, 212, 0.45), inset 0 2px 2px rgba(255, 255, 255, 0.85), inset 0 -3px 6px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 55px rgba(0, 229, 255, 1), 0 0 95px rgba(6, 182, 212, 0.65), inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -3px 6px rgba(0, 0, 0, 0.45);
  }
}

@keyframes playAuraGlow {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.95;
  }
}

@keyframes playSheenSweep {
  0%, 45% {
    left: -120%;
  }
  80%, 100% {
    left: 200%;
  }
}

/* 4. CINEMATIC BACKGROUND, 3D FLOOR TECH-PLATFORM & VOLUMETRIC LIGHT RAYS */
.cinematic-stage-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

#hex-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 3D Glowing Circular Tech-Platform / Floor Ring */
.tech-platform-wrapper {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 920px;
  height: 360px;
  pointer-events: none;
  z-index: 0;
}

@keyframes platformPulse {
  0%, 100% { opacity: 0.88; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.012); }
}

.tech-platform-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.55));
}

@media (prefers-reduced-motion: reduce) {
  #menu-logo,
  #logo-s-main,
  .logo-accent-triangle,
  #logo-text,
  #logo-tagline,
  #ui-play-btn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .play-btn-aura,
  .play-btn-sheen {
    display: none !important;
  }
}


/* =========================================================================
   FIX SHOP IMAGE OVERFLOW & FLEX GRID CONTAINMENT
   ========================================================================= */
.card-icon-asset {
  width: 100% !important;
  height: 100% !important;
  max-height: 120px; /* Adjust based on card proportions */
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

/* Ensure the container holding the image doesn't infinitely expand */
.shop-card-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

/* Prevent children from forcing expansion in Grid/Flexbox */
.prestige-grid,
.treasury-row {
  min-width: 0 !important;
  min-height: 0 !important;
}

.prestige-grid > *,
.treasury-row > * {
  min-width: 0 !important;
  min-height: 0 !important;
}

/* Shop item selection and redirection pulse effect */
.shop-card.selected {
  border-color: #22d3ee !important;
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.5), inset 0 0 15px rgba(34, 211, 238, 0.15) !important;
  transform: scale(1.02);
}

@keyframes shopTargetPulseAnimation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(34, 211, 238, 0);
  }
  25% {
    transform: scale(1.06);
    box-shadow: 0 0 35px #22d3ee, 0 0 65px rgba(56, 189, 248, 0.85), inset 0 0 20px rgba(34, 211, 238, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 25px #22d3ee;
  }
  75% {
    transform: scale(1.06);
    box-shadow: 0 0 35px #22d3ee, 0 0 65px rgba(56, 189, 248, 0.85), inset 0 0 20px rgba(34, 211, 238, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
  }
}

.shop-target-pulse {
  animation: shopTargetPulseAnimation 2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-color: #22d3ee !important;
  z-index: 30 !important;
}

.arena-pass-pulse-highlight {
  animation: shopTargetPulseAnimation 2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-color: #facc15 !important;
  z-index: 30 !important;
}

/* =========================================================================
   NATIVE 69% UI SCALING (Chrome/Edge/Safari + Firefox Fallback)
   ========================================================================= */
#ui-layer,
#main-menu,
.modal-container,
#join-screen,
#hud,
#death-screen,
#exit-modal,
.profile-career-panel {
  zoom: 0.69; /* Chrome/Edge/Safari */
}

/* Fallback for Firefox */
@supports not (zoom: 0.69) {
  #ui-layer,
  #main-menu,
  .modal-container,
  #join-screen,
  #hud,
  #death-screen,
  #exit-modal,
  .profile-career-panel {
    transform: scale(0.69);
    transform-origin: top left;
    width: 144.92%;
    height: 144.92%;
  }
}

/* =========================================================================
   ITEM SHOP MODAL - FULLSCREEN OVERLAY & RED-BOX VIEWPORT SCALING
   ========================================================================= */
#item-shop-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 80 !important;
  align-items: center;
  justify-content: center;
  background-color: rgba(2, 5, 13, 0.88) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#item-shop-modal .shop-shell {
  zoom: 1 !important;
  transform: none !important;
  width: 92vw !important;
  max-width: 1520px !important;
  height: 88vh !important;
  max-height: 900px !important;
}

/* =========================================================================
   TREASURY ASSETS - LARGE, EYE-CATCHING (NO CIRCLES)
   ========================================================================= */
.treasury-asset-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 125px;
  overflow: visible;
  position: relative;
  margin: 0.5rem 0;
}

.treasury-asset-img {
  max-height: 110px !important;
  max-width: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.shop-card:hover .treasury-asset-img {
  transform: scale(1.08) translateY(-2px);
}

/* =========================================================================
   MAZE RUNNER LOBBY MODAL - FULLSCREEN BLOCKING BACKDROP
   ========================================================================= */
#maze-lobby-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 9999 !important;
  pointer-events: all !important;
}

#maze-lobby-modal > div {
  pointer-events: auto;
  zoom: 0.69;
}

@supports not (zoom: 0.69) {
  #maze-lobby-modal > div {
    transform: scale(0.69);
    transform-origin: center center;
  }
}

/* =========================================================================
   UNIFIED BOTTOM COMMAND DECK HUD
   ========================================================================= */
.hud-bottom-deck {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  height: 180px;
  background-color: var(--hud-bg-color, rgba(3, 8, 20, 0.94));
  background-image: var(--hud-deck-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 2.5px solid var(--hud-border-color, #00d2ff);
  border-radius: 20px;
  box-shadow: none;
  padding: 0 28px;
  z-index: 100;
  pointer-events: auto;
  user-select: none;
  box-sizing: border-box;
  contain: layout style paint;
}

.hud-deck-divider {
  width: 2.5px;
  height: 110px;
  background: var(--hud-divider-color, #00d2ff);
  box-shadow: none;
  opacity: 0.85;
  border-radius: 1px;
  flex-shrink: 0;
  margin: 0 14px;
}

/* 1. Evolution Skill Cards (Horizontal Row) */
.hud-deck-evo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-around;
  flex: 1 1 0;
  max-width: 38%;
  gap: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.evo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

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

.evo-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.evo-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: var(--hud-slot-bg, rgba(8, 14, 26, 0.95));
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  box-sizing: border-box;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.evo-icon-box:hover {
  transform: scale(1.08);
}

.evo-icon-z { border: 2.5px solid #00d2ff; color: #00d2ff; box-shadow: none; }
.evo-icon-x { border: 2.5px solid #c040ff; color: #c040ff; box-shadow: none; }
.evo-icon-c { border: 2.5px solid #00e676; color: #00e676; box-shadow: none; }
.evo-icon-v { border: 2.5px solid #ffcc00; color: #ffcc00; box-shadow: none; }

.evo-label-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
  line-height: 1.2;
  gap: 2px;
}

.evo-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
}

.evo-req {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.evo-key-badge {
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: none;
  box-sizing: border-box;
}

/* 2. Hotbar Section */
.hud-deck-hotbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-around;
  flex: 1 1 0;
  max-width: 36%;
  gap: 14px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hotbar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.power-slot {
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--hud-slot-border, #475569);
  border-radius: 14px;
  background: var(--hud-slot-bg, rgba(12, 18, 34, 0.92));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: border-color 0.2s, opacity 0.2s, transform 0.15s ease;
}

.power-slot:hover {
  transform: scale(1.08);
  border-color: var(--hud-border-color, #00d2ff);
  box-shadow: none;
}

.slot-counter {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff0044;
  color: white;
  font-size: 13px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1.5px solid #ffffff;
  box-shadow: none;
  z-index: 10;
  min-width: 22px;
  text-align: center;
  box-sizing: border-box;
  line-height: 1;
}

.power-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.power-icon svg {
  display: block;
  overflow: visible;
  transition: transform 0.15s ease;
}

.power-slot:hover .power-icon svg {
  transform: scale(1.12);
}

.slot-key {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: none;
}

/* 3. Player Stats Section */
.hud-deck-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  min-width: 190px;
  line-height: 1.35;
  text-align: left;
  padding: 0 10px;
}

#hud-score {
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-shadow: none;
  margin: 0;
}

#hud-venom {
  color: #ff2a4b;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-shadow: none;
  margin: 0;
}

#hud-speed {
  color: #facc15;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-shadow: none;
  margin: 0;
}

#hud-breed {
  color: #00d2ff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-shadow: none;
  margin: 0;
}

/* 4. Minimap Section */
.hud-deck-minimap {
  width: 145px;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  pointer-events: none;
  flex-shrink: 0;
}

#hud-minimap-canvas {
  width: 145px;
  height: 145px;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1366px) {
  .hud-bottom-deck {
    gap: 12px;
    padding: 0 16px;
    bottom: 14px;
    height: 150px;
  }
  .evo-icon-box {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .power-slot {
    width: 58px;
    height: 58px;
  }
  .hud-deck-minimap, #hud-minimap-canvas {
    width: 120px;
    height: 120px;
  }
}

/* ==========================================================================
   Dual-Currency Skin Storefront & Discount Engine
   ========================================================================== */
.btn-skin-buy-gold {
  position: relative;
  background: linear-gradient(135deg, #091a33 0%, #10386e 50%, #091a33 100%);
  border: 2px solid rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.35), inset 0 0 14px rgba(251, 191, 36, 0.18);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-skin-buy-gold:hover:not(:disabled) {
  background: linear-gradient(135deg, #0d264a 0%, #174e99 50%, #0d264a 100%);
  border-color: #fde047;
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.65), inset 0 0 18px rgba(251, 191, 36, 0.3);
  transform: translateY(-2px);
}
.btn-skin-buy-gold:active:not(:disabled) {
  transform: translateY(0);
}
.btn-skin-buy-gold:disabled {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(244, 63, 94, 0.45);
  color: rgba(251, 113, 133, 0.85);
  box-shadow: none;
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-skin-buy-gems {
  position: relative;
  background: linear-gradient(135deg, #3b0764 0%, #701a75 50%, #4a044e 100%);
  border: 2px solid #e879f9;
  box-shadow: 0 0 30px rgba(217, 70, 239, 0.65), inset 0 0 16px rgba(232, 121, 249, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-skin-buy-gems:hover:not(:disabled) {
  background: linear-gradient(135deg, #581c87 0%, #86198f 50%, #701a75 100%);
  border-color: #f0abfc;
  box-shadow: 0 0 42px rgba(217, 70, 239, 0.9), inset 0 0 22px rgba(232, 121, 249, 0.45);
  transform: translateY(-2px);
}
.btn-skin-buy-gems:active:not(:disabled) {
  transform: translateY(0);
}
.btn-skin-buy-gems:disabled {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(244, 63, 94, 0.45);
  color: rgba(251, 113, 133, 0.85);
  box-shadow: none;
  opacity: 0.7;
  cursor: not-allowed;
}

.skin-discount-badge {
  position: absolute;
  top: -11px;
  right: -6px;
  background: linear-gradient(90deg, #f59e0b 0%, #10b981 50%, #06b6d4 100%);
  color: #020617;
  font-weight: 900;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.85);
  pointer-events: none;
  z-index: 10;
}

/* =========================================================================
   PHASE 2 - HOLISTIC PRESTIGE TRACKING & SERVICE RECORD STYLES
   ========================================================================= */

.glass-gold {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 16px rgba(251, 191, 36, 0.15);
}

#ui-prestige-capsule {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

#ui-prestige-capsule:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
  border-color: rgba(252, 211, 77, 0.8);
}

@keyframes prestigeBurst {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
  }
  30% {
    transform: scale(1.18);
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.95), inset 0 0 15px rgba(251, 191, 36, 0.6);
    border-color: #fde047;
  }
  65% {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
  }
}

.animate-prestige-burst {
  animation: prestigeBurst 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hub-nav-tab {
  cursor: pointer;
  user-select: none;
}

.legacy-timeline-item {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.legacy-timeline-item:hover {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

/* =========================================================================
   PHASE 3 - THE GATE AND TOLL ECONOMY (PRESTIGE GATED ITEMS)
   ========================================================================= */

.skin-prestige-req-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 4.5px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(69, 26, 3, 0.95) 0%, rgba(120, 53, 15, 0.9) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.85);
  color: #fef08a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
  pointer-events: none;
}

.skin-card.prestige-locked {
  border-color: rgba(251, 191, 36, 0.45) !important;
  background: radial-gradient(circle at 50% 25%, rgba(20, 15, 8, 0.96) 0%, rgba(6, 13, 28, 0.98) 78%) !important;
}

.skin-card.prestige-locked .skin-preview {
  filter: grayscale(0.7) brightness(0.65) !important;
}

.btn-skin-buy-gold.btn-prestige-locked,
.btn-skin-buy-gems.btn-prestige-locked {
  background: linear-gradient(135deg, rgba(20, 15, 10, 0.95) 0%, rgba(30, 20, 12, 0.95) 100%) !important;
  border: 2px dashed rgba(251, 191, 36, 0.6) !important;
  color: #fde047 !important;
  box-shadow: none !important;
  filter: grayscale(0.55) !important;
  opacity: 0.75 !important;
  cursor: not-allowed !important;
  pointer-events: auto !important;
}

.btn-skin-buy-gold.btn-prestige-locked:hover,
.btn-skin-buy-gems.btn-prestige-locked:hover {
  transform: none !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.3) !important;
  border-color: rgba(253, 224, 71, 0.9) !important;
}

/* =========================================================================
   PHASE 4: GAME STYLIZER & UI THEME ENGINE
   Strict Performance Lock: Zero backdrop-filter, Zero box-shadow, Static WebP
   ========================================================================= */

/* Default / Classic Neon */
.theme-classic,
.theme-default,
body.theme-classic,
body.theme-default {
  --hud-bg-color: rgba(3, 8, 20, 0.94);
  --hud-deck-bg-image: none;
  --hud-border-color: #00d2ff;
  --hud-divider-color: #00d2ff;
  --hud-accent-color: #00d2ff;
  --hud-slot-bg: rgba(12, 18, 34, 0.92);
  --hud-slot-border: #475569;
  --hud-text-primary: #ffffff;
  --hud-text-secondary: #94a3b8;
  --hud-stat-score-color: #ffffff;
  --hud-stat-venom-color: #ff2a4b;
  --hud-stat-speed-color: #ffcc00;
}

/* Theme: Minimal Arena (Tier 0 Default: 0 Gold / 0 Gems / 0 Prestige) */
.theme-minimal,
.theme-theme_minimal,
body.theme-minimal,
body.theme-theme_minimal {
  --hud-bg-color: #02060d;
  --hud-deck-bg-image: url('/assets/themes/theme_minimal.webp');
  --hud-border-color: rgba(30, 48, 72, 0.45);
  --hud-divider-color: rgba(30, 48, 72, 0.4);
  --hud-accent-color: #00d2ff;
  --hud-slot-bg: #050c18;
  --hud-slot-border: rgba(30, 48, 72, 0.5);
  --hud-text-primary: #ffffff;
  --hud-text-secondary: #64748b;
  --hud-stat-score-color: #ffffff;
  --hud-stat-venom-color: #ff2a4b;
  --hud-stat-speed-color: #ffcc00;
}

/* Minimal Arena Critical Performance Lock: Zero backdrop-filter, Zero box-shadow, Slither.io Aesthetic */
body.theme-minimal #main-hud-bottom,
body.theme-theme_minimal #main-hud-bottom,
.theme-minimal#main-hud-bottom,
.theme-theme_minimal#main-hud-bottom {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(30, 48, 72, 0.45) !important;
  background-color: #02060d !important;
}

body.theme-minimal .hud-card,
body.theme-theme_minimal .hud-card,
body.theme-minimal #top-telemetry-panel,
body.theme-theme_minimal #top-telemetry-panel,
body.theme-minimal #top-leaderboard-panel,
body.theme-theme_minimal #top-leaderboard-panel,
body.theme-minimal #minimap-container,
body.theme-theme_minimal #minimap-container,
body.theme-minimal #minimap-canvas,
body.theme-theme_minimal #minimap-canvas {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-color: rgba(30, 48, 72, 0.35) !important;
}

body.theme-minimal .deck-stat-slot,
body.theme-theme_minimal .deck-stat-slot,
body.theme-minimal .evolution-slot-card,
body.theme-theme_minimal .evolution-slot-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  background-color: #050c18 !important;
  border-color: rgba(30, 48, 72, 0.5) !important;
}

/* Theme: Glossy Arcade (10k Gold / 8 Gems, Req: 0 Prestige, Award: 100) */
.theme-glossy-arcade,
.theme-glossy_arcade,
.theme-theme_glossy-arcade,
.theme-theme_glossy_arcade,
body.theme-glossy-arcade,
body.theme-glossy_arcade,
body.theme-theme_glossy-arcade,
body.theme-theme_glossy_arcade {
  --hud-bg-color: #061e47;
  --hud-deck-bg-image: url('/assets/themes/theme_glossy_arcade.webp');
  --hud-border-color: #00e5ff;
  --hud-divider-color: #00b0ff;
  --hud-accent-color: #00f0ff;
  --hud-slot-bg: rgba(6, 33, 82, 0.95);
  --hud-slot-border: #00b0ff;
  --hud-text-primary: #ffffff;
  --hud-text-secondary: #80d8ff;
  --hud-stat-score-color: #ffffff;
  --hud-stat-venom-color: #ff1744;
  --hud-stat-speed-color: #ffd600;
}

/* Glossy Arcade Critical Performance Lock: Zero backdrop-filter, Zero box-shadow */
body.theme-glossy-arcade #main-hud-bottom,
body.theme-glossy_arcade #main-hud-bottom,
body.theme-theme_glossy_arcade #main-hud-bottom,
.theme-glossy-arcade#main-hud-bottom,
.theme-glossy_arcade#main-hud-bottom,
.theme-theme_glossy_arcade#main-hud-bottom {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 2px solid #00b0ff !important;
  background-color: #061e47 !important;
}

body.theme-glossy-arcade .hud-card,
body.theme-glossy_arcade .hud-card,
body.theme-theme_glossy_arcade .hud-card,
body.theme-glossy-arcade #top-telemetry-panel,
body.theme-glossy_arcade #top-telemetry-panel,
body.theme-theme_glossy_arcade #top-telemetry-panel,
body.theme-glossy-arcade #top-leaderboard-panel,
body.theme-glossy_arcade #top-leaderboard-panel,
body.theme-theme_glossy_arcade #top-leaderboard-panel,
body.theme-glossy-arcade #minimap-container,
body.theme-glossy_arcade #minimap-container,
body.theme-theme_glossy_arcade #minimap-container,
body.theme-glossy-arcade #minimap-canvas,
body.theme-glossy_arcade #minimap-canvas,
body.theme-theme_glossy_arcade #minimap-canvas {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-color: #00b0ff !important;
}

body.theme-glossy-arcade .deck-stat-slot,
body.theme-glossy_arcade .deck-stat-slot,
body.theme-theme_glossy_arcade .deck-stat-slot,
body.theme-glossy-arcade .evolution-slot-card,
body.theme-glossy_arcade .evolution-slot-card,
body.theme-theme_glossy_arcade .evolution-slot-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  background-color: rgba(6, 33, 82, 0.95) !important;
  border-color: #00b0ff !important;
}

/* Glossy Arcade Complete In-Game HUD Styling (Matches Reference Image) */
body.theme-glossy-arcade #hud-bottom-deck,
body.theme-glossy_arcade #hud-bottom-deck,
body.theme-theme_glossy_arcade #hud-bottom-deck,
body.theme-theme_glossy-arcade #hud-bottom-deck,
.theme-glossy-arcade.hud-bottom-deck,
.theme-glossy_arcade.hud-bottom-deck {
  height: 155px !important;
  padding: 0 20px !important;
  background-color: rgba(3, 18, 52, 0.94) !important;
  background-image: linear-gradient(180deg, rgba(6, 40, 102, 0.94) 0%, rgba(3, 20, 60, 0.96) 50%, rgba(2, 12, 40, 0.98) 100%) !important;
  border: 3.5px solid #00c8ff !important;
  border-radius: 26px !important;
  box-shadow: 0 0 26px rgba(0, 200, 255, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
}

body.theme-glossy-arcade .hud-deck-divider,
body.theme-glossy_arcade .hud-deck-divider,
body.theme-theme_glossy_arcade .hud-deck-divider {
  background: rgba(0, 200, 255, 0.45) !important;
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.3) !important;
}

/* Speed Evolution Button (Z) - 3D Glossy Cyan */
body.theme-glossy-arcade #evo-z .evo-icon-box,
body.theme-glossy_arcade #evo-z .evo-icon-box,
body.theme-theme_glossy_arcade #evo-z .evo-icon-box,
body.theme-glossy-arcade .evo-icon-z,
body.theme-glossy_arcade .evo-icon-z {
  width: 70px !important;
  height: 70px !important;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%) !important;
  border: 3px solid #7dd3fc !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
  font-size: 34px !important;
}

/* Venom Evolution Button (X) - 3D Glossy Purple */
body.theme-glossy-arcade #evo-x .evo-icon-box,
body.theme-glossy_arcade #evo-x .evo-icon-box,
body.theme-theme_glossy_arcade #evo-x .evo-icon-box,
body.theme-glossy-arcade .evo-icon-x,
body.theme-glossy_arcade .evo-icon-x {
  width: 70px !important;
  height: 70px !important;
  background: linear-gradient(180deg, #e879f9 0%, #a855f7 50%, #7e22ce 100%) !important;
  border: 3px solid #f0abfc !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
  font-size: 34px !important;
}

/* Turn Evolution Button (C) - 3D Glossy Emerald/Teal */
body.theme-glossy-arcade #evo-c .evo-icon-box,
body.theme-glossy_arcade #evo-c .evo-icon-box,
body.theme-theme_glossy_arcade #evo-c .evo-icon-box,
body.theme-glossy-arcade .evo-icon-c,
body.theme-glossy_arcade .evo-icon-c {
  width: 70px !important;
  height: 70px !important;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 50%, #15803d 100%) !important;
  border: 3px solid #86efac !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
  font-size: 34px !important;
}

/* Boost Evolution Button (V) - 3D Glossy Gold/Amber */
body.theme-glossy-arcade #evo-v .evo-icon-box,
body.theme-glossy_arcade #evo-v .evo-icon-box,
body.theme-theme_glossy_arcade #evo-v .evo-icon-box,
body.theme-glossy-arcade .evo-icon-v,
body.theme-glossy_arcade .evo-icon-v {
  width: 70px !important;
  height: 70px !important;
  background: linear-gradient(180deg, #fde047 0%, #eab308 50%, #ca8a04 100%) !important;
  border: 3px solid #fef08a !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
  font-size: 34px !important;
}

body.theme-glossy-arcade .evo-name,
body.theme-glossy_arcade .evo-name,
body.theme-theme_glossy_arcade .evo-name {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
}

body.theme-glossy-arcade .evo-req,
body.theme-glossy_arcade .evo-req,
body.theme-theme_glossy_arcade .evo-req {
  color: #80d8ff !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px !important;
}

body.theme-glossy-arcade .evo-key-badge,
body.theme-glossy_arcade .evo-key-badge,
body.theme-theme_glossy_arcade .evo-key-badge {
  background: rgba(3, 20, 54, 0.9) !important;
  border: 2px solid #00c8ff !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  width: 34px !important;
  height: 26px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

/* Hotbar Slots & Counter Badges */
body.theme-glossy-arcade .power-slot,
body.theme-glossy_arcade .power-slot,
body.theme-theme_glossy_arcade .power-slot {
  width: 66px !important;
  height: 66px !important;
  background: linear-gradient(180deg, #093166 0%, #041938 100%) !important;
  border: 2.5px solid #00c8ff !important;
  border-radius: 16px !important;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25) !important;
}

body.theme-glossy-arcade .slot-counter,
body.theme-glossy_arcade .slot-counter,
body.theme-theme_glossy_arcade .slot-counter {
  min-width: 24px !important;
  height: 24px !important;
  background: linear-gradient(180deg, #ff3366 0%, #cc0033 100%) !important;
  border: 2px solid #ffffff !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 6px rgba(204, 0, 40, 0.6) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  top: -9px !important;
  right: -9px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-glossy-arcade .slot-key,
body.theme-glossy_arcade .slot-key,
body.theme-theme_glossy_arcade .slot-key {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 15px !important;
}

/* Exit Button (3D Glossy Rounded Pill) */
body.theme-glossy-arcade #exit-btn,
body.theme-glossy_arcade #exit-btn,
body.theme-theme_glossy_arcade #exit-btn {
  background: linear-gradient(180deg, #ff4060 0%, #e60026 50%, #b8001d 100%) !important;
  border: 3px solid #ff758f !important;
  border-radius: 9999px !important;
  box-shadow: 0 5px 15px rgba(230, 0, 38, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  font-size: 15px !important;
  letter-spacing: 1.5px !important;
  padding: 8px 26px !important;
  width: fit-content !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, filter 0.15s ease !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

body.theme-glossy-arcade #exit-btn:hover,
body.theme-glossy_arcade #exit-btn:hover,
body.theme-theme_glossy_arcade #exit-btn:hover {
  transform: scale(1.05) !important;
  filter: brightness(1.1) !important;
}

/* Telemetry (Top-Left) */
body.theme-glossy-arcade #hud-left,
body.theme-glossy_arcade #hud-left,
body.theme-theme_glossy_arcade #hud-left {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 12px !important;
  align-items: flex-start !important;
}

body.theme-glossy-arcade #hud-telemetry-box,
body.theme-glossy_arcade #hud-telemetry-box,
body.theme-theme_glossy_arcade #hud-telemetry-box {
  background: linear-gradient(180deg, rgba(8, 32, 84, 0.88) 0%, rgba(3, 16, 48, 0.94) 100%) !important;
  border: 3px solid #00c8ff !important;
  border-radius: 20px !important;
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.3) !important;
  padding: 14px 20px !important;
  min-width: 175px !important;
}

body.theme-glossy-arcade #hud-time,
body.theme-glossy_arcade #hud-time,
body.theme-theme_glossy_arcade #hud-time {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Warnings (Top-Center Pill Banner) - Strict Display Gating */
#meteor-warning[style*="display: none"],
#meteor-warning[style*="display:none"],
#toxic-warning[style*="display: none"],
#toxic-warning[style*="display:none"],
#bounty-warning[style*="display: none"],
#bounty-warning[style*="display:none"],
#solar-warning[style*="display: none"],
#solar-warning[style*="display:none"],
body #meteor-warning[style*="display: none"],
body #meteor-warning[style*="display:none"],
body #toxic-warning[style*="display: none"],
body #toxic-warning[style*="display:none"],
body #bounty-warning[style*="display: none"],
body #bounty-warning[style*="display:none"],
body #solar-warning[style*="display: none"],
body #solar-warning[style*="display:none"],
body[class*="theme-"] #meteor-warning[style*="display: none"],
body[class*="theme-"] #meteor-warning[style*="display:none"],
body[class*="theme-"] #toxic-warning[style*="display: none"],
body[class*="theme-"] #toxic-warning[style*="display:none"],
body[class*="theme-"] #bounty-warning[style*="display: none"],
body[class*="theme-"] #bounty-warning[style*="display:none"],
body[class*="theme-"] #solar-warning[style*="display: none"],
body[class*="theme-"] #solar-warning[style*="display:none"] {
  display: none !important;
}

body.theme-glossy-arcade #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glossy_arcade #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_glossy_arcade #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glossy-arcade #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glossy_arcade #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_glossy_arcade #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glossy-arcade #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glossy_arcade #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_glossy_arcade #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glossy-arcade #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glossy_arcade #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_glossy_arcade #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  background: linear-gradient(180deg, #ff3b30 0%, #c40022 50%, #8a0016 100%) !important;
  border: 3px solid #ff7060 !important;
  border-radius: 9999px !important;
  box-shadow: 0 5px 18px rgba(255, 59, 48, 0.5), inset 0 2px 3px rgba(255, 255, 255, 0.55) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 17px !important;
  letter-spacing: 0.5px !important;
  padding: 8px 28px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Leaderboard (Top-Right) */
body.theme-glossy-arcade #hud-right,
body.theme-glossy_arcade #hud-right,
body.theme-theme_glossy_arcade #hud-right {
  background: linear-gradient(180deg, rgba(8, 32, 84, 0.88) 0%, rgba(3, 16, 48, 0.94) 100%) !important;
  border: 3px solid #00c8ff !important;
  border-radius: 20px !important;
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.3) !important;
  padding: 12px 20px !important;
  min-width: 230px !important;
}

body.theme-glossy-arcade #hud-leaderboard,
body.theme-glossy_arcade #hud-leaderboard,
body.theme-theme_glossy_arcade #hud-leaderboard {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Stats (Right Deck) */
body.theme-glossy-arcade #hud-score,
body.theme-glossy_arcade #hud-score,
body.theme-theme_glossy_arcade #hud-score {
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

body.theme-glossy-arcade #hud-venom,
body.theme-glossy_arcade #hud-venom,
body.theme-theme_glossy_arcade #hud-venom {
  color: #ff3355 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

body.theme-glossy-arcade #hud-speed,
body.theme-glossy_arcade #hud-speed,
body.theme-theme_glossy_arcade #hud-speed {
  color: #ffd000 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

body.theme-glossy-arcade #hud-breed,
body.theme-glossy_arcade #hud-breed,
body.theme-theme_glossy_arcade #hud-breed {
  color: #00d2ff !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

/* Minimap */
body.theme-glossy-arcade #hud-deck-minimap,
body.theme-glossy_arcade #hud-deck-minimap,
body.theme-theme_glossy_arcade #hud-deck-minimap,
body.theme-glossy-arcade #hud-minimap-canvas,
body.theme-glossy_arcade #hud-minimap-canvas,
body.theme-theme_glossy_arcade #hud-minimap-canvas {
  border: 2.5px solid #00c8ff !important;
  border-radius: 14px !important;
}

/* Minimap */
body.theme-glossy-arcade #hud-deck-minimap,
body.theme-glossy_arcade #hud-deck-minimap,
body.theme-theme_glossy_arcade #hud-deck-minimap,
body.theme-glossy-arcade #hud-minimap-canvas,
body.theme-glossy_arcade #hud-minimap-canvas,
body.theme-theme_glossy_arcade #hud-minimap-canvas {
  border: 2px solid #00c8ff !important;
  border-radius: 14px !important;
}

/* ============================================================
   THEME: INDUSTRIAL MECH (Tier 2 Rare Cosmetic)
   Heavy Hazard Steel & Brushed Carbon Chassis Aesthetic
   STRICT 60 FPS PERFORMANCE LOCKED: Zero backdrop-filter, Zero box-shadow
   ============================================================ */
.theme-industrial-mech,
.theme-industrial_mech,
.theme-theme_industrial-mech,
.theme-theme_industrial_mech,
.theme-industrial,
.theme-theme_industrial,
body.theme-industrial-mech,
body.theme-industrial_mech,
body.theme-theme_industrial-mech,
body.theme-theme_industrial_mech,
body.theme-industrial,
body.theme-theme_industrial {
  --hud-bg-color: #141611;
  --hud-deck-bg-image: url('/assets/themes/theme_industrial_mech.webp');
  --hud-border-color: #eab308;
  --hud-divider-color: #ba4e21;
  --hud-accent-color: #eab308;
  --hud-text-color: #eae6d8;
  --hud-text-primary: #eae6d8;
  --hud-text-secondary: #9a9b88;
  --hud-slot-bg: rgba(20, 22, 17, 0.96);
  --hud-slot-border: #3b3f2f;
  --hud-stat-score-color: #bab7a3;
  --hud-stat-venom-color: #ef4444;
  --hud-stat-speed-color: #eab308;
}

/* Industrial Mech Critical 60 FPS Performance Lock */
body.theme-industrial-mech #main-hud-bottom,
body.theme-industrial_mech #main-hud-bottom,
body.theme-theme_industrial_mech #main-hud-bottom,
body.theme-industrial #main-hud-bottom,
.theme-industrial-mech#main-hud-bottom,
.theme-industrial_mech#main-hud-bottom,
body.theme-industrial-mech #hud-bottom-deck,
body.theme-industrial_mech #hud-bottom-deck,
body.theme-theme_industrial_mech #hud-bottom-deck,
body.theme-industrial #hud-bottom-deck,
body.theme-industrial-mech #hud-left,
body.theme-industrial_mech #hud-left,
body.theme-theme_industrial_mech #hud-left,
body.theme-industrial #hud-left,
body.theme-industrial-mech #hud-right,
body.theme-industrial_mech #hud-right,
body.theme-theme_industrial_mech #hud-right,
body.theme-industrial #hud-right,
body.theme-industrial-mech .evo-card,
body.theme-industrial_mech .evo-card,
body.theme-industrial .evo-card,
body.theme-industrial-mech .power-slot,
body.theme-industrial_mech .power-slot,
body.theme-industrial .power-slot,
body.theme-industrial-mech #top-telemetry-panel,
body.theme-industrial_mech #top-telemetry-panel,
body.theme-industrial-mech #top-leaderboard-panel,
body.theme-industrial_mech #top-leaderboard-panel,
body.theme-industrial-mech #minimap-container,
body.theme-industrial_mech #minimap-container,
body.theme-industrial-mech #hud-deck-minimap,
body.theme-industrial_mech #hud-deck-minimap {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Strip drop-shadow and text-shadow */
body.theme-industrial-mech .evo-card .evo-icon-box,
body.theme-industrial_mech .evo-card .evo-icon-box,
body.theme-industrial-mech .power-slot .power-icon svg,
body.theme-industrial_mech .power-slot .power-icon svg,
body.theme-industrial-mech svg,
body.theme-industrial_mech svg {
  filter: none !important;
  -webkit-filter: none !important;
}

body.theme-industrial-mech #hud-time,
body.theme-industrial_mech #hud-time,
body.theme-industrial-mech #meteor-warning,
body.theme-industrial_mech #meteor-warning,
body.theme-industrial-mech .evo-name,
body.theme-industrial_mech .evo-name,
body.theme-industrial-mech #hud-venom,
body.theme-industrial_mech #hud-venom {
  text-shadow: none !important;
}

/* 1. Heavy Mech Floating Bottom Command Deck */
body.theme-industrial-mech #hud-bottom-deck,
body.theme-industrial_mech #hud-bottom-deck,
body.theme-theme_industrial-mech #hud-bottom-deck,
body.theme-theme_industrial_mech #hud-bottom-deck,
body.theme-industrial #hud-bottom-deck,
body.theme-theme_industrial #hud-bottom-deck,
.theme-industrial-mech.hud-bottom-deck,
.theme-industrial_mech.hud-bottom-deck {
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 28px) !important;
  height: 155px !important;
  padding: 0 20px !important;
  border-radius: 16px !important;
  background-color: #141611 !important;
  background-image: url('/assets/themes/theme_industrial_mech.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 3px solid #3b3f2f !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Hazard Stripe Dividers between sections */
body.theme-industrial-mech .hud-deck-divider,
body.theme-industrial_mech .hud-deck-divider,
body.theme-theme_industrial-mech .hud-deck-divider,
body.theme-theme_industrial_mech .hud-deck-divider,
body.theme-industrial .hud-deck-divider {
  width: 14px !important;
  height: 110px !important;
  background: repeating-linear-gradient(45deg, #181913, #181913 8px, #ba4e21 8px, #ba4e21 16px) !important;
  border: 1.5px solid #3b3f2f !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  margin: 0 16px !important;
}

/* 2. Top-Left Telemetry Container */
body.theme-industrial-mech #hud-left,
body.theme-industrial_mech #hud-left,
body.theme-theme_industrial-mech #hud-left,
body.theme-theme_industrial_mech #hud-left,
body.theme-industrial #hud-left {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background-color: #141611 !important;
  background-image: url('/assets/themes/theme_industrial_mech.webp') !important;
  background-size: cover !important;
  background-position: top left !important;
  border: 3px solid #3b3f2f !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 175px !important;
}

body.theme-industrial-mech #hud-telemetry-box,
body.theme-industrial_mech #hud-telemetry-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Exit Button (Industrial Red Steel with Rivet Outline) */
body.theme-industrial-mech #exit-btn,
body.theme-industrial_mech #exit-btn,
body.theme-theme_industrial-mech #exit-btn,
body.theme-theme_industrial_mech #exit-btn,
body.theme-industrial #exit-btn {
  background: linear-gradient(180deg, #991b1b 0%, #5f1010 100%) !important;
  border: 2px solid #ef4444 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 6px 22px !important;
  margin-bottom: 12px !important;
}

/* 3. Top-Right Leaderboard Container */
body.theme-industrial-mech #hud-right,
body.theme-industrial_mech #hud-right,
body.theme-theme_industrial-mech #hud-right,
body.theme-theme_industrial_mech #hud-right,
body.theme-industrial #hud-right {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background-color: #141611 !important;
  background-image: url('/assets/themes/theme_industrial_mech.webp') !important;
  background-size: cover !important;
  background-position: top right !important;
  border: 3px solid #3b3f2f !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 195px !important;
}

body.theme-industrial-mech #hud-leaderboard,
body.theme-industrial_mech #hud-leaderboard {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #eae6d8 !important;
}

/* 4. Hazard Warning Container with Diagonal Hazard Wings */
body.theme-industrial-mech #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial_mech #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial-mech #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial_mech #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial-mech #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial_mech #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial-mech #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-industrial_mech #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  background-color: #141611 !important;
  background-image: url('/assets/themes/theme_industrial_mech.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 3px solid #3b3f2f !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #f97316 !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: 0.8px !important;
  padding: 7px 28px !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-industrial-mech #meteor-warning span,
body.theme-industrial_mech #meteor-warning span {
  color: #fde047 !important;
  font-weight: 900 !important;
}

body.theme-industrial-mech #meteor-warning::before,
body.theme-industrial_mech #meteor-warning::before {
  content: '';
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 14px;
  background: repeating-linear-gradient(45deg, #181913, #181913 6px, #ba4e21 6px, #ba4e21 12px) !important;
  border: 1.5px solid #3b3f2f !important;
  border-radius: 4px;
  box-shadow: none !important;
  pointer-events: none;
}

body.theme-industrial-mech #meteor-warning::after,
body.theme-industrial_mech #meteor-warning::after {
  content: '';
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 14px;
  background: repeating-linear-gradient(-45deg, #181913, #181913 6px, #ba4e21 6px, #ba4e21 12px) !important;
  border: 1.5px solid #3b3f2f !important;
  border-radius: 4px;
  box-shadow: none !important;
  pointer-events: none;
}

/* 5. Evolution Skill Cards & Industrial Stencil Icons */
body.theme-industrial-mech .evo-card,
body.theme-industrial_mech .evo-card,
body.theme-industrial .evo-card {
  width: 95px !important;
  height: 115px !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(20, 22, 17, 0.96) !important;
  background-image: url('/assets/themes/theme_industrial_mech.webp') !important;
  background-size: cover !important;
  border: 2px solid #3b3f2f !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.15s ease !important;
}

body.theme-industrial-mech .evo-card .evo-icon-box,
body.theme-industrial_mech .evo-card .evo-icon-box,
body.theme-industrial-mech .evo-icon-z,
body.theme-industrial_mech .evo-icon-z,
body.theme-industrial-mech .evo-icon-x,
body.theme-industrial_mech .evo-icon-x,
body.theme-industrial-mech .evo-icon-c,
body.theme-industrial_mech .evo-icon-c,
body.theme-industrial-mech .evo-icon-v,
body.theme-industrial_mech .evo-icon-v {
  border: 2px solid #5a6047 !important;
  border-color: #5a6047 !important;
  color: #d6d9c7 !important;
  fill: #d6d9c7 !important;
  filter: none !important;
  font-size: 32px !important;
  box-shadow: none !important;
}

body.theme-industrial-mech .evo-card .evo-icon-box i,
body.theme-industrial_mech .evo-card .evo-icon-box i {
  color: #d6d9c7 !important;
}

body.theme-industrial-mech .evo-name,
body.theme-industrial_mech .evo-name {
  color: #d6d9c7 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px !important;
  text-shadow: none !important;
}

body.theme-industrial-mech .evo-req,
body.theme-industrial_mech .evo-req {
  color: #8e917d !important;
  font-weight: 600 !important;
  font-size: 9px !important;
}

body.theme-industrial-mech .evo-key-badge,
body.theme-industrial_mech .evo-key-badge {
  border: 1.5px solid #5a6047 !important;
  background: rgba(20, 22, 17, 0.95) !important;
  color: #d6d9c7 !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  width: 28px !important;
  height: 22px !important;
}

/* 6. Power-Up Slots */
body.theme-industrial-mech .power-slot,
body.theme-industrial_mech .power-slot,
body.theme-industrial .power-slot {
  width: 66px !important;
  height: 66px !important;
  background-color: rgba(20, 22, 17, 0.96) !important;
  background-image: url('/assets/themes/theme_industrial_mech.webp') !important;
  background-size: cover !important;
  border: 2px solid #beb18f !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.theme-industrial-mech .slot-counter,
body.theme-industrial_mech .slot-counter {
  background: #ef4444 !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 9999px !important;
  top: -8px !important;
  right: -8px !important;
}

body.theme-industrial-mech .slot-key,
body.theme-industrial_mech .slot-key {
  color: #bab7a3 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

/* 7. Typography & Metrics */
body.theme-industrial-mech #hud-time,
body.theme-industrial_mech #hud-time {
  color: #eae6d8 !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-shadow: none !important;
  margin-bottom: 8px !important;
}

body.theme-industrial-mech #hud-metrics-container,
body.theme-industrial_mech #hud-metrics-container {
  color: #a8a994 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

body.theme-industrial-mech #hud-metrics-container i,
body.theme-industrial_mech #hud-metrics-container i,
body.theme-industrial-mech #killsCounter,
body.theme-industrial_mech #killsCounter,
body.theme-industrial-mech #fpsCounter,
body.theme-industrial_mech #fpsCounter,
body.theme-industrial-mech #pingCounter,
body.theme-industrial_mech #pingCounter {
  color: #eae6d8 !important;
}

body.theme-industrial-mech #hud-score,
body.theme-industrial_mech #hud-score {
  color: #bab7a3 !important;
  font-weight: 900 !important;
  font-size: 16px !important;
}

body.theme-industrial-mech #hud-venom,
body.theme-industrial_mech #hud-venom {
  color: #ef4444 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
}

body.theme-industrial-mech #hud-speed,
body.theme-industrial_mech #hud-speed {
  color: #eab308 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
}

body.theme-industrial-mech #hud-breed,
body.theme-industrial_mech #hud-breed {
  color: #bab7a3 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

body.theme-industrial-mech #hud-deck-minimap,
body.theme-industrial_mech #hud-deck-minimap {
  border: 2px solid #5a6047 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

/* ============================================================
   THEME: GLACIAL PERMAFROST (Tier 3 Epic Cosmetic)
   Sub-Zero Crystalline Frost & Arctic Ice Aesthetic
   STRICT 60 FPS PERFORMANCE LOCKED: Zero backdrop-filter, Zero box-shadow
   ============================================================ */
.theme-glacial-permafrost,
.theme-glacial_permafrost,
.theme-theme_glacial-permafrost,
.theme-theme_glacial_permafrost,
.theme-glacial,
.theme-theme_glacial,
body.theme-glacial-permafrost,
body.theme-glacial_permafrost,
body.theme-theme_glacial-permafrost,
body.theme-theme_glacial_permafrost,
body.theme-glacial,
body.theme-theme_glacial {
  --hud-bg-color: #e0f2fe;
  --hud-deck-bg-image: url('/assets/themes/theme_glacial_permafrost.webp');
  --hud-border-color: #38bdf8;
  --hud-divider-color: #bae6fd;
  --hud-accent-color: #0284c7;
  --hud-text-color: #0369a1;
  --hud-text-primary: #0369a1;
  --hud-text-secondary: #0284c7;
  --hud-slot-bg: rgba(255, 255, 255, 0.94);
  --hud-slot-border: #38bdf8;
  --hud-stat-score-color: #0284c7;
  --hud-stat-venom-color: #ef4444;
  --hud-stat-speed-color: #f59e0b;
}

/* Glacial Permafrost Critical 60 FPS Performance Lock */
body.theme-glacial-permafrost #main-hud-bottom,
body.theme-glacial_permafrost #main-hud-bottom,
body.theme-theme_glacial_permafrost #main-hud-bottom,
body.theme-glacial #main-hud-bottom,
.theme-glacial-permafrost#main-hud-bottom,
.theme-glacial_permafrost#main-hud-bottom,
body.theme-glacial-permafrost #hud-bottom-deck,
body.theme-glacial_permafrost #hud-bottom-deck,
body.theme-theme_glacial_permafrost #hud-bottom-deck,
body.theme-glacial #hud-bottom-deck,
body.theme-glacial-permafrost #hud-left,
body.theme-glacial_permafrost #hud-left,
body.theme-theme_glacial_permafrost #hud-left,
body.theme-glacial #hud-left,
body.theme-glacial-permafrost #hud-right,
body.theme-glacial_permafrost #hud-right,
body.theme-theme_glacial_permafrost #hud-right,
body.theme-glacial #hud-right,
body.theme-glacial-permafrost .evo-card,
body.theme-glacial_permafrost .evo-card,
body.theme-glacial .evo-card,
body.theme-glacial-permafrost .power-slot,
body.theme-glacial_permafrost .power-slot,
body.theme-glacial .power-slot,
body.theme-glacial-permafrost #top-telemetry-panel,
body.theme-glacial_permafrost #top-telemetry-panel,
body.theme-glacial-permafrost #top-leaderboard-panel,
body.theme-glacial_permafrost #top-leaderboard-panel,
body.theme-glacial-permafrost #minimap-container,
body.theme-glacial_permafrost #minimap-container,
body.theme-glacial-permafrost #hud-deck-minimap,
body.theme-glacial_permafrost #hud-deck-minimap {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Strip drop-shadow and text-shadow */
body.theme-glacial-permafrost .evo-card .evo-icon-box,
body.theme-glacial_permafrost .evo-card .evo-icon-box,
body.theme-glacial-permafrost .power-slot .power-icon svg,
body.theme-glacial_permafrost .power-slot .power-icon svg,
body.theme-glacial-permafrost svg,
body.theme-glacial_permafrost svg {
  filter: none !important;
  -webkit-filter: none !important;
}

body.theme-glacial-permafrost #hud-time,
body.theme-glacial_permafrost #hud-time,
body.theme-glacial-permafrost #meteor-warning,
body.theme-glacial_permafrost #meteor-warning,
body.theme-glacial-permafrost .evo-name,
body.theme-glacial_permafrost .evo-name,
body.theme-glacial-permafrost #hud-venom,
body.theme-glacial_permafrost #hud-venom {
  text-shadow: none !important;
}

/* 1. Floating Arctic Ice Bottom Command Deck */
body.theme-glacial-permafrost #hud-bottom-deck,
body.theme-glacial_permafrost #hud-bottom-deck,
body.theme-theme_glacial-permafrost #hud-bottom-deck,
body.theme-theme_glacial_permafrost #hud-bottom-deck,
body.theme-glacial #hud-bottom-deck,
body.theme-theme_glacial #hud-bottom-deck,
.theme-glacial-permafrost.hud-bottom-deck,
.theme-glacial_permafrost.hud-bottom-deck {
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 28px) !important;
  height: 155px !important;
  padding: 0 20px !important;
  border-radius: 20px !important;
  background: rgba(240, 249, 255, 0.94) !important;
  background-color: #f0f9ff !important;
  background-image: none !important;
  border: 3px solid #38bdf8 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Subtle Ice Blue Dividers between sections */
body.theme-glacial-permafrost .hud-deck-divider,
body.theme-glacial_permafrost .hud-deck-divider,
body.theme-theme_glacial-permafrost .hud-deck-divider,
body.theme-theme_glacial_permafrost .hud-deck-divider,
body.theme-glacial .hud-deck-divider {
  width: 2px !important;
  height: 110px !important;
  background: #bae6fd !important;
  box-shadow: none !important;
  margin: 0 16px !important;
}

/* 2. Top-Left Telemetry Container */
body.theme-glacial-permafrost #hud-left,
body.theme-glacial_permafrost #hud-left,
body.theme-theme_glacial-permafrost #hud-left,
body.theme-theme_glacial_permafrost #hud-left,
body.theme-glacial #hud-left {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 3px solid #38bdf8 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 175px !important;
}

body.theme-glacial-permafrost #hud-telemetry-box,
body.theme-glacial_permafrost #hud-telemetry-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Exit Button (Vibrant Solid Crimson Red Button matching Reference) */
body.theme-glacial-permafrost #exit-btn,
body.theme-glacial_permafrost #exit-btn,
body.theme-theme_glacial-permafrost #exit-btn,
body.theme-theme_glacial_permafrost #exit-btn,
body.theme-glacial #exit-btn {
  background: #ef4444 !important;
  background-color: #ef4444 !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 13.5px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 8px 24px !important;
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

/* 3. Top-Right Leaderboard Container */
body.theme-glacial-permafrost #hud-right,
body.theme-glacial_permafrost #hud-right,
body.theme-theme_glacial-permafrost #hud-right,
body.theme-theme_glacial_permafrost #hud-right,
body.theme-glacial #hud-right {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 3px solid #38bdf8 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 195px !important;
}

body.theme-glacial-permafrost #hud-leaderboard,
body.theme-glacial_permafrost #hud-leaderboard {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0f172a !important;
}

/* 4. Hazard Warning Container (Clean Red & White Pill) */
body.theme-glacial-permafrost #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial_permafrost #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial-permafrost #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial_permafrost #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial-permafrost #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial_permafrost #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial-permafrost #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-glacial_permafrost #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  top: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 2px solid #ef4444 !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ef4444 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  padding: 5px 24px !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

body.theme-glacial-permafrost #meteor-warning .warning-icon,
body.theme-glacial_permafrost #meteor-warning .warning-icon {
  display: none !important;
}

body.theme-glacial-permafrost #meteor-warning span,
body.theme-glacial_permafrost #meteor-warning span {
  color: #ef4444 !important;
  font-weight: 900 !important;
}

/* 5. Evolution Skill Cards & Arctic Color-Coded Icons */
body.theme-glacial-permafrost .evo-card,
body.theme-glacial_permafrost .evo-card,
body.theme-glacial .evo-card {
  width: 95px !important;
  height: 118px !important;
  border-radius: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.96) !important;
  background-color: #ffffff !important;
  border: 2px solid #bae6fd !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.15s ease !important;
}

body.theme-glacial-permafrost .evo-card .evo-icon-box,
body.theme-glacial_permafrost .evo-card .evo-icon-box {
  filter: none !important;
  font-size: 32px !important;
  box-shadow: none !important;
}

body.theme-glacial-permafrost .evo-icon-z,
body.theme-glacial_permafrost .evo-icon-z {
  border: 2.5px solid #00b4d8 !important;
  color: #00b4d8 !important;
}
body.theme-glacial-permafrost .evo-icon-x,
body.theme-glacial_permafrost .evo-icon-x {
  border: 2.5px solid #9333ea !important;
  color: #9333ea !important;
}
body.theme-glacial-permafrost .evo-icon-c,
body.theme-glacial_permafrost .evo-icon-c {
  border: 2.5px solid #0d9488 !important;
  color: #0d9488 !important;
}
body.theme-glacial-permafrost .evo-icon-v,
body.theme-glacial_permafrost .evo-icon-v {
  border: 2.5px solid #f59e0b !important;
  color: #f59e0b !important;
}

body.theme-glacial-permafrost .evo-name,
body.theme-glacial_permafrost .evo-name {
  color: #0369a1 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  margin-top: 4px !important;
}

body.theme-glacial-permafrost .evo-req,
body.theme-glacial_permafrost .evo-req {
  color: #0284c7 !important;
  font-weight: 700 !important;
  font-size: 9.5px !important;
  margin-bottom: 5px !important;
}

body.theme-glacial-permafrost .evo-key-badge,
body.theme-glacial_permafrost .evo-key-badge {
  border: 2px solid #38bdf8 !important;
  background: #ffffff !important;
  color: #0284c7 !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  width: 28px !important;
  height: 22px !important;
  font-size: 12px !important;
}

/* 6. Power-Up Slots */
body.theme-glacial-permafrost .power-slot,
body.theme-glacial_permafrost .power-slot,
body.theme-glacial .power-slot {
  width: 66px !important;
  height: 66px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  background-color: #ffffff !important;
  border: 2px solid #bae6fd !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

body.theme-glacial-permafrost .slot-counter,
body.theme-glacial_permafrost .slot-counter {
  background: #ef4444 !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: -8px !important;
  right: -8px !important;
}

body.theme-glacial-permafrost .slot-key,
body.theme-glacial_permafrost .slot-key {
  color: #0284c7 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

/* 7. Typography & Metrics */
body.theme-glacial-permafrost #hud-time,
body.theme-glacial_permafrost #hud-time {
  color: #0c4a6e !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-shadow: none !important;
  margin-bottom: 8px !important;
}

body.theme-glacial-permafrost #hud-metrics-container,
body.theme-glacial_permafrost #hud-metrics-container {
  color: #0369a1 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

body.theme-glacial-permafrost #killsCounter,
body.theme-glacial_permafrost #killsCounter,
body.theme-glacial-permafrost #fpsCounter,
body.theme-glacial_permafrost #fpsCounter,
body.theme-glacial-permafrost #pingCounter,
body.theme-glacial_permafrost #pingCounter {
  color: #0c4a6e !important;
}

body.theme-glacial-permafrost .hud-deck-stats {
  min-width: 185px !important;
  line-height: 1.4 !important;
}

body.theme-glacial-permafrost #hud-score,
body.theme-glacial_permafrost #hud-score {
  color: #0284c7 !important;
  font-weight: 900 !important;
  font-size: 19px !important;
}

body.theme-glacial-permafrost #hud-venom,
body.theme-glacial_permafrost #hud-venom {
  color: #ef4444 !important;
  font-weight: 900 !important;
  font-size: 16.5px !important;
}

body.theme-glacial-permafrost #hud-speed,
body.theme-glacial_permafrost #hud-speed {
  color: #d97706 !important;
  font-weight: 900 !important;
  font-size: 16.5px !important;
}

body.theme-glacial-permafrost #hud-breed,
body.theme-glacial_permafrost #hud-breed {
  color: #0284c7 !important;
  font-weight: 900 !important;
  font-size: 16.5px !important;
}

body.theme-glacial-permafrost #hud-deck-minimap,
body.theme-glacial_permafrost #hud-deck-minimap {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ============================================================
   THEME: VOLCANIC CORE (Tier 4 Legendary Cosmetic)
   Molten Magma Fissures & Black Obsidian Armor Plating
   STRICT 60 FPS PERFORMANCE LOCKED: Zero backdrop-filter, Zero box-shadow
   ============================================================ */
.theme-volcanic-core,
.theme-volcanic_core,
.theme-theme_volcanic-core,
.theme-theme_volcanic_core,
.theme-volcanic,
.theme-theme_volcanic,
body.theme-volcanic-core,
body.theme-volcanic_core,
body.theme-theme_volcanic-core,
body.theme-theme_volcanic_core,
body.theme-volcanic,
body.theme-theme_volcanic {
  --hud-bg-color: #140a08;
  --hud-deck-bg-image: url('/assets/themes/theme_volcanic_core.webp');
  --hud-border-color: #ea580c;
  --hud-divider-color: #ea580c;
  --hud-accent-color: #f97316;
  --hud-text-color: #fef2f2;
  --hud-text-primary: #fef2f2;
  --hud-text-secondary: #fdba74;
  --hud-slot-bg: rgba(20, 10, 8, 0.96);
  --hud-slot-border: #7c2d12;
  --hud-stat-score-color: #fef2f2;
  --hud-stat-venom-color: #ef4444;
  --hud-stat-speed-color: #f97316;
}

/* 1. Volcanic Core Critical 60 FPS Performance Lock */
body.theme-volcanic-core #main-hud-bottom,
body.theme-volcanic_core #main-hud-bottom,
body.theme-volcanic #main-hud-bottom,
body.theme-theme_volcanic #main-hud-bottom,
body.theme-volcanic-core #hud-bottom-deck,
body.theme-volcanic_core #hud-bottom-deck,
body.theme-volcanic #hud-bottom-deck,
body.theme-theme_volcanic #hud-bottom-deck,
body.theme-volcanic-core #hud-left,
body.theme-volcanic_core #hud-left,
body.theme-volcanic #hud-left,
body.theme-theme_volcanic #hud-left,
body.theme-volcanic-core #hud-right,
body.theme-volcanic_core #hud-right,
body.theme-volcanic #hud-right,
body.theme-theme_volcanic #hud-right,
body.theme-volcanic-core #meteor-warning,
body.theme-volcanic_core #meteor-warning,
body.theme-volcanic #meteor-warning,
body.theme-theme_volcanic #meteor-warning,
body.theme-volcanic-core .evo-card,
body.theme-volcanic_core .evo-card,
body.theme-volcanic .evo-card,
body.theme-volcanic-core .power-slot,
body.theme-volcanic_core .power-slot,
body.theme-volcanic .power-slot,
body.theme-volcanic-core #top-telemetry-panel,
body.theme-volcanic_core #top-telemetry-panel,
body.theme-volcanic #top-telemetry-panel {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* 2. HUD Bottom Deck: Molten Magma Obsidian Frame */
body.theme-volcanic-core #hud-bottom-deck,
body.theme-volcanic_core #hud-bottom-deck,
body.theme-volcanic #hud-bottom-deck,
body.theme-theme_volcanic #hud-bottom-deck,
body.theme-theme_volcanic-core #hud-bottom-deck,
body.theme-theme_volcanic_core #hud-bottom-deck,
.theme-volcanic-core.hud-bottom-deck,
.theme-volcanic_core.hud-bottom-deck,
.theme-volcanic.hud-bottom-deck,
.theme-theme_volcanic.hud-bottom-deck,
.theme-theme_volcanic-core.hud-bottom-deck,
.theme-theme_volcanic_core.hud-bottom-deck,
.theme-volcanic-core#hud-bottom-deck,
.theme-volcanic#hud-bottom-deck {
  background: #140a08 !important;
  background-color: #140a08 !important;
  background-image: url('/assets/themes/theme_volcanic_core.webp') !important;
  background-size: cover !important;
  background-position: center bottom !important;
  border: 3px solid #ea580c !important;
  border-bottom: none !important;
  border-radius: 18px 18px 0 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 3. Top-Left HUD (Time, Stats, Exit Button) */
body.theme-volcanic-core #hud-left,
body.theme-volcanic_core #hud-left,
body.theme-volcanic #hud-left,
body.theme-theme_volcanic #hud-left,
body.theme-theme_volcanic-core #hud-left {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: rgba(20, 10, 8, 0.95) !important;
  background-color: #140a08 !important;
  background-image: none !important;
  border: 3px solid #ea580c !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 170px !important;
}

body.theme-volcanic-core #hud-timer-container,
body.theme-volcanic_core #hud-timer-container,
body.theme-volcanic #hud-timer-container {
  background: transparent !important;
  border: none !important;
}

body.theme-volcanic-core #hud-time-val,
body.theme-volcanic_core #hud-time-val,
body.theme-volcanic #hud-time-val {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 20px !important;
}

body.theme-volcanic-core #hud-left .hud-stat-row,
body.theme-volcanic_core #hud-left .hud-stat-row,
body.theme-volcanic #hud-left .hud-stat-row,
body.theme-volcanic-core #hud-left div,
body.theme-volcanic_core #hud-left div,
body.theme-volcanic #hud-left div {
  color: #fdba74 !important;
  font-weight: 700 !important;
}

/* Exit Button: Crimson Red Button with Molten Highlight */
body.theme-volcanic-core #exit-btn,
body.theme-volcanic_core #exit-btn,
body.theme-volcanic #exit-btn,
body.theme-theme_volcanic #exit-btn,
body.theme-theme_volcanic-core #exit-btn {
  background: #dc2626 !important;
  background-color: #dc2626 !important;
  border: 2px solid #ef4444 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 13.5px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 8px 24px !important;
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

/* 4. Top-Right Leaderboard Container */
body.theme-volcanic-core #hud-right,
body.theme-volcanic_core #hud-right,
body.theme-volcanic #hud-right,
body.theme-theme_volcanic #hud-right,
body.theme-theme_volcanic-core #hud-right {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(20, 10, 8, 0.95) !important;
  background-color: #140a08 !important;
  background-image: none !important;
  border: 3px solid #ea580c !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 195px !important;
}

body.theme-volcanic-core #hud-leaderboard,
body.theme-volcanic_core #hud-leaderboard,
body.theme-volcanic #hud-leaderboard {
  background: transparent !important;
  border: none !important;
}

/* 5. Top Center Hazard Pill: Event Warnings (Strictly Gated when Active Only) */
body.theme-volcanic-core #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic_core #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic-core #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic-core #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic_core #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic-core #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic-core #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic_core #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic-core #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic-core #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic_core #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-volcanic #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_volcanic-core #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  background: rgba(20, 10, 8, 0.95) !important;
  background-color: #140a08 !important;
  border: 2px solid #ea580c !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ef4444 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  padding: 5px 24px !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

body.theme-volcanic-core #meteor-warning span,
body.theme-volcanic_core #meteor-warning span,
body.theme-volcanic #meteor-warning span,
body.theme-volcanic-core #toxic-warning span,
body.theme-volcanic_core #toxic-warning span,
body.theme-volcanic #toxic-warning span,
body.theme-volcanic-core #bounty-warning span,
body.theme-volcanic_core #bounty-warning span,
body.theme-volcanic #bounty-warning span,
body.theme-volcanic-core #solar-warning span,
body.theme-volcanic_core #solar-warning span,
body.theme-volcanic #solar-warning span {
  color: #ef4444 !important;
  font-weight: 900 !important;
}

/* 6. Evolution Skill Cards & Saturated Icons */
body.theme-volcanic-core .evo-card,
body.theme-volcanic_core .evo-card,
body.theme-volcanic .evo-card,
body.theme-theme_volcanic .evo-card {
  width: 95px !important;
  height: 118px !important;
  border-radius: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(20, 10, 8, 0.96) !important;
  background-color: #140a08 !important;
  border: 2px solid #7c2d12 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.15s ease !important;
}

body.theme-volcanic-core .evo-card .evo-icon-box,
body.theme-volcanic_core .evo-card .evo-icon-box,
body.theme-volcanic .evo-card .evo-icon-box {
  filter: none !important;
  font-size: 32px !important;
  box-shadow: none !important;
}

body.theme-volcanic-core .evo-icon-z,
body.theme-volcanic_core .evo-icon-z,
body.theme-volcanic .evo-icon-z {
  border: 2.5px solid #00d2ff !important;
  color: #00d2ff !important;
}
body.theme-volcanic-core .evo-icon-x,
body.theme-volcanic_core .evo-icon-x,
body.theme-volcanic .evo-icon-x {
  border: 2.5px solid #c084fc !important;
  color: #c084fc !important;
}
body.theme-volcanic-core .evo-icon-c,
body.theme-volcanic_core .evo-icon-c,
body.theme-volcanic .evo-icon-c {
  border: 2.5px solid #2dd4bf !important;
  color: #2dd4bf !important;
}
body.theme-volcanic-core .evo-icon-v,
body.theme-volcanic_core .evo-icon-v,
body.theme-volcanic .evo-icon-v {
  border: 2.5px solid #f59e0b !important;
  color: #f59e0b !important;
}

body.theme-volcanic-core .evo-card .evo-title,
body.theme-volcanic_core .evo-card .evo-title,
body.theme-volcanic .evo-card .evo-title {
  color: #fef2f2 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
}

body.theme-volcanic-core .evo-card .evo-req,
body.theme-volcanic_core .evo-card .evo-req,
body.theme-volcanic .evo-card .evo-req {
  color: #fdba74 !important;
  font-size: 9px !important;
}

body.theme-volcanic-core .evo-card .evo-key-badge,
body.theme-volcanic_core .evo-card .evo-key-badge,
body.theme-volcanic .evo-card .evo-key-badge {
  background: rgba(30, 15, 12, 0.9) !important;
  border: 1.5px solid #ea580c !important;
  color: #fef2f2 !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

/* 7. Center Power-Up Slots */
body.theme-volcanic-core .power-slot,
body.theme-volcanic_core .power-slot,
body.theme-volcanic .power-slot,
body.theme-theme_volcanic .power-slot {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  background: rgba(20, 10, 8, 0.96) !important;
  background-color: #140a08 !important;
  border: 2px solid #7c2d12 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative !important;
}

body.theme-volcanic-core .power-slot.active,
body.theme-volcanic_core .power-slot.active,
body.theme-volcanic .power-slot.active {
  border-color: #ea580c !important;
}

body.theme-volcanic-core .power-slot-count,
body.theme-volcanic_core .power-slot-count,
body.theme-volcanic .power-slot-count {
  background: #ef4444 !important;
  border: 1.5px solid #dc2626 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

/* 8. Stats & Breed Typography */
body.theme-volcanic-core #hud-score,
body.theme-volcanic_core #hud-score,
body.theme-volcanic #hud-score {
  color: #fef2f2 !important;
  font-weight: 900 !important;
  font-size: 15.5px !important;
}

body.theme-volcanic-core #hud-venom,
body.theme-volcanic_core #hud-venom,
body.theme-volcanic #hud-venom {
  color: #ef4444 !important;
  font-weight: 900 !important;
  font-size: 14.5px !important;
}

body.theme-volcanic-core #hud-speed,
body.theme-volcanic_core #hud-speed,
body.theme-volcanic #hud-speed {
  color: #f97316 !important;
  font-weight: 900 !important;
  font-size: 14.5px !important;
}

body.theme-volcanic-core #hud-breed,
body.theme-volcanic_core #hud-breed,
body.theme-volcanic #hud-breed {
  color: #00d2ff !important;
  font-weight: 900 !important;
  font-size: 16.5px !important;
}

body.theme-volcanic-core #hud-deck-minimap,
body.theme-volcanic_core #hud-deck-minimap,
body.theme-volcanic #hud-deck-minimap {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* ============================================================
   THEME: SOLARPUNK GREENHOUSE (Tier 4 Legendary Cosmetic)
   Luminous High-Tech Botanical Sanctuary & Sunlight Gold Framing
   STRICT 60 FPS PERFORMANCE LOCKED: Zero backdrop-filter, Zero box-shadow
   ============================================================ */
.theme-solarpunk-greenhouse,
.theme-solarpunk_greenhouse,
.theme-theme_solarpunk-greenhouse,
.theme-theme_solarpunk_greenhouse,
.theme-solarpunk,
.theme-theme_solarpunk,
.theme-greenhouse,
.theme-theme_greenhouse,
body.theme-solarpunk-greenhouse,
body.theme-solarpunk_greenhouse,
body.theme-theme_solarpunk-greenhouse,
body.theme-theme_solarpunk_greenhouse,
body.theme-solarpunk,
body.theme-theme_solarpunk,
body.theme-greenhouse,
body.theme-theme_greenhouse {
  --hud-bg-color: #faf6eb;
  --hud-deck-bg-image: url('/assets/themes/theme_solarpunk_greenhouse.webp');
  --hud-border-color: #d4af37;
  --hud-divider-color: #c5a059;
  --hud-accent-color: #16a34a;
  --hud-text-color: #1c281e;
  --hud-text-primary: #1c281e;
  --hud-text-secondary: #4b5563;
  --hud-slot-bg: #252019;
  --hud-slot-border: #9c7c38;
  --hud-stat-score-color: #1e293b;
  --hud-stat-venom-color: #dc2626;
  --hud-stat-speed-color: #d97706;
}

/* 1. Solarpunk Greenhouse Critical 60 FPS Performance Lock */
body.theme-solarpunk-greenhouse #main-hud-bottom,
body.theme-solarpunk_greenhouse #main-hud-bottom,
body.theme-solarpunk #main-hud-bottom,
body.theme-greenhouse #main-hud-bottom,
body.theme-theme_solarpunk #main-hud-bottom,
body.theme-solarpunk-greenhouse #hud-bottom-deck,
body.theme-solarpunk_greenhouse #hud-bottom-deck,
body.theme-solarpunk #hud-bottom-deck,
body.theme-greenhouse #hud-bottom-deck,
body.theme-theme_solarpunk #hud-bottom-deck,
body.theme-solarpunk-greenhouse #hud-left,
body.theme-solarpunk_greenhouse #hud-left,
body.theme-solarpunk #hud-left,
body.theme-greenhouse #hud-left,
body.theme-theme_solarpunk #hud-left,
body.theme-solarpunk-greenhouse #hud-right,
body.theme-solarpunk_greenhouse #hud-right,
body.theme-solarpunk #hud-right,
body.theme-greenhouse #hud-right,
body.theme-theme_solarpunk #hud-right,
body.theme-solarpunk-greenhouse #meteor-warning,
body.theme-solarpunk_greenhouse #meteor-warning,
body.theme-solarpunk #meteor-warning,
body.theme-solarpunk-greenhouse .evo-card,
body.theme-solarpunk_greenhouse .evo-card,
body.theme-solarpunk .evo-card,
body.theme-greenhouse .evo-card,
body.theme-solarpunk-greenhouse .power-slot,
body.theme-solarpunk_greenhouse .power-slot,
body.theme-solarpunk .power-slot,
body.theme-greenhouse .power-slot,
body.theme-solarpunk-greenhouse #power-hotbar,
body.theme-solarpunk_greenhouse #power-hotbar,
body.theme-solarpunk #power-hotbar,
body.theme-solarpunk-greenhouse #top-telemetry-panel,
body.theme-solarpunk_greenhouse #top-telemetry-panel,
body.theme-solarpunk #top-telemetry-panel {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* 2. Floating Luminous Limestone Bottom Command Deck */
body.theme-solarpunk-greenhouse #hud-bottom-deck,
body.theme-solarpunk_greenhouse #hud-bottom-deck,
body.theme-solarpunk #hud-bottom-deck,
body.theme-greenhouse #hud-bottom-deck,
body.theme-theme_solarpunk #hud-bottom-deck,
body.theme-theme_solarpunk-greenhouse #hud-bottom-deck,
body.theme-theme_solarpunk_greenhouse #hud-bottom-deck,
.theme-solarpunk-greenhouse.hud-bottom-deck,
.theme-solarpunk_greenhouse.hud-bottom-deck,
.theme-solarpunk.hud-bottom-deck,
.theme-greenhouse.hud-bottom-deck,
.theme-theme_solarpunk.hud-bottom-deck,
.theme-theme_solarpunk-greenhouse.hud-bottom-deck,
.theme-solarpunk-greenhouse#hud-bottom-deck,
.theme-solarpunk#hud-bottom-deck {
  bottom: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 28px) !important;
  height: 155px !important;
  padding: 0 16px !important;
  border-radius: 20px !important;
  background: #faf6eb !important;
  background-color: #faf6eb !important;
  background-image: none !important;
  border: 3.5px solid #d4af37 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 30 !important;
}

/* Sunlight Gold Dividers between Deck Sections */
body.theme-solarpunk-greenhouse .hud-deck-divider,
body.theme-solarpunk_greenhouse .hud-deck-divider,
body.theme-solarpunk .hud-deck-divider,
body.theme-greenhouse .hud-deck-divider,
body.theme-theme_solarpunk .hud-deck-divider {
  width: 2px !important;
  height: 110px !important;
  background: #c5a059 !important;
  margin: 0 12px !important;
  box-shadow: none !important;
}

/* 3. Evolution Skill Cards (Left Section) */
body.theme-solarpunk-greenhouse #evo-panel,
body.theme-solarpunk_greenhouse #evo-panel,
body.theme-solarpunk #evo-panel,
body.theme-greenhouse #evo-panel {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.theme-solarpunk-greenhouse .evo-card,
body.theme-solarpunk_greenhouse .evo-card,
body.theme-solarpunk .evo-card,
body.theme-greenhouse .evo-card,
body.theme-theme_solarpunk .evo-card {
  width: 96px !important;
  height: 124px !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #eee8d8 !important;
  background-color: #eee8d8 !important;
  border: 2px solid #bfa15f !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 6px 4px !important;
  transition: transform 0.15s ease !important;
}

body.theme-solarpunk-greenhouse .evo-icon-wrap,
body.theme-solarpunk_greenhouse .evo-icon-wrap,
body.theme-solarpunk .evo-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-solarpunk-greenhouse .evo-icon-box,
body.theme-solarpunk_greenhouse .evo-icon-box,
body.theme-solarpunk .evo-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: #24221c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  box-shadow: none !important;
  filter: none !important;
}

body.theme-solarpunk-greenhouse .evo-icon-z,
body.theme-solarpunk_greenhouse .evo-icon-z,
body.theme-solarpunk .evo-icon-z {
  border: 2px solid #06b6d4 !important;
  color: #06b6d4 !important;
}
body.theme-solarpunk-greenhouse .evo-icon-x,
body.theme-solarpunk_greenhouse .evo-icon-x,
body.theme-solarpunk .evo-icon-x {
  border: 2px solid #a855f7 !important;
  color: #a855f7 !important;
}
body.theme-solarpunk-greenhouse .evo-icon-c,
body.theme-solarpunk_greenhouse .evo-icon-c,
body.theme-solarpunk .evo-icon-c {
  border: 2px solid #10b981 !important;
  color: #10b981 !important;
}
body.theme-solarpunk-greenhouse .evo-icon-v,
body.theme-solarpunk_greenhouse .evo-icon-v,
body.theme-solarpunk .evo-icon-v {
  border: 2px solid #f59e0b !important;
  color: #f59e0b !important;
}

body.theme-solarpunk-greenhouse .evo-label-wrap,
body.theme-solarpunk_greenhouse .evo-label-wrap,
body.theme-solarpunk .evo-label-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-solarpunk-greenhouse .evo-name,
body.theme-solarpunk_greenhouse .evo-name,
body.theme-solarpunk .evo-name,
body.theme-solarpunk-greenhouse .evo-card .evo-title,
body.theme-solarpunk_greenhouse .evo-card .evo-title,
body.theme-solarpunk .evo-card .evo-title {
  color: #1c281e !important;
  font-weight: 900 !important;
  font-size: 10.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
  text-align: center !important;
  margin-top: 2px !important;
}

body.theme-solarpunk-greenhouse .evo-req,
body.theme-solarpunk_greenhouse .evo-req,
body.theme-solarpunk .evo-req {
  color: #4b5563 !important;
  font-weight: 700 !important;
  font-size: 8.5px !important;
  text-align: center !important;
  margin-top: 1px !important;
  white-space: nowrap !important;
}

body.theme-solarpunk-greenhouse .evo-key-badge,
body.theme-solarpunk_greenhouse .evo-key-badge,
body.theme-solarpunk .evo-key-badge {
  background: #faf6eb !important;
  border: 1.5px solid #bfa15f !important;
  color: #1c281e !important;
  font-weight: 900 !important;
  border-radius: 5px !important;
  width: 26px !important;
  height: 20px !important;
  font-size: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

/* 4. Center Power-Up Hotbar Inset Tray */
body.theme-solarpunk-greenhouse #power-hotbar,
body.theme-solarpunk_greenhouse #power-hotbar,
body.theme-solarpunk #power-hotbar,
body.theme-greenhouse #power-hotbar,
body.theme-theme_solarpunk #power-hotbar {
  background: #dcd4c0 !important;
  background-color: #dcd4c0 !important;
  border: 2px solid #b8a88a !important;
  border-radius: 14px !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: none !important;
}

body.theme-solarpunk-greenhouse .hotbar-col,
body.theme-solarpunk_greenhouse .hotbar-col,
body.theme-solarpunk .hotbar-col,
body.theme-greenhouse .hotbar-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

body.theme-solarpunk-greenhouse .power-slot,
body.theme-solarpunk_greenhouse .power-slot,
body.theme-solarpunk .power-slot,
body.theme-greenhouse .power-slot,
body.theme-theme_solarpunk .power-slot {
  width: 58px !important;
  height: 58px !important;
  border-radius: 10px !important;
  background: #252019 !important;
  background-color: #252019 !important;
  border: 2.5px solid #9c7c38 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-solarpunk-greenhouse .power-slot.active,
body.theme-solarpunk_greenhouse .power-slot.active,
body.theme-solarpunk .power-slot.active {
  border-color: #d4af37 !important;
}

/* Slot Counter: Crimson Circular Badge */
body.theme-solarpunk-greenhouse .slot-counter,
body.theme-solarpunk_greenhouse .slot-counter,
body.theme-solarpunk .slot-counter,
body.theme-greenhouse .slot-counter,
body.theme-solarpunk-greenhouse .power-slot-count,
body.theme-solarpunk_greenhouse .power-slot-count,
body.theme-solarpunk .power-slot-count {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 9999px !important;
  background: #ef4444 !important;
  background-color: #ef4444 !important;
  border: 1.5px solid #ffffff !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  z-index: 10 !important;
}

/* Slot Key Number Below (1, 2, 3, 4, 5, 6) */
body.theme-solarpunk-greenhouse .slot-key,
body.theme-solarpunk_greenhouse .slot-key,
body.theme-solarpunk .slot-key,
body.theme-greenhouse .slot-key,
body.theme-solarpunk-greenhouse .power-slot-key,
body.theme-solarpunk_greenhouse .power-slot-key,
body.theme-solarpunk .power-slot-key {
  color: #1c281e !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  margin-top: 5px !important;
  text-align: center !important;
}

/* 5. Right Player Stats Panel */
body.theme-solarpunk-greenhouse #hud-stats-panel,
body.theme-solarpunk_greenhouse #hud-stats-panel,
body.theme-solarpunk #hud-stats-panel,
body.theme-greenhouse #hud-stats-panel {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 140px !important;
}

body.theme-solarpunk-greenhouse #hud-score,
body.theme-solarpunk_greenhouse #hud-score,
body.theme-solarpunk #hud-score,
body.theme-greenhouse #hud-score {
  color: #1e293b !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
}

body.theme-solarpunk-greenhouse #hud-venom,
body.theme-solarpunk_greenhouse #hud-venom,
body.theme-solarpunk #hud-venom,
body.theme-greenhouse #hud-venom {
  color: #dc2626 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
}

body.theme-solarpunk-greenhouse #hud-speed,
body.theme-solarpunk_greenhouse #hud-speed,
body.theme-solarpunk #hud-speed,
body.theme-greenhouse #hud-speed {
  color: #d97706 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
}

body.theme-solarpunk-greenhouse #hud-breed,
body.theme-solarpunk_greenhouse #hud-breed,
body.theme-solarpunk #hud-breed,
body.theme-greenhouse #hud-breed {
  color: #0284c7 !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
}

/* 6. Minimap Container (Far Right of Deck) */
body.theme-solarpunk-greenhouse #hud-deck-minimap,
body.theme-solarpunk_greenhouse #hud-deck-minimap,
body.theme-solarpunk #hud-deck-minimap,
body.theme-greenhouse #hud-deck-minimap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 140px !important;
  height: 140px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 7. Top-Left HUD (Time, Stats, Exit Button) */
body.theme-solarpunk-greenhouse #hud-left,
body.theme-solarpunk_greenhouse #hud-left,
body.theme-solarpunk #hud-left,
body.theme-greenhouse #hud-left,
body.theme-theme_solarpunk #hud-left,
body.theme-theme_solarpunk-greenhouse #hud-left {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: #faf6eb !important;
  background-color: #faf6eb !important;
  background-image: none !important;
  border: 3.5px solid #d4af37 !important;
  border-radius: 18px !important;
  padding: 12px 16px !important;
  min-width: 175px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-solarpunk-greenhouse #hud-timer-container,
body.theme-solarpunk_greenhouse #hud-timer-container,
body.theme-solarpunk #hud-timer-container,
body.theme-greenhouse #hud-timer-container {
  background: transparent !important;
  border: none !important;
}

body.theme-solarpunk-greenhouse #hud-time-val,
body.theme-solarpunk_greenhouse #hud-time-val,
body.theme-solarpunk #hud-time-val,
body.theme-greenhouse #hud-time-val {
  color: #1c281e !important;
  font-weight: 900 !important;
  font-size: 19px !important;
}

body.theme-solarpunk-greenhouse #hud-left .hud-stat-row,
body.theme-solarpunk_greenhouse #hud-left .hud-stat-row,
body.theme-solarpunk #hud-left .hud-stat-row,
body.theme-greenhouse #hud-left .hud-stat-row,
body.theme-solarpunk-greenhouse #hud-left div,
body.theme-solarpunk_greenhouse #hud-left div,
body.theme-solarpunk #hud-left div {
  color: #1c281e !important;
  font-weight: 800 !important;
  font-size: 13px !important;
}

body.theme-solarpunk-greenhouse #hud-left i,
body.theme-solarpunk_greenhouse #hud-left i,
body.theme-solarpunk #hud-left i {
  color: #4b5563 !important;
  font-size: 14px !important;
}

/* Exit Button: Solid Crimson Red with Gold Border */
body.theme-solarpunk-greenhouse #exit-btn,
body.theme-solarpunk_greenhouse #exit-btn,
body.theme-solarpunk #exit-btn,
body.theme-greenhouse #exit-btn,
body.theme-theme_solarpunk #exit-btn,
body.theme-theme_solarpunk-greenhouse #exit-btn {
  background: #dc2626 !important;
  background-color: #dc2626 !important;
  border: 1.5px solid #d4af37 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 6px 16px !important;
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* 8. Top-Right Leaderboard Container */
body.theme-solarpunk-greenhouse #hud-right,
body.theme-solarpunk_greenhouse #hud-right,
body.theme-solarpunk #hud-right,
body.theme-greenhouse #hud-right,
body.theme-theme_solarpunk #hud-right,
body.theme-theme_solarpunk-greenhouse #hud-right {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: #faf6eb !important;
  background-color: #faf6eb !important;
  background-image: none !important;
  border: 3.5px solid #d4af37 !important;
  border-radius: 18px !important;
  padding: 12px 18px !important;
  min-width: 215px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-solarpunk-greenhouse #hud-leaderboard,
body.theme-solarpunk_greenhouse #hud-leaderboard,
body.theme-solarpunk #hud-leaderboard,
body.theme-greenhouse #hud-leaderboard {
  background: transparent !important;
  border: none !important;
}

/* 9. Top Center Warning Pill (Strictly Gated when Active Only) */
body.theme-solarpunk-greenhouse #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk_greenhouse #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-greenhouse #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk-greenhouse #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk-greenhouse #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk_greenhouse #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-greenhouse #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk-greenhouse #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk-greenhouse #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk_greenhouse #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-greenhouse #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk-greenhouse #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk-greenhouse #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk_greenhouse #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-solarpunk #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-greenhouse #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_solarpunk-greenhouse #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  top: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(40, 22, 12, 0.96) !important;
  background-color: #28160c !important;
  border: 2.5px solid #d4af37 !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ff3b30 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 1px !important;
  padding: 6px 28px !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

body.theme-solarpunk-greenhouse #meteor-warning span,
body.theme-solarpunk_greenhouse #meteor-warning span,
body.theme-solarpunk #meteor-warning span,
body.theme-solarpunk-greenhouse #toxic-warning span,
body.theme-solarpunk_greenhouse #toxic-warning span,
body.theme-solarpunk #toxic-warning span,
body.theme-solarpunk-greenhouse #bounty-warning span,
body.theme-solarpunk_greenhouse #bounty-warning span,
body.theme-solarpunk #bounty-warning span,
body.theme-solarpunk-greenhouse #solar-warning span,
body.theme-solarpunk_greenhouse #solar-warning span,
body.theme-solarpunk #solar-warning span {
  color: #ff3b30 !important;
  font-weight: 900 !important;
}

/* ============================================================
   THEME: BLACK MARBLE & GOLD (Tier 3 Epic Cosmetic)
   Polished Imperial Black Marble & Ornate Metallic Gold Framing
   STRICT 60 FPS PERFORMANCE LOCKED: Zero backdrop-filter, Zero box-shadow
   ============================================================ */
.theme-black-marble,
.theme-black_marble,
.theme-theme_black-marble,
.theme-theme_black_marble,
body.theme-black-marble,
body.theme-black_marble,
body.theme-theme_black-marble,
body.theme-theme_black_marble {
  --hud-bg-color: #0b0a08;
  --hud-deck-bg-image: url('/assets/themes/theme_black_marble.webp');
  --hud-border-color: #d6b274;
  --hud-divider-color: #d4af37;
  --hud-accent-color: #d4af37;
  --hud-text-color: #f3e5ab;
  --hud-text-primary: #f3e5ab;
  --hud-text-secondary: #c5a059;
  --hud-slot-bg: rgba(18, 15, 12, 0.95);
  --hud-slot-border: #d4af37;
  --hud-stat-score-color: #f5e6c8;
  --hud-stat-venom-color: #ef4444;
  --hud-stat-speed-color: #f59e0b;
}

/* Black Marble Critical 60 FPS Performance Lock: Strip ALL backdrop-filter and box-shadow */
body.theme-black-marble #main-hud-bottom,
body.theme-black_marble #main-hud-bottom,
body.theme-theme_black_marble #main-hud-bottom,
.theme-black-marble#main-hud-bottom,
.theme-black_marble#main-hud-bottom,
.theme-theme_black_marble#main-hud-bottom,
body.theme-black-marble #hud-bottom-deck,
body.theme-black_marble #hud-bottom-deck,
body.theme-theme_black_marble #hud-bottom-deck,
body.theme-black-marble #hud-left,
body.theme-black_marble #hud-left,
body.theme-theme_black_marble #hud-left,
body.theme-black-marble #hud-right,
body.theme-black_marble #hud-right,
body.theme-theme_black_marble #hud-right,
body.theme-black-marble .evo-card,
body.theme-black_marble .evo-card,
body.theme-theme_black_marble .evo-card,
body.theme-black-marble .power-slot,
body.theme-black_marble .power-slot,
body.theme-theme_black_marble .power-slot,
body.theme-black-marble #top-telemetry-panel,
body.theme-black_marble #top-telemetry-panel,
body.theme-theme_black_marble #top-telemetry-panel,
body.theme-black-marble #top-leaderboard-panel,
body.theme-black_marble #top-leaderboard-panel,
body.theme-theme_black_marble #top-leaderboard-panel,
body.theme-black-marble #minimap-container,
body.theme-black_marble #minimap-container,
body.theme-theme_black_marble #minimap-container,
body.theme-black-marble #hud-deck-minimap,
body.theme-black_marble #hud-deck-minimap,
body.theme-theme_black_marble #hud-deck-minimap {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Strip drop-shadow and text-shadow */
body.theme-black-marble .evo-card .evo-icon-box,
body.theme-black_marble .evo-card .evo-icon-box,
body.theme-theme_black_marble .evo-card .evo-icon-box,
body.theme-black-marble .power-slot .power-icon svg,
body.theme-black_marble .power-slot .power-icon svg,
body.theme-theme_black_marble .power-slot .power-icon svg,
body.theme-black-marble svg,
body.theme-black_marble svg,
body.theme-theme_black_marble svg {
  filter: none !important;
  -webkit-filter: none !important;
}

body.theme-black-marble #hud-time,
body.theme-black_marble #hud-time,
body.theme-theme_black_marble #hud-time,
body.theme-black-marble #meteor-warning,
body.theme-black_marble #meteor-warning,
body.theme-theme_black_marble #meteor-warning,
body.theme-black-marble .evo-name,
body.theme-black_marble .evo-name,
body.theme-theme_black_marble .evo-name,
body.theme-black-marble #hud-venom,
body.theme-black_marble #hud-venom,
body.theme-theme_black_marble #hud-venom {
  text-shadow: none !important;
}

/* 1. Ornate Floating Bottom Command Deck */
body.theme-black-marble #hud-bottom-deck,
body.theme-black_marble #hud-bottom-deck,
body.theme-theme_black-marble #hud-bottom-deck,
body.theme-theme_black_marble #hud-bottom-deck,
.theme-black-marble.hud-bottom-deck,
.theme-black_marble.hud-bottom-deck {
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 28px) !important;
  height: 155px !important;
  padding: 0 20px !important;
  border-radius: 22px !important;
  background-color: #0c0b09 !important;
  background-image: url('/assets/themes/theme_black_marble.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 3px solid #d4af37 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Solid Metallic Gold Dividers */
body.theme-black-marble .hud-deck-divider,
body.theme-black_marble .hud-deck-divider,
body.theme-theme_black-marble .hud-deck-divider,
body.theme-theme_black_marble .hud-deck-divider {
  width: 2px !important;
  height: 110px !important;
  background: #d4af37 !important;
  box-shadow: none !important;
  margin: 0 16px !important;
}

/* 2. Ornate Top-Left Telemetry Container */
body.theme-black-marble #hud-left,
body.theme-black_marble #hud-left,
body.theme-theme_black-marble #hud-left,
body.theme-theme_black_marble #hud-left {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background-color: #0c0b09 !important;
  background-image: url('/assets/themes/theme_black_marble.webp') !important;
  background-size: cover !important;
  background-position: top left !important;
  border: 3px solid #d4af37 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 175px !important;
}

/* Exit Button (Regal Burgundy Pill with Gold Framing) */
body.theme-black-marble #exit-btn,
body.theme-black_marble #exit-btn,
body.theme-theme_black-marble #exit-btn,
body.theme-theme_black_marble #exit-btn {
  background: linear-gradient(180deg, #7f1d1d 0%, #450a0a 100%) !important;
  border: 2px solid #d4af37 !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  color: #f3e5ab !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 6px 22px !important;
  margin-bottom: 12px !important;
}

/* 3. Ornate Top-Right Leaderboard Container */
body.theme-black-marble #hud-right,
body.theme-black_marble #hud-right,
body.theme-theme_black-marble #hud-right,
body.theme-theme_black_marble #hud-right {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background-color: #0c0b09 !important;
  background-image: url('/assets/themes/theme_black_marble.webp') !important;
  background-size: cover !important;
  background-position: top right !important;
  border: 3px solid #d4af37 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
  min-width: 195px !important;
}

/* 4. Ornate Hazard Warning Container */
body.theme-black-marble #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-black_marble #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black-marble #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black_marble #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-black-marble #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-black_marble #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black-marble #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black_marble #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-black-marble #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-black_marble #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black-marble #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black_marble #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-black-marble #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-black_marble #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black-marble #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_black_marble #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  background-color: #0c0b09 !important;
  background-image: url('/assets/themes/theme_black_marble.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 3px solid #d4af37 !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #f3e5ab !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: 0.8px !important;
  padding: 7px 28px !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-black-marble #meteor-warning span,
body.theme-black_marble #meteor-warning span,
body.theme-theme_black-marble #meteor-warning span,
body.theme-theme_black_marble #meteor-warning span {
  color: #fde047 !important;
  font-weight: 900 !important;
}

body.theme-black-marble #meteor-warning::before,
body.theme-black_marble #meteor-warning::before,
body.theme-theme_black_marble #meteor-warning::before,
body.theme-black-marble #toxic-warning::before,
body.theme-black_marble #toxic-warning::before,
body.theme-black-marble #bounty-warning::before,
body.theme-black_marble #bounty-warning::before,
body.theme-black-marble #solar-warning::before,
body.theme-black_marble #solar-warning::before {
  content: '';
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  width: 90px;
  height: 2px;
  background: #d4af37 !important;
  box-shadow: none !important;
  pointer-events: none;
}

body.theme-black-marble #meteor-warning::after,
body.theme-black_marble #meteor-warning::after,
body.theme-theme_black_marble #meteor-warning::after,
body.theme-black-marble #toxic-warning::after,
body.theme-black_marble #toxic-warning::after,
body.theme-black-marble #bounty-warning::after,
body.theme-black_marble #bounty-warning::after,
body.theme-black-marble #solar-warning::after,
body.theme-black_marble #solar-warning::after {
  content: '';
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  width: 90px;
  height: 2px;
  background: #d4af37 !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* 5. Evolution Skill Cards & Metallic Gold Icons (#d4af37) */
body.theme-black-marble .evo-card,
body.theme-black_marble .evo-card,
body.theme-theme_black-marble .evo-card,
body.theme-theme_black_marble .evo-card {
  width: 95px !important;
  height: 115px !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(18, 15, 12, 0.94) !important;
  background-image: url('/assets/themes/theme_black_marble.webp') !important;
  background-size: cover !important;
  border: 2px solid #d4af37 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.15s ease !important;
}

/* Force ALL Evolution Skill Icons to Metallic Gold Hex (#d4af37) */
body.theme-black-marble .evo-card .evo-icon-box,
body.theme-black_marble .evo-card .evo-icon-box,
body.theme-theme_black-marble .evo-card .evo-icon-box,
body.theme-theme_black_marble .evo-card .evo-icon-box,
body.theme-black-marble .evo-icon,
body.theme-black_marble .evo-icon,
body.theme-theme_black-marble .evo-icon,
body.theme-theme_black_marble .evo-icon,
body.theme-black-marble .evo-icon-z,
body.theme-black_marble .evo-icon-z,
body.theme-black-marble .evo-icon-x,
body.theme-black_marble .evo-icon-x,
body.theme-black-marble .evo-icon-c,
body.theme-black_marble .evo-icon-c,
body.theme-black-marble .evo-icon-v,
body.theme-black_marble .evo-icon-v,
body.theme-black-marble #evo-z .evo-icon-box,
body.theme-black_marble #evo-z .evo-icon-box,
body.theme-theme_black_marble #evo-z .evo-icon-box,
body.theme-black-marble #evo-x .evo-icon-box,
body.theme-black_marble #evo-x .evo-icon-box,
body.theme-theme_black_marble #evo-x .evo-icon-box,
body.theme-black-marble #evo-c .evo-icon-box,
body.theme-black_marble #evo-c .evo-icon-box,
body.theme-theme_black_marble #evo-c .evo-icon-box,
body.theme-black-marble #evo-v .evo-icon-box,
body.theme-black_marble #evo-v .evo-icon-box,
body.theme-theme_black_marble #evo-v .evo-icon-box {
  border: 2px solid #d4af37 !important;
  border-color: #d4af37 !important;
  color: #d4af37 !important;
  fill: #d4af37 !important;
  filter: none !important;
  font-size: 32px !important;
  box-shadow: none !important;
}

body.theme-black-marble .evo-card .evo-icon-box i,
body.theme-black_marble .evo-card .evo-icon-box i,
body.theme-theme_black-marble .evo-card .evo-icon-box i,
body.theme-theme_black_marble .evo-card .evo-icon-box i {
  color: #d4af37 !important;
}

body.theme-black-marble #hud-telemetry-box,
body.theme-black_marble #hud-telemetry-box,
body.theme-theme_black_marble #hud-telemetry-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-black-marble #hud-metrics-container i,
body.theme-black_marble #hud-metrics-container i,
body.theme-black-marble #killsCounter,
body.theme-black_marble #killsCounter,
body.theme-black-marble #fpsCounter,
body.theme-black_marble #fpsCounter,
body.theme-black-marble #pingCounter,
body.theme-black_marble #pingCounter {
  color: #f3e5ab !important;
}

/* 6. Typography Overrides: Light Gold / Warm Tan (#f3e5ab / #c5a059) */
body.theme-black-marble #hud-time,
body.theme-black_marble #hud-time,
body.theme-theme_black-marble #hud-time,
body.theme-theme_black_marble #hud-time {
  color: #f3e5ab !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-shadow: none !important;
  margin-bottom: 8px !important;
}

body.theme-black-marble #hud-metrics-container,
body.theme-black_marble #hud-metrics-container,
body.theme-theme_black-marble #hud-metrics-container,
body.theme-theme_black_marble #hud-metrics-container {
  color: #e6c88b !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

body.theme-black-marble #hud-right,
body.theme-black_marble #hud-right,
body.theme-theme_black-marble #hud-right,
body.theme-theme_black_marble #hud-right {
  color: #f3e5ab !important;
}

body.theme-black-marble .evo-name,
body.theme-black_marble .evo-name,
body.theme-theme_black-marble .evo-name,
body.theme-theme_black_marble .evo-name {
  color: #f3e5ab !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px !important;
  text-shadow: none !important;
}

body.theme-black-marble .evo-req,
body.theme-black_marble .evo-req,
body.theme-theme_black-marble .evo-req,
body.theme-theme_black_marble .evo-req {
  color: #c5a059 !important;
  font-weight: 600 !important;
  font-size: 9px !important;
}

body.theme-black-marble .evo-key-badge,
body.theme-black_marble .evo-key-badge,
body.theme-theme_black-marble .evo-key-badge,
body.theme-theme_black_marble .evo-key-badge {
  border: 1.5px solid #d4af37 !important;
  background: rgba(12, 10, 8, 0.95) !important;
  color: #f3e5ab !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  width: 28px !important;
  height: 22px !important;
}

/* 7. Power-Up Slots Framed in Gold */
body.theme-black-marble .power-slot,
body.theme-black_marble .power-slot,
body.theme-theme_black-marble .power-slot,
body.theme-theme_black_marble .power-slot {
  width: 66px !important;
  height: 66px !important;
  background-color: rgba(18, 15, 12, 0.95) !important;
  background-image: url('/assets/themes/theme_black_marble.webp') !important;
  background-size: cover !important;
  border: 2px solid #d4af37 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.theme-black-marble .slot-counter,
body.theme-black_marble .slot-counter,
body.theme-theme_black-marble .slot-counter,
body.theme-theme_black_marble .slot-counter {
  background: #ef4444 !important;
  border: 1.5px solid #d4af37 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 9999px !important;
  top: -8px !important;
  right: -8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-black-marble .slot-key,
body.theme-black_marble .slot-key,
body.theme-theme_black-marble .slot-key,
body.theme-theme_black_marble .slot-key {
  color: #c5a059 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

/* 8. Stats Panel & Minimap */
body.theme-black-marble #hud-score,
body.theme-black_marble #hud-score,
body.theme-theme_black-marble #hud-score,
body.theme-theme_black_marble #hud-score {
  color: #f5e6c8 !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
}

body.theme-black-marble #hud-venom,
body.theme-black_marble #hud-venom,
body.theme-theme_black-marble #hud-venom,
body.theme-theme_black_marble #hud-venom {
  color: #ef4444 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  text-shadow: none !important;
}

body.theme-black-marble #hud-speed,
body.theme-black_marble #hud-speed,
body.theme-theme_black-marble #hud-speed,
body.theme-theme_black_marble #hud-speed {
  color: #f59e0b !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
}

body.theme-black-marble #hud-breed,
body.theme-black_marble #hud-breed,
body.theme-theme_black-marble #hud-breed,
body.theme-theme_black_marble #hud-breed {
  color: #d4af37 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

body.theme-black-marble #hud-deck-minimap,
body.theme-black_marble #hud-deck-minimap,
body.theme-theme_black-marble #hud-deck-minimap,
body.theme-theme_black_marble #hud-deck-minimap {
  border: 2px solid #d4af37 !important;
  box-shadow: none !important;
  border-radius: 16px !important;
}



/* ============================================================
   AURORA GLASS THEME (Tier 2 Rare Cosmetic)
   Ethereal Cosmic Glassmorphism & Electric Cyan Accents
   STRICT 60 FPS PERFORMANCE LOCKED: Zero backdrop-filter, Zero box-shadow, Zero drop-shadow
   ============================================================ */
.theme-aurora-glass,
.theme-aurora_glass,
.theme-theme_aurora-glass,
.theme-theme_aurora_glass,
body.theme-aurora-glass,
body.theme-aurora_glass,
body.theme-theme_aurora-glass,
body.theme-theme_aurora_glass {
  --hud-bg-color: #071936;
  --hud-deck-bg-image: url('/assets/themes/theme_aurora_glass.webp');
  --hud-border-color: #38bdf8;
  --hud-divider-color: rgba(0, 229, 255, 0.4);
  --hud-accent-color: #00e5ff;
  --hud-slot-bg: rgba(6, 26, 64, 0.92);
  --hud-slot-border: rgba(0, 229, 255, 0.45);
  --hud-text-primary: #ffffff;
  --hud-text-secondary: #94a3b8;
  --hud-stat-score-color: #ffffff;
  --hud-stat-venom-color: #ff2a6d;
  --hud-stat-speed-color: #facc15;
}

/* Aurora Glass Critical 60 FPS Performance Lock: Strip ALL backdrop-filter and box-shadow */
body.theme-aurora-glass #main-hud-bottom,
body.theme-aurora_glass #main-hud-bottom,
body.theme-theme_aurora_glass #main-hud-bottom,
.theme-aurora-glass#main-hud-bottom,
.theme-aurora_glass#main-hud-bottom,
.theme-theme_aurora_glass#main-hud-bottom,
body.theme-aurora-glass #hud-bottom-deck,
body.theme-aurora_glass #hud-bottom-deck,
body.theme-theme_aurora_glass #hud-bottom-deck,
body.theme-aurora-glass #hud-left,
body.theme-aurora_glass #hud-left,
body.theme-theme_aurora_glass #hud-left,
body.theme-aurora-glass #hud-right,
body.theme-aurora_glass #hud-right,
body.theme-theme_aurora_glass #hud-right,
body.theme-aurora-glass .evo-card,
body.theme-aurora_glass .evo-card,
body.theme-theme_aurora_glass .evo-card,
body.theme-aurora-glass .power-slot,
body.theme-aurora_glass .power-slot,
body.theme-theme_aurora_glass .power-slot,
body.theme-aurora-glass #top-telemetry-panel,
body.theme-aurora_glass #top-telemetry-panel,
body.theme-theme_aurora_glass #top-telemetry-panel,
body.theme-aurora-glass #top-leaderboard-panel,
body.theme-aurora_glass #top-leaderboard-panel,
body.theme-theme_aurora_glass #top-leaderboard-panel,
body.theme-aurora-glass #minimap-container,
body.theme-aurora_glass #minimap-container,
body.theme-theme_aurora_glass #minimap-container,
body.theme-aurora-glass #hud-deck-minimap,
body.theme-aurora_glass #hud-deck-minimap,
body.theme-theme_aurora_glass #hud-deck-minimap {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Strip ALL SVG & icon drop-shadow and text-shadow */
body.theme-aurora-glass .evo-card .evo-icon-box,
body.theme-aurora_glass .evo-card .evo-icon-box,
body.theme-theme_aurora_glass .evo-card .evo-icon-box,
body.theme-aurora-glass .power-slot .power-icon svg,
body.theme-aurora_glass .power-slot .power-icon svg,
body.theme-theme_aurora_glass .power-slot .power-icon svg,
body.theme-aurora-glass svg,
body.theme-aurora_glass svg,
body.theme-theme_aurora_glass svg {
  filter: none !important;
  -webkit-filter: none !important;
}

body.theme-aurora-glass #hud-time,
body.theme-aurora_glass #hud-time,
body.theme-theme_aurora_glass #hud-time,
body.theme-aurora-glass #meteor-warning,
body.theme-aurora_glass #meteor-warning,
body.theme-theme_aurora_glass #meteor-warning,
body.theme-aurora-glass .evo-name,
body.theme-aurora_glass .evo-name,
body.theme-theme_aurora_glass .evo-name,
body.theme-aurora-glass #hud-venom,
body.theme-aurora_glass #hud-venom,
body.theme-theme_aurora_glass #hud-venom {
  text-shadow: none !important;
}

/* Floating Baked-Glassmorphic Bottom Command Deck */
body.theme-aurora-glass #hud-bottom-deck,
body.theme-aurora_glass #hud-bottom-deck,
body.theme-theme_aurora_glass #hud-bottom-deck,
body.theme-theme_aurora-glass #hud-bottom-deck,
.theme-aurora-glass.hud-bottom-deck,
.theme-aurora_glass.hud-bottom-deck {
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 28px) !important;
  height: 155px !important;
  padding: 0 20px !important;
  border-radius: 22px !important;
  background-color: rgba(6, 22, 54, 0.88) !important;
  background-image: linear-gradient(180deg, rgba(8, 28, 68, 0.85) 0%, rgba(3, 14, 40, 0.94) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 2px solid #00e5ff !important;
  box-shadow: none !important;
}

/* Solid Cyan Dividers */
body.theme-aurora-glass .hud-deck-divider,
body.theme-aurora_glass .hud-deck-divider,
body.theme-theme_aurora_glass .hud-deck-divider,
body.theme-theme_aurora-glass .hud-deck-divider {
  width: 1.5px !important;
  height: 110px !important;
  background: rgba(0, 229, 255, 0.45) !important;
  box-shadow: none !important;
  margin: 0 16px !important;
}

/* Floating Glassmorphic Top-Left Telemetry Container */
body.theme-aurora-glass #hud-left,
body.theme-aurora_glass #hud-left,
body.theme-theme_aurora_glass #hud-left,
body.theme-theme_aurora-glass #hud-left {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: linear-gradient(180deg, rgba(8, 28, 68, 0.88) 0%, rgba(3, 14, 40, 0.95) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 2px solid #00e5ff !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 14px 18px !important;
  min-width: 175px !important;
}

/* Exit Button (Solid Neon Rose Rounded Pill) */
body.theme-aurora-glass #exit-btn,
body.theme-aurora_glass #exit-btn,
body.theme-theme_aurora_glass #exit-btn,
body.theme-theme_aurora-glass #exit-btn {
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.8) 0%, rgba(159, 18, 57, 0.95) 100%) !important;
  border: 2px solid #f43f5e !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 6px 22px !important;
  margin-bottom: 12px !important;
}

/* Time & Stats Typography */
body.theme-aurora-glass #hud-time,
body.theme-aurora_glass #hud-time,
body.theme-theme_aurora_glass #hud-time,
body.theme-theme_aurora-glass #hud-time {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-shadow: none !important;
  margin-bottom: 8px !important;
}

body.theme-aurora-glass #hud-metrics-container,
body.theme-aurora_glass #hud-metrics-container,
body.theme-theme_aurora_glass #hud-metrics-container {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* Floating Glassmorphic Top-Right Leaderboard Container */
body.theme-aurora-glass #hud-right,
body.theme-aurora_glass #hud-right,
body.theme-theme_aurora_glass #hud-right,
body.theme-theme_aurora-glass #hud-right {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: linear-gradient(180deg, rgba(8, 28, 68, 0.88) 0%, rgba(3, 14, 40, 0.95) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 2px solid #00e5ff !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 14px 18px !important;
  min-width: 195px !important;
}

/* Solid Neon Pink Hazard Warning Container */
body.theme-aurora-glass #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-aurora_glass #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora_glass #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora-glass #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-aurora-glass #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-aurora_glass #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora_glass #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora-glass #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-aurora-glass #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-aurora_glass #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora_glass #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora-glass #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-aurora-glass #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-aurora_glass #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora_glass #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_aurora-glass #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  background: linear-gradient(180deg, rgba(32, 6, 38, 0.94) 0%, rgba(18, 3, 22, 0.98) 100%) !important;
  border: 2px solid #f43f5e !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  color: #fda4af !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: 0.8px !important;
  padding: 7px 28px !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-aurora-glass #meteor-warning span,
body.theme-aurora_glass #meteor-warning span,
body.theme-theme_aurora_glass #meteor-warning span,
body.theme-theme_aurora-glass #meteor-warning span,
body.theme-aurora-glass #toxic-warning span,
body.theme-aurora_glass #toxic-warning span,
body.theme-theme_aurora_glass #toxic-warning span,
body.theme-theme_aurora-glass #toxic-warning span,
body.theme-aurora-glass #bounty-warning span,
body.theme-aurora_glass #bounty-warning span,
body.theme-theme_aurora_glass #bounty-warning span,
body.theme-theme_aurora-glass #bounty-warning span,
body.theme-aurora-glass #solar-warning span,
body.theme-aurora_glass #solar-warning span,
body.theme-theme_aurora_glass #solar-warning span,
body.theme-theme_aurora-glass #solar-warning span {
  color: #ffffff !important;
  font-weight: 900 !important;
}

body.theme-aurora-glass #meteor-warning::before,
body.theme-aurora_glass #meteor-warning::before,
body.theme-theme_aurora_glass #meteor-warning::before,
body.theme-theme_aurora-glass #meteor-warning::before,
body.theme-aurora-glass #toxic-warning::before,
body.theme-aurora_glass #toxic-warning::before,
body.theme-aurora-glass #bounty-warning::before,
body.theme-aurora_glass #bounty-warning::before,
body.theme-aurora-glass #solar-warning::before,
body.theme-aurora_glass #solar-warning::before {
  content: '';
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  width: 90px;
  height: 2px;
  background: #f43f5e !important;
  box-shadow: none !important;
  pointer-events: none;
}

body.theme-aurora-glass #meteor-warning::after,
body.theme-aurora_glass #meteor-warning::after,
body.theme-theme_aurora_glass #meteor-warning::after,
body.theme-theme_aurora-glass #meteor-warning::after,
body.theme-aurora-glass #toxic-warning::after,
body.theme-aurora_glass #toxic-warning::after,
body.theme-aurora-glass #bounty-warning::after,
body.theme-aurora_glass #bounty-warning::after,
body.theme-aurora-glass #solar-warning::after,
body.theme-aurora_glass #solar-warning::after {
  content: '';
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  width: 90px;
  height: 2px;
  background: #f43f5e !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Saturated Flat-Contrast Skill Buttons (Left) */
body.theme-aurora-glass .evo-card,
body.theme-aurora_glass .evo-card,
body.theme-theme_aurora_glass .evo-card,
body.theme-theme_aurora-glass .evo-card {
  width: 95px !important;
  height: 115px !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  transition: transform 0.15s ease !important;
}

/* Evolve Speed (Z) - Electric Cyan */
body.theme-aurora-glass #evo-z,
body.theme-aurora_glass #evo-z,
body.theme-theme_aurora_glass #evo-z,
body.theme-theme_aurora-glass #evo-z {
  background: linear-gradient(180deg, rgba(6, 40, 85, 0.92) 0%, rgba(3, 20, 50, 0.98) 100%) !important;
  border: 2px solid #00e5ff !important;
  box-shadow: none !important;
}
body.theme-aurora-glass #evo-z .evo-icon-box,
body.theme-aurora_glass #evo-z .evo-icon-box,
body.theme-theme_aurora_glass #evo-z .evo-icon-box {
  color: #00e5ff !important;
  filter: none !important;
  font-size: 32px !important;
}

/* Evolve Venom (X) - Radiant Violet */
body.theme-aurora-glass #evo-x,
body.theme-aurora_glass #evo-x,
body.theme-theme_aurora_glass #evo-x,
body.theme-theme_aurora-glass #evo-x {
  background: linear-gradient(180deg, rgba(50, 14, 85, 0.92) 0%, rgba(28, 6, 52, 0.98) 100%) !important;
  border: 2px solid #c084fc !important;
  box-shadow: none !important;
}
body.theme-aurora-glass #evo-x .evo-icon-box,
body.theme-aurora_glass #evo-x .evo-icon-box,
body.theme-theme_aurora_glass #evo-x .evo-icon-box {
  color: #c084fc !important;
  filter: none !important;
  font-size: 32px !important;
}

/* Evolve Turn (C) - Radiant Teal */
body.theme-aurora-glass #evo-c,
body.theme-aurora_glass #evo-c,
body.theme-theme_aurora_glass #evo-c,
body.theme-theme_aurora-glass #evo-c {
  background: linear-gradient(180deg, rgba(6, 55, 60, 0.92) 0%, rgba(3, 30, 35, 0.98) 100%) !important;
  border: 2px solid #2dd4bf !important;
  box-shadow: none !important;
}
body.theme-aurora-glass #evo-c .evo-icon-box,
body.theme-aurora_glass #evo-c .evo-icon-box,
body.theme-theme_aurora_glass #evo-c .evo-icon-box {
  color: #2dd4bf !important;
  filter: none !important;
  font-size: 32px !important;
}

/* Evolve Boost (V) - Radiant Gold */
body.theme-aurora-glass #evo-v,
body.theme-aurora_glass #evo-v,
body.theme-theme_aurora_glass #evo-v,
body.theme-theme_aurora-glass #evo-v {
  background: linear-gradient(180deg, rgba(70, 50, 6, 0.92) 0%, rgba(38, 28, 3, 0.98) 100%) !important;
  border: 2px solid #facc15 !important;
  box-shadow: none !important;
}
body.theme-aurora-glass #evo-v .evo-icon-box,
body.theme-aurora_glass #evo-v .evo-icon-box,
body.theme-theme_aurora_glass #evo-v .evo-icon-box {
  color: #facc15 !important;
  filter: none !important;
  font-size: 32px !important;
}

body.theme-aurora-glass .evo-name,
body.theme-aurora_glass .evo-name,
body.theme-theme_aurora_glass .evo-name {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px !important;
  text-shadow: none !important;
}

body.theme-aurora-glass .evo-req,
body.theme-aurora_glass .evo-req,
body.theme-theme_aurora_glass .evo-req {
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 9px !important;
}

body.theme-aurora-glass .evo-key-badge,
body.theme-aurora_glass .evo-key-badge,
body.theme-theme_aurora_glass .evo-key-badge {
  border: 1.5px solid #00e5ff !important;
  background: rgba(3, 14, 40, 0.9) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  width: 28px !important;
  height: 22px !important;
}

/* High-Contrast Flat Power-Up Slots (Center) */
body.theme-aurora-glass .power-slot,
body.theme-aurora_glass .power-slot,
body.theme-theme_aurora_glass .power-slot,
body.theme-theme_aurora-glass .power-slot {
  width: 66px !important;
  height: 66px !important;
  background: linear-gradient(180deg, rgba(6, 26, 64, 0.92) 0%, rgba(3, 14, 38, 0.98) 100%) !important;
  border: 2px solid rgba(0, 229, 255, 0.45) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.theme-aurora-glass .slot-counter,
body.theme-aurora_glass .slot-counter,
body.theme-theme_aurora_glass .slot-counter {
  background: #ef4444 !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 9999px !important;
  top: -8px !important;
  right: -8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-aurora-glass .slot-key,
body.theme-aurora_glass .slot-key,
body.theme-theme_aurora_glass .slot-key {
  color: #94a3b8 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

/* Highly Saturated Shape Flat Contrast */
body.theme-aurora-glass #slot-1 .power-icon svg,
body.theme-aurora_glass #slot-1 .power-icon svg {
  filter: none !important;
}
body.theme-aurora-glass #slot-2 .power-icon svg,
body.theme-aurora_glass #slot-2 .power-icon svg {
  filter: none !important;
}
body.theme-aurora-glass #slot-3 .power-icon svg,
body.theme-aurora_glass #slot-3 .power-icon svg {
  filter: none !important;
}
body.theme-aurora-glass #slot-4 .power-icon svg,
body.theme-aurora_glass #slot-4 .power-icon svg {
  filter: none !important;
}
body.theme-aurora-glass #slot-5 .power-icon svg,
body.theme-aurora_glass #slot-5 .power-icon svg {
  filter: none !important;
}
body.theme-aurora-glass #slot-6 .power-icon svg,
body.theme-aurora_glass #slot-6 .power-icon svg {
  filter: none !important;
}

/* Stats Panel & Minimap (Right) */
body.theme-aurora-glass #hud-score,
body.theme-aurora_glass #hud-score,
body.theme-theme_aurora_glass #hud-score {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
}

body.theme-aurora-glass #hud-venom,
body.theme-aurora_glass #hud-venom,
body.theme-theme_aurora_glass #hud-venom {
  color: #ff2a6d !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  text-shadow: none !important;
}

body.theme-aurora-glass #hud-speed,
body.theme-aurora_glass #hud-speed,
body.theme-theme_aurora_glass #hud-speed {
  color: #facc15 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
}

body.theme-aurora-glass #hud-breed,
body.theme-aurora_glass #hud-breed,
body.theme-theme_aurora_glass #hud-breed {
  color: #38bdf8 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

body.theme-aurora-glass #hud-deck-minimap,
body.theme-aurora_glass #hud-deck-minimap,
body.theme-theme_aurora_glass #hud-deck-minimap {
  border: 2px solid #00e5ff !important;
  box-shadow: none !important;
  border-radius: 16px !important;
}


/* ============================================================
   PORCELAIN & GRAPHITE THEME (Tier 1 Common Cosmetic)
   Sterile Ceramic & High-Contrast Graphite - 60 FPS Performance Enforced
   ============================================================ */
.theme-porcelain-graphite,
.theme-porcelain_graphite,
.theme-theme_porcelain-graphite,
.theme-theme_porcelain_graphite,
body.theme-porcelain-graphite,
body.theme-porcelain_graphite,
body.theme-theme_porcelain-graphite,
body.theme-theme_porcelain_graphite {
  --hud-bg-color: #1a1d24;
  --hud-deck-bg-image: url('/assets/themes/theme_porcelain_graphite.webp');
  --hud-border-color: #f4f2ee;
  --hud-divider-color: #94a3b8;
  --hud-accent-color: #ffffff;
  --hud-slot-bg: rgba(28, 31, 38, 0.95);
  --hud-slot-border: rgba(244, 242, 238, 0.4);
  --hud-text-primary: #ffffff;
  --hud-text-secondary: #cbd5e1;
  --hud-stat-score-color: #ffffff;
  --hud-stat-venom-color: #ef4444;
  --hud-stat-speed-color: #f59e0b;
}

/* Porcelain & Graphite Critical Performance Lock: Zero backdrop-filter, Zero box-shadow */
body.theme-porcelain-graphite #main-hud-bottom,
body.theme-porcelain_graphite #main-hud-bottom,
body.theme-theme_porcelain_graphite #main-hud-bottom,
.theme-porcelain-graphite#main-hud-bottom,
.theme-porcelain_graphite#main-hud-bottom,
.theme-theme_porcelain_graphite#main-hud-bottom {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 2px solid #f4f2ee !important;
  background-color: #1a1d24 !important;
  background-image: url('/assets/themes/theme_porcelain_graphite.webp') !important;
  background-size: cover !important;
  background-position: center !important;
}

body.theme-porcelain-graphite .hud-card,
body.theme-porcelain_graphite .hud-card,
body.theme-theme_porcelain_graphite .hud-card,
body.theme-porcelain-graphite #top-telemetry-panel,
body.theme-porcelain_graphite #top-telemetry-panel,
body.theme-theme_porcelain_graphite #top-telemetry-panel,
body.theme-porcelain-graphite #top-leaderboard-panel,
body.theme-porcelain_graphite #top-leaderboard-panel,
body.theme-theme_porcelain_graphite #top-leaderboard-panel,
body.theme-porcelain-graphite #minimap-container,
body.theme-porcelain_graphite #minimap-container,
body.theme-theme_porcelain_graphite #minimap-container,
body.theme-porcelain-graphite #minimap-canvas,
body.theme-porcelain_graphite #minimap-canvas,
body.theme-theme_porcelain_graphite #minimap-canvas {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-color: #f4f2ee !important;
}

body.theme-porcelain-graphite .deck-stat-slot,
body.theme-porcelain_graphite .deck-stat-slot,
body.theme-theme_porcelain_graphite .deck-stat-slot,
body.theme-porcelain-graphite .evolution-slot-card,
body.theme-porcelain_graphite .evolution-slot-card,
body.theme-theme_porcelain_graphite .evolution-slot-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  background-color: rgba(28, 31, 38, 0.95) !important;
  border-color: rgba(244, 242, 238, 0.4) !important;
}

/* Porcelain & Graphite Complete In-Game HUD Styling (Matches Reference Image 2) */
body.theme-porcelain-graphite #hud-bottom-deck,
body.theme-porcelain_graphite #hud-bottom-deck,
body.theme-theme_porcelain_graphite #hud-bottom-deck,
body.theme-theme_porcelain-graphite #hud-bottom-deck,
.theme-porcelain-graphite.hud-bottom-deck,
.theme-porcelain_graphite.hud-bottom-deck {
  bottom: 14px !important;
  width: calc(100% - 28px) !important;
  height: 155px !important;
  padding: 0 20px !important;
  background-color: #efece6 !important;
  background-image: url('/assets/themes/theme_porcelain_graphite.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid #b8b4ac !important;
  border-radius: 22px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite .hud-deck-divider,
body.theme-porcelain_graphite .hud-deck-divider,
body.theme-theme_porcelain_graphite .hud-deck-divider,
body.theme-theme_porcelain-graphite .hud-deck-divider {
  width: 1.5px !important;
  height: 105px !important;
  background: #c4c0b8 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  margin: 0 12px !important;
}

body.theme-porcelain-graphite .evo-card,
body.theme-porcelain_graphite .evo-card,
body.theme-theme_porcelain_graphite .evo-card,
body.theme-theme_porcelain-graphite .evo-card {
  background: rgba(248, 246, 242, 0.92) !important;
  border: 1.5px solid #d4d0c8 !important;
  border-radius: 16px !important;
  padding: 8px 10px !important;
  flex: 1 1 0 !important;
  gap: 5px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite #evo-z .evo-icon-box,
body.theme-porcelain_graphite #evo-z .evo-icon-box,
body.theme-theme_porcelain_graphite #evo-z .evo-icon-box,
body.theme-porcelain-graphite .evo-icon-z,
body.theme-porcelain_graphite .evo-icon-z {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%) !important;
  border: 2px solid #38bdf8 !important;
  border-radius: 14px !important;
  color: #0284c7 !important;
  font-size: 30px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite #evo-x .evo-icon-box,
body.theme-porcelain_graphite #evo-x .evo-icon-box,
body.theme-theme_porcelain_graphite #evo-x .evo-icon-box,
body.theme-porcelain-graphite .evo-icon-x,
body.theme-porcelain_graphite .evo-icon-x {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%) !important;
  border: 2px solid #a855f7 !important;
  border-radius: 14px !important;
  color: #9333ea !important;
  font-size: 30px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite #evo-c .evo-icon-box,
body.theme-porcelain_graphite #evo-c .evo-icon-box,
body.theme-theme_porcelain_graphite #evo-c .evo-icon-box,
body.theme-porcelain-graphite .evo-icon-c,
body.theme-porcelain_graphite .evo-icon-c {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border: 2px solid #10b981 !important;
  border-radius: 14px !important;
  color: #059669 !important;
  font-size: 30px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite #evo-v .evo-icon-box,
body.theme-porcelain_graphite #evo-v .evo-icon-box,
body.theme-theme_porcelain_graphite #evo-v .evo-icon-box,
body.theme-porcelain-graphite .evo-icon-v,
body.theme-porcelain_graphite .evo-icon-v {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(180deg, #fefce8 0%, #fef08a 100%) !important;
  border: 2px solid #eab308 !important;
  border-radius: 14px !important;
  color: #d97706 !important;
  font-size: 30px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite .evo-name,
body.theme-porcelain_graphite .evo-name,
body.theme-theme_porcelain_graphite .evo-name,
body.theme-theme_porcelain-graphite .evo-name {
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.4px !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite .evo-req,
body.theme-porcelain_graphite .evo-req,
body.theme-theme_porcelain_graphite .evo-req,
body.theme-theme_porcelain-graphite .evo-req {
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 10.5px !important;
  letter-spacing: 0.2px !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite .evo-key-badge,
body.theme-porcelain_graphite .evo-key-badge,
body.theme-theme_porcelain_graphite .evo-key-badge,
body.theme-theme_porcelain-graphite .evo-key-badge {
  background: #ffffff !important;
  border: 1.5px solid #94a3b8 !important;
  color: #1e293b !important;
  border-radius: 6px !important;
  min-width: 28px !important;
  height: 22px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite #power-hotbar,
body.theme-porcelain_graphite #power-hotbar,
body.theme-theme_porcelain_graphite #power-hotbar,
body.theme-theme_porcelain-graphite #power-hotbar {
  background: rgba(248, 246, 242, 0.85) !important;
  border: 1.5px solid #d4d0c8 !important;
  border-radius: 16px !important;
  padding: 10px 16px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite .power-slot,
body.theme-porcelain_graphite .power-slot,
body.theme-theme_porcelain_graphite .power-slot,
body.theme-theme_porcelain-graphite .power-slot {
  width: 64px !important;
  height: 64px !important;
  background: linear-gradient(180deg, #ffffff 0%, #edeae2 100%) !important;
  border: 1.5px solid #b5b1a8 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite .power-icon svg,
body.theme-porcelain_graphite .power-icon svg,
body.theme-theme_porcelain_graphite .power-icon svg,
body.theme-theme_porcelain-graphite .power-icon svg {
  filter: none !important;
}

body.theme-porcelain-graphite .slot-counter,
body.theme-porcelain_graphite .slot-counter,
body.theme-theme_porcelain_graphite .slot-counter,
body.theme-theme_porcelain-graphite .slot-counter {
  min-width: 22px !important;
  height: 22px !important;
  background: #ef4444 !important;
  border: 1.5px solid #ffffff !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  top: -8px !important;
  right: -8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite .slot-key,
body.theme-porcelain_graphite .slot-key,
body.theme-theme_porcelain_graphite .slot-key,
body.theme-theme_porcelain-graphite .slot-key {
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #hud-stats-panel,
body.theme-porcelain_graphite #hud-stats-panel,
body.theme-theme_porcelain_graphite #hud-stats-panel,
body.theme-theme_porcelain-graphite #hud-stats-panel {
  background: rgba(248, 246, 242, 0.85) !important;
  border: 1.5px solid #d4d0c8 !important;
  border-radius: 16px !important;
  padding: 10px 18px !important;
  box-shadow: none !important;
}

body.theme-porcelain-graphite #hud-score,
body.theme-porcelain_graphite #hud-score,
body.theme-theme_porcelain_graphite #hud-score,
body.theme-theme_porcelain-graphite #hud-score {
  color: #1e293b !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #hud-venom,
body.theme-porcelain_graphite #hud-venom,
body.theme-theme_porcelain_graphite #hud-venom,
body.theme-theme_porcelain-graphite #hud-venom {
  color: #e11d48 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #hud-speed,
body.theme-porcelain_graphite #hud-speed,
body.theme-theme_porcelain_graphite #hud-speed,
body.theme-theme_porcelain-graphite #hud-speed {
  color: #d97706 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #hud-breed,
body.theme-porcelain_graphite #hud-breed,
body.theme-theme_porcelain_graphite #hud-breed,
body.theme-theme_porcelain-graphite #hud-breed {
  color: #1e293b !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #exit-btn,
body.theme-porcelain_graphite #exit-btn,
body.theme-theme_porcelain_graphite #exit-btn,
body.theme-theme_porcelain-graphite #exit-btn {
  background: linear-gradient(180deg, #faf9f6 0%, #e8e4dc 100%) !important;
  border: 1.5px solid #b5b1a8 !important;
  border-radius: 12px !important;
  color: #1e293b !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 15px !important;
  letter-spacing: 1px !important;
  padding: 8px 24px !important;
  width: fit-content !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #hud-left,
body.theme-porcelain_graphite #hud-left,
body.theme-theme_porcelain_graphite #hud-left,
body.theme-theme_porcelain-graphite #hud-left {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 10px !important;
  align-items: flex-start !important;
}

body.theme-porcelain-graphite #hud-telemetry-box,
body.theme-porcelain_graphite #hud-telemetry-box,
body.theme-theme_porcelain_graphite #hud-telemetry-box,
body.theme-theme_porcelain-graphite #hud-telemetry-box {
  background: rgba(244, 241, 235, 0.95) !important;
  border: 1.5px solid #b8b4ac !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  min-width: 175px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-porcelain-graphite #hud-time,
body.theme-porcelain_graphite #hud-time,
body.theme-theme_porcelain_graphite #hud-time,
body.theme-theme_porcelain-graphite #hud-time {
  color: #1e293b !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #hud-metrics-container,
body.theme-porcelain_graphite #hud-metrics-container,
body.theme-theme_porcelain_graphite #hud-metrics-container,
body.theme-theme_porcelain-graphite #hud-metrics-container,
body.theme-porcelain-graphite #hud-metrics-container span,
body.theme-porcelain_graphite #hud-metrics-container span,
body.theme-theme_porcelain_graphite #hud-metrics-container span,
body.theme-theme_porcelain-graphite #hud-metrics-container span {
  color: #1e293b !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #hud-metrics-container i,
body.theme-porcelain_graphite #hud-metrics-container i,
body.theme-theme_porcelain_graphite #hud-metrics-container i,
body.theme-theme_porcelain-graphite #hud-metrics-container i {
  color: #334155 !important;
}

body.theme-porcelain-graphite #hud-right,
body.theme-porcelain_graphite #hud-right,
body.theme-theme_porcelain_graphite #hud-right,
body.theme-theme_porcelain-graphite #hud-right {
  background: rgba(244, 241, 235, 0.95) !important;
  border: 1.5px solid #b8b4ac !important;
  border-radius: 16px !important;
  padding: 12px 20px !important;
  min-width: 235px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-porcelain-graphite #hud-leaderboard,
body.theme-porcelain_graphite #hud-leaderboard,
body.theme-theme_porcelain_graphite #hud-leaderboard,
body.theme-theme_porcelain-graphite #hud-leaderboard {
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  text-shadow: none !important;
}

body.theme-porcelain-graphite #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-porcelain_graphite #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain_graphite #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain-graphite #meteor-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-porcelain-graphite #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-porcelain_graphite #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain_graphite #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain-graphite #toxic-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-porcelain-graphite #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-porcelain_graphite #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain_graphite #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain-graphite #bounty-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-porcelain-graphite #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-porcelain_graphite #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain_graphite #solar-warning:not([style*="display: none"]):not([style*="display:none"]),
body.theme-theme_porcelain-graphite #solar-warning:not([style*="display: none"]):not([style*="display:none"]) {
  background: linear-gradient(180deg, #18181b 0%, #09090b 100%) !important;
  border: 2px solid #eab308 !important;
  border-radius: 9999px !important;
  color: #facc15 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
  padding: 7px 26px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 10px rgba(234, 179, 8, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-porcelain-graphite #meteor-warning span,
body.theme-porcelain_graphite #meteor-warning span,
body.theme-theme_porcelain_graphite #meteor-warning span,
body.theme-theme_porcelain-graphite #meteor-warning span,
body.theme-porcelain-graphite #toxic-warning span,
body.theme-porcelain_graphite #toxic-warning span,
body.theme-theme_porcelain_graphite #toxic-warning span,
body.theme-theme_porcelain-graphite #toxic-warning span,
body.theme-porcelain-graphite #bounty-warning span,
body.theme-porcelain_graphite #bounty-warning span,
body.theme-theme_porcelain_graphite #bounty-warning span,
body.theme-theme_porcelain-graphite #bounty-warning span,
body.theme-porcelain-graphite #solar-warning span,
body.theme-porcelain_graphite #solar-warning span,
body.theme-theme_porcelain_graphite #solar-warning span,
body.theme-theme_porcelain-graphite #solar-warning span {
  color: #fde047 !important;
  font-weight: 900 !important;
}

body.theme-porcelain-graphite #meteor-warning::before,
body.theme-porcelain_graphite #meteor-warning::before,
body.theme-theme_porcelain_graphite #meteor-warning::before,
body.theme-porcelain-graphite #toxic-warning::before,
body.theme-porcelain_graphite #toxic-warning::before,
body.theme-porcelain-graphite #bounty-warning::before,
body.theme-porcelain_graphite #bounty-warning::before,
body.theme-porcelain-graphite #solar-warning::before,
body.theme-porcelain_graphite #solar-warning::before {
  content: '';
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  width: 90px;
  height: 2px;
  background: #eab308 !important;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.35) !important;
  pointer-events: none;
}

body.theme-porcelain-graphite #meteor-warning::after,
body.theme-porcelain_graphite #meteor-warning::after,
body.theme-theme_porcelain_graphite #meteor-warning::after,
body.theme-porcelain-graphite #toxic-warning::after,
body.theme-porcelain_graphite #toxic-warning::after,
body.theme-porcelain-graphite #bounty-warning::after,
body.theme-porcelain_graphite #bounty-warning::after,
body.theme-porcelain-graphite #solar-warning::after,
body.theme-porcelain_graphite #solar-warning::after {
  content: '';
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  width: 90px;
  height: 2px;
  background: #eab308 !important;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.35) !important;
  pointer-events: none;
}

/* Stylizer Storefront Card Styles */
.theme-shop-card {
  position: relative;
  background: #081224;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.theme-shop-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.5);
}

.theme-shop-card.theme-equipped {
  border-color: #22c55e !important;
}

.theme-shop-card.theme-prestige-locked {
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.theme-shop-card.theme-prestige-locked .theme-card-preview {
  filter: grayscale(0.7) brightness(0.7);
}

.theme-preview-box {
  width: 100%;
  height: 128px;
  position: relative;
  overflow: hidden;
  background: #030712;
}

.theme-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* =========================================================================
   EXCHANGE MODAL - FULLSCREEN OVERLAY & VIEWPORT ALIGNMENT
   ========================================================================= */
#exchange-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 9999 !important;
}

/* =========================================================================
   TOP-RIGHT PRESTIGE CAPSULE HEADER UI
   ========================================================================= */
#ui-prestige-capsule {
  user-select: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#ui-prestige-capsule:hover {
  border-color: rgba(251, 191, 36, 0.8) !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4) !important;
  transform: translateY(-1px);
}

/* =========================================================================
   INFINITE GRID EXPANSION: STYLIZER THEMES GRID
   ========================================================================= */
#stylizer-themes-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 1rem !important;
}


/* =========================================================================
   THEME: HOLOGRAPHIC IRIDESCENT (ENDGAME MYTHIC COSMETIC)
   ========================================================================= */
.theme-holographic-iridescent,
.theme-holographic_iridescent,
.theme-theme_holographic-iridescent,
.theme-theme_holographic_iridescent,
.theme-holographic,
.theme-theme_holographic,
.theme-iridescent,
.theme-theme_iridescent,
.theme-holo,
.theme-theme_holo,
body.theme-holographic-iridescent,
body.theme-holographic_iridescent,
body.theme-theme_holographic-iridescent,
body.theme-theme_holographic_iridescent,
body.theme-holographic,
body.theme-theme_holographic,
body.theme-iridescent,
body.theme-theme_iridescent,
body.theme-holo,
body.theme-theme_holo {
  --hud-bg-color: #161b33;
  --hud-deck-bg-image: url('/assets/themes/theme_holographic_iridescent.webp');
  --hud-border-color: #00f5ff;
  --hud-divider-color: rgba(0, 255, 255, 0.45);
  --hud-accent-color: #ff2a85;
  --hud-text-color: #ffffff;
  --hud-text-primary: #ffffff;
  --hud-text-secondary: #00ffff;
  --hud-slot-bg: rgba(18, 24, 52, 0.85);
  --hud-slot-border: rgba(0, 255, 255, 0.55);
  --hud-stat-score-color: #ffffff;
  --hud-stat-venom-color: #ff2a85;
  --hud-stat-speed-color: #facc15;
}

/* 1. Strict 60 FPS Performance Lock: Strip ALL backdrop-filter, box-shadow, and drop-shadow */
body.theme-holographic-iridescent #hud-bottom-deck,
body.theme-holographic_iridescent #hud-bottom-deck,
body.theme-holographic #hud-bottom-deck,
body.theme-iridescent #hud-bottom-deck,
body.theme-theme_holographic_iridescent #hud-bottom-deck,
body.theme-theme_holographic #hud-bottom-deck,
body.theme-holographic-iridescent #hud-left,
body.theme-holographic_iridescent #hud-left,
body.theme-holographic #hud-left,
body.theme-iridescent #hud-left,
body.theme-theme_holographic #hud-left,
body.theme-theme_holographic_iridescent #hud-left,
body.theme-holographic-iridescent #hud-right,
body.theme-holographic_iridescent #hud-right,
body.theme-holographic #hud-right,
body.theme-iridescent #hud-right,
body.theme-theme_holographic #hud-right,
body.theme-theme_holographic_iridescent #hud-right,
body.theme-holographic-iridescent #meteor-warning,
body.theme-holographic_iridescent #meteor-warning,
body.theme-holographic #meteor-warning,
body.theme-iridescent #meteor-warning,
body.theme-theme_holographic #meteor-warning,
body.theme-theme_holographic_iridescent #meteor-warning,
body.theme-holographic-iridescent .evo-card,
body.theme-holographic_iridescent .evo-card,
body.theme-holographic .evo-card,
body.theme-iridescent .evo-card,
body.theme-holographic-iridescent .power-slot,
body.theme-holographic_iridescent .power-slot,
body.theme-holographic .power-slot,
body.theme-iridescent .power-slot,
body.theme-holographic-iridescent #power-hotbar,
body.theme-holographic_iridescent #power-hotbar,
body.theme-holographic #power-hotbar,
body.theme-iridescent #power-hotbar,
body.theme-holographic-iridescent #hud-telemetry-box,
body.theme-holographic_iridescent #hud-telemetry-box,
body.theme-holographic #hud-telemetry-box,
body.theme-iridescent #hud-telemetry-box,
body.theme-holographic-iridescent #hud-leaderboard,
body.theme-holographic_iridescent #hud-leaderboard,
body.theme-holographic #hud-leaderboard,
body.theme-iridescent #hud-leaderboard,
body.theme-holographic-iridescent #hud-event-banner,
body.theme-holographic_iridescent #hud-event-banner,
body.theme-holographic #hud-event-banner,
body.theme-iridescent #hud-event-banner,
body.theme-holographic-iridescent #exit-btn,
body.theme-holographic_iridescent #exit-btn,
body.theme-holographic #exit-btn,
body.theme-iridescent #exit-btn {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* 2. Unified Spanning Bottom Command Deck: Baked Iridescent Texture & Solid Cyan Border */
body.theme-holographic-iridescent #hud-bottom-deck,
body.theme-holographic_iridescent #hud-bottom-deck,
body.theme-holographic #hud-bottom-deck,
body.theme-iridescent #hud-bottom-deck,
body.theme-theme_holographic_iridescent #hud-bottom-deck,
body.theme-theme_holographic #hud-bottom-deck,
.theme-holographic-iridescent#hud-bottom-deck,
.theme-holographic_iridescent#hud-bottom-deck,
.theme-holographic#hud-bottom-deck,
.theme-iridescent#hud-bottom-deck,
.theme-holographic-iridescent.hud-bottom-deck,
.theme-holographic_iridescent.hud-bottom-deck,
.theme-holographic.hud-bottom-deck,
.theme-iridescent.hud-bottom-deck {
  position: absolute !important;
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 28px) !important;
  max-width: 1480px !important;
  height: 155px !important;
  padding: 0 18px !important;
  border-radius: 20px !important;
  background-color: rgba(22, 27, 51, 0.92) !important;
  background-image: url('/assets/themes/theme_holographic_iridescent.webp') !important;
  background-repeat: repeat !important;
  background-size: 512px 512px !important;
  border: 2px solid #00ffff !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 30 !important;
  box-sizing: border-box !important;
}

/* 3. Evolution Skill Cards Container & Framed Cards */
body.theme-holographic-iridescent #evo-panel,
body.theme-holographic_iridescent #evo-panel,
body.theme-holographic #evo-panel,
body.theme-iridescent #evo-panel,
body.theme-theme_holographic_iridescent #evo-panel,
body.theme-theme_holographic #evo-panel {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
}

body.theme-holographic-iridescent .evo-card,
body.theme-holographic_iridescent .evo-card,
body.theme-holographic .evo-card,
body.theme-iridescent .evo-card,
body.theme-theme_holographic_iridescent .evo-card,
body.theme-theme_holographic .evo-card {
  background: rgba(18, 24, 52, 0.75) !important;
  border: 1.5px solid rgba(0, 255, 255, 0.5) !important;
  border-radius: 12px !important;
  padding: 6px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 104px !important;
  color: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Evolution Skill Icons Override (Vivid Cyan & Magenta Accents) */
body.theme-holographic-iridescent .evo-icon-wrap,
body.theme-holographic_iridescent .evo-icon-wrap,
body.theme-holographic .evo-icon-wrap,
body.theme-iridescent .evo-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-holographic-iridescent .evo-icon,
body.theme-holographic_iridescent .evo-icon,
body.theme-holographic .evo-icon,
body.theme-iridescent .evo-icon,
body.theme-holographic-iridescent .evo-icon-box,
body.theme-holographic_iridescent .evo-icon-box,
body.theme-holographic .evo-icon-box,
body.theme-iridescent .evo-icon-box,
body.theme-theme_holographic_iridescent .evo-icon-box,
body.theme-theme_holographic .evo-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 255, 255, 0.15) !important;
  border: 1.5px solid #00ffff !important;
  color: #00ffff !important;
}

body.theme-holographic-iridescent .evo-icon i,
body.theme-holographic_iridescent .evo-icon i,
body.theme-holographic .evo-icon i,
body.theme-iridescent .evo-icon i,
body.theme-holographic-iridescent .evo-icon-box i,
body.theme-holographic_iridescent .evo-icon-box i,
body.theme-holographic .evo-icon-box i,
body.theme-iridescent .evo-icon-box i {
  font-size: 24px !important;
  color: #00ffff !important;
}

body.theme-holographic-iridescent .evo-icon-z,
body.theme-holographic_iridescent .evo-icon-z,
body.theme-holographic .evo-icon-z {
  background: rgba(0, 245, 255, 0.22) !important;
  border: 1.5px solid #00f5ff !important;
  color: #00f5ff !important;
}
body.theme-holographic-iridescent .evo-icon-z i,
body.theme-holographic_iridescent .evo-icon-z i,
body.theme-holographic .evo-icon-z i {
  color: #00f5ff !important;
}

body.theme-holographic-iridescent .evo-icon-x,
body.theme-holographic_iridescent .evo-icon-x,
body.theme-holographic .evo-icon-x {
  background: rgba(255, 42, 133, 0.22) !important;
  border: 1.5px solid #ff2a85 !important;
  color: #ff2a85 !important;
}
body.theme-holographic-iridescent .evo-icon-x i,
body.theme-holographic_iridescent .evo-icon-x i,
body.theme-holographic .evo-icon-x i {
  color: #ff2a85 !important;
}

body.theme-holographic-iridescent .evo-icon-c,
body.theme-holographic_iridescent .evo-icon-c,
body.theme-holographic .evo-icon-c {
  background: rgba(6, 182, 212, 0.22) !important;
  border: 1.5px solid #06b6d4 !important;
  color: #06b6d4 !important;
}
body.theme-holographic-iridescent .evo-icon-c i,
body.theme-holographic_iridescent .evo-icon-c i,
body.theme-holographic .evo-icon-c i {
  color: #06b6d4 !important;
}

body.theme-holographic-iridescent .evo-icon-v,
body.theme-holographic_iridescent .evo-icon-v,
body.theme-holographic .evo-icon-v {
  background: rgba(250, 204, 21, 0.22) !important;
  border: 1.5px solid #facc15 !important;
  color: #facc15 !important;
}
body.theme-holographic-iridescent .evo-icon-v i,
body.theme-holographic_iridescent .evo-icon-v i,
body.theme-holographic .evo-icon-v i {
  color: #facc15 !important;
}

/* Card Typography */
body.theme-holographic-iridescent .evo-name,
body.theme-holographic_iridescent .evo-name,
body.theme-holographic .evo-name,
body.theme-iridescent .evo-name,
body.theme-theme_holographic_iridescent .evo-name,
body.theme-holographic-iridescent .evo-card h4,
body.theme-holographic_iridescent .evo-card h4,
body.theme-holographic .evo-card h4,
body.theme-iridescent .evo-card h4,
body.theme-theme_holographic_iridescent .evo-card h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
}

body.theme-holographic-iridescent .evo-req,
body.theme-holographic_iridescent .evo-req,
body.theme-holographic .evo-req,
body.theme-iridescent .evo-req,
body.theme-theme_holographic_iridescent .evo-req,
body.theme-holographic-iridescent .evo-card span,
body.theme-holographic_iridescent .evo-card span,
body.theme-holographic .evo-card span,
body.theme-iridescent .evo-card span,
body.theme-theme_holographic_iridescent .evo-card span {
  color: #cbd5e1 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
}

body.theme-holographic-iridescent .evo-key-badge,
body.theme-holographic_iridescent .evo-key-badge,
body.theme-holographic .evo-key-badge,
body.theme-iridescent .evo-key-badge {
  background: rgba(0, 255, 255, 0.22) !important;
  border: 1px solid #00ffff !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  padding: 3px 7px !important;
  box-shadow: none !important;
}

/* 4. Cyan Dividers Between Deck Sections */
body.theme-holographic-iridescent .hud-deck-divider,
body.theme-holographic_iridescent .hud-deck-divider,
body.theme-holographic .hud-deck-divider,
body.theme-iridescent .hud-deck-divider {
  width: 2px !important;
  height: 100px !important;
  background: rgba(0, 255, 255, 0.45) !important;
  margin: 0 10px !important;
  box-shadow: none !important;
}

/* 5. Center Hotbar Panel & Slots */
body.theme-holographic-iridescent #power-hotbar,
body.theme-holographic_iridescent #power-hotbar,
body.theme-holographic #power-hotbar,
body.theme-iridescent #power-hotbar,
body.theme-theme_holographic_iridescent #power-hotbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(18, 24, 52, 0.65) !important;
  border: 1.5px solid rgba(0, 255, 255, 0.5) !important;
  border-radius: 14px !important;
  padding: 8px 14px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-holographic-iridescent .power-slot,
body.theme-holographic_iridescent .power-slot,
body.theme-holographic .power-slot,
body.theme-iridescent .power-slot {
  background: rgba(10, 15, 35, 0.85) !important;
  border: 1.5px solid rgba(0, 255, 255, 0.4) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.theme-holographic-iridescent .slot-counter,
body.theme-holographic_iridescent .slot-counter,
body.theme-holographic .slot-counter,
body.theme-iridescent .slot-counter {
  background: #ff2a85 !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  box-shadow: none !important;
}

body.theme-holographic-iridescent .slot-key,
body.theme-holographic_iridescent .slot-key,
body.theme-holographic .slot-key,
body.theme-iridescent .slot-key {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}

/* 6. Player Telemetry Stats Panel */
body.theme-holographic-iridescent #hud-stats-panel,
body.theme-holographic_iridescent #hud-stats-panel,
body.theme-holographic #hud-stats-panel,
body.theme-iridescent #hud-stats-panel {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: rgba(18, 24, 52, 0.65) !important;
  border: 1.5px solid rgba(0, 255, 255, 0.5) !important;
  border-radius: 14px !important;
  padding: 10px 16px !important;
  gap: 4px !important;
  color: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.theme-holographic-iridescent #hud-score,
body.theme-holographic_iridescent #hud-score,
body.theme-holographic #hud-score,
body.theme-iridescent #hud-score {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.05em !important;
}

body.theme-holographic-iridescent #hud-venom,
body.theme-holographic_iridescent #hud-venom,
body.theme-holographic #hud-venom,
body.theme-iridescent #hud-venom {
  color: #ff2a85 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: 0.05em !important;
}

body.theme-holographic-iridescent #hud-speed,
body.theme-holographic_iridescent #hud-speed,
body.theme-holographic #hud-speed,
body.theme-iridescent #hud-speed {
  color: #facc15 !important;
  font-weight: 900 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.05em !important;
}

body.theme-holographic-iridescent #hud-breed,
body.theme-holographic_iridescent #hud-breed,
body.theme-holographic #hud-breed,
body.theme-iridescent #hud-breed {
  color: #00ffff !important;
  font-weight: 900 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.05em !important;
}

/* 7. Hexagonal Integrated Minimap */
body.theme-holographic-iridescent #hud-deck-minimap,
body.theme-holographic_iridescent #hud-deck-minimap,
body.theme-holographic #hud-deck-minimap,
body.theme-iridescent #hud-deck-minimap {
  background: rgba(18, 24, 52, 0.65) !important;
  border: 1.5px solid rgba(0, 255, 255, 0.5) !important;
  border-radius: 14px !important;
  padding: 6px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* 8. Top-Left HUD Container: Sleek Dark Cyber-Obsidian & 2px Solid Cyan Border */
body.theme-holographic-iridescent #hud-left,
body.theme-holographic_iridescent #hud-left,
body.theme-holographic #hud-left,
body.theme-iridescent #hud-left,
body.theme-theme_holographic_iridescent #hud-left,
body.theme-theme_holographic #hud-left {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: rgba(12, 16, 32, 0.94) !important;
  background-color: rgba(12, 16, 32, 0.94) !important;
  background-image: none !important;
  border: 2px solid #00ffff !important;
  border-radius: 18px !important;
  padding: 12px 16px !important;
  min-width: 175px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 30 !important;
}

body.theme-holographic-iridescent #hud-telemetry-box,
body.theme-holographic_iridescent #hud-telemetry-box,
body.theme-holographic #hud-telemetry-box,
body.theme-iridescent #hud-telemetry-box,
body.theme-theme_holographic_iridescent #hud-telemetry-box {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.theme-holographic-iridescent #hud-time,
body.theme-holographic_iridescent #hud-time,
body.theme-holographic #hud-time,
body.theme-iridescent #hud-time {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 20px !important;
  letter-spacing: 0.05em !important;
}

body.theme-holographic-iridescent #hud-metrics-container,
body.theme-holographic_iridescent #hud-metrics-container,
body.theme-holographic #hud-metrics-container {
  color: #cbd5e1 !important;
}

body.theme-holographic-iridescent #hud-metrics-container span,
body.theme-holographic_iridescent #hud-metrics-container span,
body.theme-holographic #hud-metrics-container span {
  color: #00ffff !important;
  font-weight: 900 !important;
}

/* Exit Button: Vibrant Crimson/Magenta Pill */
body.theme-holographic-iridescent #exit-btn,
body.theme-holographic_iridescent #exit-btn,
body.theme-holographic #exit-btn,
body.theme-iridescent #exit-btn,
body.theme-theme_holographic_iridescent #exit-btn,
body.theme-holographic-iridescent #btn-exit,
body.theme-holographic_iridescent #btn-exit,
body.theme-holographic #btn-exit,
body.theme-iridescent #btn-exit {
  background: linear-gradient(135deg, #f43f5e, #be123c) !important;
  background-color: #f43f5e !important;
  border: 1.5px solid #fda4af !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 6px 18px !important;
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 6px !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

/* 9. Top-Right Leaderboard Container: Sleek Dark Cyber-Obsidian & 2px Solid Cyan Border */
body.theme-holographic-iridescent #hud-right,
body.theme-holographic_iridescent #hud-right,
body.theme-holographic #hud-right,
body.theme-iridescent #hud-right,
body.theme-theme_holographic_iridescent #hud-right,
body.theme-theme_holographic #hud-right {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(12, 16, 32, 0.94) !important;
  background-color: rgba(12, 16, 32, 0.94) !important;
  background-image: none !important;
  border: 2px solid #00ffff !important;
  border-radius: 18px !important;
  padding: 12px 18px !important;
  min-width: 215px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 30 !important;
}

body.theme-holographic-iridescent #hud-leaderboard,
body.theme-holographic_iridescent #hud-leaderboard,
body.theme-holographic #hud-leaderboard,
body.theme-iridescent #hud-leaderboard,
body.theme-theme_holographic_iridescent #hud-leaderboard {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body.theme-holographic-iridescent #hud-leaderboard div,
body.theme-holographic_iridescent #hud-leaderboard div,
body.theme-holographic #hud-leaderboard div {
  color: #f1f5f9 !important;
  font-weight: 800 !important;
}

body.theme-holographic-iridescent #hud-leaderboard h3,
body.theme-holographic_iridescent #hud-leaderboard h3,
body.theme-holographic #hud-leaderboard h3,
body.theme-iridescent #hud-leaderboard h3,
body.theme-theme_holographic_iridescent #hud-leaderboard h3 {
  color: #00ffff !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
}

/* 10. Top-Center Event Alert Notification: Dark Gray/Black Base with Light Blue & White Combination */
body.theme-holographic-iridescent #meteor-warning,
body.theme-holographic_iridescent #meteor-warning,
body.theme-holographic #meteor-warning,
body.theme-iridescent #meteor-warning,
body.theme-theme_holographic_iridescent #meteor-warning,
body.theme-holographic-iridescent #hud-event-banner,
body.theme-holographic_iridescent #hud-event-banner,
body.theme-holographic #hud-event-banner,
body.theme-iridescent #hud-event-banner,
body.theme-theme_holographic_iridescent #hud-event-banner,
body.theme-holographic-iridescent #toxic-warning,
body.theme-holographic_iridescent #toxic-warning,
body.theme-holographic-iridescent #bounty-warning,
body.theme-holographic_iridescent #bounty-warning,
body.theme-holographic-iridescent #solar-warning,
body.theme-holographic_iridescent #solar-warning {
  position: absolute !important;
  left: 50% !important;
  top: 14px !important;
  transform: translateX(-50%) !important;
  background: rgba(14, 18, 28, 0.96) !important;
  background-color: rgba(14, 18, 28, 0.96) !important;
  background-image: none !important;
  border: 2px solid #38bdf8 !important;
  border-radius: 9999px !important;
  padding: 8px 24px !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
  z-index: 100 !important;
}

body.theme-holographic-iridescent #meteor-warning span,
body.theme-holographic_iridescent #meteor-warning span,
body.theme-holographic-iridescent #toxic-warning span,
body.theme-holographic_iridescent #toxic-warning span,
body.theme-holographic-iridescent #bounty-warning span,
body.theme-holographic_iridescent #bounty-warning span,
body.theme-holographic-iridescent #solar-warning span,
body.theme-holographic_iridescent #solar-warning span {
  color: #ffffff !important;
  font-weight: 900 !important;
}

body.theme-holographic-iridescent #meteor-warning #meteor-countdown,
body.theme-holographic_iridescent #meteor-warning #meteor-countdown,
body.theme-holographic-iridescent #toxic-warning #toxic-countdown,
body.theme-holographic_iridescent #toxic-warning #toxic-countdown,
body.theme-holographic-iridescent #bounty-warning #bounty-countdown,
body.theme-holographic_iridescent #bounty-warning #bounty-countdown,
body.theme-holographic-iridescent #solar-warning #solar-countdown,
body.theme-holographic_iridescent #solar-warning #solar-countdown {
  color: #38bdf8 !important;
  font-weight: 900 !important;
}

/* ==========================================================================
   MY LEGACY SYSTEM — PHASE 2 FRONTEND STYLES (60 FPS OPTIMIZED)
   ========================================================================== */

#legacy-modal {
  contain: layout style;
}

#legacy-modal * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.legacy-subnav-tab {
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.legacy-subnav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.legacy-subnav-tab.active {
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.15);
  border-color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  font-weight: 900;
}

.matrix-filter-pill {
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  color: #94a3b8;
  background: #091b36;
  border: 1px solid rgba(14, 165, 233, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.matrix-filter-pill:hover {
  color: #ffffff;
  border-color: #38bdf8;
}

.matrix-filter-pill.active {
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.25);
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
  font-weight: 900;
}

/* Service Record Timeline */
.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: rgba(11, 31, 64, 0.75);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.timeline-item:hover {
  border-color: rgba(56, 189, 248, 0.6);
}

.timeline-node {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: rgba(8, 20, 38, 0.95);
  border: 1.5px solid #00e5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

/* Completion Matrix Card */
.matrix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
  background: rgba(11, 31, 64, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 10px;
  min-height: 96px;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.matrix-card:hover {
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.matrix-card.locked {
  opacity: 0.6;
  filter: grayscale(80%);
}

.matrix-card.locked:hover {
  filter: grayscale(40%);
}

/* Custom Scrollbars in Legacy Panel */
#legacy-modal .custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

#legacy-modal .custom-scrollbar::-webkit-scrollbar-track {
  background: #050f24;
}

#legacy-modal .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 4px;
}

#legacy-modal .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #00e5ff;
}

/* ===================== PUBLIC PLAYER INSPECT CARD (60 FPS: no backdrop-filter) ===================== */
.ppc-overlay { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; background: rgba(2, 6, 18, 0.72); backdrop-filter: none; }
.ppc-overlay.hidden { display: none; }
.ppc-card { position: relative; width: min(560px, 92vw); padding: 34px 26px 22px; background: rgba(5, 15, 36, 0.96); border: 2px solid #0ea5e9; clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px); color: #e2f6ff; font-family: inherit; backdrop-filter: none; }
.ppc-tab { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 4px 28px; font-size: 11px; font-weight: 800; letter-spacing: 0.25em; color: #67e8f9; border: 1px solid #0284c7; border-top: none; background: #071a36; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 12px 100%); }
.ppc-close { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; font-size: 22px; line-height: 1; color: #67e8f9; background: #071a36; border: 1px solid #0284c7; border-radius: 8px; cursor: pointer; }
.ppc-close:hover { background: #0b2a52; color: #fff; }
.ppc-header { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.ppc-hex { width: 96px; height: 106px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #22d3ee; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ppc-hex-inner { width: calc(100% - 6px); height: calc(100% - 6px); display: flex; align-items: center; justify-content: center; font-size: 44px; background: #04122a; clip-path: inherit; }
.ppc-name { font-size: 28px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 8px; word-break: break-word; }
.ppc-name .ph-crown { color: #facc15; font-size: 22px; }
.ppc-title { font-size: 16px; font-weight: 700; color: #22d3ee; margin-top: 2px; }
.ppc-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; border: 1px solid rgba(14, 165, 233, 0.45); border-radius: 10px; background: rgba(4, 14, 32, 0.85); }
.ppc-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; text-align: center; }
.ppc-cell + .ppc-cell { border-left: 1px solid rgba(14, 165, 233, 0.35); }
.ppc-label { font-size: 10px; font-weight: 800; letter-spacing: 0.15em; color: #67e8f9; text-transform: uppercase; }
.ppc-big { font-size: 38px; font-weight: 900; line-height: 1.1; color: #22d3ee; margin-top: 4px; }
.ppc-kills { font-size: 30px; font-weight: 900; color: #fff; margin-top: 4px; }
.ppc-sub { font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: 0.12em; }
.ppc-crest { width: 120px; height: 64px; margin-top: 2px; }
.ppc-tier-name { font-size: 11px; font-weight: 800; color: #fcd34d; letter-spacing: 0.1em; }
.ppc-section { margin-top: 16px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.25em; color: #67e8f9; }
.ppc-badges { display: flex; justify-content: center; gap: 16px; margin-top: 10px; min-height: 60px; }
.ppc-badge { width: 58px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--ppc-c, #22d3ee); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ppc-badge-inner { width: calc(100% - 4px); height: calc(100% - 4px); display: flex; align-items: center; justify-content: center; background: #061a33; clip-path: inherit; }
.ppc-badge svg { width: 28px; height: 28px; }

/* 3-Column Top Feats Grid (60 FPS: no backdrop-filter) */
.ppc-feats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.ppc-feat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(4, 14, 32, 0.94);
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: none !important;
}
.ppc-feat-card:hover {
  transform: translateY(-2px);
}
.ppc-feat-icon-wrap {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ppc-feat-hex {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(6, 26, 51, 0.95);
  border: 1.5px solid currentColor;
}
.ppc-feat-hex svg {
  width: 22px;
  height: 22px;
}
.ppc-feat-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.ppc-feat-name {
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.ppc-feat-subtitle {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.03em;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Rarity Accents */
.ppc-feat-legendary {
  border: 1.5px solid #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}
.ppc-feat-legendary .ppc-feat-hex {
  color: #f59e0b;
  border-color: #f59e0b;
}
.ppc-feat-legendary .ppc-feat-subtitle {
  color: #fde68a;
}

.ppc-feat-epic {
  border: 1.5px solid #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}
.ppc-feat-epic .ppc-feat-hex {
  color: #c084fc;
  border-color: #a855f7;
}
.ppc-feat-epic .ppc-feat-subtitle {
  color: #e9d5ff;
}

.ppc-feat-rare {
  border: 1.5px solid #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}
.ppc-feat-rare .ppc-feat-hex {
  color: #22d3ee;
  border-color: #00e5ff;
}
.ppc-feat-rare .ppc-feat-subtitle {
  color: #a5f3fc;
}

.ppc-feat-common {
  border: 1.5px solid #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.25);
}
.ppc-feat-common .ppc-feat-hex {
  color: #38bdf8;
  border-color: #0284c7;
}
.ppc-feat-common .ppc-feat-subtitle {
  color: #bae6fd;
}

.ppc-empty, .ppc-loading { color: #94a3b8; font-size: 13px; text-align: center; padding: 8px 0; letter-spacing: 0.05em; }
.ppc-loading { padding: 40px 0; color: #67e8f9; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.lb-inspect-name { cursor: pointer; }
.lb-inspect-name:hover { text-decoration: underline; text-decoration-color: #22d3ee; }

/* ===================== CAREER OVERHAUL PANEL (60 FPS: no backdrop-filter) ===================== */
#missions-modal {
  backdrop-filter: none !important;
  background: rgba(2, 6, 18, 0.95) !important;
}
.career-modal-frame {
  width: min(1560px, 96vw);
  height: min(940px, 92vh);
  background: #050f24;
  border: 2px solid #0ea5e9;
  border-radius: 24px;
  box-shadow: 0 0 45px rgba(14, 165, 233, 0.35);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: none !important;
  color: #e2f6ff;
  font-family: inherit;
}
.career-tab-active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.6) !important;
}
.career-tab-inactive {
  background: rgba(8, 20, 38, 0.7) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(14, 165, 233, 0.25) !important;
}
.career-track-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(6, 18, 38, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
}
.career-track-card:hover {
  background: rgba(10, 28, 58, 0.95);
  border-color: #38bdf8;
  transform: translateX(2px);
}
.career-track-card.active-filter {
  background: rgba(14, 165, 233, 0.2);
  border-color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}
.career-milestone-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(6, 18, 38, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  position: relative;
}
.career-milestone-card:hover {
  border-color: rgba(14, 165, 233, 0.7);
  background: rgba(8, 24, 48, 0.95);
}
.career-milestone-card.mastered {
  border-color: rgba(234, 179, 8, 0.5);
}
.career-milestone-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--icon-border, #0ea5e9);
  background: rgba(4, 14, 32, 0.95);
  box-shadow: 0 0 16px var(--icon-glow, rgba(14, 165, 233, 0.35));
}
.career-segment-track {
  display: flex;
  gap: 6px;
  width: 100%;
  height: 8px;
  margin-top: 8px;
}
.career-segment-slot {
  flex: 1;
  height: 100%;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.6);
  position: relative;
  overflow: hidden;
}
.career-segment-slot.completed {
  background: #00e5ff;
  border-color: #38bdf8;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
}
.career-segment-slot.ready {
  background: #22c55e;
  border-color: #4ade80;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: pulse 1.5s infinite;
}
.career-segment-inner {
  height: 100%;
  background: #00e5ff;
  border-radius: 9999px;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}
.career-claim-btn {
  padding: 8px 16px;
  min-height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1.5px solid #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #ffffff;
}
.career-claim-btn:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border-color: #6ee7b7;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.9);
  transform: translateY(-1px);
}
.career-claim-btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}
.career-claim-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.career-claim-payout {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #d1fae5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.2;
}
.career-curr-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.career-grand-box {
  background: rgba(6, 18, 38, 0.95);
  border: 2px solid rgba(234, 179, 8, 0.6);
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(234, 179, 8, 0.2);
}
.career-grand-btn {
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  border: 1.5px solid #fde047;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}
.career-grand-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.9);
  transform: translateY(-1px);
}
.career-grand-btn:disabled {
  opacity: 0.55;
  background: #1e293b;
  border-color: #334155;
  box-shadow: none;
  cursor: not-allowed;
}

/* ==========================================================================
   ENHANCED HUD THEMES BUTTON (ITEM SHOP)
   ========================================================================== */
#shop-tab-stylizer {
  position: relative;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.22) 0%, rgba(6, 40, 52, 0.45) 50%, rgba(3, 18, 30, 0.8) 100%) !important;
  border: 1.5px solid rgba(45, 212, 191, 0.45) !important;
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#shop-tab-stylizer:hover {
  border-color: #2dd4bf !important;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.35) 0%, rgba(6, 48, 64, 0.6) 50%, rgba(3, 24, 40, 0.85) 100%) !important;
  box-shadow: 0 0 25px rgba(45, 212, 191, 0.45), inset 0 0 12px rgba(45, 212, 191, 0.15) !important;
  transform: translateY(-1px);
}
#shop-tab-stylizer.active {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.45) 0%, rgba(15, 118, 110, 0.4) 100%) !important;
  border-color: #5eead4 !important;
  color: #ffffff !important;
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.6), inset 0 0 16px rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   FEEDBACK & SUGGESTIONS MODAL
   ========================================================================== */
#feedback-modal {
  backdrop-filter: none !important;
}
.feedback-cat-pill {
  background: rgba(10, 25, 48, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}
.feedback-cat-pill:hover {
  background: rgba(14, 40, 75, 0.9);
  border-color: rgba(0, 229, 255, 0.5);
  color: #ffffff;
}
.feedback-cat-pill.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(13, 148, 136, 0.3) 100%);
  border-color: #00e5ff;
  color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.35);
}
.rating-star.active {
  color: #fbbf24 !important;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}

/* ==========================================================================
   CAREER JOURNEY & PRESTIGE PATH INTERACTIVE TIMELINE (#career-journey-path)
   60 FPS Compliant: Solid dark navy backdrops (no backdrop-filter blur)
   ========================================================================== */
.career-journey-container {
  background: rgba(5, 15, 36, 0.92);
  border: 1.5px solid rgba(0, 229, 255, 0.42);
  border-radius: 12px;
  padding: 10px 12px 8px 12px;
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.07), 0 4px 16px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.career-journey-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
  flex-wrap: wrap;
}

.career-journey-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.career-journey-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f5ff;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.25);
}

.career-journey-heading {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
}

.career-journey-subtext {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(125, 211, 252, 0.78);
  text-transform: uppercase;
  margin: 1px 0 0 0;
}

.career-journey-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.career-journey-milestone-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 25, 54, 0.95);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 9999px;
  padding: 3px 10px 3px 5px;
}

.career-journey-crown-badge {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.65);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.career-journey-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.career-journey-pill-main {
  font-size: 9px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.career-journey-pill-sub {
  font-size: 7px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.career-journey-scroll-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.career-journey-scroll-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  text-transform: uppercase;
  font-style: italic;
}

.career-journey-nav-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.career-journey-nav-btn {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(8, 28, 58, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.55);
  color: #00f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.career-journey-nav-btn:hover {
  background: rgba(0, 229, 255, 0.22);
  border-color: #00f5ff;
  color: #ffffff;
  transform: scale(1.06);
}

.career-journey-viewport {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.journey-side-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  background: rgba(5, 18, 42, 0.95);
  border: 1.5px solid rgba(0, 245, 255, 0.7);
  color: #00f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.35);
  transition: background 0.18s ease, transform 0.18s ease;
}

.journey-side-arrow:hover {
  background: rgba(0, 245, 255, 0.25);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.journey-side-arrow--left {
  left: 2px;
}

.journey-side-arrow--right {
  right: 2px;
}

.journey-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 23px 32px 4px 32px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.journey-track::-webkit-scrollbar {
  display: none;
}

.journey-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.journey-node-col {
  flex: 0 0 108px;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.journey-here-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #06b6d4 0%, #00f5ff 50%, #38bdf8 100%);
  color: #021324;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 9999px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.85);
  z-index: 6;
}

.journey-card {
  width: 100%;
  height: 154px;
  background: rgba(5, 15, 36, 0.92);
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  padding: 7px 6px 6px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

/* Tier Family Palettes */
.journey-card.journey-tier-bronze {
  background: linear-gradient(180deg, rgba(44, 24, 12, 0.92) 0%, rgba(7, 16, 34, 0.96) 100%);
  border-color: rgba(217, 119, 6, 0.65);
}

.journey-card.journey-tier-silver {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(7, 16, 34, 0.96) 100%);
  border-color: rgba(148, 163, 184, 0.65);
}

.journey-card.journey-tier-gold {
  background: linear-gradient(180deg, rgba(52, 38, 8, 0.92) 0%, rgba(7, 16, 34, 0.96) 100%);
  border-color: rgba(234, 179, 8, 0.72);
}

.journey-card.journey-tier-platinum {
  background: linear-gradient(180deg, rgba(10, 44, 68, 0.92) 0%, rgba(7, 16, 34, 0.96) 100%);
  border-color: rgba(56, 189, 248, 0.72);
}

.journey-card.journey-tier-diamond {
  background: linear-gradient(180deg, rgba(40, 16, 68, 0.92) 0%, rgba(7, 16, 34, 0.96) 100%);
  border-color: rgba(192, 132, 252, 0.78);
}

/* Active Tier Highlighting ("YOU ARE HERE") */
.journey-card.is-active {
  border: 2px solid #00f5ff !important;
  background: linear-gradient(180deg, rgba(8, 50, 82, 0.95) 0%, rgba(5, 18, 42, 0.98) 100%) !important;
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.65), inset 0 0 14px rgba(0, 245, 255, 0.22) !important;
  transform: translateY(-2px);
}

.journey-card.is-past {
  opacity: 0.86;
}

.journey-card.is-future {
  opacity: 0.92;
}

.journey-card-title {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.journey-card-crest {
  width: 74px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px 0;
}

.journey-card-levels {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.journey-levels-caption {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
}

.journey-levels-range {
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.journey-card-divider {
  width: 82%;
  height: 1px;
  background: rgba(148, 163, 184, 0.22);
  margin: 2px 0;
}

.journey-card.is-active .journey-card-divider {
  background: rgba(0, 245, 255, 0.45);
}

.journey-card-phase {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.15;
  min-height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-card.is-active .journey-card-phase {
  color: #e0f2fe;
}

/* Timeline Track Connector & Node Dots below each card */
.journey-rail-wrap {
  width: calc(100% + 10px);
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.journey-rail-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(0, 229, 255, 0.28);
  z-index: 1;
}

.journey-node-col.is-past .journey-rail-line,
.journey-node-col.is-active .journey-rail-line {
  background: rgba(0, 245, 255, 0.75);
  box-shadow: 0 0 6px rgba(0, 245, 255, 0.45);
}

.journey-rail-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #0ea5e9;
  border: 2px solid #082f49;
  box-shadow: 0 0 6px rgba(14, 165, 233, 0.6);
  position: relative;
  z-index: 2;
}

.journey-node-col.is-past .journey-rail-dot {
  background: #38bdf8;
  border-color: #0284c7;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.journey-node-col.is-active .journey-rail-dot {
  width: 15px;
  height: 15px;
  background: #ffffff;
  border: 3px solid #00f5ff;
  box-shadow: 0 0 12px #00f5ff, 0 0 20px rgba(0, 245, 255, 0.9);
}

/* Footer Bar */
.career-journey-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  font-size: 9.5px;
  color: #94a3b8;
}

.career-journey-footer-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.career-journey-footer-Right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.journey-pagination-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.journey-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.journey-dot.active {
  background: #00f5ff;
  box-shadow: 0 0 6px #00f5ff;
  transform: scale(1.2);
}

.journey-milestone-counter {
  font-size: 9.5px;
  font-weight: 800;
  color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ===================== TACTICAL CODEX MODAL & BOOTCAMP (60 FPS: NO BACKDROP-FILTER) ===================== */
#tactical-codex-modal {
  backdrop-filter: none !important;
  background: rgba(2, 6, 18, 0.95) !important;
}

.tactical-codex-frame {
  width: min(1080px, 95vw);
  height: min(840px, 90vh);
  background: rgba(5, 15, 36, 0.98);
  border: 2px solid #00e5ff;
  border-radius: 24px;
  box-shadow: 0 0 45px rgba(0, 229, 255, 0.35);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: none !important;
  color: #e2f6ff;
  font-family: inherit;
}

.codex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.25);
  background: linear-gradient(90deg, rgba(8, 30, 60, 0.95), rgba(5, 15, 36, 0.98));
  shrink: 0;
}

.codex-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}

.codex-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

.codex-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(103, 232, 249, 0.85);
  text-transform: uppercase;
  margin: 2px 0 0 0;
}

.codex-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.codex-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
}

/* Tabs Bar */
.codex-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(3, 10, 24, 0.85);
  overflow-x: auto;
  shrink: 0;
}

.codex-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: #94a3b8;
}

.codex-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.1);
}

.codex-tab-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.6) !important;
}

/* Content Container */
.codex-content-container {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.codex-tab-panel {
  display: none;
}

.codex-tab-panel.active {
  display: block;
}

.codex-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

.codex-card {
  background: rgba(10, 25, 52, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.codex-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.codex-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.codex-step-num {
  font-size: 0.75rem;
  font-weight: 900;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 8px;
  padding: 2px 7px;
  flex-shrink: 0;
}

.codex-highlight {
  font-weight: 800;
  color: #ffffff;
}

.codex-keycap {
  display: inline-block;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 800;
  font-size: 0.75rem;
  color: #67e8f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.codex-callout-box {
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  padding: 12px 14px;
}

.codex-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: #cbd5e1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.codex-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Combat HUD Cards */
.codex-hud-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.codex-hud-key {
  font-family: monospace;
  font-weight: 900;
  font-size: 1rem;
  color: #00e5ff;
}

.codex-hud-title {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.codex-hud-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
}

.codex-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  padding: 4px 10px;
  color: #e2e8f0;
}

.codex-mode-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.codex-subcard {
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  padding: 10px 12px;
}

.codex-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

/* Modal Footer */
.codex-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid rgba(0, 229, 255, 0.25);
  background: linear-gradient(90deg, rgba(8, 30, 60, 0.95), rgba(5, 15, 36, 0.98));
  shrink: 0;
}

.codex-footer-cta {
  padding: 10px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  border: 1.5px solid #38bdf8;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
  transition: all 0.2s ease;
  cursor: pointer;
}

.codex-footer-cta:hover {
  background: linear-gradient(135deg, #0369a1, #0891b2);
  box-shadow: 0 0 26px rgba(6, 182, 212, 0.7);
  transform: translateY(-1px);
}

/* ===================== LOBBY BOOTCAMP CTA BUTTON & STATE STYLING ===================== */
.bootcamp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

/* Incomplete state: high-visibility neon-cyan/gold border pulse */
.bootcamp-cta-btn.bootcamp-pulsing {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.22), rgba(234, 179, 8, 0.18));
  border: 2px solid #00e5ff;
  color: #e0f2fe;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.4), inset 0 0 10px rgba(234, 179, 8, 0.2);
  animation: bootcampPulseAnim 2.2s infinite ease-in-out;
}

@keyframes bootcampPulseAnim {
  0% {
    border-color: #00e5ff;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.4), inset 0 0 8px rgba(0, 229, 255, 0.2);
  }
  50% {
    border-color: #eab308;
    box-shadow: 0 0 24px rgba(234, 179, 8, 0.6), inset 0 0 14px rgba(234, 179, 8, 0.35);
  }
  100% {
    border-color: #00e5ff;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.4), inset 0 0 8px rgba(0, 229, 255, 0.2);
  }
}

.bootcamp-cta-btn.bootcamp-pulsing:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* Completed state: subtle, non-pulsing secondary style */
.bootcamp-cta-btn.bootcamp-completed {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #94a3b8;
  box-shadow: none;
  animation: none !important;
}

.bootcamp-cta-btn.bootcamp-completed:hover {
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

/* ==========================================================================
   TACTICAL BOOTCAMP IN-GAME HUD BANNER & GRADUATION MODAL (60 FPS: NO BLUR)
   ========================================================================== */

#bootcamp-hud-banner {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.bootcamp-banner-frame {
  min-width: 340px;
  max-width: 580px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(5, 15, 36, 0.95);
  border: 1.5px solid rgba(0, 229, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.25);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.bootcamp-step-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #020617;
  background: #00e5ff;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.bootcamp-title-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
}

.bootcamp-progress-pct {
  font-size: 13px;
  font-weight: 900;
  color: #00e5ff;
  font-family: 'JetBrains Mono', monospace;
}

.bootcamp-objective-text {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.4;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.bootcamp-progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}

.bootcamp-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #00e5ff);
  border-radius: 9999px;
  transition: width 0.2s ease-out;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
}

#bootcamp-graduation-modal {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.bootcamp-grad-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(5, 15, 36, 0.98);
  border: 1.5px solid rgba(0, 229, 255, 0.5);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 229, 255, 0.35);
  overflow: hidden;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.bootcamp-grad-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.35) 0%, rgba(0, 229, 255, 0) 70%);
  pointer-events: none;
}

.bootcamp-reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(234, 179, 8, 0.15);
  border: 1.5px solid rgba(234, 179, 8, 0.5);
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.3), inset 0 0 10px rgba(234, 179, 8, 0.15);
}

.bootcamp-claim-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%);
  color: #020617;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 12px;
  border: none;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bootcamp-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  filter: brightness(1.1);
}
