@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Dawning+of+a+New+Day&family=Zeyada&display=swap");
/**
 * Flash Resolve : Midnight Sapphire & Electric Cyan Slate Theme
 * High-effort atmospheric cyber-studio: Rich medium-dark blue slate, glowing aurora mesh,
 * precision isometric engineering grid, and frosted sapphire glassmorphism.
 * Scoped strictly to html[data-theme="bright"] for 100% reversibility.
 */

:root {
  --theme-transition-duration: 280ms;
}

/* Smooth color transitions when theme changes */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color var(--theme-transition-duration) cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--theme-transition-duration) cubic-bezier(0.16, 1, 0.3, 1),
              color var(--theme-transition-duration) cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow var(--theme-transition-duration) cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   THEME TOKENS: MIDNIGHT SAPPHIRE & ELECTRIC CYAN
   ========================================================================== */
html[data-theme="bright"] {
  color-scheme: dark;

  /* Atmospheric Slate Blue Canvas (Not pitch black, not bright white) */
  --bg: #151d28;
  --bg-surface: #1b2533;
  --bg-secondary: #223042;
  
  /* Frosted Sapphire Glass Panels */
  --panel: rgba(18, 26, 37, 0.88);
  --panel-2: rgba(26, 37, 52, 0.92);
  --panel-solid: #16202c;
  --panel-hover: #223247;
  
  /* Luminous Ice & Cyan Typography */
  --text: #f0f6fc;
  --text-inverse: #0d131a;
  --muted: #94a3b8;
  --soft: #64748b;
  
  /* Neon Electric & Sapphire Framing */
  --line: rgba(56, 189, 248, 0.14);
  --line-2: rgba(56, 189, 248, 0.24);
  --line-strong: rgba(56, 189, 248, 0.38);
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.28);
  --accent-indigo: #6366f1;
  --accent-gold: #f3c74f;

  /* Shop Tokens */
  --shop-bg: #151d28;
  --shop-panel: rgba(18, 26, 37, 0.88);
  --shop-line: rgba(56, 189, 248, 0.14);
  --shop-text: #f0f6fc;
  --shop-muted: #94a3b8;
  --shop-soft: #64748b;
  --studio-bg: #151d28;
  --studio-surface: #1b2533;
  --studio-line: rgba(56, 189, 248, 0.14);
  --studio-text: #f0f6fc;
  --studio-muted: #94a3b8;
}



/* ==========================================================================
   DEEP 3D ATMOSPHERIC COSMIC HORIZON & LUMINOUS DEPTH (LIGHT MODE)
   Fully Revertible via data-theme="bright"
   ========================================================================== */

@keyframes deepSpaceDrift {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08) translate3d(-15px, -10px, 0);
    opacity: 1;
  }
  100% {
    transform: scale(1.04) translate3d(0, 0, 0);
    opacity: 0.85;
  }
}

@keyframes volumetricBeamBreathe {
  0% {
    opacity: 0.60;
    transform: rotate(-3deg) scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: rotate(2deg) scale(1.04);
  }
  100% {
    opacity: 0.60;
    transform: rotate(-3deg) scale(0.98);
  }
}

/* Layer 0: Root Canvas Base with Luminous Light Pools */
html[data-theme="bright"] body,
html[data-theme="bright"] body.market-page,
html[data-theme="bright"] body.flow-page,
html[data-theme="bright"] body.public-studio-page {
  background-color: #0e141f !important;
  background-image: 
    /* Radiant Luminous Spotlight from Top Header */
    radial-gradient(ellipse 1300px 650px at 50% -120px, rgba(56, 189, 248, 0.35), transparent 75%),
    /* Vibrant Midground Sapphire/Indigo Light Pool */
    radial-gradient(circle 850px at 82% 85%, rgba(99, 102, 241, 0.28), transparent 70%),
    /* Left Horizon Radiant Glow */
    radial-gradient(circle 750px at 12% 38%, rgba(56, 189, 248, 0.22), transparent 65%),
    /* Center Ambient Luminous Lift */
    radial-gradient(circle 900px at 50% 60%, rgba(56, 189, 248, 0.12), transparent 70%),
    /* Perspective Engineering Dot Grid */
    radial-gradient(circle, rgba(56, 189, 248, 0.22) 1.2px, transparent 1.2px),
    /* Technical Grid Lines */
    linear-gradient(rgba(56, 189, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.055) 1px, transparent 1px),
    /* Deep Spherical Horizon Vignette */
    radial-gradient(circle 1400px at 50% 45%, transparent 35%, rgba(7, 11, 17, 0.68) 85%, #06090e 100%),
    /* Base Slate Gradient */
    linear-gradient(180deg, #131b27 0%, #0d121b 100%) !important;
  background-size: 
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    32px 32px,
    32px 32px,
    32px 32px,
    100% 100%,
    100% 100% !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat, repeat, no-repeat, no-repeat !important;
  position: relative !important;
}

/* Layer 1: Brightened Distant Cosmic Starfield & Celestial Nebula (Far Far Back) */
html[data-theme="bright"] body.market-page::before,
html[data-theme="bright"] body.flow-page::before {
  content: "" !important;
  position: fixed !important;
  inset: -60px !important;
  z-index: -2 !important;
  pointer-events: none !important;
  background-image: 
    /* Brightened Nebula Dust Cloud 1 */
    radial-gradient(circle 950px at 25% 20%, rgba(56, 189, 248, 0.32), transparent 65%),
    /* Radiant Deep Space Star Cluster 2 */
    radial-gradient(circle 800px at 75% 65%, rgba(129, 140, 248, 0.28), transparent 60%),
    /* Top Aurora Arc */
    radial-gradient(ellipse 1100px 500px at 50% 0%, rgba(56, 189, 248, 0.28), transparent 70%),
    /* Luminous Star Dust Points */
    radial-gradient(2px 2px at 15% 15%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(2.5px 2.5px at 35% 45%, rgba(255, 255, 255, 0.80), transparent),
    radial-gradient(1.5px 1.5px at 55% 25%, rgba(255, 255, 255, 0.70), transparent),
    radial-gradient(3px 3px at 70% 30%, rgba(56, 189, 248, 0.95), transparent),
    radial-gradient(2px 2px at 85% 60%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(2.5px 2.5px at 20% 75%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 45% 85%, rgba(56, 189, 248, 0.75), transparent),
    radial-gradient(2.5px 2.5px at 90% 15%, rgba(255, 255, 255, 0.90), transparent),
    /* High-Res Cosmic Asset Backdrop with Elevated Brightness */
    linear-gradient(180deg, rgba(14, 20, 30, 0.58) 0%, rgba(9, 14, 22, 0.78) 100%),
    url("../assets/home2-cosmic-hero.jpg") !important;
  background-size: 
    100% 100%,
    100% 100%,
    100% 100%,
    350px 350px,
    450px 450px,
    280px 280px,
    500px 500px,
    400px 400px,
    380px 380px,
    420px 420px,
    300px 300px,
    100% 100%,
    cover !important;
  background-position: 
    center,
    center,
    center top,
    0 0,
    40px 60px,
    100px 30px,
    -50px 80px,
    80px -20px,
    -30px 100px,
    60px 40px,
    0 0,
    center,
    center top !important;
  background-repeat: 
    no-repeat,
    no-repeat,
    no-repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    no-repeat,
    no-repeat !important;
  filter: blur(7px) saturate(1.25) brightness(1.18) !important;
  transform: scale(1.05) !important;
  animation: deepSpaceDrift 30s ease-in-out infinite alternate !important;
  will-change: transform, opacity !important;
  opacity: 0.95 !important;
}

/* Layer 2: Radiant Volumetric God Rays & Ambient Atmosphere (Midground) */
html[data-theme="bright"] body.market-page::after,
html[data-theme="bright"] body.flow-page::after {
  content: "" !important;
  position: fixed !important;
  inset: -50px !important;
  z-index: -1 !important;
  pointer-events: none !important;
  display: block !important;
  background: 
    /* Volumetric Light Shaft 1 */
    conic-gradient(from 220deg at 50% -10%, transparent 0deg, rgba(56, 189, 248, 0.14) 25deg, transparent 50deg),
    /* Volumetric Light Shaft 2 */
    conic-gradient(from 140deg at 50% -10%, transparent 0deg, rgba(99, 102, 241, 0.12) 30deg, transparent 60deg),
    /* Radial Center Focus */
    radial-gradient(circle 850px at 50% 10%, rgba(56, 189, 248, 0.20), transparent 70%) !important;
  filter: blur(32px) !important;
  animation: volumetricBeamBreathe 18s ease-in-out infinite alternate !important;
  will-change: transform, opacity !important;
  opacity: 0.80 !important;
}

/* Subtle motion backdrop in Home */
html[data-theme="bright"] .mock-motion-backdrop {
  opacity: 0.22;
  filter: hue-rotate(190deg) saturate(1.4) brightness(0.9);
}

/* ==========================================================================
   FROSTED SAPPHIRE HEADER (flow-nav)
   ========================================================================== */
html[data-theme="bright"] .flow-nav,
html[data-theme="bright"] .market-page .flow-nav,
html[data-theme="bright"] .item-template-page .flow-nav,
html[data-theme="bright"] .public-studio-page:not(.mockup-home).item-template-page .flow-nav {
  background: rgba(13, 20, 29, 0.86) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16) !important;
  backdrop-filter: blur(28px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.4) !important;
  box-shadow:
    0 4px 30px rgba(4, 8, 14, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

html[data-theme="bright"] .flow-brand,
html[data-theme="bright"] .flow-brand strong {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

html[data-theme="bright"] .flow-nav nav a {
  color: #94a3b8 !important;
  font-weight: 520;
  transition: color 160ms ease, text-shadow 160ms ease;
}

html[data-theme="bright"] .flow-nav nav a:hover,
html[data-theme="bright"] .flow-nav nav a[aria-current="page"] {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

html[data-theme="bright"] .flow-actions a {
  color: #f0f6fc !important;
  border: 1px solid rgba(56, 189, 248, 0.20) !important;
  background: rgba(56, 189, 248, 0.08) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

html[data-theme="bright"] .flow-actions a:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

html[data-theme="bright"] .flow-preview-toggle {
  background: rgba(56, 189, 248, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.20) !important;
  color: #38bdf8 !important;
}

html[data-theme="bright"] .flow-preview-toggle:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

/* Currency Picker & Cart */
html[data-theme="bright"] .shop-currency-trigger,
html[data-theme="bright"] .currency-picker {
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.20) !important;
  color: #f0f6fc !important;
}

/* ==========================================================================
   FROSTED SAPPHIRE SIDEBAR (market-sidebar)
   ========================================================================== */
html[data-theme="bright"] .market-sidebar {
  background: rgba(13, 20, 29, 0.88) !important;
  border-right: 1px solid rgba(56, 189, 248, 0.14) !important;
  backdrop-filter: blur(28px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.4) !important;
  box-shadow: 8px 0 32px rgba(4, 8, 14, 0.35);
}

html[data-theme="bright"] .market-sidebar small {
  color: rgba(148, 163, 184, 0.65) !important;
  letter-spacing: 0.14em;
}

html[data-theme="bright"] .market-sidebar nav a {
  color: #94a3b8 !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  transition: all 180ms ease;
}

html[data-theme="bright"] .market-sidebar nav a:hover {
  color: #ffffff !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.16) !important;
}

html[data-theme="bright"] .market-sidebar nav a.active {
  color: #ffffff !important;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.20), rgba(99, 102, 241, 0.14)) !important;
  border-color: rgba(56, 189, 248, 0.40) !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.22);
}

html[data-theme="bright"] .market-sidebar nav a .cat-svg {
  color: #94a3b8 !important;
}

html[data-theme="bright"] .market-sidebar nav a.active .cat-svg {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

html[data-theme="bright"] .sidebar-divider {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.04)) !important;
}

html[data-theme="bright"] .sidebar-sub-heading {
  color: rgba(148, 163, 184, 0.7) !important;
}

html[data-theme="bright"] .market-sidebar a.sub-cat-link {
  color: #94a3b8 !important;
}

html[data-theme="bright"] .market-sidebar a.sub-cat-link:hover {
  color: #ffffff !important;
}

html[data-theme="bright"] .market-sidebar a.sub-cat-link.is-editors-pick.active {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.24), rgba(217, 119, 6, 0.12)) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25) !important;
}

html[data-theme="bright"] .market-sidebar a.sub-cat-link.is-amd.active {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.24), rgba(220, 38, 38, 0.12)) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.25) !important;
}

html[data-theme="bright"] .market-sidebar a.sub-cat-link.is-mac.active {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.24), rgba(99, 102, 241, 0.14)) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25) !important;
}

/* Stylized Editor's Pick Page : Bright Theme */
html[data-theme="bright"] body.is-editors-pick-page [data-category-title] {
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 30%, #fbbf24 70%, #f59e0b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html[data-theme="bright"] body.is-editors-pick-page [data-category-description] {
  color: rgba(245, 243, 237, 0.78) !important;
}

html[data-theme="bright"] body.is-editors-pick-page .category-search-box {
  background: rgba(18, 20, 26, 0.78) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(245, 158, 11, 0.12) !important;
}

/* ==========================================================================
   RIGHT ACTIVITY PANEL
   ========================================================================== */
html[data-theme="bright"] .studio-activity,
html[data-theme="bright"] .market-activity,
html[data-theme="bright"] aside.studio-activity-sidebar,
html[data-theme="bright"] [data-activity-sidebar] {
  background: rgba(13, 20, 29, 0.88) !important;
  border-left: 1px solid rgba(56, 189, 248, 0.14) !important;
  backdrop-filter: blur(28px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.4) !important;
}

/* ==========================================================================
   LUMINOUS EDITORIAL TYPOGRAPHY
   ========================================================================== */
html[data-theme="bright"] #mockHeroTitle,
html[data-theme="bright"] .mock-hero-heading h1,
html[data-theme="bright"] .mock-hero-heading .mock-type-voice,
html[data-theme="bright"] .mock-hero-heading strong,
html[data-theme="bright"] .mock-hero-heading em,
html[data-theme="bright"] .mock-hero-side p strong,
html[data-theme="bright"] .fuses-explainer-title,
html[data-theme="bright"] .studio-index-hero h1,
html[data-theme="bright"] .studio-section-heading h2,
html[data-theme="bright"] .studio-cluster-heading h2,
html[data-theme="bright"] .category-hero h1,
html[data-theme="bright"] .account-hero h1,
html[data-theme="bright"] .item-info-col h1,
html[data-theme="bright"] .item-info-panel h1,
html[data-theme="bright"] .item-hero-title,
html[data-theme="bright"] [data-item-name] {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(56, 189, 248, 0.25);
}

