:root {
  --bg: #f3efe6;
  --panel: #fffaf0;
  --panel-2: #fffdf7;
  --ink: #1e1a16;
  --soft: #433e37;
  --muted: #756a5d;
  --line: rgba(30,26,22,.12);
  --line-strong: rgba(30,26,22,.2);
  --gold: #f5bf38;
  --gold-2: #a96800;
  --red: #d9412c;
  --blue: #2d73c9;
  --paper: #fbf7ef;
  --shadow: 0 16px 34px rgba(56,39,19,.12);
  --shadow-soft: 0 8px 20px rgba(56,39,19,.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(245,191,56,.22), transparent 26%),
    radial-gradient(circle at top right, rgba(217,65,44,.08), transparent 18%),
    linear-gradient(180deg, #f8f4ec 0%, #efe6d8 100%);
}

.wrap {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.top-ticker {
  overflow: hidden;
  border-bottom: 2px solid rgba(30,26,22,.16);
  background: linear-gradient(90deg, #f5bf38, #ffd563 35%, #f5bf38 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.5);
}

.ticker-track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  min-width: max-content;
  padding: .85rem 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .84rem;
  color: #24190e;
  animation: tickerMove 52s linear infinite;
}

.ticker-track span::before {
  content: "LIVE";
  color: white;
  background: var(--red);
  border-radius: 999px;
  padding: .15rem .42rem;
  margin-right: .9rem;
  font-size: .66rem;
  vertical-align: middle;
}

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(30,26,22,.1);
  background:
    linear-gradient(180deg, rgba(255,251,240,.88), rgba(250,242,226,.96)),
    radial-gradient(circle at right top, rgba(245,191,56,.22), transparent 25%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.04) 49%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.035), rgba(0,0,0,.035) 1px, transparent 1px, transparent 86px);
  opacity: .18;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(255,255,255,.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
  gap: 1.4rem;
  align-items: end;
  padding: 2.4rem 0 2.2rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 900;
  color: var(--red);
}

.hero h1,
.section-heading h2,
.panel-header h2,
.headline-main h2,
.side-panel h2 {
  margin: 0;
  line-height: .95;
  letter-spacing: -.04em;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  max-width: 12ch;
  text-wrap: balance;
}

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

.dek {
  margin: 1rem 0 0;
  max-width: 56ch;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--soft);
}

.hero-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.hero-badge {
  padding: .68rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(30,26,22,.13);
  background: rgba(255,255,255,.75);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.broadcast-panel,
.big-board-panel,
.side-panel,
.board-shell,
.featured-card,
.prospect-card {
  border: 2px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,251,243,.96));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.broadcast-panel {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,247,231,.98));
}

.broadcast-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .85rem;
  margin-bottom: .9rem;
  border-bottom: 2px dashed rgba(30,26,22,.14);
  color: var(--soft);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .84rem;
}

.live-dot {
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(217,65,44,.14);
}

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

.stat-block {
  min-height: 7rem;
  padding: 1rem;
  border-radius: 18px;
  border: 2px solid rgba(30,26,22,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,245,223,.65));
}

.stat-block.accent {
  background: linear-gradient(180deg, rgba(245,191,56,.22), rgba(255,242,205,.68));
}

.stat-label,
.mini-label,
.board-note {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  color: var(--muted);
  font-weight: 800;
}

.stat-block strong {
  display: block;
  margin-top: .55rem;
  font-size: 1.22rem;
  line-height: 1.15;
}

.headline-band {
  border-top: 2px solid rgba(30,26,22,.08);
  border-bottom: 2px solid rgba(30,26,22,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,252,246,.68));
}

.headline-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
}

.headline-main p:last-child,
.headline-side p:last-child {
  margin-bottom: 0;
  color: var(--soft);
  line-height: 1.6;
}

.headline-side {
  padding: 1rem 1.1rem;
  border-left: 6px solid var(--red);
  background: rgba(255,255,255,.72);
  border-radius: 14px;
}

.section { padding: 1.8rem 0; }
.split-tight { align-items: center; }

