
:root {
  color-scheme: light;
  --ink: #112c29;
  --black: #102323;
  --paper: #f1f5f2;
  --muted: #526861;
  --line: #d9e5dd;
  --accent: #b4f98b;
  --teal: #22654a;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 system-ui, "Segoe UI", sans-serif; }
a { color: inherit; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #428f68; outline-offset: 3px; }
.shell { width: min(75rem, calc(100% - 5rem)); margin: 0 auto; }
.topbar { background: var(--black); color: #f4faf4; border-bottom: 1px solid #36564a; }
.topbar-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.35rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-size: 1.14rem; font-weight: 830; letter-spacing: -.035em; }
.brand-mark { width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--accent); transform: rotate(-25deg); display: inline-grid; place-items: center; }
.brand-mark::after { content: ""; width: .24rem; height: 1rem; border-left: 1px dashed var(--ink); border-right: 1px dashed var(--ink); }
nav { display: flex; gap: 1.6rem; }
nav a { color: #dceae1; text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover { text-decoration: underline; text-underline-offset: .28rem; }
.share { border: 1px solid #527665; border-radius: .45rem; color: #e5f7e8; background: transparent; padding: .46rem .82rem; font-weight: 650; font-size: .88rem; }
.share:hover { background: #28433a; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, .68fr); gap: clamp(1.4rem, 4vw, 4.6rem); align-items: center; overflow: hidden; color: #f5fff5; background: radial-gradient(ellipse at 105% 90%, #235843 0, #163730 52%, #112825 80%); border-radius: 1rem; margin-top: 1.65rem; padding: clamp(1.6rem, 4.4vw, 4rem); }
.hero::after { content: ""; width: 33rem; aspect-ratio: 1; border: 1px solid #a6ec9747; border-radius: 50%; position: absolute; right: -14rem; top: -12rem; box-shadow: 0 0 0 3rem #bef7980a, 0 0 0 6rem #d9ffc10a; pointer-events: none; }
.hero-text, .latest { position: relative; z-index: 1; }
.kicker { margin: 0 0 .9rem; color: var(--accent); font-size: .85rem; font-weight: 810; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 850; letter-spacing: -.075em; line-height: 1; max-width: 15ch; margin-bottom: 1.15rem; }
.hero-sub { margin-bottom: 0; color: #d1e7d9; }
.latest { min-width: 0; padding: 1.25rem; border: 1px solid #91c39866; background: #112a27ef; border-radius: .75rem; }
.latest-title { display: flex; justify-content: space-between; gap: .7rem; color: #e1f1e7; font-size: .88rem; margin-bottom: .8rem; }
.latest-title time { color: #c5dbcb; white-space: nowrap; }
.latest-row { display: flex; justify-content: space-between; gap: .65rem; align-items: baseline; border-top: 1px solid #5e806b80; padding: .6rem 0; }
.latest-row .team-name { font-size: .92rem; }
.latest-row strong { font-variant-numeric: tabular-nums; font-size: 1.57rem; letter-spacing: -.05em; white-space: nowrap; }
.latest-result { border-top: 1px solid #5e806b80; color: var(--accent); margin: 0; padding-top: .75rem; font-size: .94rem; font-weight: 760; }
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-top: .92rem; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: .66rem; padding: 1rem 1.22rem; }
.metric p { margin: 0; color: var(--muted); font-size: .89rem; font-weight: 650; }
.metric strong { display: block; font-size: clamp(1.8rem, 2.9vw, 2.76rem); letter-spacing: -.075em; line-height: 1.2; margin-top: .28rem; font-variant-numeric: tabular-nums; }
.metric:nth-child(3) { background: #e9f6dc; }
.section { margin-top: 3.2rem; scroll-margin-top: 1rem; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.08rem; }
.section-head.compact { align-items: center; }
h2 { font-weight: 820; font-size: clamp(1.9rem, 3.2vw, 2.75rem); letter-spacing: -.065em; line-height: 1.05; margin-bottom: .38rem; }
h3 { font-size: 1.25rem; letter-spacing: -.04em; margin-bottom: 0; }
.subtitle { color: var(--muted); margin-bottom: 0; }
.pick { display: flex; gap: .58rem; align-items: center; font-size: .89rem; font-weight: 760; }
select { appearance: none; color: var(--ink); padding: .58rem 2.25rem .58rem .76rem; border: 1px solid #c9dad1; border-radius: .5rem; background: linear-gradient(47deg, transparent 50%, #2e594b 50%) calc(100% - 14px) 51% / 5px 5px no-repeat, linear-gradient(133deg, #2e594b 50%, transparent 50%) calc(100% - 9px) 51% / 5px 5px no-repeat, #fff; max-width: 100%; min-width: 8rem; }
.table-frame { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: .7rem; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: .73rem .8rem; white-space: nowrap; }
thead { background: #dcece0; color: #244c37; }
thead th { font-size: .88rem; font-weight: 790; }
tbody tr + tr, tfoot { border-top: 1px solid #e0eae4; }
tbody tr:nth-child(even) { background: #f6faf7; }
tbody tr:hover { background: #e9f3eb; }
tbody th, tfoot { font-weight: 700; }
tfoot { background: #e8f4e7; }
.date-link { color: var(--teal); text-underline-offset: .2rem; font-weight: 740; }
.num { text-align: right; }
.table-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; color: var(--muted); margin: .58rem 0 0; font-size: .87rem; }
.phase-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.phase-card { border: 1px solid var(--line); background: #fff; border-radius: .7rem; padding: 1rem; min-width: 0; }
.phase-card h3 { margin-bottom: .08rem; }
.phase-card p { color: var(--muted); font-size: .88rem; margin-bottom: .65rem; }
.phase-line { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: .35rem; padding: .55rem 0; font-variant-numeric: tabular-nums; font-size: .93rem; }
.phase-line b { color: var(--teal); }
.phase-line small { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); }
.phase-details { margin-top: 1.3rem; }
.batting-averages { display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: .8rem; }
.batting-averages span { background: #e7f3e9; border: 1px solid var(--line); border-radius: .4rem; padding: .35rem .65rem; font-size: .89rem; }
.footer { color: var(--muted); border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.2rem 0 2rem; }
.footer details { max-width: 54rem; }
.footer p { margin-top: .7rem; }
.footer summary { color: var(--ink); font-weight: 750; }
.footer ul { padding-left: 1.3rem; }
.footer-brand { font-weight: 800; color: var(--ink); letter-spacing: -.04em; margin: .95rem 0 0; }
.sr-only { clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
@media (max-width: 800px) {
  .shell { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1.05fr .85fr; gap: 1.15rem; padding: 1.5rem; }
  .phase-line { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .phase-line small { width: 100%; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 1.4rem); }
  .topbar-inner { min-height: 0; padding: .8rem 0 .58rem; flex-wrap: wrap; gap: .64rem; }
  nav { order: 3; width: 100%; gap: 1.28rem; padding-top: .17rem; }
  .hero { grid-template-columns: 1fr; margin-top: .78rem; padding: 1.3rem; border-radius: .75rem; }
  h1 { max-width: 14ch; font-size: clamp(2.55rem, 10.8vw, 4rem); }
  .latest { padding: .83rem; }
  .latest-title { margin-bottom: .45rem; }
  .latest-row { padding: .35rem 0; }
  .latest-result { padding-top: .45rem; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .56rem; }
  .metric { padding: .75rem .72rem; }
  .section { margin-top: 2.3rem; }
  .section-head, .section-head.compact { flex-wrap: wrap; align-items: start; }
  .phase-overview { grid-template-columns: 1fr; gap: .56rem; }
  .phase-line { display: grid; }
  .phase-line small { width: auto; }
  .pick select { max-width: min(67vw, 22rem); }
  th, td { padding: .58rem .63rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