html[data-theme="bright"] .mock-kicker,
html[data-theme="bright"] .studio-index-kicker,
html[data-theme="bright"] .category-kicker,
html[data-theme="bright"] .studio-section-heading p,
html[data-theme="bright"] .studio-cluster-heading p,
html[data-theme="bright"] .item-kicker,
html[data-theme="bright"] .item-type,
html[data-theme="bright"] [data-item-type],
html[data-theme="bright"] .item-author-label {
  color: #38bdf8 !important;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

html[data-theme="bright"] .mock-hero-lede,
html[data-theme="bright"] .mock-hero-side p span,
html[data-theme="bright"] .fuses-explainer-subtitle,
html[data-theme="bright"] .studio-index-lede,
html[data-theme="bright"] .category-lede,
html[data-theme="bright"] .studio-cluster-heading span,
html[data-theme="bright"] .item-description,
html[data-theme="bright"] [data-item-description],
html[data-theme="bright"] .item-lede,
html[data-theme="bright"] .compat-entry,
html[data-theme="bright"] .item-info-panel p {
  color: #94a3b8 !important;
}

html[data-theme="bright"] .mock-hero-meta {
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  color: #64748b !important;
}

/* Action Buttons */
html[data-theme="bright"] .mock-button-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow:
    0 8px 24px rgba(2, 132, 199, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.25) inset !important;
}

html[data-theme="bright"] .mock-button-primary:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8) !important;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.6) !important;
  transform: none;
}

html[data-theme="bright"] .mock-button-secondary {
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.24) !important;
  color: #f0f6fc !important;
}

html[data-theme="bright"] .mock-button-secondary:hover {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}

/* ==========================================================================
   HOLOGRAPHIC SAPPHIRE PRODUCT CARDS
   ========================================================================== */
