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

:root {
  --bg-primary: #070807;
  --bg-secondary: #111411;
  --bg-card: #0f110f;
  --bg-elevated: #171a16;
  --accent-gold: #D4AF37;
  --accent-gold-bright: #FFE08A;
  --accent-green: #76B900;
  --accent-teal: #48B7B3;
  --accent-teal-bright: #7DE1DD;
  --accent-copper: #D68A5E;
  --accent-purple: #7C3AED;
  --text-primary: #FFFFFF;
  --text-secondary: #B9C0B7;
  --text-muted: #6F766E;
  --border-gold: rgba(212, 175, 55, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glow-gold: rgba(212, 175, 55, 0.18);
  --shadow-panel: 0 18px 50px rgba(0, 0, 0, 0.32);
  --font-headline: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --nav-height: 52px;
  --ticker-height: 32px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 50% -20%, rgba(118, 185, 0, 0.16), transparent 38%),
    linear-gradient(180deg, #070807 0%, #0b0d0b 45%, #070807 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--nav-height) + var(--ticker-height));
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-teal-bright);
  outline-offset: 3px;
}

/* ── Sticky Top Nav ───────────────────── */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(7, 8, 7, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-gold);
  z-index: 100;
}

.top-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--accent-gold-bright);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0.9rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}

.nav-link:hover { color: var(--text-secondary); }
.nav-link.active { color: var(--accent-gold); }

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold-bright));
}

/* Live Price */
.nav-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.live-badge span {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold-bright);
  animation: pulse 2s ease-in-out infinite;
}

.price-ticker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s;
}

.price-value.flash { color: var(--accent-gold-bright); }
.price-value.error { display: none; }

.price-change {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.price-change.up { color: #22c55e; }
.price-change.down { color: #ef4444; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
}

/* ── Ticker Tape ─────────────────────── */

.ticker-tape {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: var(--ticker-height);
  background: rgba(12, 14, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 32px;
}

.ticker-label {
  color: var(--text-primary);
}

.ticker-value {
  color: var(--accent-green);
  font-weight: 700;
}

.ticker-sep {
  color: #333;
  margin: 0 0.75rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Hero ─────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-height) - var(--ticker-height) - 150px);
  padding: clamp(3.2rem, 6.5vw, 5.5rem) 1.5rem 1rem;
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
  background: #070807;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.96) 0%, rgba(7, 8, 7, 0.72) 35%, rgba(7, 8, 7, 0.22) 72%, rgba(7, 8, 7, 0.68) 100%),
    linear-gradient(180deg, rgba(7, 8, 7, 0.28) 0%, rgba(7, 8, 7, 0.1) 44%, rgba(7, 8, 7, 0.92) 100%),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(212, 175, 55, 0.028) 42px 43px);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-green), var(--accent-gold-bright), transparent);
  opacity: 0.85;
  z-index: 3;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  opacity: 0.92;
  transform: scale(1.01);
}

