:root {
  --bg: #f7f5f0; --paper: #ffffff; --ink: #16181d; --muted: #666b75; --rule: #e2ded4;
  --brand: #0c2340; --brand-2: #bd3039;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1114; --paper: #171a1f; --ink: #e9e7e2; --muted: #9ca0a8; --rule: #2a2e35; --brand: #0c2340; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Masthead */
.masthead { background: var(--brand); color: #fff; border-bottom: 4px solid var(--brand-2); }
.masthead > .wrap { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 12px; }
.logo { font: 700 30px/1.1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.tagline { font-size: 13px; opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
nav.teams { background: rgba(0,0,0,.25); }
nav.teams .wrap { display: flex; gap: 2px; overflow-x: auto; }
nav.teams a { padding: 10px 14px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent; }
nav.teams a:hover, nav.teams a.on { border-bottom-color: var(--a); background: var(--c); }

/* Cards */
main { padding-top: 24px; padding-bottom: 40px; }
.section { font: 700 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  border-top: 2px solid var(--ink); padding-top: 10px; margin: 32px 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font: 700 21px/1.25 var(--serif); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card time, .post time { font-size: 13px; color: var(--muted); }
.lead-card { padding: 28px; border-top: 4px solid var(--brand-2); }
.lead-card h3 { font-size: clamp(26px, 4vw, 38px); }
.lead-card p { font-size: 18px; }

.meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.chip { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
  color: #fff; background: var(--c); border-left: 3px solid var(--a); padding: 5px 7px; border-radius: 2px; }
.type { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-left: 4px; }

.team-title { font: 700 34px/1.2 var(--serif); margin: 8px 0 20px; padding-left: 14px; border-left: 8px solid var(--c);
  box-shadow: -8px 0 0 0 var(--a) inset; }

/* Article */
.post { max-width: 700px; margin: 0 auto; }
.post h1 { font: 700 clamp(30px, 5vw, 44px)/1.15 var(--serif); margin: 14px 0 10px; letter-spacing: -.01em; }
.post .dek { font: italic 20px/1.45 var(--serif); color: var(--muted); margin: 0 0 12px; }
.post .body { font: 19px/1.7 var(--serif); margin-top: 22px; border-top: 1px solid var(--rule); padding-top: 8px; }
.post .body h2 { font: 700 22px/1.3 var(--serif); margin-top: 32px; }
.post .body a { color: var(--brand-2); }
@media (prefers-color-scheme: dark) { .post .body a { color: #ff7b7b; } }

.empty { color: var(--muted); }
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; padding-top: 16px; padding-bottom: 32px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo { font-size: 24px; }
  .post .body { font-size: 18px; }
  .lead-card { padding: 20px; }
}
.byline { font-size: 14px; color: var(--muted); } .byline strong { color: var(--ink); }
.video { margin: 22px 0 0; }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.has-video { font-size: .6em; color: var(--brand-2); vertical-align: middle; }
.fights { margin-top: 36px; border-top: 2px solid var(--ink); padding-top: 8px; }
.fights h2 { font: 700 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 14px; }
.fights .fight-title { font: 700 16px/1.3 var(--sans); color: var(--ink); margin: 0 0 8px; }
.fights .video { margin-bottom: 22px; }
.sched { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; font-size: 15px; }
.sched td { padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.sched tr:last-child td { border-bottom: 0; }
.sched .d { white-space: nowrap; color: var(--muted); font-size: 14px; }
.sched .tv { color: var(--muted); font-size: 13px; }
.sched .st { font: 700 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--brand-2); margin-left: 4px; }
.sched a { color: var(--brand-2); }
.res.W { color: #1e8e3e; } .res.L { color: var(--brand-2); } .live { color: var(--brand-2); }
.table-wrap { overflow-x: auto; }
.subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.sub { font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 20px; background: var(--paper); }
@media (max-width: 600px) { .hide-sm { display: none; } .sched td { padding: 8px 6px; } }
.subnav { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); margin: -8px 0 18px; }
.subnav a { padding: 8px 14px; font: 600 14px/1 var(--sans); text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; }
.subnav a.on, .subnav a:hover { color: var(--ink); border-bottom-color: var(--c); }
.sched .links { white-space: nowrap; }
.sched .links a + a { margin-left: 10px; }
.tix { font-weight: 700; }
.more { margin: 0 0 8px; }
.more summary { cursor: pointer; font: 600 14px/1 var(--sans); color: var(--brand-2); padding: 8px 0; list-style: none; }
.more summary::before { content: '▸ '; }
.more[open] summary::before { content: '▾ '; }
.more[open] summary { margin-bottom: 6px; }
.standings { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; font-size: 15px; }
.standings th { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
.standings td { padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.standings .num { text-align: right; font-variant-numeric: tabular-nums; }
.standings th.num { text-align: right; }
.standings tr.us td { font-weight: 700; background: color-mix(in srgb, var(--brand-2) 10%, transparent); }
.standings tr.cut td { border-bottom: 2px solid var(--ink); }
.standings tr.cut.playin td { border-bottom: 2px dashed var(--muted); }
.clinch { font: 700 10px/1 var(--sans); color: var(--brand-2); }
.magics { display: grid; gap: 10px; margin: 6px 0 8px; }
.magic { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--rule); border-left: 5px solid var(--brand-2); border-radius: 6px; padding: 12px 14px; }
.mnum { font: 800 34px/1 var(--serif); min-width: 56px; text-align: center; }
.magic .muted { color: var(--muted); font-size: 14px; }
.tix-chip { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-2); text-decoration: none; margin-left: 6px; }
.tix-chip::before { content: '· '; color: var(--muted); }
.tix-cta { margin: 16px 0 0; }
.tix-btn { display: inline-block; background: var(--brand-2); color: #fff; font: 700 15px/1 var(--sans); text-decoration: none; padding: 11px 16px; border-radius: 6px; }
.tix-btn:hover { filter: brightness(1.1); }
.calmenu { display: inline-flex; flex-direction: column; gap: 4px; margin: 12px 0; }
.cal-primary { display: inline-block; font: 700 14px/1 var(--sans); text-decoration: none; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink); }
.cal-primary:hover { border-color: var(--brand-2); }
.cal-via { font-weight: 500; color: var(--muted); }
.cal-others summary { cursor: pointer; font: 600 13px/1 var(--sans); color: var(--muted); padding: 4px 2px; list-style: none; }
.cal-others summary::before { content: '▸ '; }
.cal-others[open] summary::before { content: '▾ '; }
.cal-list { display: flex; flex-direction: column; gap: 6px; padding: 6px 2px; font-size: 14px; }
.cal-list a { color: var(--brand-2); }
.tix-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-top: 16px; }
.tix-cta .calmenu { margin: 0; }
.bracket .grp { font: 700 15px/1.2 var(--serif); margin: 18px 0 8px; }
.rounds { display: grid; grid-template-columns: repeat(var(--n), minmax(190px, 1fr)); gap: 12px; overflow-x: auto; align-items: center; }
.round { display: flex; flex-direction: column; gap: 10px; justify-content: space-around; height: 100%; }
.round h3 { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 2px; }
.series { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.series.bos { border-color: var(--brand-2); box-shadow: 0 0 0 1px var(--brand-2); }
.st-team { display: flex; justify-content: space-between; padding: 7px 10px; font-size: 14px; border-bottom: 1px solid var(--rule); }
.st-team b { font-variant-numeric: tabular-nums; }
.st-team.win { font-weight: 700; }
.st-team.tbd { color: var(--muted); font-style: italic; }
.st-team.us span { color: var(--brand-2); font-weight: 700; }
.st-status { font-size: 12px; color: var(--muted); padding: 6px 10px; }
@media (max-width: 700px) { .rounds { grid-template-columns: 1fr; } }