html[data-theme="bright"] .studio-feed-grid > article,
html[data-theme="bright"] .studio-cluster-grid > article,
html[data-theme="bright"] .fuses-showcase-card,
html[data-theme="bright"] .category-grid > article,
html[data-theme="bright"] .mock-app-window,
html[data-theme="bright"] .mock-video-frame,
html[data-theme="bright"] .account-card-panel,
html[data-theme="bright"] .category-filter-wrap {
  background: linear-gradient(165deg, rgba(22, 32, 46, 0.92), rgba(15, 22, 32, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 14px;
  box-shadow:
    0 20px 50px rgba(4, 10, 18, 0.50),
    0 4px 14px rgba(4, 10, 18, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

html[data-theme="bright"] .studio-feed-grid > article:hover,
html[data-theme="bright"] .studio-cluster-grid > article:hover,
html[data-theme="bright"] .category-grid > article:hover {
  border-color: rgba(56, 189, 248, 0.42) !important;
  box-shadow:
    0 24px 60px rgba(4, 10, 18, 0.65),
    0 0 28px rgba(56, 189, 248, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  transform: none;
}

/* Category Filter Bar */
html[data-theme="bright"] .category-tag-filter {
  background: rgba(16, 24, 35, 0.92) !important;
  border: 1px solid rgba(56, 189, 248, 0.20) !important;
  box-shadow: 0 16px 44px rgba(4, 10, 18, 0.4);
}

/* Roadmap / Unavailable entries */
html[data-theme="bright"] .studio-later-grid > article {
  background: rgba(22, 32, 46, 0.55) !important;
  border: 1px dashed rgba(56, 189, 248, 0.22) !important;
  color: #f0f6fc !important;
}

html[data-theme="bright"] .studio-later-grid > article span {
  color: #38bdf8 !important;
}

html[data-theme="bright"] .studio-later-grid > article p {
  color: #94a3b8 !important;
}

/* Explainer Section in Home */
html[data-theme="bright"] .fuses-explainer-section {
  background: rgba(18, 26, 37, 0.45) !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
}

html[data-theme="bright"] .fuses-step-card {
  background: rgba(20, 30, 43, 0.90) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   ITEM DETAIL PAGE (item.html) : SEAMLESS NATURAL BACKGROUND
   ========================================================================== */

/* Transparent Info Panel & Sidebar Stage (No background box behind text) */
html[data-theme="bright"] .public-studio-page:not(.mockup-home).item-template-page .item-hero-template,
html[data-theme="bright"] .public-studio-page:not(.mockup-home).item-template-page .item-info-panel,
html[data-theme="bright"] .public-studio-page:not(.mockup-home).item-template-page .item-gallery-panel,
html[data-theme="bright"] .item-info-col,
html[data-theme="bright"] .item-info-panel,
html[data-theme="bright"] .item-description-panel {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-right: none !important;
  box-shadow: none !important;
}

html[data-theme="bright"] body.item-template-page .item-gallery-stage,
html[data-theme="bright"] .public-studio-page:not(.mockup-home).item-template-page .item-gallery-stage,
html[data-theme="bright"] .item-gallery-stage {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(56, 189, 248, 0.12) 0%, transparent 70%),
    linear-gradient(rgba(12, 17, 26, 0.85), rgba(10, 14, 22, 0.96)),
    url("/assets/home/flash-motion-poster.webp") center / cover no-repeat !important;
  border-left: 1px solid rgba(56, 189, 248, 0.16) !important;
}

/* Navigation & Wishlist Buttons */
html[data-theme="bright"] .item-back-link,
html[data-theme="bright"] .wishlist-button,
html[data-theme="bright"] [data-wishlist] {
  color: #f1f5f9 !important;
  background: rgba(14, 22, 34, 0.80) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

html[data-theme="bright"] .item-back-link:hover,
html[data-theme="bright"] .wishlist-button:hover,
html[data-theme="bright"] [data-wishlist]:hover {
  background: rgba(22, 34, 52, 0.95) !important;
  border-color: rgba(56, 189, 248, 0.50) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
}

/* Tab Switcher */
html[data-theme="bright"] .item-tab-button {
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

html[data-theme="bright"] .item-tab-button.is-active {
  color: #38bdf8 !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
}

/* Description Typography */
html[data-theme="bright"] .item-info-col h1,
html[data-theme="bright"] .item-info-panel h1,
html[data-theme="bright"] .item-hero-title,
html[data-theme="bright"] [data-item-name] {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="bright"] .item-lede,
html[data-theme="bright"] .item-description-lede {
  color: #e2e8f0 !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

html[data-theme="bright"] .item-description,
html[data-theme="bright"] [data-item-description],
html[data-theme="bright"] .item-info-panel p,
html[data-theme="bright"] .item-description-panel p {
  color: #cbd5e1 !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  font-size: 14.5px !important;
}

/* Pill Tags */
html[data-theme="bright"] .item-tag-row .item-tag,
html[data-theme="bright"] [data-item-tags] span,
html[data-theme="bright"] .item-badge-pill {
  background: rgba(12, 19, 30, 0.70) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

/* Feature Row Blocks */
html[data-theme="bright"] .item-feature-group,
html[data-theme="bright"] .item-feature-card {
  background: rgba(11, 17, 26, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
}

html[data-theme="bright"] .item-feature-card strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

html[data-theme="bright"] .item-feature-card p {
  color: #94a3b8 !important;
}

/* Compatibility Grid */
html[data-theme="bright"] .item-compatibility small {
  color: #94a3b8 !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
}

html[data-theme="bright"] .item-compat-grid .compat-entry {
  background: rgba(10, 16, 26, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  color: #cbd5e1 !important;
  font-weight: 500 !important;
}

html[data-theme="bright"] .item-compat-grid .compat-entry strong {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Buy Panel */
html[data-theme="bright"] .item-version-stack,
html[data-theme="bright"] .item-version-row,
html[data-theme="bright"] .item-buy-panel {
  background: linear-gradient(165deg, rgba(14, 21, 32, 0.90), rgba(9, 14, 22, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 12px !important;
  padding: 18px !important;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(56, 189, 248, 0.10) !important;
}

html[data-theme="bright"] .item-version-row *,
html[data-theme="bright"] .item-buy-panel * {
  color: #f8fafc;
}

html[data-theme="bright"] .item-version-row .item-price,
html[data-theme="bright"] .item-buy-panel .item-price {
  color: #38bdf8 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.6) !important;
}

/* Related Items Section */
html[data-theme="bright"] .item-related-section,
html[data-theme="bright"] .item-bundle-contents-section {
  background: rgba(8, 12, 18, 0.85) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.16) !important;
  backdrop-filter: blur(20px) !important;
}

/* Footer */
html[data-theme="bright"] .flow-footer,
html[data-theme="bright"] .mock-site-footer {
  border-top: 1px solid var(--line) !important;
  background: rgba(11, 17, 25, 0.98) !important;
  color: #94a3b8 !important;
}

html[data-theme="bright"] .flow-footer a,
html[data-theme="bright"] .mock-site-footer a {
  color: #cbd5e1 !important;
}

html[data-theme="bright"] .flow-footer a:hover,
html[data-theme="bright"] .mock-site-footer a:hover {
  color: #38bdf8 !important;
}

/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  color: #38bdf8;
  cursor: pointer;
  outline: none;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  transform: scale(1.05);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.theme-toggle-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease, opacity 220ms ease;
}

.theme-toggle-btn .icon-sun {
  display: none;
}

.theme-toggle-btn .icon-moon {
  display: block;
}

html[data-theme="bright"] .theme-toggle-btn {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

html[data-theme="bright"] .theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.24);
  border-color: rgba(56, 189, 248, 0.55);
}

html[data-theme="bright"] .theme-toggle-btn .icon-sun {
  display: block;
}

html[data-theme="bright"] .theme-toggle-btn .icon-moon {
  display: none;
}

/* ==========================================================================
   NEW STORE OVERVIEW REDESIGN (SUBTLE TYPOGRAPHY, BOTTOM-RIGHT CART ICON & HOVER POPUP)
   ========================================================================== */
.new-store-overview {
  margin-left: 172px !important;
  padding: 30px 42px 100px !important;
  max-width: 1440px !important;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .new-store-overview {
    margin-left: 0 !important;
    padding: 20px 16px 80px !important;
  }
}

/* 1. NATIVE COMPACT SPOTLIGHT BANNER */
.compact-spotlight-banner {
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  margin-bottom: 28px;
  border-radius: 10px;
  background: rgba(18, 27, 39, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.16);
  box-shadow: 0 12px 36px rgba(4, 10, 18, 0.35);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.compact-spotlight-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.compact-spotlight-meta .spotlight-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.compact-spotlight-meta .spotlight-author {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.compact-spotlight-title {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
  margin: 0 0 5px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.compact-spotlight-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0 0 12px;
  max-width: 580px;
}

.compact-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compact-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 160ms ease;
}

.compact-btn-primary:hover {
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
  transform: none;
}

.compact-spotlight-price {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #38bdf8;
}

.compact-spotlight-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: #090e14;
}

.compact-spotlight-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2. RECOMMENDED SLIDING RAIL (Auto-Slide + Drag) */
.recommended-rail-section {
  margin-bottom: 34px;
  position: relative;
}

.recommended-rail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.recommended-kicker {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: #38bdf8 !important;
  display: block;
  margin-bottom: 2px;
}

.recommended-rail-title-wrap h2 {
  font-size: 18px;
  font-weight: 750;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.recommended-rail-hint {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.recommended-rail-viewport {
  overflow: hidden;
  border-radius: 10px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.recommended-rail-track {
  display: flex;
  gap: 14px;
  will-change: transform;
  padding: 2px 0 6px;
}

.recommended-rail-track.is-dragging {
  cursor: grabbing;
}

.recommended-card {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  border-radius: 9px;
  background: rgba(18, 27, 39, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.14);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(4, 10, 18, 0.3);
  transition: transform 160ms ease, border-color 160ms ease;
}

.recommended-card:hover {
  transform: none;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 28px rgba(4, 10, 18, 0.45);
}

.recommended-card-visual {
  position: relative;
  width: 100%;
  height: 115px;
  background: #090e14;
  overflow: hidden;
}

.recommended-card-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recommended-card-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: rgba(9, 14, 20, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.recommended-card-body {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.recommended-card-title {
  font-size: 12.5px;
  font-weight: 650;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommended-card-price {
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
}

.recommended-scrollbar-wrap {
  margin-top: 8px;
  padding: 0 4px;
}

.recommended-scrollbar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  position: relative;
}

.recommended-thumb {
  height: 100%;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, width;
}

/* 3. CONTROLS TOOLBAR (Featured vs Latest + Instant Search) */
.store-controls-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(16, 24, 35, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.14);
  backdrop-filter: blur(14px);
}

.store-view-switcher {
  display: flex;
  gap: 6px;
}

.view-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  background: rgba(56, 189, 248, 0.05);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease;
}

.view-switch-btn svg {
  stroke: currentColor;
}

.view-switch-btn:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
}

.view-switch-btn.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.store-controls-toolbar .store-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 220px;
  max-width: 360px;
}

.store-controls-toolbar .store-search-bar svg {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
}

.store-controls-toolbar .store-search-bar input {
  width: 100%;
  height: 34px;
  padding: 0 32px 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  background: rgba(10, 16, 24, 0.85);
  color: #ffffff;
  font-size: 12px;
  outline: none;
  transition: all 160ms ease;
}

.store-controls-toolbar .store-search-bar input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.store-controls-toolbar .clear-search-btn {
  position: absolute;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4. TIMELINE DATE DIVIDERS (LATEST SORT) */
.timeline-date-stream {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline-date-group {
  position: relative;
}

.timeline-date-divider {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}

.timeline-date-label {
  display: grid;
  gap: 2px;
}

.timeline-tag {
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: #38bdf8 !important;
}

.timeline-date-heading {
  font-size: 18px;
  font-weight: 750;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.timeline-sub {
  font-size: 12px;
  color: #64748b;
}

.timeline-count-pill {
  padding: 2.5px 9px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 650;
}

/* 5. SUBTLE COMPACT PRODUCT CARDS & BOTTOM-RIGHT CART ICON */
.store-shelf-section {
  margin-bottom: 40px;
}

.shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.shelf-title-wrap {
  display: grid;
  gap: 2px;
}

.shelf-kicker {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: #38bdf8 !important;
  margin: 0;
}

.shelf-header h2 {
  font-size: 18px;
  font-weight: 750;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.shelf-desc {
  font-size: 12px;
  color: #64748b;
}

.shelf-view-all-link {
  color: #38bdf8 !important;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: all 150ms ease;
  white-space: nowrap;
}

.shelf-view-all-link:hover {
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
  transform: translateX(2px);
}

.store-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* Card Container Overrides */
html[data-theme="bright"] .studio-card.compact-card,
html[data-theme="bright"] .category-browser-card {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 230px !important;
  transform: none !important;
  border-radius: 9px !important;
  background: rgba(18, 27, 39, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.14) !important;
  box-shadow: 0 8px 22px rgba(4, 10, 18, 0.35) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease !important;
}

html[data-theme="bright"] .studio-card.compact-card:hover,
html[data-theme="bright"] .category-browser-card:hover {
  transform: none !important;
  border-color: rgba(56, 189, 248, 0.38) !important;
  box-shadow: 0 12px 28px rgba(4, 10, 18, 0.5), 0 0 16px rgba(56, 189, 248, 0.15) !important;
}

/* Card Art */
html[data-theme="bright"] .category-card-art {
  height: 110px !important;
  border-radius: 8px 8px 0 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Remove old checkbox toggle from art */
.card-cart-toggle {
  display: none !important;
}

/* Card Body */
html[data-theme="bright"] .category-card-body {
  padding: 10px 12px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

/* Meta: Type & Author */
html[data-theme="bright"] .category-card-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 3px !important;
}

html[data-theme="bright"] .category-card-type {
  color: #64748b !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

html[data-theme="bright"] .shop-item-author {
  color: #475569 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* Title */
html[data-theme="bright"] .category-card-title,
html[data-theme="bright"] .category-card-body strong {
  color: #f1f5f9 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  margin: 2px 0 4px !important;
  text-shadow: none !important;
  line-height: 1.25 !important;
}

/* Description (Subtle 2-line clamp) */
html[data-theme="bright"] .category-card-desc,
html[data-theme="bright"] .category-card-body p {
  color: #7a8b9e !important;
  font-size: 11px !important;
  line-height: 1.38 !important;
  margin: 0 0 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Footer: Price Left + Cart Icon Right */
html[data-theme="bright"] .category-card-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: auto !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(56, 189, 248, 0.08) !important;
}

html[data-theme="bright"] .category-card-footer-left b,
html[data-theme="bright"] .category-card-footer b {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  text-shadow: none !important;
}

/* Bottom Right Cart Icon Button */
.card-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #94a3b8;
  cursor: pointer;
  outline: none;
  transition: all 140ms cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.card-cart-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  transform: scale(1.06);
}

.card-cart-btn svg {
  pointer-events: none;
}

.card-cart-btn .cart-icon-active {
  display: none;
}

.card-cart-btn.is-in-cart {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.card-cart-btn.is-in-cart .cart-icon-idle {
  display: none;
}

.card-cart-btn.is-in-cart .cart-icon-active {
  display: block;
}

/* 6. HOVER OVERLAY QUICK-VIEW POPUP */
.store-hover-preview-popup {
  position: absolute;
  width: 330px;
  border-radius: 12px;
  background: rgba(14, 21, 31, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow:
    0 24px 60px rgba(2, 6, 12, 0.85),
    0 0 28px rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  opacity: 0;
  transform: scale(0.96) translateY(4px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.store-hover-preview-popup.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.hover-preview-media {
  position: relative;
  width: 100%;
  height: 160px;
  background: #090e14;
  overflow: hidden;
}

.hover-preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hover-preview-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(9, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.hover-preview-content {
  padding: 14px 16px 16px;
}

.hover-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.hover-preview-type {
  display: block;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 2px;
}

.hover-preview-title {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.2;
}

.hover-preview-author {
  display: block;
  font-size: 10px;
  color: #475569;
  font-weight: 600;
}

.hover-preview-price {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
}

.hover-preview-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: #cbd5e1;
  margin: 0 0 12px;
}

.hover-preview-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.hover-preview-compat .compat-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.16);
  color: #94a3b8;
  font-size: 9.5px;
  font-weight: 600;
  margin-right: 4px;
}

.hover-preview-tags .tag-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 9.5px;
  font-weight: 600;
  margin-right: 4px;
}

.hover-preview-actions {
  display: flex;
  gap: 8px;
}

.hover-preview-view-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 650;
  text-decoration: none;
  transition: all 140ms ease;
}

.hover-preview-view-btn:hover {
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
  transform: none;
}

.hover-preview-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #f0f6fc;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  transition: all 140ms ease;
}

.hover-preview-cart-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
}

.hover-preview-cart-btn.is-in-cart {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* ==========================================================================
   STORE OVERVIEW GRID PROTECTION (PREVENTS ABSOLUTE SCATTER OVERLAP)
   ========================================================================== */
.new-store-overview .store-shelf-grid,
.new-store-overview .timeline-grid,
.store-shelf-grid,
.timeline-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 16px !important;
  position: static !important;
  height: auto !important;
  width: 100% !important;
  clear: both !important;
}

.new-store-overview .store-shelf-grid > *,
.new-store-overview .timeline-grid > *,
.store-shelf-grid .category-browser-card,
.timeline-grid .category-browser-card,
.store-shelf-grid .store-grid-card,
.timeline-grid .store-grid-card,
.store-shelf-grid .studio-card,
.timeline-grid .studio-card {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 230px !important;
  margin: 0 !important;
  float: none !important;
}


/* ==========================================================================
   HORIZONTAL HOVER QUICK-VIEW POPUP (TEXT LEFT, VIDEO RIGHT)
   ========================================================================== */
.store-hover-preview-popup {
  position: absolute !important;
  width: 540px !important;
  max-width: calc(100vw - 32px) !important;
  min-height: 220px !important;
  border-radius: 12px !important;
  background: rgba(14, 21, 31, 0.96) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow:
    0 24px 64px rgba(2, 6, 12, 0.88),
    0 0 28px rgba(56, 189, 248, 0.22) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  transform: scale(0.96) !important;
  pointer-events: none !important;
  transition: opacity 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 16px !important;
  padding: 16px 18px !important;
}

.store-hover-preview-popup.is-active {
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}

/* Left Column: Text & Actions */
.hover-preview-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

.hover-preview-meta-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
}

.hover-preview-type {
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: 0.08em !important;
  color: #64748b !important;
}

.hover-preview-author {
  font-size: 9.5px !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.hover-preview-title {
  font-size: 15px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.hover-preview-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.hover-preview-price {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  white-space: nowrap !important;
}

.hover-preview-desc {
  font-size: 11.5px !important;
  line-height: 1.42 !important;
  color: #cbd5e1 !important;
  margin: 0 0 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.hover-preview-compat {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-bottom: 12px !important;
}

.hover-preview-compat .compat-pill {
  display: inline-block !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  color: #94a3b8 !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
}

.hover-preview-actions {
  display: flex !important;
  gap: 8px !important;
  margin-top: auto !important;
}

.hover-preview-view-btn {
  flex: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 12px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  transition: all 140ms ease !important;
}

.hover-preview-view-btn:hover {
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5) !important;
  transform: none !important;
}

.hover-preview-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 12px !important;
  border-radius: 6px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: #f0f6fc !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  transition: all 140ms ease !important;
}

.hover-preview-cart-btn:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.hover-preview-cart-btn.is-in-cart {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
}

/* Right Column: Video Preview */
.hover-preview-right {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
}

.hover-preview-media {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 180px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  background: #090e14 !important;
}

.hover-preview-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hover-preview-badge {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  background: rgba(9, 14, 20, 0.85) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
}


/* ==========================================================================
   CLEAN COMPACT CARDS (ZERO GAP BETWEEN PICTURE AND TEXT)
   ========================================================================== */
.store-shelf-grid .store-grid-card,
.timeline-grid .store-grid-card,
.store-shelf-grid .category-browser-card,
.timeline-grid .category-browser-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: 8px !important;
  background: rgba(18, 27, 39, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.14) !important;
  box-shadow: 0 6px 20px rgba(4, 10, 18, 0.35) !important;
  overflow: hidden !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease !important;
}

.store-shelf-grid .store-grid-card:hover,
.timeline-grid .store-grid-card:hover,
.store-shelf-grid .category-browser-card:hover,
.timeline-grid .category-browser-card:hover {
  transform: none !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 10px 28px rgba(4, 10, 18, 0.55), 0 0 16px rgba(56, 189, 248, 0.16) !important;
}

/* Card Art Thumbnail: Strict 115px height, flush with body */
.store-shelf-grid .category-card-art,
.timeline-grid .category-card-art,
.new-store-overview .category-card-art {
  width: 100% !important;
  height: 115px !important;
  min-height: 115px !important;
  max-height: 115px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 7px 7px 0 0 !important;
  position: relative !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Card Body: Starts immediately beneath art, zero dead space */
.store-shelf-grid .category-card-body,
.timeline-grid .category-card-body,
.new-store-overview .category-card-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 9px 12px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  margin: 0 !important;
  background: transparent !important;
}

.store-shelf-grid .category-card-meta,
.timeline-grid .category-card-meta,
.new-store-overview .category-card-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
}

.store-shelf-grid .category-card-type,
.timeline-grid .category-card-type,
.new-store-overview .category-card-type {
  color: #64748b !important;
  font-size: 9.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.store-shelf-grid .shop-item-author,
.timeline-grid .shop-item-author,
.new-store-overview .shop-item-author {
  color: #475569 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
}

.store-shelf-grid .category-card-title,
.timeline-grid .category-card-title,
.new-store-overview .category-card-title,
.new-store-overview .category-card-body strong {
  color: #f1f5f9 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  margin: 1px 0 3px !important;
  text-shadow: none !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.store-shelf-grid .category-card-desc,
.timeline-grid .category-card-desc,
.new-store-overview .category-card-desc,
.new-store-overview .category-card-body p {
  color: #7a8b9e !important;
  font-size: 11px !important;
  line-height: 1.38 !important;
  margin: 0 0 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.store-shelf-grid .category-card-footer,
.timeline-grid .category-card-footer,
.new-store-overview .category-card-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: auto !important;
  padding-top: 6px !important;
  border-top: 1px solid rgba(56, 189, 248, 0.08) !important;
}

/* ==========================================================================
   REFINED 80% OPACITY HORIZONTAL HOVER OVERLAY (NO BUTTONS, HIGHER UP)
   ========================================================================== */
.store-hover-preview-popup {
  position: absolute !important;
  width: 520px !important;
  max-width: calc(100vw - 32px) !important;
  min-height: 200px !important;
  border-radius: 12px !important;
  background: rgba(13, 20, 30, 0.80) !important;
  border: 1px solid rgba(56, 189, 248, 0.32) !important;
  box-shadow:
    0 24px 60px rgba(2, 6, 12, 0.85),
    0 0 24px rgba(56, 189, 248, 0.18) !important;
  backdrop-filter: blur(24px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.4) !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  transform: scale(0.96) translateY(4px) !important;
  pointer-events: none !important; /* Disappears when cursor leaves card */
  transition: opacity 140ms ease, transform 140ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 14px !important;
  padding: 14px 16px !important;
}

.store-hover-preview-popup.is-active {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

.hover-preview-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
}

.hover-preview-meta-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
}

.hover-preview-type {
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: 0.08em !important;
  color: #64748b !important;
}

.hover-preview-author {
  font-size: 9px !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.hover-preview-title {
  font-size: 15px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.hover-preview-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.hover-preview-price {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  white-space: nowrap !important;
}

/* Extended 5-line description */
.hover-preview-desc {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  color: #cbd5e1 !important;
  margin: 0 0 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.hover-preview-compat {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-top: auto !important;
}

.hover-preview-compat .compat-pill {
  display: inline-block !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  color: #94a3b8 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
}

.hover-preview-right {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
}

.hover-preview-media {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 170px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  background: #090e14 !important;
}

.hover-preview-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hover-preview-badge {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  background: rgba(9, 14, 20, 0.85) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  font-size: 8.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
}

/* Cart Thumbnails: Ensure image renders properly */
.cart-floating-thumb,
.cart-item-art {
  background-size: cover !important;
  background-position: center !important;
  border-radius: 6px !important;
}


/* ==========================================================================
   STABLE CARD HOVER (NO TRANSLATEY / NO JITTER / NO CANCELING)
   ========================================================================== */
.new-store-overview .category-browser-card,
.new-store-overview .category-browser-card:hover,
.new-store-overview .store-grid-card,
.new-store-overview .store-grid-card:hover,
.new-store-overview .studio-card,
.new-store-overview .studio-card:hover,
.store-shelf-grid .category-browser-card,
.store-shelf-grid .category-browser-card:hover,
.timeline-grid .category-browser-card,
.timeline-grid .category-browser-card:hover,
.store-shelf-grid .store-grid-card,
.store-shelf-grid .store-grid-card:hover,
.timeline-grid .store-grid-card,
.timeline-grid .store-grid-card:hover,
.store-shelf-grid .studio-card,
.store-shelf-grid .studio-card:hover,
.timeline-grid .studio-card,
.timeline-grid .studio-card:hover {
  transform: none !important;
}

.store-hover-preview-popup {
  pointer-events: none !important;
}


/* ==========================================================================
   ROCK SOLID HOVER OVERLAY (ZERO SCALE / ZERO FLICKER / FIXED DIMENSIONS)
   ========================================================================== */
.store-hover-preview-popup {
  position: absolute !important;
  width: 520px !important;
  min-width: 520px !important;
  max-width: 520px !important;
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  background: rgba(13, 20, 30, 0.80) !important;
  border: 1px solid rgba(56, 189, 248, 0.32) !important;
  box-shadow:
    0 24px 60px rgba(2, 6, 12, 0.85),
    0 0 24px rgba(56, 189, 248, 0.18) !important;
  backdrop-filter: blur(24px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.4) !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  transform: none !important; /* STRICTLY NO SCALE ANIMATION */
  pointer-events: none !important; /* Disappears when cursor leaves card */
  transition: opacity 120ms ease !important; /* PURE OPACITY FADE ONLY */
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 14px !important;
  padding: 14px 16px !important;
}

.store-hover-preview-popup.is-active {
  opacity: 1 !important;
  transform: none !important; /* NO RESIZING / NO JUMPING */
}

/* Left Column: Fixed Content Box */
.hover-preview-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  max-height: 182px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.hover-preview-meta-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
}

.hover-preview-type {
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: 0.08em !important;
  color: #64748b !important;
}

.hover-preview-author {
  font-size: 9px !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.hover-preview-title {
  font-size: 15px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hover-preview-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-bottom: 4px !important;
}

.hover-preview-price {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  white-space: nowrap !important;
}

/* Description: Clamped 4 lines cleanly */
.hover-preview-desc {
  font-size: 11px !important;
  line-height: 1.42 !important;
  color: #cbd5e1 !important;
  margin: 0 0 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.hover-preview-compat {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-top: auto !important;
}

.hover-preview-compat .compat-pill {
  display: inline-block !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  color: #94a3b8 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
}

/* Right Column: Fixed Ratio Video Box */
.hover-preview-right {
  position: relative !important;
  display: block !important;
  height: 100% !important;
  max-height: 182px !important;
  width: 100% !important;
}

.hover-preview-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  background: #090e14 !important;
}

.hover-preview-media video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hover-preview-badge {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  background: rgba(9, 14, 20, 0.85) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  font-size: 8.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
  z-index: 2 !important;
}


/* ==========================================================================
   SMOOTH SLIDE UP ON CARD HOVER (WITH HIT-AREA CUSHION TO PREVENT JITTER)
   ========================================================================== */
.new-store-overview .category-browser-card,
.new-store-overview .store-grid-card,
.store-shelf-grid .category-browser-card,
.timeline-grid .category-browser-card,
.store-shelf-grid .store-grid-card,
.timeline-grid .store-grid-card {
  position: relative !important;
  transform: translateY(0) !important;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease !important;
  will-change: transform !important;
}

/* Invisible hit-area cushion extends 10px around card to guarantee mouse stays inside during slide up */
.new-store-overview .category-browser-card::before,
.new-store-overview .store-grid-card::before,
.store-shelf-grid .store-grid-card::before,
.timeline-grid .store-grid-card::before {
  content: '' !important;
  position: absolute !important;
  inset: -10px !important;
  pointer-events: auto !important;
  z-index: 0 !important;
}

.new-store-overview .category-browser-card:hover,
.new-store-overview .store-grid-card:hover,
.store-shelf-grid .category-browser-card:hover,
.timeline-grid .category-browser-card:hover,
.store-shelf-grid .store-grid-card:hover,
.timeline-grid .store-grid-card:hover {
  transform: translateY(-4px) !important; /* Smooth subtle slide up */
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 12px 32px rgba(2, 6, 12, 0.65), 0 0 18px rgba(56, 189, 248, 0.2) !important;
  z-index: 10 !important;
}

/* Ensure inner contents sit above hit cushion */
.store-grid-card > * {
  position: relative !important;
  z-index: 1 !important;
}


/* ==========================================================================
   DEFINITIVE SMOOTH CARD SLIDE-UP ON HOVER (TRANSLATEY -5PX)
   ========================================================================== */
a.category-browser-card,
.category-browser-card,
.store-grid-card,
.recommended-card,
.studio-card {
  position: relative !important;
  transform: translateY(0) !important;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease !important;
  will-change: transform !important;
}

a.category-browser-card:hover,
.category-browser-card:hover,
.store-grid-card:hover,
.recommended-card:hover,
.studio-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 12px 32px rgba(2, 6, 12, 0.7), 0 0 20px rgba(56, 189, 248, 0.22) !important;
  z-index: 20 !important;
}


/* ==========================================================================
   HIGH SPECIFICITY CARD HOVER SLIDE-UP (TRANSLATEY -5PX IN ALL THEMES)
   ========================================================================== */
html[data-theme="bright"] .category-browser-card:hover,
html[data-theme="bright"] .store-grid-card:hover,
html[data-theme="bright"] .recommended-card:hover,
html[data-theme="bright"] .studio-card:hover,
html[data-theme="bright"] .compact-card:hover,
html .category-browser-card:hover,
html .store-grid-card:hover,
html .recommended-card:hover,
html .studio-card:hover,
html .compact-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 12, 0.75), 0 0 20px rgba(56, 189, 248, 0.25) !important;
  z-index: 50 !important;
}

html[data-theme="bright"] .category-browser-card,
html[data-theme="bright"] .store-grid-card,
html[data-theme="bright"] .recommended-card,
html[data-theme="bright"] .studio-card,
html .category-browser-card,
html .store-grid-card,
html .recommended-card,
html .studio-card {
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease !important;
}


/* ==========================================================================
   SEAMLESS HOVER OVERLAY BRIDGE (INTERACTIVE ON HOVER, NO FLICKER)
   ========================================================================== */
.store-hover-preview-popup {
  pointer-events: none !important;
}

.store-hover-preview-popup.is-active {
  pointer-events: auto !important;
}

/* ==========================================================================
   COMPACT HORIZONTAL BUY BAR & SIDE-BY-SIDE BUTTONS
   ========================================================================== */
.item-version-stack {
  margin-top: 14px !important;
  padding-top: 0 !important;
  gap: 8px !important;
}

.item-version-row,
.public-studio-page.item-template-page .item-version-row,
.public-studio-page.item-template-page .item-version-row.is-ekflow2-product,
html[data-theme="bright"] .item-version-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: auto !important;
  padding: 12px 18px !important;
  grid-template-columns: none !important;
}

.item-version-info-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 140px !important;
  flex-shrink: 0 !important;
}

.item-version-actions-col,
.item-version-actions,
.item-fuse-unowned-actions,
.public-studio-page.item-template-page .item-version-row.is-ekflow2-product .item-version-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 4px !important;
  width: auto !important;
  max-width: none !important;
  margin-left: auto !important;
}

.item-action-btns-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  width: auto !important;
}

html[data-theme="bright"] .item-version-row button[data-credit-purchase],
html[data-theme="bright"] .item-version-row button[data-product-button]:not(.is-gift):not(.item-add-cart-btn):not(.item-managed-install-claim),
html[data-theme="bright"] .public-studio-page.item-template-page .item-version-row.is-ekflow2-product [data-credit-purchase] {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 20px !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  width: auto !important;
  margin: 0 !important;
}

.item-version-row .is-gift,
.item-version-actions [data-credit-gift] {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

.item-version-row .item-add-cart-btn {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.item-action-subrow {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-top: 2px !important;
  width: 100% !important;
}

.item-action-subrow .item-before-you-buy-wrap {
  margin: 0 !important;
}

.item-action-subrow .item-refund-notice {
  margin: 0 !important;
  color: rgba(244, 244, 239, 0.45) !important;
  font-size: 10.5px !important;
}

/* Enhanced Recommended Rail Drag Experience */
.recommended-rail-viewport.is-dragging,
.recommended-rail-track.is-dragging {
  cursor: grabbing !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.recommended-rail-track.is-dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  pointer-events: none !important;
}

.recommended-scrollbar {
  cursor: pointer !important;
  padding: 4px 0 !important;
  background-clip: content-box !important;
}

/* ==========================================================================
   DISTINCT PRICE TIERS & EDITOR'S PICK BADGES (HIGH SPECIFICITY BRIGHT & DARK)
   ========================================================================== */

/* Editor's Pick Badges */
.card-art-badge.is-editors-pick,
html[data-theme="bright"] .card-art-badge.is-editors-pick {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 6 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(18, 14, 2, 0.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(245, 158, 11, 0.75) !important;
  color: #fbbf24 !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.7),
    0 0 14px rgba(245, 158, 11, 0.45) !important;
  text-transform: none !important;
}

.card-art-badge.is-editors-pick svg,
html[data-theme="bright"] .card-art-badge.is-editors-pick svg {
  flex-shrink: 0 !important;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.85)) !important;
}

.recommended-card-pick-badge,
html[data-theme="bright"] .recommended-card-pick-badge {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3.5px !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  background: rgba(18, 14, 2, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(245, 158, 11, 0.75) !important;
  color: #fbbf24 !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 10px rgba(245, 158, 11, 0.4) !important;
}

/* 1. FREE TIER (Emerald Mint Accent) */
.category-browser-card.tier-free,
html[data-theme="bright"] .category-browser-card.tier-free {
  border-color: rgba(52, 211, 153, 0.28) !important;
}

.category-browser-card.tier-free:hover,
.recommended-card.tier-free:hover,
html[data-theme="bright"] .category-browser-card.tier-free:hover,
html[data-theme="bright"] .recommended-card.tier-free:hover {
  border-color: rgba(52, 211, 153, 0.70) !important;
  box-shadow: 0 12px 32px rgba(4, 10, 18, 0.55), 0 0 22px rgba(52, 211, 153, 0.35) !important;
}

.tier-free .category-price-row b,
.tier-free .category-card-footer-left b,
.tier-free .category-card-footer b,
.tier-free .recommended-card-price,
.tier-free .hover-preview-price,
html[data-theme="bright"] .tier-free .category-price-row b,
html[data-theme="bright"] .tier-free .category-card-footer-left b,
html[data-theme="bright"] .tier-free .category-card-footer b,
html[data-theme="bright"] .tier-free .recommended-card-price,
html[data-theme="bright"] .tier-free .hover-preview-price {
  color: #34d399 !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.6) !important;
  font-weight: 800 !important;
}

/* 2. CHEAP TIER (0-40 Credits: Electric Sky Cyan) */
.category-browser-card.tier-cheap,
html[data-theme="bright"] .category-browser-card.tier-cheap {
  border-color: rgba(56, 189, 248, 0.22) !important;
}

.category-browser-card.tier-cheap:hover,
.recommended-card.tier-cheap:hover,
html[data-theme="bright"] .category-browser-card.tier-cheap:hover,
html[data-theme="bright"] .recommended-card.tier-cheap:hover {
  border-color: rgba(56, 189, 248, 0.65) !important;
  box-shadow: 0 12px 32px rgba(4, 10, 18, 0.55), 0 0 22px rgba(56, 189, 248, 0.35) !important;
}

.tier-cheap .category-price-row b,
.tier-cheap .category-card-footer-left b,
.tier-cheap .category-card-footer b,
.tier-cheap .recommended-card-price,
.tier-cheap .hover-preview-price,
html[data-theme="bright"] .tier-cheap .category-price-row b,
html[data-theme="bright"] .tier-cheap .category-card-footer-left b,
html[data-theme="bright"] .tier-cheap .category-card-footer b,
html[data-theme="bright"] .tier-cheap .recommended-card-price,
html[data-theme="bright"] .tier-cheap .hover-preview-price {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
  font-weight: 750 !important;
}

/* 3. MEDIUM TIER (40-70 Credits: Electric Amethyst / Violet) */
.category-browser-card.tier-medium,
html[data-theme="bright"] .category-browser-card.tier-medium {
  border-color: rgba(192, 132, 252, 0.28) !important;
  background: linear-gradient(180deg, rgba(22, 27, 42, 0.92) 0%, rgba(15, 19, 30, 0.94) 100%) !important;
}

.category-browser-card.tier-medium:hover,
.recommended-card.tier-medium:hover,
html[data-theme="bright"] .category-browser-card.tier-medium:hover,
html[data-theme="bright"] .recommended-card.tier-medium:hover {
  border-color: rgba(192, 132, 252, 0.75) !important;
  box-shadow: 0 14px 34px rgba(4, 10, 18, 0.6), 0 0 26px rgba(192, 132, 252, 0.40) !important;
}

.tier-medium .category-price-row b,
.tier-medium .category-card-footer-left b,
.tier-medium .category-card-footer b,
.tier-medium .recommended-card-price,
.tier-medium .hover-preview-price,
html[data-theme="bright"] .tier-medium .category-price-row b,
html[data-theme="bright"] .tier-medium .category-card-footer-left b,
html[data-theme="bright"] .tier-medium .category-card-footer b,
html[data-theme="bright"] .tier-medium .recommended-card-price,
html[data-theme="bright"] .tier-medium .hover-preview-price {
  color: #c084fc !important;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.7) !important;
  font-weight: 800 !important;
}

/* 4. HIGH TIER (70+ Credits: Radiant Solar Gold Crown) */
.category-browser-card.tier-high,
html[data-theme="bright"] .category-browser-card.tier-high {
  border-color: rgba(251, 191, 36, 0.32) !important;
  background: linear-gradient(180deg, rgba(26, 30, 42, 0.94) 0%, rgba(17, 20, 30, 0.96) 100%) !important;
  position: relative;
}

.category-browser-card.tier-high::after,
html[data-theme="bright"] .category-browser-card.tier-high::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #fbbf24 50%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
}

.category-browser-card.tier-high:hover,
.recommended-card.tier-high:hover,
html[data-theme="bright"] .category-browser-card.tier-high:hover,
html[data-theme="bright"] .recommended-card.tier-high:hover {
  border-color: rgba(251, 191, 36, 0.85) !important;
  box-shadow: 0 16px 38px rgba(4, 10, 18, 0.65), 0 0 30px rgba(251, 191, 36, 0.45) !important;
}

.tier-high .category-price-row b,
.tier-high .category-card-footer-left b,
.tier-high .category-card-footer b,
.tier-high .recommended-card-price,
.tier-high .hover-preview-price,
html[data-theme="bright"] .tier-high .category-price-row b,
html[data-theme="bright"] .tier-high .category-card-footer-left b,
html[data-theme="bright"] .tier-high .category-card-footer b,
html[data-theme="bright"] .tier-high .recommended-card-price,
html[data-theme="bright"] .tier-high .hover-preview-price {
  color: #fbbf24 !important;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.75) !important;
  font-weight: 850 !important;
  letter-spacing: 0.02em !important;
}

/* Editor's Pick Card Aura */
.category-browser-card.is-editors-pick-card::before,
html[data-theme="bright"] .category-browser-card.is-editors-pick-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), transparent 50%, rgba(245, 158, 11, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}



/* ==========================================================================
   ENHANCED DISTINCT TIER STYLING ACROSS ALL SHOP CATEGORIES & CARDS
   ========================================================================== */

/* 1. FREE TIER (Mint Emerald) */
.category-browser-card.tier-free,
.store-grid-card.tier-free,
.recommended-card.tier-free,
html[data-theme="bright"] .category-browser-card.tier-free,
html[data-theme="bright"] .store-grid-card.tier-free,
html[data-theme="bright"] .recommended-card.tier-free {
  border-color: rgba(52, 211, 153, 0.32) !important;
  background: linear-gradient(180deg, rgba(6, 32, 24, 0.5) 0%, rgba(10, 16, 20, 0.96) 100%) !important;
}

.category-browser-card.tier-free:hover,
.store-grid-card.tier-free:hover,
.recommended-card.tier-free:hover,
html[data-theme="bright"] .category-browser-card.tier-free:hover,
html[data-theme="bright"] .store-grid-card.tier-free:hover,
html[data-theme="bright"] .recommended-card.tier-free:hover {
  border-color: rgba(52, 211, 153, 0.8) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 12, 0.75), 0 0 24px rgba(52, 211, 153, 0.35) !important;
}

.tier-free .category-card-body b,
.tier-free .category-price-row b,
.tier-free .recommended-card-price,
html[data-theme="bright"] .tier-free .category-card-body b,
html[data-theme="bright"] .tier-free .category-price-row b,
html[data-theme="bright"] .tier-free .recommended-card-price {
  color: #34d399 !important;
  background: rgba(52, 211, 153, 0.14) !important;
  border-color: rgba(52, 211, 153, 0.38) !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.6) !important;
  font-weight: 800 !important;
}

/* 2. CHEAP TIER (0-40 Credits: Sky Cyan) */
.category-browser-card.tier-cheap,
.store-grid-card.tier-cheap,
.recommended-card.tier-cheap,
html[data-theme="bright"] .category-browser-card.tier-cheap,
html[data-theme="bright"] .store-grid-card.tier-cheap,
html[data-theme="bright"] .recommended-card.tier-cheap {
  border-color: rgba(56, 189, 248, 0.28) !important;
  background: linear-gradient(180deg, rgba(8, 28, 46, 0.45) 0%, rgba(10, 16, 22, 0.96) 100%) !important;
}

.category-browser-card.tier-cheap:hover,
.store-grid-card.tier-cheap:hover,
.recommended-card.tier-cheap:hover,
html[data-theme="bright"] .category-browser-card.tier-cheap:hover,
html[data-theme="bright"] .store-grid-card.tier-cheap:hover,
html[data-theme="bright"] .recommended-card.tier-cheap:hover {
  border-color: rgba(56, 189, 248, 0.8) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 12, 0.75), 0 0 24px rgba(56, 189, 248, 0.35) !important;
}

.tier-cheap .category-card-body b,
.tier-cheap .category-price-row b,
.tier-cheap .recommended-card-price,
html[data-theme="bright"] .tier-cheap .category-card-body b,
html[data-theme="bright"] .tier-cheap .category-price-row b,
html[data-theme="bright"] .tier-cheap .recommended-card-price {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
  font-weight: 750 !important;
}

/* 3. MEDIUM TIER (40-70 Credits: Electric Amethyst) */
.category-browser-card.tier-medium,
.store-grid-card.tier-medium,
.recommended-card.tier-medium,
html[data-theme="bright"] .category-browser-card.tier-medium,
html[data-theme="bright"] .store-grid-card.tier-medium,
html[data-theme="bright"] .recommended-card.tier-medium {
  border-color: rgba(192, 132, 252, 0.35) !important;
  background: linear-gradient(180deg, rgba(38, 16, 56, 0.5) 0%, rgba(14, 15, 24, 0.96) 100%) !important;
}

.category-browser-card.tier-medium:hover,
.store-grid-card.tier-medium:hover,
.recommended-card.tier-medium:hover,
html[data-theme="bright"] .category-browser-card.tier-medium:hover,
html[data-theme="bright"] .store-grid-card.tier-medium:hover,
html[data-theme="bright"] .recommended-card.tier-medium:hover {
  border-color: rgba(192, 132, 252, 0.85) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 12, 0.75), 0 0 28px rgba(192, 132, 252, 0.45) !important;
}

.tier-medium .category-card-body b,
.tier-medium .category-price-row b,
.tier-medium .recommended-card-price,
html[data-theme="bright"] .tier-medium .category-card-body b,
html[data-theme="bright"] .tier-medium .category-price-row b,
html[data-theme="bright"] .tier-medium .recommended-card-price {
  color: #c084fc !important;
  background: rgba(192, 132, 252, 0.15) !important;
  border-color: rgba(192, 132, 252, 0.45) !important;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.7) !important;
  font-weight: 800 !important;
}

/* 4. HIGH TIER (70+ Credits: Radiant Solar Gold Crown) */
.category-browser-card.tier-high,
.store-grid-card.tier-high,
.recommended-card.tier-high,
html[data-theme="bright"] .category-browser-card.tier-high,
html[data-theme="bright"] .store-grid-card.tier-high,
html[data-theme="bright"] .recommended-card.tier-high {
  border-color: rgba(251, 191, 36, 0.4) !important;
  background: linear-gradient(180deg, rgba(46, 32, 8, 0.55) 0%, rgba(18, 16, 14, 0.96) 100%) !important;
  position: relative !important;
}

.category-browser-card.tier-high::after,
.store-grid-card.tier-high::after,
.recommended-card.tier-high::after,
html[data-theme="bright"] .category-browser-card.tier-high::after,
html[data-theme="bright"] .store-grid-card.tier-high::after,
html[data-theme="bright"] .recommended-card.tier-high::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent 0%, #fbbf24 50%, transparent 100%) !important;
  opacity: 0.85 !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.category-browser-card.tier-high:hover,
.store-grid-card.tier-high:hover,
.recommended-card.tier-high:hover,
html[data-theme="bright"] .category-browser-card.tier-high:hover,
html[data-theme="bright"] .store-grid-card.tier-high:hover,
html[data-theme="bright"] .recommended-card.tier-high:hover {
  border-color: rgba(251, 191, 36, 0.95) !important;
  box-shadow: 0 16px 38px rgba(2, 6, 12, 0.8), 0 0 32px rgba(251, 191, 36, 0.5) !important;
}

.tier-high .category-card-body b,
.tier-high .category-price-row b,
.tier-high .recommended-card-price,
html[data-theme="bright"] .tier-high .category-card-body b,
html[data-theme="bright"] .tier-high .category-price-row b,
html[data-theme="bright"] .tier-high .recommended-card-price {
  color: #fbbf24 !important;
  background: rgba(251, 191, 36, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.75) !important;
  font-weight: 850 !important;
  letter-spacing: 0.02em !important;
}

/* Editor's Pick Badge Glow */
.card-art-badge.is-editors-pick,
html[data-theme="bright"] .card-art-badge.is-editors-pick {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  font-weight: 850 !important;
  font-size: 10px !important;
  letter-spacing: 0.03em !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(251, 191, 36, 0.9) !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.55), 0 0 12px rgba(251, 191, 36, 0.4) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
  text-transform: uppercase !important;
  z-index: 10 !important;
}



/* Owned Badge on Top-Right */
.category-card-art .card-art-badge.is-owned {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  z-index: 9 !important;
}



/* ==========================================================================
   MINIMAL INLINE TITLE COMPATIBILITY BADGES (NVIDIA & AMD)
   ========================================================================== */
.card-title-badges {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  margin-left: 5px !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.title-compat-icon {
  width: 13px !important;
  height: 13px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: -1px !important;
  opacity: 0.88 !important;
  transition: opacity 0.15s ease, transform 0.15s ease !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)) !important;
}

.category-browser-card:hover .title-compat-icon,
.recommended-card:hover .title-compat-icon,
.store-grid-card:hover .title-compat-icon {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}



/* ==========================================================================
   HANDWRITTEN BRAND SCRIBBLE (ALL LOWERCASE, ELECTRIC BLUE, EXTRA SMALL)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Zeyada&family=Dawning+of+a+New+Day&display=swap');

.flow-brand {
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  text-decoration: none !important;
  gap: 0px !important;
}

.flow-brand strong {
  position: relative !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.flow-brand .brand-scribble,
html .flow-brand .brand-scribble,
html[data-theme="bright"] .flow-brand .brand-scribble,
body .flow-brand .brand-scribble {
  display: inline-block !important;
  font-family: 'Zeyada', 'Dawning of a New Day', cursive, sans-serif !important;
  font-size: 8.5px !important;
  font-weight: 400 !important;
  line-height: 0.82 !important;
  color: #38bdf8 !important;
  transform: rotate(-6deg) translateY(-5px) !important;
  margin-left: 4px !important;
  white-space: nowrap !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.45) !important;
  user-select: none !important;
  pointer-events: none !important;
  opacity: 0.95 !important;
  text-transform: lowercase !important;
}

@media (max-width: 640px) {
  .flow-brand .brand-scribble,
  html .flow-brand .brand-scribble,
  html[data-theme="bright"] .flow-brand .brand-scribble {
    font-size: 7.5px !important;
    transform: rotate(-5deg) translateY(-4px) !important;
    margin-left: 3px !important;
  }
}
/* ==========================================================================
   REFINED SUBTLE HIGH TIER CARDS (CHAMPAGNE GOLD / REFINED OBSIDIAN)
   ========================================================================== */
.category-browser-card.tier-high,
.store-grid-card.tier-high,
.recommended-card.tier-high,
html[data-theme="bright"] .category-browser-card.tier-high,
html[data-theme="bright"] .store-grid-card.tier-high,
html[data-theme="bright"] .recommended-card.tier-high {
  border-color: rgba(226, 192, 128, 0.22) !important;
  background: linear-gradient(180deg, rgba(24, 22, 28, 0.6) 0%, rgba(13, 17, 24, 0.96) 100%) !important;
  position: relative !important;
}

.category-browser-card.tier-high::after,
.store-grid-card.tier-high::after,
.recommended-card.tier-high::after,
html[data-theme="bright"] .category-browser-card.tier-high::after,
html[data-theme="bright"] .store-grid-card.tier-high::after,
html[data-theme="bright"] .recommended-card.tier-high::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 192, 128, 0.55) 50%, transparent 100%) !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.category-browser-card.tier-high:hover,
.store-grid-card.tier-high:hover,
.recommended-card.tier-high:hover,
html[data-theme="bright"] .category-browser-card.tier-high:hover,
html[data-theme="bright"] .store-grid-card.tier-high:hover,
html[data-theme="bright"] .recommended-card.tier-high:hover {
  border-color: rgba(226, 192, 128, 0.65) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 12, 0.8), 0 0 16px rgba(226, 192, 128, 0.2) !important;
}

.tier-high .category-card-body b,
.tier-high .category-price-row b,
.tier-high .recommended-card-price,
.tier-high .category-card-footer-left b,
.tier-high .category-card-footer b,
.tier-high .hover-preview-price,
html[data-theme="bright"] .tier-high .category-card-body b,
html[data-theme="bright"] .tier-high .category-price-row b,
html[data-theme="bright"] .tier-high .recommended-card-price,
html[data-theme="bright"] .tier-high .category-card-footer-left b,
html[data-theme="bright"] .tier-high .category-card-footer b,
html[data-theme="bright"] .tier-high .hover-preview-price {
  color: #e2c080 !important;
  background: rgba(226, 192, 128, 0.1) !important;
  border-color: rgba(226, 192, 128, 0.28) !important;
  text-shadow: none !important;
  font-weight: 750 !important;
  letter-spacing: 0.02em !important;
}






/* ==========================================================================
   ENHANCED SPOTLIGHT AMD CALLOUT (PROMINENT WHITE TEXT + SUBTLE GLASS BUTTON)
   ========================================================================== */
.compact-spotlight-subcallout {
  display: block !important;
  margin-top: 14px !important;
}

.spotlight-amd-pill,
html .spotlight-amd-pill,
html[data-theme="bright"] .spotlight-amd-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 5px 6px 5px 12px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
}