/* GPU SVG background */
.hero-gpu {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  width: min(780px, 82vw);
  height: auto;
  opacity: 0.05;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.gpu-line {
  stroke: #C9A227;
  stroke-width: 1;
  fill: none;
  stroke-opacity: 0.5;
}

.gpu-inner {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawRect 3s ease forwards;
}

.gpu-core {
  stroke: #4A9BAD;
  stroke-width: 0.8;
  fill: none;
  stroke-opacity: 0;
}

.gc-1  { animation: coreFade 0.3s ease forwards 0.1s; }
.gc-2  { animation: coreFade 0.3s ease forwards 0.2s; }
.gc-3  { animation: coreFade 0.3s ease forwards 0.3s; }
.gc-4  { animation: coreFade 0.3s ease forwards 0.4s; }
.gc-5  { animation: coreFade 0.3s ease forwards 0.5s; }
.gc-6  { animation: coreFade 0.3s ease forwards 0.6s; }
.gc-7  { animation: coreFade 0.3s ease forwards 0.7s; }
.gc-8  { animation: coreFade 0.3s ease forwards 0.8s; }
.gc-9  { animation: coreFade 0.3s ease forwards 0.9s; }
.gc-10 { animation: coreFade 0.3s ease forwards 1.0s; }
.gc-11 { animation: coreFade 0.3s ease forwards 1.1s; }
.gc-12 { animation: coreFade 0.3s ease forwards 1.2s; }
.gc-13 { animation: coreFade 0.3s ease forwards 1.3s; }
.gc-14 { animation: coreFade 0.3s ease forwards 1.4s; }
.gc-15 { animation: coreFade 0.3s ease forwards 1.5s; }
.gc-16 { animation: coreFade 0.3s ease forwards 1.6s; }

.gpu-pad {
  stroke: #C9A227;
  stroke-width: 1;
  stroke-opacity: 0;
}

.gp-1  { animation: padDraw 0.4s ease forwards 1.0s; }
.gp-2  { animation: padDraw 0.4s ease forwards 1.05s; }
.gp-3  { animation: padDraw 0.4s ease forwards 1.10s; }
.gp-4  { animation: padDraw 0.4s ease forwards 1.15s; }
.gp-5  { animation: padDraw 0.4s ease forwards 1.20s; }
.gp-6  { animation: padDraw 0.4s ease forwards 1.25s; }
.gp-7  { animation: padDraw 0.4s ease forwards 1.30s; }
.gp-8  { animation: padDraw 0.4s ease forwards 1.35s; }
.gp-9  { animation: padDraw 0.4s ease forwards 1.40s; }
.gp-10 { animation: padDraw 0.4s ease forwards 1.45s; }
.gp-11 { animation: padDraw 0.4s ease forwards 1.50s; }
.gp-12 { animation: padDraw 0.4s ease forwards 1.55s; }
.gp-13 { animation: padDraw 0.4s ease forwards 1.60s; }
.gp-14 { animation: padDraw 0.4s ease forwards 1.65s; }
.gp-15 { animation: padDraw 0.4s ease forwards 1.70s; }
.gp-16 { animation: padDraw 0.4s ease forwards 1.75s; }
.gp-17 { animation: padDraw 0.4s ease forwards 1.80s; }
.gp-18 { animation: padDraw 0.4s ease forwards 1.85s; }
.gp-19 { animation: padDraw 0.4s ease forwards 1.90s; }
.gp-20 { animation: padDraw 0.4s ease forwards 1.95s; }

.gpu-pad-dot {
  fill: #C9A227;
  fill-opacity: 0;
}

.gp-1 .gpu-pad-dot  { animation: padDraw 0.4s ease forwards 1.0s; }
.gp-2 .gpu-pad-dot  { animation: padDraw 0.4s ease forwards 1.05s; }

.gpu-mem {
  stroke: #C9A227;
  stroke-width: 1;
  fill: rgba(201, 162, 39, 0.03);
  stroke-opacity: 0;
}

.gm-1 { animation: memFade 0.5s ease forwards 2.0s; }
.gm-2 { animation: memFade 0.5s ease forwards 2.2s; }
.gm-3 { animation: memFade 0.5s ease forwards 2.4s; }
.gm-4 { animation: memFade 0.5s ease forwards 2.6s; }

@keyframes drawRect {
  to { stroke-dashoffset: 0; stroke-opacity: 0.5; }
}

@keyframes coreFade {
  to { stroke-opacity: 0.3; }
}

@keyframes padDraw {
  to { stroke-opacity: 0.35; fill-opacity: 0.35; }
}

@keyframes memFade {
  to { stroke-opacity: 0.3; }
}

/* Animated circuit SVG background (legacy) */
.hero-circuit {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 1400px;
  height: 100%;
  z-index: 0;
}

.circuit-line {
  stroke: #C9A227;
  stroke-width: 1.2;
  stroke-opacity: 0;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.circuit-dot {
  fill: #C9A227;
  fill-opacity: 0;
}

.cl-1  { animation: traceLine 2s 0.0s ease forwards; }
.cl-2  { animation: traceLine 1.5s 0.4s ease forwards; }
.cl-3  { animation: traceLine 1.5s 0.8s ease forwards; }
.cl-4  { animation: traceLine 1.2s 1.2s ease forwards; }
.cl-5  { animation: traceLine 1.8s 1.5s ease forwards; }
.cl-6  { animation: traceLine 1.2s 0.2s ease forwards; }
.cl-7  { animation: traceLine 1.5s 0.6s ease forwards; }
.cl-8  { animation: traceLine 1.5s 1.0s ease forwards; }
.cl-9  { animation: traceLine 1.0s 0.3s ease forwards; }
.cl-10 { animation: traceLine 1.5s 0.7s ease forwards; }
.cl-11 { animation: traceLine 1.2s 1.1s ease forwards; }
.cl-12 { animation: traceLine 1.2s 1.4s ease forwards; }

.cd-1 { animation: dotAppear 0.4s 0.9s ease forwards; }
.cd-2 { animation: dotAppear 0.4s 1.3s ease forwards; }
.cd-3 { animation: dotAppear 0.4s 1.6s ease forwards; }
.cd-4 { animation: dotAppear 0.4s 0.7s ease forwards; }
.cd-5 { animation: dotAppear 0.4s 1.1s ease forwards; }
.cd-6 { animation: dotAppear 0.4s 0.5s ease forwards; }
.cd-7 { animation: dotAppear 0.4s 1.5s ease forwards; }
.cd-8 { animation: dotAppear 0.4s 1.8s ease forwards; }

@keyframes traceLine {
  to { stroke-dashoffset: 0; stroke-opacity: 0.12; }
}

@keyframes dotAppear {
  to { fill-opacity: 0.25; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(1.4rem, 4vw, 2.5rem);
}

.hero-left { flex: 1; }

.hero-ticker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(4.8rem, 11vw, 8.7rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #fff0b4 58%, #91c53d 115%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 34px rgba(118, 185, 0, 0.14);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  max-width: 560px;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  font-weight: 700;
  color: #d6ddd2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero-support {
  max-width: 560px;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: rgba(214, 221, 210, 0.74);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 760px;
}

.hero-signal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  max-width: 100%;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(8, 10, 8, 0.58);
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.25;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-signal-chip span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-green);
  white-space: nowrap;
}

/* Hero Countdown (glassmorphism) */
.hero-right { flex-shrink: 0; }

.countdown-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
    rgba(8, 10, 8, 0.44);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 224, 138, 0.38);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  min-width: 260px;
  text-align: center;
  box-shadow: var(--shadow-panel), 0 0 56px rgba(212, 175, 55, 0.18);
}

