
/* ═══════════════════════════════════════════════════════════════
   Z-INDEX SCALE — NeverHodl™ (do not use arbitrary values)
   ═══════════════════════════════════════════════════════════════
   10  — Bottom tab bar (nh-btm-nav)
   50  — Sticky bottom bar (CTA strip)
   100 — Top nav bar
   150 — Drawer backdrop
   151 — Drawer panel
   200 — Mobile nav overlay (legacy, being unified)
   201 — Mobile nav drawer (legacy)
   999 — Tooltips
   1200 — Phase bottom sheet backdrop
   1201 — Phase bottom sheet
   9999 — Cookie/consent banner
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════
   NeverHodl™ Dashboard v6 — Premium Design System
   Primary: #D4A843 (gold-amber — IMMUTABLE)
   © NeverHodl™ OEPM M4370276
═══════════════════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { text-decoration: none; color: inherit; }
input { font-family: inherit; }

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Gold palette */
  --gold-50:  #FBF6E8;
  --gold-100: #F5E8C4;
  --gold-200: #EBD497;
  --gold-300: #DEBE6A;
  --gold-400: #D4A843;   /* ← PRIMARY */
  --gold-500: #B8902F;
  --gold-600: #957324;
  --gold-700: #735819;
  --gold-800: #523F12;
  --gold-900: #33270B;

  /* Backgrounds */
  --bg-base:     #0A0B0F;
  --bg-elevated: #13141A;
  --bg-overlay:  #1C1E26;
  --bg-hover:    #232631;
  --bg-input:    #181920;

  /* Borders */
  --border-subtle:  rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-strong:  rgba(212,168,67,0.30);
  --border-gold:    rgba(212,168,67,0.50);

  /* Text */
  --text-primary:   #F5F5F7;
  --text-secondary: #B8BCC8;
  --text-tertiary:  #7B8598;
  --text-disabled:  #5A6070;
  --text-on-gold:   #0A0B0F;

  /* Phase colors */
  --phase-fondo:    #22C55E;
  --phase-acum:     #3B82F6;
  --phase-bull:     #D4A843;
  --phase-caliente: #EA580C;
  --phase-nh:       #DC2626;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;
  --info:    #3B82F6;

  /* Gradients */
  --gradient-gold:       linear-gradient(135deg, #D4A843 0%, #B8902F 100%);
  --gradient-gold-soft:  linear-gradient(135deg, rgba(212,168,67,0.12) 0%, rgba(212,168,67,0.04) 100%);
  --gradient-gold-glow:  radial-gradient(circle, rgba(212,168,67,0.18) 0%, transparent 70%);
  --gradient-card-pro:   linear-gradient(135deg, #13141A 0%, #1C1E26 50%, #13141A 100%);

  /* Shadows */
  --shadow-card:      0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-card-hover:0 10px 30px rgba(0,0,0,0.5), 0 4px 8px rgba(212,168,67,0.10);
  --shadow-gold-glow: 0 0 24px rgba(212,168,67,0.25), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-modal:     0 20px 80px rgba(0,0,0,0.6);

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Transitions */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:   150ms;
  --t-base:   250ms;
  --t-slow:   400ms;

  /* Layout */
  --max-width: 1200px;
  --nav-h: 56px;
}

/* ── BASE ─────────────────────────────────────────────────────── */
body.nv6 {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
}

/* ── GLOBAL NAV ───────────────────────────────────────────────── */
.nv6-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6,7,10,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
}

.nv6-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
/* Logo monogram — zero-whitespace inline-flex */
.nv6-logo-monogram {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  gap: 0;
}
.nv6-logo-monogram > * { margin: 0; padding: 0; }
.nv6-logo-never { color: #F5F5F7; }
.nv6-logo-hodl  {
  color: #D4A843;
  text-decoration: line-through;
  text-decoration-color: #EF4444;
  text-decoration-thickness: 1.5px;
}
.nv6-logo-tm {
  color: #6B7280;
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 1px;
}
/* Legacy classes for any residual spans */
.nv6-logo .ln { color: var(--text-primary); }
.nv6-logo .lh { color: #EF4444; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: #EF4444; }
.nv6-logo .tm { color: var(--gold-500); font-size: 10px; vertical-align: super; }
.nv6-logo .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); flex-shrink: 0;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}

.nv6-nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nv6-nav-tab {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
  color: var(--text-tertiary);
  border-radius: 7px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nv6-nav-tab:hover { color: var(--text-secondary); background: var(--bg-hover); }
.nv6-nav-tab.active { color: var(--gold-400); background: rgba(212,168,67,0.08); }

.nv6-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nv6-lang-btn {
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-disabled);
  border: 1px solid transparent;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all .15s;
  cursor: pointer;
}
.nv6-lang-btn:hover { color: var(--text-secondary); }
.nv6-lang-btn.active { color: var(--gold-400); background: rgba(212,168,67,0.08); border-color: rgba(212,168,67,0.3); }
.nav-lang-btn { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-disabled); background: none; border: 1px solid transparent; cursor: pointer; padding: 6px 12px; border-radius: 6px; transition: all .15s; }
.nav-lang-btn:hover { color: var(--text-secondary); }
.nav-lang-btn.active { color: var(--gold-400); background: rgba(212,168,67,0.08); border-color: rgba(212,168,67,0.3); }

.nv6-pro-badge-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--gradient-gold);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-on-gold);
  letter-spacing: 0.3px;
  transition: all var(--t-fast) var(--ease-standard);
  box-shadow: 0 2px 8px rgba(212,168,67,0.30);
}
.nv6-pro-badge-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,168,67,0.45);
}

/* ── MAIN LAYOUT ─────────────────────────────────────────────── */
.nv6-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── SECTION CONTAINER ───────────────────────────────────────── */
.nv6-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.nv6-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.nv6-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.nv6-section-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-400);
  background: rgba(212,168,67,0.10);
  border: 1px solid rgba(212,168,67,0.20);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ── ASSET SELECTOR ──────────────────────────────────────────── */
.nv6-asset-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nv6-asset-bar::-webkit-scrollbar { display: none; }

.nv6-asset-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease-standard);
  background: var(--bg-overlay);
}
.nv6-asset-tab.active {
  background: rgba(212,168,67,0.10);
  border-color: var(--border-strong);
  color: var(--gold-400);
}
.nv6-asset-tab:not(.active):hover {
  border-color: var(--border-default);
  color: var(--text-secondary);
}
.nv6-asset-tab .lock-icon {
  font-size: 9px;
  opacity: 0.5;
}
.nv6-asset-tab .soon-tag {
  font-size: 9px;
  color: var(--text-disabled);
  font-weight: 500;
}

/* ── Crypto NHCI tab — live score badge ── */
.nv6-crypto-tab {
  gap: 5px;
  border-color: rgba(99,179,237,0.25);
}
.nv6-crypto-tab:not(.active):hover {
  border-color: rgba(99,179,237,0.5);
  color: #63B3ED;
}
.nv6-crypto-tab-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.nv6-crypto-tab-score {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #63B3ED;
  background: rgba(99,179,237,0.12);
  border: 1px solid rgba(99,179,237,0.25);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.4;
  transition: color 0.3s, background 0.3s;
  min-width: 28px;
  text-align: center;
}
/* Score color adapts to value */
.nv6-crypto-tab[data-phase="bottom"] .nv6-crypto-tab-score { color: #60A5FA; background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.25); }
.nv6-crypto-tab[data-phase="accum"]  .nv6-crypto-tab-score { color: #34D399; background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.25); }
.nv6-crypto-tab[data-phase="bull"]   .nv6-crypto-tab-score { color: #D4A843; background: rgba(212,168,67,0.12); border-color: rgba(212,168,67,0.25); }
.nv6-crypto-tab[data-phase="reduce"] .nv6-crypto-tab-score { color: #FB923C; background: rgba(251,146,60,0.12); border-color: rgba(251,146,60,0.25); }
.nv6-crypto-tab[data-phase="nh"]     .nv6-crypto-tab-score { color: #FF4757; background: rgba(255,71,87,0.12); border-color: rgba(255,71,87,0.25); }

.nv6-trust-inline {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--text-disabled);
  letter-spacing: 0.3px;
  padding: 0 4px;
}

/* ── HERO SCORE ──────────────────────────────────────────────── */
.nv6-hero-body {
  padding: 24px 20px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.nv6-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}

.nv6-score-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.nv6-freshness {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #22C55E;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nv6-freshness::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: nv6-pulse 2s ease-in-out infinite;
}
@keyframes nv6-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.nv6-freshness.stale { color: var(--text-tertiary); }
.nv6-freshness.stale::before { background: var(--text-tertiary); animation: none; }

.nv6-score-number {
  font-family: var(--font-mono);
  font-size: 88px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(212,168,67,0.30);
  transition: color var(--t-base) var(--ease-standard);
}

.nv6-score-number.flash {
  animation: score-flash 400ms var(--ease-standard);
}

@keyframes score-flash {
  0%   { text-shadow: 0 0 40px rgba(212,168,67,0.30); }
  50%  { text-shadow: 0 0 60px rgba(212,168,67,0.70); }
  100% { text-shadow: 0 0 40px rgba(212,168,67,0.30); }
}

.nv6-phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.nv6-velocity-badge {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.nv6-velocity-badge .up   { color: var(--success); }
.nv6-velocity-badge .down { color: var(--danger); }
.nv6-velocity-badge .flat { color: var(--text-tertiary); }

/* ── PHASE STATS GRID ────────────────────────────────────────── */
.nv6-stats-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.nv6-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nv6-stat-card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  transition: all var(--t-fast) var(--ease-standard);
  position: relative;
  overflow: hidden;
}
.nv6-stat-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-card-hover);
}

/* Stat card ⓘ info icon */
.nv6-stat-info {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 13px;
  color: var(--text-tertiary);
  opacity: 0.45;
  line-height: 1;
  transition: opacity var(--t-fast), color var(--t-fast);
  pointer-events: none;
}
.nv6-stat-card:hover .nv6-stat-info {
  opacity: 1;
  color: var(--gold-400);
}

/* Next-phase locked card overlay */
.nv6-stat-card-locked .nv6-stat-value,
.nv6-stat-card-locked .nv6-stat-sub {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
.nv6-stat-lock {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(10,11,15,0.55);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-standard);
}
.nv6-stat-lock span {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.nv6-stat-lock:hover {
  background: rgba(10,11,15,0.70);
}

.nv6-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.nv6-stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.nv6-stat-sub {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 4px;
}
.nv6-stat-sub.up   { color: var(--success); }
.nv6-stat-sub.down { color: var(--danger); }

/* ── Zone-since adaptive display ───────────────────────────────────────── */
.nh-zone-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 700;
  font-size: 1em;
  color: var(--text-secondary);
}
.nh-zone-unit {
  font-size: 0.82em;
  opacity: 0.65;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
/* NEW / JUST CHANGED state */
.nh-zone-new-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success, #10B981);
  margin-right: 5px;
  vertical-align: middle;
  animation: nh-zone-pulse 1.8s ease-in-out infinite;
}
@keyframes nh-zone-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.3; transform: scale(0.75); }
}