.spotlight-amd-pill:hover,
html .spotlight-amd-pill:hover,
html[data-theme="bright"] .spotlight-amd-pill:hover {
  background: rgba(255, 255, 255, 0.085) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.spotlight-amd-icon {
  width: 14px !important;
  height: 14px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 1px 3px rgba(225, 29, 72, 0.5)) !important;
}

.subcallout-text,
html .subcallout-text,
html[data-theme="bright"] .subcallout-text {
  font-size: 12.5px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.subcallout-btn,
html .subcallout-btn,
html[data-theme="bright"] .subcallout-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3.5px 11px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #f1f5f9 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.16s ease !important;
  white-space: nowrap !important;
}

.subcallout-btn:hover,
html .subcallout-btn:hover,
html[data-theme="bright"] .subcallout-btn:hover {
  background: rgba(225, 29, 72, 0.2) !important;
  border-color: rgba(244, 63, 94, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.35) !important;
}


/* 1. Sidebar Trigger Card (Bottom-Left) */
.market-sidebar {
  display: flex !important;
  flex-direction: column !important;
}

.sidebar-ai-helper-card {
  margin-top: auto !important;
  margin-bottom: 20px !important;
  padding: 13px 12px !important;
  background: linear-gradient(180deg, rgba(14, 23, 36, 0.88) 0%, rgba(8, 14, 22, 0.96) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 10px !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
  user-select: none !important;
}

.sidebar-ai-helper-card:hover {
  border-color: rgba(56, 189, 248, 0.5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.25) !important;
}

.ai-card-glow {
  position: absolute !important;
  top: -20px !important;
  left: -20px !important;
  width: 60px !important;
  height: 60px !important;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%) !important;
  pointer-events: none !important;
}

