/* ===== NFLFANTASYEDGE.COM — Core Styles ===== */

:root {
  --green:   #16a34a;
  --green2:  #15803d;
  --green3:  #dcfce7;
  --dark:    #0f172a;
  --dark2:   #1e293b;
  --ink:     #0f172a;
  --sub:     #64748b;
  --border:  #e2e8f0;
  --off:     #f8fafc;
  --white:   #ffffff;
  --red:     #dc2626;
  --yellow:  #d97706;
  --accent:  #d97706;
  --max:     1200px;
  --disp:    'Outfit', sans-serif;
  --body:    'DM Sans', sans-serif;
}

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

body {
  font-family: var(--body);
  background: #0f172a;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--body); cursor: pointer; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--green);
}

.top-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
  margin-right: 8px;
  flex-shrink: 0;
}

.site-logo-text {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-logo-text span {
  color: var(--green);
  font-style: italic;
}

.site-logo-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  padding: 2px 6px;
  border-radius: 2px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.top-nav-item {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 6px 12px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.top-nav-item:hover { color: #fff; background: rgba(255,255,255,0.08); }
.top-nav-item.active { color: var(--green); background: rgba(22,163,74,0.12); }

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.top-cta-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.top-cta-btn:hover { background: var(--green2); }

/* ===== HAMBURGER ===== */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}

.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
}
.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active { color: #fff; background: rgba(255,255,255,0.06); }

/* ===== TICKER ===== */
.ticker-bar {
  background: var(--dark2);
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticker-label {
  background: var(--green);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.3; }
}

.ticker-track { flex: 1; overflow: hidden; position: relative; }
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.ticker-item .ticker-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* ===== SECTION BAR ===== */
.section-bar {
  background: #0b1120;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.section-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-label {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.section-date {
  font-size: 12px;
  color: #64748b;
}

/* ===== PAGE ===== */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ===== AUTOCOMPLETE ===== */
.ac-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.1s;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.active { background: rgba(22,163,74,0.15); }
.ac-name { font-size: 14px; font-weight: 600; color: #fff; }
.ac-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== READING PROGRESS BAR ===== */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--green);
  z-index: 2000;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(22,163,74,0.6);
}

/* ===== INTERACTIVE PAGE LAYOUT ===== */
.ipage {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

/* Step bar */
.steps-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.step.active { opacity: 1; }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
  flex-shrink: 0;
}

.step.active .step-num {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  transition: color 0.3s;
}

.step.active .step-label { color: #fff; }

.step-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 12px;
}

/* Player cards */
.player-cards-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.player-card {
  background: #1e293b;
  border: 2px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}

.player-card.filled { border-color: rgba(22,163,74,0.4); }
.player-card:focus-within { border-color: var(--green); }

.player-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

.player-card-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 800;
  padding: 6px 0;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: -0.01em;
}

.player-card-input::placeholder { color: rgba(255,255,255,0.2); font-weight: 600; }
.player-card-input:focus { border-bottom-color: var(--green); }

.player-card-input.shake {
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}

.player-card-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  margin-top: 8px;
}

.vs-badge {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,0.25);
  text-align: center;
  letter-spacing: 0.05em;
}

/* Format row */
.format-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.format-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.format-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.format-select {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  cursor: pointer;
}

.isubmit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 800;
  padding: 11px 32px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-left: auto;
  letter-spacing: 0.01em;
}

.isubmit-btn:hover { background: var(--green2); transform: translateY(-1px); }
.isubmit-btn:disabled { background: #374151; cursor: not-allowed; transform: none; }

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Loading bar */
.result-loading {
  background: #1e293b;
  border-radius: 12px;
  padding: 32px 28px;
  margin-bottom: 24px;
}

.result-loading-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.result-loading-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}