/* progress bar inside stat */
.nv6-progress-bar {
  height: 4px;
  background: var(--bg-hover);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.nv6-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--gradient-gold);
  transition: width 1s var(--ease-standard);
}

/* ── RPM — Cycle Position Indicator ─────────────────────────── */
.nv6-rpm-wrap {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-subtle);
}

/* Outer: reserves space above track for the pill, below for zone labels */
.nv6-rpm-outer {
  position: relative;
  padding-top: 38px;   /* pill height + gap */
  padding-bottom: 0;
}
@media (min-width: 560px) {
  .nv6-rpm-outer { padding-bottom: 32px; } /* room for zone labels on desktop */
}

/* ── Gradient track ──────────────────────────────────────────── */
/* Hard color stops at canonical thresholds — no seams, pure gradient */
.nv6-rpm-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right,
    var(--phase-fondo)    0%,  var(--phase-fondo)    20%,
    var(--phase-acum)     20%, var(--phase-acum)     40%,
    var(--phase-bull)     40%, var(--phase-bull)     60%,
    var(--phase-caliente) 60%, var(--phase-caliente) 80%,
    var(--phase-nh)       80%, var(--phase-nh)       100%
  );
  opacity: 0.65;
}

/* Boundary ticks — subtle marks at zone transitions */
.nv6-rpm-tick {
  position: absolute;
  top: -4px;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.12);
  transform: translateX(-50%);
}

/* ── Moving pill ─────────────────────────────────────────────── */
/* Floats above the track, slides to score position.
   Color (border + text) is set by JS to match the active phase. */
.nv6-rpm-pill {
  position: absolute;
  top: 0;
  left: 50%;            /* overridden by JS */
  transform: translateX(-50%);
  transition: none;     /* no animation on first render — JS adds transition after */
  opacity: 0;           /* hidden until JS positions it */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid;  /* color from JS via style.borderColor */
  background: rgba(13, 18, 28, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  cursor: default;
  z-index: 3;
}
/* Vertical stem: connects pill to track */
.nv6-rpm-pill::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 14px;
  background: currentColor;
  opacity: 0.5;
  border-radius: 1px;
}
.nv6-rpm-pill-phase {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1;
}
.nv6-rpm-pill-sep {
  font-size: 10px;
  opacity: 0.4;
  line-height: 1;
}
.nv6-rpm-pill-score {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
  line-height: 1;
}

/* ── Zone labels — desktop only ──────────────────────────────── */
.nv6-rpm-zones {
  display: none;
}
@media (min-width: 560px) {
  .nv6-rpm-zones {
    display: block;
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 28px;
  }
  .nv6-rpm-zone {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    transition: opacity 0.2s;
    opacity: 0.35;
  }
  .nv6-rpm-zone.active { opacity: 1; }
  .nv6-rpm-zone span:first-child {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
  }
  .nv6-rpm-zone-range {
    font-size: 7.5px;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.6;
    line-height: 1;
  }
  .nv6-rpm-zone.fondo    { color: var(--phase-fondo); }
  .nv6-rpm-zone.acum     { color: var(--phase-acum); }
  .nv6-rpm-zone.bull     { color: var(--phase-bull); }
  .nv6-rpm-zone.caliente { color: var(--phase-caliente); }
  .nv6-rpm-zone.nh       { color: var(--phase-nh); }
}

/* ── SOCIAL PROOF BANNER ─────────────────────────────────────── */
.nv6-proof-bar {
  background: var(--gradient-gold-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nv6-proof-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.nv6-proof-text {
  flex: 1;
}
.nv6-proof-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 2px;
}
.nv6-proof-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.nv6-proof-items {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.nv6-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.nv6-proof-item .val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-400);
}
.nv6-proof-item .lbl {
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.2;
}

/* ── CHART ───────────────────────────────────────────────────── */
.nv6-chart-body {
  padding: 14px 18px 18px;
}

/* Chart loading skeleton */
.nv6-chart-skeleton {
  width: 100%;
  height: 410px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-disabled);
  letter-spacing: 1px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.nv6-period-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nv6-period-tab {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  transition: all var(--t-fast) var(--ease-standard);
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nv6-period-tab:hover:not(.locked-tab) {
  border-color: var(--border-default);
  color: var(--text-secondary);
  background: var(--bg-hover);
}
.nv6-period-tab.active {
  background: rgba(212,168,67,0.12);
  border-color: var(--border-gold);
  color: var(--gold-400);
}
.nv6-period-tab.locked-tab {
  opacity: 0.65;
  cursor: pointer;
  position: relative;
}
.nv6-period-tab.locked-tab:hover {
  opacity: 0.8;
  border-color: rgba(212,168,67,0.25);
  color: var(--gold-400);
  background: rgba(212,168,67,0.05);
}

/* ── Persistent hover readout ────────────────────────────── */
.nv6-chart-readout {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 7px 12px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  min-height: 34px;
  max-height: 34px;
  transition: background .15s;
}
.nv6-chart-readout:has(.cr-hover) {
  background: rgba(212,168,67,0.05);
  border-color: rgba(212,168,67,0.18);
}
.cr-date   { color: var(--text-tertiary); font-size: 10px; min-width: 80px; }
.cr-sep    { color: var(--text-disabled); margin: 0 8px; }
.cr-asset  { display: flex; align-items: center; color: rgba(241,245,249,0.80); font-weight: 600; }
.cr-nhci-wrap { display: flex; align-items: center; gap: 5px; }
.cr-phase-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: .5px;
  background: rgba(212,168,67,0.12);
  color: #D4A843;
  border: 1px solid rgba(212,168,67,0.22);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}

/* Chart inline legend (hidden — readout replaces it) */
.nv6-chart-legend {
  display: none !important;
}
.nv6-legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--text-tertiary); font-family: var(--font-mono);
}
.nv6-legend-item svg { flex-shrink: 0; }

/* Chart canvas — legacy single-panel (kept for compat) */
.nv6-chart-canvas-wrap {
  position: relative;
  height: 280px;
  background: rgba(255,255,255,0.01);
  border-radius: 8px;
  overflow: hidden;
}

/* ── Dual-panel chart (LWC — TradingView Lightweight Charts) ── */
.nv6-chart-dual-wrap {
  border-radius: 8px;
  overflow: hidden;
  background: #131722;            /* Bybit/Binance dark bg */
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
}

/* LWC price panel */
#nv6-price-el {
  height: 240px;
  display: block;
}
/* Hide TradingView attribution injected by LWC standalone */
.nv6-chart-dual-wrap a[href*="tradingview"],
#nv6-price-el a[href*="tradingview"],
#nv6-nhci-el  a[href*="tradingview"] {
  display: none !important;
}

/* NeverHodl™ chart watermark — absolute-centered in the dual-wrap */
.nv6-chart-watermark {
  position: absolute;
  top: 44%;                        /* sits in price panel area */
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.065;                  /* subtle — marca d'água */
}
.nv6-chart-watermark svg { display: block; }
.nv6-chart-wm-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #D4A843;
  text-transform: uppercase;
}

/* Thin separator */
.nv6-lw-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}
/* LWC NHCI panel */
#nv6-nhci-el {
  height: 120px;
  display: block;
}

/* Responsive heights */
@media (max-width: 600px) {
  #nv6-price-el  { height: 200px; }
  #nv6-nhci-el   { height: 110px; }
  .nv6-chart-skeleton { min-height: 320px; }
}
@media (min-width: 900px) {
  #nv6-price-el  { height: 260px; }
  #nv6-nhci-el   { height: 130px; }
  .nv6-chart-skeleton { min-height: 410px; }
}

