/* Shared styling for every SAC scoreboard page. */
:root{color-scheme:light;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--r1:6px;--r2:10px;--r3:14px;
--bg:#f4f3ef;--surface:#fff;--surface2:#ecebe5;--line:#d8d5cb;--ink:#1e2229;--muted:#616873;--faint:#8c939d;--link:#b8262b;--accent:#f94d4d;--gold:#b8860b;--live:#1a7f45;--on-live:#fff;--miss:#d6323c;--warn:#9a5b00;--wash:rgba(26,127,69,.16);--on-accent:#15181d}
:root[data-theme="dark"]{color-scheme:dark;--gold:#f2b441;--miss:#ff6b6b;--warn:#f2b441;--wash:rgba(76,192,127,.26);--bg:#15181d;--surface:#1d2128;--surface2:#252a32;--line:#363c46;--ink:#e7e9ec;--muted:#a7adb7;--faint:#7d848f;--link:#ff8a8a;--accent:#f94d4d;--live:#4cc07f;--on-live:#0d2a1a;--on-accent:#15181d}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--gold:#f2b441;--bg:#15181d;--surface:#1d2128;--surface2:#252a32;--line:#363c46;--ink:#e7e9ec;--muted:#a7adb7;--faint:#7d848f;--link:#ff8a8a;--accent:#f94d4d;--live:#4cc07f;--on-live:#0d2a1a;--miss:#ff6b6b;--warn:#f2b441;--wash:rgba(76,192,127,.26);--on-accent:#15181d}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
a{color:var(--link)}
main{max-width:1120px;margin:0 auto;padding:var(--s5) var(--s4) 48px}
h1{font-size:2.2rem;line-height:1.1;margin:0 0 var(--s2)}
h2{font-size:1.2rem;margin:var(--s5) 0 var(--s3);padding-bottom:var(--s2);border-bottom:1px solid var(--line)}
.disclaimer{margin:0 0 var(--s4);padding:var(--s2) var(--s3);border:1px solid var(--line);border-radius:var(--r2);background:var(--surface2);font-size:.9rem;color:var(--muted)}
.sub{color:var(--muted);margin:0 0 var(--s4)}
.controls{display:flex;flex-wrap:wrap;gap:var(--s4);align-items:flex-end;margin-bottom:var(--s3)}
.ctl{display:flex;flex-direction:column;gap:var(--s1)}
.lbl{font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.seg{display:inline-flex;height:40px;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--surface)}
.seg button{border:0;background:transparent;color:var(--muted);padding:0 var(--s4);font:inherit;cursor:pointer;min-width:44px}
.seg button+button{border-left:1px solid var(--line)}
.seg button.active{background:var(--accent);color:var(--on-accent);font-weight:700}
select option:hover{background:var(--accent);color:var(--on-accent)}
@supports (appearance:base-select){
  select,select::picker(select){appearance:base-select}
  /* closed button in Chrome: text on the left, arrow on the right, both vertically centred */
  select{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--s3);min-width:150px;padding:0 var(--s3);line-height:1.2}
  select::picker-icon{flex:none;color:var(--muted);font-size:.7em}
  select::picker(select){background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--r2);padding:var(--s1)}
  select option{padding:var(--s2) var(--s3);border-radius:var(--r1)}
  select option:hover,select option:focus-visible{background:var(--accent);color:var(--on-accent)}
  select option:checked{font-weight:700}
}
/* the Sport drop-down (sports.js): a button that opens a list, the same in every browser, so each sport can show its icon after its name (coral, the site's accent) */
.dd{position:relative;display:inline-block}
.dd-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--s3);min-width:150px;height:40px;padding:0 var(--s3);font:inherit;line-height:1.2;text-align:left;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--r2);cursor:pointer}
.dd-text{display:inline-flex;align-items:center}
.dd-caret{flex:none;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--muted)}
.dd-btn[aria-expanded="true"] .dd-caret{transform:rotate(180deg)}
.dd-list{position:absolute;z-index:20;left:0;top:calc(100% + 4px);min-width:100%;width:max-content;max-width:calc(100vw - 16px);margin:0;padding:var(--s1);list-style:none;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--r2);box-shadow:0 8px 24px rgba(0,0,0,.25)}
.dd-opt{display:flex;align-items:center;padding:var(--s2) var(--s3);border-radius:var(--r1);cursor:pointer;white-space:nowrap}
.dd-ck{flex:none;width:1.25em}
.dd-opt[aria-selected="true"]{font-weight:700}
.dd-opt.on{background:var(--accent);color:var(--on-accent)}
.dd-opt[aria-disabled="true"]{color:var(--faint);cursor:default}
.sico{display:inline-flex;flex:none;margin-left:var(--s2);color:var(--accent)}
.sico svg{width:1em;height:1em;fill:currentColor}
.dd-opt.on .sico{color:inherit}
.dd-opt[aria-disabled="true"] .sico{color:var(--faint)}
/* the trophy (the standings, sports.js sacIcon): Font Awesome trophy in gold, replacing the emoji */
.ftr{display:inline-flex;flex:none;vertical-align:-.125em;margin-right:.25em;color:var(--gold)}
.ftr svg{width:1.125em;height:1em;fill:currentColor}
.lgtr .ftr{margin-right:0;vertical-align:baseline}
li>b>.ftr{margin-right:0}
/* sports not built yet in the Sport drop-down: greyed out, no red hover */
select option:disabled,select option:disabled:hover{background:none;color:var(--faint)}
select{font:inherit;height:40px;padding:0 var(--s3);border:1px solid var(--line);border-radius:var(--r2);background:var(--surface);color:var(--ink)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:var(--s4)}
.match{background:var(--surface);border:1px solid var(--line);border-radius:var(--r3);overflow:hidden;display:flex;flex-direction:column}
.match[data-state="live"]{border-color:var(--live)}
/* cards in a row stretch to the tallest by default (upcoming cards stay equal); live and final cards size to their own content */
.match[data-state="live"],.match[data-state="final"]{align-self:start}
.mh{display:grid;grid-template-columns:1fr auto;align-items:start;gap:2px var(--s2);padding:var(--s3) var(--s4);border-bottom:1px solid var(--line);font-size:.9rem;color:var(--muted)}
.chip{display:inline-block;border-radius:var(--r1);padding:1px 8px;font-size:.78rem;font-weight:700;background:var(--surface2);color:var(--muted);white-space:nowrap}
.match[data-state="live"] .chip.st{background:var(--live);color:var(--on-live)}
.match[data-state="final"] .chip.st{background:var(--ink);color:var(--bg)}
.mb{padding:var(--s3) var(--s4);display:flex;flex-direction:column;gap:var(--s2)}
.team{display:flex;align-items:center;gap:var(--s3)}
.badge{width:36px;height:36px;border-radius:50%;background:var(--surface2);border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:700;color:var(--muted);flex:none;overflow:hidden}
.badge img{width:100%;height:100%;object-fit:contain}
.tn{flex:1;min-width:0;line-height:1.2}
.tn b{display:block}
.rec{font-size:.8rem;color:var(--muted)}
.sc{font-size:1.9rem;font-weight:700;min-width:1.5em;text-align:right;font-variant-numeric:tabular-nums}
.match[data-state="upcoming"] .sc,.match[data-state="ended"] .sc{display:none}
.status{font-weight:600;color:var(--muted);font-size:.95rem}
.match[data-state="live"] .status{color:var(--live)}
/* score-change cues: a score that goes up rolls in green and stays green for a while (set won / goal); the volleyball "Set won" tag and
   the in-set point wash (.tp) and a new goal row use --wash, a light green tint */
