/* /season: this season so far. Loaded after site.css and track.css (the night colours live there). */
.ss { padding-top: 24px; padding-bottom: 32px; display: grid; gap: 16px; min-width: 0; }
.ss h1 { margin: 0; font-size: clamp(1.7rem, 6vw, 2.4rem); overflow-wrap: anywhere; }
.ss h2, .ss h3, .ss h4, .ss p { margin: 0; }
.ss-lede { max-width: 40em; color: var(--muted); }
.ss-window, .ss-updated { margin: 0; }
.ss [hidden] { display: none; }

.ss-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 10px; min-width: 0; }
.ss-tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 14px 16px; background: var(--card); border: 2px solid var(--line); border-top: 5px solid var(--red); border-radius: var(--radius); overflow-wrap: anywhere; }
.ss-num { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 700; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.1; color: var(--navy); }
.ss-lab { color: var(--muted); font-weight: 700; }
.ss-empty { font-weight: 700; color: var(--navy); }

.ss-map-wrap { min-width: 0; }
.ss-map { width: 100%; height: clamp(300px, 52vh, 520px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #f3eee3; }
.ss-note { color: var(--muted); font-size: 0.95rem; }

.ss-cta { display: grid; gap: 12px; min-width: 0; }
.ss-card { display: grid; gap: 10px; padding: 16px 18px; min-width: 0; align-content: start; }
.ss-card h2 { font-size: 1.25rem; overflow-wrap: anywhere; }
.ss-card .btn { max-width: 100%; justify-self: start; }
.ss-btns { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.ss-btns .btn { max-width: 100%; }

.ss-list-h { font-size: 1.4rem; margin-top: 6px; }
.ss-list { display: grid; gap: 18px; min-width: 0; }
.ss-state { display: grid; gap: 10px; min-width: 0; }
.ss-state-h { font-size: 1.2rem; padding-bottom: 4px; border-bottom: 2px solid var(--line); }
.ss-county { display: grid; gap: 8px; min-width: 0; }
.ss-county-h { font-size: 1rem; color: var(--muted); }
.ss-depts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.ss-dept { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 14px; color: var(--navy); text-decoration: none; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.ss-dept:hover { border-color: var(--red); }
.ss-dept:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--navy); }
.ss-name { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.ss-town { color: var(--muted); }
.ss-next { font-weight: 700; }
.ss-prefs { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.ss-prefs .tr-nm { max-width: 100%; }

@media (min-width: 700px) {
  .ss-cta { grid-template-columns: 1fr 1fr; }
  .ss-depts { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* Night colours (the page goes dark with data-theme="night", as on the resident page). */
html[data-theme="night"]:not(.a11y-contrast) .ss-num, html[data-theme="night"]:not(.a11y-contrast) .ss-empty, html[data-theme="night"]:not(.a11y-contrast) .ss-dept { color: var(--night-cream); }
html[data-theme="night"]:not(.a11y-contrast) .ss-tile, html[data-theme="night"]:not(.a11y-contrast) .ss-dept { background: var(--night-raise); border-color: var(--night-edge); }
html[data-theme="night"]:not(.a11y-contrast) .ss-tile { border-top-color: var(--gold); }
html[data-theme="night"]:not(.a11y-contrast) .ss-dept:hover, html[data-theme="night"]:not(.a11y-contrast) .ss-dept:focus-visible { border-color: var(--gold); }
html[data-theme="night"]:not(.a11y-contrast) .ss-state-h { border-bottom-color: var(--night-edge); }
html[data-theme="night"]:not(.a11y-contrast) .ss-map { border-color: var(--night-edge); background: #0b1422; }
