body { margin: 0; color: #172033; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
main { width: 100%; max-width: 800px; margin: 0 auto; padding: 24px 20px 36px; }
a { color: #1769c2; text-decoration: none; }
a:hover, a:focus { color: #0e4f99; }
a:focus-visible { outline: 2px solid #1769c2; outline-offset: 2px; }
h1 { font-size: 28px; font-weight: normal; margin: 25px 0 12px; }
h2 { font-size: 22px; font-weight: normal; margin: 30px 0 14px; }
p { margin: 10px 0; }
.muted { color: #666; font-size: 13px; }
.small, footer { font-size: 12px; }
.notice { color: #775d29; background: #fff9e8; padding: 8px 10px; font-size: 12px; }
.day-section { margin-bottom: 36px; }
.table-scroll { overflow-x: auto; }
.schedule { width: 100%; min-width: 750px; border-collapse: collapse; table-layout: fixed; font-size: 11px; line-height: 1.3; }
.schedule caption { text-align: left; color: #777; padding: 0 0 7px; font-size: 12px; }
.schedule col:first-child { width: 88px; }
.schedule thead th { height: 52px; padding: 6px 3px; font-size: 12px; font-weight: normal; vertical-align: middle; background: #fafafa; border: 1px solid #ddd; }
.schedule thead th:first-child { text-align: left; padding-left: 4px; }
.schedule tbody th { color: #666; padding: 2px 4px; text-align: left; font-weight: normal; background: #fff; border: 1px solid #eee; white-space: nowrap; font-variant-numeric: tabular-nums; }
.schedule td { padding: 0; border: 1px solid #eee; vertical-align: top; position: relative; }
.schedule .hour th, .schedule .hour td { border-top-color: #ccc; }
.schedule .time-gap { height: 21px; }
.schedule .time-gap th { background: #fafafa; color: #999; font-size: 10px; padding: 3px 5px; }
.schedule .available { border-color: #ddd; background: var(--slot-bg); }
.tone-0 { --slot-bg: #e3f2fd; --slot-hover: #cfe7fa; }
.tone-1 { --slot-bg: #e3f2e8; --slot-hover: #cce7d5; }
.tone-2 { --slot-bg: #eee5f8; --slot-hover: #dfd0f0; }
.tone-3 { --slot-bg: #def3f3; --slot-hover: #c7e8e8; }
.booking-options { display: flex; position: absolute; inset: 0; }
.booking-options > a, .booking-options > span { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; padding: 2px 0; }
.available a:hover, .available a:focus { background: var(--slot-hover); color: #0e4f99; }
.available .court-numbers { display: block; white-space: nowrap; font-size: 11px; }
#map { height: 370px; width: 100%; background: #f5f5f5; border: 1px solid #ddd; margin-top: 14px; }
#map > p { padding: 12px; }
.map-key { font-size: 12px; line-height: 2; }
.map-key a { display: inline-block; margin-right: 12px; }
.map-marker { background: #003262; color: #fff; border: 2px solid #fff; border-radius: 50%; text-align: center; line-height: 24px; font: 12px/24px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; box-shadow: 0 1px 4px #777; }
.map-marker.campus { background: #fdb515; color: #111; border-radius: 3px; font-weight: bold; }
.leaflet-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12px; }
.map-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; }
footer { border-top: 1px solid #eee; margin-top: 28px; color: #777; }
@media (max-width: 540px) { main { padding: 16px 14px 28px; } h1 { font-size: 25px; } #map { height: 320px; } }
