@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #071019;
  --bg-deep: #050b11;
  --surface: #0d1923;
  --surface-2: #111f2b;
  --surface-3: #172733;
  --line: rgba(181, 202, 215, .14);
  --line-strong: rgba(181, 202, 215, .24);
  --ink: #f5f8fa;
  --muted: #90a1ad;
  --muted-2: #647783;
  --lime: #c6f36a;
  --lime-deep: #9dd73f;
  --sky: #70b7e8;
  --red: #ff796f;
  --orange: #f1ae5f;
  --shadow: 0 24px 64px rgba(0, 0, 0, .26);
  --radius: 14px;
  --radius-sm: 9px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #edf2f2;
  --bg-deep: #e4eaea;
  --surface: #ffffff;
  --surface-2: #f4f7f7;
  --surface-3: #e7eded;
  --line: rgba(17, 43, 51, .12);
  --line-strong: rgba(17, 43, 51, .22);
  --ink: #10242d;
  --muted: #586a72;
  --muted-2: #76878e;
  --lime: #81b82a;
  --lime-deep: #668f24;
  --sky: #287eaa;
  --red: #c44941;
  --orange: #b36e21;
  --shadow: 0 24px 64px rgba(29, 47, 53, .12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.narrow-shell { max-width: 820px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 999; left: 16px; top: -60px; padding: 10px 14px;
  background: var(--lime); color: #0a1517; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.sample-ribbon {
  min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 6px 20px; background: #c6f36a; color: #172311; font-size: 11px;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.sample-ribbon a { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.sample-ribbon.live-ribbon { background: #70b7e8; color: #071019; }
.sample-ribbon.live-ribbon .live-dot { background: #0d5b39; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #35520c; box-shadow: 0 0 0 3px rgba(53,82,12,.15); }

.site-header {
  position: sticky; z-index: 80; top: 0; height: 78px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 89%, transparent); backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.logo-crop { position: relative; display: block; overflow: hidden; background: #99a09d; }
.logo-crop img {
  position: absolute; top: -52.8%; left: -17.7%; display: block; width: 151.2%; height: 212.9%;
  max-width: none; object-fit: fill; filter: contrast(1.08) saturate(1.08);
}
.brand-logo {
  width: 44px; height: 59px;
  border: 1px solid rgb(198 243 106 / 26%); border-radius: 9px;
  box-shadow: 0 7px 18px rgb(0 0 0 / 20%);
}
.brand-logo img { top: -53.1%; left: -50.6%; width: 431.5%; height: 213.3%; }
.brand-mark {
  position: relative; display: grid; place-items: center; width: 39px; height: 44px;
  color: #0b1613; filter: drop-shadow(0 7px 10px rgba(0,0,0,.18));
}
.brand-mark::before {
  position: absolute; inset: 0; content: ""; background: var(--lime);
  clip-path: polygon(10% 0,90% 0,100% 17%,88% 78%,50% 100%,12% 78%,0 17%);
}
.brand-mark::after { position: absolute; inset: 5px; content: ""; border: 1px solid rgba(8,19,15,.35); clip-path: polygon(8% 0,92% 0,100% 17%,87% 78%,50% 100%,13% 78%,0 17%); }
.brand-mark b { position: relative; z-index: 1; font: 800 20px/1 "Barlow Condensed", sans-serif; letter-spacing: -.04em; }
.brand-mark.brand-mark-image::before,
.brand-mark.brand-mark-image::after { display: none; }
.brand-mark-image { filter: none; }
.brand-mark-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-mark.small { width: 31px; height: 36px; }
.brand-mark.small b { font-size: 16px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font: 800 16px/.86 "Barlow Condensed", sans-serif; letter-spacing: .035em; text-transform: uppercase; }
.brand-copy small { margin-top: 5px; color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.primary-nav { display: flex; align-self: stretch; align-items: center; gap: 29px; margin-left: 18px; }
.primary-nav a {
  position: relative; display: flex; align-items: center; height: 100%; color: var(--muted);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.primary-nav a::after { position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; content: ""; background: var(--lime); transform: scaleX(0); transition: transform .18s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-button {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
}
.icon-button:hover { border-color: var(--line-strong); background: var(--surface-2); }
.icon-button span { font-size: 19px; line-height: 1; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px;
  padding: 10px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2);
  color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; transition: .18s ease;
}
.button:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.button-primary { background: var(--lime); border-color: var(--lime); color: #10190d; box-shadow: 0 12px 24px rgba(157,215,63,.12); }
.button-primary:hover { background: color-mix(in srgb, var(--lime) 87%, white); }
.button-quiet { background: transparent; }
.text-link { color: var(--ink); font-size: 12px; font-weight: 700; border: 0; background: none; padding: 0; cursor: pointer; }
.text-link:hover { color: var(--lime); }

.hero {
  position: relative; overflow: hidden; min-height: 500px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 81% 16%, rgba(112,183,232,.10), transparent 31%),
    radial-gradient(circle at 18% 92%, rgba(198,243,106,.055), transparent 32%),
    var(--bg-deep);
}
.field-lines { position: absolute; inset: 0; opacity: .35; pointer-events: none; }
.field-lines::before {
  position: absolute; inset: 0; content: "";
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.045) 49.8%, rgba(255,255,255,.045) 50.2%, transparent 50.2%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), rgba(255,255,255,.025) calc(10% - 1px), rgba(255,255,255,.025) 10%);
  transform: perspective(900px) rotateX(70deg) scale(1.6); transform-origin: 50% 100%;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 84px; align-items: center; min-height: 500px; padding-block: 56px; }
.eyebrow, .section-kicker {
  display: flex; align-items: center; gap: 15px; color: var(--lime); font-size: 10px;
  font-weight: 800; letter-spacing: .19em; text-transform: uppercase;
}
.eyebrow span + span { display: flex; align-items: center; gap: 15px; color: var(--muted); }
.eyebrow span + span::before { display: block; width: 24px; height: 1px; content: ""; background: var(--line-strong); }
.hero h1, .page-hero h1 {
  max-width: 700px; margin: 17px 0 19px; font: 800 clamp(56px, 6vw, 82px)/.84 "Barlow Condensed", sans-serif;
  letter-spacing: -.045em; text-transform: uppercase;
}
.hero h1 em, .page-hero h1 em { color: var(--lime); font-style: italic; font-weight: 700; }
.hero-copy > p { max-width: 580px; margin: 0; color: #a5b6c1; font-size: 16px; line-height: 1.65; }
html[data-theme="light"] .hero-copy > p { color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.hero-actions .button { min-height: 48px; padding-inline: 20px; }
.hero-board { border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 85%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.board-topline {
  display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding: 0 16px;
  border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase;
}
.updated { display: flex; align-items: center; gap: 7px; color: var(--muted-2); letter-spacing: .04em; text-transform: none; }
.updated i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(198,243,106,.1); }
.pulse-row {
  display: grid; grid-template-columns: 30px 38px 1fr 38px; gap: 10px; align-items: center; width: 100%;
  min-height: 58px; padding: 7px 15px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer;
}
.pulse-row:hover { background: var(--surface-2); }
.pulse-pick { color: var(--muted-2); font: 700 16px/1 "Barlow Condensed", sans-serif; }
.team-token {
  display: inline-grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px;
  background: color-mix(in srgb, var(--team-color) 19%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--team-color) 50%, transparent);
  border-radius: 7px; color: color-mix(in srgb, var(--team-color) 55%, white); font: 800 10px/1 "Barlow Condensed", sans-serif;
  font-style: normal; letter-spacing: .02em;
}
html[data-theme="light"] .team-token { color: color-mix(in srgb, var(--team-color) 77%, black); }
.team-token.large { width: 38px; height: 38px; flex-basis: 38px; border-radius: 9px; font-size: 11px; }
.pulse-player, .pulse-player span, .player-cell > span, .team-cell > span { min-width: 0; display: flex; flex-direction: column; }
.pulse-player strong, .player-cell strong, .team-cell strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.pulse-player small, .player-cell small, .team-cell small { margin-top: 2px; color: var(--muted-2); font-size: 9px; font-weight: 600; }
.pulse-rate { color: var(--lime); font: 700 16px/1 "Barlow Condensed", sans-serif; text-align: right; }
.board-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; color: var(--muted); font-size: 10px; font-weight: 700; }
.board-footer:hover { color: var(--lime); }
.board-footer b { font-size: 17px; }

.stat-band { border-bottom: 1px solid var(--line); background: var(--surface); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-grid > div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; min-height: 82px; padding: 15px 26px; border-right: 1px solid var(--line); }
.stat-grid > div:first-child { padding-left: 0; }
.stat-grid > div:last-child { border: 0; }
.stat-grid strong { grid-row: 1 / span 2; font: 800 34px/1 "Barlow Condensed", sans-serif; letter-spacing: -.03em; }
.stat-grid span { align-self: end; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.stat-grid small { align-self: start; color: var(--muted-2); font-size: 9px; }

.section { padding-block: 66px; }
.section-muted { border-top: 1px solid var(--line); background: var(--bg-deep); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.section-heading h2, .panel-title h2, .correction-copy h2 {
  margin: 5px 0 0; font: 800 35px/1 "Barlow Condensed", sans-serif; letter-spacing: -.02em; text-transform: uppercase;
}
.section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.date-window { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.date-window button { min-width: 46px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; cursor: pointer; }
.date-window button.active { background: var(--surface-3); color: var(--ink); }

.filter-dock {
  position: sticky; z-index: 20; top: 79px; display: flex; align-items: center; gap: 8px;
  margin-bottom: 13px; padding: 9px; border: 1px solid var(--line); border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px);
}
.filter-dock select, .search-field {
  height: 37px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--ink);
}
.filter-dock select { min-width: 140px; padding: 0 31px 0 11px; font-size: 10px; font-weight: 700; }
.search-field { display: flex; align-items: center; gap: 9px; min-width: 300px; padding: 0 10px; }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-field input::placeholder, textarea::placeholder, input::placeholder { color: var(--muted-2); }
.search-field kbd { padding: 1px 6px; border: 1px solid var(--line); border-bottom-color: var(--line-strong); border-radius: 4px; color: var(--muted-2); font-size: 9px; }
.filter-button { min-height: 37px; padding: 7px 12px; }
.result-count { margin-left: auto; padding-right: 7px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.result-count b { color: var(--ink); }

.draft-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.consensus-card, .rail-card, .table-shell, .trend-panel, .admin-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.consensus-head, .consensus-row { display: grid; grid-template-columns: 55px 1.1fr 1.7fr 1fr .75fr 54px; gap: 8px; align-items: center; }
.consensus-head { min-height: 38px; padding: 0 13px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.consensus-row {
  position: relative; width: 100%; min-height: 66px; padding: 8px 13px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; text-align: left; cursor: pointer; transition: background .14s ease, transform .14s ease;
}
.consensus-row:last-child { border-bottom: 0; }
.consensus-row:hover { z-index: 2; background: var(--surface-2); box-shadow: inset 3px 0 var(--lime); }
.pick-number { display: flex; flex-direction: column; color: var(--muted-2); }
.pick-number small { font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.pick-number b { color: var(--ink); font: 800 22px/1 "Barlow Condensed", sans-serif; }
.team-cell, .player-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.player-avatar {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 50%; border: 1px solid var(--line); background:
    linear-gradient(135deg, transparent 50%, rgba(198,243,106,.08) 50%),
    var(--surface-3); color: var(--muted); font: 700 10px/1 "Barlow Condensed", sans-serif; font-style: normal;
}
.player-cell small b { color: var(--lime); }
.projection-cell { display: grid; grid-template-columns: 45px 1fr; gap: 7px; align-items: center; }
.projection-cell > span { display: flex; flex-direction: column; }
.projection-cell b { font: 700 15px/1 "Barlow Condensed", sans-serif; }
.projection-cell small, .range-cell small { margin-top: 3px; color: var(--muted-2); font-size: 8px; }
.projection-cell > i, .probability i { height: 3px; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.projection-cell > i em, .probability i em { display: block; height: 100%; border-radius: inherit; background: var(--lime); }
.range-cell { display: flex; flex-direction: column; }
.range-cell b { font: 700 14px/1 "Barlow Condensed", sans-serif; }
.trend { display: flex; flex-direction: column; justify-self: end; font: 700 13px/1 "Barlow Condensed", sans-serif; }
.trend small { margin-top: 4px; color: var(--muted-2); font: 700 7px/1 Inter, sans-serif; }
.positive, .trend.up { color: var(--lime) !important; }
.negative, .trend.down { color: var(--red) !important; }
.trend.same { color: var(--muted-2); }
.row-arrow { display: none; }
.empty-state { padding: 50px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 8px; color: var(--ink); }
.intel-rail { display: grid; gap: 12px; }
.rail-card { padding: 14px; }
.rail-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rail-heading a { color: var(--muted-2); letter-spacing: 0; text-transform: none; }
.rail-heading a:hover { color: var(--lime); }
.mover { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; width: 100%; gap: 8px; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.mover:last-child { border: 0; }
.mover:hover strong { color: var(--lime); }
.mover-rank { color: var(--muted-2); font: 700 14px/1 "Barlow Condensed", sans-serif; }
.mover > span:nth-child(2), .stable-line > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mover strong { font-size: 10px; }
.mover small, .stable-line small { color: var(--muted-2); font-size: 8px; }
.mover > b { font: 700 12px/1 "Barlow Condensed", sans-serif; }
.disagreement-card { background: linear-gradient(145deg, rgba(112,183,232,.08), transparent 64%), var(--surface); }
.feature-name { display: block; margin-top: 16px; font: 700 20px/1 "Barlow Condensed", sans-serif; }
.feature-meta { color: var(--muted); font-size: 9px; }
.range-visual { position: relative; height: 34px; margin: 17px 5px 7px; }
.range-visual i { position: absolute; left: 14%; right: 32%; top: 10px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--lime), var(--sky)); }
.range-visual span { position: absolute; top: 7px; width: 10px; height: 10px; border: 3px solid var(--surface); border-radius: 50%; background: var(--lime); }
.range-visual span:nth-child(2) { background: var(--sky); }
.range-visual small { position: absolute; top: 20px; color: var(--muted-2); font-size: 8px; }
.range-start { left: 12%; }.range-end { left: 66%; }
.disagreement-card p, .stable-card p { color: var(--muted); font-size: 9px; line-height: 1.6; }
.disagreement-card .text-link { font-size: 9px; }
.stable-card { border-color: color-mix(in srgb, var(--lime) 24%, var(--line)); }
.tiny-label { color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.stable-line { display: flex; align-items: center; gap: 9px; margin-top: 13px; }
.stable-line strong { font-size: 10px; }

.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.mock-card { display: flex; min-height: 250px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mock-card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 25px; }
.publication-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface-3); color: var(--ink); font: 800 14px/1 "Barlow Condensed", sans-serif;
}
.publication-mark.color-1 { background: #d76245; color: #fff; }
.publication-mark.color-2 { background: #247e66; color: #fff; }
.publication-mark.color-3 { background: #f3d078; color: #222; }
.publication-mark.color-4 { background: #5b60a8; color: #fff; }
.publication-mark.color-5 { background: #a64f66; color: #fff; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.mock-publication { color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mock-card h3 { margin: 7px 0 4px; font: 700 22px/1.08 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.mock-card p { margin: 0; color: var(--muted); font-size: 9px; }
.mock-tags { display: flex; gap: 5px; margin: auto 0 13px; padding-top: 18px; }
.mock-tags span { padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 8px; }
.mock-card > a { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 9px; font-weight: 700; }
.mock-card > a:hover { color: var(--lime); }

.page-hero { position: relative; min-height: 320px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 0, rgba(112,183,232,.1), transparent 35%), var(--bg-deep); }
.page-hero::after { position: absolute; right: -4%; top: -60%; width: 45%; height: 220%; border: 1px solid var(--line); border-radius: 50%; content: ""; transform: rotate(24deg); }
.page-hero .shell { position: relative; z-index: 1; padding-block: 55px; }
.page-hero h1 { margin-block: 12px; font-size: clamp(52px, 6vw, 74px); }
.page-hero p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; }
.compact-hero { min-height: 280px; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.hero-metric { display: flex; flex-direction: column; min-width: 190px; padding-left: 22px; border-left: 1px solid var(--line-strong); }
.hero-metric strong { font: 800 50px/1 "Barlow Condensed", sans-serif; color: var(--lime); }
.hero-metric span { font-weight: 700; text-transform: uppercase; }
.hero-metric small { color: var(--muted); font-size: 9px; }

.context-bar { display: flex; align-items: center; gap: 22px; padding: 12px 16px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 9px; }
.context-bar span + span { padding-left: 22px; border-left: 1px solid var(--line); }
.context-bar b { color: var(--ink); }
.context-bar a { margin-left: auto; font-weight: 700; }
.context-bar a:hover { color: var(--lime); }
.data-table-head, .data-table-row { display: grid; grid-template-columns: 55px 2fr .65fr .65fr 1fr 1fr 50px; align-items: center; gap: 12px; }
.data-table-head { min-height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.data-table-row { width: 100%; min-height: 67px; padding: 8px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.data-table-row:last-child { border: 0; }
.data-table-row:hover { background: var(--surface-2); }
.data-table-row > span:not(.player-cell):not(.team-cell):not(.probability):not(.trend) { display: flex; flex-direction: column; }
.data-table-row > span b { font: 700 14px/1 "Barlow Condensed", sans-serif; }
.data-table-row > span small { margin-top: 4px; color: var(--muted-2); font-size: 8px; }
.board-rank { font: 800 20px/1 "Barlow Condensed", sans-serif !important; color: var(--muted); }
.probability { display: grid; grid-template-columns: 1fr 30px; gap: 8px; align-items: center; }
.probability b { font-size: 11px !important; }
.team-cell.compact strong { font-size: 10px; }

.library-filters .search-field { min-width: min(420px, 40vw); }
.library-list { display: grid; gap: 8px; }
.library-row { display: grid; grid-template-columns: 48px 1.7fr 1fr .8fr auto; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.library-row:hover { border-color: var(--line-strong); background: var(--surface-2); }
.library-main > span { color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.library-main h2 { margin: 3px 0; font: 700 19px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.library-main p { margin: 0; color: var(--muted); font-size: 9px; }
.library-row dl { display: flex; gap: 22px; margin: 0; }
.library-row dl div { display: flex; flex-direction: column; }
.library-row dt { color: var(--muted-2); font-size: 7px; text-transform: uppercase; }
.library-row dd { margin: 3px 0 0; font: 700 14px/1 "Barlow Condensed", sans-serif; }
.library-status { display: flex; flex-direction: column; align-items: start; gap: 5px; }
.library-status small { color: var(--muted-2); font-size: 8px; }

.mock-detail-head, .mock-detail-row { display: grid; grid-template-columns: 52px 1.15fr 1.5fr .55fr 1fr 1fr; gap: 14px; align-items: center; padding-inline: 16px; }
.mock-detail-head { min-height: 42px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mock-detail-row { min-height: 66px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.mock-detail-row:last-child { border: 0; }
.mock-detail-row:hover { background: var(--surface-2); }
.detail-player-link { display: flex; flex-direction: column; min-width: 0; }
.detail-player-link strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.detail-player-link small { color: var(--muted-2); font-size: 8px; }
.detail-player-link:hover strong { color: var(--lime); }
.trade-note { color: var(--muted-2); font-size: 8px; }
.player-page-hero { min-height: 330px; }
.player-page-heading { display: flex; align-items: center; gap: 24px; }
.player-page-heading h1 { margin-bottom: 8px; }
.player-page-avatar { display: grid; place-items: center; width: 98px; height: 98px; flex: 0 0 98px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-3); color: var(--lime); font: 800 30px/1 "Barlow Condensed", sans-serif; box-shadow: var(--shadow); }
.player-page-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); gap: 18px; align-items: start; }
.player-page-stats { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.player-analysis { margin-top: 14px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.player-analysis h2 { margin: 8px 0 12px; font: 700 28px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.player-analysis p { color: var(--muted); font-size: 11px; line-height: 1.8; }

.player-longform { padding-top: 28px; padding-bottom: 74px; }
.basketball-player-longform { margin-bottom: 46px; padding: 0; }
.player-longform-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--basketball-accent, var(--accent)); border-radius: 11px 11px 0 0; background: var(--surface-2); }
.player-longform-header > div { max-width: 780px; }
.player-longform-header h2 { margin: 8px 0 9px; font-family: var(--display); font-size: clamp(34px, 4vw, 53px); line-height: .95; text-transform: uppercase; }
.player-longform-header > div > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.player-longform-header dl { display: grid; grid-template-columns: repeat(3, minmax(94px, 1fr)); min-width: min(430px, 100%); margin: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.player-longform-header dl > div { display: flex; min-height: 74px; flex-direction: column; justify-content: center; padding: 13px; border-right: 1px solid var(--line); }
.player-longform-header dl > div:last-child { border-right: 0; }
.player-longform-header dt { color: var(--muted-2); font-size: 7px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.player-longform-header dd { margin: 6px 0 0; color: var(--ink); font-family: var(--display); font-size: 18px; line-height: 1; text-transform: uppercase; }
.player-longform-grid { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 0; align-items: start; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 11px 11px; background: var(--surface); }
.player-overview-prose { min-width: 0; padding: 8px 42px 46px; border-right: 1px solid var(--line); }
.player-overview-prose > section { padding: 38px 0; scroll-margin-top: 95px; border-bottom: 1px solid var(--line); }
.player-overview-prose > section:last-child { border-bottom: 0; }
.player-overview-prose h3 { margin: 0 0 18px; font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.player-overview-prose > section > p { max-width: 900px; margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.player-overview-prose > section > p:last-child { margin-bottom: 0; }
.source-analysis-intro { padding: 14px 17px; border-left: 3px solid var(--basketball-accent, var(--accent)); background: var(--surface-2); }
.player-source-analysis-list { display: grid; gap: 10px; margin-top: 20px; }
.player-source-analysis-list > article { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.player-source-analysis-list > article > header { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 15px; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.player-source-analysis-list > article > header > span { display: flex; flex-direction: column; gap: 4px; }
.player-source-analysis-list > article > header > span b { color: var(--basketball-accent, var(--accent)); font-family: var(--display); font-size: 26px; line-height: 1; }
.player-source-analysis-list > article > header > span small, .player-source-analysis-list header > div > p { color: var(--muted-2); font-size: 7px; }
.player-source-analysis-list h4 { margin: 0; font-family: var(--display); font-size: 19px; text-transform: uppercase; }
.player-source-analysis-list header > div > p { margin: 4px 0 0; }
.player-source-analysis-list .source-analysis-title { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 8px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.player-source-analysis-list header > a { color: var(--basketball-accent, var(--accent)); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.player-source-analysis-list > article > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.player-overview-index { position: sticky; top: 88px; display: flex; flex-direction: column; padding: 28px 22px; }
.player-overview-index > a { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.player-overview-index > a:hover { color: var(--basketball-accent, var(--accent)); }
.player-overview-index > div { margin-top: 23px; padding: 15px; border-left: 3px solid var(--basketball-accent, var(--accent)); background: var(--surface-2); }
.player-overview-index > div strong { font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.player-overview-index > div p { margin: 7px 0 0; color: var(--muted-2); font-size: 8px; line-height: 1.65; }

@media (max-width: 980px) {
  .player-longform-header { align-items: flex-start; flex-direction: column; }
  .player-longform-header dl { width: 100%; }
  .player-longform-grid { grid-template-columns: 1fr; }
  .player-overview-prose { border-right: 0; }
  .player-overview-index { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .player-overview-index .section-kicker, .player-overview-index > div { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .player-longform { padding-top: 16px; padding-bottom: 48px; }
  .player-longform-header { padding: 23px; }
  .player-longform-header dl { grid-template-columns: 1fr; }
  .player-longform-header dl > div { min-height: 59px; border-right: 0; border-bottom: 1px solid var(--line); }
  .player-longform-header dl > div:last-child { border-bottom: 0; }
  .player-overview-prose { padding: 0 22px 28px; }
  .player-overview-prose > section { padding: 31px 0; }
  .player-overview-prose h3 { font-size: 25px; }
  .player-source-analysis-list > article > header { grid-template-columns: 58px 1fr; }
  .player-source-analysis-list header > a { grid-column: 2; justify-self: start; }
  .player-overview-index { grid-template-columns: 1fr; }
  .player-overview-index .section-kicker, .player-overview-index > div { grid-column: auto; }
}
.player-projections-panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.projection-source-row { display: grid; grid-template-columns: 40px 1fr 18px; gap: 10px; align-items: center; min-height: 58px; border-top: 1px solid var(--line); }
.projection-source-row:hover strong { color: var(--lime); }
.projection-pick { color: var(--lime); font: 700 16px/1 "Barlow Condensed", sans-serif; }
.projection-source-row > span:nth-child(2) { display: flex; flex-direction: column; }
.projection-source-row strong { font-size: 10px; }
.projection-source-row small { color: var(--muted-2); font-size: 8px; }

.trend-summary, .admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.trend-summary > div, .admin-stats > div { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.trend-summary span, .admin-stats span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.trend-summary strong, .admin-stats strong { margin: 5px 0; color: var(--lime); font: 800 30px/1 "Barlow Condensed", sans-serif; }
.trend-summary small, .admin-stats small { color: var(--muted-2); font-size: 9px; }
.trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trend-panel { padding: 20px; }
.panel-title { display: flex; align-items: start; justify-content: space-between; margin-bottom: 14px; }
.panel-title h2 { font-size: 26px; }
.section-kicker.red { color: var(--red); }
.badge { padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; font-size: 8px; font-weight: 800; }
.trend-item { display: grid; grid-template-columns: 26px 1.4fr 1fr 35px; align-items: center; gap: 9px; min-height: 61px; border-top: 1px solid var(--line); }
.trend-index { color: var(--muted-2); font: 700 15px/1 "Barlow Condensed", sans-serif; }
.trend-item > span:nth-child(2) { display: flex; flex-direction: column; }
.trend-item > span strong { font-size: 11px; }
.trend-item > span small { color: var(--muted-2); font-size: 8px; }
.trend-item > strong { font: 700 13px/1 "Barlow Condensed", sans-serif; }
.from-to { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; align-items: center; }
.from-to i { position: relative; height: 1px; background: linear-gradient(90deg, var(--muted-2), var(--lime)); }
.from-to i::after { position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); content: ""; }
.from-to small { text-decoration: line-through; }
.from-to b { color: var(--lime); font: 700 13px/1 "Barlow Condensed", sans-serif; }
.down-line i { background: linear-gradient(90deg, var(--muted-2), var(--red)); }
.down-line i::after { background: var(--red); }
.down-line b { color: var(--red); }
.full-panel { margin-top: 14px; }
.spread-chart { padding-top: 5px; }
.chart-axis { display: grid; grid-template-columns: repeat(5, 1fr); margin-left: 175px; padding: 0 0 8px; color: var(--muted-2); font-size: 7px; border-bottom: 1px solid var(--line); }
.chart-axis span:last-child { text-align: right; }
.spread-row { display: grid; grid-template-columns: 155px 1fr 65px; gap: 20px; align-items: center; min-height: 55px; border-bottom: 1px solid var(--line); }
.spread-row:last-child { border: 0; }
.spread-row > span { display: flex; flex-direction: column; }
.spread-row > span strong { font-size: 10px; }
.spread-row > span small, .spread-row em { color: var(--muted-2); font-size: 8px; font-style: normal; }
.spread-row > div { position: relative; height: 18px; background: repeating-linear-gradient(90deg, transparent, transparent calc(25% - 1px), var(--line) 25%); }
.spread-row > div i { position: absolute; top: 7px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--lime), var(--sky)); }
.spread-row > div i::before, .spread-row > div i::after, .spread-row > div i b { position: absolute; top: -4px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--surface); background: var(--lime); content: ""; }
.spread-row > div i::before { left: -3px; }
.spread-row > div i::after { right: -3px; background: var(--sky); }
.spread-row > div i b { top: -4px; background: var(--ink); }

.editorial-hero { min-height: 410px; }
.editorial-hero h1 { max-width: 820px; }
.methodology-layout { display: grid; grid-template-columns: 190px 1fr; gap: 70px; align-items: start; max-width: 1050px; }
.method-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 9px; padding: 14px 0; border-top: 1px solid var(--line-strong); }
.method-nav span { margin-bottom: 5px; color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.method-nav a { color: var(--muted); font-size: 10px; font-weight: 600; }
.method-nav a:hover { color: var(--lime); }
.method-copy { min-width: 0; }
.method-intro { padding: 21px; border: 1px solid color-mix(in srgb, var(--lime) 30%, var(--line)); border-radius: 12px; background: linear-gradient(130deg, rgba(198,243,106,.07), transparent); }
.method-intro > strong { color: var(--lime); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.method-intro dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 0; }
.method-intro dl div { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--line); }
.method-intro dl div:first-child { padding-left: 0; border: 0; }
.method-intro dt { color: var(--muted-2); font-size: 7px; text-transform: uppercase; }
.method-intro dd { margin: 4px 0 0; font: 700 14px/1 "Barlow Condensed", sans-serif; }
.method-copy > section { position: relative; padding: 42px 0 42px 58px; border-bottom: 1px solid var(--line); }
.method-number { position: absolute; left: 0; top: 43px; color: var(--lime); font: 700 15px/1 "Barlow Condensed", sans-serif; }
.method-copy h2 { margin: 0 0 11px; font: 700 27px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.method-copy p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 12px; }
.formula { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 14px; border-radius: 8px; background: var(--surface); color: var(--muted); font: 700 10px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.formula b { color: var(--lime); }

.source-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 20px; padding: 22px; border: 1px solid color-mix(in srgb, var(--lime) 28%, var(--line)); border-radius: 12px; background: linear-gradient(120deg, rgba(198,243,106,.06), transparent); }
.source-callout strong { font: 700 20px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.source-callout p { max-width: 700px; margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.permission-legend { display: flex; gap: 18px; margin: 20px 0 10px; color: var(--muted); font-size: 8px; }
.permission-legend span { display: flex; align-items: center; gap: 6px; }
.permission-legend i, .permission-dot { width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--muted); }
.permission-legend .approved, .permission-dot.approved { background: var(--lime); }
.permission-legend .manual, .permission-dot.manual { background: var(--sky); }
.permission-legend .review, .permission-dot.review { background: var(--orange); }
.permission-legend .blocked { background: var(--red); }
.source-table-head, .source-row { display: grid; grid-template-columns: 1.3fr 1.1fr 1.3fr 1fr .6fr .7fr; gap: 14px; align-items: center; padding: 0 16px; }
.source-table-head { min-height: 41px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.source-row { min-height: 63px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.source-row:last-child { border: 0; }
.source-row > span:first-child { display: flex; flex-direction: column; }
.source-row strong { color: var(--ink); font-size: 10px; }
.source-row small { color: var(--muted-2); font-size: 8px; }

.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; max-width: 1050px; }
.correction-copy h2 { max-width: 370px; margin-top: 12px; font-size: 39px; }
.correction-copy > p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.correction-copy ol { list-style: none; margin: 30px 0 0; padding: 0; }
.correction-copy li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.correction-copy li > b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); font: 700 11px/1 "Barlow Condensed", sans-serif; }
.correction-copy li span { display: flex; flex-direction: column; }
.correction-copy li strong { font-size: 10px; }
.correction-copy li small { color: var(--muted-2); font-size: 8px; }
.correction-form { position: relative; display: grid; gap: 14px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.form-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form-heading strong { font: 700 23px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.form-heading span { color: var(--muted-2); font-size: 7px; }
.correction-form label { display: grid; gap: 6px; }
.correction-form label > span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.correction-form input, .correction-form select, .correction-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: var(--surface-2); color: var(--ink); font-size: 10px; }
.correction-form input, .correction-form select { height: 40px; padding: 0 11px; }
.correction-form textarea { resize: vertical; padding: 11px; line-height: 1.5; }
.correction-form input:focus, .correction-form select:focus, .correction-form textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198,243,106,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-note { margin: 0; color: var(--muted-2); font-size: 8px; text-align: center; }

.admin-hero { min-height: 260px; }
.admin-user { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--lime); font-size: 9px; font-weight: 700; }
.admin-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.admin-panel { padding: 20px; }
.admin-import-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.review-item a { color: var(--lime); font-size: 9px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.import-tabs { display: flex; gap: 3px; margin-bottom: 14px; padding: 3px; border-radius: 7px; background: var(--surface-2); }
.import-tabs button { flex: 1; padding: 8px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 8px; font-weight: 700; cursor: pointer; }
.import-tabs button.active { background: var(--surface-3); color: var(--ink); }
.import-tabs span { padding: 8px 10px; border-radius: 5px; background: var(--surface-3); color: var(--ink); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.import-tabs small { align-self: center; color: var(--muted); font-size: 9px; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.drop-zone { display: grid; place-items: center; min-height: 160px; padding: 25px; border: 1px dashed var(--line-strong); border-radius: 9px; cursor: pointer; text-align: center; }
.drop-zone:hover { border-color: var(--lime); background: rgba(198,243,106,.03); }
.drop-zone > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); font-size: 20px; }
.drop-zone strong { font-size: 11px; }.drop-zone small { color: var(--muted-2); font-size: 8px; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.csv-preview { min-height: 34px; margin: 10px 0; padding: 9px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 8px; overflow: auto; }
.review-item { display: grid; grid-template-columns: 33px 1fr auto; gap: 10px; align-items: center; min-height: 62px; border-top: 1px solid var(--line); }
.review-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--surface-3); color: var(--lime); font: 700 11px/1 "Barlow Condensed", sans-serif; }
.review-item > span:nth-child(2) { display: flex; flex-direction: column; }
.review-item strong { font-size: 10px; }.review-item small { color: var(--muted-2); font-size: 8px; }
.review-item button { border: 0; background: none; color: var(--sky); font-size: 8px; font-weight: 700; cursor: pointer; }

.site-footer { padding-top: 40px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr .7fr .8fr 1.3fr; gap: 55px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.footer-logo {
  width: 220px; height: 104px;
  border: 1px solid rgb(198 243 106 / 24%); border-radius: 12px;
  box-shadow: 0 10px 24px rgb(0 0 0 / 22%);
}
.footer-brand > div { display: flex; flex-direction: column; }
.footer-brand strong { font: 800 17px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.footer-brand p, .footer-note p { max-width: 250px; color: var(--muted-2); font-size: 8px; line-height: 1.6; }
.footer-grid > div:not(.footer-brand):not(.footer-note) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid > div > strong { margin-bottom: 4px; color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { color: var(--muted-2); font-size: 9px; }
.footer-grid a:hover { color: var(--lime); }
.sample-pill { display: inline-block; padding: 4px 7px; border: 1px solid var(--orange); border-radius: 99px; color: var(--orange); font-size: 7px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 13px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 8px; }

.player-dialog, .search-dialog {
  width: min(650px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 30px));
  padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 32px 100px rgba(0,0,0,.55);
}
.player-dialog::backdrop, .search-dialog::backdrop { background: rgba(1,6,9,.78); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 3; right: 14px; top: 14px; display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 17px; cursor: pointer; }
.player-profile { overflow: auto; }
.player-profile-head { position: relative; display: flex; align-items: end; gap: 16px; min-height: 190px; padding: 34px 30px 26px; background: radial-gradient(circle at 85% 15%, rgba(198,243,106,.14), transparent 36%), var(--bg-deep); }
.profile-number { position: absolute; right: 54px; bottom: -18px; color: rgba(255,255,255,.035); font: 800 190px/1 "Barlow Condensed", sans-serif; }
.profile-avatar { display: grid; place-items: center; width: 74px; height: 74px; flex: 0 0 74px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-3); color: var(--lime); font: 800 22px/1 "Barlow Condensed", sans-serif; }
.player-profile-head > div { position: relative; display: flex; flex-direction: column; }
.player-profile-head h2 { margin: 5px 0 0; font: 800 38px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.profile-meta { color: var(--muted); font-size: 10px; }
.profile-body { padding: 25px 30px 30px; }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.profile-stats div { display: flex; flex-direction: column; padding-left: 15px; border-left: 1px solid var(--line); }
.profile-stats div:first-child { padding-left: 0; border: 0; }
.profile-stats span { color: var(--muted-2); font-size: 7px; text-transform: uppercase; }
.profile-stats strong { margin-top: 3px; font: 700 20px/1 "Barlow Condensed", sans-serif; }
.profile-section { padding-top: 22px; }
.profile-section h3 { margin: 0 0 9px; font: 700 17px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.profile-section p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.profile-citations { display: flex; gap: 6px; margin-top: 12px; }
.profile-citations span, .profile-citations a { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted-2); font-size: 7px; }
.profile-citations a:hover { border-color: var(--lime); color: var(--lime); }
.alternatives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.alternatives span { padding: 9px; border-radius: 7px; background: var(--surface-2); font-size: 8px; text-align: center; }
.search-dialog { padding: 28px; }
.search-dialog > .section-kicker { margin-bottom: 14px; }
.global-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-2); }
.global-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
#globalResults { display: grid; gap: 6px; max-height: 430px; margin-top: 13px; overflow: auto; }
#globalResults > p { color: var(--muted-2); font-size: 9px; text-align: center; }
.search-result { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.search-result:hover { border-color: var(--lime); background: var(--surface-2); }
.search-result > span:nth-child(2) { display: flex; flex-direction: column; }
.search-result strong { font-size: 10px; }.search-result small { color: var(--muted-2); font-size: 8px; }
.search-result > em { color: var(--muted); font-size: 8px; font-style: normal; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 10px 15px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-3); color: var(--ink); box-shadow: var(--shadow); font-size: 9px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.not-found { display: grid; place-items: start; min-height: 600px; align-content: center; }
.not-found > span { color: var(--lime); font: 800 20px/1 "Barlow Condensed", sans-serif; }
.not-found h1 { margin: 10px 0; font: 800 56px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.not-found p { color: var(--muted); }

.library-compare-button { width: 100%; margin-top: 10px; }
.entity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.entity-card { position: relative; display: grid; grid-template-columns: 48px 1fr 145px 18px; gap: 13px; align-items: center; min-height: 92px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; }
.entity-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--entity-color, var(--line-strong)); }
.entity-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.entity-card > span:nth-child(2), .entity-feature { display: flex; flex-direction: column; min-width: 0; }
.entity-card > span:nth-child(2) strong { font-size: 11px; }
.entity-card small { color: var(--muted-2); font-size: 8px; line-height: 1.45; }
.entity-feature { align-items: flex-end; text-align: right; }
.entity-feature b { margin-top: 4px; font: 700 12px/1.2 "Barlow Condensed", sans-serif; }
.entity-card > i { color: var(--muted-2); font-style: normal; }
.publication-card, .analyst-card { grid-template-columns: 42px 1fr 170px 18px; }
.team-page-hero { position: relative; min-height: 290px; background: linear-gradient(110deg, color-mix(in srgb, var(--page-team-color) 22%, var(--bg-deep)), var(--bg-deep) 55%); }
.team-page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--page-team-color) 15%, transparent)); pointer-events: none; }
.team-page-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; min-height: 290px; }
.team-page-token { width: 88px; height: 88px; font-size: 22px; }
.team-page-heading h1 { margin: 7px 0 4px; font: 800 clamp(45px, 6vw, 78px)/.9 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.team-page-heading p { margin: 0; color: var(--muted); }
.team-pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.team-pick-card { display: grid; grid-template-columns: 55px 1fr auto; gap: 15px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.team-pick-card h2 { margin: 4px 0; font-size: 24px; }
.team-pick-card h2 a { color: var(--ink); }
.team-pick-card p { margin: 0; color: var(--muted); font-size: 9px; }
.team-pick-card > div:last-child { display: flex; flex-direction: column; align-items: end; }
.team-pick-card > div:last-child strong { color: var(--lime); font: 800 24px/1 "Barlow Condensed", sans-serif; }
.team-pick-card > div:last-child small { color: var(--muted-2); font-size: 8px; }
.team-detail-layout, .analyst-detail-layout, .publication-detail-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; margin: 16px 0; }
.projection-rank-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; min-height: 57px; border-top: 1px solid var(--line); color: var(--ink); }
.projection-rank-row > span:first-child { color: var(--muted-2); font: 700 13px/1 "Barlow Condensed", sans-serif; }
.projection-rank-row > span:nth-child(2), .projection-rank-row > span:last-child { display: flex; flex-direction: column; }
.projection-rank-row > span:last-child { align-items: end; }
.projection-rank-row strong { font-size: 10px; }
.projection-rank-row small { color: var(--muted-2); font-size: 8px; }
.position-distribution-row { display: grid; grid-template-columns: 80px 1fr 38px; gap: 10px; align-items: center; min-height: 49px; border-top: 1px solid var(--line); }
.position-distribution-row > span { display: flex; flex-direction: column; }
.position-distribution-row small { color: var(--muted-2); font-size: 7px; }
.position-distribution-row > i { height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.position-distribution-row > i em { display: block; height: 100%; background: var(--lime); }
.position-distribution-row > strong { color: var(--muted); font-size: 9px; text-align: right; }
.source-selection-table { margin-top: 16px; }
.source-selection-head, .source-selection-row { display: grid; grid-template-columns: 50px 1.3fr .8fr .8fr 50px; gap: 13px; align-items: center; padding: 0 17px; }
.source-selection-head { height: 39px; background: var(--surface-2); color: var(--muted-2); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.source-selection-row { min-height: 62px; border-top: 1px solid var(--line); }
.source-selection-row a, .source-selection-row > span { color: var(--muted); font-size: 9px; }
.source-selection-row > a:nth-child(2) { display: flex; flex-direction: column; color: var(--ink); }
.source-selection-row small { color: var(--muted-2); font-size: 8px; }
.source-selection-row > a:last-child { color: var(--lime); font-weight: 700; }
.analyst-mock-row, .distinctive-row, .source-page-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; min-height: 64px; border-top: 1px solid var(--line); color: var(--ink); }
.analyst-mock-row > span, .distinctive-row > span { display: flex; flex-direction: column; }
.analyst-mock-row small, .distinctive-row small, .source-page-row small { color: var(--muted-2); font-size: 8px; }
.analyst-mock-row i { color: var(--muted-2); font-style: normal; }
.distinctive-row { grid-template-columns: 1fr 80px 58px; }
.distinctive-row > span:nth-child(2) { align-items: end; }
.distinctive-row em { color: var(--orange); font-size: 8px; font-style: normal; text-align: right; }
.source-page-row { grid-template-columns: 95px 1fr auto; }
.source-page-row > span:nth-child(2) { display: flex; flex-direction: column; }
.source-page-row > a { color: var(--lime); font-size: 8px; font-weight: 700; }
.empty-inline { padding: 20px 0; color: var(--muted); font-size: 10px; }
.compare-picker { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: end; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.compare-picker label { display: grid; gap: 7px; }
.compare-picker label > span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.compare-picker select { width: 100%; min-height: 145px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--ink); font-size: 9px; }
.compare-shell { width: 100%; min-width: 0; margin-top: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); overflow-x: auto; }
.compare-head, .compare-row { display: grid; grid-template-columns: 52px repeat(var(--compare-count), minmax(180px, 1fr)); min-width: calc(52px + var(--compare-count) * 180px); }
.compare-head { min-height: 60px; background: var(--surface-2); }
.compare-head > span, .compare-row > span { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 10px 12px; border-left: 1px solid var(--line); }
.compare-head > span:first-child, .compare-row > span:first-child { border-left: 0; }
.compare-head strong { font-size: 9px; }
.compare-head small, .compare-row small { color: var(--muted-2); font-size: 7px; }
.compare-row { min-height: 66px; border-top: 1px solid var(--line); }
.compare-row.exact-match { background: rgba(198,243,106,.035); }
.compare-row a { display: flex; flex-direction: column; color: var(--ink); }
.compare-row em { color: var(--muted-2); font-size: 8px; font-style: normal; }
.compare-empty { display: grid; place-items: center; min-height: 220px; margin-top: 16px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); text-align: center; }
.compare-empty p { margin: 4px; font-size: 9px; }

@media (max-width: 1020px) {
  .primary-nav { gap: 18px; margin-left: 0; }
  .header-inner { gap: 22px; }
  .hero-grid { gap: 45px; }
  .draft-layout { grid-template-columns: 1fr; }
  .intel-rail { grid-template-columns: repeat(3, 1fr); }
  .data-table-head, .data-table-row { grid-template-columns: 50px 1.8fr .65fr .65fr 1fr .9fr 45px; }
  .library-row { grid-template-columns: 44px 1.6fr 1fr auto; }
  .library-status { display: none; }
  .footer-grid { gap: 30px; }
  .mock-detail-head { display: none; }
  .mock-detail-row { grid-template-columns: 40px 1fr 1.3fr .55fr; }
  .mock-detail-row > span:nth-child(5), .mock-detail-row > span:nth-child(6) { display: none; }
  .entity-card { grid-template-columns: 44px 1fr 18px; }
  .entity-feature { display: none; }
  .team-detail-layout, .analyst-detail-layout, .publication-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 720px); }
  .desktop-only { display: none; }
  .brand-copy { display: none; }
  .site-header { height: 66px; }
  .brand-logo { width: 39px; height: 52px; }
  .header-inner { gap: 12px; }
  .primary-nav { order: 3; gap: 17px; overflow: auto; margin-left: 0; }
  .primary-nav a { white-space: nowrap; font-size: 10px; }
  .primary-nav a:nth-last-child(-n+1) { display: none; }
  .header-actions { gap: 5px; }
  .icon-button { width: 32px; height: 32px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 55px; }
  .hero h1 { font-size: clamp(55px, 13vw, 78px); }
  .hero-board { max-width: 540px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid > div { border-bottom: 1px solid var(--line); }
  .stat-grid > div:nth-child(2) { border-right: 0; }
  .stat-grid > div:first-child { padding-left: 22px; }
  .section { padding-block: 48px; }
  .filter-dock { top: 69px; overflow-x: auto; }
  .search-field { min-width: 250px; }
  .consensus-head { display: none; }
  .consensus-row { grid-template-columns: 43px 1fr auto; min-height: 75px; gap: 8px; }
  .consensus-row .team-cell { grid-column: 1; grid-row: 1; }
  .consensus-row .team-cell > span { display: none; }
  .pick-number { display: none; }
  .player-cell { grid-column: 2; }
  .projection-cell { grid-column: 3; grid-template-columns: 50px; }
  .projection-cell > i { display: none; }
  .range-cell { grid-column: 2; margin-left: 43px; margin-top: -20px; }
  .range-cell b { display: none; }
  .trend { grid-column: 3; grid-row: 2; margin-top: -21px; }
  .row-arrow { display: block; position: absolute; right: 5px; top: 25px; color: var(--muted-2); }
  .intel-rail { grid-template-columns: 1fr 1fr; }
  .intel-rail .stable-card { display: none; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-card { min-height: 225px; }
  .data-table-head { display: none; }
  .data-table-row { grid-template-columns: 35px 1fr auto; min-height: 74px; }
  .data-table-row > span:nth-child(3), .data-table-row > span:nth-child(4), .data-table-row .probability { display: none; }
  .data-table-row .team-cell { grid-column: 3; }
  .data-table-row .trend { position: absolute; right: 17px; margin-top: 40px; }
  .library-row { grid-template-columns: 42px 1fr auto; }
  .library-row dl { display: none; }
  .library-row .button { grid-column: 3; grid-row: 1; }
  .trend-grid, .admin-grid { grid-template-columns: 1fr; }
  .trend-summary, .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .methodology-layout { grid-template-columns: 1fr; gap: 20px; }
  .method-nav { position: static; flex-direction: row; overflow: auto; }
  .method-nav span { display: none; }
  .method-nav a { white-space: nowrap; padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; }
  .source-table-head { display: none; }
  .source-row { grid-template-columns: 1.2fr 1fr; min-height: 80px; }
  .source-row > span:nth-child(2), .source-row > span:nth-child(4) { display: none; }
  .form-layout { grid-template-columns: 1fr; gap: 35px; }
  .player-page-layout { grid-template-columns: 1fr; }
  .entity-grid, .team-pick-grid { grid-template-columns: 1fr; }
  .source-selection-head { display: none; }
  .source-selection-row { grid-template-columns: 45px 1fr auto; }
  .source-selection-row > a:nth-child(3), .source-selection-row > span:nth-child(4) { display: none; }
  .compare-picker { grid-template-columns: 1fr; }
  .compare-shell { overflow-x: auto; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .sample-ribbon { justify-content: flex-start; overflow: auto; white-space: nowrap; padding-inline: 14px; }
  .sample-ribbon a { display: none; }
  .site-header { overflow: hidden; }
  .header-inner { width: 100%; padding-inline: 11px; }
  .brand-logo { width: 36px; height: 48px; }
  .primary-nav { gap: 14px; }
  .primary-nav a:nth-child(4) { display: none; }
  .header-actions .icon-button:last-child { display: none; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: 57px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-board { margin-inline: -5px; }
  .pulse-row { grid-template-columns: 22px 34px 1fr 34px; padding-inline: 10px; }
  .stat-grid strong { font-size: 28px; }
  .stat-grid > div { min-height: 72px; padding-inline: 16px; }
  .stat-grid > div:first-child { padding-left: 16px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2 { font-size: 31px; }
  .filter-dock { margin-inline: -14px; border-radius: 0; border-left: 0; border-right: 0; padding-left: 14px; }
  .filter-dock select { min-width: 125px; }
  .search-field { min-width: 230px; }
  .result-count { display: none; }
  .intel-rail { grid-template-columns: 1fr; }
  .consensus-row { padding-inline: 10px; }
  .page-hero { min-height: 285px; }
  .page-hero h1 { font-size: 54px; }
  .split-heading { align-items: start; flex-direction: column; }
  .hero-metric { display: none; }
  .context-bar { overflow-x: auto; }
  .context-bar span { white-space: nowrap; }
  .context-bar a { display: none; }
  .library-filters .search-field { min-width: 265px; }
  .library-row { grid-template-columns: 38px 1fr; gap: 12px; padding: 14px; }
  .library-row .button { grid-column: 2; grid-row: 2; justify-self: start; min-height: 32px; }
  .publication-mark { width: 34px; height: 34px; }
  .trend-summary, .admin-stats { grid-template-columns: 1fr 1fr; }
  .trend-summary > div, .admin-stats > div { padding: 14px; }
  .trend-item { grid-template-columns: 22px 1fr auto; }
  .from-to { display: none; }
  .chart-axis { margin-left: 105px; }
  .spread-row { grid-template-columns: 90px 1fr; gap: 10px; }
  .spread-row > em { display: none; }
  .method-intro dl { grid-template-columns: 1fr 1fr; gap: 15px 0; }
  .method-intro dl div:nth-child(3) { padding-left: 0; border-left: 0; }
  .method-copy > section { padding-left: 37px; }
  .formula { flex-wrap: wrap; line-height: 1.5; }
  .source-callout { align-items: start; flex-direction: column; }
  .source-row { grid-template-columns: 1fr; padding-block: 12px; }
  .source-row > span:nth-child(5), .source-row > span:nth-child(6) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .correction-form { margin-inline: -5px; padding: 20px; }
  .form-heading { align-items: start; flex-direction: column; gap: 5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand, .footer-note { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .profile-stats { grid-template-columns: 1fr 1fr; gap: 15px 0; }
  .mock-detail-row { grid-template-columns: 32px 42px 1fr; padding-inline: 10px; }
  .mock-detail-row > span:nth-child(4) { display: none; }
  .player-page-heading { align-items: flex-start; flex-direction: column; }
  .player-page-avatar { width: 72px; height: 72px; flex-basis: 72px; font-size: 22px; }
  .profile-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .player-profile-head { padding-inline: 20px; }
  .profile-body { padding-inline: 20px; }
  .alternatives { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
