:root { color-scheme: light; font-family: system-ui, sans-serif; color: #202124; background: #fff; }
@font-face { font-family: Anton; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/anton.fd9301f2837c99df.ttf') format('truetype'); }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1240px; margin: auto; padding: 24px; }
header, .games-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h1 { margin: 0; font-size: 1.7rem; }
h2 { font-size: 1.25rem; }
nav { display: flex; align-items: center; gap: 12px; }
a { color: #202124; }
button { font: inherit; padding: 6px 12px; border: 1px solid #d1d5db; border-radius: 4px; background: #fff; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #202124; outline-offset: 3px; }
[hidden] { display: none !important; }
#status, #games-note, .game-time, .odds-time { color: #5f6368; }
#games-note { font-size: .9rem; line-height: 1.5; }
.game { border-top: 1px solid #d1d5db; padding: 22px 0; min-width: 0; }
.game-time { margin: 0 0 18px; font-size: 12px; line-height: 1.4; text-align: center; }
.showcase { container-type: inline-size; width: 100%; min-width: 0; }
.pill-surface { position: relative; padding: 14px 25px 12px; border-radius: 100px; background: #fff; border: 1px solid #d1d5db; box-shadow: 0 12px 35px -18px #20212433; }
.pill-surface > .odds-time { margin: 18px 20px 0; font-size: 11px; line-height: 1.4; text-align: center; }
.pill-surface[data-expanded="true"] { border-radius: 42px 42px 0 0; box-shadow: none; }
.matchup {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.35fr) minmax(0, 1.1fr);
  width: 100%; align-items: center; gap: 4px; color: #202124;
}
.logo-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; min-width: 0; }
.team-logo { width: clamp(48px, 8cqw, 84px); height: clamp(48px, 8cqw, 84px); object-fit: contain; max-width: 100%; border: 0; border-radius: 0; background: transparent; }
.logo-fallback { color: #5f6368; font-size: 11px; text-align: center; }
.game-totals-title { display: none; }
.team-side, .game-totals { display: contents; }
.away-side .logo-cell { grid-area: 1 / 1; }
.away-side .moneyline { grid-area: 1 / 2; }
.away-side .puckline { grid-area: 1 / 3; }
.game-totals .total-over { grid-area: 1 / 4; }
.matchup > .vs { grid-area: 1 / 5; }
.game-totals .total-under { grid-area: 1 / 6; }
.home-side .puckline { grid-area: 1 / 7; }
.home-side .moneyline { grid-area: 1 / 8; }
.home-side .logo-cell { grid-area: 1 / 9; }
.market { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-width: 0; white-space: nowrap; font-variant-numeric: tabular-nums; position: relative; }
.market-label { color: #5f6368; font-size: clamp(8px, 1.08cqw, 12px); font-weight: 550; letter-spacing: .5px; text-transform: uppercase; }
.market-price { color: #202124; font-size: clamp(17px, 2.6cqw, 29px); font-weight: 570; letter-spacing: -.8px; line-height: 1; }
.moneyline .market-price { font-size: clamp(21px, 3.6cqw, 40px); font-weight: 650; letter-spacing: -1.3px; }
.market-price.compact-price { font-size: clamp(10px, 2cqw, 23px); letter-spacing: -.7px; }
.odds-format { position: absolute; top: calc(100% + 4px); font-size: 7px; color: #5f6368; letter-spacing: .3px; }
.vs { color: #70757a; font-size: clamp(22px, 3.3cqw, 36px); font-weight: 600; text-align: center; line-height: 1; }
.selected-moneyline { background: #f1f2f4; border: 1px solid #d1d5db; border-radius: 15px; padding: 13px 0; margin: -13px 2px; }
.selected-moneyline .market-price, .selected-moneyline .market-label { color: #202124; }
.team-summaries { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 18px; margin: 0 25px 12px; }
.team-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; color: #5f6368; }
.home-summary { justify-content: flex-end; text-align: right; }
.team-name { font-size: 12px; font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; min-width: 0; }
.picked-team { color: #202124; }
.pick-badge { padding: 5px 8px; border-radius: 5px; background: #f1f2f4; color: #202124; font-size: 9px; font-weight: 750; text-transform: uppercase; white-space: nowrap; }
.side-badge { padding: 4px 6px; border-radius: 5px; background: #f1f2f4; font-size: 8px; font-weight: 650; text-transform: uppercase; }
.guest-matchup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guest-matchup .team-logo { width: clamp(64px, 10cqw, 88px); height: clamp(64px, 10cqw, 88px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.odds-time { margin: 12px 0 0; font-size: .8rem; overflow-wrap: anywhere; }
.scorers-toggle { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; color: #202124; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.scorers-toggle:hover { box-shadow: inset 0 0 0 1px #d1d5db; }
.scorers-toggle:focus-visible { outline: 3px solid #202124; outline-offset: 3px; }
.scorers { margin-top: 0; padding: 20px 28px; border: 1px solid #d1d5db; border-top: 0; border-radius: 0 0 24px 24px; }
.scorers h3 { margin: 0 0 12px; font-size: 1rem; }
.scorers ol { margin: 0; padding-left: 24px; }
.scorers li { padding: 7px 0; font-size: .9rem; }
.scorer-name { overflow-wrap: anywhere; }
.scorer-price { float: right; margin-left: 10px; font-variant-numeric: tabular-nums; font-weight: 650; }
.scorers p { margin: 12px 0 0; }
/* Mobile is two team rows plus a shared game-total section, never tiny columns. */
@container (max-width: 760px) {
  .pill-surface { padding: 14px 18px 12px; border-radius: 24px; }
  .pill-surface[data-expanded="true"] { border-radius: 24px 24px 0 0; }
  .pill-surface > .odds-time { margin: 18px 12px 0; }
  .game-time { margin-bottom: 20px; }
  .matchup { display: flex; flex-direction: column; gap: 0; }
  .team-side { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); align-items: center; width: 100%; gap: 12px; padding-bottom: 18px; }
  .home-side { padding-top: 18px; border-top: 1px solid #d1d5db; }
  .matchup .team-side > *, .matchup .game-totals > * { grid-area: auto; }
  .matchup > .vs { display: none; }
  .team-logo { width: 64px; height: 64px; }
  .market { gap: 9px; }
  .market-label { font-size: 11px; letter-spacing: .3px; }
  .market-price { font-size: 24px; letter-spacing: -.6px; }
  .moneyline .market-price { font-size: 28px; letter-spacing: -1px; }
  .market-price.compact-price { font-size: 18px; letter-spacing: -.5px; }
  .selected-moneyline { min-height: 82px; padding: 14px 3px; margin: 0; border-radius: 12px; }
  .game-totals { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid #d1d5db; padding-top: 16px; }
  .matchup .game-totals-title { display: block; grid-column: 1 / -1; color: #5f6368; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-align: center; }
  .team-summaries { margin: 0 8px 12px; gap: 12px; }
  .team-summary { flex-direction: column; align-items: flex-start; gap: 4px; }
  .home-summary { align-items: flex-end; }
  .team-name { font-size: 12px; }
  .guest-surface { border-radius: 100px; padding: 14px 22px 20px; }
  .guest-matchup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guest-matchup .team-logo { width: 76px; height: 76px; }
}
@media (max-width: 700px) {
  main { padding: 18px 12px; }
  header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
  .games-heading h2 { min-width: 0; }
  .scorers { padding: 14px; }
}

/* Site navigation and account controls do not change the matchup pill. */
.site-header { align-items: center; padding: 4px 0 14px; }
.brand { font-family: Anton, Impact, 'Arial Narrow', sans-serif; font-weight: 400; font-synthesis: none; font-size: clamp(32px, 6.2vw, 76px); line-height: 1.2; letter-spacing: -.02em; min-width: 0; }
.brand-link { color: inherit; text-decoration: none; }
.site-header nav { flex: 0 0 auto; }
.profile-link { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #d1d5db; border-radius: 50%; background: #fff; color: #202124; }
.profile-link svg { width: 30px; height: 30px; }
.profile-link:hover { background: #f1f2f4; border-color: #d1d5db; }
.games-heading { margin: 4px 0 20px; }
.games-heading h2 { margin: 0; font-size: clamp(17px, 2vw, 22px); font-weight: 600; letter-spacing: -.4px; }
.date-trigger { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #202124; font: inherit; letter-spacing: inherit; text-align: left; }
.date-trigger svg { width: 17px; height: 17px; flex: 0 0 auto; }
.date-trigger:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
#games-status:empty, .profile-page #status:empty { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #d1d5db; border-radius: 999px; font: 600 14px/1.4 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button.quiet { color: #202124; background: #fff; }
.button.primary { color: #fff; background: #202124; border-color: #202124; }
.button.quiet:hover { background: #f1f2f4; border-color: #d1d5db; }
.button.primary:hover { background: #3c4043; border-color: #3c4043; }
.button:disabled { cursor: wait; opacity: .6; }
.profile-page { max-width: 1000px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 12px; color: #202124; font-size: 14px; text-underline-offset: 4px; }
.profile-heading, .account-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.profile-heading { margin-bottom: 20px; }
.profile-heading h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.7px; }
.profile-card { padding: 24px; border: 1px solid #d1d5db; border-radius: 24px; margin: 16px 0; }
.profile-card h2 { margin: 0; font-size: 19px; font-weight: 650; }
.profile-card p, .profile-page > p { color: #5f6368; line-height: 1.6; }
.profile-card p:last-child { margin-bottom: 0; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tier-badge { padding: 5px 12px; color: #202124; background: #f1f2f4; border-radius: 999px; font-size: 13px; font-weight: 650; }
.pill-surface.pick-won { background: #edf7f0; border-color: #9dbfab; }
.pill-surface.pick-lost { background: #fdf0f0; border-color: #d8aaaa; }
.pick-timing { color: #5f6368; font-size: 11px; line-height: 1.4; }
.game-result { color: #202124; }
.calendar-dialog { width: min(380px, calc(100% - 24px)); max-height: calc(100% - 32px); overflow: auto; padding: 16px; color: #202124; background: #fff; border: 1px solid #d1d5db; border-radius: 24px; }
.calendar-dialog::backdrop { background: rgb(32 33 36 / 25%); }
.calendar-heading, .calendar-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.calendar-heading h2 { margin: 0; font-size: 18px; }
.calendar-navigation { margin: 12px 0; }
.calendar-navigation h3 { margin: 0; font-size: 16px; }
.calendar-icon { width: 44px; height: 44px; flex: 0 0 auto; padding: 0; font-size: 22px; color: #202124; background: #fff; border-color: #d1d5db; border-radius: 50%; }
.calendar-weekdays, .calendar-grid [role="row"] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.calendar-weekdays { color: #5f6368; font-size: 12px; text-align: center; margin-bottom: 4px; }
.calendar-day { height: 40px; min-width: 0; margin: 2px 0; padding: 0; position: relative; color: #202124; background: #fff; border-color: transparent; border-radius: 10px; font-size: 14px; }
.calendar-day[aria-current="date"] { border-color: #202124; }
.calendar-day:hover:not(:disabled), .calendar-icon:hover:not(:disabled) { background: #f1f2f4; }
.calendar-day[aria-selected="true"] { color: #fff; background: #202124; }
.calendar-day[aria-selected="true"]:hover:not(:disabled) { background: #3c4043; }
.calendar-day[data-available="true"]::after { content: ''; position: absolute; bottom: 3px; left: calc(50% - 1.5px); width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.calendar-day:disabled, .calendar-icon:disabled { cursor: default; opacity: .35; }
.calendar-dialog p { font-size: 13px; line-height: 1.5; color: #5f6368; }
.calendar-legend { margin-bottom: 0; }
.calendar-actions { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 480px) {
  .site-header { gap: 10px; }
  .profile-link { width: 44px; height: 44px; }
  .games-heading { gap: 8px; }
  #refresh { padding-inline: 12px; gap: 6px; }
  .profile-card { padding: 20px; }
  .profile-actions > .button { flex: 1 1 100%; }
}
