/* The scoreboard, field lines and event banners use stable broadcast colors in both themes. */
.stadiumBoard {
  background: linear-gradient(108deg, #101f32, #173442 56%, #172a3a);
  border-top-color: #f9874e;
  padding-block: clamp(14px, 2.1vw, 25px);
}
.stadiumBoard .gameTeam { align-self: stretch; align-content: center; width: 100%; min-width: 0; max-width: 260px }
.gameTeam:has(.possessionMarker > span) b { color: #b9efff }
.stadiumBoard .possessionMarker { min-height: 18px; align-items: center }
.stadiumBoard .possessionMarker > span {
  display: inline-grid;
  place-items: center;
  min-width: 29px;
  height: 17px;
  border-radius: 8px;
  background: #d7f5ff;
  transform: none;
  font: 12px/1 var(--sans);
}
.gc-team-details {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 6px;
  color: #d0dee1;
  font: 600 .75rem/1.3 var(--sans);
  font-variant-numeric: tabular-nums;
}
.gc-timeouts, .gc-timeout-pips { display: inline-flex; align-items: center }
.gc-timeouts { gap: 5px; white-space: nowrap }
.gc-timeout-count { color: #fff; font-weight: 770 }
.gc-timeout-short { display: none }
.gc-timeout-pips { gap: 3px }
.gc-timeout-pips i {
  display: block;
  width: 9px;
  height: 5px;
  border: 1px solid #91a9b0;
  border-radius: 1px;
}
.gc-timeout-pips i.available { background: #b0ead2; border-color: #b0ead2 }
.gc-team-flags { color: #c2d3d8; white-space: nowrap }
.gc-stat-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 12px;
}
.gc-stat-buttons button {
  padding: 5px 10px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel, #fff);
  color: var(--ink);
  font: 650 .83rem/1.2 var(--sans);
  cursor: pointer;
}
.gc-stat-buttons button:hover { border-color: #648997 }
.gc-stat-buttons button[aria-pressed="true"] {
  background: #184756;
  color: #fff;
  border-color: #184756;
}
html[data-theme="dark"] .gc-stat-buttons button[aria-pressed="true"] {
  background: #9cdbdc;
  color: #10292e;
  border-color: #9cdbdc;
}
.gc-stat-buttons button:focus-visible { outline: 2px solid var(--action, #275f77); outline-offset: 2px }
@media (max-width:650px) {
  .stadiumBoard { grid-template-columns: minmax(0,1fr) minmax(0,.96fr) minmax(0,1fr); column-gap: 7px }
  .stadiumBoard .gameClock b { font-size: clamp(1.12rem, 5vw, 1.5rem) }
  .gc-team-details { flex-direction: column; align-items: flex-start; gap: 2px }
  .gameTeam:last-child .gc-team-details { align-items: flex-end }
  .gc-timeout-full { display: none }
  .gc-timeout-short { display: inline; text-decoration: none }
  .gc-timeout-pips { gap: 2px }
  .gc-timeout-pips i { width: 7px }
}
@media (forced-colors:active) {
  .gc-timeout-pips i { border-color: CanvasText }
  .gc-timeout-pips i.available { background: Highlight; border-color: Highlight; forced-color-adjust: none }
  .gc-stat-buttons button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -3px }
}
.stadiumBoard.md-bowl {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top-color: #edc981;
  background:
    radial-gradient(ellipse at 52% -92%, #e7c798 0%, transparent 66%),
    linear-gradient(115deg, #102332, #2f4350 52%, #102332);
}
.stadiumBoard.md-bowl::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4px;
  border: 1px solid #d7bc8559;
  border-radius: 5px 5px 0 0;
  pointer-events: none;
}
.md-bowl .gameClock { color: #ffedbf }
.fd-chart {
  background: #0e2c35;
  border-color: #294850;
  box-shadow: 0 4px 12px #10282f14;
}
.fd-game-situation {
  padding: 12px clamp(12px, 2vw, 22px);
  background: #12313c;
  border-color: #34535d;
}
.fd-game-situation span { color: #bbd3d8; font-weight: 630 }
.fd-game-situation strong { color: #fff; font-variant-numeric: tabular-nums }
.fd-chart[data-direction] .fd-game-situation > div:first-child strong::before {
  content: "";
  display: inline-block;
  width: .48em;
  height: .55em;
  margin-inline-end: .32em;
  background: #95e9ff;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 25% 50%);
}
.fd-chart[data-direction="left"] .fd-game-situation > div:first-child strong::before { transform: rotate(180deg) }
.fd-ground {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(24px, 6.6%) minmax(0, 1fr) minmax(24px, 6.6%);
  height: clamp(148px, 17vw, 218px);
  margin: 0;
  border: 0;
  border-block: 2px solid #d9e7dc;
  border-radius: 0;
  background: #205c45;
}
.fd-ground .fd-grid {
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(10% - 1.5px), #e6f7e2ba calc(10% - 1.5px) 10%),
    repeating-linear-gradient(90deg, transparent 0 calc(5% - 1px), #e7ffdf45 calc(5% - 1px) 5%),
    repeating-linear-gradient(90deg, #235d48 0 10%, #2b6a50 10% 20%);
  box-shadow: inset 0 0 22px #00291c60;
}
.fd-ground .fd-endzone {
  color: #fff;
  border-color: #e2edd8;
  background: repeating-linear-gradient(135deg, #213c50 0 8px, #294658 8px 16px);
  font: 700 clamp(1rem, 1.8vw, 1.75rem)/1 var(--display);
  letter-spacing: .1em;
  text-shadow: 0 1px 2px #132c37;
}
.fd-ground .fd-endzone.away { background: repeating-linear-gradient(135deg, #263f3c 0 8px, #304a43 8px 16px) }
.fd-grid .fd-numbers {
  color: #e0eddb;
  opacity: .95;
  font: 700 clamp(.79rem, 1.45vw, 1.08rem)/1 var(--display);
  letter-spacing: .02em;
}
.fd-grid .fd-numbers.fd-top { top: 5px }
.fd-grid .fd-numbers.fd-bottom { bottom: 4px; height: auto; line-height: 1 }
.fd-grid .fd-numbers.fd-bottom span { bottom: 0 }
.fd-grid .fd-hashes { height: 4px; opacity: .58 }
.fd-grid .fd-hashes.high { top: 27% }
.fd-grid .fd-hashes.low { bottom: 27% }
.fd-grid .fd-step {
  --path: #9cf4d0;
  opacity: .58;
  height: 5px;
  background: var(--path);
  box-shadow: 0 1px 2px #04251fe0;
}
.fd-step.loss { --path: #ffac76 }
.fd-step.takeaway { --path: #ffa0bc }
.fd-step.flag { --path: #ffd36b }
.fd-step.kick { --path: #c1cfff }
.fd-step.score { --path: #ffe58a }
.fd-grid .fd-step:is(.loss,.takeaway,.flag,.kick,.score) { background: var(--path) }
.fd-grid .fd-step::after, .fd-grid .fd-step.reverse::before { border-left-color: var(--path); top: -3px }
.fd-grid .fd-step:nth-last-child(1 of .fd-step) { opacity: 1; height: 7px }
.fd-grid .fd-step:nth-last-child(1 of .fd-step)::after,
.fd-grid .fd-step.reverse:nth-last-child(1 of .fd-step)::before { top: -2px }
.fd-grid .fd-chain {
  border-left: 3px dashed #ffe04d;
  filter: drop-shadow(1px 0 1px #524513c9);
}
.fd-grid .fd-ball-line {
  border-left: 3px solid #61dcff;
  box-shadow: 0 0 0 1px #133e4aab;
}
.fd-grid .fd-ball-line b {
  top: 48%;
  left: -9px;
  width: 17px;
  height: 23px;
  border-color: white;
  background: linear-gradient(100deg,#824c2e,#ad6c3c 55%,#6f442c);
  box-shadow: 0 2px 4px #041f1bc7, 0 0 0 3px #d0f5ff38;
}
.fd-grid .fd-ball-line b::after {
  left: 6px;
  top: 4px;
  height: 10px;
  background: repeating-linear-gradient(#fff 0 2px,#c2b5a1 2px 3px);
}
.fd-caption { min-height: 34px; color: #e1edef; padding: 7px clamp(10px, 2vw, 20px) }
.fd-caption .fd-legend { width: 16px; height: 5px }
.fd-caption .fd-legend.ball { height: 4px; background: #61dcff }
.fd-caption .fd-legend.chain {
  height: 0;
  border-top: 3px dashed #ffe04d;
  border-radius: 0;
  background: transparent;
}
.md-flash {
  --event-face: #fada8e;
  --event-ink: #39290a;
  position: absolute;
  z-index: 5;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: calc(100% - 48px);
  padding: 4px 10px 4px 4px;
  border: 1px solid #ffffffe3;
  border-radius: 5px;
  background: #162a32;
  box-shadow: 0 3px 10px #001d2196;
  color: white;
  font: 700 clamp(.78rem,1.6vw,1rem)/1.15 var(--sans);
  text-align: left;
  pointer-events: none;
}
.md-flash span small { display: block; margin-top: 2px; color: #d2e4e8; font: 600 .75rem/1.14 var(--sans) }
.md-flash.md-turnover { --event-face: #ffc0c7; --event-ink: #542226 }
.md-flash strong {
  display: grid;
  min-width: 2.15rem;
  min-height: 1.65rem;
  place-items: center;
  border-radius: 3px;
  padding: 2px 6px;
  background: var(--event-face);
  color: var(--event-ink);
  font: 700 clamp(1.16rem,2.6vw,1.5rem)/1 var(--display);
  white-space: nowrap;
}
.md-win-prob {
  background: #102b36;
  color: #e1f0f3;
  padding: 8px clamp(12px,2vw,22px) 12px;
  font: 680 .82rem/1.25 var(--sans);
  font-variant-numeric: tabular-nums;
}
.md-win-prob > div { display: flex; justify-content: space-between; gap: 8px; align-items: baseline }
.md-win-prob span { font-weight: 530; color: #c2d5da }
.md-win-prob .md-odds-row { align-items: center }
.md-odds-row > b { white-space: nowrap }
.md-odds-center { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; text-align: center }
.md-odds-controls { display: inline-flex; align-items: center; gap: 3px }
.md-odds-controls button, .md-odds-hidden button {
  font: 650 .75rem/1.1 var(--sans);
  padding: 5px 8px;
  color: #dcebf1;
  background: #193946;
  border: 1px solid #66818b;
  border-radius: 4px;
}
.md-odds-controls button[aria-pressed="true"] { color: #102d38; background: #b5e2e7; border-color: #b5e2e7 }
.md-odds-controls button:hover, .md-odds-hidden button:hover { border-color: #c0edf2 }
.md-odds-controls button:focus-visible, .md-odds-hidden button:focus-visible { outline: 2px solid #ffd09c; outline-offset: 2px }
.md-win-prob.md-odds-hidden { padding-block: 4px; text-align: end }
@media (max-width: 575px) {
  .md-odds-controls button { padding: 6px; font-size: .7rem }
  .md-odds-center { gap: 3px; flex-direction: column }
}
.md-odds-track {
  display: block;
  height: 5px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #efb27f;
}
.md-odds-fill { display: block; height: 100%; background: #91dbf0; box-shadow: 2px 0 #102b36 }
/* Mark the complete bracket row so the user's team remains visible in tight columns. */
.lg-journey .lg-tree-team.local,
.lg-journey .lg-tree-bye.local {
  background: #ffe6b4;
  color: #39250d;
  box-shadow: inset 4px 0 #af4c18;
}
.lg-journey .lg-tree-team.local span,
.lg-journey .lg-tree-bye.local small { color: #6b411c }
.lg-journey .lg-tree-team.local b { text-decoration: none }
.lg-tree-game:has(.lg-tree-team.local) { border-color: #b98047 }
.lg-journey .lg-tree-team.local.winner strong { color: #17583d }
.lg-journey .lg-tree-team.local.out { background: #f4e4cb }
html[data-theme="dark"] .lg-journey .lg-tree-team.local,
html[data-theme="dark"] .lg-journey .lg-tree-bye.local {
  color: #ffedcd;
  background: #4b3523;
  box-shadow: inset 4px 0 #ffaf69;
}
html[data-theme="dark"] .lg-journey .lg-tree-team.local :is(b,strong),
html[data-theme="dark"] .lg-journey .lg-tree-bye.local strong { color: #fff0da }
html[data-theme="dark"] .lg-journey .lg-tree-team.local span,
html[data-theme="dark"] .lg-journey .lg-tree-bye.local small { color: #e8cb9d }
html[data-theme="dark"] .lg-journey .lg-tree-team.local.winner strong { color: #a0edc4 }
/* Championship celebration stays inside its dialog and leaves controls reachable. */
.md-championship {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid #c6a460;
  border-radius: 11px;
  padding: clamp(23px, 6vw, 44px) clamp(16px, 4vw, 34px);
  background:
    radial-gradient(ellipse at 43% -50%,#b89356 0%,transparent 62%),
    linear-gradient(138deg,#192d37,#203a46 48%,#12232d);
  color: white;
  text-align: center;
}
.md-championship :is(h2,h3) {
  color: #ffedbc;
  margin: .3em 0 .45em;
  font: 700 clamp(2rem,6vw,3.8rem)/.99 var(--display);
}
.md-championship p { color: #eef1ed; margin: .65em 0 }
.md-championship::before, .md-championship::after {
  content: "";
  pointer-events: none;
  z-index: -1;
  position: absolute;
  top: -67%;
  left: 0;
  width: 100%;
  height: 155%;
  background-image:
    linear-gradient(32deg,transparent 43%,#efc772 44% 54%,transparent 55%),
    linear-gradient(122deg,transparent 42%,#cae7e0 43% 56%,transparent 57%),
    linear-gradient(19deg,transparent 44%,#f79868 45% 55%,transparent 56%);
  background-size: 9px 11px,5px 8px,6px 9px;
  background-repeat: space;
  mask-image: repeating-linear-gradient(125deg,#000 0 8px,transparent 9px 63px),repeating-linear-gradient(48deg,#000 0 7px, transparent 8px 49px);
  mask-composite: intersect;
  opacity: 0;
  animation: md-confetti 1.9s ease-out both;
}
.md-championship::after { left: 5%; animation-delay: .18s; animation-duration: 2.3s }
@keyframes md-confetti {
  0% { transform: translateY(-12%) rotate(-4deg); opacity: 0 }
  8% { opacity: .85 }
  85% { opacity: .65 }
  100% { transform: translateY(75%) rotate(3deg); opacity: 0 }
}
.gameBulletin.md-critical {
  --alert-ink: #60232d;
  border: 1px solid #b83046;
  border-left: 6px solid #b82e43;
  color: var(--alert-ink);
  background: #fff1f2;
  padding-block: 14px;
  box-shadow: 0 4px 21px #601d2933;
}
.gameBulletin.md-critical strong { font-size: 1.06rem; line-height: 1.24; color: var(--alert-ink) }
.gameBulletin.md-critical p { color: var(--alert-ink) }
html[data-theme="dark"] .gameBulletin.md-critical { --alert-ink: #ffe2e5; border-color: #ef7988; background: #4a252e }
html[data-theme="dark"] .gameBulletin.md-critical p { color: #ffdbdf }
/* Preserve range semantics and touch targets in Safari, WebKit and Firefox. */
#settings .sliders {
  --slider-bg: #f6f9fa;
  --slider-edge: #d6e1e4;
  --slider-track: #cfdddf;
  --slider-color: #246b71;
  --slider-text: #193943;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,215px),1fr));
  gap: 10px;
  width: 100%;
}
#settings .sliders label {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-content: start;
  align-items: center;
  gap: 2px 6px;
  background: var(--slider-bg);
  border: 1px solid var(--slider-edge);
  border-radius: 8px;
  padding: 11px 12px 7px;
  color: var(--slider-text);
  font-size: .91rem;
  font-weight: 680;
  line-height: 1.32;
}
#settings .sliders label:focus-within { border-color: var(--slider-color) }
#settings .sliders output {
  color: var(--slider-text);
  background: transparent;
  font: 700 .86rem/1.2 var(--sans);
  font-variant-numeric: tabular-nums;
  justify-self: end;
  margin: 0;
}
#settings .sliders small { grid-column: 1 / -1; font-size: .78rem; font-weight: 480; color: var(--muted) }
#settings input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  height: 32px;
  min-height: 32px;
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  outline-offset: 2px;
  cursor: pointer;
  background: transparent;
  accent-color: var(--slider-color);
}
#settings input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg,var(--slider-color) 0 var(--fill,0%),var(--slider-track) var(--fill,0%) 100%);
}
#settings input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  margin-top: -7px;
  border: 3px solid var(--slider-color);
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #142e3a40;
}
#settings input[type="range"]::-moz-range-track { height: 5px; border-radius: 5px; background: var(--slider-track) }
#settings input[type="range"]::-moz-range-progress { height: 5px; border-radius: 5px; background: var(--slider-color) }
#settings input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid var(--slider-color);
  border-radius: 50%;
  background: white;
}
#settings input[type="range"]:focus-visible { outline: 2px solid var(--slider-color) }
html[data-theme="dark"] #settings .sliders {
  --slider-bg: #1c2f3b;
  --slider-edge: #3b505b;
  --slider-track: #49606a;
  --slider-color: #8bd6d6;
  --slider-text: #e2f4f5;
}
@media (max-width: 600px) {
  .fd-ground { height: 142px }
  .fd-game-situation { grid-template-columns: 1.08fr .85fr 1.15fr; gap: 5px; padding: 8px 10px }
  .fd-game-situation > div:nth-child(2) { padding-inline: 7px }
  .fd-caption { gap: 5px; padding-inline: 9px }
  .fd-caption .fd-legend { width: 11px }
  .fd-ground .fd-endzone { font-size: .95rem }
  .md-flash { max-width: calc(100% - 24px); top: 5px; gap: 5px; font-size: .77rem }
  .md-flash strong { min-width: 1.45rem; min-height: 1.35rem; font-size: 1.05rem }
  .md-win-prob { padding: 7px 10px 10px; font-size: .77rem }
}
@media (max-width: 395px) {
  .fd-grid .fd-numbers span:nth-child(even) { visibility: hidden }
  #settings .sliders { grid-template-columns: 1fr }
}
@media (prefers-reduced-motion: reduce) {
  .md-flash { animation: none }
  .md-championship::before, .md-championship::after { animation: none }
}
@media (forced-colors: active) {
  .lg-journey .lg-tree-team.local, .lg-journey .lg-tree-bye.local { outline: 2px solid Highlight; outline-offset: -2px }
  .md-flash { border-color: Highlight }
  #settings input[type="range"] { appearance: auto }
}
.md-jumps, .md-broadcast {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 9px;
}
.md-jumps { padding: 7px 0; }
.md-jumps > strong { font-size: .84rem; color: var(--muted) }
.md-jumps .btn { min-height: 34px; padding: 6px 11px }
.md-broadcast {
  padding: 7px clamp(12px,2vw,22px);
  background: #1d3544;
  border-block-end: 1px solid #375361;
  color: #e4eff2;
  font-size: .83rem;
  font-variant-numeric: tabular-nums;
}
.md-broadcast span + span { border-inline-start: 1px solid #58717b; padding-inline-start: 9px }
.md-broadcast .md-feature {
  background: #ffde9f;
  border-radius: 4px;
  padding: 2px 7px;
  color: #33230b;
  font-weight: 760;
}
.md-broadcast.is-prime > span:first-child { color: #ffde9f; font-weight: 760 }
.playoff-own-seed {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #dcb178;
  color: #fff3da;
  background: #40332a;
  font-size: .86rem;
}
.playoff-own-seed strong { padding: 3px 7px; color: #31200d; background: #ffe3ad }
.playoff-own-seed span { padding: 3px 8px }
.lg-journey-head .playoff-missed { margin-top: 6px; color: #d8e2e7; font-weight: 680 }
.playoff-round-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  padding: 8px clamp(10px,2vw,20px);
  border-bottom: 1px solid var(--line);
}
.playoff-round-controls strong { color: var(--ink); font-size: .86rem; margin-right: auto }
.playoff-round-controls .btn { min-height: 30px; padding: 4px 9px; font-size: .82rem }
.md-championship .lg-bowl-mark { height: 48px; margin-bottom: 6px; transform: scale(1.35); transform-origin: center bottom }
.md-championship .lg-bowl-mark i { top: 18px }
.md-title-record { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; margin: 17px 0 4px }
.md-title-record div { padding-inline: 7px }
.md-title-record dt { color: #d5dfdf; font-size: .85rem }
.md-title-record dd { margin: 4px 0 0; color: white; font: 700 1.65rem/1 var(--display); font-variant-numeric: tabular-nums }
.md-championship .md-honors { border-top: 1px solid #d7bc855c; margin-top: 18px; padding-top: 11px }
.md-championship .md-honors h3 { font: 700 1rem/1.2 var(--sans); margin: 3px 0 5px }
.md-honors ul { padding: 0; margin: 0; list-style: none; font-size: .85rem; line-height: 1.48 }
@media (max-width:600px) {
  .lg-journey-head { align-items: flex-start; flex-wrap: wrap }
  .playoff-round-controls strong { flex-basis: 100% }
  .md-title-record { gap: 8px 12px }
}

/* Each end zone spans ten playing yards. Routes and lines share the 100-yard grid between them. */
.fd-ground{grid-template-columns:1fr 10fr 1fr}
.fd-ground .fd-grid{z-index:1}
.fd-grid .md-travel{pointer-events:none;overflow:visible;position:absolute;inset:0;width:100%;height:100%;z-index:3}
.md-lane{fill:none;stroke:#bcf8c9;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px #102a29)}
.md-lane.lane-pass,.md-lane.lane-incomplete{stroke:#88e6ff;stroke-dasharray:6 5}
.md-lane.lane-kick,.md-lane.lane-punt,.md-lane.lane-attempt,.md-lane.lane-onside{stroke:#d9d4ff;stroke-dasharray:4 5}
.md-lane.lane-return{stroke:#ffe092}
.md-lane.lane-takeback,.md-lane.lane-blocked{stroke:#ffa6be}
.md-football{position:absolute;z-index:4;width:clamp(19px,2vw,26px);aspect-ratio:1.6;transform:translate(-50%,-50%) rotate(-23deg);border-radius:72% 22% 72% 22%;border:2px solid #fff8df;background:linear-gradient(145deg,#b8703b,#6e341e);box-shadow:0 0 0 2px #2738298c,0 2px 5px #062b25;pointer-events:none}
.md-football i{position:absolute;width:53%;height:1.5px;left:24%;top:45%;background:#fff4d6}
.md-football i::after{content:'';position:absolute;left:0;top:-2px;width:100%;height:5px;background:repeating-linear-gradient(90deg,transparent 0 2px,#fff4d6 2px 3px)}
.md-trace-key{position:absolute;z-index:4;right:5px;bottom:4px;padding:3px 6px;border-radius:4px;background:#102e2bf0;color:white;font:680 .7rem var(--sans);pointer-events:none}
.fd-ground .md-flash{
 top:10px;gap:.7rem;max-width:calc(100% - 16px);padding:6px 16px 6px 6px;
 border:2px solid #fff8e0;border-radius:8px;background:#102b31f5;
 font:750 clamp(1rem,2vw,1.4rem)/1.06 var(--display);
 animation:md-event-stack 4s linear var(--md-elapsed,0ms) both;
}
.fd-ground .md-flash strong{padding:5px 8px;min-height:2rem;min-width:2.9rem;font:750 clamp(1.4rem,2.8vw,2rem)/1.08 var(--display)}
@media(max-width:600px){
 .fd-ground .md-flash{top:5px;padding:4px 9px 4px 4px;gap:6px}
 .fd-ground .md-flash strong{font-size:1.2rem;min-height:1.65rem;min-width:1.9rem}
 .md-lane{stroke-width:2.5}
}
@media(prefers-reduced-motion:reduce){
 .fd-ground .md-flash{animation:md-event-static 4s var(--md-elapsed,0ms) step-end both}
 @keyframes md-event-static{0%{visibility:visible}100%{visibility:hidden}}
}
.md-events{position:absolute;z-index:6;top:8px;left:2%;right:2%;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}
.md-events .md-flash{position:relative;top:auto;left:auto;transform:none}
.md-events .md-flash:not(:last-child){padding:3px 8px;gap:6px;font:700 .88rem/1.05 var(--sans)}
.md-events .md-flash:not(:last-child) strong{min-width:1.6rem;min-height:1rem;padding:2px 4px;font-size:.9rem}
@keyframes md-event-stack{0%{opacity:0}5%,78%{opacity:1}100%{opacity:0;visibility:hidden}}
.md-flash.md-explosive strong{color:#102a32;background:#9ce2ed}

/* Keep the football action first, with the consequences of the same snap beneath it. */
.lastPlay.snap-summary,.gameStream article.snap-entry{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;justify-items:stretch;gap:6px}
.snap-summary header,.snap-entry header{font-size:.78rem;font-weight:650;color:var(--muted,#536572);line-height:1.3}
.snap-action,.snap-detail{display:flex;align-items:baseline;gap:8px}
.snap-action .evBadge,.snap-detail .evBadge{flex:none}
.snap-action{line-height:1.4}
.snap-detail{padding-inline-start:10px;border-inline-start:2px solid var(--line,#c7d3da);font-size:.86rem;line-height:1.4}
.snap-detail .evBadge{font-size:.68rem}
.fd-ground .md-flash .md-cause{max-width:37rem;line-height:1.2;white-space:normal}
.md-events .md-flash:not(:last-child) .md-cause{display:none}