/* ── Floating hover tooltip ──────────────────────────────────────────────── */
.nv6-hover-tooltip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  background: rgba(13, 17, 28, 0.93);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 7px;
  padding: 9px 12px;
  min-width: 160px;
  max-width: 220px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.55;
  color: #CBD5E1;
  transition: opacity 0.08s;
}
.nv6-tt-date {
  font-size: 10px;
  color: rgba(212,168,67,0.75);
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.nv6-tt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}
.nv6-tt-asset  { color: #94A3B8; font-size: 10px; }
.nv6-tt-price  { color: #F1F5F9; font-weight: 600; font-size: 12px; }
.nv6-tt-label  { color: #94A3B8; font-size: 10px; }
.nv6-tt-ohlc   { color: #64748B; font-size: 9.5px; margin-bottom: 2px; letter-spacing: 0.02em; }
.nv6-tt-nhci   { font-weight: 700; font-size: 13px; }
.nv6-tt-phase  {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 5px;
}
.nv6-tt-desc   { font-weight: 400; font-size: 9.5px; opacity: 0.75; }
.nv6-tt-regime {
  font-size: 10px;
  font-weight: 600;
  margin-top: 3px;
}
/* Protection overlay badges */
.nv6-tt-overlay {
  margin-top: 5px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nv6-tt-overlay span { font-weight: 400; opacity: 0.85; }
.nv6-tt-descent  { background: rgba(249,115,22,0.15); color: #FB923C; border: 1px solid rgba(249,115,22,0.3); }
.nv6-tt-toprisk  { background: rgba(239,68,68,0.15);  color: #F87171; border: 1px solid rgba(239,68,68,0.3); }

/* Chart footer row */
.nv6-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 0;
}
.nv6-chart-meta {
  font-size: 10px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.nv6-chart-footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nv6-chart-reset-btn {
  font-size: 10px;
  color: var(--text-tertiary);
  padding: 3px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: var(--font-mono);
  background: transparent;
  cursor: pointer;
}
.nv6-chart-ruler-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  padding: 3px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.nv6-chart-ruler-btn:hover {
  color: var(--text-secondary);
  border-color: var(--border-default);
}
.nv6-chart-ruler-btn.active {
  color: #60A5FA;
  border-color: rgba(96,165,250,0.4);
  background: rgba(96,165,250,0.08);
}

/* ── Ruler measurement panel ─────────────────────────────────────────────── */
.nv6-ruler-panel {
  margin-top: 6px;
  background: rgba(96,165,250,0.06);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  font-family: var(--font-mono);
}
.nv6-ruler-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.nv6-ruler-icon { font-size: 13px; }
.nv6-ruler-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #60A5FA;
}
.nv6-ruler-range {
  font-size: 10px;
  color: var(--text-tertiary);
  flex: 1;
}
.nv6-ruler-clear {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 7px;
  cursor: pointer;
  margin-left: auto;
}
.nv6-ruler-clear:hover { color: var(--text-secondary); }
.nv6-ruler-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.nv6-ruler-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nv6-ruler-stat-n {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.nv6-ruler-stat-n.up { color: #34D399; }
.nv6-ruler-stat-n.dn { color: #F87171; }
.nv6-ruler-stat-l {
  font-size: 9px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nv6-ruler-bottom {
  border-top: 1px solid rgba(96,165,250,0.12);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nv6-ruler-trend {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.nv6-ruler-trend.up   { color: #34D399; }
.nv6-ruler-trend.dn   { color: #F87171; }
.nv6-ruler-trend.flat { color: #D4A843; }
.nv6-ruler-dist {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 10px;
}
.nv6-ruler-phase-lbl {
  color: var(--text-disabled);
  margin-right: 2px;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nv6-ruler-phase-item {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  padding: 2px 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.nv6-ruler-phase-name { font-weight: 600; color: var(--text-secondary); }
.nv6-ruler-phase-pct  { font-weight: 700; color: var(--text-tertiary); }

/* Phase pill colors by data-phase attribute */
.nv6-ruler-phase-item[data-phase="nh"]    { background: rgba(239,68,68,0.10);    border-color: rgba(239,68,68,0.30); }
.nv6-ruler-phase-item[data-phase="nh"]    .nv6-ruler-phase-name { color: #F87171; }
.nv6-ruler-phase-item[data-phase="nh"]    .nv6-ruler-phase-pct  { color: #F87171; }

.nv6-ruler-phase-item[data-phase="hot"]   { background: rgba(249,115,22,0.10);   border-color: rgba(249,115,22,0.30); }
.nv6-ruler-phase-item[data-phase="hot"]   .nv6-ruler-phase-name { color: #FB923C; }
.nv6-ruler-phase-item[data-phase="hot"]   .nv6-ruler-phase-pct  { color: #FB923C; }

.nv6-ruler-phase-item[data-phase="corr"]  { background: rgba(249,115,22,0.08);   border-color: rgba(249,115,22,0.25); }
.nv6-ruler-phase-item[data-phase="corr"]  .nv6-ruler-phase-name { color: #FDBA74; }
.nv6-ruler-phase-item[data-phase="corr"]  .nv6-ruler-phase-pct  { color: #FDBA74; }

.nv6-ruler-phase-item[data-phase="bull"]  { background: rgba(212,168,67,0.10);   border-color: rgba(212,168,67,0.30); }
.nv6-ruler-phase-item[data-phase="bull"]  .nv6-ruler-phase-name { color: #D4A843; }
.nv6-ruler-phase-item[data-phase="bull"]  .nv6-ruler-phase-pct  { color: #D4A843; }

.nv6-ruler-phase-item[data-phase="acum"]  { background: rgba(16,185,129,0.08);   border-color: rgba(16,185,129,0.25); }
.nv6-ruler-phase-item[data-phase="acum"]  .nv6-ruler-phase-name { color: #34D399; }
.nv6-ruler-phase-item[data-phase="acum"]  .nv6-ruler-phase-pct  { color: #34D399; }

.nv6-ruler-phase-item[data-phase="det"]   { background: rgba(239,68,68,0.07);    border-color: rgba(239,68,68,0.20); }
.nv6-ruler-phase-item[data-phase="det"]   .nv6-ruler-phase-name { color: #FCA5A5; }
.nv6-ruler-phase-item[data-phase="det"]   .nv6-ruler-phase-pct  { color: #FCA5A5; }

.nv6-ruler-phase-item[data-phase="fondo"] { background: rgba(59,130,246,0.10);   border-color: rgba(59,130,246,0.30); }
.nv6-ruler-phase-item[data-phase="fondo"] .nv6-ruler-phase-name { color: #60A5FA; }
.nv6-ruler-phase-item[data-phase="fondo"] .nv6-ruler-phase-pct  { color: #60A5FA; }

.nv6-ruler-strategy {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(212,168,67,0.07);
  border: 1px solid rgba(212,168,67,0.18);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Educational results bar */
.nv6-chart-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 7px 12px;
  background: rgba(212,168,67,0.06);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: rgba(212,168,67,0.80);
}
.nv6-results-nfa {
  color: var(--text-tertiary);
  font-size: 9px;
}

.nv6-chart-locked-overlay {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, transparent 30%, rgba(10,11,15,0.85) 70%, var(--bg-base) 100%);
  z-index: 5;
}
.nv6-chart-locked-overlay.visible { display: flex; }

.nv6-unlock-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-gold);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-on-gold);
  box-shadow: var(--shadow-gold-glow);
  transition: all var(--t-fast) var(--ease-standard);
}
.nv6-unlock-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,67,0.4); }

/* ── INDICATORS ──────────────────────────────────────────────── */
.nv6-ind-body {
  padding: 16px 20px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nv6-ind-card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--t-fast) var(--ease-standard);
  position: relative;
}
.nv6-ind-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.nv6-ind-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nv6-ind-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.nv6-ind-info {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-tertiary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--t-fast) var(--ease-standard);
  font-style: italic;
  font-weight: 700;
}
.nv6-ind-info:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(212,168,67,0.08);
}

.nv6-ind-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.nv6-ind-sparkline {
  height: 28px;
  width: 100%;
}

.nv6-ind-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nv6-ind-badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nv6-ind-badge.bull  { background: rgba(16,185,129,0.15); color: #34D399; }
.nv6-ind-badge.bear  { background: rgba(239,68,68,0.15);  color: #F87171; }
.nv6-ind-badge.neu   { background: rgba(107,114,128,0.20); color: var(--text-secondary); }

/* Pro lock overlay on indicator */
.nv6-ind-card.locked {
  opacity: 0.45;
  cursor: pointer;
}
.nv6-ind-card.locked::after {
  content: '🔒 PRO';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-400);
  background: rgba(10,11,15,0.6);
  border-radius: 10px;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.nv6-ind-card.locked:hover {
  opacity: 1;
  border-color: var(--border-strong);
}
.nv6-ind-card.locked:hover::after { opacity: 1; }

/* ── INDICATOR CATEGORIES (FIX 3) ────────────────────────────── */
.nv6-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 16px 20px;
}
.nv6-cat-info {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 13px;
  color: var(--text-tertiary);
  opacity: 0.55;
  line-height: 1;
  transition: opacity var(--t-fast), color var(--t-fast);
  pointer-events: none;
}
.nv6-cat-card:hover .nv6-cat-info {
  opacity: 1;
  color: var(--gold-400);
}
.nv6-cat-card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 6px;
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.nv6-cat-card:hover { border-color: rgba(212,168,67,0.30); transform: translateY(-1px); }
.nv6-cat-card.signal-bull { border-color: rgba(16,185,129,0.30); }
.nv6-cat-card.signal-bear { border-color: rgba(239,68,68,0.25); }
.nv6-cat-icon  { font-size: 22px; line-height: 1; }
.nv6-cat-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.nv6-cat-signal {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.nv6-cat-signal.bull { background: rgba(16,185,129,0.15); color: #34D399; }
.nv6-cat-signal.bear { background: rgba(239,68,68,0.15);  color: #F87171; }
.nv6-cat-signal.neu  { background: rgba(107,114,128,0.20); color: var(--text-secondary); }
.nv6-cat-pro-score {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-400);
}
.nv6-cat-trend { font-size: 10px; color: var(--text-tertiary); }
.nv6-cat-sparkline { margin-top: 4px; }
.nv6-cat-locked-cta {
  margin: 0 20px 16px;
  padding: 12px 16px;
  background: rgba(212,168,67,0.05);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  font-size: 12px;
  color: var(--gold-400);
  text-align: center;
  cursor: pointer;
  transition: background var(--t-fast);
}
.nv6-cat-locked-cta:hover { background: rgba(212,168,67,0.10); }
@media (max-width: 900px) {
  .nv6-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .nv6-cat-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 12px 12px 12px 16px;
    scrollbar-width: none;
  }
  .nv6-cat-grid::-webkit-scrollbar { display: none; }
  .nv6-cat-grid .nv6-cat-card {
    min-width: 70vw;
    max-width: 75vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* nv6-rpm-name/range: referenced by i18n JS, rendered inside .nv6-rpm-zone (desktop only) */

/* ── AGENT PANEL ─────────────────────────────────────────────── */
.nv6-agent-subtitle {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
  line-height: 1.4;
}
.nv6-agent-body {
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.nv6-agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg-overlay);
  flex-shrink: 0;
  box-shadow: var(--shadow-gold-glow);
  overflow: hidden;
  /* No flex/text — prevents any text node from being visible */
  font-size: 0;
  line-height: 0;
}
/* Block any non-img content from rendering visibly */
.nv6-agent-avatar > :not(img) { display: none !important; }
.nv6-agent-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.nv6-agent-avatar-fallback {
  background: var(--gold-400);
}
.nv6-agent-avatar[data-agent="merlot"] {
  border-color: #A78BFA;
  box-shadow: 0 0 16px rgba(167,139,250,0.30);
}

.nv6-agent-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nv6-agent-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nv6-agent-active-badge {
  padding: 1px 7px;
  background: rgba(16,185,129,0.15);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.5px;
}
.nv6-agent-slot {
  font-size: 11px;
  color: var(--text-tertiary);
}
.nv6-agent-analysis {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  border-left: 2px solid var(--border-strong);
  padding-left: 14px;
}
.nv6-agent-analysis .highlight {
  color: var(--gold-300);
  font-weight: 600;
}

.nv6-agent-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.nv6-agent-next {
  font-size: 11px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nv6-agent-cta {
  padding: 6px 14px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-fast) var(--ease-standard);
}
.nv6-agent-cta:hover {
  border-color: var(--border-gold);
  color: var(--gold-400);
}

/* ── PRO DAILY BRIEFING ─────────────────────────────────────── */
.nv6-pro-briefing {
  display: none;
  margin-top: 12px;
  background: linear-gradient(135deg,rgba(212,168,67,.04),rgba(212,168,67,.01));
  border: 1px solid rgba(212,168,67,.15);
  border-radius: 10px;
  padding: 16px;
}
@media(max-width:600px) {
  .nv6-pro-briefing { padding: 12px; margin-top: 10px; }
}

/* ── PRO COMPARISON STRIP ────────────────────────────────────── */
.nv6-pro-body {
  padding: 20px;
}

.nv6-pro-headline {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.nv6-pro-subhead {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

/* Desktop: pricing + referral compact, centered */
#pricing-section { max-width: 720px; margin-left: auto; margin-right: auto; }
.nv6-referral-panel { max-width: 520px; margin-left: auto; margin-right: auto; }
.nv6-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.nv6-plan-card.pro-plus-card {
  border-color: rgba(232,184,75,.4);
  background: linear-gradient(160deg,rgba(232,184,75,.1),rgba(232,184,75,.03));
  box-shadow: 0 0 24px rgba(232,184,75,.12);
}
.nv6-plan-card.pro-plus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(232,184,75,.25), 0 8px 24px rgba(0,0,0,.5);
}

.nv6-plan-card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--t-base) var(--ease-standard);
}
.nv6-plan-card.pro-card {
  border-color: var(--border-strong);
  background: var(--gradient-card-pro);
  box-shadow: var(--shadow-gold-glow);
}
.nv6-plan-card.pro-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pro-glow, 0 0 32px rgba(212,168,67,0.30), 0 8px 24px rgba(0,0,0,0.5));
}

.nv6-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nv6-plan-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.nv6-plan-price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.nv6-plan-price .original {
  font-size: 14px;
  color: var(--text-disabled);
  text-decoration: line-through;
  margin-right: 4px;
}
.nv6-plan-price .gold { color: var(--gold-400); }

.nv6-plan-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.nv6-plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.nv6-plan-feature .check { color: var(--success); font-size: 11px; flex-shrink: 0; }
.nv6-plan-feature .star  { color: var(--gold-400); font-size: 11px; flex-shrink: 0; }
.nv6-plan-feature .dot   { color: var(--text-disabled); flex-shrink: 0; }

.nv6-plan-cta {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all var(--t-fast) var(--ease-standard);
  margin-top: auto;
}
.nv6-plan-cta.free-cta {
  border: 1px solid var(--border-default);
  color: var(--text-tertiary);
}
.nv6-plan-cta.free-cta:hover { border-color: var(--border-default); color: var(--text-secondary); }
.nv6-plan-cta.pro-cta {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  box-shadow: 0 2px 12px rgba(212,168,67,0.35);
}
.nv6-plan-cta.pro-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212,168,67,0.5);
}

/* ── Pro+ teaser card ─────────────────────────────────────────────────────── */
.nv6-pro-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.nv6-pro-grid-2 { grid-template-columns: 1fr 1fr; max-width: 680px; margin: 0 auto; }
.nv6-pro-grid-1 { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }

.nv6-plan-card-proplus {
  border-color: rgba(96,165,250,.35);
  background: linear-gradient(160deg,rgba(96,165,250,.08),rgba(96,165,250,.02));
  position: relative;
}
.nv6-plan-card-proplus:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(96,165,250,.2), 0 8px 24px rgba(0,0,0,.4);
}

.nv6-plan-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  align-self: flex-start;
}
.nv6-plan-badge-pill.nv6-badge-coming {
  background: rgba(96,165,250,.15);
  color: var(--accent-blue);
  border: 1px solid rgba(96,165,250,.3);
}

.nv6-plan-feature-dim {
  opacity: 0.55;
}

.nv6-plan-cta-proplus {
  background: rgba(96,165,250,.12);
  border: 1px solid rgba(96,165,250,.35);
  color: var(--accent-blue);
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all var(--t-fast) var(--ease-standard);
}
.nv6-plan-cta-proplus:hover {
  background: rgba(96,165,250,.2);
  border-color: rgba(96,165,250,.5);
  transform: translateY(-1px);
}

.nv6-plan-urgency {
  font-size: 10px;
  color: var(--warning);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nv6-urgency-bar {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nv6-urgency-bar .spots {
  color: var(--gold-400);
  font-weight: 700;
  font-family: var(--font-mono);
}
.nv6-urgency-counter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: rgba(212,168,67,0.10);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
}

/* ── CUSTOM DATE RANGE MODAL ─────────────────────────────────── */
.nv6-modal-custom-range { max-width: 380px; }
.nv6-custom-range-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 12px;
}
.nv6-custom-field { display: flex; flex-direction: column; gap: 5px; }
.nv6-custom-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nv6-custom-date-input {
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  width: 100%;
  color-scheme: dark;
  transition: border-color var(--t-fast);
}
.nv6-custom-date-input:focus {
  outline: none;
  border-color: var(--border-gold);
}
.nv6-custom-presets-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.nv6-custom-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.nv6-custom-preset-btn {
  padding: 5px 10px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--t-fast);
}
.nv6-custom-preset-btn:hover,
.nv6-custom-preset-btn.active {
  border-color: var(--border-gold);
  color: var(--gold-400);
  background: rgba(212,168,67,0.08);
}
.nv6-custom-error {
  font-size: 12px;
  color: var(--danger);
  padding: 8px 12px;
  background: rgba(239,68,68,0.08);
  border-radius: 6px;
  border: 1px solid rgba(239,68,68,0.20);
  margin-bottom: 12px;
}
.nv6-custom-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}
.nv6-custom-cancel-btn {
  padding: 9px 16px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  background: transparent;
  transition: all var(--t-fast);
}
.nv6-custom-cancel-btn:hover { border-color: var(--border-strong); color: var(--text-secondary); }
.nv6-custom-apply-btn {
  padding: 9px 20px;
  background: var(--gradient-gold);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-on-gold);
  border: none;
  transition: opacity var(--t-fast);
}
.nv6-custom-apply-btn:hover { opacity: 0.88; }

/* ── INVITE FRIENDS (Referral Panel) ─────────────────────────── */
/* Referral panel max-width handled in desktop media query above */
.nv6-referral-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nv6-referral-label {
  display: block;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}
.nv6-referral-code-box {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
}
.nv6-referral-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nv6-referral-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-400);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nv6-referral-copy-btn {
  padding: 6px 12px;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-400);
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-standard);
}
.nv6-referral-copy-btn:hover { background: var(--bg-hover); }

/* How points work */
.nv6-points-section {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
}
.nv6-points-title {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.nv6-points-rules {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nv6-points-rule {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nv6-points-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-400);
  background: rgba(212,168,67,0.10);
  border: 1px solid rgba(212,168,67,0.20);
  border-radius: 5px;
  padding: 2px 8px;
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
}
.nv6-points-badge-reward {
  color: #4ADE80;
  background: rgba(74,222,128,0.08);
  border-color: rgba(74,222,128,0.20);
}
.nv6-points-desc {
  font-size: 12px;
  color: var(--text-secondary);
}
.nv6-points-rule-reward .nv6-points-desc {
  color: var(--text-primary);
  font-weight: 600;
}

/* Mystery rewards block */
.nv6-points-mystery {
  padding: 14px 16px;
  background: rgba(212,168,67,0.05);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 10px;
}
.nv6-mystery-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(212,168,67,0.85);
  margin-bottom: 6px;
}
.nv6-mystery-text {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.nv6-mystery-stack {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Roadmap callout */
.nv6-referral-roadmap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-tertiary);
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: 8px;
}
.nv6-roadmap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── TRUST FOOTER ────────────────────────────────────────────── */
.nv6-trust-footer {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nv6-trust-avatars {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.nv6-trust-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: -6px;
  overflow: hidden;
}
.nv6-trust-avatar:first-child { margin-left: 0; }
.nv6-trust-avatar-more {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-left: -6px;
}

.nv6-trust-text {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: 12px;
}
.nv6-trust-text strong { color: var(--text-secondary); }

.nv6-trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nv6-trust-badge {
  padding: 4px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.nv6-risk-notice {
  font-size: 11px;
  color: var(--text-disabled);
  line-height: 1.6;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.nv6-risk-notice a { color: var(--text-tertiary); }
.nv6-risk-notice a:hover { color: var(--gold-400); }

/* ── TOOLTIP SYSTEM ─────────────────────────────────────────── */
.nv6-tooltip {
  position: fixed;
  z-index: 999;
  max-width: 300px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-modal);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition: opacity 200ms var(--ease-standard), transform 200ms var(--ease-standard);
}
.nv6-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nv6-tooltip-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.nv6-tooltip-body {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.nv6-tooltip-body strong { color: var(--gold-300); }
.nv6-tooltip-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
  pointer-events: auto;
}
.nv6-tooltip-close:hover { color: var(--text-primary); background: var(--bg-hover); }

/* mobile tooltip = bottom sheet */
@media (max-width: 600px) {
  .nv6-tooltip {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 300ms var(--ease-standard), opacity 200ms var(--ease-standard);
    pointer-events: none;
  }
  .nv6-tooltip.visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nv6-tooltip-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 300ms;
    pointer-events: none;
  }
  .nv6-tooltip-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── MEMBERSHIP MODAL ────────────────────────────────────────── */
.nv6-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nv6-modal-overlay.open { display: flex; }

.nv6-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-modal);
  animation: modal-in 300ms var(--ease-standard);
  position: relative;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.nv6-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(212,168,67,0.12);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.nv6-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.nv6-modal-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.nv6-modal-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.nv6-modal-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.nv6-modal-feature .star { color: var(--gold-400); }

.nv6-modal-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color var(--t-fast);
}
.nv6-modal-input:focus { border-color: var(--gold-400); }
.nv6-modal-input::placeholder { color: var(--text-disabled); }

.nv6-modal-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient-gold);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-on-gold);
  box-shadow: 0 4px 16px rgba(212,168,67,0.35);
  transition: all var(--t-fast) var(--ease-standard);
}
.nv6-modal-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(212,168,67,0.5); }

.nv6-modal-dismiss {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color var(--t-fast);
}
.nv6-modal-dismiss:hover { color: var(--text-secondary); }

.nv6-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-tertiary);
  transition: all var(--t-fast);
}
.nv6-modal-close:hover { color: var(--text-primary); background: var(--bg-hover); }

/* ── 3-OPTION UPGRADE MODAL ──────────────────────────────────── */
.nv6-modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.nv6-modal-opt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: border-color var(--t-fast);
}
.nv6-modal-opt:hover { border-color: var(--border-strong); }
.nv6-modal-opt-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.nv6-modal-opt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.nv6-modal-opt-sub {
  font-size: 12px;
  color: var(--text-secondary);
}
.nv6-modal-opt-cta-gold {
  width: 100%;
  padding: 12px;
  background: var(--gradient-gold);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-on-gold);
  box-shadow: 0 3px 12px rgba(212,168,67,0.30);
  transition: all var(--t-fast) var(--ease-standard);
}
.nv6-modal-opt-cta-gold:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(212,168,67,0.45); }
.nv6-modal-opt-cta-tg {
  width: 100%;
  padding: 12px;
  background: rgba(41,182,246,0.12);
  border: 1px solid rgba(41,182,246,0.30);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #29B6F6;
  transition: all var(--t-fast) var(--ease-standard);
}
.nv6-modal-opt-cta-tg:hover { background: rgba(41,182,246,0.20); transform: translateY(-1px); }
.nv6-modal-opt-free {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: 10px;
  transition: all var(--t-fast);
}
.nv6-modal-opt-free:hover { color: var(--text-secondary); background: var(--bg-overlay); }

/* ── Phase 8: Social proof ── */
.nv6-modal-social-proof {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.nv6-modal-proof-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  flex-shrink: 0;
  animation: nh-pulse 2s infinite;
}

/* ── Phase 8: Signup CTA (anonymous mode) ── */
.nv6-modal-signup-cta {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color 150ms, background 150ms;
  margin-top: 4px;
}
.nv6-modal-signup-cta:hover {
  border-color: var(--border-gold);
  background: rgba(212,168,67,0.06);
}

/* ── Phase 8: Plan tabs layout ── */
.nv6-modal-plan-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
}

/* ── Plan selector tabs inside modal ── */
.modal-plan-tab {
  flex: 1; padding: 10px 8px; border-radius: 12px;
  background: var(--bg-overlay); border: 2px solid var(--border-subtle);
  color: var(--text-secondary); font-size: 12px; font-weight: 700;
  cursor: pointer; text-align: center; line-height: 1.4;
  transition: border-color .15s, background .15s, color .15s;
  display: flex; flex-direction: column; gap: 2px;
}
.modal-plan-tab:hover { border-color: rgba(232,184,75,.4); color: var(--text-primary); }
.modal-plan-tab.active {
  border-color: var(--gold-400);
  background: rgba(232,184,75,.08);
  color: var(--text-primary);
}
.modal-plan-name { font-size: 12px; font-weight: 700; }
.modal-plan-price { font-size: 18px; font-weight: 800; color: var(--gold-400); }
.modal-plan-period { font-size: 10px; color: var(--text-tertiary); font-weight: 400; }
.modal-plan-soon { font-size: 10px; color: var(--text-tertiary); font-weight: 600; letter-spacing: 0.5px; }

/* Pro+ tab slightly different — teaser style */
.modal-plan-tab-proplus { opacity: 0.75; }
.modal-plan-tab-proplus.active { border-color: rgba(139,92,246,0.5); background: rgba(139,92,246,0.06); opacity: 1; }
.modal-plan-tab-proplus .modal-plan-name { color: #A78BFA; }

/* ── Phase 8: Urgency line ── */
.nv6-modal-urgency {
  font-size: 11px;
  color: #F59E0B;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
  margin-top: 4px;
}

/* ── Phase 8: Features list in modal ── */
.nv6-modal-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 4px;
  min-height: 80px;
}
.nv6-modal-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.nv6-modal-feature-row .check { color: #10B981; font-weight: 700; flex-shrink: 0; }
.nv6-modal-feature-row .star  { color: var(--gold-400); flex-shrink: 0; }

/* ── Phase 8: Nudge toast ── */
#nh-nudge-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-overlay);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 10px 16px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
  z-index: 8000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms, transform 250ms;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
}
#nh-nudge-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nh-nudge-icon { font-size: 16px; flex-shrink: 0; }
.nh-nudge-msg  { flex: 1; font-size: 12px; }
.nh-nudge-cta  {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  border: none;
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.nh-nudge-close {
  color: var(--text-tertiary);
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
}

.nv6-modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-disabled);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 4px;
}
.nv6-modal-divider::before,
.nv6-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}


