:root {
  --black: #121313;
  --black-soft: #242626;
  --canvas: #f3f4ef;
  --white: #fff;
  --signal: #ff4d00;
  --electric: #3157ff;
  --chartreuse: #c7f20c;
  --sky: #bfe7f7;
  --red: #ee334e;
  --line: #c8cbc4;
  --muted: #656963;
  --shell: min(1280px, calc(100% - 48px));
  --sans: Arial, Helvetica, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--canvas);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--electric);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.control-bar {
  width: var(--shell);
  min-height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  border-right: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.control-brand {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline: 20px;
  color: var(--white);
  background: var(--black);
  font-family: var(--mono);
  letter-spacing: -0.08em;
}

.control-brand b {
  font-size: 1.5rem;
}

.control-brand span {
  color: var(--chartreuse);
  font-size: 1rem;
}

.control-event {
  min-width: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-event span:not(:last-child)::after {
  margin-left: 18px;
  color: var(--signal);
  content: "/";
}

.control-nav {
  min-width: 0;
  display: flex;
  gap: 22px;
  padding-right: 20px;
}

.control-nav a {
  position: relative;
  padding: 10px 0 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.control-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.control-nav a:hover::after,
.control-nav a:focus-visible::after {
  transform: scaleX(1);
}

.ticker {
  color: var(--white);
  background: var(--signal);
  overflow: hidden;
}

.ticker > div {
  width: var(--shell);
  min-height: 34px;
  margin-inline: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  padding-inline: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker > div::-webkit-scrollbar {
  display: none;
}

.ticker i {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: var(--black);
}

.scoreboard {
  width: var(--shell);
  margin-inline: auto;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.scoreboard-grid {
  min-height: 450px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  border-bottom: 1px solid var(--black);
}

.team-panel {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.team-england {
  background: var(--white);
}

.team-england::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 52%;
  content: "";
  background: var(--red);
}

.team-argentina {
  background: var(--sky);
}

.team-argentina::after {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  content: "";
  border: 1px solid var(--black);
  border-radius: 50%;
}

.team-code {
  position: absolute;
  top: 18px;
  left: clamp(26px, 4vw, 58px);
  color: rgba(18, 19, 19, 0.12);
  font-family: var(--mono);
  font-size: clamp(4.5rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.12em;
}

.team-panel p {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-panel strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-family: var(--sans);
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.075em;
  overflow-wrap: anywhere;
}

.team-panel small {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.versus-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  color: var(--white);
  background: var(--black);
  font-family: var(--mono);
}

.versus-rail span {
  color: var(--chartreuse);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.versus-rail b {
  font-size: 2rem;
  line-height: 1;
  transform: rotate(-90deg);
}

.scoreboard-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(36px, 5vw, 72px);
  background: var(--canvas);
}

.system-label {
  margin: 0 0 18px;
  color: var(--electric);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-label-light {
  color: var(--chartreuse);
}

.scoreboard-copy h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.scoreboard-lead {
  align-self: end;
  min-width: 0;
}

.scoreboard-lead > p {
  margin: 0 0 26px;
  color: var(--black-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.scoreboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--black);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
}

.action-primary {
  color: var(--white);
  background: var(--signal);
}

.action-quiet {
  background: transparent;
}

.action:hover,
.action:focus-visible {
  color: var(--white);
  background: var(--black);
}

.time-board {
  margin: 0;
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.8fr 1.2fr;
  background: var(--white);
}

.time-board > div {
  min-width: 0;
  padding: 22px 26px;
  border-right: 1px solid var(--black);
}

.time-board > div:last-child {
  border-right: 0;
}

.time-board dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-board dd {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.time-board-main {
  color: var(--white);
  background: var(--electric);
}

.time-board-main dt {
  color: rgba(255, 255, 255, 0.72);
}

.stadium-slice {
  position: relative;
  width: var(--shell);
  height: min(35vw, 420px);
  min-height: 280px;
  margin: 46px auto 0;
  overflow: hidden;
  border: 1px solid var(--black);
  background: #0a2d58;
}

.stadium-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stadium-slice figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  color: var(--black);
  background: var(--chartreuse);
  border-top: 1px solid var(--black);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-index {
  width: var(--shell);
  min-height: 62px;
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--black);
}

.section-index span {
  width: 82px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 800;
}

.section-index p {
  margin: 0;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-index-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.section-index-dark span {
  color: var(--black);
  background: var(--chartreuse);
}

.stream-section {
  margin-top: 46px;
  padding: 42px 0 74px;
  color: var(--white);
  background: var(--black);
}

.stream-section .section-index {
  border-color: rgba(255, 255, 255, 0.28);
}

.stream-section .section-index span {
  color: var(--black);
  background: var(--signal);
}

.stream-panel {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 60px;
  align-items: end;
  padding: clamp(34px, 5vw, 70px);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.stream-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.stream-panel > time {
  display: flex;
  flex-direction: column;
  color: var(--chartreuse);
  font-family: var(--mono);
  font-size: clamp(3.8rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.1em;
  font-variant-numeric: tabular-nums;
}

.stream-panel > time span {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stream-offline {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  color: var(--black);
  background: var(--signal);
  border: 1px solid var(--signal);
}

.stream-offline-code {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--white);
  background: var(--black);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-offline b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: clamp(1.4rem, 3vw, 2.7rem);
  line-height: 1;
}

.stream-offline p {
  max-width: 720px;
  margin: 0;
}

.stream-note {
  grid-column: 1 / -1;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.86rem;
}

.stream-note p {
  max-width: 760px;
  margin: 0;
}

.stream-note a {
  flex: 0 0 auto;
  color: var(--chartreuse);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.video-wrapper {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--white);
  background: #050505;
  border: 1px solid var(--chartreuse);
}

.dreams-player,
.dreams-player iframe,
.dreams-player video,
.video-wrapper > iframe {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.timing-section,
.scan-section,
.checklist-section,
.sources-section {
  padding: 74px 0;
}

.timing-layout {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 64px;
  padding: clamp(36px, 5vw, 70px);
  background: var(--white);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.timing-copy,
.routes-heading,
.scan-heading,
.checklist-heading,
.faq-heading,
.sources-heading {
  min-width: 0;
}

.timing-copy h2,
.routes-heading h2,
.scan-heading h2,
.checklist-heading h2,
.faq-heading h2,
.sources-heading h2 {
  margin: 0 0 26px;
  font-family: var(--sans);
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.timing-copy > p:not(.system-label) {
  max-width: 750px;
  margin: 0 0 18px;
  color: #303333;
  line-height: 1.75;
}

.coordinate-list {
  margin: 0;
  border-top: 1px solid var(--black);
}

.coordinate-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--black);
}

.coordinate-list dt,
.coordinate-list dd {
  margin: 0;
  font-family: var(--mono);
}

.coordinate-list dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coordinate-list dd {
  font-size: 1.05rem;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.routes-section {
  padding: 74px 0 90px;
  color: var(--white);
  background: var(--black);
}

.routes-heading {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 68px) 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 10px 72px;
  align-items: end;
}

.routes-heading .system-label {
  grid-column: 1 / -1;
}

.routes-heading h2 {
  margin-bottom: 0;
}

.routes-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.route-board {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.route {
  min-width: 0;
  background: var(--black-soft);
}

.route + .route {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.route header {
  min-height: 190px;
  padding: 30px;
  display: grid;
  align-content: space-between;
  color: var(--black);
}

.route-england header {
  background: var(--white);
}

.route-argentina header {
  background: var(--sky);
}

.route header span,
.route header b,
.route-group > p,
.route-knockout > p {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route header h3 {
  margin: 14px 0;
  font-family: var(--sans);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.84;
  letter-spacing: -0.07em;
}

.route-group,
.route-knockout {
  padding: 28px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.route-group > p,
.route-knockout > p {
  margin: 0 0 12px;
  color: var(--chartreuse);
}

.route ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route li {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 50px;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.route li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.route li b {
  font-family: var(--mono);
  font-size: 1.2rem;
}

.route li small {
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-align: right;
}

.route-summary {
  margin: 0;
  padding: 30px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.scan-heading {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 68px) 0 22px;
}

.scan-grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid var(--black);
}

.scan-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--black);
}

.scan-card:nth-child(odd) {
  border-right: 1px solid var(--black);
}

.scan-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.scan-code {
  display: block;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scan-card h3 {
  margin: 0 0 24px;
  font-family: var(--sans);
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.scan-rules {
  color: var(--black);
  background: var(--signal);
}

.scan-rules h3 {
  font-family: var(--mono);
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  letter-spacing: -0.1em;
  white-space: nowrap;
}

.scan-history {
  background: var(--white);
}

.scan-history ol {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--black);
}

.scan-history li {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--black);
  font-size: 0.86rem;
}

.scan-history time,
.scan-history b {
  font-family: var(--mono);
}

.scan-history b {
  text-align: right;
}

.scan-card > p {
  margin: 0;
  line-height: 1.7;
}

.scan-watch {
  color: var(--white);
  background: var(--electric);
}

.scan-watch ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.scan-watch li {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.scan-watch li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.scan-next {
  background: var(--sky);
}

.fork {
  display: grid;
  grid-template-columns: 120px 90px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--black);
}

.fork:last-child {
  border-bottom: 1px solid var(--black);
}

.fork b,
.fork span {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.fork p {
  margin: 0;
  font-size: 0.88rem;
}

.checklist-layout {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 70px;
  padding: clamp(38px, 5vw, 70px);
  background: var(--white);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.checklist-heading > p:last-child,
.sources-heading > p:last-child {
  color: var(--muted);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--black);
}

.checklist li {
  min-width: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--black);
}

.checklist li span {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
}

.checklist li p {
  margin: 0;
}

.faq-section {
  padding: 74px 0 88px;
  color: var(--white);
  background: var(--black);
}

.faq-heading {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 68px) 0 28px;
}

.faq-grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.faq-grid details {
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.faq-grid summary {
  min-height: 104px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 750;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary > span {
  font-family: var(--mono);
  color: var(--chartreuse);
}

.faq-grid summary i {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 1.6rem;
  font-style: normal;
  text-align: center;
  transition: transform 160ms ease;
}

.faq-grid details[open] summary i {
  transform: rotate(45deg);
}

.faq-grid details > p {
  margin: 0;
  padding: 0 22px 26px 82px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.sources-layout {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
  padding: clamp(38px, 5vw, 70px);
  background: var(--white);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.source-list {
  border-top: 1px solid var(--black);
}

.source-list a {
  min-width: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--black);
  transition: padding 150ms ease, color 150ms ease;
}

.source-list a:hover,
.source-list a:focus-visible {
  padding-inline: 10px;
  color: var(--electric);
}

.source-list span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.source-list b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.source-list i {
  font-style: normal;
  text-align: right;
}

.site-footer {
  min-height: 112px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 26px max(24px, calc((100% - 1280px) / 2 + 24px));
  color: var(--black);
  background: var(--signal);
  font-family: var(--mono);
  text-transform: uppercase;
}

.site-footer div {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-footer b {
  font-size: 1.2rem;
}

.site-footer span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-footer > a {
  font-size: 0.74rem;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .control-bar {
    grid-template-columns: auto 1fr;
    gap: 0;
  }

  .control-event {
    padding-inline: 20px;
    justify-self: end;
  }

  .control-nav {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 6px 20px;
    border-top: 1px solid var(--black);
  }

  .scoreboard-grid {
    min-height: 390px;
  }

  .scoreboard-copy,
  .routes-heading,
  .timing-layout,
  .checklist-layout,
  .sources-layout {
    gap: 44px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 720px);
  }

  .scoreboard-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .team-panel {
    min-height: 260px;
  }

  .versus-rail {
    min-height: 66px;
    flex-direction: row;
    padding: 0 22px;
  }

  .versus-rail span {
    writing-mode: initial;
  }

  .versus-rail b {
    transform: none;
  }

  .scoreboard-copy,
  .timing-layout,
  .routes-heading,
  .checklist-layout,
  .sources-layout {
    grid-template-columns: 1fr;
  }

  .scoreboard-copy {
    gap: 26px;
  }

  .time-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-board > div:nth-child(2) {
    border-right: 0;
  }

  .time-board > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--black);
  }

  .routes-heading {
    gap: 22px;
  }

  .route-board {
    grid-template-columns: 1fr;
  }

  .route + .route {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .scan-grid {
    grid-template-columns: 1fr;
  }

  .scan-card,
  .scan-card:nth-child(odd),
  .scan-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--black);
  }

  .scan-card:last-child {
    border-bottom: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 20px);
  }

  html {
    scroll-padding-top: 12px;
  }

  .control-bar {
    width: 100%;
    border-right: 0;
    border-left: 0;
  }

  .control-brand {
    padding-inline: 14px;
  }

  .control-event {
    gap: 8px;
    padding-inline: 10px;
    font-size: 0.54rem;
  }

  .control-event span:not(:last-child)::after {
    margin-left: 8px;
  }

  .control-event span:nth-child(2) {
    display: none;
  }

  .control-nav {
    width: 100%;
    gap: 22px;
    justify-content: flex-start;
    padding: 5px 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .control-nav::-webkit-scrollbar {
    display: none;
  }

  .ticker > div {
    width: 100%;
    padding-inline: 12px;
  }

  .team-panel {
    min-height: 220px;
    padding: 24px;
  }

  .team-code {
    left: 24px;
    font-size: 5.2rem;
  }

  .team-panel strong {
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  .scoreboard-copy,
  .timing-layout,
  .checklist-layout,
  .sources-layout {
    padding: 30px 22px;
  }

  .scoreboard-copy h1,
  .timing-copy h2,
  .routes-heading h2,
  .scan-heading h2,
  .checklist-heading h2,
  .faq-heading h2,
  .sources-heading h2 {
    font-size: clamp(2.25rem, 11.2vw, 3.5rem);
  }

  .scoreboard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .time-board > div {
    padding: 18px 15px;
  }

  .time-board dd {
    font-size: 1.15rem;
  }

  .stadium-slice {
    height: 300px;
    min-height: 0;
    margin-top: 24px;
  }

  .stadium-slice img {
    object-position: 63% center;
  }

  .stadium-slice figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .section-index {
    min-height: 50px;
  }

  .section-index span {
    width: 60px;
  }

  .stream-section,
  .timing-section,
  .routes-section,
  .scan-section,
  .checklist-section,
  .faq-section,
  .sources-section {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .stream-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 22px;
  }

  .stream-panel > time {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .stream-offline {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .stream-offline-code {
    min-height: 50px;
  }

  .stream-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .coordinate-list > div {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .routes-heading,
  .scan-heading,
  .faq-heading {
    padding-top: 38px;
  }

  .route header,
  .route-group,
  .route-knockout,
  .route-summary {
    padding-right: 22px;
    padding-left: 22px;
  }

  .route li {
    grid-template-columns: minmax(0, 1fr) auto 42px;
    gap: 10px;
  }

  .scan-card {
    padding: 30px 22px;
  }

  .scan-rules h3 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .scan-history li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .scan-history li b {
    grid-column: 2;
    text-align: left;
  }

  .fork {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .fork p {
    grid-column: 1 / -1;
  }

  .checklist-layout,
  .sources-layout {
    gap: 34px;
  }

  .checklist li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .faq-grid summary {
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    gap: 10px;
    padding: 18px 16px;
  }

  .faq-grid details > p {
    padding: 0 16px 22px 58px;
  }

  .source-list a {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 8px;
  }

  .source-list span {
    grid-column: 1 / -1;
  }

  .source-list i {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
