/* Playoff odds tab (public/odds.js) and the playoff cut line in Standings. */
.odds h3 { margin: 0 0 8px; font-size: 16px; }
.odds .sm, .odds .sm2 { font-size: 12.5px; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.od-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.od-head h2 { margin: 0 0 4px; }
.od-head p { margin: 0; max-width: 560px; }
.od-views { display: flex; gap: 4px; background: var(--panel2); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.od-views button { background: transparent; color: var(--muted); border: 0; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; min-height: 32px; }
.od-views button.on { background: var(--turf); color: var(--on-accent, #0b0d10); }
.od-dot { display: inline-block; min-width: 16px; padding: 0 4px; border-radius: 99px; background: var(--gold); color: #1b1b1b; font-size: 10.5px; line-height: 16px; }
.od-me { border-color: color-mix(in srgb, var(--turf) 45%, var(--line)); }
.od-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.od-num { font-size: 34px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.od-num.sm2 { font-size: 22px; }
.od-line { margin: 10px 0 0; }
.od-split { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; }
.od-path { margin-top: 12px; }
.od-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.od-chip { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.od-chip b { font-size: 13px; }
.od-pos { color: var(--turf); font-weight: 700; }
.od-neg { color: var(--red); font-weight: 700; }
tr.od-mine td { box-shadow: inset 0 0 0 9999px color-mix(in srgb, var(--turf) 7%, transparent); }
tr.od-mine td:first-child { border-left: 3px solid var(--turf); }
.badge.od-first { background: rgba(242,193,78,.2); color: #f6d98a; border: 1px solid rgba(242,193,78,.5); }
.badge.od-in { background: rgba(47,191,113,.16); color: #8fe0b4; border: 1px solid rgba(47,191,113,.45); }
.badge.od-out { background: rgba(239,91,91,.14); color: #ffaaaa; border: 1px solid rgba(239,91,91,.4); }
.badge.od-must, .badge.od-danger { background: rgba(240,150,40,.16); color: #ffc27a; border: 1px solid rgba(240,150,40,.45); }
.badge.od-up { background: rgba(47,191,113,.1); color: #8fe0b4; border: 1px solid rgba(47,191,113,.3); }
.badge.od-down { background: rgba(120,140,160,.14); color: #b9c6d3; border: 1px solid rgba(120,140,160,.35); }
[data-theme="light"] .badge.od-first, [data-theme="marble"] .badge.od-first { color: #7a5a00; }
[data-theme="light"] .badge.od-in, [data-theme="marble"] .badge.od-in, [data-theme="light"] .badge.od-up, [data-theme="marble"] .badge.od-up { color: #17693d; }
[data-theme="light"] .badge.od-out, [data-theme="marble"] .badge.od-out { color: #a32020; }
[data-theme="light"] .badge.od-must, [data-theme="marble"] .badge.od-must, [data-theme="light"] .badge.od-danger, [data-theme="marble"] .badge.od-danger { color: #8a4b00; }
[data-theme="light"] .badge.od-down, [data-theme="marble"] .badge.od-down { color: #44505c; }
.od-root td { padding: 6px 4px; }
.od-seeds td, .od-seeds th { padding: 5px 6px; min-width: 34px; }
.od-seeds .od-cut { border-right: 2px dashed var(--gold); }
.od-game { padding: 8px 0; border-bottom: 1px solid var(--line); }
.od-game:last-of-type { border-bottom: 0; }
.od-gt { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.od-bar { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--blue) 55%, var(--panel2)); margin: 5px 0; overflow: hidden; }
.od-bar i { display: block; height: 100%; background: var(--turf); border-right: 2px solid var(--panel); }
.wi-result table { margin-top: 10px; }
.wi-week { margin-bottom: 12px; }
.wi-wk { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 6px 0; }
.wi-game { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; margin-bottom: 6px; }
.wi-team { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; font-weight: 600; min-height: 40px; text-align: left; }
.wi-team small { color: var(--muted); font-weight: 600; white-space: nowrap; }
.wi-team.mine { border-color: color-mix(in srgb, var(--turf) 50%, var(--line)); }
.wi-team.on { background: color-mix(in srgb, var(--turf) 28%, var(--panel2)); border-color: var(--turf); }
.wi-team.on small { color: var(--text); }
.wi-team.off { opacity: .5; text-decoration: line-through; }
.od-metric, .od-pickers { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.od-pickers button { font-size: 12px; padding: 4px 10px; }
.od-chart { position: relative; }
.od-chart svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.od-chart text { fill: var(--muted); font-size: 11px; }
.od-chart .g { stroke: var(--line); stroke-width: 1; }
.od-chart path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.od-chart path.rest { stroke: var(--muted); opacity: .28; stroke-width: 1.5; }
.od-chart path.mine { stroke: var(--turf); stroke-width: 3; }
.od-chart path.focus { stroke: var(--blue, #5aa9e6); stroke-width: 2.5; }
.od-chart circle.mine { fill: var(--turf); stroke: var(--panel); stroke-width: 2; }
.od-chart circle.focus { fill: var(--blue, #5aa9e6); stroke: var(--panel); stroke-width: 2; }
.od-chart .cross { stroke: var(--muted); stroke-dasharray: 3 3; }
.od-tip { position: absolute; top: 4px; width: 190px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.35); pointer-events: none; }
.od-tip div { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.od-tip div.mine { color: var(--text); font-weight: 700; } .od-tip div.focus { color: var(--text); font-weight: 600; }
.od-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.od-legend .ln { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.od-legend .ln.mine { background: var(--turf); } .od-legend .ln.focus { background: var(--blue, #5aa9e6); } .od-legend .ln.rest { background: var(--muted); opacity: .4; }
.od-swing { margin-bottom: 10px; font-size: 13.5px; }
.od-swing .row { padding: 3px 0; }
.od-opps { display: flex; flex-wrap: wrap; gap: 4px; }
.od-opp { font-size: 11.5px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); white-space: nowrap; }
.od-opp small { color: var(--muted); margin-right: 4px; }
tr.cut-row td { border-bottom: 2px dashed var(--gold); }
@media (max-width: 700px) {
  .od-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-num { font-size: 30px; }
  .od-views { width: 100%; justify-content: space-between; }
  .od-views button { padding: 6px 8px; flex: 1; }
  .wi-team { font-size: 12.5px; padding: 7px 8px; }
}

/* Playoff bracket (public/bracket.js) */
.od-bracket-link { display: block; margin: 0 0 12px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); background: color-mix(in srgb, var(--gold) 10%, var(--panel)); color: var(--text); font-weight: 700; text-decoration: none; }
.br-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.br-head h2 { margin: 0 0 4px; }
.br-head p { margin: 0; max-width: 560px; }
.br-jump { display: flex; gap: 4px; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; overflow-x: auto; max-width: 100%; }
.br-jump button { background: transparent; color: var(--muted); border: 0; border-radius: 9px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; display: flex; flex-direction: column; align-items: center; line-height: 1.2; white-space: nowrap; min-height: 36px; }
.br-jump button small { font-weight: 500; font-size: 10.5px; opacity: .85; }
.br-jump button.on { background: var(--turf); color: var(--on-accent, #0b0d10); }
.br-jump button.now:not(.on) { color: var(--text); box-shadow: inset 0 0 0 1px var(--turf); }
.br-card { padding: 12px 0 10px; overflow: hidden; }
.br-scroll { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 0 8px 6px; }
.br-grid { position: relative; display: flex; gap: 34px; width: max-content; padding: 14px max(14px, calc(50% - var(--colw) / 2)) 16px; --unit: 128px; --colw: min(76vw, 270px); }
.br-s6 { --rows: 4; } .br-s4 { --rows: 2; } .br-s2 { --rows: 1; }
.br-col { scroll-snap-align: center; width: var(--colw); flex: 0 0 auto; display: flex; flex-direction: column; position: relative; z-index: 1; }
.br-col header { display: flex; flex-direction: column; align-items: center; padding: 6px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.br-col header b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.br-col header small { color: var(--muted); font-size: 11.5px; }
.br-col.now header b { color: var(--turf); }
.br-live { color: var(--turf); font-weight: 700; }
.br-main { height: calc(var(--rows) * var(--unit)); display: flex; flex-direction: column; justify-content: space-around; }
.br-place { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; min-height: 1px; }
.br-game { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.br-game.final { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 25%, transparent), 0 4px 16px rgba(0,0,0,.25); }
.br-game.place { opacity: .95; }
.br-gname { font-size: 11px; font-weight: 700; color: var(--muted); padding: 6px 10px 0; text-transform: uppercase; letter-spacing: .05em; }
.br-team { display: flex; align-items: center; gap: 8px; padding: 9px 10px; min-height: 48px; color: var(--text); text-decoration: none; position: relative; }
.br-team + .br-team { border-top: 1px solid var(--line); }
.br-team.mine { background: color-mix(in srgb, var(--turf) 18%, transparent); box-shadow: inset 3px 0 0 var(--turf); }
.br-team.win .br-name { font-weight: 800; }
.br-team.win .br-pts { color: var(--turf); }
.br-team.lose { opacity: .55; }
.br-team.tbd .br-name { color: var(--muted); font-style: italic; font-size: 12.5px; }
.br-byerow { justify-content: center; color: var(--muted); font-weight: 800; letter-spacing: .18em; font-size: 12px; background: color-mix(in srgb, var(--panel) 60%, transparent); }
.br-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-seed { font-size: 11px; font-weight: 800; color: var(--gold); min-width: 10px; text-align: center; }
.br-av { --h: 200; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 55% 42%), hsl(calc(var(--h) + 40) 60% 30%)); border: 2px solid color-mix(in srgb, var(--panel) 40%, transparent); vertical-align: middle; }
.br-av.empty { background: transparent; border: 2px dashed var(--line); }
.br-av.lg { width: 64px; height: 64px; font-size: 22px; }
.br-pts { font-variant-numeric: tabular-nums; font-size: 15px; }
.br-proj, .br-odds { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.br-proj small { font-weight: 600; font-size: 11px; }
.br-odds { color: var(--text); }
.br-foot { display: block; text-align: center; font-size: 11.5px; padding: 5px; border-top: 1px solid var(--line); text-decoration: none; }
a.br-foot { color: var(--turf); font-weight: 700; }
.br-champ { background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%), var(--panel2); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: 14px; padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.br-champ.won { border-color: var(--gold); box-shadow: 0 0 24px color-mix(in srgb, var(--gold) 30%, transparent); }
.br-trophy { font-size: 40px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.br-trophy.dim { opacity: .55; }
.br-cname { font-weight: 800; font-size: 16px; }
.br-lines { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; overflow: visible; }
.br-lines path { fill: none; stroke: color-mix(in srgb, var(--muted) 55%, transparent); stroke-width: 2; stroke-linejoin: round; }
.br-lines path.mine { stroke: var(--turf); stroke-width: 2.5; }
.br-hint { padding: 0 16px; margin: 6px 0 0; }
.br-hunt { justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.br-hunt:last-of-type { border-bottom: 0; }
@media (min-width: 1000px) { .br-grid { --colw: 250px; } .br-hint { display: none; } }
/* Season columns before the playoff rounds */
.br-list { display: flex; flex-direction: column; gap: 10px; }
.br-wk .br-game.is-mine { border-color: color-mix(in srgb, var(--turf) 55%, var(--line)); }
.br-col.br-wk header b { letter-spacing: .04em; }
.br-rank { font-size: 11px; font-weight: 800; color: var(--muted); min-width: 14px; text-align: right; }
.br-chop { font-size: 14px; }
.br-jump button.wk { min-width: 38px; padding: 5px 6px; }
.br-jump button.po-start { margin-left: 8px; box-shadow: -6px 0 0 -4px var(--gold); }
.br-jump { scroll-behavior: smooth; }
.br-grid { align-items: flex-start; }

/* This week is the spotlight: a lit panel behind the column, centered when the tab opens. */
.br-col.focus::before { content: ''; position: absolute; inset: -12px -14px -10px; z-index: -1; border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--turf) 16%, transparent), color-mix(in srgb, var(--turf) 5%, transparent) 60%);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--turf) 70%, transparent), 0 0 28px color-mix(in srgb, var(--turf) 30%, transparent); }
.br-col.focus header { border-bottom-color: color-mix(in srgb, var(--turf) 45%, var(--line)); }
.br-col.now header b { font-size: 15px; }
.br-col.now .br-live { display: inline-block; margin-top: 3px; padding: 2px 9px; border-radius: 99px; background: var(--turf); color: var(--on-accent, #0b0d10); font-size: 11px; }

/* Classic look: a compact, traditional bracket with thin boxes, small type and no big avatars. */
.br-look { display: flex; justify-content: flex-end; gap: 2px; margin: 0 14px 6px auto; width: max-content; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.br-look button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; cursor: pointer; }
.br-look button.on { background: var(--turf); color: var(--on-accent, #0b0d10); }
.br-classic { --colw: min(52vw, 190px); --unit: 70px; gap: 22px; }
.br-classic .br-col header { padding: 2px 0 6px; margin-bottom: 6px; }
.br-classic .br-col header b { font-size: 11.5px; }
.br-classic .br-col header small { font-size: 10.5px; }
.br-classic .br-col.now header b { font-size: 12.5px; }
.br-classic .br-col.now .br-live { font-size: 10px; padding: 1px 7px; }
.br-classic .br-col.focus::before { inset: -8px -9px -8px; border-radius: 12px; }
.br-classic .br-list, .br-classic .br-place { gap: 6px; }
.br-classic .br-place { margin-top: 10px; }
.br-classic .br-game { border-radius: 4px; box-shadow: none; }
.br-classic .br-team { min-height: 26px; padding: 3px 7px; gap: 5px; }
.br-classic .br-av { display: none; }
.br-classic .br-seed { font-size: 10px; min-width: 9px; }
.br-classic .br-name { font-size: 12px; }
.br-classic .br-pts { font-size: 12.5px; }
.br-classic .br-proj, .br-classic .br-odds { font-size: 11.5px; }
.br-classic .br-proj small { font-size: 10px; }
.br-classic .br-team.mine { box-shadow: inset 2px 0 0 var(--turf); }
.br-classic .br-foot { font-size: 10.5px; padding: 2px; }
.br-classic .br-gname { font-size: 9.5px; padding: 3px 7px 0; }
.br-classic .br-byerow { font-size: 10px; }
.br-classic .br-lines path { stroke-width: 1.5; }
.br-classic .br-lines path.mine { stroke-width: 2; }
.br-classic .br-champ { padding: 10px 8px; gap: 4px; }
.br-classic .br-champ .br-av { display: inline-flex; width: 40px; height: 40px; font-size: 14px; }
.br-classic .br-trophy { font-size: 28px; }
.br-classic .br-cname { font-size: 13.5px; }
@media (min-width: 1000px) { .br-classic { --colw: 175px; } }

/* Carousel focus: columns shrink and fade with distance (--d, in columns) from the middle. */
.br-col { --d: 0; --tx: 0px; transform-origin: 50% 0; transform: translateX(var(--tx)) scale(calc(1 - min(var(--d), 3) * .11)); opacity: calc(1 - min(var(--d), 3) * .22); will-change: transform; }
.br-col.focus::before { transition: opacity .2s; }
@media (prefers-reduced-motion: reduce) { .br-col { transform: none; } }