/* ── SKELETON LOADERS ────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.nv6-skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(212,168,67,0.08) 50%,
    rgba(255,255,255,0.04) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.8s infinite linear;
  border-radius: 4px;
}

/* ── CLS PREVENTION — Reserve space for all data elements ────── */
/* Prevents layout shift when skeleton → loaded data transition */
.nv6-skeleton-target {
  transition: opacity 0.3s ease;
}
.nv6-score-number   { min-height: 80px; }
.nv6-phase-pill     { min-height: 28px; min-width: 120px; }
.nv6-velocity-badge { min-height: 22px; min-width: 80px; }
.nv6-stat-value     { min-height: 24px; }
.nv6-stat-sub       { min-height: 16px; }
.nv6-stat-card      { min-height: 72px; }
.nv6-conf-badge     { min-height: 18px; }
.nv6-stability-badge{ min-height: 18px; }
@media(max-width:600px) {
  .nv6-score-number { min-height: 60px; }
  .nv6-stat-card    { min-height: 60px; }
}

/* ── COOKIE CONSENT ─────────────────────────────────────────── */
.nv6-cookie {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-modal);
  max-width: 560px;
  width: calc(100% - 32px);
  font-size: 12px;
  color: var(--text-secondary);
  display: none;
}
.nv6-cookie.visible { display: flex; }
.nv6-cookie a { color: var(--gold-400); }
.nv6-cookie-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  transition: all var(--t-fast);
}
.nv6-cookie-accept { background: var(--gradient-gold); color: var(--text-on-gold); }
.nv6-cookie-decline { border: 1px solid var(--border-default); color: var(--text-tertiary); }