.countdown-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.countdown-event-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }

.countdown-timer {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold-bright);
}

.countdown-timer .sep { color: var(--text-muted); margin: 0 0.15rem; }

.countdown-units { display: flex; justify-content: center; gap: 1.25rem; margin-top: 0.25rem; }
.countdown-units span { font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.countdown-date { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.75rem; }
.countdown-actions { margin-top: 0.75rem; }

.btn-calendar {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--accent-gold);
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--accent-gold-bright);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-calendar:hover { background: var(--accent-gold-bright); color: #070807; }

/* ── Hero Stats ───────────────────────── */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  background: rgba(8, 10, 8, 0.56);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-panel), 0 0 48px rgba(118, 185, 0, 0.08);
  overflow: hidden;
}

.stat-item {
  text-align: left;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item:last-child { border-right: 0; }

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-number.stat-text {
  font-size: 1rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-top: 0.2rem;
}

/* ── Main Layout ──────────────────────── */

.main-layout {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 4rem;
  display: flex;
  gap: 2rem;
}

.main-content { flex: 1; min-width: 0; }

/* ── Sidebar ──────────────────────────── */

.sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-height) + var(--ticker-height) + 1rem);
  align-self: flex-start;
  max-height: calc(100vh - var(--nav-height) - var(--ticker-height) - 2rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.15) transparent;
}

.sidebar-section { margin-bottom: 1.25rem; }

.sidebar-section {
  padding: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 8px;
  background: rgba(15, 17, 15, 0.62);
}

.sidebar-title {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold-bright);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 0.5rem;
}

.sidebar-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.05);
}

.sidebar-metric-label { font-size: 0.72rem; color: var(--text-muted); }

