/* Sports studio — page-local layout and renderer contract. Keep shared styles unchanged. */
html.sports-document {
  color-scheme: dark;
  touch-action: manipulation;
  scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px));
}
body.sports-page {
  --sports-bg: #090c12;
  --sports-panel: #111721;
  --sports-raised: #18212e;
  --sports-line: #283140;
  --sports-soft-line: #202936;
  --sports-text: #f5f7fb;
  --sports-muted: #a0acbd;
  --sports-accent: #ffc078;
  --sports-mint: #70e1c0;
  --sports-header-height: 72px;
  --sports-bottom-height: 60px;
  --ink: var(--sports-bg);
  --ember: var(--sports-accent);
  --mint: var(--sports-mint);
  --sky: #a8c6ff;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding-top: calc(var(--sports-header-height) + env(safe-area-inset-top, 0px));
  background: radial-gradient(ellipse 760px 430px at 90% 0, #18212f66, transparent 75%), var(--sports-bg);
  color: var(--sports-text);
  font: 400 14px/1.5 'IBM Plex Sans', system-ui, sans-serif;
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.sports-page *, body.sports-page *::before, body.sports-page *::after { box-sizing: border-box; }
body.sports-page :where(h1, h2, h3, p) { margin: 0; }
body.sports-page :where(button, input) { font: inherit; }
body.sports-page :where(button, a, input) { touch-action: manipulation; }
body.sports-page button { cursor: pointer; }
body.sports-page button:disabled { cursor: not-allowed; }
body.sports-page :where(button, a, input, [tabindex]):focus-visible { outline: 2px solid #a8c6ff; outline-offset: 3px; }
body.sports-page a { color: inherit; text-decoration: none; }
body.sports-page .hidden, body.sports-page [hidden] { display: none !important; }
body.sports-page .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.sports-page .sports-skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 18px; border-radius: 8px; background: var(--sports-text); color: var(--sports-bg); z-index: 1100; }
body.sports-page .sports-skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
body.sports-page .sports-noscript { position: fixed; inset: 20% 16px auto; z-index: 1100; padding: 24px; border: 1px solid var(--sports-line); border-radius: 14px; background: var(--sports-panel); text-align: center; }
body.sports-page .sports-noscript a { display: block; margin-top: 16px; color: var(--sports-mint); text-decoration: underline; }

/* A real red Pickr mark, on a light tile; never recolour or filter the artwork. */
body.sports-page .top-banner {
  position: fixed;
  inset: 0 0 auto;
  height: calc(var(--sports-header-height) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  z-index: 65;
  background: #0c1018f5;
  border-bottom: 1px solid var(--sports-soft-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.sports-page .sports-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 1320px; height: 100%; margin-inline: auto; }
body.sports-page .sports-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 9px; min-height: 44px; }
body.sports-page .sports-brand-tile { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffffd9; border-radius: 10px; background: #fbf8f2; }
body.sports-page .sports-brand-tile img { width: 30px; height: 30px; object-fit: contain; }
body.sports-page .sports-brand-wordmark { color: #fff; font: 700 26px/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: -1.1px; }
body.sports-page .sports-primary-nav { display: none; }
body.sports-page .banner-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
body.sports-page .banner-balances { min-width: 0; }
body.sports-page .banner-bal { display: flex; align-items: center; gap: 7px; padding: 5px 10px; min-height: 44px; border: 1px solid #29483f; border-radius: 10px; background: #11251f; color: var(--sports-mint); }
body.sports-page .bal-icon { width: 18px; height: 18px; flex-shrink: 0; }
body.sports-page .sports-balance-copy { display: flex; flex-direction: column; min-width: 0; }
body.sports-page .sports-balance-label { color: #bed4cc; font-size: 10px; line-height: 1.2; }
body.sports-page #headerTokens { max-width: 108px; overflow-wrap: anywhere; font: 700 15px/1.25 'Space Grotesk', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
body.sports-page .banner-player { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; border-radius: 10px; }
body.sports-page .banner-player:hover { background: #ffffff08; }
body.sports-page .banner-player .pickr-avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sports-raised); }
body.sports-page .banner-player .pickr-avatar { overflow: hidden; }
body.sports-page .banner-player .pickr-avatar :is(.avatar-art, .avatar-portrait) { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
body.sports-page .banner-name { display: none; color: #d7dfe9; font-size: 13px; }

/* Compact introduction, then the actual game board. */
body.sports-page .page-main { width: 100%; padding: 28px max(12px, env(safe-area-inset-right, 0px)) 32px max(12px, env(safe-area-inset-left, 0px)); }
body.sports-page .sports-board { width: 100%; max-width: 1320px; margin-inline: auto; }
body.sports-page :where(.sports-layout, .sports-main-column, .sports-board) { min-width: 0; }
body.sports-page .sports-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
body.sports-page .sports-intro { padding-bottom: 22px; }
body.sports-page .sports-intro-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.sports-page .sports-kicker { color: var(--sports-muted); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
body.sports-page .sports-title { margin-top: 5px; font: 700 32px/1.12 'Space Grotesk', system-ui, sans-serif; letter-spacing: -1.2px; }
body.sports-page .sports-subtitle { margin-top: 7px; color: var(--sports-muted); font-size: 13px; }
body.sports-page .sports-help-btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 6px; min-height: 44px; padding: 0 10px; border: 1px solid var(--sports-line); border-radius: 10px; background: #ffffff03; color: #d6deea; font-size: 12px; font-weight: 500; }
body.sports-page .sports-help-icon { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid #8290a4; border-radius: 50%; font-size: 11px; }
body.sports-page .sports-help-btn:hover { background: var(--sports-raised); border-color: #506078; color: #fff; }
body.sports-page .sports-metrics { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 16px; }
body.sports-page .sports-metric { display: flex; align-items: center; gap: 5px; }
body.sports-page .sports-metric svg { width: 16px; height: 16px; margin-right: 2px; color: var(--sports-accent); }
body.sports-page .sports-metric-label { color: var(--sports-muted); font-size: 12px; }
body.sports-page .sports-metric-value { font: 700 13px/1.4 'Space Grotesk', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
body.sports-page .sports-controls { padding: 10px; border: 1px solid var(--sports-line); border-radius: 16px; background: #101620; }
body.sports-page #sportTabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
body.sports-page .sport-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--sports-muted); font-size: 12px; font-weight: 600; transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
body.sports-page #sportTabs .sport-tab { flex-direction: column; gap: 3px; min-height: 58px; padding: 7px 0; font-size: 11px; }
body.sports-page .sport-tab-icon { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; font-size: 18px; line-height: 1; }
body.sports-page .sport-tab:hover:not(:disabled) { background: #ffffff07; color: #fff; }
body.sports-page .sport-tab.bg-red-600, body.sports-page .sport-tab[aria-pressed="true"] { border-color: #526174; background: #263141; color: #fff; box-shadow: inset 0 -2px 0 var(--sports-accent); }
body.sports-page .sport-tab.is-disabled, body.sports-page .sport-tab:disabled { opacity: .48; cursor: not-allowed; }
body.sports-page .date-strip { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)) 44px; gap: 3px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--sports-line); user-select: none; }
body.sports-page .date-nav, body.sports-page .date-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 48px; padding: 5px 2px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #c5cfdd; font-size: 12px; font-weight: 600; line-height: 1.25; }
body.sports-page .date-nav { border-color: var(--sports-line); }
body.sports-page .date-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.sports-page .date-day span { display: block; color: var(--sports-muted); font-size: 10px; font-weight: 400; }
body.sports-page .date-day.is-selected, body.sports-page .date-day[aria-pressed="true"] { border-color: #805c37; background: #34291e; color: #ffe2bd; }
body.sports-page .date-day.is-selected span { color: #ffd1a1; }
body.sports-page :where(.date-nav, .date-day):hover:not(:disabled):not([aria-disabled="true"]) { background: #ffffff0a; }
body.sports-page :where(.date-nav, .date-day):is(:disabled, [aria-disabled="true"]) { opacity: .4; cursor: not-allowed; }
body.sports-page .date-swipe-hint { margin-top: 9px; color: var(--sports-muted); text-align: center; font-size: 10px; }
body.sports-page #soccerLeagueTabs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; padding: 8px; border: 1px solid var(--sports-line); border-radius: 12px; background: var(--sports-panel); }
body.sports-page #soccerLeagueTabs .sport-tab { flex: 0 1 auto; padding-inline: 10px; font-size: 11px; }

/* Search is a real input, not a row of unavailable market filters. */
body.sports-page .sports-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 24px 0 14px; }
body.sports-page .sports-toolbar-heading { min-width: 0; }
body.sports-page .sports-toolbar-title-row { display: flex; align-items: center; gap: 10px; }
body.sports-page .sports-toolbar-title { font: 600 18px/1.3 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.4px; }
body.sports-page .sports-market-pill { padding: 3px 7px; border: 1px solid var(--sports-line); border-radius: 5px; color: var(--sports-muted); font-size: 10px; }
body.sports-page .sports-toolbar-copy { margin-top: 5px; color: var(--sports-muted); font-size: 12px; }
body.sports-page .sports-search { position: relative; display: flex; align-items: center; width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--sports-line); border-radius: 10px; background: #101620; }
body.sports-page .sports-search:focus-within { border-color: #a8c6ff; outline: 1px solid #a8c6ff; outline-offset: 1px; }
body.sports-page .sports-search > svg { position: absolute; left: 13px; width: 18px; height: 18px; stroke: var(--sports-muted); stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
body.sports-page #sportsSearch { width: 100%; min-width: 0; min-height: 46px; padding: 10px 45px 10px 40px; border: 0; border-radius: inherit; outline: 0; background: transparent; color: #fff; font-size: 16px; appearance: none; }
body.sports-page #sportsSearch::placeholder { color: var(--sports-muted); font-size: 13px; opacity: 1; }
body.sports-page #sportsSearch::-webkit-search-cancel-button { appearance: none; }
body.sports-page .sports-search-clear { position: absolute; right: 0; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--sports-muted); font-size: 24px; }
body.sports-page .sports-search-clear:hover { color: #fff; }

/* Renderer contract: full team names, stable cards, and high-contrast odds. */
body.sports-page #picksContainer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
body.sports-page #picksContainer > article { min-width: 0; margin: 0 !important; opacity: 1; }
body.sports-page .market-card { position: relative; min-width: 0; padding: 16px !important; border: 1px solid var(--sports-line) !important; border-radius: 16px !important; background: var(--sports-panel) !important; box-shadow: 0 5px 18px #00000014 !important; transition: border-color 160ms ease, box-shadow 160ms ease; }
body.sports-page .market-card:hover { border-color: #48566b !important; box-shadow: 0 8px 24px #00000028 !important; }
body.sports-page .sports-match-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
body.sports-page .sports-match-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--sports-muted); font-size: 11px; }
body.sports-page .sports-match-meta :where(time, span) { overflow-wrap: anywhere; }
body.sports-page .sports-match-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid #345a4f; border-radius: 5px; background: #152b25; color: var(--sports-mint); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
body.sports-page .sports-match-status.is-final { border-color: var(--sports-line); background: var(--sports-raised); color: var(--sports-muted); }
body.sports-page .sports-match-teams { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); align-items: center; gap: 8px; padding-bottom: 18px; }
body.sports-page .sports-team { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
body.sports-page .sports-team:last-child { align-items: flex-end; text-align: right; }
body.sports-page .sports-team-name { color: var(--sports-text); font: 600 14px/1.35 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.2px; white-space: normal; overflow-wrap: anywhere; }
body.sports-page .sports-team-record { color: var(--sports-muted); font-size: 11px; }
body.sports-page .sports-match-vs { color: var(--sports-muted); font: 500 10px/1 'Space Grotesk', system-ui, sans-serif; text-align: center; }
body.sports-page .sports-team-logo, body.sports-page .matchup-team-logo { display: grid; place-items: center; flex-shrink: 0; width: 44px !important; height: 44px !important; border: 1px solid var(--sports-line) !important; border-radius: 12px !important; background: #1b2533 !important; }
body.sports-page .sports-team-logo img, body.sports-page .matchup-team-logo img { width: 36px !important; height: 36px !important; object-fit: contain; }
body.sports-page .pick-team-logo { display: grid; place-items: center; width: 30px !important; height: 30px !important; flex-shrink: 0; border-radius: 8px !important; background: #ffffff08 !important; }
body.sports-page .pick-team-logo img { width: 25px !important; height: 25px !important; object-fit: contain; }
body.sports-page .sports-market-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--sports-muted); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
body.sports-page .sports-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.sports-page .sports-outcomes:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.sports-page .market-card .select-team { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px !important; min-width: 0; min-height: 82px; padding: 11px !important; border: 1px solid #364152 !important; border-radius: 10px !important; background: #18212e !important; color: var(--sports-text); text-align: left; transition: background 150ms ease, border-color 150ms ease, transform 150ms ease; }
body.sports-page .market-card .select-team:hover:not(:disabled) { border-color: #a17b4e !important; background: #262b31 !important; }
body.sports-page .market-card .select-team:active:not(:disabled) { transform: scale(.98); }
body.sports-page .market-card .select-team.selected, body.sports-page .market-card .select-team[aria-pressed="true"] { border-color: var(--sports-mint) !important; background: #18372e !important; box-shadow: inset 0 0 0 1px #70e1c033 !important; }
body.sports-page .market-card .select-team:disabled { cursor: not-allowed; opacity: .5; }
body.sports-page .sports-outcome-name { display: block; min-width: 0; max-width: 100%; padding-right: 12px; color: #dce4ef; font-size: 12px; font-weight: 500; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
body.sports-page .sports-outcome-odds, body.sports-page .odds-pill { display: inline-flex; align-items: center; gap: 4px; color: var(--sports-accent) !important; font: 700 16px/1.2 'Space Grotesk', system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
body.sports-page .odds-pill { padding: 3px 6px !important; border-radius: 5px !important; background: #ffc0780c !important; }
body.sports-page .sports-selection-check { position: absolute; top: 7px; right: 7px; display: none; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--sports-mint); color: #10251e; font-size: 10px; font-weight: 700; }
body.sports-page .select-team:is(.selected, [aria-pressed="true"]) .sports-selection-check { display: flex; }
body.sports-page .sports-match-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--sports-soft-line); }
body.sports-page :where(.sports-research-btn, .sports-live-link) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--sports-line); border-radius: 9px; background: #ffffff03; color: #cfdaeb; font-size: 12px; font-weight: 500; }
body.sports-page :where(.sports-research-btn, .sports-live-link):hover { background: #ffffff0a; border-color: #566880; color: #fff; }
body.sports-page :where(.sports-research-btn, .sports-live-link) svg { width: 14px; height: 14px; }
body.sports-page .sports-live-link { border-color: #345a4f; color: var(--sports-mint); }
body.sports-page .market-recommendation { border-radius: 10px !important; border-color: var(--sports-line) !important; background: #151d29 !important; }
body.sports-page .market-recommendation button { min-height: 44px; border-radius: 8px !important; }
body.sports-page .live-match-card { border-left-color: var(--sports-mint) !important; }
body.sports-page .sports-score { font: 700 28px/1 'Space Grotesk', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
body.sports-page .live-match-card .sports-team { flex-direction: column; align-items: flex-start; }
body.sports-page .live-match-card .sports-team:last-child { flex-direction: column; align-items: flex-end; }
body.sports-page .live-match-card .sports-score { max-width: 100%; overflow-wrap: anywhere; }
body.sports-page .sports-match-actions [data-live-updated] { min-width: 0; margin-right: auto; overflow-wrap: anywhere; font-size: 11px; }
body.sports-page .sports-market-label, body.sports-page .sports-team-record { overflow-wrap: anywhere; }
body.sports-page [data-live-updated] { color: var(--sports-muted) !important; }

/* Honest loading, empty, unavailable, and error states — never hide cards for animation. */
body.sports-page .sports-skeleton { position: relative; min-height: 220px; overflow: hidden; border: 1px solid var(--sports-line); border-radius: 16px; background: var(--sports-panel); }
body.sports-page .sports-skeleton-lines { position: absolute; inset: 20px; background: linear-gradient(#2c3645 0 0) 0 0/40% 8px no-repeat, linear-gradient(#202b3b 0 0) 0 30px/44px 44px no-repeat, linear-gradient(#202b3b 0 0) 100% 30px/44px 44px no-repeat, linear-gradient(#202b3b 0 0) 0 100%/48% 70px no-repeat, linear-gradient(#202b3b 0 0) 100% 100%/48% 70px no-repeat; }
body.sports-page .sports-skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, #ffffff04 50%, transparent 75%); animation: sports-loading 1.4s ease-in-out 3; }
body.sports-page .sports-empty, body.sports-page .sports-error { padding: 36px 20px; border: 1px solid var(--sports-line); border-radius: 16px; background: #101620; text-align: center; }
body.sports-page .sports-search-empty { grid-column: 1 / -1; }
body.sports-page .sports-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border: 1px solid var(--sports-line); border-radius: 13px; background: var(--sports-raised); font-size: 22px; }
body.sports-page :where(.sports-empty, .sports-error) h3 { font: 600 17px/1.4 'Space Grotesk', system-ui, sans-serif; }
body.sports-page :where(.sports-empty, .sports-error) p { max-width: 36ch; margin: 8px auto 0; color: var(--sports-muted); font-size: 13px; }
body.sports-page :where(.sports-empty, .sports-error) :where(button, a) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 16px; padding: 9px 16px; border: 1px solid #506078; border-radius: 9px; background: var(--sports-raised); color: #fff; }

/* Pick slip: scroll only the list; keep totals and submit reachable. */
body.sports-page .bet-slip { display: flex; flex-direction: column; min-width: 0; border: 1px solid #374356; border-radius: 16px; background: #111822; box-shadow: 0 16px 48px #00000040; }
body.sports-page .slip-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px 0; flex-shrink: 0; }
body.sports-page .slip-heading { display: flex; align-items: center; gap: 8px; min-width: 0; }
body.sports-page .slip-heading h2 { font: 600 18px/1.3 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.5px; }
body.sports-page .slip-ticket-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--sports-accent); }
body.sports-page #slipCountBadge { padding: 3px 6px; border: 1px solid #3b4c5f; border-radius: 6px; color: #d6e0ef; background: #202c3b; font-size: 10px; font-weight: 600; white-space: nowrap; }
body.sports-page .slip-close, body.sports-page .sports-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid var(--sports-line); border-radius: 10px; background: #ffffff04; color: #d7e0eb; }
body.sports-page :where(.slip-close, .sports-icon-button) svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
body.sports-page .slip-close:hover, body.sports-page .sports-icon-button:hover { background: #ffffff0d; }
body.sports-page .slip-caption { padding: 8px 16px 14px; color: var(--sports-muted); font-size: 11px; flex-shrink: 0; }
body.sports-page #betSlipList { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 0 16px 14px; scrollbar-width: thin; scrollbar-color: #405068 transparent; }
body.sports-page #betSlipList:empty { min-height: 130px; }
body.sports-page .slip-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 168px; padding: 24px 10px; color: var(--sports-muted); text-align: center; }
body.sports-page .slip-empty svg { width: 32px; height: 32px; color: #8899b0; }
body.sports-page .slip-empty strong, body.sports-page .slip-empty h3 { color: #e6ecf5; font: 600 14px/1.4 'Space Grotesk', system-ui, sans-serif; }
body.sports-page .slip-empty p { max-width: 26ch; color: var(--sports-muted); font-size: 12px; }
body.sports-page .slip-item, body.sports-page .slip-parlay-summary { padding: 12px; border: 1px solid var(--sports-line); border-radius: 12px; background: #17212e; }
body.sports-page .slip-item-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
body.sports-page .slip-item-header > div { min-width: 0; }
body.sports-page .slip-item-title { color: #f5f7fb; font: 600 14px/1.4 'Space Grotesk', system-ui, sans-serif; overflow-wrap: anywhere; }
body.sports-page .slip-item-matchup, body.sports-page .slip-item-meta, body.sports-page .slip-mode-note { color: var(--sports-muted) !important; font-size: 11px; line-height: 1.5; }
body.sports-page .slip-item-matchup, body.sports-page .slip-item-meta, body.sports-page .slip-mode-note { overflow-wrap: anywhere; }
body.sports-page .slip-item-odds { color: var(--sports-accent); font: 600 13px/1.5 'Space Grotesk', system-ui, sans-serif; }
body.sports-page .slip-stake-label { display: block; margin: 12px 0 6px; color: #bfcbda; font-size: 11px; }
body.sports-page .slip-stake-input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #48576c; border-radius: 9px; background: #0d141e; color: #fff; font: 600 16px/1.4 'Space Grotesk', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
body.sports-page .slip-stake-input::placeholder { color: var(--sports-muted); font: 400 12px/1.4 'IBM Plex Sans', system-ui, sans-serif; opacity: 1; }
body.sports-page .slip-stake-input:focus { border-color: #a8c6ff; outline: 2px solid #a8c6ff44; outline-offset: 1px; }
body.sports-page .slip-stake-input[aria-invalid="true"] { border-color: #ff9090; }
body.sports-page .slip-stake-error { color: #ffaaaa; font-size: 12px; }
body.sports-page .stake-input, body.sports-page #parlayStake { appearance: textfield; -moz-appearance: textfield; }
body.sports-page :where(.stake-input, #parlayStake)::-webkit-inner-spin-button, body.sports-page :where(.stake-input, #parlayStake)::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
body.sports-page .slip-remove-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; flex-shrink: 0; padding: 0; border: 1px solid #5b3b42; border-radius: 9px; background: #42232b55; color: #ffa9b2; font-size: 14px; }
body.sports-page .slip-remove-btn:hover { background: #5b2a35; border-color: #a9616e; }
body.sports-page .slip-quick-add { display: flex; gap: 8px; margin-top: 8px; }
body.sports-page .slip-quick-btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px 4px; border: 1px solid #53657d; border-radius: 8px; background: #202e40; color: #e4edf9; font-size: 12px; font-weight: 600; transition: background 150ms ease, border-color 150ms ease; }
body.sports-page .slip-quick-btn:hover:not(:disabled) { border-color: var(--sports-mint); background: #263d3b; }
body.sports-page .slip-quick-btn:active:not(:disabled) { background: #18372e; }
body.sports-page .slip-quick-btn:disabled { opacity: .5; }
body.sports-page .slip-modes { min-width: 0; }
body.sports-page .slip-modes > [role="group"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.sports-page .slip-mode-explainer { margin-top: 8px; }
body.sports-page .slip-mode-btn { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #46596f; border-radius: 9px; background: #1c2a3a; color: #d8e6f9; font-size: 12px; font-weight: 600; }
body.sports-page .slip-mode-btn:hover:not(:disabled) { background: #2a3b50; }
body.sports-page .slip-mode-btn[aria-pressed="true"] { border-color: var(--sports-mint); background: #18372e; color: #bcf8e6; box-shadow: inset 0 0 0 1px #70e1c033; }
body.sports-page .slip-mode-btn:disabled { opacity: .5; }
body.sports-page .slip-footer { flex-shrink: 0; padding: 0 16px 14px; background: #111822; border-radius: 0 0 16px 16px; }
body.sports-page .slip-clear { display: block; min-height: 44px; margin-left: auto; padding: 8px 0 8px 14px; border: 0; background: transparent; color: #e2b9bc; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
body.sports-page .slip-totals { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--sports-line); }
body.sports-page .slip-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--sports-muted); font-size: 12px; }
body.sports-page .slip-totals strong { color: #f4f7fb; font: 600 14px/1.4 'Space Grotesk', system-ui, sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.sports-page #slipTotalReturn { color: var(--sports-mint); }
body.sports-page #confirmBet { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 12px; border: 1px solid #9af4d9; border-radius: 10px; background: var(--sports-mint); color: #0e2920; font: 700 14px/1.4 'Space Grotesk', system-ui, sans-serif; transition: background 160ms ease, transform 160ms ease; }
body.sports-page #confirmBet:hover:not(:disabled) { background: #96eed4; }
body.sports-page #confirmBet:active:not(:disabled) { transform: scale(.99); }
body.sports-page #confirmBet:disabled { border-color: #3d4d47; background: #304d43; color: #c2d0cb; cursor: not-allowed; }
body.sports-page .slip-fineprint { margin-top: 10px; color: var(--sports-muted); font-size: 10px; text-align: center; }

/* Bottom dock sits above the five real destinations, including iPhone safe area. */
body.sports-page .pk-tabbar { z-index: 60; background: #0d131df5; border-top-color: var(--sports-line); }
body.sports-page .pk-tab { color: var(--sports-muted); }
body.sports-page .pk-tab.is-active { color: var(--sports-accent); }
body.sports-page .pk-tab.is-active::before { background: var(--sports-accent); box-shadow: none; }
body.sports-page .bet-slip-toggle { position: fixed; bottom: calc(var(--sports-bottom-height) + env(safe-area-inset-bottom, 0px) + 12px); left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); z-index: 64; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; padding: 9px 10px 9px 14px; border: 1px solid #46586a; border-radius: 13px; background: #1a2533; color: #fff; box-shadow: 0 7px 30px #00000066; }
body.sports-page .mobile-slip-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; text-align: left; }
body.sports-page .mobile-slip-label { font: 600 14px/1.3 'Space Grotesk', system-ui, sans-serif; }
body.sports-page .mobile-slip-potential { color: #b8c5d6; font-size: 10px; overflow-wrap: anywhere; }
body.sports-page .mobile-slip-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; flex-shrink: 0; padding: 10px 13px; border: 1px solid #91e9cd; border-radius: 8px; background: var(--sports-mint); color: #0c2a20; font-size: 12px; font-weight: 600; }
body.sports-page .bet-slip-overlay { position: fixed; inset: 0; z-index: 75; background: #03070db8; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
body.sports-page .bet-slip-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; width: 100%; max-width: 600px; margin-inline: auto; max-height: min(84dvh, calc(var(--slip-viewport-height, 100dvh) - 24px)); border-bottom: 0; border-radius: 20px 20px 0 0; transform: translateY(calc(100% + 30px)); visibility: hidden; pointer-events: none; transition: transform 220ms ease, visibility 220ms; }
body.sports-page .bet-slip-mobile.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
body.sports-page .bet-slip-mobile .slip-footer { padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); border-radius: 0; }
body.sports-page .slip-handle { width: 34px; height: 4px; margin: 9px auto 0; flex-shrink: 0; border-radius: 4px; background: #64738a; }
body.sports-page.slip-open { overflow: hidden; }
body.sports-page.slip-open .bet-slip-toggle { visibility: hidden; pointer-events: none; }

/* Help and placement must remain legible without Tailwind loading. */
body.sports-page #bettingHelpModal, body.sports-page #betPlacementOverlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 110; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: #03070dc9; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
body.sports-page .sports-help-card { display: flex; flex-direction: column; width: 100%; max-width: 520px; max-height: calc(100dvh - 48px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); padding: 20px; border: 1px solid #405068; border-radius: 18px; background: #131c29; box-shadow: 0 24px 100px #00000066; }
body.sports-page .sports-help-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; }
body.sports-page #bettingHelpTitle { margin-top: 6px; font: 600 23px/1.3 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.6px; }
body.sports-page .sports-help-copy { min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-top: 20px; color: #bcc9da; font-size: 13px; line-height: 1.7; }
body.sports-page .sports-help-copy > * + * { margin-top: 12px; }
body.sports-page .sports-help-copy h3 { margin-top: 20px; color: #fff; font-size: 14px; font-weight: 600; }
body.sports-page .sports-help-footer { display: flex; justify-content: flex-end; flex-shrink: 0; padding-top: 18px; }
body.sports-page #bettingHelpCloseFooter { min-width: 100px; min-height: 44px; padding: 10px 18px; border: 1px solid #91e9cd; border-radius: 9px; background: var(--sports-mint); color: #0c2a20; font-weight: 600; }
body.sports-page #betPlacementOverlay { z-index: 120; opacity: 0; transition: opacity 180ms ease; }
body.sports-page #betPlacementOverlay.is-visible { opacity: 1; }
body.sports-page #betPlacementOverlay.is-fading { opacity: 0; }
body.sports-page .sports-placement-card { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 320px; padding: 32px 24px; border: 1px solid #405068; border-radius: 18px; background: #131c29; color: #edf2fb; text-align: center; box-shadow: 0 20px 70px #00000066; }
body.sports-page #betPlacementIcon { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; }
body.sports-page .bet-spinner { width: 48px; height: 48px; border: 3px solid #405068; border-top-color: var(--sports-mint); border-radius: 50%; animation: sports-spin 850ms linear infinite; }
body.sports-page .bet-check, body.sports-page .bet-cross { width: 56px; height: 56px; }
body.sports-page .bet-pop { animation: sports-pop 180ms ease-out; }
body.sports-page #betPlacementText { font-size: 14px; font-weight: 600; }
body.sports-page #betPlacedToast { position: fixed; left: 16px; right: 16px; bottom: calc(154px + env(safe-area-inset-bottom, 0px)); z-index: 125; width: fit-content; max-width: min(440px, calc(100% - 32px)); margin-inline: auto; padding: 12px 18px; border: 1px solid #4d816e; border-radius: 12px; background: #173a2e; color: #ecfff6; box-shadow: 0 8px 30px #00000066; }

/* Footer has real clearance for both the slip dock and mobile navigation. */
body.sports-page .footer-safe { margin-top: 16px; padding: 32px max(16px, env(safe-area-inset-right, 0px)) calc(164px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--sports-soft-line); background: #0c1119; color: var(--sports-muted); }
body.sports-page .sports-footer-inner { max-width: 1320px; margin-inline: auto; }
body.sports-page .sports-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
body.sports-page .sports-footer-label { margin-bottom: 10px; color: #bdc9d9; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
body.sports-page .sports-footer-grid h2 { margin-bottom: 8px; color: #f1f5fc; font: 600 18px/1.4 'Space Grotesk', system-ui, sans-serif; }
body.sports-page .sports-footer-grid p:not(.sports-footer-label) { max-width: 42ch; font-size: 12px; line-height: 1.7; }
body.sports-page .sports-social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
body.sports-page .sports-social-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--sports-line); border-radius: 8px; color: #cdd7e5; font-size: 11px; }
body.sports-page .sports-support-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
body.sports-page .sports-support-links a { display: inline-flex; align-items: center; min-height: 44px; color: #d2dce9; font-size: 12px; }
body.sports-page .sports-footer-note { margin-top: 8px; }
body.sports-page .sports-ticket-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 14px; padding: 10px 14px; border: 1px solid #3c4b60; border-radius: 8px; background: #192332; color: #f3f6fb; font-size: 12px; }
body.sports-page .sports-footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--sports-soft-line); font-size: 10px; }
body.sports-page .sports-footer-bottom > div { display: flex; flex-wrap: wrap; gap: 0 20px; }
body.sports-page .sports-footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
body.sports-page .footer-safe a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* A quiet loader; no content depends on animation completing. */
body.sports-page #pageLoader { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: var(--sports-bg); transition: opacity 240ms ease; }
body.sports-page #pageLoader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
body.sports-page .loader-ball { width: 34px; height: 34px; border: 2px solid #ffc078; border-top-color: #ffc07830; border-radius: 50%; animation: sports-spin 1.1s linear infinite; }
body.sports-page .loader-shadow { display: none; }
body.sports-page .loader-status { margin-top: 20px; color: #e0e8f4; font: 600 14px/1.5 'Space Grotesk', system-ui, sans-serif; }
body.sports-page .loader-detail { margin-top: 5px; color: var(--sports-muted); font-size: 12px; text-align: center; }
@keyframes sports-spin { to { transform: rotate(360deg); } }
@keyframes sports-pop { from { transform: scale(.95); } to { transform: scale(1); } }
@keyframes sports-loading { 0%, 100% { opacity: .1; } 50% { opacity: 1; } }

@media (min-width: 480px) {
  body.sports-page .page-main { padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  body.sports-page .top-banner { padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  body.sports-page #sportTabs .sport-tab { flex-direction: row; gap: 7px; min-height: 48px; font-size: 12px; }
  body.sports-page .sports-search { width: 220px; }
}
@media (min-width: 768px) {
  body.sports-page { --sports-header-height: 80px; }
  body.sports-page .page-main { padding: 32px max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px)); }
  body.sports-page .top-banner { padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
  body.sports-page .sports-title { font-size: 36px; }
  body.sports-page .sports-intro { padding-bottom: 24px; }
  body.sports-page .sports-help-btn { padding-inline: 14px; }
  body.sports-page .sports-controls { padding: 12px; }
  body.sports-page #sportTabs .sport-tab { font-size: 13px; }
  body.sports-page .date-strip { gap: 8px; }
  body.sports-page .date-day { font-size: 13px; }
  body.sports-page .date-day span { font-size: 11px; }
  body.sports-page .sports-footer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  body.sports-page .sports-support-links { flex-direction: column; gap: 0; }
  body.sports-page .sports-support-links a { min-height: 36px; }
  body.sports-page .sports-footer-bottom { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  body.sports-page .sports-header-inner { gap: 24px; }
  body.sports-page .sports-primary-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
  body.sports-page .sports-primary-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 13px; border-radius: 8px; color: #abb9cb; font-size: 13px; font-weight: 500; }
  body.sports-page .sports-primary-nav a:hover { background: #ffffff07; color: #fff; }
  body.sports-page .sports-primary-nav a[aria-current="page"] { color: #fff; background: #ffffff06; }
  body.sports-page .sports-primary-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--sports-accent); }
  body.sports-page .sports-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; }
  body.sports-page .bet-slip-mobile { position: sticky; inset: auto; top: calc(var(--sports-header-height) + env(safe-area-inset-top, 0px) + 32px); z-index: 1; width: auto; max-width: none; max-height: calc(100dvh - var(--sports-header-height) - env(safe-area-inset-top, 0px) - 56px); margin: 0; border: 1px solid #374356; border-radius: 16px; transform: none; visibility: visible; pointer-events: auto; transition: none; }
  body.sports-page .bet-slip-mobile .slip-footer { padding-bottom: 16px; border-radius: 0 0 16px 16px; }
  body.sports-page .slip-header { padding-top: 18px; }
  body.sports-page .slip-caption { padding-top: 10px; }
  body.sports-page .slip-close, body.sports-page .slip-handle, body.sports-page .bet-slip-toggle, body.sports-page .bet-slip-overlay, body.sports-page .pk-tabbar { display: none !important; }
  body.sports-page .footer-safe { padding: 36px 24px 24px; }
  body.sports-page #betPlacedToast { bottom: 24px; }
  body.sports-page.slip-open { overflow: visible; }
}
@media (min-width: 1200px) {
  body.sports-page .banner-name { display: inline; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.sports-page .banner-right { gap: 14px; }
  body.sports-page .sports-search { width: 240px; }
  body.sports-page .sports-match-teams { padding-block: 4px 20px; }
  body.sports-page .sports-team { flex-direction: row; align-items: center; gap: 12px; }
  body.sports-page .sports-team:last-child { flex-direction: row-reverse; align-items: center; }
}
@media (max-width: 359px) {
  body.sports-page .sports-header-inner { gap: 8px; }
  body.sports-page .banner-bal { padding-inline: 7px; gap: 5px; }
  body.sports-page #headerTokens { max-width: 72px; }
  body.sports-page .sports-help-btn { gap: 5px; padding-inline: 8px; font-size: 11px; }
  body.sports-page .sports-controls { padding: 8px; }
  body.sports-page .date-strip { gap: 2px; }
  body.sports-page .date-day { font-size: 11px; }
  body.sports-page .date-day span { font-size: 9px; }
  body.sports-page .sports-outcomes { gap: 6px; }
  body.sports-page .market-card { padding: 13px !important; }
  body.sports-page .market-card .select-team { padding: 9px 7px !important; }
  body.sports-page .sports-outcome-name { font-size: 11px; }
  body.sports-page .mobile-slip-action { padding-inline: 10px; font-size: 11px; }
}
@media (max-height: 500px) and (max-width: 1023px) {
  body.sports-page .bet-slip-mobile { max-height: calc(var(--slip-viewport-height, 100dvh) - 12px); }
  body.sports-page .slip-caption { padding-block: 3px 8px; }
  body.sports-page .slip-fineprint { margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html.sports-document { scroll-behavior: auto !important; }
  body.sports-page *, body.sports-page *::before, body.sports-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  body.sports-page .select-team[aria-pressed="true"], body.sports-page .sport-tab.bg-red-600, body.sports-page .date-day.is-selected { outline: 2px solid Highlight; outline-offset: -3px; }
}