/* ── PRO BADGE CHIP ──────────────────────────────────────────── */
.pro-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  background: rgba(212,168,67,0.12);
  border: 0.5px solid rgba(212,168,67,0.30);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nv6-section {
  animation: fade-in-up var(--t-slow) var(--ease-standard) both;
}

.nv6-section:nth-child(1) { animation-delay: 0ms; }
.nv6-section:nth-child(2) { animation-delay: 60ms; }
.nv6-section:nth-child(3) { animation-delay: 120ms; }
.nv6-section:nth-child(4) { animation-delay: 180ms; }
.nv6-section:nth-child(5) { animation-delay: 240ms; }
.nv6-section:nth-child(6) { animation-delay: 300ms; }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */

/* tablet */
@media (max-width: 900px) {
  .nv6-hero-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nv6-score-col {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    min-width: unset;
  }
  .nv6-score-number { font-size: 64px; }
  .nv6-stats-row { grid-template-columns: repeat(3, 1fr); }
  .nv6-pro-grid,
  .nv6-pro-grid-3 { grid-template-columns: 1fr 1fr; }
  .nv6-pro-grid .nv6-plan-card:first-child,
  .nv6-pro-grid-3 .nv6-plan-card:first-child { grid-column: 1 / -1; }
  .nv6-nav-tabs { display: none; }
}

/* pricing carousel — mobile ≤ 600px */
@media (max-width: 600px) {
  .nv6-pro-grid-3 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 4px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nv6-pro-grid-3::-webkit-scrollbar { display: none; }
  .nv6-pro-grid-3 .nv6-plan-card {
    flex: 0 0 82vw;
    max-width: 320px;
    scroll-snap-align: center;
    grid-column: unset;
  }
  /* Pro card is 2nd — scroll to it on load via JS */
  .nv6-pro-grid-3 .nv6-plan-card:first-child { grid-column: unset; }
}

