/* ==========================================================
   WILSON HALL FOOTBALL — Broadcast Page
   A Greybird Media production
   ========================================================== */

:root {
  /* surfaces */
  --ink:        #05070c;
  --ink-2:      #090d16;
  --ink-3:      #0e1420;
  --card:       rgba(255,255,255,0.04);
  --card-hi:    rgba(255,255,255,0.07);
  --line:       rgba(255,255,255,0.09);
  --line-hi:    rgba(255,255,255,0.16);

  /* brand */
  --blue:       #2465d8;
  --blue-hi:    #4d88f5;
  --blue-deep:  #0c2a5e;
  --gold:       #e2b45c;
  --gold-soft:  rgba(226,180,92,0.16);
  --live:       #e5342b;

  /* type */
  --txt:        #eef2f8;
  --txt-2:      #b6c0d0;
  --muted:      #7f8a9c;

  --f-head: 'Oswald', 'Impact', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-jaw:  cubic-bezier(0.76, 0, 0.24, 1);

  --shell:     1360px;
  --rail:      196px;
  --radius:    16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;   /* clip, not hidden: no scroll container, so sticky/fixed still work */
}

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--txt);
  min-height: 100vh;
  overflow-x: clip;
  line-height: 1.6;
}

body.intro-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  transition: max-width .5s var(--ease);
}

.section-title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  color: var(--txt);
}
.section-title span { color: var(--gold); }

/* ==========================================================
   AMBIENT BACKDROP
   ========================================================== */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #12203c 0%, transparent 60%),
    radial-gradient(90% 60% at 50% 110%, #0b1730 0%, transparent 65%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 55%, #03040a 100%);
}

.beam {
  position: absolute;
  top: -30%;
  width: 46vw;
  height: 140%;
  filter: blur(60px);
  opacity: .32;
  transform-origin: 50% 0;
  animation: beamDrift 26s ease-in-out infinite;
}
.beam-1 { left: -14%; background: linear-gradient(180deg, rgba(36,101,216,.55), transparent 70%); transform: rotate(-13deg); }
.beam-2 { left: 34%;  background: linear-gradient(180deg, rgba(226,180,92,.24), transparent 65%); transform: rotate(4deg); animation-delay: -9s; opacity: .22; }
.beam-3 { right: -16%; background: linear-gradient(180deg, rgba(77,136,245,.42), transparent 70%); transform: rotate(12deg); animation-delay: -17s; }

@keyframes beamDrift {
  0%, 100% { opacity: .18; }
  50%      { opacity: .38; }
}

.yardlines {
  position: absolute;
  inset: auto 0 0 0;
  height: 46vh;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.05) 0 1px,
    transparent 1px 9%
  );
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 85%);
  mask-image: linear-gradient(180deg, transparent, #000 85%);
  opacity: .5;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================
   INTRO — THE JAWS
   ========================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
}

.intro-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  will-change: transform;
  transition: transform 1.05s var(--ease-jaw);
}
.intro-top    { top: 0; }
.intro-bottom { bottom: 0; }

/* the drop shadow only reads as depth once the jaws are moving — before that
   it would just paint a grey band across the middle of the screen */
.intro.open .intro-top    { box-shadow: 0 26px 60px -22px rgba(8,20,45,.5); }
.intro.open .intro-bottom { box-shadow: 0 -26px 60px -22px rgba(8,20,45,.5); }

/* Each half renders the full-viewport stage, clipped to its own band,
   so the two halves compose into one seamless image. */
