:root {
  --navy: #123253;
  --navy-deep: #0b233c;
  --blue: #23649a;
  --sky: #eaf4fb;
  --ink: #17324b;
  --muted: #607487;
  --line: #dce6ed;
  --paper: #f5f8fa;
  --white: #fff;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; background: white; padding: 10px; z-index: 10; }
.skip-link:focus { left: 10px; }
.site-header { background: var(--navy-deep); color: white; position: relative; z-index: 2; }
.header-inner, .footer-inner { max-width: 1180px; margin: auto; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; background: rgba(255,255,255,.12); border-radius: 13px; font-size: 26px; }
.brand strong, .brand small { display: block; letter-spacing: .12em; line-height: 1.35; }
.brand strong { font-size: 13px; }
.brand small { font-size: 10px; opacity: .7; margin-top: 3px; }
nav { display: flex; gap: 27px; align-items: center; }
nav a { color: #e5eff7; font-size: 13px; text-decoration: none; }
nav a:hover, .text-link:hover { text-decoration: underline; }
.hero { min-height: 430px; background: linear-gradient(115deg, #102f50 0%, #1b527c 63%, #387da5 100%); color: white; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-content { width: min(1180px, 100%); margin: 0 auto; padding: 66px 26px 74px; position: relative; z-index: 1; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .17em; margin: 0 0 13px; color: #c4e5f9; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #55d6a2; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 4px rgba(85,214,162,.12); }
.hero h1 { font-size: clamp(42px, 6vw, 68px); letter-spacing: -.045em; line-height: 1.06; margin: 0; max-width: 680px; }
.hero h1 span { color: #a9dcf6; }
.hero-copy { color: #e0edf6; font-size: 17px; max-width: 580px; margin: 22px 0 27px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 9px; padding: 12px 17px; font-size: 13px; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-light { background: white; color: var(--navy); }
.button-outline { color: white; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.04); }
.button-primary { background: var(--blue); color: white; }
.updated-note { font-size: 11px; color: #c6dce9; margin-top: 26px; max-width: 570px; }
.hero-art { position: absolute; right: 4%; top: 15px; width: 400px; height: 390px; opacity: .8; }
.sun { width: 128px; height: 128px; border-radius: 50%; background: linear-gradient(135deg, #ffe8a0, #ffb75c); position: absolute; right: 76px; top: 37px; box-shadow: 0 0 80px rgba(255,211,126,.25); }
.cloud { position: absolute; width: 220px; height: 78px; border-radius: 60px; background: linear-gradient(180deg, #f5fbff, #bcd9e8); box-shadow: 0 20px 30px rgba(4,27,48,.14); }
.cloud:before, .cloud:after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud:before { width: 100px; height: 100px; left: 35px; bottom: 25px; }
.cloud:after { width: 76px; height: 76px; right: 32px; bottom: 19px; }
.cloud-one { right: 16px; top: 155px; }
.cloud-two { right: 124px; top: 245px; transform: scale(.72); opacity: .72; }
.art-label { position: absolute; right: 38px; bottom: 24px; color: #d9edf8; letter-spacing: .2em; font-size: 10px; font-weight: 700; }
.quick-links { max-width: 1128px; padding: 0 24px; margin: -31px auto 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-card { background: white; border: 1px solid var(--line); border-radius: 13px; min-height: 86px; display: flex; align-items: center; gap: 13px; padding: 16px; text-decoration: none; box-shadow: 0 8px 24px rgba(17,48,75,.06); }
.quick-card:hover, .resource-card:hover { border-color: #9ec6df; transform: translateY(-2px); }
.quick-icon { width: 39px; height: 39px; border-radius: 11px; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 21px; flex: 0 0 auto; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { font-size: 13px; }
.quick-card small { font-size: 11px; color: var(--muted); margin-top: 2px; }
.arrow { margin-left: auto; color: #7790a3; }
.section { max-width: 1128px; margin: auto; padding: 78px 24px 0; }
.station-section { padding-top: 78px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 13px; }
.dark-eyebrow { color: #3278a8; margin-bottom: 8px; }
h2 { font-size: clamp(27px, 3.5vw, 37px); letter-spacing: -.035em; line-height: 1.18; margin: 0; color: var(--navy-deep); }
.text-link { font-size: 12px; font-weight: 750; color: var(--blue); text-decoration: none; padding-bottom: 5px; }
.section-intro { color: var(--muted); max-width: 760px; font-size: 14px; margin: 16px 0 24px; }
.dashboard-shell { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px rgba(18,50,83,.07); background: white; }
.dashboard-topline { min-height: 49px; background: #f7fafc; border-bottom: 1px solid var(--line); padding: 0 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #557083; }
.dashboard-label { color: #8294a2; }
.dashboard-container { min-height: 650px; }
.dashboard-container iframe { width: 100%; min-height: 760px; border: 0; display: block; background: white; }
.dashboard-loading { min-height: 420px; padding: 55px 24px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; background: linear-gradient(180deg, #fff, #f7fbfe); }
.loading-symbol { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #e7f3fb; color: var(--blue); font-size: 36px; }
.dashboard-loading h3 { margin: 20px 0 6px; font-size: 20px; }
.dashboard-loading p { max-width: 490px; color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.privacy-note, .disclaimer { color: #718394; font-size: 11px; margin: 13px 0 0; }
.highlights { background: var(--paper); margin-top: 76px; padding: 64px max(24px, calc((100% - 1080px)/2)); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.highlight-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 23px; }
.highlight-icon { font-size: 25px; }
.highlight-card h3 { margin: 13px 0 7px; font-size: 16px; }
.highlight-card p { color: var(--muted); font-size: 13px; margin: 0; }
.radar-section { padding-bottom: 75px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 25px; }
.resource-card { border: 1px solid var(--line); border-radius: 14px; padding: 21px; display: flex; gap: 16px; text-decoration: none; transition: transform .15s, border-color .15s; }
.resource-symbol { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; background: var(--sky); border-radius: 13px; color: var(--blue); font-size: 23px; }
.resource-content strong, .resource-content small, .resource-content em { display: block; }
.resource-content strong { font-size: 14px; }
.resource-content small { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 5px; }
.resource-content em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--blue); margin-top: 11px; }
.community-banner { margin: 0 auto 65px; max-width: 1080px; border-radius: 18px; padding: 36px 38px; background: linear-gradient(115deg, #143553, #236b94); color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.community-banner .eyebrow { color: #b8e2f7; }
.community-banner h2 { color: white; font-size: 27px; }
.community-banner p:not(.eyebrow) { color: #d9e8f2; font-size: 13px; margin: 9px 0 0; max-width: 590px; }
.community-banner .button { flex: 0 0 auto; }
.site-footer { background: #0b233c; color: white; padding: 30px 0; }
.footer-inner { align-items: center; flex-wrap: wrap; }
.footer-brand .brand-mark { background: rgba(255,255,255,.1); }
.footer-inner > p { color: #afc1cf; font-size: 11px; max-width: 420px; margin: 0; }
.copyright { color: #afc1cf; font-size: 11px; white-space: nowrap; }
code { background: #edf3f7; border-radius: 4px; padding: 2px 5px; font-size: .9em; }
@media (max-width: 850px) {
  .hero-art { right: -110px; opacity: .32; }
  .quick-links { grid-template-columns: 1fr; margin-top: 18px; }
  .quick-card { min-height: 74px; }
  .section, .station-section { padding-top: 54px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .community-banner { margin-left: 20px; margin-right: 20px; padding: 28px; }
}
@media (max-width: 620px) {
  .header-inner { padding: 15px 18px; align-items: flex-start; flex-direction: column; gap: 15px; }
  nav { gap: 16px; flex-wrap: wrap; }
  nav a { font-size: 12px; }
  .hero { min-height: 420px; }
  .hero-content { padding: 56px 22px 58px; }
  .hero-copy { font-size: 15px; }
  .hero-art { right: -210px; top: 50px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section, .station-section { padding-left: 18px; padding-right: 18px; }
  .dashboard-container { min-height: 470px; }
  .dashboard-container iframe { min-height: 650px; }
  .dashboard-topline { padding: 0 12px; font-size: 9px; }
  .resource-grid { grid-template-columns: 1fr; }
  .highlights { padding: 48px 18px; }
  .community-banner { align-items: flex-start; flex-direction: column; padding: 26px 22px; }
  .footer-inner { padding: 0 20px; align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }


/* Daily history and news panels */
.daily-content { max-width: 1128px; margin: 0 auto; padding: 66px 24px 0; }
.daily-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; align-items: stretch; }
.daily-panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; background: #fff; box-shadow: 0 10px 28px rgba(18,50,83,.045); }
.history-panel { background: linear-gradient(160deg, #fff 0%, #f5faff 100%); }
.daily-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.daily-panel h2 { font-size: clamp(22px, 2.5vw, 29px); }
.date-pill, .live-label { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; background: #edf5fa; color: #326b91; padding: 6px 10px; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.live-label { background: #eef8f2; color: #24754d; }
.daily-intro { color: var(--muted); font-size: 12px; margin: 12px 0 18px; }
.history-feed, .nyt-feed { display: flex; flex-direction: column; }
.history-item, .nyt-item { padding: 13px 0; border-top: 1px solid var(--line); }
.history-item:first-child, .nyt-item:first-child { border-top: 0; }
.history-year { color: var(--blue); font-weight: 850; font-size: 11px; letter-spacing: .06em; }
.history-item a, .nyt-item a { color: var(--ink); text-decoration: none; font-weight: 750; font-size: 13px; display: block; margin: 3px 0; line-height: 1.45; }
.history-item a:hover, .nyt-item a:hover { color: var(--blue); text-decoration: underline; }
.history-item p, .nyt-item p { color: var(--muted); font-size: 11px; margin: 5px 0 0; line-height: 1.5; }
.nyt-meta { margin-top: 6px; font-size: 10px; color: #8193a1; }
.feed-status, .feed-error { color: var(--muted); font-size: 12px; padding: 15px 0; margin: 0; }
.feed-error a { color: var(--blue); font-weight: 750; }
.feed-attribution { color: #8293a0; font-size: 10px; margin: 13px 0 0; }
.feed-attribution a, .feed-footer a { color: var(--blue); }
.feed-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 13px; }
.feed-footer a { font-size: 11px; font-weight: 800; text-decoration: none; }
@media (max-width: 850px) { .daily-content { padding-top: 48px; } .daily-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .daily-content { padding: 42px 18px 0; } .daily-panel { padding: 20px; } .daily-panel-heading { flex-direction: column; } }

/* Chicago sports scores */
.sports-panel { margin-top: 18px; }
.sports-feed { display: flex; flex-direction: column; gap: 14px; }
.sports-date-heading { font-size: 13px; font-weight: 850; color: var(--blue); margin: 6px 0 0; }
.sports-score-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sports-score-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #f8fbfd; }
.sports-card-top { font-size: 11px; color: var(--muted); font-weight: 800; margin-bottom: 12px; }
.sports-matchup { display: flex; align-items: center; justify-content: space-between; gap: 7px; font-size: 11px; }
.sports-side { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sports-side strong { font-size: 24px; color: var(--ink); }
.sports-status { font-size: 10px; color: var(--muted); margin-top: 10px; }
.sports-score-card a { display: inline-block; margin-top: 8px; font-size: 10px; color: var(--blue); font-weight: 800; text-decoration: none; }
.sports-empty { color: var(--muted); font-size: 12px; grid-column: 1 / -1; }
@media (max-width: 850px) { .sports-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sports-score-grid { grid-template-columns: 1fr; } }