/* mobile */
@media (max-width: 600px) {
  :root { --nav-h: 48px; }
  .nv6-main { padding: 12px 12px calc(64px + env(safe-area-inset-bottom, 0px)); gap: 12px; }

  .nv6-logo .ln, .nv6-logo .lh { font-size: 15px; }
  .nv6-pro-badge-btn { display: none; }
  .nv6-score-col {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .nv6-score-number { font-size: 72px; }
  .nv6-stats-row { grid-template-columns: 1fr 1fr; }
  .nv6-stats-row .nv6-stat-card:last-child { grid-column: span 2; }
  /* Plan cards: single column on mobile, Pro first */
  .nv6-pro-grid { grid-template-columns: 1fr !important; }
  .nv6-pro-grid .nv6-plan-card:first-child { grid-column: unset; }
  .nv6-pro-grid .nv6-plan-card.pro-card { order: -1; }

  .nv6-ind-body { grid-template-columns: 1fr 1fr; }
  .nv6-ind-body .nv6-ind-card.span-full { grid-column: span 2; }

  .nv6-chart-canvas-wrap { height: 220px; }

  .nv6-agent-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .nv6-agent-avatar {
    width: 48px;
    height: 48px;
    justify-self: start;
  }
  .nv6-chat-box { padding: 14px 14px; margin-top: 12px; }
  .nv6-chat-sug { font-size: 9px; padding: 5px 10px; white-space: normal; }
  .nv6-chat-suggestions { gap: 6px; }
  .nv6-agent-subtitle { font-size: 10px; }
  .nv6-agent-analysis { font-size: 12px; padding-left: 10px; margin-top: 8px; }
  .nv6-agent-name { font-size: 14px; }
  .nv6-agent-footer { margin-top: 12px; }

  .nv6-proof-items { display: none; }

  /* sticky bottom — defined in mobile-first additions block below */
  .nv6-sticky-btn {
    flex: 1;
    padding: 12px 10px;
    min-height: 44px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: all var(--t-fast);
  }
  /* Default left: neutral (share / referral / admin) */
  .nv6-sticky-left,
  .nv6-sticky-share {
    background: var(--bg-overlay);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
  }
  /* Default right: gold CTA (upgrade / pro_plus_teaser) */
  .nv6-sticky-right,
  .nv6-sticky-pro {
    background: var(--gradient-gold);
    color: var(--text-on-gold);
  }
  /* Right override: signup action = stronger gold */
  .nv6-sticky-action-signup {
    background: var(--gradient-gold);
    color: var(--text-on-gold);
    font-weight: 800;
  }
  /* Right override: pro_plus_teaser = blue accent */
  .nv6-sticky-action-pro_plus_teaser {
    background: rgba(96,165,250,.15);
    border: 1px solid rgba(96,165,250,.4);
    color: var(--accent-blue);
  }
}

/* small phone */
@media (max-width: 375px) {
  .nv6-score-number { font-size: 60px; }
  .nv6-stats-row { grid-template-columns: 1fr; }
  .nv6-stats-row .nv6-stat-card:last-child { grid-column: span 1; }
  .nv6-ind-body { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE-FIRST ADDITIONS — Phase 1
   Hamburger · Drawer · Sticky bottom fix · Hero improvements
═══════════════════════════════════════════════════════════════════ */

/* ── MOBILE SIGNUP CTA ───────────────────────────────────────────── */
.nv6-mobile-signup-cta {
  display: none; /* desktop: hidden, desktop nav-right handles this */
}

/* ── HAMBURGER BUTTON ────────────────────────────────────────────── */
.nv6-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 4px;
  flex-shrink: 0;
}
@media (pointer: coarse) {
  .nv6-hamburger { width: 44px; height: 44px; border-radius: 10px; }
}
.nv6-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
}
.nv6-hamburger.open { border-color: var(--border-strong); }
.nv6-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nv6-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nv6-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── DRAWER BACKDROP ─────────────────────────────────────────────── */
.nv6-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  animation: fade-in var(--t-base) var(--ease-standard);
}
.nv6-drawer-backdrop.open { display: block; }

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── DRAWER PANEL ────────────────────────────────────────────────── */
.nv6-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100dvh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-subtle);
  z-index: 151;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: right var(--t-base) var(--ease-standard);
}
.nv6-drawer.open { right: 0; }
/* Hide sticky bar when drawer is open — prevent click-through */
.nv6-drawer-backdrop.open ~ .nv6-sticky-bottom,
.nv6-drawer.open ~ .nv6-sticky-bottom { transform: translateY(100%); pointer-events: none; }

.nv6-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
  min-height: var(--nav-h);
}
.nv6-drawer-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.nv6-drawer-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-tertiary);
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  transition: all var(--t-fast);
}
.nv6-drawer-close:hover { color: var(--text-primary); border-color: var(--border-default); }

/* Nav links */
.nv6-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.nv6-drawer-link {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: all var(--t-fast);
  text-decoration: none;
}
.nv6-drawer-link:hover { color: var(--text-primary); background: var(--bg-overlay); }
.nv6-drawer-link.active { color: var(--gold-400); border-left-color: var(--gold-400); background: rgba(212,168,67,0.06); }

/* Divider */
.nv6-drawer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
  flex-shrink: 0;
}

/* Language row */
.nv6-drawer-lang-row {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
}
.nv6-drawer-lang-btn {
  flex: 1;
  padding: 9px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
  background: var(--bg-overlay);
  letter-spacing: 0.5px;
  transition: all var(--t-fast);
}
.nv6-drawer-lang-btn:hover { color: var(--text-secondary); border-color: var(--border-strong); }
.nv6-drawer-lang-btn.active { color: var(--gold-400); border-color: var(--border-gold); background: rgba(212,168,67,0.10); }

/* Pro CTA */
.nv6-drawer-pro-btn {
  margin: 10px 16px 6px;
  padding: 13px 12px;
  border-radius: 10px;
  background: var(--gradient-gold);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-on-gold);
  text-align: center;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(212,168,67,0.30);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.nv6-drawer-pro-btn:hover { box-shadow: 0 4px 16px rgba(212,168,67,0.45); transform: translateY(-1px); }

/* Share button */
.nv6-drawer-share-btn {
  margin: 0 16px 10px;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-default);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--t-fast);
}
.nv6-drawer-share-btn:hover { border-color: var(--border-gold); color: var(--gold-400); }

/* Auth slot in drawer */
.nv6-drawer-auth {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nv6-drawer-auth a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all var(--t-fast);
}

/* Drawer footer */
.nv6-drawer-footer {
  margin-top: auto;
  padding: 14px 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 9px;
  color: var(--text-disabled);
  text-align: center;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

/* ── STICKY BOTTOM — default hidden, CSS shows on mobile ─────────── */
.nv6-sticky-bottom { display: none; }

/* ── MOBILE OVERRIDES ≤600px ─────────────────────────────────────── */
@media (max-width: 600px) {
  /* Hamburger hidden — bottom tab bar handles mobile nav */
  .nv6-hamburger { display: none; }
  .nv6-mobile-signup-cta {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 7px 14px;
    background: var(--gradient-gold);
    color: var(--text-on-gold);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(212,168,67,0.25);
  }
  .nv6-mobile-signup-cta.hidden { display: none; }
  /* When CTA is hidden, push hamburger to the right */
  .nv6-mobile-signup-cta.hidden + .nv6-hamburger { margin-left: auto; }

  /* Bybit-style mobile nav: logo + [signup] + hamburger only */
  .nv6-nav-tabs { display: none; }
  .nv6-nav-right { display: none; }

  /* Trust inline badge — hidden, clutters mobile asset bar */
  .nv6-trust-inline { display: none; }

  /* Sticky bottom always visible on mobile */
  .nv6-sticky-bottom {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(10,11,15,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    gap: 8px;
    z-index: 90;
  }

  /* Hero: score fully centered on mobile */
  .nv6-hero-body { padding: 20px 16px 16px; }
  .nv6-score-col { gap: 4px; }
  .nv6-score-number { font-size: 80px; letter-spacing: -3px; }
  .nv6-phase-pill { font-size: 12px; padding: 6px 16px; }

  /* Chart: slightly taller on mobile */
  .nv6-chart-canvas-wrap { height: 240px; }

  /* RPM labels — tighter on very small screens */
  .nv6-rpm-name { font-size: 8px; }
  .nv6-rpm-range { font-size: 7px; }

  /* Main padding accounts for sticky bottom */
  /* padding-bottom consolidated at line 2769 */

  /* Asset bar: ensure BTC tab always visible first */
  .nv6-asset-bar { padding: 12px 12px 0; }
  .nv6-asset-tab { padding: 5px 10px; font-size: 11px; }
}

/* ══════════════════════════════════════════════════════════════════
   Phase 3 — Data Layer: Confidence, Overlays, ATH Strip
══════════════════════════════════════════════════════════════════ */

/* ── Score meta row (confidence + stability) ────────────────────── */
.nv6-score-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.nv6-conf-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  letter-spacing: 0.5px;
  transition: color 300ms;
  opacity: 0.5;
}

.nv6-conf-badge.high   { color: var(--text-tertiary); }
.nv6-conf-badge.medium { color: var(--text-tertiary); }
.nv6-conf-badge.low    { color: rgba(239,68,68,0.6); }

.nv6-stability-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: 0;
  border-radius: 0;
  border: none;
  opacity: 0.5;
}

.nv6-stability-badge.stable   { color: var(--text-tertiary); }
.nv6-stability-badge.volatile { color: rgba(245,158,11,0.6); }

/* ── Overlay banners ────────────────────────────────────────────── */
.nv6-overlay-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-left: 3px solid;
  border-bottom: 1px solid;
  animation: nh-slide-in 300ms ease;
}

@keyframes nh-slide-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nv6-overlay-risk {
  background: rgba(239,68,68,0.07);
  border-left-color: #EF4444;
  border-bottom-color: rgba(239,68,68,0.15);
}

.nv6-overlay-descent {
  background: rgba(245,158,11,0.07);
  border-left-color: #F59E0B;
  border-bottom-color: rgba(245,158,11,0.15);
}

.nv6-overlay-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.nv6-overlay-body {
  flex: 1;
}

.nv6-overlay-body strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1px;
}

.nv6-overlay-body span {
  font-size: 11px;
  color: var(--text-secondary);
}

.nv6-overlay-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-400);
  background: rgba(212,168,67,0.10);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 3px;
  padding: 2px 6px;
  flex-shrink: 0;
}

/* ── ATH strip ──────────────────────────────────────────────────── */
.nv6-ath-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
}

.nv6-ath-label {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.nv6-ath-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-primary);
}

.nv6-ath-value.near-ath  { color: #34D399; }  /* ≥ -5%: at/near 90d high → green */
.nv6-ath-value.mid-range { color: #F59E0B; }  /* -5% to -20%: pulling back → amber */
.nv6-ath-value.far-ath   { color: #EF4444; }  /* < -20%: deep correction → red */

/* ── Overlay lock CTA (free/anon teaser) ────────────────────────── */
.nv6-overlay-lock-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 11px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(212,168,67,0.03);
}

/* ── weeksInPhase in stat card ──────────────────────────────────── */
#stat-weeks-phase {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
}

/* ══════════════════════════════════════════════════════════════════
   Phase 5 — Indicator Room
══════════════════════════════════════════════════════════════════ */

/* ── Category card header ───────────────────────────────────────── */
.nv6-cat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.nv6-cat-header .nv6-cat-title {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nv6-cat-header .nv6-cat-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.nv6-cat-header .nv6-cat-signal {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ── Indicator rows ─────────────────────────────────────────────── */
.nv6-ind-list {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nv6-ind-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.nv6-ind-row:last-child { border-bottom: none; }

.nv6-ind-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
}

.nv6-ind-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  transition: filter 300ms;
}

/* Blurred values for free/anon */
.nv6-ind-blurred {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════
   Phase 6 — Agent Chat UI
══════════════════════════════════════════════════════════════════ */

.nv6-chat-box {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 16px;
}

.nv6-chat-limit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.nv6-chat-limit-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(212,168,67,0.10);
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--gold-400);
  letter-spacing: 0.3px;
}
.nv6-chat-limit-badge.exhausted { background: rgba(107,114,128,0.10); border-color: rgba(107,114,128,0.25); color: var(--text-tertiary); }
.nv6-chat-limit-badge.unlimited { background: rgba(139,92,246,0.10); border-color: rgba(139,92,246,0.25); color: #A78BFA; }

.nv6-chat-limit-reset { font-size: 10px; color: var(--text-tertiary); font-family: var(--font-mono); }

.nv6-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-right: 4px;
  scroll-behavior: smooth;
}
.nv6-chat-thread::-webkit-scrollbar { width: 3px; }
.nv6-chat-thread::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.nv6-chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.65;
}
.nv6-chat-msg.user {
  align-self: flex-end;
  background: rgba(212,168,67,0.10);
  border: 1px solid rgba(212,168,67,0.22);
  color: var(--text-primary);
  border-bottom-right-radius: 3px;
  font-weight: 500;
}
.nv6-chat-msg.agent {
  align-self: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border-bottom-left-radius: 3px;
  font-size: 13px;
  line-height: 1.7;
}
.nv6-chat-msg.agent strong { color: var(--text-primary); }
.nv6-chat-msg.agent .highlight { color: var(--gold-400); font-weight: 600; }
.nv6-chat-msg.thinking {
  align-self: flex-start;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.06);
  color: var(--text-tertiary);
  font-style: italic; font-size: 12px;
  animation: pulse-subtle 1.5s infinite;
}
@keyframes pulse-subtle { 0%,100%{opacity:.6} 50%{opacity:1} }