.intro-stage {
  position: absolute;
  left: 0;
  width: 100%;
  height: 200%;
  background:
    radial-gradient(120% 70% at 50% 50%, #ffffff 0%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg, #e9eff8 0%, #ffffff 40%, #ffffff 60%, #e4ebf6 100%);
}
.intro-top    .intro-stage { top: 0; }
.intro-bottom .intro-stage { bottom: 0; }

.intro-logos { position: absolute; inset: 0; }

/* Each logo is anchored to the stage's vertical centre — which IS the line the
   jaws split on — so the seam always lands in the gap between them, whatever
   the two logos' aspect ratios turn out to be. */
.intro-logo {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding-left: 6vw;
  padding-right: 6vw;
  opacity: 0;
  transform: translateY(14px) scale(.97);
}
.intro-logo-a { bottom: 50%; align-items: flex-end;   padding-bottom: clamp(18px, 3.4vh, 40px); }
.intro-logo-b { top: 50%;    align-items: flex-start; padding-top:    clamp(18px, 3.4vh, 40px); }

.intro-logo img {
  width: auto;
  max-width: min(74vw, 380px);
  max-height: min(32vh, 300px);
  object-fit: contain;
}
.intro-logo-b img { max-width: min(82vw, 460px); max-height: min(20vh, 140px); }

.intro-logo-fallback {
  font-family: var(--f-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(.85rem, 2.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--blue-deep);
  text-align: center;
}

/* hairline that lives exactly on the split */
.intro-seam {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 0;
  width: 0;
  border-top: 2px solid var(--blue);
  opacity: 0;
  box-shadow: 0 0 22px 2px rgba(36,101,216,.65);
}

.intro-skip {
  position: absolute;
  z-index: 3;
  right: clamp(14px, 4vw, 34px);
  bottom: clamp(16px, 4vh, 36px);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6f7d94;
  padding: .55rem .9rem;
  border: 1px solid rgba(20,40,80,.16);
  border-radius: 100px;
  opacity: 0;
  transition: opacity .4s ease, color .25s ease, border-color .25s ease;
}
.intro-skip:hover { color: var(--blue); border-color: rgba(36,101,216,.4); }

/* --- sequence --- */
.intro.play .intro-logo-a { animation: logoIn .85s var(--ease) .25s forwards; }
.intro.play .intro-logo-b { animation: logoIn .85s var(--ease) .48s forwards; }
.intro.play .intro-seam   { animation: seamOut 1.15s var(--ease) .95s forwards; }
.intro.play .intro-skip   { opacity: 1; transition-delay: 1.1s; }

@keyframes logoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes seamOut {
  0%   { opacity: 0; width: 0; }
  22%  { opacity: 1; }
  100% { opacity: .9; width: 100%; }
}

.intro.open .intro-top    { transform: translateY(-100%); }
.intro.open .intro-bottom { transform: translateY(100%); }
.intro.open .intro-skip { opacity: 0; transition-delay: 0s; }
.intro.open .intro-logos { animation: logoPart 1.05s var(--ease-jaw) forwards; }
@keyframes logoPart {
  to { opacity: .25; transform: scale(1.06); }
}

.intro.done { display: none; }

/* page reveal underneath */
.topbar, .page, .foot { opacity: 0; }
body.revealed .topbar,
body.revealed .page,
body.revealed .foot {
  animation: pageIn .9s var(--ease) forwards;
}
body.revealed .page { animation-delay: .06s; }
body.revealed .foot { animation-delay: .12s; }
@keyframes pageIn {
  from { opacity: 0; transform: scale(1.025); }
  to   { opacity: 1; transform: scale(1); }
}
body.no-intro .topbar,
body.no-intro .page,
body.no-intro .foot { opacity: 1; }

/* ==========================================================
   TOPBAR
   ========================================================== */
.topbar {
  position: relative;
  z-index: 5;
  padding: clamp(14px, 2.4vw, 24px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5,7,12,.85), rgba(5,7,12,.35));
  backdrop-filter: blur(10px);
}
.topbar-inner {
  /* 1fr auto 1fr centres the sponsor in the row itself, independent of how
     wide the brand and status blocks either side of it happen to be */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.brand         { justify-self: start; }
.gamesponsor   { justify-self: center; }
.topbar-status { justify-self: end; }

/* --- this week's game sponsor --- */
.gamesponsor[hidden] { display: none; }
.gamesponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.gs-kicker {
  font-size: .55rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.gs-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .85rem;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.45) inset;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gs-card img { max-width: min(124px, 30vw); max-height: 48px; width: auto; height: auto; object-fit: contain; }
.gs-card .sponsor-fallback { font-size: .7rem; }
a.gs-card:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgba(0,0,0,1); }

.brand { display: flex; align-items: center; gap: .85rem; }
.brand-mark { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--f-head);
  font-size: clamp(1.15rem, 3.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .28rem;
}

.topbar-status { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .85rem;
  border-radius: 100px;
  border: 1px solid var(--line-hi);
  background: var(--card);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}
.status-pill[data-state="live"] {
  border-color: rgba(229,52,43,.5);
  background: rgba(229,52,43,.12);
  color: #ff8079;
}
.status-pill[data-state="live"] .status-dot {
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(229,52,43,.7);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  70%  { box-shadow: 0 0 0 9px rgba(229,52,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,52,43,0); }
}
.status-pill[data-state="upcoming"] { border-color: rgba(226,180,92,.45); background: var(--gold-soft); color: var(--gold); }
.status-pill[data-state="upcoming"] .status-dot { background: var(--gold); }
.status-pill[data-state="replay"] { border-color: rgba(36,101,216,.5); background: rgba(36,101,216,.14); color: var(--blue-hi); }
.status-pill[data-state="replay"] .status-dot { background: var(--blue-hi); }

.status-meta { font-size: .82rem; color: var(--txt-2); }

/* ==========================================================
   STAGE
   ========================================================== */
.page { position: relative; z-index: 2; }

.stage-wrap { padding: clamp(20px, 3.6vw, 40px) 0 clamp(18px, 3vw, 34px); }

.matchup[hidden] { display: none; }
.matchup {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: clamp(14px, 2.2vw, 22px);
  font-family: var(--f-head);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.matchup-team, .matchup-opp { font-size: clamp(1.1rem, 3.4vw, 1.85rem); font-weight: 600; }
.matchup-opp { color: var(--txt-2); }
.matchup-vs {
  font-family: var(--f-body);
  font-size: .72rem;
  letter-spacing: .26em;
  color: var(--gold);
}

.stage {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr) var(--rail);
  gap: clamp(16px, 2.2vw, 30px);
  align-items: center;
}

/* --- rails --- */
.rail { align-self: center; }
.rail-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.rail-kicker {
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.sponsor-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.9), 0 0 0 1px rgba(36,101,216,.08) inset;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -22px rgba(0,0,0,1), 0 0 0 2px rgba(36,101,216,.28) inset;
}
.sponsor-card img { width: 100%; height: auto; object-fit: contain; }