.sc{position:relative;transition:color .6s}
.sc.hot,.sc .in{color:var(--live)}
.sc.rolling{overflow:hidden}
.sc .out{display:block}
.sc .in{display:block;position:absolute;left:0;right:0;top:0}
/* the tag sits after the team name on the name line; while it shows, a long name is cut with an ellipsis instead of wrapping (the card never gets taller) */
.tn b.nm{display:flex;align-items:center;gap:var(--s2)}
.nt{min-width:0}
.nm.tagged .nt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tag{flex:none;display:none;padding:1px var(--s2);border-radius:999px;background:var(--wash);font-size:.7rem;font-weight:600}
.tag.show{display:inline-block}
.tp{padding:0 .3em;margin:0 -.3em;border-radius:6px}
.loc{font-size:.9rem;color:var(--muted)}
details{border-top:1px solid var(--line);padding:var(--s2) var(--s4);font-size:.9rem}
details summary{cursor:pointer;color:var(--link);font-weight:600}
.match[data-state="upcoming"] details,.match[data-state="ended"] details,.match[data-state="upcoming"] .gl,.match[data-state="ended"] .gl{display:none}
.mh .loc{grid-column:1/-1}
.gl{border-top:1px solid var(--line);padding:var(--s2) var(--s4);font-size:.9rem}
.goals{margin:var(--s2) 0;padding:0;list-style:none}
.goals{display:grid;grid-template-columns:max-content 1fr;column-gap:var(--s3);row-gap:var(--s2)}.goals li{display:contents}.gm{text-align:right;font-variant-numeric:tabular-nums;padding-right:var(--s3);margin-right:calc(-1*var(--s3))}.as{color:var(--muted);font-size:.85rem}
table.tot .sep td{border-top:2px solid var(--line)}
table.tot{border-collapse:collapse;width:100%;margin:var(--s2) 0}
table.tot th,table.tot td{padding:3px 6px;border-bottom:1px solid var(--line);text-align:center}
table.tot th:first-child,table.tot td:first-child{text-align:left}
.dot{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:middle}.dot.ok{background:var(--live)}.dot.no{background:var(--miss)}
.so{margin-top:var(--s2)}
.so table.tot{margin:0}
.sos{font-weight:400;color:var(--muted)}
.sol{font-size:.9rem;color:var(--muted);margin-top:var(--s2)}
.sollist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.pk{display:inline-block;color:var(--link);border:1px solid var(--link);border-radius:4px;margin-left:var(--s1);padding:0 5px;font-size:.72rem;font-weight:700;line-height:1.5;vertical-align:1px}
.sle{display:flex;align-items:flex-start;gap:var(--s2)}.sle .dot,.sle .sp{flex:none;width:12px;height:12px;margin-top:5px}
.last{color:var(--muted);font-size:.9rem;border-top:1px solid var(--line);padding:var(--s3) var(--s4)}.last:empty{display:none}
.mf{margin-top:auto;padding:var(--s3) var(--s4);border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:var(--s3);align-items:center;font-size:.9rem}
/* SAC badge: bottom right of a conference game's card; 75% of the Watch button's height, at half opacity */
.mf .sac{margin-left:auto;height:21.75px;width:auto;display:block;opacity:.5}
.watch{font-weight:700;text-decoration:none;border:1px solid var(--link);border-radius:999px;padding:3px var(--s3)}
.watch:hover{background:var(--link);color:var(--bg)}
/* a game with no video: the same Watch button, greyed out and not clickable (keeps every card the same height) */
.watch.off,.watch.off:hover{color:var(--faint);border-color:var(--line);background:none;cursor:default;pointer-events:none}
.note{color:var(--muted)}
.pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--live);margin-right:6px;animation:p 1.4s infinite}
@keyframes p{0%,100%{opacity:1}50%{opacity:.3}}
/* stalled feed: the Last play row becomes a pulsing amber notice and the green dot in the score line stops pulsing */
.pulse.amber{background:var(--warn)}
.match[data-stall] .last{color:var(--warn);font-weight:600}
.match[data-stall] .status .pulse{animation:none}
.empty{color:var(--muted)}
/* league table at the top of a soccer page (standings.js): a card with one row per team */
details.lg{border:0;padding:0;margin:var(--s2) 0 var(--s5);font-size:1rem}
details.lg>summary{font-size:1.2rem;font-weight:700;color:var(--ink);padding-bottom:var(--s2);border-bottom:1px solid var(--line);margin-bottom:var(--s3)}
/* the league table starts folded: a peek (header and the top rows) that fades to transparent, and a button to open it (standings.js, standings-vb.js) */
div.lg{margin:var(--s2) 0 var(--s5);font-size:1rem}
div.lg>h2{margin-top:0}
.lgpeek{max-width:760px;overflow:hidden}
.lgpeek[data-open="0"]{-webkit-mask-image:linear-gradient(to bottom,#000 55%,transparent 100%);mask-image:linear-gradient(to bottom,#000 55%,transparent 100%)}
.lgmore{display:block;min-height:44px;margin:0;padding:var(--s2) 0;background:none;border:0;color:var(--link);font:inherit;font-weight:600;cursor:pointer;text-align:left}
.lgmore:hover{text-decoration:underline}
.lgw{background:var(--surface);border:1px solid var(--line);border-radius:var(--r3);overflow-x:auto;max-width:760px}
.lgt{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.lgt th,.lgt td{padding:8px 10px;text-align:center;white-space:nowrap}
.lgt th{font-size:.75rem;font-weight:700;color:var(--muted);letter-spacing:.04em}
.lgt abbr{text-decoration:none;cursor:help}
.lgt tbody tr{border-top:1px solid var(--line)}
.lgt th.r,.lgt td.r{width:2.8em;color:var(--muted);font-weight:700}
.lgt th.t,.lgt td.t{text-align:left;width:100%;white-space:normal}
.lgt .tm{display:inline-flex;align-items:center;gap:var(--s2);font-weight:600}
.lgt td.p,.lgt td.mg{font-weight:700}
.lgt .lgs{display:none}
.lgt td.mg.ok{color:var(--live);font-size:1.05rem}
.lgt td.mg.out{color:var(--faint);font-weight:600}
.lgt td.mg.help{color:var(--muted);font-weight:600;font-size:.8rem}
.lgb{width:26px;height:26px;border-radius:50%;background:var(--surface2);border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:.55rem;font-weight:700;color:var(--muted);flex:none;overflow:hidden}
.lgb img{width:100%;height:100%;object-fit:contain}
/* tournament cutoff: a line under the last qualifying spot (dashed when a tie runs across it); the Team filter's team; a team playing now */
.lgt tbody tr.cut td{border-bottom:2px solid var(--accent)}
.lgt tbody tr.cut.tie td{border-bottom-style:dashed}
/* a team that can no longer reach the tournament (it has the E in the Magic column; standings.js, standings-vb.js): its row is dimmed, the E is not;
   the Team filter's team and a team playing now stay at full strength. The cutoff row is left alone so its line never fades. */
.lgt tbody tr.elim:not(.cut):not(.sel):not(.live) td:not(.mg){opacity:.6}
.lgt tbody tr.sel td{background:var(--surface2)}
.lgt tbody tr.sel td.r{box-shadow:inset 3px 0 0 var(--accent)}
.lgdot{display:none;flex:none;width:8px;height:8px;border-radius:50%;background:var(--live);animation:p 1.4s infinite}
.lgt tr.live .lgdot{display:inline-block}
.lgt:not(.vb):not(.fb) tr.live td.p{color:var(--live)} /* soccer: the points of a team in a game in progress are provisional (the table counts the current score) */
.lgk{color:var(--live)}
.lgn{margin:var(--s2) 0 0;font-size:.8rem;color:var(--muted)}
.lgn.lgx{color:var(--warn);font-weight:600}
.lgkey{margin:var(--s3) 0 0;max-width:760px;font-size:.8rem;color:var(--muted)}
.lgkt{margin:0 0 var(--s1);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.lgkc{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--s2) var(--s5)}
.lgkh{margin:0 0 2px;font-style:italic}
.lgkey ul{list-style:none;margin:0;padding:0}.lgkey li{padding:1px 0}
.lgkey b{color:var(--ink)}.lgkey b.lgk{color:var(--live)}
.lgrace b{color:var(--ink)}
/* the trophy next to a team that has clinched the regular season title (or a share of it) */
.lgt .lgtr{flex:none;font-size:.95em;line-height:1;cursor:help}
details.lgr{border:0;padding:0;margin:var(--s3) 0 0;font-size:.9rem;max-width:760px}
.lgrb{margin-top:var(--s2);padding:var(--s3) var(--s4);background:var(--surface);border:1px solid var(--line);border-radius:var(--r2);font-size:.85rem;color:var(--muted)}
.lgrb p{margin:var(--s2) 0}.lgrb p:first-child{margin-top:0}.lgrb p:last-child{margin-bottom:0}
.lgrb ol,.lgrb ul{margin:var(--s2) 0;padding-left:1.4em}
.lgrb b{color:var(--ink)}
/* the legend sits in the same kind of arrow and card as the tiebreaker rules: keep its own list and heading spacing */
.lgrb.lgkey ul{margin:0;padding:0}
.lgrb .lgkh{margin:0 0 2px}
/* phones: the short team names, and tight cells so every column (Magic is last) fits without scrolling, with room for a trophy */
@media (max-width:520px){.lgt th,.lgt td{padding:7px 4px}.lgt .lgl{display:none}.lgt .lgs{display:inline}.lgt .lgb{width:22px;height:22px}.lgt .tm{gap:6px}.lgt .lgtr{font-size:.85em;margin-left:1px}}
@media (max-width:380px){.lgt th,.lgt td{padding:7px 3px}.lgt{font-size:.92rem}.lgt th.r,.lgt td.r{width:2.2em}}
/* sport chooser (index.html) */
.sports{list-style:none;margin:0;padding:0;max-width:560px;display:flex;flex-direction:column;gap:var(--s3)}
.sport{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);min-height:64px;padding:var(--s3) var(--s4);background:var(--surface);border:1px solid var(--line);border-radius:var(--r3);color:var(--ink);font-size:1.15rem;font-weight:700;text-decoration:none}
a.sport:hover,a.sport:focus-visible{border-color:var(--accent)}
a.sport .go{color:var(--link)}
.sport.off{color:var(--muted);font-weight:600;cursor:default}
.sport.off .chip{font-size:.78rem}
.sport .nm{display:inline-flex;align-items:center}
.sport.off .sico{color:var(--faint)}
/* volleyball Set Scores: the table runs edge to edge across the card; the text keeps the card's side padding */
.ls,.ml,.ts{margin:0 calc(var(--s4) * -1)}
.ls table.tot th:first-child,.ls table.tot td:first-child,.ml table.tot th:first-child,.ml table.tot td:first-child,.ts table.tot th:first-child,.ts table.tot td:first-child{padding-left:var(--s4)}
.ls table.tot th:last-child,.ls table.tot td:last-child,.ml table.tot th:last-child,.ml table.tot td:last-child,.ts table.tot th:last-child,.ts table.tot td:last-child{padding-right:var(--s4)}
/* Match Leaders: names read left to right under their team */
.ml table.tot{table-layout:fixed;font-size:.85rem}
.ml table.tot th,.ml table.tot td{text-align:left;vertical-align:top;padding-left:var(--s1);padding-right:var(--s1)}
.ml table.tot td:first-child{color:var(--muted)}
/* the stat label column is a fixed narrow width, so the two player columns split the rest evenly */
.ml table.tot th:first-child,.ml table.tot td:first-child{width:68px;white-space:nowrap;padding-right:var(--s2)}
.ml table.tot th:last-child,.ml table.tot td:last-child{padding-right:var(--s3)}
/* football Scoring Summary: edge to edge; line 1 = quarter, team, clock, scores; line 2 = the play (no line between the two) */
.sm{margin:0 calc(var(--s4) * -1)}
.sm table.tot td:first-child,.sm table.tot th:first-child{padding-left:var(--s4)}
.sm table.tot td:last-child,.sm table.tot th:last-child{padding-right:var(--s4)}
.sm table.tot td{text-align:left}
.sm table.tot td.n{text-align:center}
.sm table.tot tr.hd td{border-bottom:0;padding-bottom:0}
.sm table.tot tr.pl td{padding-top:1px;padding-bottom:8px;color:var(--muted);font-size:.85rem;line-height:1.35}
/* football Team Stats: Rushing and Passing are parts of Total Yards, so their labels are indented a little */
.ts table.tot td.ind:first-child{padding-left:calc(var(--s4) + var(--s3))}
/* football Game Leaders: wider label column (Passing, Receiving, ...), and the small line under a name */
.fbl table.tot th:first-child,.fbl table.tot td:first-child{width:92px}
.fbl .as{line-height:1.3}
footer{margin-top:var(--s6);font-size:.85rem;color:var(--muted)}
[hidden]{display:none!important}
/* a tournament game card (soccer.js, a match with a bracket game): a gold bar on its left edge and the round in bold on its own line under the place */
.match.tourn{box-shadow:inset 4px 0 0 var(--gold)}
.loc.tt{color:var(--ink);font-weight:700}/* conference tournament bracket (bracket.js, soccer pages): seeds 1/8 and 4/5 on the left, 2/7 and 3/6 on the right, the semifinals toward the middle, the
   championship in the center with a slot for the champion above it, round labels across the top. Five columns (QF, SF, final, SF, QF); the lines between the
   circles are drawn into .brl by bracket.js from where the circles actually are, so they follow any layout. Game details (.brgi) appear once the page has a
   tournament schedule or game states (.inf on .brx). */
div.br{margin:var(--s2) 0 var(--s5);font-size:1rem}
div.br>h2{margin-top:0}
.brw{position:relative;padding:var(--s4) var(--s4) var(--s5);background:var(--surface);border:1px solid var(--line);border-radius:var(--r3)}
.brx{position:relative;--bs:58px;--bc:80px}
.brh,.brg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,2fr) repeat(2,minmax(0,1fr))}
.brh{margin-bottom:var(--s5)}
.brh span{display:block;margin:0 var(--s1);padding:6px var(--s1);border:1px solid var(--line);border-radius:999px;background:var(--surface2);font-size:.62rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);text-align:center;white-space:nowrap;overflow:hidden}
.brh b{font-weight:700}
.brx .sh{display:none}
.brk{position:relative;display:flex;flex-direction:column;min-width:0}
.brp{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s3);padding:var(--s2) 0}
.brf{justify-content:center}
.brfw{position:relative;display:grid;grid-template-columns:1fr 1fr;width:100%}
.brs{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.brc{position:relative;display:flex;width:var(--bs);height:var(--bs);border-radius:50%;background:#f6f6f3;border:2px solid rgba(0,0,0,.16);box-sizing:border-box} /* a light disc in both themes, so dark logos stay readable */
.bri{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:13%;box-sizing:border-box;border-radius:50%;overflow:hidden;font-size:.8rem;font-weight:700;color:var(--muted)}
.bri img{width:100%;height:100%;object-fit:contain}
.brd{position:absolute;top:-5px;left:-5px;min-width:19px;height:19px;padding:0 4px;box-sizing:border-box;border-radius:10px;background:var(--accent);color:var(--on-accent);box-shadow:0 0 0 2px var(--surface);font:700 .66rem/19px -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;font-style:normal;text-align:center}
.brn{font-size:.78rem;font-weight:700;line-height:1.1;letter-spacing:.02em;white-space:nowrap}
.brs.tbd .brc{background:transparent;border-color:var(--line);border-style:dashed}
.brs.tbd .brn{color:var(--muted);font-weight:600}
.brs.sel .brc{border-color:var(--accent);box-shadow:0 0 0 3px rgba(249,77,77,.22)}
/* a team that lost its game: half strength (its score stays readable) */
.brs.lost{opacity:.5}
/* the score of a game in progress or finished, on the logo's lower corner nearest the middle of the bracket; a score that goes up rolls in and turns green (as on the game cards) */
.brsc{display:none;position:absolute;bottom:-6px;min-width:23px;height:21px;padding:0 5px;box-sizing:border-box;border-radius:11px;background:var(--ink);color:var(--bg);box-shadow:0 0 0 2px var(--surface);font:700 .82rem/21px -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;text-align:center;font-variant-numeric:tabular-nums;overflow:hidden;transition:background .6s,color .6s}
.brs.sc .brsc{display:block}
.brs.l .brsc{right:-10px}.brs.r .brsc{left:-10px}
.brs.r .brd{left:auto;right:-5px} /* the right half mirrors the left: seed at the top right of the logo, score at the bottom left */
.brsc.hot{background:var(--live);color:var(--on-live)}
.brsc .out{display:block}
.brsc .in{display:block;position:absolute;left:0;right:0;top:0}
/* the champion: a trophy in a dashed circle above the championship until there is a winner, then that team's logo with a gold ring */
.brch{position:absolute;left:0;right:0;bottom:calc(100% + var(--s5));display:flex;justify-content:center}
.brs.champ .brc{width:var(--bc);height:var(--bc)}
.brs.champ .brn{max-width:11em;white-space:normal;text-align:center;text-transform:uppercase;letter-spacing:.09em;font-size:.64rem;line-height:1.3;color:var(--muted)}
.brti{display:flex;width:44%;height:44%;color:var(--gold);opacity:.55}
.brti svg{width:100%;height:100%;fill:currentColor}
.brs.champ.has .brc{border-style:solid;border-color:var(--gold);box-shadow:0 0 0 4px rgba(242,180,65,.22)}
.brs.champ.has .brn{color:var(--gold);font-weight:700}
/* game details: before the game its date, time and venue; during it "Live" and the clock; after it "Final" */
.brgi{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;margin:-2px 0;text-align:center;font-size:.68rem;line-height:1.25;color:var(--muted)}
.brgi:empty{display:none}
.inf .brp .brgi,.inf .brp .brgi:empty{display:flex;height:58px;overflow:hidden}
.brgm{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);margin:0;padding:0 var(--s3)}
.brgf{position:absolute;left:0;right:0;top:calc(100% + var(--s3));margin:0}
.gw b{display:block;font-weight:600}
.gw b:nth-child(1),.gw b:nth-child(3){color:var(--ink);font-weight:700}
.gv{max-width:116px;font-size:.64rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gw+.gv,.gs+.gv{margin-top:2px}.gc{opacity:.8}
.gs{font-size:.64rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ink)}
.gs.live{color:var(--live)}
.brl{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.brl path{fill:none;stroke:var(--faint);stroke-opacity:.75;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.brsr{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* wide screens: the card takes the full width of the page and the circles are a little larger; from 1000px each game's details have room for the date and
   time to share a line (three lines instead of four) */
@media (min-width:721px){
  .brx{--bs:64px;--bc:88px}
  .brn{font-size:.82rem}
  .gv{max-width:none}
  .inf .brp .brgi,.inf .brp .brgi:empty{height:62px}
}
@media (min-width:1000px){
  .brgi{font-size:.74rem}
  .gv{font-size:.7rem}
  .gw b.lo{display:inline}
  .gw b.lo+b.lo::before{content:"\00a0\00b7\00a0";font-weight:400;color:var(--muted)}
}
@media (max-width:720px){.brh .lo{display:none}.brh .sh{display:inline}}
@media (max-width:520px){
  .brw{padding:var(--s3) var(--s2) var(--s4)}
  .brx{--bs:38px;--bc:52px}
  .brh{margin-bottom:var(--s4)}
  .brh span{margin:0 2px;padding:5px 1px;font-size:.58rem;letter-spacing:.03em}
  .brx .lo{display:none}.brh .sh{display:inline}.gw .sh{display:block}
  .brp{gap:var(--s2)}
  .brs{gap:3px}
  .brc{border-width:1.5px}
  .brd{top:-6px;left:-6px;min-width:16px;height:16px;padding:0 3px;border-radius:8px;font-size:.58rem;line-height:16px}
  .brn{font-size:.6rem;letter-spacing:0}
  .brs.champ .brn{font-size:.54rem;letter-spacing:.06em;max-width:9em}
  .brsc{min-width:19px;height:17px;padding:0 3px;border-radius:9px;font-size:.68rem;line-height:17px;bottom:-5px}
  .brs.l .brsc{right:-8px}.brs.r .brsc{left:-8px}
  .brs.r .brd{left:auto;right:-6px}
  .brgi{font-size:.58rem}
  .gv{display:none}
  .gs{font-size:.54rem;letter-spacing:.04em}
  .inf .brp .brgi,.inf .brp .brgi:empty{height:24px}
  .brgm{padding:0}
}
@media (max-width:360px){.brx{--bs:33px;--bc:46px}.brn{font-size:.56rem}}
/* embed mode (embed.js, address ?embed=bracket): only the tournament bracket, for an iframe on another site. The page's own background is dropped (the bracket card keeps
   its own), and everything but the bracket is hidden, including the bracket's own heading and the line under it (&title=1 brings them back). */
html.embed body{background:transparent;margin:0}
html.embed[data-theme]{color-scheme:light} /* the colors come from the theme's variables; the frame itself must stay "light" so the browser leaves it transparent on the page around it (a dark frame would be painted as an opaque square, and the card's rounded corners would be lost) */
html.embed main{max-width:none;margin:0;padding:0}
html.embed main>h1,html.embed .sub,html.embed .controls,html.embed #livewrap,html.embed #days,html.embed #league,html.embed footer{display:none!important}
html.embed div.br{margin:0}
html.embed #bracket .lgn:empty{display:none}
html.embed div.br>h2{display:none}
html.embed.embed-title div.br>h2{display:block}