.nv6-chat-input-row { display: flex; gap: 8px; align-items: flex-end; }

.nv6-chat-input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.5;
  resize: none;
  transition: border-color 150ms, background 150ms;
  min-height: 48px;
  max-height: 120px;
}
/* Suggested questions */
.nv6-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.nv6-chat-suggestions:empty { display: none; }
.nv6-chat-sug {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(212,168,67,0.18);
  white-space: nowrap;
  background: rgba(212,168,67,0.04);
  color: rgba(212,168,67,0.75);
  cursor: pointer;
  transition: all 150ms;
  flex-shrink: 0;
}
.nv6-chat-sug:hover {
  background: rgba(212,168,67,0.10);
  border-color: rgba(212,168,67,0.35);
  color: var(--gold-400);
}

.nv6-chat-input:focus { outline: none; border-color: rgba(212,168,67,0.40); background: rgba(255,255,255,0.04); }
.nv6-chat-input::placeholder { color: var(--text-tertiary); }
.nv6-chat-input:disabled { opacity: 0.4; cursor: not-allowed; }

.nv6-chat-send {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gradient-gold); color: var(--text-on-gold);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212,168,67,0.20);
  transition: opacity 150ms, transform 100ms;
}
.nv6-chat-send:hover:not(:disabled) { opacity: 0.85; }
.nv6-chat-send:active:not(:disabled) { transform: scale(0.95); }
.nv6-chat-send:disabled { opacity: 0.35; cursor: not-allowed; }

.nv6-chat-notice { margin-top: 6px; font-size: 10px; color: var(--text-tertiary); text-align: center; }

/* Lock overlay over indicator rows */
.nv6-ind-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(10, 11, 15, 0.55);
  backdrop-filter: blur(2px);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-tertiary);
  transition: background 150ms;
}

.nv6-ind-lock-overlay:hover {
  background: rgba(10, 11, 15, 0.70);
}

.nv6-ind-lock-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CRYPTO NHCI SECTION — Phase 9
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Carousel container ───────────────────────────────────────────────────── */
.nv6-crypto-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

/* ── Asset card ───────────────────────────────────────────────────────────── */
.nv6-crypto-card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t-base) var(--ease-standard);
  cursor: default !important;
}
/* Informational text inside carousel — no pointer interaction */
.nv6-crypto-asset-name,
.nv6-crypto-asset-full,
.nv6-crypto-score,
.nv6-crypto-phase-badge,
.nv6-crypto-vel-lbl,
.nv6-crypto-vel-val {
  pointer-events: none;
  user-select: none;
}
/* Re-enable pointer events for tooltip triggers — including mobile tap */
.nv6-crypto-asset-name[data-tooltip],
.nv6-crypto-vel-lbl[data-tooltip] {
  pointer-events: auto;
  cursor: help;
  touch-action: manipulation;  /* tap registered instantly, not confused with scroll */
  text-decoration: underline dotted var(--text-tertiary);
  text-underline-offset: 3px;
}
.nv6-crypto-card:hover { border-color: var(--border-default); }

.nv6-crypto-card-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.nv6-crypto-asset-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  font-family: var(--font-mono);
}
.nv6-crypto-asset-full {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.nv6-crypto-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nv6-crypto-score {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.nv6-crypto-phase-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
/* Phase badge colors — reuse phase palette */
.nv6-crypto-phase-badge.phase-fondo    { background:rgba(59,130,246,.15); color:#60a5fa; border-color:rgba(59,130,246,.3); }
.nv6-crypto-phase-badge.phase-acum     { background:rgba(16,185,129,.15); color:#34d399; border-color:rgba(16,185,129,.3); }
.nv6-crypto-phase-badge.phase-bull     { background:rgba(212,168,67,.15); color:#f5c842; border-color:rgba(212,168,67,.3); }
.nv6-crypto-phase-badge.phase-hot      { background:rgba(249,115,22,.15); color:#fb923c; border-color:rgba(249,115,22,.3); }
.nv6-crypto-phase-badge.phase-nh       { background:rgba(239,68,68,.15);  color:#f87171; border-color:rgba(239,68,68,.3);  }

.nv6-crypto-data-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.nv6-crypto-vel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.nv6-crypto-vel-lbl { color: var(--text-tertiary); }
.nv6-crypto-vel-val { font-family: var(--font-mono); font-weight: 600; color: var(--text-secondary); }
.nv6-crypto-vel-val.up   { color: var(--success); }
.nv6-crypto-vel-val.down { color: var(--danger);  }

/* History lock row (free tier) */
.nv6-crypto-history-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--bg-elevated);
  border-radius: 8px;
  border: 1px dashed var(--border-subtle);
  font-size: 10px;
  color: var(--text-disabled);
}
.nv6-crypto-lock-btn {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-400);
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(212,168,67,.1);
  border: 1px solid rgba(212,168,67,.25);
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.nv6-crypto-lock-btn:hover {
  background: rgba(212,168,67,.2);
}

/* History lock hidden for Pro (full access) */
.nv6-crypto-card.unlocked .nv6-crypto-history-lock { display: none; }

/* ── Pro note bar ─────────────────────────────────────────────────────────── */
.nv6-crypto-pro-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
}
.nv6-crypto-pro-note-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-400);
  white-space: nowrap;
  flex-shrink: 0;
}
.nv6-crypto-pro-note-btn:hover { text-decoration: underline; }

/* ── Carousel dots (mobile only) ─────────────────────────────────────────── */
.nv6-carousel-dots {
  display: none; /* shown via media query */
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.nv6-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-default);
  transition: background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
}
.nv6-dot.active {
  background: var(--gold-400);
  transform: scale(1.3);
}

/* ── Mobile + tablet carousel (≤900px) — swipeable with next-card peek ─── */
@media (max-width: 900px) {
  .nv6-crypto-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    /* Right padding lets the next card peek at ~15% */
    padding: 2px 48px 8px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nv6-crypto-carousel::-webkit-scrollbar { display: none; }
  .nv6-crypto-card {
    /* ~85% width — next card peeks on the right */
    flex: 0 0 82%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .nv6-carousel-dots { display: flex; }
}
/* On very small screens make card even wider for comfort */
@media (max-width: 480px) {
  .nv6-crypto-card { flex: 0 0 88%; }
}

/* ── NHCI Context UI ─────────────────────────────────────────────────────── */
.nv6-context-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 6px;
  color: var(--text-primary);
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.25);
  text-align: center;
  line-height: 1.4;
}
.nv6-context-label[data-urgency="high"] {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.nv6-context-label[data-urgency="low"] {
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

/* Alert badge (only 4 critical situations) */
@keyframes nhci-badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.85; box-shadow: 0 0 0 4px transparent; }
}
.nv6-alert-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 4px;
  text-align: center;
  animation: nhci-badge-pulse 2s ease-in-out infinite;
  border: 1px solid currentColor;
}

/* Signal guide CTA link */
.nv6-signal-guide-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--accent);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
  letter-spacing: 0.03em;
}
.nv6-signal-guide-cta:hover { opacity: 1; text-decoration: underline; }