/* Both title sponsors are equals, so the two rail cards are locked to one
   height — tall enough to clear the square mark's own content height, which
   otherwise pushed the left rail 6px out of line with the right. */
.rail .sponsor-card { min-height: 200px; }
.rail .sponsor-card img { max-height: 164px; }

/* --- rim shimmer ---
   A light that travels around the card's border: left to right across the top,
   then on around the edge. Drawn on a pseudo-element whose conic gradient is
   masked down to a 1.5px ring, so only the rim lights up, never the card face.
   JS adds .is-shimmering at a random 3-6s cadence, independently per card. */
@property --rim {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.sponsor-card::before {
  content: "";
  position: absolute;
  /* sits just OUTSIDE the card: the card is white with a near-white border, so
     a rim drawn on it is invisible. Out here it glows against the dark page. */
  inset: -3px;
  border-radius: 17px;
  padding: 2px;
  background: conic-gradient(from var(--rim),
    rgba(255,255,255,1)     0deg,
    rgba(130,185,255,.95)  12deg,
    rgba(90,150,255,0)     36deg,
    transparent            36deg,
    transparent           324deg,
    rgba(90,150,255,0)    324deg,
    rgba(130,185,255,.95) 348deg,
    rgba(255,255,255,1)   360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: drop-shadow(0 0 7px rgba(95,160,255,.85)) drop-shadow(0 0 18px rgba(80,145,255,.5));
  opacity: 0;
  pointer-events: none;
}

.sponsor-card.is-shimmering::before {
  animation: rimSweep 1.6s linear;
}

@keyframes rimSweep {
  0%   { --rim: -45deg; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { --rim: 315deg; opacity: 0; }
}

.sponsor-fallback {
  font-family: var(--f-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--blue-deep);
  text-align: center;
}

/* --- player --- */
.player-col { min-width: 0; display: flex; flex-direction: column; }

.player-frame {
  position: relative;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(150deg, rgba(77,136,245,.55), rgba(255,255,255,.06) 38%, rgba(226,180,92,.4));
  box-shadow: 0 40px 90px -40px rgba(0,0,0,1);
}
.player-glow {
  position: absolute;
  inset: -12% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36,101,216,.34), transparent 72%);
  filter: blur(38px);
  opacity: .85;
}
.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* the scheduled broadcast's own thumbnail, behind the waiting message */
.ph-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* scrim: the message has to stay readable over any thumbnail */
.player-box.has-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* enough to keep the message readable, light enough that the game card
     underneath still reads as artwork rather than a dark rectangle */
  background:
    radial-gradient(68% 46% at 50% 52%, rgba(3,5,10,.76), rgba(3,5,10,.3) 72%, rgba(3,5,10,.14)),
    linear-gradient(180deg, rgba(3,5,10,.16), rgba(3,5,10,.1) 45%, rgba(3,5,10,.3));
}
.player-box.has-thumb .player-placeholder { text-shadow: 0 2px 18px rgba(0,0,0,.9); }
.player-box.has-thumb .ph-ring { display: none; }

