/* One Page Season: a clear, field-green planner with an editorial rhythm. */
:root {
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --shell-max: 1280px;
  --radius-sm: 6px; --radius: 12px; --radius-lg: 18px;
  --pylon: #146348; --pylon-soft: #14634812;
  --turf: #087b63; --turf-soft: #087b6312;
  --header-h: 80px;
}
[data-theme='light'] {
  --bg: #f5f7f6; --bg-grad: none;
  --surface: #fff; --surface-2: #edf2ef; --surface-3: #e4ece7;
  --border: #d9e2dc; --border-strong: #aabfb1;
  --text: #172b23; --text-muted: #53675c; --text-faint: #617269;
  --shadow: 0 4px 20px #123a2110; --chip-bg: #153d2410;
}
[data-theme='dark'] {
  --bg: #101b17; --bg-grad: none;
  --surface: #182720; --surface-2: #20352a; --surface-3: #294434;
  --border: #324c3d; --border-strong: #557360;
  --text: #edf5ef; --text-muted: #b2c5b8; --text-faint: #9eb4a5;
  --pylon: #86d8ab; --pylon-soft: #86d8ab16; --turf: #7bcbb9;
  --shadow: 0 4px 20px #0002; --chip-bg: #ffffff08;
}
body { font-size: 16px; background-image: none; }
[hidden] { display: none !important; }
.shell { max-width: var(--shell-max); padding-inline: 28px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); backdrop-filter: none; }
.header-inner { min-height: 80px; gap: 16px; }
.wordmark { gap: 10px; flex-shrink: 0; }
.wordmark-mark { background: #174f39; color: #efffd2; width: 36px; height: 40px; border-radius: 5px; transform: none; font-size: 30px; }
.wordmark-text { font-family: var(--font-body); font-size: 18px; font-weight: 750; letter-spacing: -.7px; }
.wordmark-text span { color: var(--text); }
.nav-link { font-size: 14px; padding: 10px 12px; font-weight: 600; }
.nav-link[aria-current='page'] { color: var(--pylon); background: var(--pylon-soft); }
.nav-cta { background: #174f39; color: #fff; border-radius: 7px; margin-left: 6px; }
.nav-cta:hover { color: #fff; background: #236d4c; }
.nav-cta[aria-current='page'] { background: #174f39; color: #fff; }
.icon-btn { min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 8px; }
.site-main { padding: 42px 0 64px; }
.page-title { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.6px; margin-bottom: 16px; }
.page-sub { font-size: 16px; max-width: 700px; line-height: 1.7; }
.eyebrow { display: block; color: var(--pylon); font-family: var(--font-body); font-size: 12px; line-height: 1.5; font-weight: 750; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 32px; letter-spacing: -.3px; }
.section-note, .updated-stamp, .result-count { font-size: 13px; color: var(--text-muted); }
.section-head { gap: 14px; flex-wrap: wrap; }
.btn { border-radius: 7px; min-height: 46px; padding: 11px 17px; font-size: 14px; font-weight: 650; box-shadow: none; }
.btn--primary { background: #174f39; color: #fff; border-color: #174f39; }
.btn--primary:hover { background: #236d4c; }
[data-theme='dark'] .btn--primary { background: #99e2b8; color: #132b1e; border-color: #99e2b8; }
[data-theme='dark'] .btn--primary:hover { background: #baf5ce; }
.btn--ghost { background: var(--surface); }
.field { min-height: 48px; font-size: 16px; border-radius: 7px; background-color: var(--surface); }
.segmented { padding: 4px; background: var(--surface-2); border-color: var(--border); border-radius: 8px; }
.segmented button { min-height: 42px; font-size: 14px; border-radius: 5px; }
.segmented button[aria-pressed='true'] { background: var(--surface); color: var(--pylon); box-shadow: 0 1px 4px #0001; }
.filter-label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
.filter-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.builder-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 60px; margin-bottom: 32px; }
.builder-heading .page-title { font-size: clamp(52px, 6vw, 78px); line-height: .98; margin: 0 0 18px; }
.builder-heading .page-sub { max-width: 560px; margin-bottom: 0; }
.accent-text { color: var(--pylon); }
.builder-note { border-left: 1px solid var(--border-strong); padding: 16px 0 16px 36px; }
.builder-note strong { font-family: var(--font-display); font-size: 31px; line-height: 1.15; font-weight: 600; }
.builder-note p { color: var(--text-muted); font-size: 14px; margin-bottom: 0; }
.planner-layout { display: grid; grid-template-columns: 355px minmax(0,1fr); gap: 30px; align-items: start; }
.planner-sidebar { min-width: 0; }
.league-choice { display: flex; margin-bottom: 14px; width: 100%; }
.league-choice button { flex: 1; padding-inline: 8px; }
.team-picker-panel { padding: 24px 20px; box-shadow: var(--shadow); }
.team-picker-panel h2 { font-size: 28px; }
.picker-help { color: var(--text-muted); font-size: 14px; margin: 10px 0 16px; }
.picker-results { max-height: 340px; border-color: var(--border-strong); z-index: 20; }
.picker-option { min-height: 50px; }
.picker-option span { white-space: normal; }
.favorites-list { margin-top: 18px; gap: 8px; }
.favorites-list > li > .panel { padding: 12px; border-style: dashed; font-size: 14px; background: var(--surface-2); }
.favorite-item { gap: 8px; padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; flex-wrap: wrap; }
.favorite-name { font-size: 14px; white-space: normal; min-width: 110px; }
.favorite-league { font-size: 12px; }
.reorder-group { margin-left: auto; }
.mini-btn { width: 36px; height: 40px; }
.timezone-panel { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 20px; }
.timezone-panel label { display: block; margin-bottom: 8px; }
.timezone-panel .field { width: 100%; }
.timezone-panel p, .local-note { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.local-note { margin-top: 24px; }
.planner-results { min-width: 0; }
.planner-empty { min-height: 380px; padding: 32px 36px; border: 1px dashed var(--border-strong); border-radius: 12px; background: var(--surface); }
.empty-mark { display: grid; place-items: center; width: 55px; height: 62px; background: #e9f2d9; color: #28583b; font-family: var(--font-display); font-size: 46px; border-radius: 8px; margin: 24px 0; }
.planner-empty h2 { font-size: 34px; max-width: 460px; }
.planner-empty p { color: var(--text-muted); max-width: 480px; font-size: 15px; line-height: 1.75; }
.text-link { font-size: 14px; color: var(--pylon); font-weight: 650; text-underline-offset: 4px; }
.export-panel { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--pylon); border-radius: 10px; padding: 22px; margin-bottom: 20px; }
.export-panel h3 { font-size: 27px; }
.export-panel p { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin: 9px 0 16px; max-width: 600px; }
.export-panel .season-actions { gap: 8px; margin: 0; }
.export-panel .btn { font-size: 13px; padding: 10px 12px; }
.planner-filters { padding: 0; border: 0; background: none; }
.planner-results .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card-grid { gap: 16px; }
.game-card { padding: 18px; border-radius: 10px; box-shadow: none; }
.game-card:hover { transform: none; box-shadow: var(--shadow); }
.game-card::before { width: 3px; }
.game-card-top { flex-wrap: wrap; gap: 10px; }
.game-meta { font-size: 12px; line-height: 1.7; }
.tv-bug { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 4px; font-size: 13px; padding: 4px 7px; max-width: 100%; }
.tv-bug--stream { background: var(--turf-soft); color: var(--turf); }
.team-name-main { font-size: 15px; font-weight: 650; }
.team-record { font-size: 12px; color: var(--text-muted); }
.team-score { font-size: 28px; }
.game-venue { font-size: 12px; }
.status { font-size: 12px; }
.for-team-chip { font-size: 12px; }
.shared-schedule { margin-bottom: 24px; border-color: var(--pylon); }
.shared-schedule h2 { font-size: 28px; }
.editorial-section { padding-top: 42px; margin-top: 42px; border-top: 1px solid var(--border); }
.editorial-section h2 { font-size: 34px; margin-bottom: 16px; }
.editorial-section h3 { font-size: 27px; margin-bottom: 12px; }
.editorial-section p { color: var(--text-muted); font-size: 15px; line-height: 1.8; }
.editorial-section a { text-underline-offset: 4px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 44px; padding-top: 16px; }
.step-number { display: block; font: 600 36px var(--font-display); color: var(--pylon); margin-bottom: 14px; }
.editorial-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; }
.reading-card { background: var(--surface-2); padding: 32px; border-radius: 12px; }
.reading-card a { display: inline-block; margin-top: 12px; font-size: 14px; }
.team-directory-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 20px 0 32px; }
.team-directory { scroll-margin-top: 100px; }
.directory-filter { max-width: 480px; margin-bottom: 24px; }
.directory-filter label { display: block; margin-bottom: 8px; }
.directory-filter input { width: 100%; }
.picker-group-label, .picker-option em { font-size: 12px; }
.directory-link { display: flex; align-items: center; min-height: 52px; background: var(--surface); border: 1px solid var(--border); padding: 12px 15px; border-radius: 6px; font-size: 14px; line-height: 1.5; text-decoration: none; }
.directory-link:hover { border-color: var(--pylon); color: var(--pylon); }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.schedule-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.schedule-table caption { padding: 16px; text-align: left; color: var(--text-muted); font-size: 13px; }
.schedule-table th, .schedule-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.schedule-table th { background: var(--surface-2); }
.legal-content { max-width: 850px; background: var(--surface); border: 1px solid var(--border); padding: 40px 48px; border-radius: 14px; }
.legal-content h1 { font-size: clamp(36px, 4vw, 54px); }
.legal-content h2 { font-size: 29px; }
.legal-content p, .legal-content li { font-size: 16px; line-height: 1.85; }
.post-card { background: var(--surface-2); border-radius: 8px; }
.site-footer { background: #143c2c; color: #ecf5ec; padding: 40px 0 28px; margin-top: 0; border: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer strong { font-size: 20px; }
.site-footer p { font-size: 13px; line-height: 1.8; color: #c4d7ca; }
.site-footer a { color: #ecf5ec; text-decoration: none; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links .eyebrow { color: #acd8b7; }
.footer-bottom { margin-top: 28px; border-top: 1px solid #ffffff25; padding-top: 20px; }
.site-footer .field { background: #214c38; color: #fff; border-color: #61816c; }
.site-footer .field { max-width: 100%; }
@media(min-width: 1000px) { .primary-nav { display: flex; } .nav-toggle { display: none; } }
@media(max-width: 1100px) { .nav-link { padding-inline: 8px; } .planner-layout { grid-template-columns: 310px minmax(0,1fr); gap: 22px; } .planner-results .card-grid { grid-template-columns: 1fr; } }
@media(max-width: 999px) { .primary-nav { display: none; } .nav-toggle { display: grid; } .builder-heading { gap: 32px; } .team-directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width: 760px) {
  .shell { padding-inline: 20px; } .site-main { padding-top: 26px; } .header-inner { min-height: 68px; gap: 10px; } :root { --header-h: 68px; }
  .builder-heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 26px; } .builder-note { display: none; }
  .builder-heading .page-title { font-size: 58px; } .builder-heading .page-sub { font-size: 15px; }
  .planner-layout { grid-template-columns: 1fr; gap: 26px; } .planner-empty { min-height: 0; padding: 26px; } .empty-mark { margin: 18px 0; }
  .planner-results .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-grid, .editorial-split { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid article { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
  .step-number { font-size: 28px; margin-bottom: 6px; }
  .team-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-brand { grid-column: 1 / -1; }
  .legal-content { padding: 28px 24px; } .editorial-section { margin-top: 30px; padding-top: 30px; }
}
@media(max-width: 480px) {
  .shell { padding-inline: 16px; } .wordmark-text { font-size: 16px; } .wordmark-mark { width: 30px; height: 35px; } .header-inner { gap: 8px; }
  .planner-results .card-grid, .card-grid { grid-template-columns: 1fr; }
  .planner-filters .filter-group { width: 100%; } .planner-filters .segmented { display: flex; } .planner-filters .segmented button { flex: 1; }
  .team-picker-panel { padding: 20px 16px; } .export-panel { padding: 18px; } .export-panel .season-actions { display: grid; grid-template-columns: 1fr; }
  .export-panel .btn { width: 100%; } .game-card { padding: 16px; }
  .team-directory-grid { grid-template-columns: 1fr; } .legal-content { padding: 24px 18px; }
  .builder-heading .page-title { font-size: 54px; } .builder-heading .page-sub { line-height: 1.65; }
}
@media print {
  .site-header, .site-footer, .planner-sidebar, .export-panel, .filter-bar, .builder-note, #page-content, .shared-schedule { display: none !important; }
  .planner-layout { display: block; } .builder-heading { display: block; } body { color: #000; background: #fff; }
  .game-card { break-inside: avoid; box-shadow: none; }
}
