.league-intro h1 { font: 500 clamp(30px, 4vw, 48px)/1.15 Georgia, serif; margin: 12px 0; }
.league-page .survivor-panel p { font-size: 16px; }
.league-page input { min-height: 46px; min-width: 0; width: 160px; max-width: 100%; padding: 10px; color: var(--ink); background: #102e25; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; }
.league-bracket { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.league-round { padding: 16px; background: #102b22; border: 1px solid var(--line); border-radius: 10px; margin-top: 12px; }
.league-round h3 { margin-top: 0; }
.league-playoff-game { padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.7; font-size: 16px; }
.league-playoff-game strong { display: block; color: var(--lime); }
.league-champion { grid-column: 1 / -1; border: 1px solid var(--lime); }
#league-error { padding: 12px; border: 1px solid var(--red); }
#league-progress { min-height: 25px; }
.league-run-controls .league-seed-mode { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.league-run-controls input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; }
.league-run-controls input[readonly] { opacity: .75; }
#league-example-select { max-width: 100%; }
#league-results details > summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-size: 16px; }
.league-section-table { margin-bottom: 24px; }
.league-section-table h3 { margin-top: 26px; }
.league-run-controls { gap: 16px; }
.league-run-controls > a { min-height: 44px; display: inline-flex; align-items: center; padding-block: 10px; font-size: 14px; line-height: 1.5; }
.league-run-controls .league-seed-mode { flex: 0 1 auto; align-self: end; padding-block: 10px; }
.league-bracket > section { min-width: 0; }
.league-page #league-results .survivor-heading > .survivor-controls { flex: 1 1 320px; justify-content: flex-end; }
.league-page #league-results .survivor-heading > .survivor-controls label { flex: 1 1 140px; }
.league-page #league-results .survivor-controls select { width: 100%; }
.league-page :is(#league-games, #league-example-games, #league-example-records) .survivor-table-scroll { max-height: min(70vh, 640px); }
.league-page :is(#league-games, #league-example-games, #league-example-records) .survivor-table thead th { position: sticky; top: 0; z-index: 2; }
@media(max-width: 760px) { .league-bracket { grid-template-columns: 1fr; } }
@media(max-width: 520px) {
  .league-run-controls > label { flex-basis: calc(50% - 16px); }
  .league-run-controls input { width: 100%; }
  .league-run-controls .league-seed-mode { flex-basis: 100%; }
  .league-run-controls > button { flex-basis: 100%; }
  .league-run-controls > a { flex: 1 1 100%; }
  .league-round { padding: 14px; }
}