.player-placeholder { position: relative; z-index: 2; text-align: center; padding: 1.4rem; }
.ph-ring {
  width: 52px; height: 52px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.13);
  border-top-color: var(--blue-hi);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ph-title {
  font-family: var(--f-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
}
.ph-sub { color: var(--muted); font-size: .88rem; margin-top: .4rem; }
.player-placeholder.static .ph-ring {
  animation: none;
  border-color: rgba(255,255,255,.13);
  border-top-color: var(--gold);
}

/* --- control bar --- */
.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .85rem;
}
.pb-left { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.pb-quality {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  padding: .22rem .45rem;
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(226,180,92,.35);
}
.pb-note { font-size: .8rem; color: var(--muted); }

.pb-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pb-btn[hidden] { display: none; }
.pb-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .9rem;
  border-radius: 100px;
  border: 1px solid var(--line-hi);
  background: var(--card);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--txt-2);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.pb-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-btn:hover { background: var(--card-hi); color: var(--txt); border-color: var(--line-hi); transform: translateY(-1px); }
.pb-btn.active { background: rgba(36,101,216,.18); border-color: rgba(77,136,245,.5); color: var(--blue-hi); }
.pb-btn-accent {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-color: rgba(77,136,245,.55);
  color: #fff;
}
.pb-btn-accent:hover { background: linear-gradient(135deg, var(--blue-hi), var(--blue)); color: #fff; }

/* --- sponsor strip (theater / narrow) --- */
.sponsor-strip {
  display: none;
  gap: clamp(12px, 3vw, 24px);
  margin-top: 1.2rem;
  align-items: stretch;
}
.sponsor-strip .sponsor-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  padding: .7rem 1rem;
  border-radius: 12px;
}
.sponsor-strip .sponsor-card img { max-height: 62px; }
.sponsor-strip .rail-kicker { display: none; }

/* --- live chat --- */
.chat-col {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-3);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--txt-2);
}
.chat-close { font-size: 1.3rem; line-height: 1; color: var(--muted); padding: 0 .2rem; }
.chat-close:hover { color: var(--txt); }
.chat-box { flex: 1; min-height: 0; }
.chat-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* --- stage modes --- */
body.is-theater { --shell: 1720px; }
body.is-theater .rail { display: none; }
body.is-theater .stage { grid-template-columns: minmax(0, 1fr); }
body.is-theater .sponsor-strip { display: flex; }
body.is-theater .backdrop { opacity: .5; }

body.is-chat .rail { display: none; }
body.is-chat .stage {
  grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 380px);
  align-items: stretch;
}
body.is-chat .chat-col { display: flex; }
body.is-chat .sponsor-strip { display: flex; }
body.is-chat .player-col { justify-content: flex-start; }

/* ==========================================================
   GAME INFO
   ========================================================== */