.sidebar-metric-value {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

.sidebar-metric-check { color: var(--accent-gold-bright); margin-right: 0.2rem; font-size: 0.65rem; }

.sidebar-sparkline {
  height: 20px;
  display: block;
  margin-top: 2px;
}

.sparkline-line {
  stroke: var(--accent-green);
  stroke-width: 1.5;
  fill: none;
  stroke-opacity: 0.3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: sparkDraw 2s ease forwards;
}

@keyframes sparkDraw {
  to { stroke-dashoffset: 0; }
}

.sidebar-timestamp {
  font-size: 0.6rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  text-align: right;
}

.sidebar-analyst {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.05);
  font-size: 0.72rem;
}

.sidebar-analyst-firm { font-size: 0.72rem; color: var(--text-secondary); }
.sidebar-analyst-rating { font-size: 0.68rem; font-weight: 600; color: var(--accent-gold-bright); }

.sidebar-link {
  display: block;
  font-size: 0.72rem;
  color: var(--accent-gold);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.15s;
}

.sidebar-link:hover { color: var(--accent-gold-bright); }
.sidebar-link::before { content: "\2192  "; color: var(--accent-green); }

/* ── Mobile Metrics Strip ─────────────── */

.mobile-metrics {
  display: none;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  white-space: nowrap;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-gold);
  background: var(--bg-secondary);
}

.mobile-metrics::-webkit-scrollbar { display: none; }

.mobile-metric-chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin-right: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  font-size: 0.68rem;
  white-space: nowrap;
}

.mobile-metric-chip .mmc-label { color: var(--text-muted); margin-right: 0.35rem; }
.mobile-metric-chip .mmc-value { color: var(--text-primary); font-weight: 600; font-family: var(--font-mono); }

/* ── Section Label ────────────────────── */

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold-bright);
  margin-bottom: 0;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
}

/* ── Latest Signal ────────────────────── */

.latest-signal-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1.1rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 185, 0, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 224, 138, 0.08), transparent 55%),
    rgba(13, 16, 13, 0.84);
  border: 1px solid rgba(255, 224, 138, 0.16);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.latest-signal-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-green), var(--accent-gold-bright));
}

.latest-signal-copy {
  position: relative;
  min-width: 0;
  padding-left: 0.25rem;
}

.latest-signal-copy .section-label {
  margin-bottom: 0.45rem;
}

.latest-signal-copy h2 {
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.latest-signal-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
}

.latest-signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
}

.latest-signal-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.latest-signal-metrics div {
  min-height: 108px;
  padding: 0.85rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.065);
}

.latest-signal-metrics span {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent-gold-bright);
}

.latest-signal-metrics small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
}

/* ── Upcoming Signals ─────────────────── */

.upcoming-section {
  margin-bottom: 1.35rem;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.upcoming-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  min-height: 168px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 185, 0, 0.1), transparent 42%),
    var(--bg-card);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.upcoming-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent-green);
}

.upcoming-card[data-type="earnings_call"]::before { background: var(--accent-gold-bright); }
.upcoming-card[data-type="conference"]::before { background: var(--accent-teal-bright); }

.upcoming-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.upcoming-date-block span {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.upcoming-date-block small {
  margin-top: 0.25rem;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.upcoming-copy {
  min-width: 0;
}

.upcoming-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}

.upcoming-copy h3 {
  font-size: 0.95rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.upcoming-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.upcoming-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.upcoming-actions a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-teal-bright);
  text-decoration: none;
}

/* ── Workspace Bar ────────────────────── */

.workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 0;
  display: block;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 0.9rem 0 2.3rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 6px;
  background: rgba(15, 17, 15, 0.82);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.search-box input::placeholder { color: var(--text-muted); }

.search-box input:focus {
  border-color: rgba(125, 225, 221, 0.6);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(72, 183, 179, 0.12);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  pointer-events: none;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 2px;
  background: var(--accent-green);
  transform: rotate(45deg);
  transform-origin: left center;
}