.ai-card-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.ai-card-icon-wrap {
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
  flex-shrink: 0 !important;
}

.ai-card-sparkle {
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.ai-card-titles {
  display: flex !important;
  flex-direction: column !important;
}

.ai-card-badge {
  font-size: 8.5px !important;
  font-weight: 750 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
}

.ai-card-name {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.ai-card-desc {
  font-size: 10px !important;
  line-height: 1.35 !important;
  color: #94a3b8 !important;
  margin: 0 0 9px !important;
}

.ai-card-launch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  color: #38bdf8 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.sidebar-ai-helper-card:hover .ai-card-launch-btn {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}


/* 2. Floating AI Assistant Drawer / Modal */
.ai-helper-drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding: 24px 30px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.ai-helper-drawer.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.ai-drawer-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(3, 7, 12, 0.65) !important;
  backdrop-filter: blur(8px) !important;
}

.ai-drawer-panel {
  position: relative !important;
  z-index: 2 !important;
  width: 440px !important;
  max-width: calc(100vw - 40px) !important;
  height: 580px !important;
  max-height: calc(100vh - 80px) !important;
  background: rgba(11, 17, 26, 0.95) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  backdrop-filter: blur(24px) !important;
  transform: translateY(20px) scale(0.97) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ai-helper-drawer.is-open .ai-drawer-panel {
  transform: translateY(0) scale(1) !important;
}

/* Header */
.ai-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  background: rgba(15, 23, 36, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ai-drawer-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ai-status-sparkle {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 13px !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
}

.ai-title-wrap h3 {
  font-size: 14px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.ai-badge-online {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.02em !important;
}

.ai-drawer-close-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.ai-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

/* Conversation Body */
.ai-drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  scroll-behavior: smooth !important;
}

.ai-msg {
  display: flex !important;
  gap: 10px !important;
  max-width: 95% !important;
}

.ai-msg-user {
  align-self: flex-end !important;
  flex-direction: row-reverse !important;
}

.ai-msg-user .ai-msg-content {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border-radius: 12px 12px 2px 12px !important;
  padding: 9px 13px !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

.ai-msg-bot .ai-msg-avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.ai-msg-bot .ai-msg-content {
  background: rgba(20, 29, 44, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.15) !important;
  color: #e2e8f0 !important;
  border-radius: 12px 12px 12px 2px !important;
  padding: 11px 14px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.ai-answer-header {
  font-size: 13px !important;
  font-weight: 750 !important;
  color: #38bdf8 !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
  padding-bottom: 4px !important;
}

.ai-heading {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin: 10px 0 6px !important;
}

.ai-inline-code {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  color: #38bdf8 !important;
  font-family: monospace !important;
  font-size: 11px !important;
}

.ai-code-box {
  background: rgba(4, 8, 14, 0.9) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 6px !important;
  padding: 8px 10px !important;
  margin: 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.ai-code-box code {
  color: #e2e8f0 !important;
  font-family: monospace !important;
  font-size: 10.5px !important;
  word-break: break-all !important;
}

.ai-copy-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
}

.ai-copy-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
}

.ai-link {
  color: #38bdf8 !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* Quick Chips */
.ai-quick-prompts {
  margin-top: 6px !important;
}

.quick-prompts-label {
  font-size: 9.5px !important;
  font-weight: 750 !important;
  color: #64748b !important;
  letter-spacing: 0.08em !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.quick-chips-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.ai-chip {
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 550 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  text-align: left !important;
}

.ai-chip:hover {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Input Form */
.ai-drawer-footer {
  padding: 12px 16px !important;
  background: rgba(15, 23, 36, 0.9) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ai-input-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(4, 8, 14, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 8px !important;
  padding: 4px 6px 4px 12px !important;
}

.ai-input-wrap:focus-within {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
}

.ai-input-field {
  flex: 1 1 auto !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 12px !important;
}

.ai-send-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  border: none !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.ai-send-btn:hover {
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}

/* Loading dots */
.ai-msg-loading {
  display: flex !important;
  gap: 4px !important;
  align-items: center !important;
  padding: 10px 14px !important;
}

.ai-dot {
  width: 5px !important;
  height: 5px !important;
  background: #38bdf8 !important;
  border-radius: 50% !important;
  animation: aiDotPulse 1.2s infinite ease-in-out !important;
}
.ai-dot:nth-child(2) { animation-delay: 0.2s !important; }
.ai-dot:nth-child(3) { animation-delay: 0.4s !important; }

@keyframes aiDotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Light Theme overrides */
html[data-theme="bright"] .sidebar-ai-helper-card {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="bright"] .ai-card-name {
  color: #0f172a !important;
}

html[data-theme="bright"] .ai-card-desc {
  color: #64748b !important;
}

html[data-theme="bright"] .ai-drawer-panel {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="bright"] .ai-drawer-header {
  background: #f8fafc !important;
}

html[data-theme="bright"] .ai-title-wrap h3 {
  color: #0f172a !important;
}

html[data-theme="bright"] .ai-msg-bot .ai-msg-content {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="bright"] .ai-heading {
  color: #0f172a !important;
}

html[data-theme="bright"] .ai-code-box {
  background: #e2e8f0 !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="bright"] .ai-code-box code {
  color: #0f172a !important;
}

html[data-theme="bright"] .ai-chip {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #334155 !important;
}

html[data-theme="bright"] .ai-drawer-footer {
  background: #f8fafc !important;
}

html[data-theme="bright"] .ai-input-wrap {
  background: #ffffff !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
}

html[data-theme="bright"] .ai-input-field {
  color: #0f172a !important;
}


/* 1. Sidebar Trigger Card (Bottom-Left) */
.market-sidebar {
  display: flex !important;
  flex-direction: column !important;
}

.sidebar-ai-helper-card,
html .sidebar-ai-helper-card,
html[data-theme="bright"] .sidebar-ai-helper-card {
  margin-top: auto !important;
  margin-bottom: 20px !important;
  padding: 13px 12px !important;
  background: linear-gradient(180deg, rgba(14, 23, 36, 0.92) 0%, rgba(8, 14, 22, 0.98) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 10px !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5) !important;
  user-select: none !important;
}

.sidebar-ai-helper-card:hover,
html[data-theme="bright"] .sidebar-ai-helper-card:hover {
  border-color: rgba(56, 189, 248, 0.6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.3) !important;
}

.ai-card-glow {
  position: absolute !important;
  top: -20px !important;
  left: -20px !important;
  width: 60px !important;
  height: 60px !important;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%) !important;
  pointer-events: none !important;
}

.ai-card-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.ai-card-icon-wrap {
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45) !important;
  flex-shrink: 0 !important;
}

.ai-card-sparkle {
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.ai-card-titles {
  display: flex !important;
  flex-direction: column !important;
}

.ai-card-badge {
  font-size: 8.5px !important;
  font-weight: 750 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
}

.ai-card-name,
html .ai-card-name,
html[data-theme="bright"] .ai-card-name {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.ai-card-desc,
html .ai-card-desc,
html[data-theme="bright"] .ai-card-desc {
  font-size: 10px !important;
  line-height: 1.35 !important;
  color: #94a3b8 !important;
  margin: 0 0 9px !important;
}

.ai-card-launch-btn,
html .ai-card-launch-btn,
html[data-theme="bright"] .ai-card-launch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.sidebar-ai-helper-card:hover .ai-card-launch-btn {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}


/* 2. Floating AI Assistant Drawer / Modal */
.ai-helper-drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding: 24px 30px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.ai-helper-drawer.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.ai-drawer-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(3, 7, 12, 0.72) !important;
  backdrop-filter: blur(8px) !important;
}

.ai-drawer-panel,
html .ai-drawer-panel,
html[data-theme="bright"] .ai-drawer-panel {
  position: relative !important;
  z-index: 2 !important;
  width: 440px !important;
  max-width: calc(100vw - 40px) !important;
  height: 580px !important;
  max-height: calc(100vh - 80px) !important;
  background: rgba(11, 17, 26, 0.96) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  backdrop-filter: blur(24px) !important;
  transform: translateY(20px) scale(0.97) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ai-helper-drawer.is-open .ai-drawer-panel {
  transform: translateY(0) scale(1) !important;
}

/* Header */
.ai-drawer-header,
html .ai-drawer-header,
html[data-theme="bright"] .ai-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  background: rgba(15, 23, 36, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ai-drawer-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ai-status-sparkle {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 13px !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
}

.ai-title-wrap h3,
html .ai-title-wrap h3,
html[data-theme="bright"] .ai-title-wrap h3 {
  font-size: 14px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.ai-badge-online {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.02em !important;
}

.ai-drawer-close-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.ai-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

/* Conversation Body */
.ai-drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  scroll-behavior: smooth !important;
}

.ai-msg {
  display: flex !important;
  gap: 10px !important;
  max-width: 95% !important;
}

.ai-msg-user {
  align-self: flex-end !important;
  flex-direction: row-reverse !important;
}

.ai-msg-user .ai-msg-content {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border-radius: 12px 12px 2px 12px !important;
  padding: 9px 13px !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

.ai-msg-bot .ai-msg-avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.ai-msg-bot .ai-msg-content,
html .ai-msg-bot .ai-msg-content,
html[data-theme="bright"] .ai-msg-bot .ai-msg-content {
  background: rgba(20, 29, 44, 0.9) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  color: #e2e8f0 !important;
  border-radius: 12px 12px 12px 2px !important;
  padding: 12px 15px !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.ai-answer-header {
  font-size: 13px !important;
  font-weight: 750 !important;
  color: #38bdf8 !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
  padding-bottom: 4px !important;
}

.ai-heading,
html .ai-heading,
html[data-theme="bright"] .ai-heading {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin: 10px 0 6px !important;
}

.ai-inline-code {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  color: #38bdf8 !important;
  font-family: monospace !important;
  font-size: 11px !important;
}

.ai-code-box,
html .ai-code-box,
html[data-theme="bright"] .ai-code-box {
  background: rgba(4, 8, 14, 0.95) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 6px !important;
  padding: 8px 10px !important;
  margin: 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.ai-code-box code,
html .ai-code-box code,
html[data-theme="bright"] .ai-code-box code {
  color: #e2e8f0 !important;
  font-family: monospace !important;
  font-size: 10.5px !important;
  word-break: break-all !important;
}

.ai-copy-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
}

.ai-copy-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
}

.ai-link {
  color: #38bdf8 !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* Quick Chips */
.ai-quick-prompts {
  margin-top: 6px !important;
}

.quick-prompts-label {
  font-size: 9.5px !important;
  font-weight: 750 !important;
  color: #64748b !important;
  letter-spacing: 0.08em !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.quick-chips-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.ai-chip,
html .ai-chip,
html[data-theme="bright"] .ai-chip {
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 550 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  text-align: left !important;
}

.ai-chip:hover,
html[data-theme="bright"] .ai-chip:hover {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Input Form */
.ai-drawer-footer,
html .ai-drawer-footer,
html[data-theme="bright"] .ai-drawer-footer {
  padding: 12px 16px !important;
  background: rgba(15, 23, 36, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ai-input-wrap,
html .ai-input-wrap,
html[data-theme="bright"] .ai-input-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(4, 8, 14, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 8px !important;
  padding: 4px 6px 4px 12px !important;
}

.ai-input-wrap:focus-within {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
}

.ai-input-field,
html .ai-input-field,
html[data-theme="bright"] .ai-input-field {
  flex: 1 1 auto !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 12px !important;
}

.ai-send-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  border: none !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.ai-send-btn:hover {
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}

/* Loading dots */
.ai-msg-loading {
  display: flex !important;
  gap: 4px !important;
  align-items: center !important;
  padding: 10px 14px !important;
}

.ai-dot {
  width: 5px !important;
  height: 5px !important;
  background: #38bdf8 !important;
  border-radius: 50% !important;
  animation: aiDotPulse 1.2s infinite ease-in-out !important;
}
.ai-dot:nth-child(2) { animation-delay: 0.2s !important; }
.ai-dot:nth-child(3) { animation-delay: 0.4s !important; }

@keyframes aiDotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
\n\n/* ==========================================================================\n   FLASH STORE AI HELPER (SUBTLE SIDEBAR CARD & ENHANCED TYPOGRAPHY)\n   ========================================================================== */\n\n/* 1. Subtle Sidebar Trigger Card (Bottom-Left) */\n.market-sidebar {\n  display: flex !important;\n  flex-direction: column !important;\n}\n\n.sidebar-ai-helper-card,\nhtml .sidebar-ai-helper-card,\nhtml[data-theme="bright"] .sidebar-ai-helper-card {\n  margin-top: auto !important;\n  margin-bottom: 16px !important;\n  padding: 10px 10px !important;\n  background: rgba(255, 255, 255, 0.02) !important;\n  border: 1px solid rgba(255, 255, 255, 0.07) !important;\n  border-radius: 8px !important;\n  position: relative !important;\n  cursor: pointer !important;\n  transition: all 0.18s ease !important;\n  box-shadow: none !important;\n  user-select: none !important;\n}\n\n.sidebar-ai-helper-card:hover,\nhtml[data-theme="bright"] .sidebar-ai-helper-card:hover {\n  background: rgba(255, 255, 255, 0.04) !important;\n  border-color: rgba(56, 189, 248, 0.25) !important;\n  transform: translateY(-1px) !important;\n}\n\n.ai-card-top {\n  display: flex !important;\n  align-items: center !important;\n  gap: 7px !important;\n  margin-bottom: 4px !important;\n}\n\n.ai-card-icon-wrap {\n  width: 17px !important;\n  height: 17px !important;\n  border-radius: 4px !important;\n  background: rgba(56, 189, 248, 0.1) !important;\n  border: 1px solid rgba(56, 189, 248, 0.2) !important;\n  display: flex !important;\n  align-items: center !important;\n  justify-content: center !important;\n  flex-shrink: 0 !important;\n}\n\n.ai-card-sparkle {\n  color: #38bdf8 !important;\n  font-size: 10px !important;\n  line-height: 1 !important;\n}\n\n.ai-card-titles {\n  display: flex !important;\n  flex-direction: column !important;\n}\n\n.ai-card-badge {\n  font-size: 7.5px !important;\n  font-weight: 700 !important;\n  color: #38bdf8 !important;\n  letter-spacing: 0.06em !important;\n  line-height: 1 !important;\n}\n\n.ai-card-name,\nhtml .ai-card-name,\nhtml[data-theme="bright"] .ai-card-name {\n  font-size: 10.5px !important;\n  font-weight: 650 !important;\n  color: #cbd5e1 !important;\n  line-height: 1.2 !important;\n}\n\n.ai-card-desc,\nhtml .ai-card-desc,\nhtml[data-theme="bright"] .ai-card-desc {\n  font-size: 9px !important;\n  line-height: 1.3 !important;\n  color: #718096 !important;\n  margin: 0 0 7px !important;\n}\n\n.ai-card-launch-btn,\nhtml .ai-card-launch-btn,\nhtml[data-theme="bright"] .ai-card-launch-btn {\n  display: inline-flex !important;\n  align-items: center !important;\n  justify-content: space-between !important;\n  width: 100% !important;\n  padding: 3px 7px !important;\n  border-radius: 4px !important;\n  background: rgba(255, 255, 255, 0.03) !important;\n  border: 1px solid rgba(255, 255, 255, 0.08) !important;\n  color: #a0aec0 !important;\n  font-size: 9.5px !important;\n  font-weight: 600 !important;\n  cursor: pointer !important;\n  transition: all 0.15s ease !important;\n}\n\n.sidebar-ai-helper-card:hover .ai-card-launch-btn {\n  background: rgba(56, 189, 248, 0.12) !important;\n  border-color: rgba(56, 189, 248, 0.3) !important;\n  color: #ffffff !important;\n}\n\n/* 2. Floating AI Assistant Drawer / Modal */\n.ai-helper-drawer {\n  position: fixed !important;\n  inset: 0 !important;\n  z-index: 999999 !important;\n  display: flex !important;\n  align-items: flex-end !important;\n  justify-content: flex-start !important;\n  padding: 24px 30px !important;\n  opacity: 0 !important;\n  visibility: hidden !important;\n  pointer-events: none !important;\n  transition: opacity 0.22s ease, visibility 0.22s ease !important;\n}\n\n.ai-helper-drawer.is-open {\n  opacity: 1 !important;\n  visibility: visible !important;\n  pointer-events: auto !important;\n}\n\n.ai-drawer-backdrop {\n  position: absolute !important;\n  inset: 0 !important;\n  background: rgba(3, 7, 12, 0.7) !important;\n  backdrop-filter: blur(8px) !important;\n}\n\n.ai-drawer-panel,\nhtml .ai-drawer-panel,\nhtml[data-theme="bright"] .ai-drawer-panel {\n  position: relative !important;\n  z-index: 2 !important;\n  width: 460px !important;\n  max-width: calc(100vw - 40px) !important;\n  height: 600px !important;\n  max-height: calc(100vh - 80px) !important;\n  background: rgba(11, 17, 26, 0.96) !important;\n  border: 1px solid rgba(56, 189, 248, 0.22) !important;\n  border-radius: 12px !important;\n  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(56, 189, 248, 0.1) !important;\n  display: flex !important;\n  flex-direction: column !important;\n  overflow: hidden !important;\n  backdrop-filter: blur(24px) !important;\n  transform: translateY(16px) scale(0.98) !important;\n  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;\n}\n\n.ai-helper-drawer.is-open .ai-drawer-panel {\n  transform: translateY(0) scale(1) !important;\n}\n\n.ai-drawer-header,\nhtml .ai-drawer-header,\nhtml[data-theme="bright"] .ai-drawer-header {\n  display: flex !important;\n  align-items: center !important;\n  justify-content: space-between !important;\n  padding: 13px 18px !important;\n  background: rgba(15, 23, 36, 0.85) !important;\n  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;\n}\n\n.ai-drawer-title-group {\n  display: flex !important;\n  align-items: center !important;\n  gap: 10px !important;\n}\n\n.ai-status-sparkle {\n  width: 24px !important;\n  height: 24px !important;\n  border-radius: 6px !important;\n  background: linear-gradient(135deg, #0284c7, #2563eb) !important;\n  display: flex !important;\n  align-items: center !important;\n  justify-content: center !important;\n  color: #ffffff !important;\n  font-size: 12px !important;\n}\n\n.ai-title-wrap h3,\nhtml .ai-title-wrap h3,\nhtml[data-theme="bright"] .ai-title-wrap h3 {\n  font-size: 13.5px !important;\n  font-weight: 750 !important;\n  color: #ffffff !important;\n  margin: 0 !important;\n  line-height: 1.2 !important;\n}\n\n.ai-badge-online {\n  font-size: 9.5px !important;\n  font-weight: 600 !important;\n  color: #38bdf8 !important;\n  letter-spacing: 0.02em !important;\n}\n\n.ai-drawer-close-btn {\n  width: 26px !important;\n  height: 26px !important;\n  border-radius: 5px !important;\n  background: rgba(255, 255, 255, 0.06) !important;\n  border: 1px solid rgba(255, 255, 255, 0.1) !important;\n  color: #94a3b8 !important;\n  display: flex !important;\n  align-items: center !important;\n  justify-content: center !important;\n  cursor: pointer !important;\n  transition: all 0.15s ease !important;\n}\n\n.ai-drawer-close-btn:hover {\n  background: rgba(255, 255, 255, 0.14) !important;\n  color: #ffffff !important;\n}\n\n.ai-drawer-body {\n  flex: 1 1 auto !important;\n  overflow-y: auto !important;\n  padding: 16px 18px !important;\n  display: flex !important;\n  flex-direction: column !important;\n  gap: 14px !important;\n  scroll-behavior: smooth !important;\n}\n\n.ai-msg {\n  display: flex !important;\n  gap: 10px !important;\n  max-width: 96% !important;\n}\n\n.ai-msg-user {\n  align-self: flex-end !important;\n  flex-direction: row-reverse !important;\n}\n\n.ai-msg-user .ai-msg-content {\n  background: linear-gradient(135deg, #0284c7, #2563eb) !important;\n  border: 1px solid rgba(255, 255, 255, 0.18) !important;\n  color: #ffffff !important;\n  border-radius: 12px 12px 2px 12px !important;\n  padding: 9px 13px !important;\n  font-size: 12px !important;\n  line-height: 1.4 !important;\n}\n\n.ai-msg-bot .ai-msg-avatar {\n  width: 24px !important;\n  height: 24px !important;\n  border-radius: 6px !important;\n  background: rgba(56, 189, 248, 0.14) !important;\n  border: 1px solid rgba(56, 189, 248, 0.28) !important;\n  color: #38bdf8 !important;\n  font-size: 12px !important;\n  display: flex !important;\n  align-items: center !important;\n  justify-content: center !important;\n  flex-shrink: 0 !important;\n  margin-top: 2px !important;\n}\n\n.ai-msg-bot .ai-msg-content,\nhtml .ai-msg-bot .ai-msg-content,\nhtml[data-theme="bright"] .ai-msg-bot .ai-msg-content {\n  background: rgba(20, 29, 44, 0.9) !important;\n  border: 1px solid rgba(56, 189, 248, 0.16) !important;\n  color: #e2e8f0 !important;\n  border-radius: 12px 12px 12px 2px !important;\n  padding: 12px 15px !important;\n  font-size: 12px !important;\n  line-height: 1.55 !important;\n}\n\n.ai-msg-bot .ai-msg-content p {\n  margin: 0 0 9px 0 !important;\n}\n\n.ai-msg-bot .ai-msg-content p:last-child {\n  margin-bottom: 0 !important;\n}\n\n.ai-answer-header {\n  font-size: 13px !important;\n  font-weight: 750 !important;\n  color: #38bdf8 !important;\n  margin-bottom: 10px !important;\n  border-bottom: 1px solid rgba(56, 189, 248, 0.16) !important;\n  padding-bottom: 5px !important;\n}\n\n.ai-heading,\nhtml .ai-heading,\nhtml[data-theme="bright"] .ai-heading {\n  font-size: 12px !important;\n  font-weight: 750 !important;\n  color: #ffffff !important;\n  margin: 12px 0 8px !important;\n}\n\n.ai-msg-content strong {\n  color: #ffffff !important;\n  font-weight: 700 !important;\n}\n\n.ai-msg-content em {\n  color: #cbd5e1 !important;\n  font-style: italic !important;\n}\n\n.ai-ol, .ai-ul {\n  margin: 6px 0 10px 0 !important;\n  padding-left: 18px !important;\n}\n\n.ai-ol li, .ai-ul li {\n  margin-bottom: 6px !important;\n  line-height: 1.5 !important;\n}\n\n.ai-quote {\n  border-left: 3px solid #38bdf8 !important;\n  margin: 8px 0 !important;\n  padding: 4px 10px !important;\n  background: rgba(56, 189, 248, 0.08) !important;\n  color: #cbd5e1 !important;\n  font-size: 11.5px !important;\n  border-radius: 0 4px 4px 0 !important;\n}\n\n.ai-inline-code {\n  background: rgba(0, 0, 0, 0.45) !important;\n  border: 1px solid rgba(255, 255, 255, 0.14) !important;\n  padding: 1px 5px !important;\n  border-radius: 4px !important;\n  color: #38bdf8 !important;\n  font-family: monospace !important;\n  font-size: 11px !important;\n}\n\n.ai-code-box,\nhtml .ai-code-box,\nhtml[data-theme="bright"] .ai-code-box {\n  background: rgba(4, 8, 14, 0.95) !important;\n  border: 1px solid rgba(56, 189, 248, 0.25) !important;\n  border-radius: 6px !important;\n  padding: 8px 10px !important;\n  margin: 8px 0 !important;\n  display: flex !important;\n  align-items: center !important;\n  justify-content: space-between !important;\n  gap: 8px !important;\n}\n\n.ai-code-box code,\nhtml .ai-code-box code,\nhtml[data-theme="bright"] .ai-code-box code {\n  color: #e2e8f0 !important;\n  font-family: monospace !important;\n  font-size: 10.5px !important;\n  word-break: break-all !important;\n}\n\n.ai-copy-btn {\n  display: inline-flex !important;\n  align-items: center !important;\n  gap: 4px !important;\n  padding: 3px 8px !important;\n  border-radius: 4px !important;\n  background: rgba(56, 189, 248, 0.15) !important;\n  border: 1px solid rgba(56, 189, 248, 0.3) !important;\n  color: #38bdf8 !important;\n  font-size: 10px !important;\n  font-weight: 600 !important;\n  cursor: pointer !important;\n  flex-shrink: 0 !important;\n  transition: all 0.15s ease !important;\n}\n\n.ai-copy-btn:hover {\n  background: #0284c7 !important;\n  color: #ffffff !important;\n}\n\n.ai-link {\n  color: #38bdf8 !important;\n  text-decoration: underline !important;\n  font-weight: 600 !important;\n}\n\n/* Markdown Table */\n.ai-table-wrap {\n  overflow-x: auto !important;\n  margin: 10px 0 !important;\n  border-radius: 6px !important;\n  border: 1px solid rgba(255, 255, 255, 0.1) !important;\n}\n\n.ai-table {\n  width: 100% !important;\n  border-collapse: collapse !important;\n  font-size: 11px !important;\n  text-align: left !important;\n}\n\n.ai-table th {\n  background: rgba(15, 23, 36, 0.95) !important;\n  color: #38bdf8 !important;\n  font-weight: 700 !important;\n  padding: 6px 9px !important;\n  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;\n}\n\n.ai-table td {\n  padding: 6px 9px !important;\n  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;\n  color: #cbd5e1 !important;\n}\n\n.ai-table tr:last-child td {\n  border-bottom: none !important;\n}\n\n/* Quick Chips */\n.ai-quick-prompts {\n  margin-top: 6px !important;\n}\n\n.quick-prompts-label {\n  font-size: 9px !important;\n  font-weight: 750 !important;\n  color: #64748b !important;\n  letter-spacing: 0.08em !important;\n  display: block !important;\n  margin-bottom: 8px !important;\n}\n\n.quick-chips-grid {\n  display: flex !important;\n  flex-wrap: wrap !important;\n  gap: 6px !important;\n}\n\n.ai-chip,\nhtml .ai-chip,\nhtml[data-theme="bright"] .ai-chip {\n  display: inline-flex !important;\n  align-items: center !important;\n  padding: 5px 10px !important;\n  border-radius: 999px !important;\n  background: rgba(255, 255, 255, 0.04) !important;\n  border: 1px solid rgba(255, 255, 255, 0.1) !important;\n  color: #cbd5e1 !important;\n  font-size: 11px !important;\n  font-weight: 550 !important;\n  cursor: pointer !important;\n  transition: all 0.15s ease !important;\n  text-align: left !important;\n}\n\n.ai-chip:hover,\nhtml[data-theme="bright"] .ai-chip:hover {\n  background: rgba(56, 189, 248, 0.14) !important;\n  border-color: rgba(56, 189, 248, 0.4) !important;\n  color: #ffffff !important;\n  transform: translateY(-1px) !important;\n}\n\n/* Input Form */\n.ai-drawer-footer,\nhtml .ai-drawer-footer,\nhtml[data-theme="bright"] .ai-drawer-footer {\n  padding: 12px 16px !important;\n  background: rgba(15, 23, 36, 0.95) !important;\n  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;\n}\n\n.ai-input-wrap,\nhtml .ai-input-wrap,\nhtml[data-theme="bright"] .ai-input-wrap {\n  display: flex !important;\n  align-items: center !important;\n  gap: 8px !important;\n  background: rgba(4, 8, 14, 0.85) !important;\n  border: 1px solid rgba(56, 189, 248, 0.22) !important;\n  border-radius: 8px !important;\n  padding: 4px 6px 4px 12px !important;\n}\n\n.ai-input-wrap:focus-within {\n  border-color: #38bdf8 !important;\n  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25) !important;\n}\n\n.ai-input-field,\nhtml .ai-input-field,\nhtml[data-theme="bright"] .ai-input-field {\n  flex: 1 1 auto !important;\n  background: transparent !important;\n  border: none !important;\n  outline: none !important;\n  color: #ffffff !important;\n  font-size: 12px !important;\n}\n\n.ai-send-btn {\n  width: 28px !important;\n  height: 28px !important;\n  border-radius: 6px !important;\n  background: linear-gradient(135deg, #0284c7, #2563eb) !important;\n  border: none !important;\n  color: #ffffff !important;\n  display: flex !important;\n  align-items: center !important;\n  justify-content: center !important;\n  cursor: pointer !important;\n  transition: all 0.15s ease !important;\n}\n\n.ai-send-btn:hover {\n  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;\n}\n\n/* Loading dots */\n.ai-msg-loading {\n  display: flex !important;\n  gap: 4px !important;\n  align-items: center !important;\n  padding: 10px 14px !important;\n}\n\n.ai-dot {\n  width: 5px !important;\n  height: 5px !important;\n  background: #38bdf8 !important;\n  border-radius: 50% !important;\n  animation: aiDotPulse 1.2s infinite ease-in-out !important;\n}\n.ai-dot:nth-child(2) { animation-delay: 0.2s !important; }\n.ai-dot:nth-child(3) { animation-delay: 0.4s !important; }\n\n@keyframes aiDotPulse {\n  0%, 100% { opacity: 0.3; transform: scale(0.8); }\n  50% { opacity: 1; transform: scale(1.2); }\n}\n

/* ==========================================================================
   HANDWRITTEN BRAND SCRIBBLE (ELECTRIC BLUE, LOWERCASE, HANDWRITING FONT)
   ========================================================================== */
.flow-brand {
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  text-decoration: none !important;
  gap: 0px !important;
  overflow: visible !important;
}

.flow-brand strong {
  position: relative !important;
  display: inline-block !important;
  line-height: 1 !important;
  font-family: var(--font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  letter-spacing: -0.035em !important;
  color: #ffffff !important;
}

.flow-brand .brand-scribble,
html .flow-brand .brand-scribble,
html[data-theme="bright"] .flow-brand .brand-scribble,
body .flow-brand .brand-scribble {
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  font-family: 'Caveat', 'Dawning of a New Day', 'Zeyada', cursive, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 0.9 !important;
  color: #38bdf8 !important;
  transform: rotate(-5deg) translateY(-2px) !important;
  margin-left: 5px !important;
  white-space: nowrap !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.5) !important;
  user-select: none !important;
  pointer-events: none !important;
  opacity: 0.95 !important;
  text-transform: lowercase !important;
  vertical-align: middle !important;
}

@media (max-width: 640px) {
  .flow-brand .brand-scribble,
  html .flow-brand .brand-scribble,
  html[data-theme="bright"] .flow-brand .brand-scribble {
    font-size: 8.5px !important;
    transform: rotate(-4deg) translateY(-1px) !important;
    margin-left: 4px !important;
  }
}

/* ==========================================================================
   AMD SPOTLIGHT CALLOUT (FROSTED GLASS PILL & SUBTLE FROSTED BUTTON)
   ========================================================================== */
.compact-spotlight-subcallout,
html .compact-spotlight-subcallout,
html[data-theme="bright"] .compact-spotlight-subcallout {
  display: block !important;
  margin-top: 14px !important;
}

.spotlight-amd-pill,
html .spotlight-amd-pill,
html[data-theme="bright"] .spotlight-amd-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 5px 6px 5px 12px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.spotlight-amd-pill:hover,
html .spotlight-amd-pill:hover,
html[data-theme="bright"] .spotlight-amd-pill:hover {
  background: rgba(255, 255, 255, 0.085) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.spotlight-amd-icon,
html .spotlight-amd-icon,
html[data-theme="bright"] .spotlight-amd-icon {
  width: 14px !important;
  height: 14px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 1px 3px rgba(225, 29, 72, 0.5)) !important;
}

.subcallout-text,
html .subcallout-text,
html[data-theme="bright"] .subcallout-text {
  font-size: 12.5px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.subcallout-btn,
html .subcallout-btn,
html[data-theme="bright"] .subcallout-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3.5px 11px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #f1f5f9 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

.subcallout-btn:hover,
html .subcallout-btn:hover,
html[data-theme="bright"] .subcallout-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: translateX(1px) !important;
}



/* ==========================================================================
   MACRO AMD / OPENCL COMPATIBILITY CALLOUTS
   ========================================================================== */
.macro-amd-badge-wrap {
  margin-bottom: 16px;
}

.macro-amd-pill-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.18);
}

.macro-amd-pill-hero .macro-amd-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(225, 29, 72, 0.6));
}

.item-tag-amd {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(225, 29, 72, 0.14) !important;
  border-color: rgba(225, 29, 72, 0.38) !important;
  color: #ffcad4 !important;
  font-weight: 650 !important;
}

.item-tag-amd img {
  width: 11px;
  height: 11px;
  object-fit: contain;
}



/* ==========================================================================
   HEADER SOCIAL MEDIA ICONS (TIKTOK, YOUTUBE, INSTAGRAM)
   ========================================================================== */
.flow-social-links {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-right: 6px !important;
}

.flow-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.flow-social-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  transform: translateY(-1px) !important;
}

.flow-social-link.is-youtube:hover {
  color: #ff2a4b !important;
  box-shadow: 0 0 10px rgba(255, 42, 75, 0.35) !important;
  border-color: rgba(255, 42, 75, 0.4) !important;
}

.flow-social-link.is-instagram:hover {
  color: #f43f5e !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.35) !important;
  border-color: rgba(244, 63, 94, 0.4) !important;
}

.flow-social-link.is-tiktok:hover {
  color: #00f2fe !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.35) !important;
  border-color: rgba(0, 242, 254, 0.4) !important;
}

@media (max-width: 768px) {
  .flow-social-links {
    display: none !important;
  }
}



/* ==========================================================================
   HEADER SOCIAL MEDIA ICONS (TIKTOK, YOUTUBE, INSTAGRAM)
   ========================================================================== */
.flow-social-links,
html .flow-social-links,
html[data-theme="bright"] .flow-social-links {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-right: 6px !important;
}

.flow-social-link,
html .flow-social-link,
html[data-theme="bright"] .flow-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px !important;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.flow-social-link svg,
html .flow-social-link svg,
html[data-theme="bright"] .flow-social-link svg {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
  display: block !important;
}

.flow-social-link:hover,
html .flow-social-link:hover,
html[data-theme="bright"] .flow-social-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}

.flow-social-link.is-youtube:hover {
  color: #ff2a4b !important;
  box-shadow: 0 0 10px rgba(255, 42, 75, 0.4) !important;
  border-color: rgba(255, 42, 75, 0.5) !important;
}

.flow-social-link.is-instagram:hover {
  color: #f43f5e !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.4) !important;
  border-color: rgba(244, 63, 94, 0.5) !important;
}

.flow-social-link.is-tiktok:hover {
  color: #00f2fe !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4) !important;
  border-color: rgba(0, 242, 254, 0.5) !important;
}

@media (max-width: 768px) {
  .flow-social-links {
    display: none !important;
  }
}



/* ==========================================================================
   HEADER SOCIAL MEDIA ICONS (YOUTUBE, INSTAGRAM, TIKTOK)
   ========================================================================== */
.flow-social-links,
html .flow-social-links,
html[data-theme="bright"] .flow-social-links,
body .flow-social-links {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-right: 6px !important;
}

.flow-social-link,
html .flow-social-link,
html[data-theme="bright"] .flow-social-link,
body .flow-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px !important;
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.flow-social-link svg,
html .flow-social-link svg,
html[data-theme="bright"] .flow-social-link svg,
body .flow-social-link svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  fill: currentColor !important;
  color: inherit !important;
}

.flow-social-link svg path,
html .flow-social-link svg path,
html[data-theme="bright"] .flow-social-link svg path {
  fill: currentColor !important;
}

.flow-social-link:hover,
html .flow-social-link:hover,
html[data-theme="bright"] .flow-social-link:hover,
body .flow-social-link:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.flow-social-link.is-youtube:hover {
  color: #ff2a4b !important;
  box-shadow: 0 0 10px rgba(255, 42, 75, 0.4) !important;
  border-color: rgba(255, 42, 75, 0.5) !important;
}

.flow-social-link.is-instagram:hover {
  color: #f43f5e !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.4) !important;
  border-color: rgba(244, 63, 94, 0.5) !important;
}

.flow-social-link.is-tiktok:hover {
  color: #00f2fe !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4) !important;
  border-color: rgba(0, 242, 254, 0.5) !important;
}

@media (max-width: 768px) {
  .flow-social-links {
    display: none !important;
  }
}



/* ==========================================================================
   ROBUST MOBILE RESPONSIVE HEADER & SITE LAYOUT FIXES
   ========================================================================== */

/* Desktop defaults */
.mobile-nav-extras {
  display: none !important;
}

@media (max-width: 900px) {
  :root {
    --mobile-flow-header-height: 56px;
  }

  /* 1. Header Bar Structure */
  .flow-nav,
  html .flow-nav,
  body .flow-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 12px !important;
    gap: 8px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* 2. Brand Wordmark & Scribble */
  .flow-brand,
  html .flow-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 100px) !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .flow-brand strong {
    font-size: 15px !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .flow-brand .brand-scribble {
    font-size: 8px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
  }

  /* 3. Header Action Cluster (Top Bar) */
  .flow-actions,
  html .flow-actions,
  body .flow-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Hide items that clutter the mobile header bar */
  .flow-actions .flow-social-links,
  .flow-actions .theme-toggle-btn,
  .flow-actions [data-nav-auth-link],
  .flow-actions .flow-preview-toggle,
  .flow-actions .currency-picker-container,
  .flow-actions select,
  .flow-actions a:not(.flow-cart-trigger) {
    display: none !important;
  }

  /* Keep Cart icon visible on mobile */
  .flow-actions .flow-cart-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 32px !important;
    min-width: 34px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 7px !important;
  }

  /* Hamburger Menu Toggle Button */
  .flow-menu-toggle,
  html .flow-menu-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 34px !important;
    height: 32px !important;
    min-width: 34px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f1f5f9 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
  }

  html[data-theme="bright"] .flow-menu-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
  }

  /* 4. Mobile Navigation Dropdown Menu */
  .flow-nav nav,
  html .flow-nav nav {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    box-sizing: border-box !important;
    background: rgba(8, 15, 23, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 14px !important;
    padding: 10px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(24px) saturate(1.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(0.985) !important;
    transform-origin: top center !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s !important;
    z-index: 9999 !important;
  }

  html[data-theme="bright"] .flow-nav nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  .flow-nav.is-menu-open nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition-delay: 0s !important;
  }

  .flow-nav nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
  }

  html[data-theme="bright"] .flow-nav nav a {
    color: #1e293b !important;
  }

  .flow-nav nav a:hover,
  .flow-nav nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #38bdf8 !important;
  }

  html[data-theme="bright"] .flow-nav nav a:hover,
  html[data-theme="bright"] .flow-nav nav a[aria-current="page"] {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0284c7 !important;
  }

  /* 5. Mobile Navigation Dropdown Extras (Theme Toggle + Socials) */
  .mobile-nav-extras {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 4px !important;
    padding-top: 2px !important;
  }

  .mobile-nav-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    margin: 4px 0 6px 0 !important;
  }

  html[data-theme="bright"] .mobile-nav-divider {
    background: rgba(0, 0, 0, 0.08) !important;
  }

  .mobile-nav-theme-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    font-size: 13.5px !important;
    font-weight: 550 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
  }

  html[data-theme="bright"] .mobile-nav-theme-btn {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
  }

  .mobile-nav-theme-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  html[data-theme="bright"] .mobile-nav-theme-btn:hover {
    background: rgba(0, 0, 0, 0.08) !important;
  }

  .mobile-theme-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .mobile-theme-pill {
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 99px !important;
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
  }

  .mobile-nav-theme-btn .icon-sun {
    display: none !important;
  }
  .mobile-nav-theme-btn .icon-moon {
    display: inline-block !important;
    color: #38bdf8 !important;
  }

  html[data-theme="bright"] .mobile-nav-theme-btn .icon-sun {
    display: inline-block !important;
    color: #f59e0b !important;
  }
  html[data-theme="bright"] .mobile-nav-theme-btn .icon-moon {
    display: none !important;
  }

  .mobile-nav-socials {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 6px 0 4px 0 !important;
  }

  .mobile-nav-socials .flow-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    text-decoration: none !important;
  }

  html[data-theme="bright"] .mobile-nav-socials .flow-social-link {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
  }

  /* 6. Fix Mobile Viewport Overflows across pages */
  body, html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* 7. Shop AMD Hero Pill responsive */
  .macro-amd-pill-hero {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .macro-amd-pill-hero .macro-amd-pill-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* 8. Item Detail Page Mobile Action & Stage Fitting */
  .item-actions-cluster {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .item-gallery-stage {
    max-width: 100% !important;
    border-radius: 12px !important;
  }

  /* 9. Item Compatibility Grid Mobile 2-column or 1-column fit */
  .item-compat-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .compat-entry {
    padding: 6px 8px !important;
    font-size: 11.5px !important;
  }
}



/* ==========================================================================
   POLISHED MOBILE DROPDOWN STYLING & THEME SWITCHING
   ========================================================================== */
@media (max-width: 900px) {
  /* Default Dark Theme Dropdown */
  .flow-nav nav,
  html:not([data-theme="bright"]) .flow-nav nav {
    background: #09121a !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  }

  .flow-nav nav a,
  html:not([data-theme="bright"]) .flow-nav nav a {
    color: #f1f5f9 !important;
  }

  .flow-nav nav a:hover,
  .flow-nav nav a:focus-visible,
  .flow-nav nav a[aria-current="page"],
  html:not([data-theme="bright"]) .flow-nav nav a:hover,
  html:not([data-theme="bright"]) .flow-nav nav a[aria-current="page"] {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
  }

  /* Bright Theme Dropdown */
  html[data-theme="bright"] .flow-nav nav {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  }

  html[data-theme="bright"] .flow-nav nav a {
    color: #0f172a !important;
  }

  html[data-theme="bright"] .flow-nav nav a:hover,
  html[data-theme="bright"] .flow-nav nav a:focus-visible,
  html[data-theme="bright"] .flow-nav nav a[aria-current="page"] {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
  }
}



/* ==========================================================================
   FINAL POLISH FOR MOBILE VIEWPORTS & THEME CONTRAST
   ========================================================================== */
@media (max-width: 900px) {
  /* Social links inside mobile dropdown */
  .mobile-nav-socials .flow-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
  }

  .mobile-nav-socials .flow-social-link svg {
    width: 17px !important;
    height: 17px !important;
    fill: #ffffff !important;
  }

  html[data-theme="bright"] .mobile-nav-socials .flow-social-link {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #1e293b !important;
  }

  html[data-theme="bright"] .mobile-nav-socials .flow-social-link svg {
    fill: #1e293b !important;
  }

  /* Specific brand colors on hover in mobile menu */
  .mobile-nav-socials .flow-social-link.is-youtube:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    color: #ef4444 !important;
  }
  .mobile-nav-socials .flow-social-link.is-youtube:hover svg {
    fill: #ef4444 !important;
  }

  .mobile-nav-socials .flow-social-link.is-instagram:hover {
    background: rgba(236, 72, 153, 0.2) !important;
    border-color: rgba(236, 72, 153, 0.5) !important;
    color: #ec4899 !important;
  }
  .mobile-nav-socials .flow-social-link.is-instagram:hover svg {
    fill: #ec4899 !important;
  }

  .mobile-nav-socials .flow-social-link.is-tiktok:hover {
    background: rgba(6, 182, 212, 0.2) !important;
    border-color: rgba(6, 182, 212, 0.5) !important;
    color: #06b6d4 !important;
  }
  .mobile-nav-socials .flow-social-link.is-tiktok:hover svg {
    fill: #06b6d4 !important;
  }

  /* Account page on mobile */
  .account-container, .auth-card {
    max-width: 100% !important;
    padding: 16px !important;
    margin: 10px auto !important;
  }
}



/* ==========================================================================
   BRIGHTER MOBILE HAMBURGER MENU BUTTON (3 LINES)
   ========================================================================== */
@media (max-width: 900px) {
  .flow-menu-toggle,
  html .flow-menu-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 36px !important;
    height: 34px !important;
    min-width: 36px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  .flow-menu-toggle:hover,
  .flow-menu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25) !important;
  }

  .flow-menu-toggle span,
  html .flow-menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    transition: transform 0.22s ease, opacity 0.18s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  .flow-menu-toggle:hover span {
    background: #ffffff !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9) !important;
  }

  /* Bright Theme Contrast */
  html[data-theme="bright"] .flow-menu-toggle {
    background: rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    color: #0f172a !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  }

  html[data-theme="bright"] .flow-menu-toggle:hover,
  html[data-theme="bright"] .flow-menu-toggle:focus-visible {
    background: rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15) !important;
  }

  html[data-theme="bright"] .flow-menu-toggle span,
  html[data-theme="bright"] .flow-menu-toggle span {
    background: #0f172a !important;
    box-shadow: none !important;
  }

  html[data-theme="bright"] .flow-menu-toggle:hover span {
    background: #000000 !important;
  }
}



/* ==========================================================================
   PERMANENT BRIGHT CRISP WHITE MOBILE HAMBURGER MENU BUTTON
   ========================================================================== */
@media (max-width: 900px) {
  .flow-menu-toggle,
  html .flow-menu-toggle,
  html[data-theme="bright"] .flow-menu-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 36px !important;
    height: 34px !important;
    min-width: 36px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  .flow-menu-toggle:hover,
  .flow-menu-toggle:focus-visible,
  html[data-theme="bright"] .flow-menu-toggle:hover,
  html[data-theme="bright"] .flow-menu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35) !important;
  }

  .flow-menu-toggle span,
  html .flow-menu-toggle span,
  html[data-theme="bright"] .flow-menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.75) !important;
    opacity: 1 !important;
    transition: transform 0.22s ease, opacity 0.18s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  .flow-menu-toggle:hover span,
  html[data-theme="bright"] .flow-menu-toggle:hover span {
    background: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 1) !important;
  }
}

