/* Danvers Falcons hub page. Same royal/navy look as the team sites, with the
   team photos up front and live scores pulled from each site's data. */
:root {
  --royal: #18479f;
  --royal-dk: #123a85;
  --navy: #0b1f4d;
  --ink: #131a2b;
  --muted: #5b647a;
  --line: #dfe4ee;
  --bg: #f3f5f9;
  --white: #ffffff;
  --win: #15803d;
  --loss: #c8322b;
  --tie: #5b647a;
  --gold: #f0b429;
  --r: 4px;
  --shadow: 0 1px 2px rgba(11, 31, 77, .06), 0 6px 18px rgba(11, 31, 77, .07);
  --shadow-up: 0 2px 4px rgba(11, 31, 77, .08), 0 14px 28px rgba(11, 31, 77, .13);
  --display: "Saira Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--royal); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.lift { transition: transform .15s, box-shadow .15s, border-color .15s; }
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); border-color: #c3cde2; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #b9c6e6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--royal); color: var(--white); box-shadow: 0 2px 10px rgba(11, 31, 77, .25); }
.hbar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); flex: none; }
.badge { width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin-bottom: -22px; box-shadow: 0 3px 10px rgba(11, 31, 77, .3); border: 3px solid var(--royal); outline: 2px solid var(--white); flex: none; position: relative; z-index: 2; }
.badge img { width: 54px; height: 54px; }
.brand-text { font-family: var(--display); font-weight: 800; font-size: 27px; text-transform: uppercase; letter-spacing: .02em; line-height: .95; }
.brand-text small { display: block; font-weight: 600; font-size: 13.5px; letter-spacing: .28em; color: #c5d4f5; }
.nav { display: flex; align-self: stretch; }
.nav a { display: flex; align-items: center; padding: 0 12px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; color: #dbe5fb; text-decoration: none; border-bottom: 4px solid transparent; border-top: 4px solid transparent; transition: background .15s, color .15s; white-space: nowrap; }
.nav a:hover { color: var(--white); background: var(--royal-dk); border-bottom-color: var(--white); }

/* ---------- Scores ticker ---------- */
.ticker { display: flex; min-height: 77px; background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }   /* its space is kept from the start, so nothing below jumps when it fills in */
.ticker[hidden] { display: none; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 18px 0 max(20px, calc((100vw - 1160px) / 2 + 108px)); background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.ticker-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.ticker-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.ticker-track { display: flex; width: max-content; animation: tick var(--dur, 70s) linear 3s infinite; }   /* starts after 3 s, so the first card reads in full */
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk-run { display: flex; }
.tk { flex: none; display: grid; min-width: 170px; padding: 8px 18px 9px; border-right: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .15s; }
.tk:hover { background: var(--bg); }
.tk-when { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tk-who { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; line-height: 1.15; white-space: nowrap; }
.tk-res { font-size: 14px; font-weight: 700; }
.tk-res.up { color: var(--royal); }
.W { color: var(--win); } .L { color: var(--loss); } .T { color: var(--tie); } .F { color: var(--royal); }

/* ---------- Newsletter button (header, beside Search) ---------- */
.news-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; margin-left: 14px; padding: 0 14px 0 11px; border-radius: 4px; border: 1.5px solid var(--gold); background: var(--gold); color: var(--navy); font: 700 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.news-btn:hover { background: #ffc94d; border-color: #ffc94d; transform: translateY(-1px); }
.news-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
/* room for it next to the team links: Search shows as its icon and the links sit a little closer */
.with-news .nav a { padding: 0 10px; }
.with-news .dfs-open { width: 40px; padding: 0; justify-content: center; margin-left: 8px; }
.with-news .dfs-open span { display: none; }
@media (min-width: 1081px) { .news-btn { margin-left: 10px; padding: 0 14px; } .news-btn svg { display: none; } }
@media (max-width: 1080px) { .news-btn { margin-left: auto; } }
@media (min-width: 1081px) and (max-width: 1200px), (max-width: 480px) {
  .news-btn { width: 40px; padding: 0; justify-content: center; }
  .news-btn span { display: none; }
  .news-btn svg { display: block; }
}
@media (max-width: 350px) { .site-header .with-news .brand-text { font-size: 17px; } }

/* ---------- Newsletter strip (newest Athletic Department newsletter) ---------- */
.news-strip { display: block; background: var(--white); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative; z-index: 2; transition: background .15s; }
.news-strip:hover { background: #f7f9fd; }
.news-strip .wrap { display: flex; align-items: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; }
.ns-label { flex: none; background: var(--gold); color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px 3px; border-radius: 4px; }
.ns-title { flex: none; font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.ns-sub { flex: 1; min-width: 0; color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-go { flex: none; margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--royal); }
.news-strip:hover .ns-go { color: var(--navy); }
@media (max-width: 860px) { .ns-sub { display: none; } .ns-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
@media (max-width: 640px) { .news-strip .wrap { gap: 10px; } .ns-title { font-size: 17px; } .ns-go { font-size: 15px; } }

/* ---------- Hero with the team photo mosaic ---------- */
.hub-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hub-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11, 31, 77, .97) 0%, rgba(11, 31, 77, .93) 36%, rgba(18, 58, 133, .8) 64%, rgba(24, 71, 159, .62) 100%); }
.hub-hero::after { content: ""; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: 52%; width: 90px; background: rgba(255, 255, 255, .06); transform: skewX(-18deg); box-shadow: 130px 0 0 rgba(255, 255, 255, .035); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 76px; }
.hub-hero .eyebrow { display: inline-block; background: var(--white); color: var(--royal); padding: 4px 12px 3px; border-radius: 4px; }
.hub-hero h1 { font-size: clamp(48px, 7.4vw, 92px); margin: 18px 0 16px; letter-spacing: .005em; }
.lede { max-width: 540px; font-size: 18.5px; color: #dbe5fb; margin: 0 0 26px; }
.hero-stats { display: flex; gap: 0; margin-bottom: 30px; flex-wrap: wrap; }
.hs { padding: 2px 26px 2px 0; margin-right: 26px; border-right: 1px solid rgba(255, 255, 255, .22); }
.hs:last-child { border-right: 0; margin-right: 0; }
.hs-v { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.hs-k { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.hs-d { font-size: 13.5px; color: #b9c6e6; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; padding: 11px 24px 10px; border-radius: 4px; text-decoration: none; border: 2px solid var(--white); transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--white); color: var(--royal); }
.btn-primary:hover { background: #e6edfc; border-color: #e6edfc; }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Next game card ---------- */
.next-up { overflow: hidden; color: var(--ink); border: 0; box-shadow: 0 16px 40px rgba(5, 14, 40, .45); }
.nu-top { display: flex; justify-content: space-between; gap: 12px; background: var(--gold); color: var(--navy); padding: 8px 18px 7px; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.nu-body { padding: 16px 18px 14px; }
.nu-when { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--royal); }
.nu-match { display: flex; align-items: center; gap: 14px; margin: 10px 0 14px; }
.nu-logo { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); }
.nu-logo img { width: 42px; height: 42px; }
.nu-opp { margin-left: -26px; box-shadow: inset 0 0 0 3.5px var(--c2), 0 0 0 3px var(--white) !important; }
.nu-opp.logo { box-shadow: 0 0 0 3px var(--white) !important; }
.nu-title { font-family: var(--display); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1; }
.nu-mascot { font-size: 14px; color: var(--muted); margin-top: 3px; }
.clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cl { background: var(--navy); color: var(--white); border-radius: 4px; text-align: center; padding: 8px 0 7px; }
.cl b { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.cl span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9c6e6; }
.clock-live { grid-column: 1 / -1; background: var(--win); color: var(--white); border-radius: 4px; text-align: center; padding: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .06em; }
.nu-site { font-size: 14px; color: var(--muted); margin-top: 12px; }
.nu-site b { color: var(--royal); }
.nu-foot { display: flex; justify-content: space-between; padding: 11px 18px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.nu-foot:hover { background: var(--bg); }

/* ---------- Sections ---------- */
.block { padding: 56px 0; scroll-margin-top: 66px; }
.block.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 48px); color: var(--navy); position: relative; padding-left: 16px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 6px; width: 6px; border-radius: 3px; background: var(--royal); }
.section-head .sub { color: var(--muted); font-size: 15px; }
.empty { color: var(--muted); margin: 0; }

/* ---------- Team cards ---------- */
.teams-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); border-color: #c3cde2; }
.team-card.feature { grid-column: span 2; }
.feature .tc-media { flex: 1 0 196px; height: auto; }
.tc-media { position: relative; flex: none; height: 196px; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--royal)); }
.tc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .5s ease, opacity .9s ease; }
.tc-media.multi img { opacity: 0; }
.tc-media.multi img.on { opacity: 1; }
.team-card:hover .tc-media img { transform: scale(1.045); }
.tc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 77, 0) 45%, rgba(11, 31, 77, .88) 100%); }
.tc-media.art::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 30%; width: 70px; background: rgba(255, 255, 255, .07); transform: skewX(-18deg); box-shadow: 100px 0 0 rgba(255, 255, 255, .04); }
.tc-media.art svg { position: absolute; right: 18px; top: 20px; width: 118px; height: 118px; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.tc-season, .tc-squad { position: absolute; z-index: 2; top: 12px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px 2px; border-radius: 4px; }
.tc-season { left: 12px; background: rgba(255, 255, 255, .94); color: var(--royal); }
.tc-squad { right: 12px; background: var(--gold); color: var(--navy); }
.tc-head { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; color: var(--white); }
.tc-head h3 { font-size: 34px; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.feature .tc-head h3 { font-size: 46px; }
.tc-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.tc-blurb { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.tc-live:empty { display: none; }
.tc-live { display: grid; gap: 8px; }
.tc-recs { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.rec { display: grid; }
.rec small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rec b { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--royal); font-variant-numeric: tabular-nums; }
.feature .rec b { font-size: 48px; }
.tc-recs-k { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 3px; }
.tc-rank { font-size: 13.5px; font-weight: 600; color: var(--navy); background: #eef3fd; border-radius: 5px; padding: 3px 8px; justify-self: start; }
.tc-games { margin: 0; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.35; }
.tc-games div { display: grid; grid-template-columns: 38px 1fr; gap: 6px; }
.tc-games dt { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.tc-games dd { margin: 0; }
.tc-go { margin-top: auto; padding-top: 4px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--royal); }
.team-card:hover .tc-go { color: var(--navy); }

/* ---------- Coming up ---------- */
.week-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wk { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.wk:first-child { border-color: var(--royal); box-shadow: inset 4px 0 0 var(--royal), var(--shadow); }
.wk-date { background: var(--navy); color: var(--white); border-radius: 4px; text-align: center; padding: 6px 0 5px; line-height: 1.05; }
.wk-date span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9c6e6; }
.wk-date b { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; }
.wk-main { min-width: 0; }
.wk-team { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--royal); }
.wk-team svg, .ls-top svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.wk-title { font-family: var(--display); font-weight: 700; font-size: 23px; text-transform: uppercase; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-meta { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-ha { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px 2px; border-radius: 4px; background: var(--bg); color: var(--muted); }
.wk-ha.home { background: #eef3fd; color: var(--royal); }

/* ---------- Latest results ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; min-width: 0; }
.ls-top { display: flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); padding: 8px 16px 7px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.ls-top svg { stroke-width: 4.5; }
.ls-date { margin-left: auto; color: #b9c6e6; font-weight: 600; }
.ls-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.ls-score { display: flex; flex-wrap: wrap; gap: 6px; }
.ls-chip { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .03em; color: var(--white); background: var(--royal); padding: 3px 10px 2px; border-radius: 5px; }
.ls-chip.W { background: var(--win); } .ls-chip.L { background: var(--loss); } .ls-chip.T { background: var(--tie); }
.story h3 { font-size: 26px; line-height: 1.02; color: var(--navy); }
.story p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.story .more { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--royal); }

/* ---------- Team photos ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal { margin: 0; min-width: 0; }
.gal button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy); cursor: zoom-in; box-shadow: var(--shadow); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gal button:hover img { transform: scale(1.05); }
.gal figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.gal figcaption b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-right: 4px; }
.credit { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
/* 2026 Photos: two action shots per team show at first; "More photos" opens the rest (royal sweeps up on hover, text turns white) */
.gal-more { display: flex; justify-content: center; margin-top: 24px; }
.gal-more .btn { background: var(--white); color: var(--royal); border-color: var(--royal); --fx-sweep: var(--royal); }
@media (hover: hover) { .gal-more .btn:hover { color: var(--white); } }
.viewer { padding: 0; border: 0; background: transparent; max-width: min(1240px, 94vw); max-height: 94vh; overflow: visible; }
.viewer::backdrop { background: rgba(5, 14, 40, .88); }
.viewer figure { margin: 0; }
.viewer img { max-width: 100%; max-height: 84vh; border-radius: var(--r); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.viewer figcaption { color: var(--white); font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; margin-top: 10px; }
.viewer-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 26px; line-height: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }

/* ---------- Tradition ---------- */
.trad { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start; }
.trad-main { padding: 22px 24px 18px; }
.trad-total { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.trad-total > b { font-family: var(--display); font-weight: 800; font-size: 92px; line-height: .85; color: var(--royal); font-variant-numeric: tabular-nums; }
.trad-total .k { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--navy); line-height: 1; }
.trad-total .d { font-size: 14.5px; color: var(--muted); margin-top: 4px; max-width: 420px; }
.title-bars { display: grid; }
.tb { display: grid; grid-template-columns: 160px 1fr 34px; column-gap: 12px; align-items: center; padding: 7px 4px; border-radius: 4px; color: var(--ink); text-decoration: none; }
.tb:hover { background: var(--bg); }
.tb-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-track { height: 14px; }
.tb-bar { display: block; height: 100%; width: 0; background: var(--royal); border-radius: 0 4px 4px 0; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.title-bars.in .tb-bar { width: var(--w); }
.tb:nth-child(2) .tb-bar { transition-delay: .06s; } .tb:nth-child(3) .tb-bar { transition-delay: .12s; } .tb:nth-child(4) .tb-bar { transition-delay: .18s; }
.tb:nth-child(5) .tb-bar { transition-delay: .24s; } .tb:nth-child(6) .tb-bar { transition-delay: .3s; } .tb:nth-child(7) .tb-bar { transition-delay: .36s; } .tb:nth-child(8) .tb-bar { transition-delay: .42s; }
.tb:hover .tb-bar { background: var(--navy); }
.tb-n { font-family: var(--display); font-weight: 800; font-size: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.tb-last { grid-column: 2 / 4; font-size: 12.5px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fact { padding: 16px 18px; border-top: 4px solid var(--gold); }
.fact-team { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact-v { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; color: var(--royal); margin-top: 6px; font-variant-numeric: tabular-nums; }
.fact-k { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-top: 2px; line-height: 1.1; }
.fact-d { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.tip { position: fixed; z-index: 100; max-width: 320px; background: var(--navy); color: var(--white); font-size: 13px; line-height: 1.4; padding: 7px 10px; border-radius: 4px; box-shadow: 0 6px 18px rgba(5, 14, 40, .3); pointer-events: none; }

/* ---------- Footer ---------- */

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .feature .tc-media { flex: none; height: 250px; }
  .stories { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .trad { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 52px; }
  .next-up { max-width: 460px; }
  .hub-hero::before { background: linear-gradient(180deg, rgba(11, 31, 77, .95), rgba(11, 31, 77, .9) 60%, rgba(18, 58, 133, .86)); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hs { padding-right: 16px; margin-right: 16px; }
  .week-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  /* one row for the season switch and the official link, one short line for the note under them */
  .topbar .wrap { flex-flow: row wrap; align-items: center; column-gap: 12px; row-gap: 3px; }
  .topbar .tb-note { order: 3; flex-basis: 100%; font-size: 12px; }
  .topbar .wrap > a { margin-left: auto; }
  .hub-hero .btn-row a[href="#week"] { display: none; }   /* the ticker above already shows what's coming up */
  .hbar { height: 58px; }
  .badge { width: 62px; height: 62px; margin-bottom: -16px; }
  .badge img { width: 44px; height: 44px; }
  .brand-text { font-size: 23px; }
  .ticker-label { padding: 0 10px 0 16px; font-size: 13px; }
  .ticker-label .dot { display: none; }
  .hs { padding-right: 10px; margin-right: 12px; }
  .hs-v { font-size: 42px; }
  .hs-k { font-size: 13px; letter-spacing: .06em; line-height: 1.15; }
  .hs-d { display: none; }
  .block { padding: 42px 0; }
  .teams-grid, .stories { grid-template-columns: 1fr; }
  .team-card.feature { grid-column: auto; }
  .feature .tc-media, .tc-media { flex: none; height: 210px; }
  .feature .tc-head h3 { font-size: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tb { grid-template-columns: 112px 1fr 30px; }
  .tb-name { font-size: 14px; }
  .trad-total > b { font-size: 72px; }
  .viewer-close { top: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .ticker-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .team-card, .card.lift, .btn, .tc-media img, .gal img, .tb-bar { transition: none; }
  .team-card:hover, .card.lift:hover { transform: none; }
  .team-card:hover .tc-media img, .gal button:hover img { transform: none; }
}

/* ---------- Game day strip (games today, LIVE while they're on) ---------- */
.today { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(90deg, #0b1f4d, #18479f 55%, #0b1f4d); border-bottom: 3px solid var(--gold); }
.today::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .13) 48%, transparent 60%); transform: translateX(-100%); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.today .wrap { position: relative; display: flex; align-items: center; gap: 10px 18px; padding-top: 10px; padding-bottom: 10px; }
.td-flag { flex: none; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px 6px; border-radius: 4px; background: var(--gold); color: var(--navy); }
.td-flag.live { background: #d92d27; color: var(--white); }
.td-flag i { width: 9px; height: 9px; border-radius: 50%; background: var(--white); animation: pulse 1.3s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.td-games { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.td-g { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 4px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); text-decoration: none; transition: background .15s; }
.td-g:hover { background: rgba(255, 255, 255, .2); }
.td-g.on { border-color: #ff6b61; box-shadow: 0 0 0 1px #ff6b61 inset; }
.td-g svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.td-g span { display: grid; line-height: 1.1; }
.td-g b { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; white-space: nowrap; }
.td-g small { font-size: 12.5px; color: #c5d4f5; }

/* ---------- Next up: forecast + directions ---------- */
.nu-extra { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.nu-wx { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); }
.nu-wx:empty { display: none; }
.nu-wx .dfa-wx-icon { width: 24px; height: 24px; color: var(--royal); }
.nu-wx b { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--navy); }
.nu-acts { display: flex; gap: 6px; margin-left: auto; }
.nu-acts a { display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 6px 10px 5px; border-radius: 4px; border: 1.5px solid var(--royal); color: var(--royal); transition: background .15s, color .15s; }
.nu-acts a:hover { background: var(--royal); color: var(--white); }
.nu-acts svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Road to the State Tournament ---------- */
.rd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rd-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; min-width: 0; }
.rd-top { display: flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); padding: 8px 16px 7px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.rd-top svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.rd-div { margin-left: auto; color: #b9c6e6; font-weight: 600; }
.rd-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.rd-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rd-big { display: grid; }
.rd-big b { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--royal); font-variant-numeric: tabular-nums; }
.rd-big span { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rd-chip { flex: none; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--white); background: var(--royal); padding: 3px 10px 2px; border-radius: 5px; }
.rd-chip.in { background: var(--win); }
.rd-chip.bubble { background: var(--gold); color: var(--navy); }
.rd-chip.done { background: var(--bg); color: var(--muted); }
.rd-detail { margin: -4px 0 0; font-size: 14.5px; color: var(--ink); }
.rd-track { position: relative; height: 14px; background: var(--bg); border-radius: 0 4px 4px 0; }
.rd-zone { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #c9d7f3; border-radius: 0 4px 4px 0; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
#road.in .rd-zone { width: var(--cut); }
.rd-mark { position: absolute; top: -4px; bottom: -4px; left: var(--at); width: 6px; margin-left: -3px; border-radius: 2px; background: var(--navy); }
.rd-scale { position: relative; display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.rd-cutlabel { position: absolute; left: var(--cut); transform: translateX(-100%); padding-right: 4px; color: var(--royal); }
.rd-recs { display: flex; gap: 18px; margin: 0; padding-top: 2px; }
.rd-recs div { display: grid; }
.rd-recs dt { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rd-recs dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums; }
.rd-dates { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14.5px; line-height: 1.35; }
.rd-dates div { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; }
.rd-dates dt { color: var(--muted); }
.rd-dates dd { margin: 0; font-weight: 600; text-align: right; }
.rd-dates small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.rd-dates .past { color: var(--muted); }
.rd-dates .past dd { font-weight: 400; color: var(--muted); }
.rd-dates .past dd::after { content: " ✓"; color: var(--win); }
.rd-dates .next dt, .rd-dates .next dd { color: var(--royal); font-weight: 700; }
.rd-card:hover .rd-top { background: var(--royal-dk); }

/* ---------- State tournament brackets (once they're out) ---------- */
.bk-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bk-tabs button { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.bk-tabs button:hover { border-color: var(--royal); }
.bk-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.bk-tabs svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.bk-tabs span { display: grid; line-height: 1.15; }
.bk-tabs b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.bk-tabs small { font-size: 13px; color: var(--muted); }
.bk-tabs [aria-selected="true"] small { color: #c5d4f5; }
.bk-panel { padding: 18px 20px 20px; margin-bottom: 18px; }
.bk-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
.bk-now { display: grid; justify-items: start; gap: 6px; flex: 1; min-width: 220px; }
.bk-now p { margin: 0; font-size: 15px; }
.bk-road { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.bk-road li { display: grid; gap: 1px; padding: 9px 12px; border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 4px; background: var(--bg); font-size: 14.5px; }
.bk-road li.w { border-left-color: var(--win); }
.bk-road li.l { border-left-color: var(--loss); }
.bk-road li.next { border-left-color: var(--gold); background: var(--white); }
.bk-road span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bk-road small { font-size: 13px; color: var(--muted); }
.bk-road em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--navy); }
.bk-road .l em { color: var(--loss); }
.bk-scroll { position: relative; overflow-x: auto; margin: 18px -20px 0; padding: 0 20px 4px; border-top: 1px solid var(--line); }
.bk { --h: 56px; display: flex; gap: 22px; width: max-content; padding-top: 14px; }
.bk-col { width: 172px; display: flex; flex-direction: column; }
.bk-col h4 { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bk-list { display: flex; flex-direction: column; height: calc(var(--slots) * var(--h)); }
.bk-slot { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.bk-m { position: relative; border: 1px solid #cdd5e3; border-radius: 4px; background: var(--white); }
.bk-m.on { border-color: var(--navy); }
.bk-t { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; height: 22px; font-size: 13.5px; }
.bk-t + .bk-t { border-top: 1px solid var(--line); }
.bk-t i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; }
.bk-t span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bk-t b { min-width: 22px; padding: 0 6px; text-align: right; font-family: var(--display); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.bk-t.w { font-weight: 700; }
.bk-t.l { color: var(--muted); }
.bk-t.tbd span, .bk-t.bye span { font-size: 12.5px; color: var(--muted); }
.bk-t.dan { background: #fdf3d9; box-shadow: inset 3px 0 0 var(--gold); }
.bk-t.dan span { font-weight: 800; color: var(--navy); }
/* the lines joining each pair of games to the next round */
.bk-col:not(:last-child) .bk-m::after { content: ""; position: absolute; left: 100%; top: 50%; width: 11px; border-top: 1px solid #b6c0d3; }
.bk-col:not(.pre):not(:last-child) .bk-slot::after { content: ""; position: absolute; right: -11px; border-right: 1px solid #b6c0d3; }
.bk-col:not(.pre):not(:last-child) .bk-slot:nth-child(odd)::after { top: 50%; bottom: 0; }
.bk-col:not(.pre):not(:last-child) .bk-slot:nth-child(even)::after { top: 0; bottom: 50%; }
.bk-col:not(.pre) + .bk-col .bk-m::before, .bk-m.fed::before { content: ""; position: absolute; right: 100%; top: 50%; width: 11px; border-top: 1px solid #b6c0d3; }

/* ---------- Get the app ---------- */
.btn-app svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-sheet { width: min(760px, calc(100vw - 24px)); max-width: none; padding: 0; border: 0; border-radius: 6px; overflow: hidden; color: var(--ink); background: var(--white); box-shadow: 0 30px 90px rgba(3, 10, 30, .6); }
.app-sheet::backdrop { background: rgba(5, 14, 40, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.app-sheet[open] { animation: app-in .4s cubic-bezier(.2, .9, .25, 1); }
@keyframes app-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.app-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 26px; line-height: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.app-in { display: grid; grid-template-columns: 250px 1fr; }
.app-phone { display: grid; place-items: center; padding: 30px 0; background: linear-gradient(160deg, #0b1f4d, #18479f 70%, #2459c2); position: relative; overflow: hidden; }
.app-phone::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 40%; width: 50px; background: rgba(255, 255, 255, .07); transform: skewX(-18deg); }
.app-screen { position: relative; width: 168px; height: 330px; border-radius: 30px; padding: 46px 16px 16px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 42px; gap: 18px 14px; align-content: start;
  background: linear-gradient(180deg, #2b4f9e, #12306f); border: 6px solid #050e28; box-shadow: 0 20px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.app-screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 52px; height: 15px; margin-left: -26px; border-radius: 10px; background: #050e28; }
.app-screen i { border-radius: 11px; background: rgba(255, 255, 255, .16); animation: app-tile .5s ease both; animation-delay: var(--d); }
@keyframes app-tile { from { opacity: 0; transform: scale(.6); } }
.app-me { position: relative; display: grid; justify-items: center; gap: 4px; animation: app-pop 1.1s cubic-bezier(.2, 1.6, .4, 1) .7s both; }
.app-me img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 0 0 2px var(--gold), 0 6px 14px rgba(0, 0, 0, .4); }
.app-me em { font-style: normal; font-size: 9px; font-weight: 700; color: var(--white); }
@keyframes app-pop { 0% { opacity: 0; transform: scale(0) rotate(-20deg); } 100% { opacity: 1; transform: none; } }
.app-copy { padding: 30px 30px 26px; }
.app-copy .eyebrow { color: var(--royal); }
.app-copy h2 { font-size: 38px; color: var(--navy); margin: 6px 0 10px; line-height: .95; }
.app-copy p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.app-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.app-steps li { display: grid; grid-template-columns: 26px 40px 1fr; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); animation: app-step .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.45s + var(--i) * .12s); }
@keyframes app-step { from { opacity: 0; transform: translateX(16px); } }
.app-steps .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--royal); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 16px; }
.app-steps .ic { width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--royal); }
.app-steps .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-steps b { display: block; font-weight: 600; font-size: 15.5px; }
.app-steps b b { display: inline; font-weight: 800; color: var(--navy); }
.app-steps small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }

@media (max-width: 1080px) { .rd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .today .wrap { flex-wrap: wrap; }
  .rd-grid { grid-template-columns: 1fr; }
  .bk-tabs button { flex: 1 1 140px; }
  .bk-panel { padding: 16px 16px 18px; }
  .bk-scroll { margin: 16px -16px 0; padding: 0 16px 4px; }
  .bk-col { width: 156px; }
  .app-in { grid-template-columns: 1fr; }
  .app-phone { padding: 22px 0 0; height: 200px; align-items: start; }
  .app-copy { padding: 22px 20px 20px; }
  .app-copy h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .today::before, .td-flag i { animation: none; }
  .rd-zone { transition: none; }
  .app-sheet[open], .app-screen i, .app-me, .app-steps li { animation: none; }
}

/* ---------- Big-game spotlight (a football game with spotlight: {...} in its data.js) ---------- */
.spotlight { position: relative; overflow: hidden; color: var(--white); background: var(--navy); border-bottom: 3px solid var(--gold); }
.spotlight::before { content: ""; position: absolute; inset: 0; background: var(--sp-photo, none) center 42% / cover no-repeat; opacity: .38; }
.spotlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 77, .5) 0%, rgba(11, 31, 77, .86) 62%, var(--navy) 100%); }
.sp-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 44px; padding-bottom: 42px; }
.sp-label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.sp-flag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 2px; border-radius: 3px; background: var(--white); color: var(--navy); letter-spacing: .12em; }
.sp-flag:empty { display: none; }
.sp-flag.live { background: #e0312b; color: var(--white); }
.sp-flag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: sp-pulse 1.2s ease-in-out infinite; }
@keyframes sp-pulse { 50% { opacity: .25; } }
.sp-matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; width: 100%; max-width: 940px; margin: 24px 0 18px; }
.sp-side { display: flex; align-items: center; justify-content: flex-end; gap: 18px; text-align: right; }
.sp-side:last-child { flex-direction: row-reverse; text-align: left; }
.sp-name b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5.4vw, 66px); line-height: .9; text-transform: uppercase; }
.sp-name small { display: block; margin-top: 7px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .08em; color: #b9c6e6; }
.sp-logo { width: 86px !important; height: 86px !important; flex: none; }
.sp-logo.us { display: grid; place-items: center; border-radius: 50%; background: var(--white); }
.sp-logo.us img { width: 74%; height: 74%; object-fit: contain; }
.sp-vs { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .16em; text-transform: uppercase; color: #8fa3cf; }
.sp-pts { font-family: var(--display); font-weight: 800; font-size: clamp(50px, 7vw, 86px); line-height: 1; color: #8fa3cf; font-variant-numeric: tabular-nums; }
.sp-side.win .sp-pts { color: var(--white); }
.sp-info { margin: 0; font-size: 17px; font-weight: 600; color: #dbe5fb; }
.sp-blurb { margin: 6px 0 0; max-width: 640px; font-size: 16px; color: #b9c6e6; }
.sp-clock { display: flex; margin: 24px 0 2px; font-family: var(--display); }
.sp-clock .cl { display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: 0 14px; }
.sp-clock .cl + .cl { border-left: 1px solid rgba(255, 255, 255, .18); }
.sp-clock .cl b { font-weight: 800; font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.sp-clock .cl small { margin-top: 5px; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8fa3cf; }
.sp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffc845; border-color: #ffc845; }
.sp-links { display: flex; gap: 24px; margin-top: 18px; }
.sp-links a, .sp-links button { padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: #b9c6e6;
  text-decoration: underline; text-decoration-color: rgba(185, 198, 230, .4); text-underline-offset: 4px; }
.sp-links a:hover, .sp-links button:hover { color: var(--white); text-decoration-color: currentColor; }
@media (max-width: 720px) {
  .sp-in { padding-top: 34px; padding-bottom: 34px; }
  .sp-matchup { gap: 10px; margin: 22px 0 16px; }
  .sp-side, .sp-side:last-child { flex-direction: column; gap: 10px; text-align: center; }
  .sp-name b { font-size: 30px; }
  .sp-name small { font-size: 16px; margin-top: 4px; }
  .sp-logo { width: 64px !important; height: 64px !important; }
  .sp-vs { font-size: 16px; }
  .sp-pts { font-size: 54px; }
  .sp-clock .cl { min-width: 0; padding: 0 12px; }
  .sp-clock .cl b { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .sp-flag i { animation: none; } }
/* the Football menu link and team card glow while a spotlight game is coming up */
.nav a.sp-glow { color: var(--gold); border-bottom-color: var(--gold); animation: sp-nav-glow 1.8s ease-in-out infinite; }
.nav a.sp-glow:hover { color: var(--white); }
@keyframes sp-nav-glow { 0%, 100% { text-shadow: 0 0 4px rgba(240, 180, 41, .35); } 50% { text-shadow: 0 0 12px rgba(240, 180, 41, .95), 0 0 26px rgba(240, 180, 41, .55); } }
.team-card.sp-glow { border-color: var(--gold); animation: sp-card-glow 1.8s ease-in-out infinite; }
@keyframes sp-card-glow { 0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 0 8px 1px rgba(240, 180, 41, .35); } 50% { box-shadow: 0 0 0 2px var(--gold), 0 0 30px 6px rgba(240, 180, 41, .7); } }
.tc-ribbon { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 4px 10px 3px; border-radius: 4px; background: var(--gold); color: var(--navy);
  font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(5, 14, 40, .35); }
.td-g.sp-glow { border-color: var(--gold); background: rgba(240, 180, 41, .16); animation: sp-card-glow 1.8s ease-in-out infinite; }
.td-g.sp-glow:hover { background: rgba(240, 180, 41, .28); }
.td-g.sp-glow svg { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .td-g.sp-glow { animation: none; box-shadow: 0 0 0 2px var(--gold), 0 0 22px 4px rgba(240, 180, 41, .6); }
  .nav a.sp-glow { animation: none; text-shadow: 0 0 10px rgba(240, 180, 41, .8); }
  .team-card.sp-glow { animation: none; box-shadow: 0 0 0 2px var(--gold), 0 0 22px 4px rgba(240, 180, 41, .6); }
}

/* ---------- State Tournament: close-up of Danvers' game, full bracket behind a button ---------- */
.bk-focus { max-width: 760px; margin: 18px auto 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.bf-top { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px 9px; background: var(--navy); color: var(--white); border-bottom: 3px solid var(--gold);
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.bf-top span:last-child { color: var(--gold); text-align: right; }
.bf-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 24px 18px 6px; text-align: center; }
.bf-team { display: grid; justify-items: center; gap: 3px; min-width: 0; }
.bf-logo { width: 76px !important; height: 76px !important; margin-bottom: 8px; }
.bf-logo.us { display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 3px solid var(--royal); box-shadow: 0 0 0 1px rgba(11, 31, 77, .12); }
.bf-logo.us img { width: 72%; height: 72%; object-fit: contain; }
.bf-logo.dot { display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px dashed var(--line); font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--muted); }
.bf-logo.opp-badge:not(.logo) { font-size: 26px; }
.bf-team b { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.02; text-transform: uppercase; overflow-wrap: anywhere; }
.bf-team small { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.bf-pts { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.bf-team.win .bf-pts { color: var(--royal); }
.bf-vs { align-self: center; margin-bottom: 30px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bf-meta { margin: 8px 18px 18px; text-align: center; font-size: 15px; color: var(--muted); }
.bf-next { margin: 0; padding: 12px 18px 14px; border-top: 1px solid var(--line); background: var(--bg); text-align: center; font-size: 15px; }
.bk-more { display: flex; justify-content: center; margin-top: 18px; }
.bk-toggle { padding: 10px 22px 9px; border: 2px solid var(--royal); border-radius: 4px; background: var(--royal); color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; transition: background .15s, color .15s; }
.bk-toggle:hover { background: var(--royal-dk); border-color: var(--royal-dk); }
.bk-toggle[aria-expanded="true"] { background: var(--white); color: var(--royal); }
.bk-full { margin-top: 18px; }
@media (max-width: 560px) {
  .bf-top { font-size: 13px; letter-spacing: .08em; padding: 9px 14px 8px; }
  .bf-top span { white-space: nowrap; }
  .bf-teams { gap: 6px; padding: 20px 10px 4px; }
  .bf-logo { width: 58px !important; height: 58px !important; }
  .bf-team b { font-size: 21px; }
  .bf-pts { font-size: 42px; }
  .bf-vs { font-size: 16px; }
}

/* ---------- winter front page: nine team photos ---------- */
@media (min-width: 1081px) { body[data-season="winter"] .gallery { grid-template-columns: repeat(5, 1fr); } }

/* phones: the newsletter strip under the header already names the issue, so its header button steps back */
@media (max-width: 640px) {
  .news-btn { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--white); }
}

/* the hero's numbers and its Next Up card fill in once the teams' data arrives: keep their space from the start,
   so nothing in the hero moves when they do (on a first visit that can take half a second) */
.hero-stats { min-height: 107px; }
@media (max-width: 640px) { .hero-stats { min-height: 80px; } }
@media (min-width: 861px) { .hub-hero .next-up[hidden] { display: block; visibility: hidden; min-height: 391px; } }

/* team cards before a season: the next game is the line that stands out, last winter a quiet footnote under it */
.tc-games .tc-next-big { padding: 8px 10px; border-radius: 6px; background: #eef2fb; }
.tc-games .tc-next-big dd { color: var(--ink); font-weight: 700; }
.tc-last { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