.feed-meta {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Featured Carousel ────────────────── */

.featured-section { margin-bottom: 1.25rem; }

.featured-wrap {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(13, 13, 13, 0.9);
  color: var(--accent-gold);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.carousel-arrow:hover { background: var(--bg-secondary); border-color: var(--accent-gold); }
.carousel-prev { left: -12px; }
.carousel-next { right: -12px; }

.featured-carousel {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.25rem 0;
}

.featured-carousel::-webkit-scrollbar { display: none; }

.featured-card {
  flex: 0 0 280px;
  min-height: 210px;
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
    var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0 1.15rem 1rem;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px var(--glow-gold);
  border-color: rgba(212, 175, 55, 0.58);
}

.featured-card:hover .featured-rank {
  color: rgba(201, 162, 39, 0.25);
}

/* Top gradient bar by type */
.featured-card::before {
  content: "";
  display: block;
  height: 4px;
  margin: 0 -1.15rem 0.85rem;
  width: calc(100% + 2.3rem);
}

.featured-card[data-type="earnings_call"]::before {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-bright));
}

.featured-card[data-type="conference"]::before {
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-bright));
}

.featured-rank {
  position: absolute;
  bottom: -10px;
  left: 8px;
  font-family: var(--font-headline);
  font-size: 96px;
  line-height: 1;
  color: rgba(201, 162, 39, 0.12);
  pointer-events: none;
  transition: color 0.2s;
}

