:root {
  --ink: #022C66;
  --ink-soft: #486581;
  --paper: #ffffff;
  --card: #fffdf9;
  --gold: #e6a11a;
  --gold-soft: #fff0c7;
  --line: #d9e2ec;
  --red: #b83a32;
  --shadow: 0 16px 35px rgba(2, 44, 102, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

body::before {
  display: none;
}

.shell { width: min(100% - 40px, 980px); margin: 0 auto; }

.masthead {
  background: var(--ink);
  color: white;
  border-bottom: 5px solid var(--gold);
}

.masthead__inner { display: flex; align-items: center; gap: 14px; min-height: 86px; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.eyebrow { margin: 0 0 5px; color: #9fb3c8; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--gold { color: #b47709; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font: 700 27px/1 "Barlow Condensed", sans-serif; letter-spacing: .015em; text-transform: uppercase; }
.season-tag { margin-left: auto; padding-left: 13px; border-left: 1px solid rgba(255,255,255,.3); color: #d9e2ec; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.35; text-align: right; }

.main-content { padding: 55px 0 80px; }
.intro { display: flex; justify-content: space-between; align-items: end; margin-bottom: 42px; }
.intro h2 { margin: 0; font: 800 clamp(48px, 8vw, 76px)/.86 "Barlow Condensed", sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.intro h2 span { color: var(--red); }
.intro__rule { width: 30%; height: 13px; margin-bottom: 4px; background: repeating-linear-gradient(-45deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .9; }
.record { display: inline-block; margin: -22px 0 26px; padding: 7px 10px; background: var(--ink); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .12em; }

.status { display: flex; align-items: center; gap: 10px; min-height: 24px; color: var(--ink-soft); font-size: 14px; }
.loader { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.schedule-section { margin-top: 42px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 11px; }
.section-heading h3 { margin: 0; font: 700 29px/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.section-heading span { color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.game-list { display: grid; gap: 12px; margin-top: 14px; }
.game-card { display: grid; grid-template-columns: 82px 1fr auto; gap: 17px; align-items: center; padding: 19px 20px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); box-shadow: var(--shadow); animation: rise .5s both; }
.game-card--past { border-left-color: #9fb3c8; box-shadow: none; opacity: .72; }
.game-date { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.game-date__day { font: 700 34px/.9 "Barlow Condensed", sans-serif; }
.game-date__month { color: var(--red); font: 700 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.game-date__weekday { margin-top: 5px; color: var(--ink-soft); font-size: 11px; }
.matchup { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.team { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.team--away { flex-direction: row-reverse; }
.team-name { max-width: 145px; overflow: hidden; color: var(--ink-soft); font-size: 11px; font-weight: 700; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.team-mark { position: relative; display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; overflow: hidden; background: #e8eef3; color: var(--ink); font: 800 11px/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; }
.team-mark img { width: 100%; height: 100%; object-fit: contain; }
.team-mark img + span { display: none; }
.team-mark--cougar { background: var(--ink); color: var(--gold); }
.versus { color: var(--red); font-size: 10px; font-weight: 800; }
.game-info { min-width: 0; }
.game-info h4 { margin: 0 0 7px; overflow-wrap: anywhere; font: 700 25px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.game-time, .venue { color: var(--ink-soft); font-size: 13px; }
.game-time { font-weight: 700; }
.venue { display: block; max-width: 470px; margin-top: 8px; line-height: 1.35; }
.badge { display: inline-block; margin-left: 7px; padding: 4px 7px; background: var(--gold-soft); color: #8b5a00; font: 700 10px/1 "DM Sans", sans-serif; letter-spacing: .07em; vertical-align: middle; }
.badge--away { background: #e8eef3; color: var(--ink-soft); }
.directions { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.directions:hover { color: var(--red); text-decoration: underline; }
.arrow { color: var(--gold); font-size: 16px; }
.refreshed { margin: 30px 0 0; color: var(--ink-soft); font-size: 12px; }
.empty-state { max-width: 490px; margin-top: 42px; padding: 30px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.empty-state h2 { margin-bottom: 8px; font: 700 32px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.empty-state p:not(.eyebrow) { color: var(--ink-soft); }
.button { padding: 11px 16px; border: 0; background: var(--ink); color: white; cursor: pointer; font: 700 12px "DM Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.button:hover { background: var(--red); }
.footer { display: flex; justify-content: space-between; padding: 18px 0 25px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .12em; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 980px); }
  .main-content { padding-top: 40px; }
  .intro { display: block; margin-bottom: 32px; }
  .intro__rule { width: 70%; margin-top: 22px; }
  .game-card { grid-template-columns: 66px 1fr; gap: 13px; padding: 16px 14px; }
  .game-date__day { font-size: 29px; }
  .game-info h4 { font-size: 23px; }
  .team-name { max-width: 92px; }
  .matchup { gap: 6px; }
  .card-action { grid-column: 2; }
  .directions { margin-top: 0; }
  .footer { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
