:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17251f; background: #f4f1e9; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button { border: 0; border-radius: .55rem; padding: .72rem 1rem; color: #fff; background: #174a36; font-weight: 750; cursor: pointer; }
button:hover { background: #0f3828; }
button:disabled { cursor: not-allowed; opacity: .58; }
button.secondary { color: #174a36; background: #e2ebe6; }
button.danger { background: #8b2c22; }
button.danger:hover { background: #682018; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #df9d18; outline-offset: 3px; }
.page-header, main, footer { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.page-header { padding: 4rem 0 2rem; }
.eyebrow { margin: 0; color: #7a4b00; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: .2rem 0 .8rem; font-family: Georgia, serif; font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 500; line-height: .95; }
h2 { margin-top: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
h3 { margin: 1.5rem 0 .55rem; font-size: 1rem; }
.refresh-row, .fixture-topline, .button-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pupil-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pupil-heading h2 { margin-bottom: 0; }
button.compact { padding: .45rem .7rem; font-size: .85rem; }
.refresh-row p { margin: 0; color: #526159; }
.refresh-message { min-height: 1.5em; margin: .65rem 0 0; color: #526159; }
.pupil-section, .settings { margin-bottom: 1.25rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #d7d2c6; border-radius: 1rem; background: #fff; box-shadow: 0 10px 32px rgba(23, 37, 31, .06); }
.fixture-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.fixture-card { padding: 1rem; border-left: .3rem solid #a8b8ae; border-radius: .35rem; background: #f7f8f5; }
.fixture-topline { justify-content: space-between; }
.fixture-details { display: flex; gap: .35rem 1.2rem; flex-wrap: wrap; margin-top: .4rem; color: #4d5d55; font-size: .94rem; }
.team-sheet { margin-top: .8rem; border-top: 1px solid #d7d2c6; padding-top: .65rem; }
.team-sheet summary { color: #174a36; font-weight: 750; cursor: pointer; }
.team-sheet ol { columns: 2; margin-bottom: 0; padding-left: 1.6rem; }
.team-sheet .tracked-player { color: #17633e; }
.player-annotations { color: #755100; font-size: .85em; font-weight: 750; white-space: nowrap; }
.status { border: 1px solid currentColor; border-radius: 999px; padding: .18rem .58rem; font-size: .78rem; }
.status-confirmed { color: #17633e; } .status-not_selected, .status-unable_to_check { color: #8b2c22; } .status-possible, .status-awaiting_team_sheet { color: #755100; }
.check-error { margin: .65rem 0 0; color: #8b2c22; font-size: .9rem; }
.empty { color: #526159; }
.tracked-teams { margin-top: -.5rem; color: #526159; }
.settings p { max-width: 48rem; color: #526159; }
form { display: grid; gap: .55rem; max-width: 38rem; }
label { margin-top: .3rem; font-weight: 750; }
input, select { width: 100%; border: 1px solid #9ca9a2; border-radius: .45rem; padding: .65rem; background: #fff; color: #17251f; }
form button { justify-self: start; margin-top: .4rem; }
footer { padding: 1rem 0 3rem; color: #526159; font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: no-preference) { button { transition: background-color .15s ease, transform .15s ease; } button:active { transform: translateY(1px); } }
@media (max-width: 38rem) { .page-header { padding-top: 2.5rem; } .fixture-topline { align-items: flex-start; } .team-sheet ol { columns: 1; } }