.featured-badge {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.featured-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.featured-kicker > span:last-child {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.featured-title { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; }
.featured-date { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.featured-summary { font-size: 0.78rem; line-height: 1.45; color: var(--text-secondary); flex: 1; }

/* ── Filter Bar ───────────────────────── */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.25rem 0;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-divider {
  width: 1px;
  height: 18px;
  background: var(--border-gold);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 30px;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: transparent;
  color: var(--accent-gold-bright);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.filter-pill:hover { background: rgba(201, 162, 39, 0.1); }
.filter-pill.active {
  background: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
  color: #070807;
}

/* ── Content Feed ─────────────────────── */

.content-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Content Card ─────────────────────── */

.content-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent 34%),
    var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.15s ease;
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 0 20px var(--glow-gold);
  border-color: rgba(212, 175, 55, 0.38);
}

/* Left accent bar */
.content-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.content-card[data-type="earnings_call"]::before { background: var(--accent-gold); }
.content-card[data-type="conference"]::before { background: var(--accent-teal); }
.content-card[data-type="press_release"]::before { background: var(--accent-copper); }
.content-card[data-type="sec_filing"]::before { background: var(--text-muted); }
.content-card[data-type="news"]::before { background: #555; }
.content-card[data-type="analyst_note"]::before { background: var(--accent-gold-bright); }
.content-card[data-type="thirteenf_filing"]::before { background: var(--accent-purple); }

/* Card Body */
.card-body { padding: 12px 14px 12px 18px; }

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.card-title-wrap { flex: 1; min-width: 0; }
.card-title { font-size: 0.94rem; font-weight: 700; line-height: 1.25; }

.card-data-line {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.card-data-line .cdl-value {
  color: var(--text-secondary);
  font-weight: 600;
}

.card-data-line .cdl-beat {
  color: var(--accent-gold-bright);
}

.card-meta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.card-date { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); }

/* Share button */
.card-share {
  opacity: 0;
  transition: opacity 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: var(--text-muted);
}

.content-card:hover .card-share { opacity: 1; }
.card-share:hover { color: var(--accent-gold); }
.card-share svg { width: 14px; height: 14px; }

/* Badges */
.badge {
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-earnings_call { background: var(--accent-gold); color: #000; }
.badge-conference { background: var(--accent-teal-bright); color: #001313; }
.badge-press_release { background: var(--accent-copper); color: #000; }
.badge-sec_filing { background: var(--text-muted); color: #000; }
.badge-news { background: #444; color: #ccc; }
.badge-analyst_note { background: var(--accent-gold-bright); color: #000; }
.badge-thirteenf_filing { background: var(--accent-purple); color: #fff; }

/* Summary */
.card-summary { font-size: 0.82rem; line-height: 1.5; color: var(--text-secondary); margin-bottom: 0.4rem; }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.1rem 0 0.5rem;
}

.card-tag {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.18rem 0.42rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-muted);
  font-size: 0.58rem;
}

/* ── Sentiment Bar ────────────────────── */

.sentiment-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sentiment-label {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.sentiment-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.sentiment-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}

/* Color tiers */
.sentiment-fill.tier-hot { background: var(--accent-gold-bright); box-shadow: 0 0 8px rgba(240, 192, 64, 0.4); }
.sentiment-fill.tier-warm { background: var(--accent-gold); }
.sentiment-fill.tier-neutral { background: var(--accent-teal); }
.sentiment-fill.tier-cold { background: #ef4444; }

.sentiment-text {
  font-size: 0.6rem;
  text-align: right;
  flex-shrink: 0;
  min-width: 80px;
}

.sentiment-word {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sentiment-word.bullish { color: var(--accent-gold); }
.sentiment-word.neutral { color: var(--accent-teal); }
.sentiment-word.bearish { color: #ef4444; }

.sentiment-pct {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 0.25rem;
}

/* Bottom Row */
.card-bottom-row { display: flex; align-items: center; gap: 1rem; }

.card-action {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-gold);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
  transition: color 0.15s;
  text-decoration: none;
}

.card-action:hover { color: var(--accent-gold-bright); }

.card-source-link {
  color: var(--accent-teal-bright);
}

/* ── Earnings Tabs ────────────────────── */

.earnings-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-gold);
  padding: 0 1.15rem;
}

.earnings-tab {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}

.earnings-tab:hover { color: var(--text-secondary); }
.earnings-tab.active { color: var(--accent-gold); }

.earnings-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
}

.earnings-panel { display: none; padding: 0.75rem 1.15rem; }
.earnings-panel.active { display: block; }

/* Financials Grid */
.financials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
}

.fin-item {
  padding: 0.5rem;
  background: var(--bg-secondary);
  border-radius: 5px;
  border: 1px solid rgba(201, 162, 39, 0.06);
}

.fin-label {
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.fin-value { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; }
.fin-change { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; margin-left: 0.25rem; }
.fin-change.positive { color: var(--accent-gold-bright); }

.fin-beat {
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  margin-top: 0.15rem;
}

.fin-beat.beat { background: rgba(201, 162, 39, 0.2); color: var(--accent-gold-bright); }
.fin-beat.miss { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* ── Insights ─────────────────────────── */

.card-insights { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.content-card.expanded .card-insights { max-height: 3000px; }

.insights-inner {
  padding: 0 1.15rem 0.75rem 1.15rem;
  border-top: 1px solid var(--border-gold);
  padding-top: 0.75rem;
}

.insights-heading {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

.insights-list { list-style: none; }

.insights-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.insights-list li:last-child { margin-bottom: 0; }

.insights-list li::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  width: 1.1rem;
  text-align: right;
}

/* ── 13F Positions ────────────────────── */

.thirteenf-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
}

.thirteenf-stat-value { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; }
.thirteenf-stat-label { font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-gold); }

.thirteenf-filters { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }

.thirteenf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
}

.thirteenf-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  transition: box-shadow 0.2s, border-color 0.15s;
}

.thirteenf-card:hover { box-shadow: 0 0 16px var(--glow-gold); border-color: rgba(201, 162, 39, 0.35); }
.thirteenf-card.change-added { border-left: 3px solid #22c55e; }
.thirteenf-card.change-trimmed { border-left: 3px solid #ef4444; }
.thirteenf-card.change-new { border-left: 3px solid var(--accent-gold-bright); }

.thirteenf-inst { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.thirteenf-details { font-size: 0.72rem; color: var(--text-secondary); margin-bottom: 0.15rem; }
.thirteenf-change { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; }
.thirteenf-change.added { color: #22c55e; }
.thirteenf-change.trimmed { color: #ef4444; }
.thirteenf-change.new { color: var(--accent-gold-bright); }

.thirteenf-new-badge {
  display: inline-block;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: rgba(240, 192, 64, 0.2);
  color: var(--accent-gold-bright);
  margin-left: 0.35rem;
  vertical-align: middle;
}

.thirteenf-filed { font-size: 0.6rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ── Coming Soon ──────────────────────── */

.coming-soon-panel { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.coming-soon-panel .cs-title { font-family: var(--font-headline); font-size: 1.3rem; letter-spacing: 0.06em; color: var(--accent-gold); margin-bottom: 0.35rem; }
.coming-soon-panel .cs-body { font-size: 0.78rem; max-width: 360px; margin: 0 auto; }

/* ── Footer ───────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  padding: 1.25rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand { font-family: var(--font-headline); font-size: 1rem; letter-spacing: 0.06em; color: var(--accent-gold); }
.footer-center { font-size: 0.62rem; color: var(--text-muted); text-align: center; flex: 1; }
.footer-link a { font-size: 0.7rem; color: var(--accent-gold); text-decoration: none; font-weight: 600; }
.footer-link a:hover { color: var(--accent-gold-bright); }

/* ── Error / No Results ───────────────── */

.error-message { text-align: center; padding: 3rem 1rem; color: #ef4444; font-size: 0.85rem; }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-muted); font-size: 0.85rem; }

/* ── Responsive ───────────────────────── */

@media (max-width: 900px) {
  .sidebar { display: none; }
  .main-layout { padding: 1rem 1rem 3rem; }
  .mobile-metrics { display: block; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-item:nth-child(3) { border-right: 0; }
  .stat-item:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .latest-signal-section { grid-template-columns: 1fr; }
  .upcoming-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --ticker-height: 0px; }
  .ticker-tape { display: none; }
  .hero {
    min-height: auto;
    padding: 2rem 1.25rem 1rem;
  }
  .hero-content { flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
  .hero-title { font-size: 3.45rem; margin-bottom: 0.45rem; }
  .hero-tagline { font-size: 1rem; }
  .hero-support { font-size: 0.82rem; }
  .hero-signal-row { margin-top: 0.75rem; gap: 0.4rem; }
  .hero-right { width: 100%; }
  .countdown-card { min-width: unset; padding: 0.9rem 1rem; }
  .countdown-event-name { margin-bottom: 0.45rem; }
  .countdown-timer { font-size: 1.25rem; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item {
    display: block;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.62rem 0.7rem;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-top: 0; }
  .stat-item:nth-child(even) { border-right: 0; }
  .stat-item:last-child { grid-column: 1 / -1; }
  .stat-number { font-size: 1.28rem; }
  .stat-label { text-align: left; font-size: 0.45rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.5rem 0;
    z-index: 101;
  }
  .nav-links.open .nav-link { height: auto; padding: 0.65rem 1.5rem; justify-content: flex-start; }
  .nav-hamburger { display: flex; }
  .nav-price { gap: 0.3rem; }
  .price-change { display: none; }

  .featured-card { flex: 0 0 240px; min-height: 180px; }
  .carousel-arrow { display: none; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 0.15rem; }
  .section-caption { text-align: left; }
  .workspace-bar { flex-direction: column; align-items: stretch; gap: 0.45rem; }
  .feed-meta { align-self: flex-end; }
  .latest-signal-section { padding: 0.95rem; }
  .latest-signal-metrics { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .latest-signal-metrics div { min-height: 86px; padding: 0.65rem; }
  .latest-signal-metrics span { font-size: 1.35rem; }
  .upcoming-card { grid-template-columns: 58px 1fr; min-height: 0; }
  .upcoming-date-block span { font-size: 1.35rem; }
  .hero-signal-chip { width: 100%; justify-content: space-between; }

  .card-top-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .card-meta { flex-wrap: wrap; }
  .card-share { opacity: 1; }
  .card-body { padding: 0.75rem 0.9rem 0.75rem 1.15rem; }
  .sentiment-bar { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
  .sentiment-track { width: 100%; flex: none; }
  .sentiment-text { min-width: 0; }

  .thirteenf-header { flex-direction: column; gap: 0.6rem; }
  .thirteenf-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* ─────────────────────────────────────────────────────────────────────
   WTCH Community CTA
   Brand: What The Chip Happened. Gold dominant, teal label, circuit motif.
   ───────────────────────────────────────────────────────────────────── */
.wtch-cta {
  margin: 64px auto 0;
  max-width: 1320px;
  padding: 0 24px;
}
.wtch-cta-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.10), transparent 55%),
    linear-gradient(135deg, #0a0c0a 0%, #141612 60%, #0a0c0a 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
}
.wtch-cta-inner::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 220px;
  height: 120px;
  background-image: radial-gradient(rgba(212, 175, 55, 0.35) 1px, transparent 1.4px);
  background-size: 14px 14px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(225deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 70%);
}
.wtch-cta-circuit {
  flex: 0 0 56px;
  position: relative;
  color: var(--accent-gold);
  opacity: 0.55;
}
.wtch-cta-circuit svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wtch-cta-content {
  flex: 1;
  padding: 56px 64px 56px 32px;
  position: relative;
}
.wtch-cta-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-teal-bright);
  margin: 0 0 14px;
}
.wtch-cta-headline {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 5.6vw, 68px);
  letter-spacing: 0.045em;
  line-height: 1;
  color: var(--accent-gold-bright);
  margin: 0 0 18px;
}
.wtch-cta-body {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 0 30px;
}
.wtch-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-gold);
  color: #0a0c0a;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 4px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4);
}
.wtch-cta-button:hover,
.wtch-cta-button:focus-visible {
  background: var(--accent-gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(212, 175, 55, 0.55), 0 0 0 1px rgba(255, 224, 138, 0.6);
  outline: none;
}
.wtch-cta-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.wtch-cta-button:hover .wtch-cta-arrow {
  transform: translateX(2px);
}

@media (max-width: 720px) {
  .wtch-cta { margin-top: 40px; padding: 0 16px; }
  .wtch-cta-circuit { flex: 0 0 36px; }
  .wtch-cta-content { padding: 36px 24px 36px 20px; }
  .wtch-cta-inner::after { width: 140px; height: 80px; }
  .wtch-cta-button {
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   Hero CTA Strip (inline, in the hero below the stats)
   ───────────────────────────────────────────────────────────────────── */
.hero-cta-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding: 18px 22px;
  text-decoration: none;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  background: linear-gradient(90deg,
    rgba(10, 12, 10, 0.78) 0%,
    rgba(20, 22, 18, 0.68) 60%,
    rgba(10, 12, 10, 0.78) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.hero-cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.08) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.hero-cta-strip:hover {
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}
.hero-cta-strip:hover::before {
  opacity: 1;
}
.hero-cta-strip-mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.06);
}
.hero-cta-strip-mark svg {
  width: 22px;
  height: 22px;
}
.hero-cta-strip-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hero-cta-strip-label {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-teal-bright);
}
.hero-cta-strip-headline {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.hero-cta-strip-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold-bright);
  white-space: nowrap;
}
.hero-cta-strip-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.hero-cta-strip:hover .hero-cta-strip-arrow {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .hero-cta-strip {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
    margin-top: 24px;
  }
  .hero-cta-strip-action {
    width: 100%;
    justify-content: space-between;
  }
  .hero-cta-strip-headline { font-size: 15px; }
}

/* ─────────────────────────────────────────────────────────────────────
   13F Outbound-Portfolio additions
   (reuses existing .thirteenf-* shell where possible)
   ───────────────────────────────────────────────────────────────────── */
.thirteenf-intro {
  margin-bottom: 1rem;
}
.thirteenf-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: 0.04em;
  color: var(--accent-gold-bright);
  line-height: 1.05;
}
.thirteenf-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 6px;
  max-width: 680px;
}
.thirteenf-source {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.thirteenf-source a {
  color: var(--accent-teal-bright);
  text-decoration: none;
  border-bottom: 1px dashed rgba(125, 225, 221, 0.35);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.thirteenf-source a:hover {
  color: var(--accent-gold-bright);
  border-color: rgba(255, 224, 138, 0.6);
}
.thirteenf-pos-ticker {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-right: 6px;
}
.thirteenf-pos-name {
  color: var(--text-primary);
}
.thirteenf-pos-type {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal-bright);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
}
.thirteenf-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--accent-gold-bright);
  margin: 6px 0 4px;
}