.info { padding: clamp(18px, 3vw, 34px) 0; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-cell { background: var(--ink-2); padding: 1.15rem 1.3rem; }
.info-key {
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-val {
  font-family: var(--f-head);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .4rem;
}

/* ==========================================================
   SCHEDULE
   ========================================================== */
.schedule { padding: clamp(26px, 4.5vw, 54px) 0; }
.sched-list { display: flex; flex-direction: column; gap: .55rem; }
.sched-row {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.sched-row:hover { border-color: var(--line-hi); background: var(--card-hi); transform: translateX(3px); }
.sched-row.is-next { border-color: rgba(226,180,92,.45); background: var(--gold-soft); }
.sched-date { font-family: var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-size: .92rem; }
.sched-opp { font-weight: 500; }
.sched-tag {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ==========================================================
   PARTNERS
   ========================================================== */
.partners {
  padding: clamp(30px, 5vw, 66px) 0;
  border-top: 1px solid var(--line);
}
.partner-row {
  display: grid;
  /* cap each card so two logos don't sit marooned in enormous white slabs */
  grid-template-columns: repeat(auto-fit, minmax(240px, 400px));
  gap: clamp(14px, 2.6vw, 28px);
  align-items: stretch;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(150px, 15vw, 210px);
  padding: clamp(1.2rem, 3vw, 2.1rem);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 55px -30px rgba(0,0,0,1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 32px 60px -28px rgba(0,0,0,1); }
/* A 1:1 mark and a 4:1 wordmark capped to the same height would give the
   wordmark ~4x the area, so each is sized for comparable optical weight. */
.partner-card img { max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partner-card--mark img     { max-height: 150px; }
.partner-card--wordmark img { max-height: 88px; }
.partner-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: .9rem;
  max-width: 56ch;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: clamp(22px, 3.4vw, 40px) 0;
  background: rgba(3,4,10,.6);
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.foot-produced { display: flex; align-items: center; gap: .8rem; opacity: .8; transition: opacity .3s ease; }
.foot-produced:hover { opacity: 1; }
.foot-produced span {
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-produced img { height: 34px; width: auto; }
.foot-legal { font-size: .76rem; color: var(--muted); text-align: right; line-height: 1.7; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1120px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .sponsor-strip { display: flex; }
  body.is-chat .stage { grid-template-columns: minmax(0, 1fr); }
  body.is-chat .chat-box iframe { min-height: 360px; }
}

@media (max-width: 720px) {
  /* below this the status pill goes full width, so the row has to stack */
  .topbar-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .brand, .gamesponsor, .topbar-status { justify-self: center; }
  .brand { justify-content: center; }
  .topbar-status { justify-content: center; width: 100%; }
  .gs-card img { max-width: min(124px, 46vw); max-height: 44px; }
  .player-bar { justify-content: center; }
  .pb-left { width: 100%; justify-content: center; }
  .pb-actions { width: 100%; justify-content: center; }
  /* pill on its own line with the date under it, rather than the two sharing
     a row and shoving the pill off to one side */
  .topbar-status { flex-direction: column; gap: .5rem; }
  .matchup-team, .matchup-opp { font-size: clamp(1rem, 5.4vw, 1.5rem); }
  .sponsor-strip { gap: 10px; margin-top: .9rem; }
  .sponsor-strip .sponsor-card { padding: .55rem .7rem; }
  .sponsor-strip .sponsor-card img { max-height: 40px; }
  .partner-card { min-height: 165px; }   /* above both cards' content height, so the pair matches exactly */
  .partner-card--mark img     { max-height: 118px; }
  .partner-card--wordmark img { max-height: 62px; }
  .sched-row { grid-template-columns: 1fr; gap: .3rem; }
  .sched-tag { justify-self: start; }
  .foot-inner { justify-content: center; text-align: center; }
  .foot-legal { text-align: center; }
  .intro-logo-a img { max-height: min(26vh, 220px); }
  .intro-logo-b img { max-height: min(15vh, 110px); }
}

@media (max-width: 560px) {
  /* over a thumbnail the message has to stay out of the artwork's way */
  .player-box.has-thumb .player-placeholder { padding: .7rem; }
  .player-box.has-thumb .ph-title { font-size: .95rem; letter-spacing: .06em; }
  .player-box.has-thumb .ph-sub   { font-size: .72rem; margin-top: .3rem; }

  /* align-items governs the horizontal axis once this is a column, and the
     inherited `baseline` reads as left there */
  .matchup { flex-direction: column; align-items: center; gap: .2rem; }
}

@media (max-width: 420px) {
  .pb-btn span { display: none; }
  .pb-btn { padding: .55rem .8rem; }
}

/* ==========================================================
   MOTION / A11Y
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .beam, .ph-ring, .status-pill[data-state="live"] .status-dot { animation: none !important; }
  .intro.play .intro-logo-a,
  .intro.play .intro-logo-b { animation: none; opacity: 1; transform: none; }
  .intro-half { transition-duration: .35s; }
  .intro.open .intro-logos { animation: none; }
  body.revealed .topbar,
  body.revealed .page,
  body.revealed .foot { animation-duration: .2s; }
  * { scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* native fullscreen on our own wrapper keeps the frame edge-to-edge */
.player-frame:fullscreen,
.player-frame:-webkit-full-screen {
  padding: 0;
  background: #000;
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-frame:fullscreen .player-box,
.player-frame:-webkit-full-screen .player-box {
  border-radius: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  max-height: 100vh;
}
.player-frame:fullscreen .player-glow { display: none; }