/* Bright Theme: Universal Select */
html[data-theme="bright"] select,
html[data-theme="bright"] .category-sort-label select,
html[data-theme="bright"] [data-category-sort] {
  color-scheme: light !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(15,23,42,0.7)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

html[data-theme="bright"] select option,
html[data-theme="bright"] .category-sort-label select option,
html[data-theme="bright"] [data-category-sort] option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* Bright Theme: Sticky Controls Toolbar Gradient Feather */
html[data-theme="bright"] .store-controls-toolbar::after {
  background: linear-gradient(180deg, rgba(245, 246, 250, 0.96) 0%, rgba(245, 246, 250, 0.55) 45%, rgba(245, 246, 250, 0) 100%) !important;
}

/* Bright Theme: List View Overrides */
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .store-grid-card,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .category-browser-card,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .timeline-grid .store-grid-card,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .timeline-grid .category-browser-card,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .store-shelf-grid .store-grid-card,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .store-shelf-grid .category-browser-card {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .store-grid-card:hover,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .category-browser-card:hover,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .timeline-grid .store-grid-card:hover,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .timeline-grid .category-browser-card:hover {
  background: #ffffff !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12) !important;
}

html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .category-card-title,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .timeline-grid .category-card-title {
  color: #0f172a !important;
}

html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .category-card-desc,
html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .timeline-grid .category-card-desc {
  color: rgba(15, 23, 42, 0.6) !important;
}

html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .card-cart-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #0f172a !important;
}

html[data-theme="bright"] .store-content-wrapper[data-catalog-view="list"] .card-cart-btn:hover {
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
  color: #0284c7 !important;
}