.section-heading,
.panel-header,
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.toolbar {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.search input,
select {
  width: 100%;
  min-width: 210px;
  border: 2px solid rgba(30,26,22,.12);
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  border-radius: 14px;
  padding: .95rem 1rem;
  font: inherit;
}

.search input::placeholder { color: #8b8174; }
.search-wide { min-width: min(100%, 340px); }
.toolbar-elevated { padding: .25rem 0; }

.featured-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.featured-card {
  padding: 1.25rem;
  position: relative;
  min-height: 220px;
}

.featured-card.primary {
  min-height: 275px;
  border-color: rgba(217,65,44,.35);
  background: linear-gradient(180deg, rgba(255,245,217,.95), rgba(255,252,244,.96));
  transform: translateY(-6px);
}

.featured-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 .7rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: .9rem;
}

.featured-card h3,
.prospect-card h3 {
  margin: .2rem 0 .55rem;
  font-size: 1.6rem;
}

.featured-summary {
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.featured-meta {
  margin-top: 1rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.featured-meta span,
.category-pill,
.grade-pill,
.rank-pill,
.trait,
.table-grade {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .02em;
}

.featured-meta span,
.category-pill,
.rank-pill,
.trait {
  padding: .44rem .74rem;
  background: rgba(30,26,22,.06);
  color: var(--ink);
}

.category-pill { background: rgba(45,115,201,.1); color: #1e4f8d; }
.rank-pill { background: rgba(217,65,44,.12); color: #962312; }

.grade-pill,
.table-grade {
  padding: .42rem .72rem;
  background: rgba(245,191,56,.22);
  color: #6d4800;
  border: 1px solid rgba(245,191,56,.35);
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 360px);
  gap: 1rem;
  align-items: start;
}

.big-board-panel,
.side-panel,
.board-shell {
  padding: 1.2rem;
}

.side-stack {
  display: grid;
  gap: 1rem;
}

.copy-stack p {
  margin: 0 0 .95rem;
  color: var(--soft);
  line-height: 1.6;
}

.metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.metric-list li {
  padding: .85rem .9rem;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 2px solid rgba(30,26,22,.08);
  color: var(--soft);
}

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

.prospect-card {
  padding: 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
}

.prospect-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px rgba(56,39,19,.15);
}

.card-topline {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}

.summary-line {
  margin: 0 0 .58rem;
  font-size: 1.06rem;
  color: var(--red);
  font-weight: 800;
}

.scouting-copy {
  margin: 0;
  color: var(--soft);
  line-height: 1.58;
}

.traits {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .95rem;
}

.trait { background: rgba(0,0,0,.05); }

.card-footer {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 2px dashed rgba(30,26,22,.08);
  color: var(--muted);
  font-weight: 700;
}

.vote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: .95rem;
}

.vote-button {
  border: 0;
  border-radius: 999px;
  padding: .7rem .95rem;
  background: linear-gradient(180deg, #f5bf38, #e6aa18);
  color: #07111d;
  font-weight: 900;
  cursor: pointer;
}

.board-shell-loud {
  overflow-x: auto;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,249,238,.98));
}

.draft-board {
  width: 100%;
  border-collapse: collapse;
}

.draft-board th,
.draft-board td {
  padding: .95rem .9rem;
  border-bottom: 1px solid rgba(30,26,22,.1);
  text-align: left;
  vertical-align: top;
}

.draft-board tbody tr:nth-child(odd) { background: rgba(0,0,0,.025); }

.draft-board th {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--muted);
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

.site-footer {
  border-top: 2px solid rgba(30,26,22,.08);
  margin-top: 2.2rem;
  padding: 1.1rem 0 1.4rem;
  background: rgba(255,255,255,.45);
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .hero-inner,
  .headline-grid,
  .board-layout,
  .featured-podium,
  .prospect-grid {
    grid-template-columns: 1fr;
  }

  .featured-card.primary {
    min-height: 220px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .wrap { width: min(100% - 1rem, 1240px); }
  .section-heading, .panel-header, .footer-inner { align-items: start; flex-direction: column; }
  .broadcast-grid { grid-template-columns: 1fr 1fr; }
}

.footer-note {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}


.fit-callout {
  margin: .9rem 0 0;
  font-size: .95rem;
  color: var(--soft);
}

.team-needs-list li {
  display: grid;
  gap: .28rem;
}

.team-need-label {
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .73rem;
}

.team-need-note,
.fit-note,
.board-fit {
  color: var(--muted);
  line-height: 1.5;
  font-size: .92rem;
}

.fit-label {
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .74rem;
  margin-right: .25rem;
}

.fit-note {
  margin-top: .45rem;
}

.board-fit {
  margin-top: .5rem;
  font-weight: 700;
}
