:root {
  color-scheme: light;
  --ink: #172d30;
  --dim: #556568;
  --line: #d5dcd9;
  --orange: #ff884b;
  --paper: #f5f7f5;
  --section: #fff;
  --display: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
  font: 100%/1.45 'Inter', 'Roboto', system-ui, sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; color: var(--ink); background: var(--paper) }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer }
button, a, input { -webkit-tap-highlight-color: transparent }
:focus-visible { outline: 3px solid #dd6927; outline-offset: 3px }
[hidden] { display: none !important }
.wrap { width: min(100% - 4rem, 1200px); margin-inline: auto }
.skip { position: fixed; left: 1rem; top: -10rem; background: white; z-index: 5; padding: .7rem }
.skip:focus { top: .5rem }
.masthead { background: #fff }
.masthead-inner { display: flex; align-items: center; min-height: 68px; gap: 1.25rem }
.masthead-name { display: flex; align-items: center; gap: 1.25rem }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: italic 900 1.85rem/1 var(--display); letter-spacing: -.055em; text-transform: uppercase }
.ball { position: relative; display: inline-block; width: 1.85rem; aspect-ratio: 1; border-radius: 50%; background: var(--orange); transform: rotate(-28deg); overflow: hidden }
.ball::before, .ball::after { content: ''; position: absolute; border: 1.6px solid var(--ink); border-radius: 50%; width: 100%; height: 130%; top: -18% }
.ball::before { right: 62% }
.ball::after { left: 44% }
.edition { font-size: .875rem; color: var(--dim); padding-left: 1.25rem; border-left: 1px solid var(--line) }
.connection { margin-left: auto; font-size: .8125rem; font-weight: 600 }
.connection::before, .status.live::before { content: ''; display: inline-block; width: .43rem; height: .43rem; border-radius: 50%; margin-right: .45rem; background: #a6681b; vertical-align: .11em }
.connection[data-state="ready"]::before { background: #157b56 }
.connection[data-state="offline"]::before { background: #a63d2d }
.hero { background: #142d30; color: #fff; overflow: hidden; border-bottom: 4px solid var(--orange) }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 205px }
.hero-text { position: relative; z-index: 1; padding: 1.8rem 0 }
.eyebrow { display: flex; align-items: center; gap: .55rem; color: #ffc09a; font: 700 .8125rem/1.4 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .13em }
.rule { height: 2px; width: 23px; background: var(--orange) }
h1, h2, p, dl, dd, ol { margin: 0 }
h1 { font: 850 clamp(3.3rem, 6vw, 5rem)/1.12 var(--display); text-transform: uppercase; letter-spacing: -.055em; margin: .27rem 0 }
.hero p { color: #d5e0dd; font-weight: 500 }
.court { position: absolute; right: 0; width: min(46vw, 550px); height: 286px; border: 2px solid #5b817b; transform: rotate(-15deg) skewX(-9deg); color: #5b817b; background: repeating-linear-gradient(0deg, transparent 0 23px, #254343 24px); pointer-events: none }
.court::before, .court::after, .court i { position: absolute; display: block; border: 2px solid; pointer-events: none }
.court::before { content: ''; top: 0; bottom: 0; left: 34%; border-width: 0 0 0 2px }
.court .center-ring { width: 80px; height: 80px; left: calc(34% - 39px); top: calc(50% - 40px); border-radius: 50% }
.court .arc { right: -2px; top: 5%; height: 90%; width: 38%; border-radius: 68% 0 0 68% }
.court .lane { width: 20%; height: 26%; right: -2px; top: 37% }
.court::after { content: ''; right: calc(20% - 38px); top: calc(50% - 38px); width: 72px; height: 72px; border-radius: 50% }
.court .hoop { width: 14px; height: 14px; right: 5%; top: calc(50% - 7px); border-radius: 50%; color: #f4a174 }
.main-body { min-height: 46vh; padding: 1.75rem 0 3.25rem }
.date-picker { display: flex; align-items: stretch; gap: 2px; padding: .3rem; background: white; border: 1px solid var(--line); border-radius: 8px }
.date-picker button { border: 0; border-radius: 5px; background: transparent }
#days { display: flex; flex: 1; gap: .2rem }
#days button { flex: 1; min-width: 0; display: grid; justify-items: center; gap: .1rem; padding: .45rem 0; color: var(--dim); font-size: .8125rem }
#days strong { font-size: .925rem; color: var(--ink); font-variant-numeric: tabular-nums }
#days button[aria-pressed="true"] { background: var(--ink); color: #dbe9e7 }
#days button[aria-pressed="true"] strong { color: white }
#days button:hover:not([aria-pressed="true"]), .date-picker .step:hover { background: var(--paper) }
.step { min-width: 42px }
.step i, .chevron { display: inline-block; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(135deg); vertical-align: .08em }
.next i, .chevron { transform: rotate(-45deg) }
.board-tools, .detail-lead { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: 1.7rem 0 .9rem }
h2 { font: 750 1.75rem/1.15 var(--display); letter-spacing: -.035em }
#total { color: var(--dim); font: 500 1.1rem/1 system-ui; vertical-align: middle; padding-left: .25rem }
#filters { display: flex; flex-wrap: wrap; gap: .15rem; padding: .2rem; background: #e6ebe8; border-radius: 6px }
#filters button { font-size: .875rem; line-height: 1.35; font-weight: 650; background: none; border: 0; border-radius: 4px; padding: .38rem .82rem; color: var(--dim) }
#filters button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 4px #1d302419 }
#market-coverage { margin-bottom: .9rem; font-size: .875rem; color: var(--dim) }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem }
#scoreboard-ad { order: 1; grid-column: 1 / -1; min-width: 0; text-align: center }
#scoreboard-ad .adsbygoogle { display: block }
#scoreboard-ad small { display: none; color: var(--dim); font-size: .72rem }
#scoreboard-ad:has([data-ad-status="filled"]) small { display: block; margin-bottom: .35rem }
.ad-load-failed #scoreboard-ad, #scoreboard-ad:has([data-ad-status="unfilled"]) { display: none }
.cards:has(#scoreboard-ad) > article:nth-of-type(n+7) { order: 2 }
.game-card, .panel, .notice { background: var(--section); border: 1px solid var(--line); border-radius: 8px }
.game-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; transition: border-color .15s }
.game-card:hover { border-color: #70827d }
.game-top, .game-bottom, .team-row, .detail-lead, .quote-title { display: flex; align-items: center }
.game-top { padding: 1rem 1.1rem 0; gap: .6rem }
.status { font: 700 .77rem/1.5 system-ui; text-transform: uppercase; letter-spacing: .045em; color: #45525b }
.status.live { color: #963510 }
.status.live::before { background: #df652b }
.clock, .broadcast { font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--dim) }
.broadcast { margin-left: auto; text-align: right }
.scores { margin-bottom: auto; padding: .65rem 1.1rem .75rem }
.team-row { gap: .7rem; min-height: 43px; font-variant-numeric: tabular-nums }
.team-icon { display: grid; place-items: center; width: 2.55rem; flex-shrink: 0; height: 1.9rem; border-radius: 3px; border-left: 3px solid var(--team, #375861); background: color-mix(in srgb,var(--team, #375861) 9%,white); color: color-mix(in srgb,var(--team, #375861) 62%,#0d1921); font: italic 800 .80rem/1 var(--display); text-transform: uppercase; letter-spacing: -.04em }
.team-name { font-size: 1rem; font-weight: 680; line-height: 1.22 }
.team-name small { font-size: .75rem; color: var(--dim) }
.favorite-label { display: inline-block; padding: .15em .5em; border-radius: .3em; background: #d8efe2; color: #185739; font: 700 .72rem/1.4 system-ui, sans-serif; vertical-align: middle; white-space: nowrap }
.score { margin-left: auto; font: 720 1.6rem/1 var(--display); letter-spacing: -.04em }
.card-odds { margin: 0 1.1rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .78rem }
.card-odds table { font-size: inherit; line-height: 1.25; table-layout: fixed }
.card-odds th, .card-odds td { padding: .2rem 0 .2rem .25rem; border: 0; vertical-align: top; overflow-wrap: anywhere }
.card-odds th:first-child { width: 42%; padding-left: 0 }
.card-odds thead th { font-size: inherit; color: var(--ink); font-weight: 680 }
.card-odds small { display: block; font-size: .7rem; font-weight: 400; color: var(--dim) }
.card-odds .odds-prices { font-weight: 650 }
.card-odds .favored-odds { background: #eff8f2; padding-right: .25rem; border-radius: .25rem }
.favored-odds .odds-prices, .favored-odds dd { color: #185739 }
.odds-empty { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem; color: var(--dim) }
.odds-empty strong { color: var(--ink); font-weight: 680 }
.game-bottom { justify-content: space-between; gap: .8rem; border-top: 1px solid #e5e9e6; padding: .62rem 1.1rem; font-size: .78rem; color: var(--dim) }
.game-bottom span:last-child { color: var(--ink); font-weight: 650 }
.game-bottom i { margin-left: .2rem }
.foot { display: flex; justify-content: space-between; align-items: center; padding-block: 1.2rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .8125rem }
.foot a { font: italic 800 1.12rem var(--display); text-transform: uppercase; letter-spacing: -.04em; color: var(--ink) }
.notice { padding: 2rem; color: var(--dim); display: flex; align-items: center; gap: 1rem }
.notice button { background: white; border: 1px solid var(--line); border-radius: 4px; padding: .3rem .7rem }
.detail-lead { margin: 0 0 1rem; font-size: .875rem; color: var(--dim) }
.back-link { color: var(--ink); font-weight: 650 }
.back-link i { transform: rotate(135deg); margin-right: .35rem }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.1rem }
.detail-col { display: flex; flex-direction: column; min-width: 0; gap: 1rem }
.panel { padding: 1.2rem }
.panel h2 { font-size: 1.47rem; margin-bottom: .9rem }
.matchup .game-top { padding: 0 0 .6rem }
.matchup .team-row { padding: .3rem 0 }
.matchup .score { font-size: 2rem }
.game-location, .sport-time, .quote-meta { color: var(--dim); font-size: .8125rem }
.game-location { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .7rem }
.sport-time { margin-top: .25rem }
.stale { color: #984515 }
.empty-copy { color: var(--dim); font-size: .94rem }
.table-scroll { overflow-x: auto }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9375rem }
th,td { text-align: right; padding: .5rem .25rem; border-top: 1px solid var(--line) }
th:first-child { text-align: left; font-weight: 550 }
thead th { color: var(--dim); font-size: .8125rem }
.quote+.quote { border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .8rem }
.quote-title { justify-content: space-between; gap: .5rem }
.quote-title > span { font-size: .82rem; color: var(--dim) }
dl { display: flex; gap: 2rem; margin: .7rem 0 }
dt { font-size: .8rem; font-weight: 600; color: var(--dim) }
dd { font: 750 1.5rem var(--display); font-variant-numeric: tabular-nums }
.quote-meta { text-transform: capitalize }
.plays { list-style: none; padding: 0 }
.plays li { border-top: 1px solid var(--line); padding: .6rem 0 }
.plays span { display: block; color: var(--dim); font-size: .8125rem; font-weight: 600 }
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .court { right: -4rem; opacity: .6 }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem) }
  .masthead-inner { min-height: 57px }
  .masthead-name { flex-direction: column; align-items: flex-start; gap: .05rem; padding-block: .3rem }
  .edition { padding: 0; border: 0; font-size: .7rem }
  .brand { font-size: 1.5rem }
  .brand .ball { width: 1.55rem }
  .hero-inner { min-height: 160px }
  .hero-text { padding: 1.5rem 0 }
  .court { width: 85vw; right: -40vw; opacity: .3; height: 230px }
  h1 { font-size: clamp(2.85rem, 11vw, 3.8rem) }
  .hero p { font-size: .9rem }
  .main-body { padding: 1rem 0 2rem }
  .board-tools { align-items: flex-start; flex-direction: column; margin-top: 1.25rem }
  #days button[data-offset="3"],#days button[data-offset="2"] { display: none }
  .cards, .detail-grid { grid-template-columns: minmax(0,1fr) }
  .cards { gap: .75rem }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important } }
#league-picker { font-size: .8125rem; color: var(--dim) }
#league-picker select { font: inherit; color: var(--ink); border-radius: 4px; border: 1px solid var(--line); background: white; padding: .32rem }
@media (max-width: 650px) {
  .masthead-inner { gap: .5rem; flex-wrap: wrap }
  #league-picker span { display: none }
}
