/* === How It Works — 9-block story page (v4 FINAL) === */
/* Uses style.css tokens + main.css components (.hero, .section, .section-title) */
/* Prefix: hiw- */

/* Hub color tokens (from radar.css — needed for verdict gauge) */
html.light {
  --hub-conv: #22C55E;
  --hub-risk: #EF4444;
}
html.dark, html:not(.light) {
  --hub-conv: #16a34a;
  --hub-risk: #dc2626;
}

/* ========== PROGRESS DOTS ========== */
.hiw-progress {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}
.hiw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.hiw-dot-active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ========== SECTION H2 (story headings) ========== */
.hiw-section-h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin: 0.5rem 0 1rem;
}

/* ========== COPY TEXT ========== */
.hiw-copy {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 14px;
}
.hiw-copy strong { color: var(--text); }
.hiw-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.hiw-link:hover { text-decoration: underline; }

/* ========== BLOCK 1: HERO — reduce gap to next section ========== */
.hiw-hero-block { margin-bottom: 1rem; padding-bottom: 1.5rem; }

/* ========== BLOCK 2: SPLIT CARDS ========== */
.hiw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.hiw-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.hiw-card-header {
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--border);
}
.hiw-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.hiw-card-title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.hiw-card-body {
  padding: 14px 18px;
}
/* Polymarket-style YES/NO buttons */
.hiw-pm-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.hiw-pm-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  border: none;
}
.hiw-pm-btn-yes {
  background: rgba(38, 166, 91, 0.12);
  color: #26a65b;
}
.hiw-pm-btn-no {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}
.hiw-pm-btn span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}
.hiw-pm-vol {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.hiw-pm-muted {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.5;
  margin-top: 8px;
  font-style: italic;
}
/* "What We See" card — accent highlight */
.hiw-card-signal { background: var(--bg2); }
.hiw-signal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text);
}
.hiw-signal-row::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hiw-signal-value {
  font-weight: 700;
  color: var(--accent);
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ========== BLOCK 3: STAT CARDS ========== */
.hiw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.hiw-stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hiw-stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hiw-stat-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.hiw-stat-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ========== BLOCK 4: RADAR SCROLL SECTIONS ========== */
.hiw-radar-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.hiw-radar-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.hiw-radar-visual {
  display: flex;
  align-items: stretch;
}
.hiw-radar-visual > * {
  flex: 1;
}
.hiw-radar-text {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.hiw-radar-text p { margin: 0 0 12px; }
.hiw-radar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

/* Wallet mini — matches detail page wallet table */
.hiw-wallet-mini {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.hiw-wmini-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.hiw-wmini-header span { flex: 1; }
.hiw-wmini-header span:nth-child(2) { width: 44px; flex: none; text-align: center; }
.hiw-wmini-header span:nth-child(3) { width: 56px; flex: none; text-align: right; }
.hiw-wmini-header span:nth-child(4) { width: 48px; flex: none; text-align: right; }
.hiw-wmini-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.hiw-wmini-row:last-child { border-bottom: none; }
.hiw-wmini-row-tier1 { background: rgba(245,158,11,0.04); }
.hiw-wmini-id { color: var(--text); flex: 1; }
.hiw-wmini-side {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  width: 44px;
  text-align: center;
  flex-shrink: 0;
}
.hiw-side-no { background: rgba(239,68,68,0.1); color: #ef4444; }
.hiw-side-yes { background: rgba(34,197,94,0.1); color: #22c55e; }
.hiw-wmini-amt { color: var(--text); width: 56px; text-align: right; font-weight: 500; flex-shrink: 0; }
.hiw-wmini-pnl { width: 48px; text-align: right; font-weight: 600; flex-shrink: 0; }
.hiw-pnl-green { color: #22c55e; }
.hiw-pnl-red { color: #ef4444; }
.tier1-star { color: #f59e0b; font-size: 0.8rem; margin-left: 4px; }

/* Arb mini — matches radar hub price bars */
.hiw-arb-mini {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.hiw-arb-mini-q {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.hiw-arb-platform-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.hiw-arb-mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hiw-arb-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 26px;
  flex-shrink: 0;
}
.hiw-arb-label-yes { color: #22c55e; }
.hiw-arb-label-no { color: #ef4444; }
.hiw-arb-bar-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.hiw-arb-bar-fill { height: 100%; border-radius: 3px; }
.hiw-arb-fill-yes { background: #22c55e; }
.hiw-arb-fill-no { background: #ef4444; }
.hiw-arb-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}
.hiw-arb-price-yes { color: #22c55e; }
.hiw-arb-price-no { color: #ef4444; }
.hiw-arb-mini-gap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.hiw-gap-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}
.hiw-roi-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34,197,94,0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Tab 3: Convergence dots */
.hiw-conv-dots {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hiw-conv-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.hiw-conv-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hiw-conv-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
}
.hiw-conv-on {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.4);
}
.hiw-conv-text {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 6px;
}
.hiw-conv-stat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ========== BLOCK 5: TIMELINE ========== */
.hiw-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.hiw-tl-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.hiw-tl-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.hiw-tl-market {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.hiw-tl-signal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 2px 0;
}
.hiw-tl-result {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.hiw-tl-correct { color: #22c55e; }
.hiw-tl-wait { color: var(--accent); }
.hiw-tl-edge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #22c55e;
  margin-top: 4px;
}
.hiw-tl-pending .hiw-tl-edge { color: var(--text-dim); font-weight: 500; }

/* ========== BLOCK 6: THE BRAIN ========== */
.hiw-brain-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.hiw-brain-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
}
.hiw-brain-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.hiw-brain-text {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.hiw-brain-text p { margin: 0 0 12px; }
.hiw-brain-visual {
  display: flex;
  align-items: stretch;
}
.hiw-brain-visual > * { flex: 1; }

/* 6A: AI Models table — matches detail page style */
.hiw-models-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.hiw-models-table {
  width: 100%;
  border-collapse: collapse;
}
.hiw-models-table th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
}
.hiw-models-table td {
  padding: 9px 10px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.hiw-td-model {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
}
.hiw-td-mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}
.hiw-td-red { color: #ef4444 !important; }
.hiw-td-green { color: #22c55e !important; }
.hiw-td-dim { color: var(--text-dim) !important; font-style: italic; font-weight: 400; }
.hiw-conf-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hiw-conf-bar {
  width: 100px;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.hiw-conf-fill {
  height: 100%;
  border-radius: 4px;
  background: #22c55e;
}
.hiw-conf-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
}
.hiw-models-consensus td {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--accent);
  border-bottom: none;
  padding-top: 12px;
}

/* 6B: News card */
.hiw-news-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.hiw-news-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.hiw-news-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  opacity: 0.7;
  margin-bottom: 12px;
}
.hiw-news-item {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-left: 2px solid var(--border);
  background: var(--bg);
  border-radius: 0 6px 6px 0;
}
.hiw-news-source {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}
.hiw-news-verdict {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 4px;
}
.hiw-verdict-arrow { font-weight: 700; }
.hiw-verdict-was { color: var(--text-dim); font-size: 0.75rem; }

/* 6C: Math card */
.hiw-math-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.hiw-math-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.hiw-math-list {
  margin: 0;
}
.hiw-math-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
}
.hiw-math-row dt {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text);
}
.hiw-math-row dd {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.hiw-math-note {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
}
.hiw-math-summary {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 8px;
}
.hiw-edge-value {
  color: #22c55e !important;
  font-size: 1rem !important;
  font-weight: 700;
}
.hiw-math-conf {
  font-family: var(--font-mono) !important;
  color: var(--text-dim) !important;
  font-size: 0.75rem !important;
}

/* New table rows highlight */
.hiw-row-new td { background: rgba(255,107,53,0.06); }

/* ========== BLOCK 7: COMPARISON ========== */
.hiw-compare-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.hiw-compare-left, .hiw-compare-right {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.hiw-compare-left {
  background: var(--bg2);
}
.hiw-compare-right {
  background: var(--bg);
  border-color: var(--accent);
  border-width: 2px;
}
.hiw-compare-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.hiw-compare-left .hiw-compare-label { color: var(--text-dim); }
.hiw-compare-right .hiw-compare-label { color: var(--accent); }
.hiw-compare-sub { font-weight: 500; }
.hiw-compare-left p, .hiw-compare-right p {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.hiw-compare-left p { color: var(--text-dim); }
.hiw-compare-right p { color: var(--text); }

/* Comparison table */
.hiw-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
.hiw-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}
.hiw-compare-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.hiw-compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.hiw-col-us { background: rgba(255,107,53,0.04); }
.hiw-check-yes { color: #22c55e; font-weight: 700; }
.hiw-check-no { color: #ef4444; font-weight: 700; }
.hiw-check-some { color: var(--text-dim); font-style: italic; }

/* ========== BLOCK 8: HONESTY + CTA ========== */
.hiw-block-honesty {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* Scorecard */
.hiw-scorecard {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}
.hiw-scorecard-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.hiw-scorecard-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.hiw-scorecard-table th {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dim);
  text-align: left;
  padding: 4px 8px;
  border-bottom: 1px solid var(--border);
}
.hiw-scorecard-table td {
  padding: 6px 8px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* CTA */
.hiw-cta-block {
  text-align: center;
  padding: 48px 0 16px;
}
.hiw-cta-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
}
.hiw-cta-sub {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 480px;
}
.hiw-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hiw-btn-primary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.hiw-btn-primary:hover { opacity: 0.85; }
.hiw-btn-secondary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.hiw-btn-secondary:hover { text-decoration: underline; }
.hiw-trust-markers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ========== BLOCK 7: THE VERDICT (exact copy from radar.css detail-verdict) ========== */
.hiw-verdict-section {
  background: var(--bg);
}
.hiw-verdict-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hiw-verdict-card {
  margin: 2rem 0;
}
.hiw-under-hood {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0.5rem 0;
}
/* Verdict dot accent in progress nav */
.hiw-dot-verdict {
  background: var(--accent);
  opacity: 0.5;
}
.hiw-dot-verdict.hiw-dot-active {
  opacity: 1;
}

/* --- Verdict card (from radar.css) --- */
a.detail-verdict {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--accent-dim);
  padding: 14px 28px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
a.detail-verdict:hover {
  background: rgba(255,140,0,0.1);
  box-shadow: 0 2px 16px rgba(255,140,0,0.08);
}
.detail-verdict-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted, var(--text-dim));
  margin-bottom: 16px;
}
.detail-verdict-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}
.detail-verdict-left { flex: 1; }
.detail-verdict-right {
  text-align: right;
  flex-shrink: 0;
}
.detail-verdict-dir {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hub-conv);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin: -4px -10px;
  border-radius: 8px;
  transition: background 0.2s;
}
a.detail-verdict:hover .detail-verdict-dir {
  background: rgba(34,197,94,0.1);
}
.detail-verdict-dir-no {
  color: var(--hub-risk);
}
a.detail-verdict:hover .detail-verdict-dir-no {
  background: rgba(248,81,73,0.1);
}
.detail-verdict-dir-label {
  font-size: 0.85em;
  margin-right: 6px;
}
.detail-verdict-dir-price {
  text-transform: lowercase;
}
.detail-verdict-why {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 8px 0 0;
}
.detail-verdict-pct {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.detail-verdict-pct-sub {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted, var(--text-dim));
  margin-top: 5px;
}

/* --- Price Gauge (from radar.css) --- */
.detail-gauge {
  margin-bottom: 12px;
  padding: 0 20px;
}
.detail-gauge-track {
  position: relative;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-top: 44px;
  margin-bottom: 44px;
  overflow: visible;
}
.detail-gauge-zone-red {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: var(--hub-risk);
  opacity: 0.25;
}
.detail-gauge-zone-green {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 0;
  background: var(--hub-conv);
  opacity: 0.25;
}
.detail-gauge-tick-top {
  position: absolute;
  bottom: 100%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  z-index: 1;
}
.detail-gauge-tick-top .detail-gauge-bar {
  width: 2px;
  height: 22px;
  border-radius: 1px;
  margin-bottom: -12px;
}
.detail-gauge-tick-top .detail-gauge-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
}
.detail-gauge-tick-bottom {
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.detail-gauge-tick-bottom .detail-gauge-bar {
  width: 2px;
  height: 22px;
  border-radius: 1px;
  margin-top: -12px;
}
.detail-gauge-tick-bottom .detail-gauge-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
  white-space: nowrap;
}
.detail-gauge-bar-red { background: var(--hub-risk); }
.detail-gauge-bar-main {
  width: 3px;
  height: 26px;
  margin-top: -16px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(255,140,0,0.3);
  animation: hiw-gauge-pulse 3s ease-in-out infinite;
}
.detail-gauge-bar-green { background: var(--hub-conv); }
.detail-gauge-val-red { color: var(--hub-risk); }
.detail-gauge-tick-bottom .detail-gauge-val-main {
  font-size: 0.92rem;
  color: var(--accent);
}
.detail-gauge-val-green { color: var(--hub-conv); }

@keyframes hiw-gauge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 135, 0, 0); }
  50% { opacity: 0.85; box-shadow: 0 0 6px 2px rgba(255, 135, 0, 0.25); }
}
@media (prefers-reduced-motion: reduce) {
  .detail-gauge-bar-main { animation: none; }
}

.detail-gauge-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 20px;
}
.detail-gauge-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.detail-gauge-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.detail-gauge-legend-red { background: var(--hub-risk); }
.detail-gauge-legend-main { background: var(--accent); }
.detail-gauge-legend-green { background: var(--hub-conv); }
.detail-gauge-legend-fv {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--accent);
  transform: rotate(45deg);
}
.detail-gauge-diamond {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  margin-top: -8px;
}
.detail-gauge-tick-fv {
  z-index: 2;
}
.detail-gauge-val-ai { color: var(--accent); }

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .hiw-progress { display: none; }
  .hiw-section-h2 { font-size: 1.3rem; }
  .hiw-split { grid-template-columns: 1fr; }
  .hiw-stats { grid-template-columns: 1fr; gap: 12px; }
  .hiw-stat-value { font-size: 2rem; }
  .hiw-radar-content { grid-template-columns: 1fr; }
  .hiw-brain-content { grid-template-columns: 1fr; }
  .hiw-timeline { grid-template-columns: 1fr; }
  .hiw-compare-split { grid-template-columns: 1fr; }
  .hiw-cta-actions { width: 100%; }
  .hiw-btn-primary { width: 100%; text-align: center; max-width: 320px; }
  .hiw-trust-markers { flex-direction: column; align-items: center; }
  /* Verdict mobile */
  a.detail-verdict { padding: 12px 16px 16px; }
  .detail-verdict-top { flex-direction: column; gap: 12px; }
  .detail-verdict-right { text-align: left; }
  .detail-verdict-pct { font-size: 2rem; }
  .detail-verdict-dir { font-size: 1.15rem; }
  .detail-verdict-why { font-size: 0.82rem; }
  .detail-gauge-track { margin-top: 36px; margin-bottom: 36px; }
  .detail-gauge-tick-top .detail-gauge-val { font-size: 0.7rem; margin-bottom: 4px; }
  .detail-gauge-tick-bottom .detail-gauge-val { font-size: 0.7rem; margin-top: 4px; }
  .detail-gauge-tick-bottom .detail-gauge-val-main { font-size: 0.78rem; }
  .detail-gauge-legend { gap: 4px 14px; }
  .hiw-verdict-card { margin: 1.5rem auto; }
}