.result-loading-text {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* Verdict */
.verdict-wrap {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  animation: fadeSlideUp 0.4s ease;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.verdict-players {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 36px 32px;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.verdict-player { text-align: center; }

.vp-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.start-tag { background: rgba(22,163,74,0.2); color: #4ade80; }
.sit-tag   { background: rgba(239,68,68,0.15); color: #f87171; }

.vp-name {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.verdict-player.start .vp-name { color: #4ade80; }
.verdict-player.sit .vp-name   { color: rgba(255,255,255,0.4); }

/* Confidence ring */
.verdict-ring { text-align: center; }

.conf-svg {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 6px;
}

.conf-pct-text {
  font-family: var(--disp);
  font-size: 26px;
  font-weight: 900;
  fill: #fff;
  dominant-baseline: auto;
}

.conf-label-text {
  font-size: 11px;
  fill: rgba(255,255,255,0.4);
  font-family: var(--body);
}

.conf-ring-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* Analysis */
.verdict-analysis {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.verdict-analysis p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 14px;
}

.verdict-analysis p:last-child { margin-bottom: 0; }

.verdict-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}

.verdict-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.verdict-reset {
  background: none;
  border: none;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.verdict-reset:hover { text-decoration: underline; }

.ipage-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
}

/* How it works box */
.how-it-works-box {
  background: #1e293b;
  border-radius: 12px;
  padding: 28px;
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,0.05);
}

.hiw-title {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hiw-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hiw-num {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 900;
  color: rgba(22,163,74,0.25);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.hiw-item-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.hiw-item-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ===== RANKINGS VISUAL UPGRADES ===== */
.rank-player-cell { min-width: 180px; }

.rank-player-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 2px;
}

.rank-player-sub {
  font-size: 11px;
  color: var(--sub);
  margin-bottom: 6px;
}

.proj-bar-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
  max-width: 140px;
}

.proj-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.rank-proj-cell { text-align: center; }

.rank-proj-num {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.rank-proj-label {
  font-size: 10px;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rank-row.drafted { opacity: 0.4; }
.rank-row.drafted .rank-player-name { text-decoration: line-through; }

.drafted-toggle {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--sub);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.drafted-toggle:hover { border-color: var(--green); color: var(--green); }
.drafted-toggle.is-drafted { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--green2); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ===== HERO ===== */
.hero {
  background: #0b1120;
  padding: 72px 24px 80px;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--disp);
  font-size: 80px;
  font-weight: 900;
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--green); }

/* Live dot */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  animation: livepulse 2s infinite;
  vertical-align: middle;
}
@keyframes livepulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 5px rgba(22,163,74,0); }
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat { flex: 1; }

.hero-stat-num {
  font-family: var(--disp);
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  margin: 0 32px;
}

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== QUICK PICK ===== */
.quickpick-section {
  background: #111827;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
}

.quickpick-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.quickpick-label {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qp-icon { font-size: 16px; }

.quickpick-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.qp-input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: #fff;
  font-family: var(--body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.qp-input::placeholder { color: rgba(255,255,255,0.3); }
.qp-input:focus { border-color: var(--green); background: rgba(255,255,255,0.1); }

.qp-vs {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

.qp-select {
  padding: 10px 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  font-family: var(--body);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.qp-btn {
  padding: 10px 22px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.qp-btn:hover { background: var(--green2); transform: translateY(-1px); }
.qp-btn:disabled { background: #374151; cursor: not-allowed; transform: none; }

.qp-result {
  width: 100%;
}

.qp-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  padding: 10px 0;
}

.qp-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.qp-answer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.qp-verdict-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.qp-verdict-name {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.01em;
}

.qp-confidence {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 20px;
}

.qp-summary {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.qp-full-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

.qp-full-link:hover { text-decoration: underline; }

.qp-error {
  font-size: 13px;
  color: #f87171;
  padding: 8px 0;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
  background: #0f172a;
  padding: 0 0 60px;
}

.tools-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.tools-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
}

.tools-section-head .section-label {
  color: rgba(255,255,255,0.5);
}

.tools-section-head .section-date {
  color: rgba(255,255,255,0.3);
}

/* ===== FD GRID ===== */
.fd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}

.fd-card--featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: var(--green);
}

.fd-card--featured:hover {
  background: var(--green2);
  border-color: transparent;
}

.fd-card--featured .fd-card-title {
  font-size: 44px;
  color: #fff;
}

.fd-card--featured .fd-card-desc {
  color: rgba(255,255,255,0.75);
}

.fd-card--featured .fd-card-btn {
  display: inline-block;
  margin-top: auto;
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.fd-card--featured .fd-card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.fd-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  position: relative;
  overflow: hidden;
}

.fd-card:hover {
  background: #263348;
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.fd-card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.fd-card-title {
  font-family: var(--disp);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.fd-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  flex: 1;
}

.fd-card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.03em;
  margin-top: 4px;
}

.fd-card:hover .fd-card-link { color: #4ade80; }

/* Featured card glow */
.fd-card-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
  transition: transform 0.3s;
}
.fd-card--featured:hover .fd-card-glow { transform: scale(1.3); }

/* ===== HOW IT WORKS ===== */
.how-section {
  background: #0b1120;
  padding: 56px 24px 64px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.how-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.how-title {
  font-family: var(--disp);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.how-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.how-step {
  flex: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.how-step-num {
  font-family: var(--disp);
  font-size: 48px;
  font-weight: 900;
  color: rgba(22,163,74,0.2);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.how-step-title {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.how-step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.how-connector {
  flex-shrink: 0;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 16px;
  margin-top: 24px;
  position: relative;
}

.how-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.2);
  transform: rotate(45deg);
}

/* ===== TOOL PAGES ===== */
.tool-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.tool-header {
  margin-bottom: 28px;
}

.tool-header h1 {
  font-family: var(--disp);
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
}

.tool-header p {
  font-size: 14px;
  color: var(--sub);
}

.tool-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
}

.tool-form-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.tool-vs {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 800;
  color: var(--sub);
  text-align: center;
  padding-bottom: 10px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sub);
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}

.form-input:focus { border-color: var(--green); }

.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  outline: none;
  cursor: pointer;
}

.tool-submit {
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s;
}

.tool-submit:hover { background: var(--green2); }
.tool-submit:disabled { background: var(--sub); cursor: not-allowed; }

/* ===== AI RESULT ===== */
.ai-result {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.ai-result-header {
  background: var(--dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-verdict {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}

.ai-verdict-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ai-confidence {
  margin-left: auto;
  text-align: right;
}

.ai-confidence-val {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.ai-confidence-lbl {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ai-result-body {
  padding: 24px;
}

.ai-result-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 16px;
}

.ai-result-body p:last-child { margin-bottom: 0; }

.ai-loading {
  padding: 40px 24px;
  text-align: center;
  color: var(--sub);
}

.ai-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RANKINGS TABLE ===== */
.rankings-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.rankings-header {
  background: var(--dark);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rankings-title {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.rankings-week {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.rankings-filters {
  display: flex;
  gap: 6px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  color: var(--sub);
  cursor: pointer;
  transition: all 0.1s;
}

.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }

.rankings-table { width: 100%; border-collapse: collapse; }

.rankings-table th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sub);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--off);
}

.rankings-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.rankings-table tr:last-child td { border-bottom: none; }
.rankings-table tr:hover td { background: var(--off); }

.rank-num {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: var(--sub);
  width: 40px;
}

.rank-num.top3 { color: var(--green); }

.player-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}

.player-team {
  font-size: 11px;
  color: var(--sub);
  margin-top: 2px;
}

.rank-proj {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.rank-trend {
  font-size: 12px;
  font-weight: 700;
}

.rank-trend.up { color: var(--green); }
.rank-trend.down { color: var(--red); }
.rank-trend.same { color: var(--sub); }

/* ===== POSITION BADGES ===== */
.pos-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

.pos-QB { background: #fde8e8; color: #991B1B; }
.pos-RB { background: #ffedd5; color: #9A3412; }
.pos-WR { background: #dcfce7; color: #166534; }
.pos-TE { background: #d1fae5; color: #065F46; }
.pos-K  { background: #fef9c3; color: #854D0E; }
.pos-DST { background: #dbeafe; color: #1E40AF; }

/* ===== WAIVER WIRE ===== */
.waiver-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
}

.waiver-rank {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  min-width: 36px;
  text-align: center;
}

.waiver-player-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.waiver-meta {
  font-size: 12px;
  color: var(--sub);
  margin-bottom: 8px;
}

.waiver-analysis {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
}

.waiver-ownership {
  text-align: right;
}

.waiver-own-val {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.waiver-own-lbl {
  font-size: 10px;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== ARTICLE CARDS ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px 0;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--green); }

.article-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.article-headline {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.article-card:hover .article-headline { color: var(--green); }

.article-body {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.55;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 11px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 28px 20px;
  font-size: 12px;
  line-height: 2;
  border-top: 3px solid var(--green);
  margin-top: 40px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ===== LAYOUT HELPERS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
}

.sidebar-module {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 16px;
}

.sidebar-module-title {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
}

/* ===== EDGE SCORE ===== */
.edge-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
}

.edge-score.high   { background: #dcfce7; color: #166534; }
.edge-score.medium { background: #fef9c3; color: #854D0E; }
.edge-score.low    { background: #fee2e2; color: #991B1B; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.15s;
}

.page-btn:hover { border-color: var(--green); color: var(--green); }
.page-btn.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== POS TABS ===== */
.pos-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pos-tab {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--disp);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pos-tab:hover { border-color: var(--green); color: var(--green); }
.pos-tab.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== SCORING ROW ===== */
.scoring-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ===== RANKINGS TABLE ===== */
.rank-week-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.rankings-table-wrap {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.rankings-table {
  width: 100%;
  border-collapse: collapse;
}

.rankings-table thead th {
  background: rgba(0,0,0,0.25);
  color: #94a3b8;
  font-family: var(--disp);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 12px;
  text-align: left;
}

.rankings-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.rankings-table tbody tr:last-child { border-bottom: none; }

.rankings-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.rankings-table td {
  padding: 10px 12px;
  font-size: 13px;
  color: #cbd5e1;
  vertical-align: top;
}

.rank-num {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: #64748b;
  width: 40px;
}

.rank-num.top3 { color: #16a34a; }

.rank-player-name {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.rank-player-sub {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}

.rank-player-cell { min-width: 160px; }

.rank-proj-cell { text-align: center; }

.rank-proj-num {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 800;
  color: #16a34a;
}

.rank-proj-label {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
}

.rank-note {
  color: #94a3b8;
  line-height: 1.5;
  font-size: 12px;
}

.rank-action-cell { text-align: right; }

.drafted-toggle {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.drafted-toggle:hover { border-color: #16a34a; color: #16a34a; }

.drafted-toggle.is-drafted {
  background: rgba(22,163,74,0.15);
  border-color: #16a34a;
  color: #16a34a;
}

.rank-row.drafted td { opacity: 0.4; }

.rank-row.drafted .rank-player-name { text-decoration: line-through; }

.proj-bar-wrap {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

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

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
  font-size: 14px;
}

/* ===== WAIVER CARDS ===== */
.waiver-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.waiver-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
}

.waiver-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.waiver-name {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.waiver-meta {
  font-size: 12px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 6px;
}

.waiver-analysis {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 10px;
}

.waiver-priority {
  font-size: 12px;
  color: var(--sub);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.waiver-priority strong { color: var(--dark); }

/* ===== TRADE ANALYZER ===== */
.trade-sides {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.trade-side {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
}

.trade-side-label {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
}

.trade-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--sub);
  padding-top: 40px;
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.news-card {
  display: block;
  text-decoration: none;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  opacity: 0;
  transform: translateY(14px);
}

.news-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease calc(var(--reveal-delay, 0s)), transform 0.4s ease calc(var(--reveal-delay, 0s)), border-color 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  border-color: rgba(22,163,74,0.4);
  box-shadow: 0 0 0 1px rgba(22,163,74,0.15);
  transform: translateY(-2px);
}

.news-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.news-card-date {
  font-size: 11px;
  color: #64748b;
  margin-left: auto;
}

.news-date {
  font-size: 11px;
  color: #64748b;
}

.news-card-headline {
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-card-summary {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 14px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.news-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-card-read {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
}

.news-search-input {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 13px;
  padding: 7px 12px;
  outline: none;
  width: 180px;
  transition: border-color 0.2s;
}

.news-search-input::placeholder { color: #64748b; }
.news-search-input:focus { border-color: #16a34a; }

/* Old list style (legacy article.php) */
.news-card-body {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.news-card-link:hover { text-decoration: underline; }

/* ===== SHARED INTERACTIVE PAGE COMPONENTS ===== */

.ipage-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.ipage-title {
  font-family: var(--disp);
  font-size: 36px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.ipage-sub {
  font-size: 14px;
  color: #94a3b8;
}

.ipage-header-right { flex-shrink: 0; }

.data-source-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  padding: 6px 12px;
  border-radius: 20px;
}

/* Stat strip (waiver/injury) */
.ww-stat-strip {
  display: flex;
  align-items: center;
  background: var(--dark);
  border-radius: 10px;
  padding: 20px 28px;
  margin-bottom: 24px;
  gap: 0;
}

.ww-stat { flex: 1; }

.ww-stat-num {
  font-family: var(--disp);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.ww-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ww-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  margin: 0 28px;
}

/* Controls row */
.ipage-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ipage-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pos-filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pos-pill {
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--sub);
  cursor: pointer;
  transition: all 0.15s;
}

.pos-pill:hover { border-color: var(--green); color: var(--green); }
.pos-pill.active { background: var(--green); color: #fff; border-color: var(--green); }

.ghost-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #94a3b8;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}

.ghost-btn:hover { border-color: var(--green); color: var(--green); }

/* Loading state */
.ipage-loading {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
}

.ipage-loading-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.ipage-loading-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}

.ipage-loading-text {
  font-size: 13px;
  color: #64748b;
}

.ipage-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
}

.empty-state {
  padding: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--sub);
}

/* ===== WAIVER WIRE CARDS ===== */
.ww-list { display: flex; flex-direction: column; gap: 12px; }

.ww-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 20px 20px 16px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ww-card:hover { border-color: var(--green); box-shadow: 0 2px 12px rgba(22,163,74,0.08); }

.ww-card-rank {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  padding-top: 2px;
}

.ww-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.ww-card-name {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.ww-card-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ww-prio-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.prio-high { background: rgba(22,163,74,0.12); color: #16a34a; }
.prio-med  { background: rgba(245,158,11,0.12); color: #d97706; }
.prio-low  { background: rgba(100,116,139,0.1); color: #64748b; }

.ww-card-analysis {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 14px;
}

.ww-card-bars { display: flex; flex-direction: column; gap: 8px; }

.ww-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ww-bar-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  width: 36px;
  flex-shrink: 0;
}

.ww-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.ww-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--green);
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.trend-fill { background: #3b82f6; }

.ww-bar-val {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  min-width: 70px;
  text-align: right;
}

/* ===== INJURY CARDS ===== */
.inj-list { display: flex; flex-direction: column; gap: 10px; }

.inj-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  transition: border-color 0.15s;
}

.inj-card:hover { border-color: rgba(100,116,139,0.4); }

.inj-card-left { display: flex; }

.inj-status-bar {
  width: 4px;
  flex-shrink: 0;
}

.inj-card-body { flex: 1; padding: 16px 18px; }

.inj-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.inj-name {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.inj-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.inj-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.inj-impact {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

.inj-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-left: 1px solid rgba(255,255,255,0.07);
  min-width: 90px;
  gap: 6px;
}

.inj-impact-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.inj-impact-track {
  width: 60px;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.inj-impact-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.inj-impact-score {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 800;
}

/* ===== TRADE ANALYZER INTERACTIVE ===== */
.trade-input-grid {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 0;
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.trade-input-side { padding: 24px; }

.trade-side-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.trade-side-icon {
  font-size: 16px;
  font-weight: 700;
}

.give .trade-side-icon { color: #f87171; }
.get  .trade-side-icon { color: #4ade80; }

.trade-side-title {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.give .trade-side-title { color: rgba(255,255,255,0.6); }
.get  .trade-side-title { color: rgba(255,255,255,0.6); }

.trade-player-inputs { display: flex; flex-direction: column; gap: 10px; }

.trade-player-row { position: relative; }

.trade-player-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.trade-player-input::placeholder { color: rgba(255,255,255,0.2); }
.trade-player-input:focus { border-color: var(--green); background: rgba(255,255,255,0.08); }

.trade-vs-col {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.trade-vs-icon {
  font-size: 20px;
  color: rgba(255,255,255,0.2);
  font-weight: 700;
}

/* Trade verdict */
.trade-verdict-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trade-verdict-sides {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.trade-verdict-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.give-label { color: #f87171; }
.get-label  { color: #4ade80; }

.trade-verdict-player {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.trade-verdict-center { text-align: center; }

.trade-verdict-badge {
  font-family: var(--disp);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.trade-verdict-winner {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== NEWS LIST ===== */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-list-item {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}

.news-list-item:first-child { border-top: 1px solid var(--border); }
.news-list-item:hover .news-list-headline { color: var(--green); }

.news-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.news-list-headline {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
  transition: color 0.12s;
}

.news-list-summary {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.6;
  margin-bottom: 10px;
  max-width: 720px;
}

.news-list-byline {
  font-size: 12px;
  color: var(--sub);
  font-weight: 500;
}

/* ===== ARTICLE PAGE ===== */
.article-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 28px;
  font-size: 12px;
  color: var(--sub);
}

.article-breadcrumb a {
  color: var(--sub);
  text-decoration: none;
  transition: color 0.12s;
}

.article-breadcrumb a:hover { color: var(--green); }

.breadcrumb-sep { color: var(--border); }

.article-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.article-header { margin-bottom: 28px; }

.article-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.article-headline {
  font-family: var(--disp);
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.article-byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-byline-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.article-byline-meta {
  font-size: 12px;
  color: var(--sub);
  margin-top: 2px;
}

.byline-dot { margin: 0 4px; }

.article-summary {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #1a202c;
  margin-bottom: 22px;
}

.article-body p:last-child { margin-bottom: 0; }

/* Sidebar */
.article-sidebar { position: sticky; top: 72px; }

.sidebar-tool-links { display: flex; flex-direction: column; gap: 2px; }

.sidebar-tool-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: color 0.12s;
}

.sidebar-tool-link:last-child { border-bottom: none; }
.sidebar-tool-link:hover .sidebar-tool-name { color: var(--green); }

.sidebar-tool-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  transition: color 0.12s;
}

.sidebar-tool-desc {
  font-size: 12px;
  color: var(--sub);
}

/* Related articles */
.article-related {
  border-top: 2px solid var(--border);
  margin-top: 60px;
  padding-top: 32px;
}

.article-related-inner { max-width: 860px; }

.article-related-title {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card {
  display: block;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.related-card:hover { border-color: var(--green); }
.related-card:hover .related-card-headline { color: var(--green); }

.related-card .pos-badge { margin-bottom: 10px; display: inline-block; }

.related-card-headline {
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 8px;
  transition: color 0.12s;
}

.related-card-meta {
  font-size: 11px;
  color: var(--sub);
}

/* ===== MATCHUP ANALYZER ===== */
.matchup-search-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.matchup-search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.matchup-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.matchup-search-input {
  width: 100%;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 15px;
  padding: 11px 14px 11px 40px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.matchup-search-input::placeholder { color: #64748b; }
.matchup-search-input:focus { border-color: #16a34a; }

.matchup-result-card {
  display: flex;
  gap: 24px;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.matchup-result-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.matchup-grade-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gc, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px color-mix(in srgb, var(--gc, #16a34a) 30%, transparent);
}

.matchup-grade-letter {
  font-family: var(--disp);
  font-size: 28px;
  font-weight: 900;
}

.matchup-grade-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.matchup-result-right { flex: 1; }

.matchup-result-player {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.matchup-result-opp {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.matchup-result-rec {
  font-weight: 700;
  margin-left: 8px;
}

.matchup-result-body p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 8px;
}

.matchup-board-section { margin-top: 40px; }

.matchup-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.matchup-board-title {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
}

.matchup-board-list { display: flex; flex-direction: column; gap: 6px; }

.matchup-board-row {
  display: grid;
  grid-template-columns: 32px 1fr 48px 1fr;
  gap: 12px;
  align-items: center;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: background 0.15s;
}

.matchup-board-row.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease calc(var(--reveal-delay, 0s)), transform 0.35s ease calc(var(--reveal-delay, 0s)), background 0.15s;
}

.matchup-board-row:hover { background: rgba(255,255,255,0.04); }

.matchup-board-rank {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 800;
  color: #64748b;
  text-align: center;
}

.matchup-board-name {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.matchup-board-meta {
  font-size: 11px;
  color: #64748b;
}

.matchup-board-grade {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  border-radius: 6px;
  padding: 4px 0;
  border: 1px solid;
}

.matchup-board-note {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .fd-grid { grid-template-columns: repeat(2, 1fr); }
  .fd-card--featured { grid-column: 1 / 3; grid-row: auto; }
  .fd-card--featured .fd-card-title { font-size: 36px; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .article-related-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .waiver-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .trade-sides { grid-template-columns: 1fr; }
  .trade-arrow { display: none; }
}

@media (max-width: 600px) {
  .top-bar-inner { padding: 0 12px 0 16px; height: 46px; }
  .top-nav { display: none; }
  .top-nav-right { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .hero { padding: 48px 20px 56px; }
  .hero h1 { font-size: 52px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat-divider { display: none; }
  .how-steps { flex-direction: column; gap: 32px; }
  .how-connector { display: none; }
  .quickpick-inner { flex-direction: column; align-items: flex-start; }
  .quickpick-form { width: 100%; }
  .player-cards-row { grid-template-columns: 1fr; }
  .vs-badge { text-align: center; }
  .verdict-players { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .format-row { flex-direction: column; align-items: stretch; }
  .isubmit-btn { margin-left: 0; justify-content: center; }
  .steps-bar { overflow-x: auto; }
  .step-label { display: none; }
  .fd-grid { grid-template-columns: 1fr; }
  .fd-card--featured { grid-column: auto; grid-row: auto; }
  .tool-form-row { grid-template-columns: 1fr; }
  .tool-vs { display: none; }
  .waiver-card { grid-template-columns: auto 1fr; }
  .waiver-ownership { display: none; }
  .rankings-table th:nth-child(4),
  .rankings-table td:nth-child(4) { display: none; }
  .tn-keyword-row { flex-direction: column; }
  .tn-generate-btn { width: 100%; }
  .tn-name-card { flex-wrap: wrap; gap: 10px; }
  .tn-name-actions { width: 100%; justify-content: flex-start; }
  .md-settings-row { flex-direction: column; }
  .cs-table th:nth-child(6), .cs-table td:nth-child(6) { display: none; }
  .md-round-row { flex-direction: column; gap: 4px; }
}

/* ===== STREAMING RESULT BOX ===== */
.stream-result-box {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 4px;
}
.stream-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #16a34a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stream-dots span {
  animation: streamBlink 1.2s infinite;
  opacity: 0;
}
.stream-dots span:nth-child(2) { animation-delay: .2s; }
.stream-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes streamBlink {
  0%,100% { opacity: 0; }
  50%      { opacity: 1; }
}
.stream-text {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5e1;
  white-space: pre-wrap;
  min-height: 40px;
}

/* ===== TEAM NAME GENERATOR ===== */

.tn-trending-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(22,163,74,0.07);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.tn-trending-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #16a34a;
  white-space: nowrap;
}
.tn-trending-players {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tn-trending-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px 10px 3px 5px;
  font-size: 12px;
  color: #cbd5e1;
}
.tn-trend-count {
  font-size: 10px;
  color: #64748b;
}

.tn-generator-box {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tn-keyword-row {
  display: flex;
  gap: 10px;
}
.tn-keyword-input {
  flex: 1;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #f1f5f9;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.tn-keyword-input::placeholder { color: #475569; }
.tn-keyword-input:focus { border-color: #16a34a; }
.tn-generate-btn {
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, opacity .2s;
}
.tn-generate-btn:hover { background: #15803d; }
.tn-generate-btn:disabled { opacity: .5; cursor: not-allowed; }

.tn-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tn-cat-pill {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  font-family: inherit;
  transition: all .18s;
}
.tn-cat-pill:hover { border-color: rgba(255,255,255,0.25); color: #f1f5f9; }
.tn-cat-pill.active {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.tn-empty-prompt {
  text-align: center;
  padding: 60px 20px;
  color: #475569;
}
.tn-empty-icon { font-size: 40px; margin-bottom: 12px; }
.tn-empty-text { font-size: 16px; font-weight: 600; color: #64748b; margin-bottom: 6px; }
.tn-empty-sub  { font-size: 13px; color: #475569; }

.tn-names-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tn-name-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.tn-name-card:hover { border-color: rgba(255,255,255,0.15); }
.tn-name-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.tn-name-left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tn-name-text {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}
.tn-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.tn-name-actions {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.tn-explain-btn, .tn-copy-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all .18s;
}
.tn-explain-btn:hover { border-color: #a855f7; color: #a855f7; }
.tn-copy-btn:hover    { border-color: #16a34a; color: #16a34a; }
.tn-copy-btn.copied   { border-color: #16a34a; color: #16a34a; }

.tn-explanation {
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  border-top: 0px solid rgba(255,255,255,0.06);
  padding: 0 16px;
  transition: max-height .3s ease, padding .3s ease, border-top-width .2s;
}
.tn-explanation.open {
  max-height: 100px;
  padding: 10px 16px 14px;
  border-top-width: 1px;
}

/* ===== CHEAT SHEET ===== */
.cs-pos-section { margin-bottom: 32px; }
.cs-pos-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cs-pos-count { font-size: 12px; color: #475569; }
.cs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cs-table th {
  text-align: left;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #475569;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cs-table td { padding: 0; }
.cs-tier-row td {
  padding: 10px 10px 4px;
  background: transparent;
}
.cs-tier-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cs-player-row {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background .15s;
}
.cs-player-row:hover { background: rgba(255,255,255,0.03); }
.cs-player-row td { padding: 9px 10px; vertical-align: middle; }
.cs-rank { color: #475569; font-size: 12px; font-weight: 700; width: 32px; }
.cs-player-cell { display: flex; align-items: center; gap: 6px; }
.cs-player-name { color: #f1f5f9; font-weight: 600; }
.cs-status-badge {
  font-size: 9px;
  font-weight: 800;
  border: 1px solid;
  border-radius: 3px;
  padding: 1px 4px;
  letter-spacing: .04em;
}
.cs-team { color: #64748b; font-size: 12px; }
.cs-proj { color: #16a34a; font-weight: 700; font-size: 13px; }
.cs-tier-dot { font-size: 11px; font-weight: 700; }
.cs-note { color: #64748b; font-size: 12px; max-width: 340px; }
@media print {
  .top-bar, .section-bar, .ipage-controls, .ipage-header, #csPrintBtn { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .cs-table { font-size: 10px; }
  .cs-player-name { color: #000 !important; }
  .cs-proj { color: #000 !important; }
}

/* ===== MOCK DRAFT ===== */
.md-settings-box {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.md-settings-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.md-setting-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 110px;
}
.md-setting-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
}
.md-setting-btn-group { justify-content: flex-end; }
.md-setting-btn-group .isubmit-btn { width: 100%; }

.md-board {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}
.md-board-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.md-rounds-list { padding: 8px 0; }
.md-round-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background .15s;
}
.md-round-row:last-child { border-bottom: none; }
.md-round-row:hover { background: rgba(255,255,255,0.03); }
.md-round-num {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  min-width: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.md-snake-note {
  font-size: 9px;
  background: rgba(59,130,246,0.15);
  color: #3b82f6;
  border-radius: 3px;
  padding: 1px 4px;
  font-weight: 600;
}
.md-round-pick {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 200px;
  flex-shrink: 0;
}
.md-pick-name {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}
.md-pick-reason {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}
.md-summary-box {
  margin: 0;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(22,163,74,0.05);
}
.md-summary-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #16a34a;
  margin-bottom: 8px;
}
.md-summary-box p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}
