/* Until the page's scripts have drawn the header and the page, keep the page out of sight so nothing jumps down
   while it loads. js/fx.js (loaded last) adds .fx-ready; without scripts the page still shows after 2.5 seconds. */
html:not(.fx-ready) main { visibility: hidden; animation: fx-show 0s 2.5s forwards; }
@keyframes fx-show { to { visibility: visible; } }

/* =====================================================================
   Shared effects for every page (hub, newsletter and all team sites),
   loaded after each page's own stylesheet. Built by js/fx.js.
   Uses each site's own variables: --royal, --navy, --ink, --muted,
   --line, --white, --display, --body.
   ===================================================================== */

/* ---------- Footer ---------- */
.fx-foot { background: var(--white); color: var(--muted); border-top: 1px solid var(--line); padding: 72px 0 28px; font-size: 15px; }
.fx-foot :focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }
.fx-foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .7fr)); gap: 32px; }
.fx-foot h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); line-height: 1.2; }
.fx-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fx-foot ul a { display: inline-block; padding: 4px 0; color: var(--ink); font-weight: 600; text-decoration: none; transition: color .2s; }   /* 24px+ tall, easy to tap */
.fx-foot ul a:hover { color: var(--royal); }
.fx-foot li[hidden] { display: none; }

.fx-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.fx-brand img { width: 52px; height: 52px; flex: none; }
.fx-brand b { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.fx-brand small { display: block; margin-top: 5px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fx-foot address { margin-top: 18px; font-style: normal; line-height: 1.5; }

/* The giant FALCONS: each letter lifts when it's hovered */
.fx-word { margin-top: 64px; font-family: var(--display); font-weight: 800; font-size: clamp(84px, 27vw, 346px); line-height: .8; text-transform: uppercase;
  color: var(--royal); white-space: nowrap; overflow: hidden; padding-top: .1em; user-select: none; }
.fx-word span { display: inline-block; transition: transform .5s cubic-bezier(.16, 1, .3, 1), color .3s; }
.fx-word span:hover { transform: translateY(-8%); color: var(--navy); }

.fx-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.fx-legal a { color: var(--royal); font-weight: 700; text-decoration: none; }
.fx-legal a:hover { text-decoration: underline; }

/* ---------- Team sites: the Menu button ---------- */
/* the row of page links gives way to one Menu button */
.fx-sport .site-header .nav, .fx-sport .site-header .nav-toggle { display: none !important; }
.fx-sport .site-header .brand { margin-right: auto; }
.fx-sport .site-header .dfs-open { margin-left: 14px; }   /* search.js would push it to the middle */
.fx-menu-btn { flex: none; width: 54px; height: 54px; margin-left: 10px; border-radius: 50%; border: 0; background: var(--white); color: var(--royal);
  font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; cursor: pointer; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.fx-menu-btn:hover { transform: scale(1.06); }
.site-header :focus-visible, .fx-menu :focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* first visit only: a note under the Menu button saying the sport's pages are in there, and a few soft pulses */
.fx-hint { position: absolute; z-index: 60; width: max-content; max-width: min(290px, calc(100vw - 24px)); padding: 12px 42px 13px 16px; border-radius: 10px;
  background: var(--white); color: var(--ink); box-shadow: 0 12px 32px rgba(11, 31, 77, .28); font-family: var(--body); font-size: 14px; line-height: 1.35;
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .45s cubic-bezier(.16, 1, .3, 1); }
.fx-hint.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-hint::before { content: ""; position: absolute; top: -6px; right: var(--ax, 20px); width: 14px; height: 14px; border-radius: 2px; background: var(--white); transform: rotate(45deg); }
.fx-hint b { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; color: var(--royal); }
.fx-hint span { display: block; margin-top: 2px; color: var(--muted); }
.fx-hint-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.fx-hint-x:hover { background: var(--bg); color: var(--ink); }
.site-header .fx-hint :focus-visible { outline-color: var(--royal); }
.fx-menu-btn.fx-nudge { animation: fx-nudge 1.5s ease-out 3; }
@keyframes fx-nudge { from { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } to { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }

/* each team site is one long page: a jump lands just below the sticky header */
.fx-sport main [id] { scroll-margin-top: calc(var(--fx-head, 70px) + 8px); }
.fx-sport main .fx-chapter { scroll-margin-top: var(--fx-head, 70px); }
.fx-chapter:focus { outline: none; }   /* focus moves to the section for keyboard and screen-reader users; no box around it */

/* "Next up": a small white note in the bottom-right corner with the next section's name and an arrow; a click glides there */
.fx-next { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 9px 10px 9px 14px;
  background: var(--white); border-left: 4px solid var(--royal); border-radius: var(--r); box-shadow: 0 8px 24px rgba(5, 14, 40, .2); text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
.fx-next.on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.fx-next-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.fx-next-k { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fx-next b { font-family: var(--display); font-weight: 800; font-size: 21px; text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.fx-next-arrow { position: relative; flex: none; width: 34px; height: 34px; border-radius: var(--r); background: var(--royal); transition: background .2s; }
.fx-next-arrow::before { content: ""; position: absolute; left: 50%; top: 42%; width: 9px; height: 9px; border: solid var(--white); border-width: 0 3px 3px 0;
  transform: translate(-50%, -50%) rotate(45deg); animation: fx-bob 1.6s ease-in-out infinite; }
@keyframes fx-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: 4px; } }
.fx-next:hover b { color: var(--royal); }
.fx-next:hover .fx-next-arrow { background: var(--royal-dk); }
.fx-next:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }
@media (max-width: 600px) { .fx-next { gap: 12px; padding: 7px 8px 7px 12px; } .fx-next b { font-size: 18px; } .fx-next-arrow { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .fx-next, .fx-next.on { transform: none; } .fx-next-arrow::before { animation: none; } }
/* a long "through Nov. 6" label beside a section heading wraps on phones instead of running off the side of the page */
@media (max-width: 600px) { .section-head .pill { white-space: normal; max-width: 100%; } }

/* a player with no stats yet: just the blue name box, not stretched to the height of the cards beside it */
.card.player:not(:has(> .player-stats, > .player-log)) { align-self: start; }

/* ---------- Team sites: the full-screen menu ---------- */
html.fx-menu-open { overflow: hidden; }
.fx-menu { position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column; overflow-y: auto; background: var(--royal); color: var(--white); }
.fx-menu[hidden] { display: none; }
.fx-menu.open { animation: fx-menu-in .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes fx-menu-in { from { clip-path: circle(0 at var(--cx, 100%) var(--cy, 0)); } to { clip-path: circle(150vmax at var(--cx, 100%) var(--cy, 0)); } }
.fx-menu > .wrap { width: 100%; }
.fx-menu-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 10px; }
.fx-menu-tag { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: #c5d4f5; }
.fx-menu-close { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: var(--white);
  font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
@media (hover: hover) { .fx-menu-close:hover { background: var(--white); color: var(--royal); } }   /* a tap shouldn't leave it filled */
.fx-menu-body { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 60px; align-content: center; padding-top: 24px; padding-bottom: 48px; }
.fx-menu h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: #c5d4f5; }
.fx-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fx-menu ul a { display: inline-flex; align-items: baseline; gap: 14px; color: var(--white); text-decoration: none;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, min(5.4vw, 7vh), 68px); line-height: 1.04;
  opacity: 0; transform: translateY(24px); transition: transform .35s cubic-bezier(.16, 1, .3, 1), color .2s; }
.fx-menu.open ul a { animation: fx-rise .6s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(120ms + var(--i, 0) * 45ms); }
@keyframes fx-rise { to { opacity: 1; transform: none; } }
.fx-menu ul a:hover { color: transparent; -webkit-text-stroke: 1.5px var(--white); translate: 12px 0; }
.fx-menu ul a small { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--royal);
  background: var(--white); border-radius: 999px; padding: 4px 10px; -webkit-text-stroke: 0; transform: translateY(-.35em); }
.fx-menu ul a[aria-current="page"] { color: #c5d4f5; }
/* "Back to" runs across the top, its links side by side (they're too long for a third column) */
.fx-menu-back { grid-column: 1 / -1; }
.fx-menu-back ul { display: flex; flex-wrap: wrap; column-gap: clamp(28px, 4vw, 60px); }

@media (max-width: 900px) {
  .fx-menu-btn { order: 3; width: 48px; height: 48px; font-size: 14px; }   /* search.js puts its button at order 2 on phones */
  .fx-menu-body { grid-template-columns: 1fr; align-content: start; gap: 28px; }
  .fx-menu ul a { font-size: clamp(30px, 9vw, 48px); }
  .fx-menu-back ul { display: grid; }   /* one list under another, like the rest */
}
@media (prefers-reduced-motion: reduce) {
  .fx-menu.open { animation: none; }
  .fx-menu ul a, .fx-menu.open ul a { opacity: 1; transform: none; animation: none; transition: color .2s; }
  .fx-menu ul a:hover { translate: none; }
  .fx-menu-btn:hover { transform: none; }
  .fx-hint { transition: none; transform: none; }
  .fx-menu-btn.fx-nudge { animation: none; }
}

/* =====================================================================
   HOVER EFFECTS (mouse; the tilt, pull and cursor are added by js/fx.js
   only for a mouse that can hover, and never with reduced motion)
   ===================================================================== */
/* Buttons: a color sweeps up from the bottom, the arrow tilts 45° */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fx-sweep, var(--royal-dk));   /* the button's own corners clip it */
  transform: translateY(101%); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.btn { transition: background .15s, color .15s, border-color .15s, transform .4s cubic-bezier(.16, 1, .3, 1); }   /* a smooth way back after the pull */
.btn .fx-ico { display: inline-block; line-height: 1; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.btn-primary { --fx-sweep: #d4e1fb; }   /* white button: a pale blue sweeps up */
.btn-ghost { --fx-sweep: var(--white); }   /* outline on blue: white sweeps up, text turns royal */
.btn-gold { --fx-sweep: #ffc845; }
html body .addcal.light .btn-primary { --fx-sweep: var(--navy); }
html body .addcal.light .btn-ghost { --fx-sweep: var(--royal); }

/* Result and list rows: royal sweeps in from the left, the text turns white */
.game, .tb { position: relative; isolation: isolate; }
.game { overflow: hidden; }
.game::before, .tb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--royal); border-radius: inherit;
  transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.game .opp, .game .meta, .game .result, .game .chev, .tb-name, .tb-n, .tb-last { transition: color .3s; }

/* Links: an underline that draws in from the left */
.topbar a, .section-head .more, .fx-foot ul a, .fx-legal a, .tile .d a, .credit a, .dfa-credit a, .sp-links a, .tc-go, .story .more {
  text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0 2px; transition: background-size .35s cubic-bezier(.16, 1, .3, 1), color .2s; }

/* Cards: tilt in 3D with a soft shine that follows the mouse */
.team-card, .card.lift, .card.scoreboard, .card.next-game { position: relative; }
.team-card::after, .card.lift::after, .card.scoreboard::after, .card.next-game::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle 260px at var(--fx-gx, 50%) var(--fx-gy, 50%), var(--fx-glare, rgba(24, 71, 159, .13)), transparent 65%); }
.card.next-game, .quicklinks .card { --fx-glare: rgba(255, 255, 255, .2); }
.fx-tilting { transition: transform .12s linear !important; }
.fx-tilting::after { opacity: 1; }

@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn:hover .fx-ico { transform: rotate(-45deg); }
  .btn:hover .fx-ico.ext { transform: rotate(45deg); }
  .btn-primary:hover { background: var(--white); border-color: var(--white); }
  .btn-ghost:hover { background: transparent; color: var(--royal); }
  .btn-gold:hover { background: var(--gold); border-color: var(--gold); }
  html body .addcal.light .btn-primary:hover { background: var(--royal); border-color: var(--royal); }
  html body .addcal.light .btn-ghost:hover { background: transparent; color: var(--white); }

  .game:hover::before, .tb:hover::before { transform: none; }
  .game:hover .opp, .game:hover .opp small, .game:hover .meta, .game:hover .result, .game:hover .result.upcoming, .game:hover .chev,
  .tb:hover .tb-name, .tb:hover .tb-n, .tb:hover .tb-last { color: var(--white); }
  .game:hover .result.cancelled { border-color: rgba(255, 255, 255, .6); }
  .tb:hover .tb-bar { background: var(--white); }

  .topbar a:hover, .section-head .more:hover, .fx-foot ul a:hover, .fx-legal a:hover, .tile .d a:hover, .credit a:hover, .dfa-credit a:hover, .sp-links a:hover,
  .team-card:hover .tc-go, .story:hover .more { text-decoration: none; background-size: 100% 2px; }
}
.topbar a:focus-visible, .section-head .more:focus-visible, .fx-foot ul a:focus-visible, .fx-legal a:focus-visible { background-size: 100% 2px; }

/* Custom cursor: a small dot and a ring that grows over anything clickable */
.fx-cursor, .fx-ring { position: fixed; left: 0; top: 0; z-index: 1000; border-radius: 50%; pointer-events: none; display: none; }
html.fx-has-cursor .fx-cursor, html.fx-has-cursor .fx-ring { display: block; }
.fx-cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--royal); }
.fx-ring { width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1.5px solid rgba(24, 71, 159, .5);
  transition: width .35s cubic-bezier(.16, 1, .3, 1), height .35s cubic-bezier(.16, 1, .3, 1), margin .35s cubic-bezier(.16, 1, .3, 1), background .3s, border-color .3s; }
/* on the top layer (see js/fx.js) they're popovers: undo the browser's popover box (white fill, padding, centering) */
.fx-cursor[popover], .fx-ring[popover] { inset: 0 auto auto 0; padding: 0; overflow: visible; color: inherit; }
.fx-ring[popover] { background: transparent; }
.fx-cursor[popover] { border: 0; }
.fx-ring.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(24, 71, 159, .1); border-color: rgba(24, 71, 159, .25); }
.fx-ring.on-dark { border-color: rgba(255, 255, 255, .75); }
.fx-ring.on-dark.big { background: rgba(255, 255, 255, .14); }
.fx-cursor.on-dark { background: var(--white); }
.fx-ring.gone, .fx-cursor.gone { opacity: 0; }
/* every page: the dot and circle are the pointer, so the normal one never shows, typing spots and pop-ups included
   (browsers that can't put the circle above pop-ups keep the normal pointer inside them) */
@media (hover: hover) and (pointer: fine) {
  html.fx-circle-pointer.fx-has-cursor, html.fx-circle-pointer.fx-has-cursor body,
  html.fx-circle-pointer.fx-has-cursor.fx-cursor-top body *,
  html.fx-circle-pointer.fx-has-cursor:not(.fx-cursor-top) body :not(dialog[open], dialog[open] *) { cursor: none !important; }
  html.fx-circle-pointer.fx-has-cursor:not(.fx-cursor-top) dialog[open] { cursor: auto !important; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn::before, .btn .fx-ico, .game::before, .tb::before { transition: none; }
  .topbar a, .section-head .more, .fx-foot ul a, .fx-legal a, .tile .d a, .credit a, .dfa-credit a, .sp-links a, .tc-go, .story .more { transition: color .2s; }
}

/* =====================================================================
   SECTION TABS (team sites): in the header on a wide screen, a row of their own under it on smaller ones
   ===================================================================== */
.fx-tabs { align-self: stretch; display: flex; min-width: 0; margin: 0 4px 0 auto; }
.fx-tabs-in { position: relative; display: flex; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.fx-tabs-in::-webkit-scrollbar { display: none; }
.fx-tabs a { flex: none; display: flex; align-items: center; padding: 0 13px; border-top: 3px solid transparent; border-bottom: 3px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #dbe5fb; text-decoration: none; transition: color .15s, border-color .15s, background-color .15s; }
.fx-tabs a:hover { color: var(--white); }
.fx-tabs a.on { color: var(--white); border-bottom-color: var(--gold); }
.fx-tabs a:focus-visible { outline: 3px solid var(--white); outline-offset: -4px; }
@media (max-width: 1180px) {
  .fx-has-tabs .site-header .hbar { flex-wrap: wrap; height: auto; }
  .fx-has-tabs .site-header .hbar > .brand { height: 70px; }
  .fx-tabs { order: 9; flex: 1 0 100%; height: 44px; margin: 0 -20px; padding-left: 10px; background: rgba(11, 31, 77, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
  .fx-tabs-in { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); }
  .fx-tabs a { padding: 0 12px; font-size: 15px; }
  /* a smaller logo that stays inside the bar, so the tabs get the whole row */
  .fx-has-tabs .site-header .badge { width: 54px; height: 54px; margin-bottom: 0; }
  .fx-has-tabs .site-header .badge img { width: 38px; height: 38px; }
}
@media (max-width: 720px) {
  .fx-has-tabs .site-header .hbar > .brand { height: 62px; }
  .fx-tabs { padding-left: 8px; }
}

/* =====================================================================
   HEADER FIT (team sites on phones)
   ===================================================================== */
@media (max-width: 720px) {
  .fx-sport .site-header .dfs-open { margin-left: 8px; }
}
@media (max-width: 359px) {
  /* the smallest phones: the logo leaves just enough room for search and Menu */
  .fx-sport .site-header .dfs-open { width: 34px; height: 34px; margin-left: 4px; }
  .fx-sport .site-header .fx-menu-btn { width: 40px; height: 40px; margin-left: 4px; font-size: 12px; }
}

@media (max-width: 980px) {
  .fx-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .fx-foot { padding-top: 56px; }
  .fx-foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .fx-word { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-word span { transition: color .3s; }
  .fx-word span:hover { transform: none; }
}

/* ---------- The Fall | Winter switch: the same control as a team site's Girls | Boys switch ---------- */
.fx-seasons { display: inline-flex; flex: none; align-self: center; padding: 2px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.fx-seasons a, .topbar .fx-seasons a { padding: 2px 14px 1px; border-radius: 4px; font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: #c5d4f5; background-image: none; transition: background .15s, color .15s; }
.fx-seasons a:hover, .topbar .fx-seasons a:hover { color: var(--white); text-decoration: none; }
.fx-seasons a.on, .topbar .fx-seasons a.on { background: var(--white); color: var(--royal); }
/* on a light background */
.fx-seasons.light { background: #e2e8f5; }
.fx-seasons.light a { color: var(--royal); }
.fx-seasons.light a:hover { color: var(--navy); }
.fx-seasons.light a.on { background: var(--royal); color: var(--white); }
.fx-foot .fx-seasons { margin-top: 16px; }
.section-head .fx-seasons { margin-left: auto; }
.section-head .fx-seasons + .sub, .section-head .sub:has(+ .fx-seasons) { margin-left: 0; }
/* in the full-screen menu, under "Other sports" */
.fx-menu .fx-seasons { margin-top: 24px; opacity: 0; transform: translateY(24px); }
.fx-menu.open .fx-seasons { animation: fx-rise .6s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(120ms + var(--i, 0) * 45ms); }
.fx-menu .fx-seasons a { font-size: 22px; padding: 6px 22px 5px; }
@media (max-width: 720px) {
  .fx-seasons a, .topbar .fx-seasons a { padding: 3px 16px 2px; }
  .topbar .wrap:has(> .fx-seasons) { flex-wrap: wrap; align-items: center; gap: 8px 14px; }
}

/* ---------- Team sites that aren't open yet (js/fx.js SOON) ---------- */
a[data-soon] { cursor: not-allowed; }
.nav a[data-soon], .fx-foot ul a[data-soon] { opacity: .6; }
.team-card[data-soon] .tc-media img { filter: grayscale(.35) brightness(.75); }
.team-card[data-soon]:hover { transform: none; }
.fx-soon-tag { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 18px 7px; border-radius: 4px;
  background: rgba(11, 31, 77, .9); border: 2px solid var(--white); color: var(--white); font-family: var(--display); font-weight: 800;
  font-size: 20px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 24px rgba(5, 14, 40, .35); }
.fx-soon-toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; max-width: min(92vw, 520px); transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 8px; background: var(--navy, #0b1f4d); color: #fff; font-weight: 600; font-size: 15px; text-align: center;
  box-shadow: 0 12px 32px rgba(5, 14, 40, .35); pointer-events: none; transition: opacity .25s, transform .25s; }
.fx-soon-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* a closed site: the Coming soon panel over the whole page */
html.fx-soon-locked, html.fx-soon-locked body { overflow: hidden; }
.fx-soon-page { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px 16px;
  background: linear-gradient(140deg, rgba(11, 31, 77, .96), rgba(24, 71, 159, .93)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fx-soon-card { max-width: 560px; text-align: center; color: #fff; }
.fx-soon-card img { display: block; width: 96px; height: 96px; margin: 0 auto; padding: 10px; border-radius: 50%; background: #fff; }
.fx-soon-k { display: block; margin-top: 20px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #c5d4f5; }
.fx-soon-card h1 { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 9vw, 84px); line-height: .95; text-transform: uppercase; color: #fff; }
.fx-soon-card .fx-soon-big { margin: 10px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4.5vw, 36px); letter-spacing: .08em; text-transform: uppercase; color: var(--gold, #f0b429); }
.fx-soon-card p { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: #dbe5fb; }
.fx-soon-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
/* the winter front page's snowfall */
.fx-snow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }   /* inside the front page's hero, under its words and cards */

/* ---------- Fall history pages: past seasons, game by game (js/pastgames.js) ---------- */
#past-games .filters { margin-bottom: 12px; }
.pg-sum { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; }
.pg-sum b { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .04em; color: var(--ink); }
table.pg-table td { vertical-align: top; }
.pg-res { display: inline-block; min-width: 1.4em; font-family: var(--display); font-weight: 800; }
.pg-w { color: var(--win, #15803d); } .pg-l { color: var(--loss, #c8322b); } .pg-t { color: var(--tie, var(--muted)); }
.pg-none { color: var(--muted); }
.pg-va { color: var(--muted); }
.pg-tag { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--royal); white-space: nowrap; }
.pg-note { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  table.pg-table td { padding: 8px 10px; font-size: 14.5px; }
  table.pg-table td:last-child { min-width: 150px; }
  .pg-dow { display: none; }
}

/* phones: the short form of the top bar's "student project" note */
@media (max-width: 640px) { .tb-long { display: none; } }

/* skip link: out of sight until the keyboard reaches it */
.fx-skip { position: fixed; left: 12px; top: 10px; z-index: 10001; padding: 10px 16px; border-radius: 6px; background: var(--white, #fff); color: var(--royal, #18479f);
  font: 700 15px var(--body, sans-serif); text-decoration: none; box-shadow: 0 6px 20px rgba(11, 31, 77, .3); transform: translateY(-160%); transition: transform .15s; }
.fx-skip:focus { transform: none; outline: 3px solid var(--gold, #f0b429); }
/* wide tables and charts: a fade at the edge while there's more to the side, and a hint above them */
.fx-wide.fx-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), rgba(0, 0, 0, .25)); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), rgba(0, 0, 0, .25)); }
.fx-wide:focus-visible { outline: 3px solid var(--royal, #18479f); outline-offset: 2px; }
.fx-swipe { display: none; margin: 0 0 6px; text-align: right; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #5b647a); }
.fx-swipe span { display: inline-block; animation: fx-nudge 1.6s ease-in-out 3; }
@keyframes fx-nudge { 50% { transform: translateX(5px); } }
@media (max-width: 900px), (pointer: coarse) { .fx-swipe { display: block; } }
@media (prefers-reduced-motion: reduce) { .fx-swipe span { animation: none; } }

/* the smallest phones: beside the Boys/Girls switch there's room for "All Sports" but not the school's team page link too */
@media (max-width: 400px) { .teamswitch ~ .tb-links a:first-child { display: none; } }

/* long lists folded to their first few (js/fx.js) */
.fx-cut { display: none !important; }
.fx-more-btn { display: block; margin: 16px auto 0; }
.fx-more-btn[hidden] { display: none; }

/* long source notes folded to two lines (js/fx.js) */
.fx-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.fx-note-btn { margin: 4px 0 0; padding: 4px 0; border: 0; background: none; color: var(--royal, #18479f); font: 700 13px var(--body, sans-serif); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fx-note-btn[hidden] { display: none; }
