@font-face {
  font-family: "Line Display";
  src: url("./barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fcfcfd;
  --surface: #ffffff;
  --ink: #111318;
  --muted: #5f6570;
  --line: #d9dce3;
  --blue: #1748ff;
  --blue-soft: #edf1ff;
  --green: #246143;
  --red: #b02735;
  --display: "Line Display", Impact, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; padding: 10px 16px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; min-height: 44px; }
button:disabled { cursor: not-allowed; opacity: .4; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.primary { background: var(--blue); color: white; border-color: var(--blue); }
.ghost { background: transparent; }
.danger { color: var(--red); }
.site-header, main, .site-footer { max-width: 1120px; margin: auto; }
.site-header { padding: 20px 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ink); }
.brand { font-size: 15px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; display: inline-block; width: 25px; height: 25px; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; }
.brand-mark::before { left: 0; right: 0; top: 12px; height: 2px; background: var(--ink); }
.brand-mark::after { width: 5px; height: 23px; left: 10px; top: 1px; background: var(--blue); transform: skew(-17deg); }
.season-tag { font: 10px var(--mono); color: var(--muted); letter-spacing: .04em; }
main { min-height: 68vh; padding: 36px 32px 64px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7vw, 80px); line-height: .95; letter-spacing: -.015em; text-transform: uppercase; margin-bottom: 0; }
h2 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
h3 { font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
p { max-width: 70ch; }
.muted, .caption, .help, .section-note { color: var(--muted); }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 32px; }
.hero p { margin: 12px 0 0; color: var(--muted); }
.title-sport { display: block; font: 700 11px var(--mono); letter-spacing: .12em; margin-bottom: 9px; }
.title-main { display: block; white-space: nowrap; font-size: clamp(64px, 10vw, 112px); }
.title-slash { color: var(--blue); margin: 0 .025em; }
.deadline { font: 10px/1.6 var(--mono); flex-shrink: 0; color: var(--muted); text-align: right; padding-bottom: 4px; }
.deadline span { text-transform: uppercase; letter-spacing: .06em; }
.deadline span, .deadline strong { display: block; }
.deadline strong { color: var(--ink); font-weight: 500; margin-top: 2px; font-size: 11px; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { border: 0; border-bottom: 2px solid transparent; padding: 8px 0 12px; color: var(--muted); }
.tabs button[aria-current="page"] { color: var(--blue); border-color: var(--blue); }
.section-note { margin-bottom: 18px; font-size: 12px; }
.info { border-left: 2px solid var(--blue); padding: 2px 0 2px 12px; color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.entry-navigation { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.text-link { font-size: 11px; font-weight: 600; }
.entry-navigation button { border: 0; padding: 8px 0 8px 12px; }
.entry-rules { padding: 20px 0 0; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-bottom: 2px solid var(--ink); border-radius: 0; background: var(--surface); color: var(--ink); min-height: 46px; min-width: 0; }
.field input { font-size: 16px; }
.name-panel { max-width: 360px; margin-bottom: 22px; }
.help { font-size: 11px; margin: 7px 0 0; }
.toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 12px 0; position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--ink); }
.progress-block { min-width: 130px; max-width: 300px; flex: 1; }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 7px; font: 10px var(--mono); text-transform: uppercase; }
.progress-meta strong { font-weight: 500; color: var(--blue); }
.progress-ticks { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; height: 19px; }
.progress-tick { position: relative; }
.progress-tick::before { content: ""; position: absolute; width: 100%; height: 3px; top: 8px; background: var(--line); }
.progress-tick[data-pick="over"]::before, .progress-tick[data-pick="under"]::before { background: var(--blue); height: 11px; }
.progress-tick[data-pick="over"]::before { top: 0; }
.progress-tick[data-pick="under"]::before { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.team-list { margin-top: 8px; }
.team-card { padding: 26px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.team-row-head { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.team-top h3 { font-size: 23px; margin: 0 0 6px; letter-spacing: -.045em; }
.team-history { font: 10px var(--mono); margin: 0; color: var(--muted); }
.team-choice { display: flex; align-items: center; gap: 26px; width: 340px; flex-shrink: 0; margin-bottom: 10px; }
.team-line { position: relative; height: 90px; flex: 1; min-width: 0; display: flex; justify-content: center; align-items: center; }
.team-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); }
.line-number { position: relative; background: var(--paper); padding: 0 10px; font: 800 88px/.95 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.line-caption { position: absolute; bottom: -9px; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.line-marker { position: absolute; width: 8px; height: 8px; top: calc(50% - 4px); right: 0; background: var(--blue); opacity: 0; }
.team-choice[data-pick="over"] .line-marker { opacity: 1; transform: translateY(-22px); }
.team-choice[data-pick="under"] .line-marker { opacity: 1; transform: translateY(22px); }
.team-choice[data-pick="over"] .line-number, .team-choice[data-pick="under"] .line-number { color: var(--blue); }
.pick-toggle { display: grid; grid-template-columns: 1fr; width: 112px; flex-shrink: 0; border: 1px solid var(--line); }
.pick-toggle button { padding: 9px 12px; border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; }
.pick-toggle button:first-child { border-bottom: 1px solid var(--line); }
.pick-toggle button[aria-pressed="true"] { background: var(--blue); color: white; }
.arrow { font-size: 17px; font-weight: 400; margin-right: 8px; }
.team-context { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.65; }
.team-notes { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.roster-notes { margin: 0; }
.roster-notes > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px; margin-bottom: 3px; }
.roster-notes dt { color: var(--ink); font: 10px/1.98 var(--mono); text-transform: uppercase; }
.roster-notes dd { margin: 0; }
.pick-label, .pick-summary { display: block; }
.pick-label { color: var(--ink); font: 10px/1.98 var(--mono); text-transform: uppercase; margin-bottom: 2px; }
details { margin-top: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }
.context-details { margin-top: 7px; padding: 0; border: 0; font-size: 11px; }
.context-details summary { width: fit-content; min-height: 26px; padding: 3px 0; font-weight: 400; }
.context-details p { margin: 8px 0; max-width: 80ch; }
.source-links { display: flex; gap: 5px 14px; flex-wrap: wrap; margin-top: 4px; }
.caption { font-size: 11px; margin-top: 20px; }
.caption + .caption { margin-top: 8px; }
.table-wrap { overflow: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th, td { padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
th { color: var(--muted); font: 10px var(--mono); text-transform: uppercase; font-weight: 400; }
tbody tr:last-child td { border-bottom: 0; }
.rank { font: 800 40px/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.empty { padding: 28px 0 36px; }
.empty::before { content: ""; display: block; width: 80px; height: 2px; background: linear-gradient(to right, var(--blue) 8px, var(--ink) 8px); margin-bottom: 18px; }
.empty h2 { font-size: 17px; font-weight: 500; margin: 0; }
.empty p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
#view > button { margin-top: 22px; }
.rules { max-width: 700px; }
.rules > h2 { margin-bottom: 24px; }
.rules section { margin-bottom: 22px; }
.rules h3 { margin-bottom: 6px; }
.rules p { font-size: 13px; }
.review > p { font-size: 13px; }
.review h2 { margin-bottom: 8px; }
.review h2, .receipt h2 { overflow-wrap: anywhere; }
.review td:nth-child(2), .review-side { white-space: nowrap; }
.review-side { color: var(--blue); font-size: 12px; }
.final-submit { margin-top: 24px; }
.confirmation { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 20px 0; cursor: pointer; }
.confirmation input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--blue); margin: 1px 0 0; }
.final-submit .actions { margin-top: 20px; }
.receipt { max-width: 680px; border-top: 2px solid var(--blue); padding-top: 24px; }
.receipt h2 { font-size: 26px; }
.receipt-id { color: var(--muted); font: 11px var(--mono); }
.receipt p { font-size: 13px; }
.receipt:focus, .review h2:focus { outline: none; }
.access-required, .closed-card { max-width: 680px; }
.access-required h2 { font-size: 20px; }
.closed-card { margin-bottom: 18px; }
.user-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
.user-name { font-weight: 700; }
.session-control { display: flex; align-items: center; gap: 16px; }
.admin-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.panel { padding: 0; }
.link-panel { max-width: 720px; margin-bottom: 36px; }
.link-panel h2, .entries-panel h2 { font-size: 20px; margin-bottom: 14px; }
.link-panel .field { max-width: 640px; }
.link-panel input { font: 12px var(--mono); }
.link-status { margin-bottom: 14px; }
.pill { font: 11px var(--mono); color: var(--muted); }
.pill.submitted { color: var(--blue); }
.login-wrap { max-width: 400px; padding: 18px 0; }
.login-wrap h1 { margin-bottom: 32px; }
.login-card { margin-bottom: 22px; }
.login-card button { min-width: 100px; }
.loading { padding: 32px 0; color: var(--muted); }
.notice { position: sticky; top: 0; z-index: 5; background: var(--blue); color: white; padding: 10px 24px; text-align: center; font-size: 12px; }
.notice.error { background: var(--red); }
.notice[hidden] { display: none; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 32px; border-top: 1px solid var(--ink); font: 10px var(--mono); color: var(--muted); }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 10; background: var(--ink); color: white; padding: 12px; }
.skip-link:focus { top: 8px; }
.revealed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; padding-top: 20px; font-size: 12px; }
.revealed-grid > div { display: flex; flex-direction: column; padding-bottom: 10px; min-width: 0; }
.revealed-pick { margin: 3px 0; }
.correct { color: var(--green); }
.incorrect { color: var(--red); }
@media (max-width: 700px), (pointer: coarse) {
  .site-header { padding: 12px 20px; }
  a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; vertical-align: middle; }
  .context-details summary, details > summary { min-height: 44px; display: list-item; padding: 12px 0; }
  .context-details { font-size: 12px; }
  .source-links a { padding: 0 3px; }
  .confirmation { min-height: 44px; align-items: center; }
}
@media (max-width: 700px) {
  main { padding: 28px 20px 44px; }
  .hero { display: block; margin-bottom: 24px; }
  .title-main { font-size: clamp(58px, 18vw, 90px); }
  .deadline { display: flex; gap: 10px; text-align: left; margin-top: 16px; padding-bottom: 0; }
  .deadline strong { margin-top: 0; }
  .team-row-head { display: block; }
  .team-top h3 { font-size: 22px; }
  .team-choice { width: 100%; margin-top: 18px; gap: 24px; }
  .line-number { font-size: 80px; }
  .team-notes { display: block; }
  .pick-note { margin-top: 10px; display: flex; gap: 12px; }
  .pick-label { flex-shrink: 0; }
  .team-context { margin-top: 20px; }
  .source-links { gap: 6px 16px; }
  .user-bar { align-items: flex-start; }
  .session-control { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .admin-tools { gap: 6px; }
  .admin-tools button { padding: 8px 10px; }
  .table-wrap th, .table-wrap td { padding: 12px 7px; }
  .table-wrap table { white-space: normal; }
  .table-wrap th { white-space: nowrap; font-size: 9px; }
  .table-wrap td { overflow-wrap: anywhere; vertical-align: top; }
  .rank { font-size: 30px; }
  .revealed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .site-footer { padding: 14px 20px; }
}
@media (max-width: 380px) {
  .toolbar { gap: 12px; }
  .progress-block { min-width: 100px; }
  .progress-ticks { gap: 2px; }
  .toolbar button { padding: 10px 12px; }
  .line-number { font-size: 70px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, a { transition: color .14s, background-color .14s, border-color .14s; }
  .line-marker { transition: transform .16s ease-out, opacity .16s ease-out; }
  .line-number { transition: color .14s; }
  button:not(:disabled):hover { border-color: var(--blue); }
  .primary:not(:disabled):hover { background: #1038d3; }
}