/* Context message strip below stats */
.nv6-context-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  margin: 6px 0 2px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.nv6-context-bias {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(212, 168, 67, 0.3);
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE-FIRST v1.4 — E2E Optimization Pass (2026-05-08)
   Critical fixes: touch, scroll lock, tooltip, hit targets, RPM bar
════════════════════════════════════════════════════════════════════ */

/* ── Chart: prevent text selection + proper touch passthrough ──── */
.nv6-chart-dual-wrap {
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;   /* vertical scroll passes to page; LWC handles horizontal drag */
}

/* ── Hover tooltip — disable on touch devices ────────────────── */
/* The readout bar provides all the same info; floating tooltip is
   unpositionable on touch and causes stale overlaps on mobile */
@media (hover: none) {
  .nv6-hover-tooltip { display: none !important; }
}
@media (max-width: 900px) {
  .nv6-hover-tooltip { display: none !important; }
}

/* ── Asset bar — iOS momentum scroll ─────────────────────────── */
.nv6-asset-bar {
  -webkit-overflow-scrolling: touch;
}

/* ── NHCI panel: +10px headroom for zone bands + markers ─────── */
@media (max-width: 600px) {
  #nv6-nhci-el { height: 120px; }
}

/* ── Readout bar — compact on mobile ─────────────────────────── */
@media (max-width: 600px) {
  .nv6-chart-readout { padding: 5px 10px; font-size: 10px; min-height: 28px; }
  .cr-sep  { margin: 0 5px; }
}
@media (max-width: 390px) {
  .nv6-chart-readout svg { display: none; }
  .cr-date { min-width: 62px; font-size: 9px; }
  .cr-sep  { margin: 0 3px; }
}

/* ── Modal close — minimum 40×40 touch target ────────────────── */
.nv6-modal-close {
  width: 40px;
  height: 40px;
}

/* ── Main padding — safe-area-aware for sticky bottom + tab bar ── */
@media (max-width: 600px) {
  /* padding-bottom consolidated at line 2769 */
}

/* ── RPM bar labels — mobile ─────────────────────────────────── */

/* ── Touch feedback ──────────────────────────────────────────── */
.nv6-hamburger:active   { transform: scale(0.92); }
.nv6-modal-close:active { transform: scale(0.90); opacity: 0.75; }
@media (max-width: 600px) {
  .nv6-sticky-btn:active     { transform: scale(0.97); opacity: 0.8; }
  .nv6-drawer-link:active    { background: var(--bg-hover); }
  .nv6-drawer-pro-btn:active { transform: scale(0.98); }
  .nv6-asset-tab:active      { opacity: 0.7; }
  .nv6-period-tab:active     { opacity: 0.75; }
}

/* ═══════════════════════════════════════════════════════════════════
   UI/UX Refinements v1.1 — 2026-05-12
   1. WCAG 2.1 AA contrast  2. Hitbox 44px  3. Chart gap 16px
   4. Phase cards affordance + bottom sheet  5. Sticky padding
═══════════════════════════════════════════════════════════════════ */

/* ── 1. WCAG contrast — section/stat/chart labels ≥ 4.5:1 ─────────
   #9CA3AF on #0A0B0F ≈ 6.4:1  |  on #13141A ≈ 5.9:1  ✅ AA pass  */
:root { --text-label: #9CA3AF; }

.nv6-section-title,
.nv6-stat-label,
.nv6-ind-label,
.nv6-cat-trend,
.nv6-chart-meta,
.nv6-agent-slot,
.cr-date,
.nv6-stat-sub:not(.up):not(.down),
.nv6-proof-item .lbl {
  color: var(--text-label);
}

/* ── 2. Hitbox — asset tabs 44×44px touch target (WCAG 2.5.5) ─────── */
.nv6-asset-tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (pointer: coarse) {
  .nv6-asset-tab { min-height: 44px; min-width: 44px; }
}

/* ── 3. Chart gap — 16px breathing room between panels ─────────────── */
.nv6-lw-divider {
  height: 16px;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.06);
}
#nv6-price-el { position: relative; z-index: 2; }
#nv6-nhci-el  { position: relative; z-index: 1; }

/* ── 4. Phase/category cards — affordance ──────────────────────────── */
.nv6-cat-card { cursor: default; }
.nv6-cat-info {
  opacity: 0.55 !important;
  pointer-events: auto !important;
  cursor: pointer;
}
.nv6-cat-card:hover .nv6-cat-info { opacity: 1 !important; }

/* Bottom sheet — backdrop */
.nv6-phase-sheet-backdrop {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  background: rgba(0,0,0,0.72);
  z-index: 1200;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nv6-phase-sheet-backdrop.open { opacity: 1; pointer-events: auto; }

/* Bottom sheet — panel */
.nv6-phase-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1C1E28;
  border-top: 1px solid rgba(212,168,67,0.22);
  border-radius: 16px 16px 0 0;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1201;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 70vh;
  overflow-y: auto;
}
.nv6-phase-sheet-backdrop.open .nv6-phase-sheet {
  transform: translateY(0);
}

/* Bottom sheet — drag handle */
.nv6-phase-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 16px;
}

/* Bottom sheet — header */
.nv6-phase-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.nv6-phase-sheet-title {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  font-weight: 700;
  color: #D4A843;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nv6-phase-sheet-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nv6-phase-sheet-close:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }

/* Bottom sheet — body */
.nv6-phase-sheet-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #D1D5DB;
  margin-bottom: 12px;
}
.nv6-phase-sheet-signal {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  color: #9CA3AF;
  background: rgba(255,255,255,0.05);
  border-left: 2px solid #D4A843;
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  letter-spacing: 0.02em;
}
/* Bottom sheet — indicator values grid */
.nv6-phase-sheet-inds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.nv6-phase-sheet-ind {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nv6-phase-sheet-ind-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.nv6-phase-sheet-ind-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 15px;
  font-weight: 700;
  color: #F9FAFB;
}

/* ── 5. Sticky CTA — padding compensation ──────────────────────────── */
@media (max-width: 600px) {
  .nv6-main {
    /* padding-bottom consolidated at line 2769 */
  }
  .nv6-trust-footer,
  .nv6-pricing-section {
    padding-bottom: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Mobile Responsiveness v1.0 — 2026-05-12
   Overflow prevention, word-wrap, touch targets
═══════════════════════════════════════════════════════════════════ */

/* ── Global overflow guard ─────────────────────────────────────── */
.nv6-main,
.nv6-hero-body,
.nv6-stats-row,
.nv6-ind-body,
.nv6-agent-body,
.nv6-chat-box,
.nv6-section {
  max-width: 100%;
  min-width: 0;
}

/* ── Word-wrap on all text elements that can grow ──────────────── */
.nv6-section-title,
.nv6-plan-name,
.nv6-stat-val,
.nv6-stat-label,
.nv6-ind-label,
.nv6-phase-sheet-title,
.nv6-phase-sheet-desc,
.nv6-agent-title,
.nv6-agent-desc,
.nv6-proof-item {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Containers: ensure no child bleeds beyond viewport ───────── */
@media (max-width: 600px) {
  .nv6-score-col {
    width: 100%;
    max-width: 100%;
  }
  .nv6-hero-body {
    overflow: hidden;
  }
  /* Prevent stat cards from shrinking text below legibility */
  .nv6-stat-card {
    min-width: 0;
    overflow: hidden;
  }
  .nv6-stat-val,
  .nv6-stat-label {
    white-space: normal;
  }
  /* Indicator cards */
  .nv6-ind-card {
    min-width: 0;
    overflow: hidden;
  }
  /* Plan cards inside modals */
  .nv6-plan-card {
    min-width: 0;
  }
}

/* ── QA Fix: touch targets for lang buttons (WCAG 2.5.5 — min 44px) ── */
@media (max-width: 900px) and (min-width: 601px) {
  .nv6-lang-btn { padding: 8px 12px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
.nav-lang-btn { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* ── QA Fix: prevent CLS on score number loading ── */
.nv6-score-number { min-height: 80px; }
@media (max-width: 600px) { .nv6-score-number { min-height: 60px; } }

/* ── Phase band toggle buttons ──────────────────────────────── */
.nv6-band-toggles {
  padding: 10px 14px 6px;
}
.nv6-band-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.nv6-band-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-disabled);
  width: 60px;
  flex-shrink: 0;
}
.nv6-band-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.nv6-band-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.06);
  margin: 0 4px;
}
.nv6-band-btn {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: var(--text-disabled);
  cursor: pointer;
  transition: all 0.15s;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nv6-band-btn:hover {
  border-color: var(--band-color, rgba(255,255,255,0.2));
  color: var(--band-color, var(--text-secondary));
}
.nv6-band-btn.active {
  border-color: var(--band-color, rgba(255,255,255,0.25));
  color: var(--band-color, var(--text-primary));
}
.nv6-band-btn[data-band="bottom"].active { background: rgba(34,197,94,0.10); border-color: rgba(34,197,94,0.3); color: #22C55E; }
.nv6-band-btn[data-band="accum"].active  { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.3); color: #3B82F6; }
.nv6-band-btn[data-band="bull"].active   { background: rgba(212,168,67,0.10); border-color: rgba(212,168,67,0.3); color: #D4A843; }
.nv6-band-btn[data-band="hot"].active    { background: rgba(249,115,22,0.10); border-color: rgba(249,115,22,0.3); color: #FB923C; }
.nv6-band-btn[data-band="nh"].active     { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.3); }
.nv6-band-btn[data-band="all"].active    { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); color: var(--text-secondary); }
.nv6-band-btn-all {
  border-color: rgba(255,255,255,0.12);
  color: var(--text-tertiary);
}
/* Band help link */
.nv6-band-help-row {
  display: flex;
  justify-content: center;
  padding: 2px 0 4px;
}
.nv6-band-help {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text3, #6B7A90);
  text-decoration: none;
  padding: 4px 12px;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.8;
}
.nv6-band-help:hover { color: var(--gold-400); opacity: 1; }

@media (max-width: 600px) {
  .nv6-band-toggles { gap: 2px; padding: 6px 8px; }
  .nv6-band-row { gap: 4px; margin-bottom: 4px; }
  .nv6-band-label { width: 48px; font-size: 7px; letter-spacing: 1px; }
  .nv6-band-btn { font-size: 7px; padding: 3px 6px; min-height: 22px; gap: 2px; letter-spacing: 0.3px; }
  .nv6-band-dot { width: 5px; height: 5px; }
  .nv6-band-sep { height: 14px; margin: 0 2px; }
  .nv6-overlay-lock { font-size: 7px; }
  .nv6-band-help { font-size: 9px; padding: 3px 7px; }
}
.nv6-band-btn[data-band="descent"].active  { background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.3); color: #EF4444; }
.nv6-band-btn[data-band="correction"].active { background: rgba(249,115,22,0.10); border-color: rgba(249,115,22,0.3); color: #FB923C; }
/* Overlay lock (Pro gate) */
.nv6-overlay-lock { font-size: 8px; margin-left: 3px; opacity: 0.6; }
.nv6-overlay-locked { opacity: 0.55; }
.nv6-overlay-locked:hover { opacity: 0.75; }
.nv6-overlay-unlocked .nv6-overlay-lock { display: none; }
.nv6-overlay-unlocked { opacity: 1; }

/* ── Risk Profile Buttons ──────────────────────────────── */
.nv6-risk-btn {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: var(--text-disabled);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nv6-risk-btn:hover { border-color: rgba(212,168,67,0.3); color: var(--text-secondary); }
.nv6-risk-btn.active {
  border-color: rgba(212,168,67,0.4);
  background: rgba(212,168,67,0.08);
  color: var(--gold-400);
}
.nv6-risk-locked { opacity: 0.6; }
.nv6-risk-locked:hover { opacity: 0.8; }
.nv6-risk-lock { font-size: 8px; }
@media (max-width: 600px) {
  .nv6-risk-btn { font-size: 7px; padding: 3px 6px; gap: 2px; }
  .nv6-risk-lock { font-size: 7px; }
}
