@font-face {
  font-family: Barlow;
  src: url("/worldcup/vendor/barlow-condensed-latin-700-normal.woff2")
    format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #06101f;
  --surface: #0b192c;
  --blue: #2e63dc;
  --ice: #8ce7ff;
  --gold: #f5c96c;
  --white: #f2f6ff;
  --muted: #9aaecb;
  --line: rgba(151, 187, 235, 0.16);
  --display: Barlow, "Arial Narrow", Impact, sans-serif;
  --body: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
a,
button,
input,
select {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 5px;
}
button:hover,
a:hover {
  color: var(--ice);
}
button {
  background: none;
}
input,
select {
  max-width: 100%;
  color: var(--white);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}
select {
  padding: 10px 34px 10px 14px;
}
input::placeholder {
  color: #9baac0;
}
option {
  color: var(--white);
  background: var(--surface);
}
::selection {
  background: #3977ff;
  color: white;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  color: black;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.masthead {
  height: 82px;
  padding: 0 4.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 31, 0.92);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand > svg {
  width: 27px;
  height: 30px;
  stroke: #7eb2ff;
  stroke-width: 1.25;
  fill: none;
}
.brand > span {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.brand strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.brand-divider {
  display: inline-block;
  margin: 0 14px;
  color: #506882;
  font-weight: 300;
}
.masthead nav {
  display: flex;
  gap: 29px;
  font-size: 12px;
  color: #bdcce0;
}
.masthead nav a {
  position: relative;
  padding: 26px 0;
}
.masthead nav a:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--ice);
  left: 0;
  right: 0;
  bottom: 15px;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.masthead nav a:hover:after,
.masthead nav a.active:after {
  transform: scaleX(1);
}
.motion-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  white-space: nowrap;
  color: #c2d2e9;
}
.motion-symbol {
  font-size: 20px;
  color: var(--ice);
  line-height: 1;
}
.hero {
  min-height: 690px;
  height: min(780px, calc(100svh - 82px));
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 72% 55%, #14387350, transparent 53%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(#a0caff04 1px, transparent 1px),
    linear-gradient(90deg, #a0caff04 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, black);
}
.hero-orbit {
  position: absolute;
  width: 1100px;
  height: 1100px;
  border: 1px solid #659cff0b;
  border-radius: 50%;
  left: 40%;
  top: -200px;
  z-index: -2;
}
.hero-orbit:before,
.hero-orbit:after {
  content: "";
  position: absolute;
  inset: 100px;
  border: 1px solid #659cff0a;
  border-radius: 50%;
}
.hero-orbit:after {
  inset: 200px;
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding-left: 8%;
  padding-bottom: 30px;
  width: 58%;
  pointer-events: none;
}
.hero-copy a {
  pointer-events: auto;
}
.edition {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #b4c5dd;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
}
.edition-line {
  width: 28px;
  height: 1px;
  background: #679aff;
}
.hero h1 {
  font-size: clamp(64px, 6.7vw, 96px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 850;
  margin: 0 0 25px;
  max-width: 690px;
  text-shadow: 0 3px 40px #06101f40;
}
.title-period {
  color: var(--blue);
}
.hero-description {
  font-size: 14px;
  line-height: 1.95;
  color: #b3c4dd;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 13px 22px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  cursor: pointer;
}
.button:hover {
  background: #172b46;
  color: white;
}
.button-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 6px 18px #0003;
}
.button-primary:hover {
  background: #386ce4;
  color: white;
  transform: translateY(-2px);
}
.button span {
  font-size: 20px;
  font-weight: 400;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  padding: 6px 0;
  color: #c6d5e9;
}
.text-button span {
  font-size: 18px;
}
.host-flags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 45px;
}
.host-flags > span:not(.host-caption) {
  font-size: 16px;
  filter: saturate(0.8);
}
.host-caption {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #879bb9;
}
.hero-scene {
  position: absolute;
  width: 64%;
  height: 100%;
  right: -3%;
  top: 0;
  z-index: 1;
  cursor: grab;
}
.hero-scene:active {
  cursor: grabbing;
}
#stadium-canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}
.hero-scene.ready #stadium-canvas {
  opacity: 1;
}
.year-outline {
  position: absolute;
  left: 9%;
  top: 1%;
  font: 700 clamp(350px, 39vw, 650px)/1 var(--display);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px #639bff18;
  transform: rotate(-8deg);
  user-select: none;
}
.scene-caption {
  position: absolute;
  bottom: 24%;
  left: 50%;
  font-size: 12px;
  color: #9ab9e0;
  white-space: nowrap;
  display: flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 0.04em;
}
.scene-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 12px var(--ice);
}
.ball-fallback {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  left: 33%;
  top: 20%;
  border-radius: 50%;
  border: 1px solid #5c9eff55;
  box-shadow:
    inset -30px -20px 60px #173a6d,
    0 0 100px #1c55ab35;
  background: radial-gradient(
    circle at 35% 25%,
    #a3e0ff60,
    #1e548145 30%,
    #0b1730 70%
  );
  transition: opacity 0.8s;
}
.ball-seam {
  position: absolute;
  inset: 27%;
  background: #14305e;
  clip-path: polygon(50% 0, 98% 37%, 79% 100%, 21% 100%, 2% 37%);
  border: 1px solid #86ccff;
}
.hero-scene.ready .ball-fallback {
  opacity: 0;
}
.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 4.6%;
  right: 4.6%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #889cb9;
  z-index: 4;
}
.hero-bottom p {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.small-dot {
  width: 5px;
  height: 5px;
  background: #6f9fff;
  border-radius: 50%;
}
.hero-bottom > span > span {
  margin-left: 15px;
  color: var(--ice);
}
.tournament-facts {
  margin: 0 4.6%;
  padding: 37px 3.6%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr) 0.9fr;
  align-items: center;
}
.tournament-facts > div {
  display: flex;
  align-items: baseline;
  gap: 13px;
}
.tournament-facts strong {
  font: 700 58px/1 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}
.tournament-facts div span {
  font-size: 12px;
  color: var(--muted);
}
.tournament-facts p {
  text-align: right;
  font: 700 18px/1.4 var(--display);
  color: #899cb9;
  letter-spacing: 0.05em;
  margin: 0;
}
.tournament-facts p span {
  color: var(--blue);
}
.section {
  padding: 100px 8%;
  scroll-margin-top: 15px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 37px;
}
.section-kicker {
  color: #8caef2;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.section h2 {
  font-size: clamp(29px, 3.2vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 750;
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 2px;
}
.replay-section {
  padding-bottom: 85px;
}
.replay-console {
  padding: 30px 33px 22px;
  background: linear-gradient(120deg, #122544, #0b1a2f 65%);
  border: 1px solid #749fe024;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.replay-console:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3269f016, transparent 65%);
  right: -50px;
  top: -280px;
  pointer-events: none;
}
.replay-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.replay-date {
  display: flex;
  align-items: center;
  gap: 19px;
}
.replay-date > span {
  color: var(--muted);
  font-size: 12px;
}
.replay-date strong {
  font: 700 56px/1 var(--display);
  letter-spacing: -1px;
}
.replay-date strong span {
  color: #50678a;
  padding: 0 3px;
}
.replay-date > span:last-child {
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 100px;
  color: var(--ice);
  white-space: nowrap;
}
.playback-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 400 23px/1 system-ui;
  display: inline-grid;
  place-items: center;
}
.play-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #558aff45;
  padding: 9px 15px;
  border-radius: 4px;
  font-size: 12px;
}
.play-button > span:first-child {
  font-size: 12px;
  color: var(--ice);
}
.reset-button {
  margin-left: 10px;
  font-size: 12px;
}
.timeline-wrap {
  margin-top: 32px;
  position: relative;
}
.goal-histogram {
  height: 68px;
  display: grid;
  grid-template-columns: repeat(39, minmax(0, 1fr));
  gap: 5px;
  align-items: end;
}
.hist-bar {
  height: 100%;
  border: 0;
  border-radius: 3px 3px 0 0;
  padding: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
}
.hist-bar:before {
  content: "";
  display: block;
  width: 100%;
  height: var(--bar);
  min-height: 2px;
  background: linear-gradient(0deg, #245de4, #72b8ff);
  border-radius: 2px 2px 0 0;
  transition:
    opacity 0.2s,
    filter 0.2s;
}
.hist-bar.future:before {
  background: #24354e;
}
.hist-bar.selected:before {
  background: linear-gradient(0deg, #b38b37, #f6d889);
}
.hist-bar:hover:before {
  filter: brightness(1.5);
}
.hist-bar:after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(var(--bar) + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  color: white;
  background: #132a47;
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 3;
  pointer-events: none;
}
.hist-bar:hover:after,
.hist-bar:focus-visible:after {
  opacity: 1;
}
#day-range {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    #3c7bff var(--progress, 100%),
    #293b57 var(--progress, 100%)
  );
  border: none;
  border-radius: 0;
  display: block;
  margin: 13px 0 15px;
  cursor: pointer;
}
#day-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ice);
  border: 3px solid #e6faff;
  box-shadow: 0 0 18px #5bc0ff66;
}
#day-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice);
  border: 3px solid #e6faff;
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9cadc6;
}
.timeline-labels button {
  padding: 8px 0;
  font-size: 12px;
}
.timeline-help {
  font-size: 12px;
  color: #8da3c2;
  margin: 6px 0 24px;
}
.replay-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 21px;
  gap: 20px;
}
.replay-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.replay-metric strong {
  font: 700 38px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.replay-metric span {
  font-size: 12px;
  color: var(--muted);
}
.match-heading {
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.match-heading h3 {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}
.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #091527;
  flex-shrink: 0;
}
.segmented button {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 3px;
  color: #9db0cc;
  white-space: nowrap;
}
.segmented button[aria-pressed="true"] {
  background: #223b61;
  color: white;
}
.match-filters {
  margin: 22px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-field {
  position: relative;
  flex: 1;
  max-width: 350px;
  display: flex;
  align-items: center;
}
.search-field svg {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #8ca3c1;
  stroke-width: 1.5;
}
.search-field input {
  width: 100%;
  font-size: 12px;
  padding: 11px 13px 11px 38px;
}
.select-field {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.select-field select {
  font-size: 12px;
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.match-card {
  padding: 19px 19px 16px;
  background: #0b192b;
  border: 1px solid #819cc516;
  border-radius: 5px;
  text-align: left;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s;
  min-width: 0;
}
.match-card:hover {
  background: #11223a;
  border-color: #5898ff55;
  color: var(--white);
}
.match-card.final-card {
  background: linear-gradient(125deg, #172943, #112038);
  border-color: #dfb75d4d;
}
.match-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9fb2cf;
  margin-bottom: 17px;
  gap: 10px;
}
.match-card-top .final-tag {
  color: var(--gold);
}
.match-team {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0;
  min-width: 0;
}
.match-team .flag {
  font-size: 18px;
  width: 26px;
  text-align: center;
}
.match-team .team-name {
  font-size: 12px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-team .score {
  font: 700 25px/1 var(--display);
  width: 19px;
  text-align: center;
}
.match-team.lost {
  color: #8c9db6;
}
.match-team .winner-mark {
  color: var(--gold);
  font-size: 12px;
  margin-right: 3px;
}
.match-card-footer {
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid #839cc513;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8ca0bf;
  gap: 10px;
}
.match-card-footer span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-card-footer span:last-child {
  white-space: nowrap;
}
.match-card .penalty-note {
  font-size: 12px;
  color: #d2bc85;
  margin: 10px 0 0;
}
.match-grid:has(.match-card:only-child) {
  grid-template-columns: minmax(260px, 430px);
}
.loading-note,
.empty-state {
  padding: 34px 20px;
  color: var(--muted);
  font-size: 12px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  grid-column: 1/-1;
  width: 100%;
}
.empty-state p {
  margin: 4px 0;
}
.empty-state strong {
  color: #d8e5f9;
  font-weight: 500;
}
.load-more {
  display: flex;
  margin: 22px auto 0;
  font-size: 12px;
  min-height: 40px;
  padding: 9px 22px;
}
.results-count {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.bracket-section {
  background: linear-gradient(180deg, #0a1729, var(--night));
  border-top: 1px solid #6d92c116;
  border-bottom: 1px solid #6d92c116;
  padding-bottom: 85px;
}
.bracket-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.team-select-label > span {
  color: var(--muted);
}
.team-select-label select {
  min-width: 150px;
}
.round-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}
.round-nav button {
  font-size: 12px;
  color: #a8bbd4;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.round-nav button:hover {
  color: white;
  border-color: #578eff;
}
.bracket-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #385781 #101d31;
  padding: 2px 0 20px;
  position: relative;
}
.bracket-board {
  display: flex;
  gap: 30px;
  min-width: max-content;
  position: relative;
}
.bracket-round {
  width: 205px;
  flex-shrink: 0;
}
.bracket-round > h3 {
  margin: 0 0 17px;
  font-size: 12px;
  font-weight: 500;
  color: #9fb3d1;
  display: flex;
  justify-content: space-between;
}
.bracket-round > h3 span {
  font: 700 16px var(--display);
  color: #546e91;
}
.round-matches {
  height: 1470px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 9px;
  position: relative;
}
.bracket-match {
  width: 100%;
  min-height: 77px;
  padding: 9px 12px 8px;
  border: 1px solid #45618460;
  background: #0c1b30;
  border-radius: 4px;
  text-align: left;
  position: relative;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.bracket-round:not(:last-child) .bracket-match:after {
  content: "";
  width: 31px;
  height: 1px;
  position: absolute;
  left: 100%;
  top: 50%;
  background: #43608170;
  pointer-events: none;
}
.bracket-match.highlight {
  border-color: #76bdff;
  background: #153456;
  box-shadow: none;
}
.bracket-match.dim {
  opacity: 0.4;
}
.bracket-match.final-match {
  border-color: #f2c86b88;
  background: linear-gradient(120deg, #2e2b27, #13213a);
  padding: 19px 14px;
}
.bracket-match[disabled] {
  opacity: 1;
  color: #647c9c;
  background: #09182a;
}
.bracket-match[disabled] .match-team .team-name {
  font-size: 12px;
}
.bracket-match .match-team {
  gap: 7px;
  margin: 3px 0;
}
.bracket-match .match-team .flag {
  font-size: 16px;
  width: 22px;
}
.bracket-match .match-team .team-name {
  font-size: 12px;
}
.bracket-match .match-team .score {
  font-size: 20px;
}
.bracket-match .match-mini-meta {
  font-size: 12px;
  color: #8098b9;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}
.bracket-match .champion-ribbon {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.champion-ribbon svg {
  width: 17px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}
.data-note {
  font-size: 12px;
  line-height: 1.8;
  color: #8b9fbb;
  margin: 16px 0 0;
}
.third-place {
  margin-top: 14px;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.third-place > span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.third-place .bracket-match {
  min-width: 240px;
}
.group-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 3px 0 24px;
}
.group-tabs button {
  width: 44px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 700 20px var(--display);
  color: #9eb6d8;
}
.group-tabs button[aria-pressed="true"] {
  background: #3269e6;
  border-color: #3269e6;
  color: white;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.data-table th {
  font-size: 12px;
  color: #90a8c9;
  font-weight: 400;
  text-align: right;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 16px 13px;
  text-align: right;
  border-bottom: 1px solid #819cc513;
  font-variant-numeric: tabular-nums;
}
.data-table th:first-child,
.data-table td:first-child {
  text-align: left;
}
.data-table td:first-child {
  min-width: 150px;
}
.table-team {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.table-team .flag {
  font-size: 18px;
}
.rank {
  color: #7288a6;
  font: 700 19px var(--display);
  width: 20px;
}
.data-table strong {
  font-weight: 600;
}
.qualification {
  font-size: 12px;
  color: var(--ice);
  display: inline-block;
  margin-left: 10px;
}
.table-scroll {
  overflow-x: auto;
}
.third-table {
  margin-top: 40px;
}
.third-table h3 {
  font-size: 14px;
  font-weight: 500;
}
.table-note {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0;
}
.tied-mark {
  font-size: 12px;
  color: #a0b1c9;
  margin-left: 6px;
}
.team-picker-wrap {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.team-search {
  font-size: 12px;
  padding: 10px 12px;
  width: 150px;
  flex-shrink: 0;
}
.team-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 115px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2d496d transparent;
  padding: 2px 4px 4px 0;
  flex: 1;
}
.team-chip {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  white-space: nowrap;
  color: #a3b7d4;
  transition: background 0.15s;
}
.team-chip .flag {
  font-size: 14px;
}
.team-chip[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--team-color, #7ebaff);
  background: color-mix(in srgb, var(--team-color, #7ebaff) 12%, transparent);
}
.team-chip:hover {
  color: white;
}
.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
  gap: 30px;
  align-items: stretch;
}
.journey-map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 19px 20px 15px;
  background: radial-gradient(ellipse at 45% 45%, #14305c50, transparent 80%);
  min-width: 0;
}
.map-topline {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #98afce;
  gap: 10px;
}
.map-topline span:last-child {
  color: var(--ice);
}
#host-map {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  margin: 4px 0 0;
  aspect-ratio: 900/580;
}
#map-land path {
  fill: #102643;
  stroke: #43699c55;
  stroke-width: 0.8;
}
#map-grid path {
  fill: none;
  stroke: #5b8bc51a;
  stroke-width: 0.5;
}
.map-city {
  cursor: pointer;
}
.map-city circle.city-dot {
  fill: #6b93c7;
  stroke: #112848;
  stroke-width: 3;
}
.map-city.active circle.city-dot {
  fill: var(--gold);
  stroke: #b1955a44;
  stroke-width: 7;
}
.map-city text {
  fill: #87a2c9;
  font-size: 12px;
  paint-order: stroke;
  stroke: #0b182b;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.map-city.active text {
  fill: #f8daa0;
}
.map-city:focus-visible {
  outline: none;
}
.map-city:focus-visible circle {
  stroke: white;
  stroke-width: 8;
}
.route-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  opacity: 0.8;
  stroke-linecap: round;
}
.route-number {
  font-size: 12px;
  fill: var(--gold);
}
.map-legend {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #9bb0cf;
  margin-top: -4px;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6b93c7;
  display: inline-block;
}
.legend-route {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold);
}
.journey-map > .data-note {
  font-size: 12px;
  margin-top: 7px;
}
.venue-detail {
  background: #102744;
  border: 1px solid #5584bc44;
  border-radius: 4px;
  padding: 15px;
  margin-top: 16px;
}
.venue-detail h4 {
  margin: 0 0 4px;
  font-size: 12px;
}
.venue-detail p {
  font-size: 12px;
  margin: 0;
  color: #a6bad6;
}
.venue-detail button {
  font-size: 12px;
  padding: 6px 0;
}
.venue-detail .venue-games {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-top: 8px;
}
.team-profile {
  padding: 24px 2px 10px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.team-profile-header {
  display: flex;
  gap: 15px;
  align-items: center;
}
.profile-flag {
  font-size: 40px;
  line-height: 1;
}
.team-profile h3 {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 0;
}
.team-profile .team-english {
  font-size: 12px;
  color: #8ca4c6;
  margin: 3px 0 0;
}
.profile-status {
  font-size: 12px;
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid #b99e634f;
  color: var(--gold);
  border-radius: 30px;
  white-space: nowrap;
}
.team-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.team-profile-stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-profile-stats strong {
  font: 700 42px/1 var(--display);
}
.team-profile-stats span {
  font-size: 12px;
  color: var(--muted);
}
.form-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 19px;
}
.form-line > span {
  color: #9bb1cd;
  font-size: 12px;
}
.form-results {
  display: flex;
  gap: 5px;
}
.form-result {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  border-radius: 3px;
  background: #275071;
  color: #c0e6ff;
}
.form-result.draw {
  background: #293951;
  color: #aebfd6;
}
.form-result.loss {
  background: #4b2e3a;
  color: #e1a7b8;
}
.profile-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 20px;
  max-width: 300px;
}
.profile-spark {
  margin-top: auto;
  padding-top: 24px;
}
.profile-spark svg {
  width: 100%;
  height: 66px;
}
.profile-spark p {
  font-size: 12px;
  color: #8da6c7;
  margin: 0;
}
.journey-stops {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #365578 transparent;
  padding: 33px 0 14px;
  margin-top: 20px;
}
.journey-stop {
  min-width: 135px;
  flex: 1;
  padding: 25px 16px 12px 0;
  border-top: 1px solid #688bb43a;
  text-align: left;
  position: relative;
}
.journey-stop:before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #6b9eff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #183053;
}
.journey-stop:last-child:before {
  background: var(--gold);
  box-shadow: 0 0 0 5px #2a2a2a;
}
.journey-stop .stop-date {
  font-size: 12px;
  color: #92aaca;
}
.journey-stop strong {
  font-size: 12px;
  display: block;
  margin: 5px 0;
}
.journey-stop .stop-score {
  font: 700 29px/1 var(--display);
  display: block;
  color: #d7e8ff;
  margin: 9px 0;
}
.journey-stop .stop-city {
  font-size: 12px;
  color: #8da5c5;
}
.lab-section {
  padding-top: 80px;
}
.lab-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-top: 8px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.panel-heading h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0;
}
.panel-heading > span {
  color: #8ea6c7;
  font-size: 12px;
}
.scorer-row {
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #829bc513;
  position: relative;
}
.scorer-rank {
  font: 700 22px var(--display);
  color: #677fa3;
  width: 25px;
}
.scorer-row:first-child .scorer-rank {
  color: var(--gold);
}
.scorer-flag {
  font-size: 20px;
  width: 30px;
  flex-shrink: 0;
}
.scorer-info {
  flex: 1;
  min-width: 0;
}
.scorer-name {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scorer-country {
  font-size: 12px;
  color: #8fa7c7;
  margin-top: 2px;
}
.scorer-score {
  font: 700 34px/1 var(--display);
  padding-left: 10px;
}
.scorer-bar {
  position: absolute;
  bottom: 0;
  left: 70px;
  height: 1px;
  width: var(--width);
  max-width: calc(100% - 70px);
  background: linear-gradient(90deg, #5b9bff, transparent);
  opacity: 0.45;
}
.compare-selects {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0 26px;
}
.compare-selects label {
  flex: 1;
  min-width: 0;
}
.compare-selects select {
  width: 100%;
  font-size: 12px;
}
.versus {
  color: #5e7c9f;
  font-size: 20px;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 75px 1fr;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.compare-row > span {
  text-align: center;
  font-size: 12px;
  color: #91a9c9;
  white-space: nowrap;
}
.compare-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare-side strong {
  font: 700 25px/1 var(--display);
}
.compare-side.right {
  text-align: right;
}
.compare-track {
  height: 3px;
  background: #1a2d49;
  display: flex;
  justify-content: flex-end;
}
.compare-side.right .compare-track {
  justify-content: flex-start;
}
.compare-fill {
  height: 100%;
  background: var(--color);
  width: 100%;
  transform: scaleX(var(--scale));
  transform-origin: right;
  transition: transform 0.5s;
}
.compare-side.right .compare-fill {
  transform-origin: left;
}
.scoring-landscape {
  margin-top: 65px;
  border-top: 1px solid #708ebc18;
  padding-top: 25px;
}
.scoring-landscape .panel-heading {
  border-bottom: 0;
  margin-bottom: 4px;
}
.scatter-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(150px, 1fr);
  gap: 25px;
  align-items: center;
}
#team-scatter {
  width: 100%;
  height: auto;
  display: block;
}
.scatter-grid {
  stroke: #6c8ebb22;
  stroke-width: 1;
}
.scatter-tick {
  fill: #7993b7;
  font-size: 12px;
}
.scatter-axis-caption {
  fill: #94afd4;
  font-size: 12px;
}
.scatter-dot {
  cursor: pointer;
  stroke: #06101f;
  stroke-width: 2;
  opacity: 0.85;
  transition: r 0.15s;
}
.scatter-dot.active {
  stroke: white;
  stroke-width: 2;
  opacity: 1;
}
.scatter-dot:focus-visible {
  outline: none;
  stroke: white;
  stroke-width: 4;
}
.scatter-label {
  font-size: 12px;
  fill: #c4d9f7;
  paint-order: stroke;
  stroke: #06101f;
  stroke-width: 3px;
  pointer-events: none;
}
.scatter-detail {
  border-left: 1px solid var(--line);
  padding-left: 25px;
  min-height: 160px;
}
.scatter-detail .scatter-team-flag {
  font-size: 28px;
}
.scatter-detail h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 5px 0 14px;
}
.scatter-detail p {
  font-size: 12px;
  color: #bdcee5;
  margin: 8px 0;
}
.scatter-detail strong {
  font: 700 28px var(--display);
  margin-right: 6px;
}
.scatter-detail span {
  font-size: 12px;
  color: #8da6c9;
  line-height: 1.9;
}
.scatter-select {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.scatter-select select {
  font-size: 12px;
  min-width: 155px;
}
.closing {
  padding: 100px 8% 95px;
  position: relative;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at bottom, #152f5d55, transparent 65%);
  isolation: isolate;
}
.closing-mark {
  position: absolute;
  font: 700 400px/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1px #5179b21c;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  z-index: -1;
  letter-spacing: -0.03em;
}
.closing p {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 650;
  letter-spacing: -0.04em;
  margin: 0 0 27px;
}
.closing .button {
  background: #11264070;
}
.site-footer {
  padding: 28px 4.6%;
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #8095b6;
}
.site-footer > a {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: #cbd9ed;
  font-weight: 600;
}
.site-footer p {
  flex: 1;
  margin: 0;
}
.site-footer > div {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-footer .text-button {
  font-size: 12px;
  color: #99aeca;
}
.toast {
  position: fixed;
  z-index: 110;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #254674;
  color: white;
  border: 1px solid #6497dc55;
  padding: 12px 25px;
  box-shadow: 0 10px 40px #0008;
  border-radius: 6px;
  font-size: 12px;
  max-width: 90vw;
}
.data-error {
  position: fixed;
  z-index: 100;
  inset: 20vh 10vw auto;
  padding: 40px;
  background: #10223c;
  border: 1px solid #5e84b5;
  border-radius: 8px;
  box-shadow: 0 20px 80px #0009;
}
.data-error h2 {
  font-size: 20px;
}
.data-error p {
  color: var(--muted);
}
dialog {
  color: var(--white);
  background: #0b192d;
  border: 1px solid #536f9855;
  border-radius: 10px;
  padding: 45px;
  max-width: calc(100vw - 30px);
  max-height: 90svh;
  overflow: auto;
  box-shadow: 0 30px 150px #0009;
}
dialog::backdrop {
  background: #020814c9;
  backdrop-filter: blur(10px);
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  font-size: 24px;
  color: #a6bddc;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
}
.match-dialog {
  width: 700px;
}
.detail-heading {
  text-align: center;
  margin: 0 0 30px;
}
.detail-heading p {
  font-size: 12px;
  color: #a0b5d1;
  margin: 5px 0;
}
.detail-heading h2 {
  font-size: 14px;
  font-weight: 500;
  color: #b6c8e2;
  margin: 0 0 9px;
}
.detail-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding: 0 0 29px;
  text-align: center;
}
.detail-team .flag {
  font-size: 40px;
}
.detail-team h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 0;
}
.detail-score {
  font: 700 76px/1 var(--display);
  letter-spacing: 2px;
  white-space: nowrap;
}
.detail-score small {
  display: block;
  font: 400 10px var(--body);
  letter-spacing: 0;
  color: #cbb781;
  margin-top: 12px;
}
.detail-events {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.detail-events h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 20px;
  color: #b4c9e6;
}
.goal-event {
  display: grid;
  grid-template-columns: 48px 25px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #7897bf15;
}
.goal-minute {
  font: 700 21px var(--display);
  color: var(--ice);
}
.goal-event .goal-player {
  font-size: 12px;
}
.goal-event .goal-score {
  font: 700 20px var(--display);
  color: #d4e3fa;
}
.goal-event small {
  font-size: 12px;
  color: #99aac4;
  display: block;
  margin-top: 3px;
}
.detail-outcome {
  margin: 20px 0 0;
  font-size: 12px;
  color: var(--gold);
}
.detail-footer {
  font-size: 12px;
  color: #8da5c5;
  margin: 20px 0 0;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.detail-footer button {
  color: var(--ice);
  font-size: 12px;
  padding: 0;
}
.detail-timeline {
  position: relative;
  height: 50px;
  margin: 20px 0 10px;
}
.detail-timeline:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 25px;
  height: 1px;
  background: #47688e;
}
.detail-timeline span {
  position: absolute;
  left: var(--x);
  top: 18px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--color);
}
.detail-timeline .detail-end {
  left: auto;
  right: 0;
  top: 34px;
  border: 0;
  background: none;
  width: auto;
  height: auto;
  font-size: 12px;
  transform: none;
  color: #7e96b8;
}
.sources-dialog {
  width: 660px;
  font-size: 12px;
  line-height: 1.9;
}
.sources-dialog h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 0 0 25px;
}
.sources-dialog h3 {
  font-size: 14px;
  font-weight: 500;
  margin-top: 28px;
}
.sources-dialog p,
.sources-dialog li {
  color: #a6bad6;
}
.sources-dialog a {
  color: #8ac8ff;
  text-decoration: underline;
  text-decoration-color: #8ac8ff55;
  text-underline-offset: 3px;
}
.sources-dialog ul {
  padding-left: 18px;
}
.no-js {
  padding: 40px 8%;
  font-size: 14px;
}
.no-js a {
  text-decoration: underline;
}
@media (min-width: 1500px) {
  .section {
    padding-left: max(8%, calc((100vw - 1330px) / 2));
    padding-right: max(8%, calc((100vw - 1330px) / 2));
  }
  .hero-copy {
    padding-left: max(8%, calc((100vw - 1330px) / 2));
  }
  .hero {
    height: 780px;
  }
  .hero-scene {
    right: 0;
    width: 62%;
  }
}
@media (max-width: 1100px) {
  .masthead {
    padding: 0 4%;
    gap: 12px;
  }
  .masthead nav {
    gap: 18px;
  }
  .brand strong {
    display: none;
  }
  .brand-divider {
    display: none;
  }
  .hero-copy {
    padding-left: 6%;
    width: 60%;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-scene {
    right: -8%;
    width: 70%;
  }
  .section {
    padding-left: 6%;
    padding-right: 6%;
  }
  .tournament-facts {
    padding-left: 2%;
    padding-right: 2%;
  }
  .tournament-facts strong {
    font-size: 48px;
  }
  .tournament-facts > div {
    gap: 10px;
  }
  .journey-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  }
  .lab-layout {
    gap: 35px;
  }
  .team-profile h3 {
    font-size: 24px;
  }
  .profile-status {
    font-size: 12px;
    padding: 4px 8px;
  }
  .team-profile-header {
    gap: 10px;
  }
  .profile-flag {
    font-size: 32px;
  }
  .site-footer {
    gap: 20px;
  }
  .site-footer > div {
    gap: 18px;
  }
  .scene-caption {
    bottom: 23%;
    left: 48%;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }
  .masthead {
    height: 65px;
    padding: 0 5%;
  }
  .brand > span {
    font-size: 16px;
  }
  .brand > svg {
    width: 23px;
    height: 25px;
  }
  .masthead nav {
    display: none;
  }
  .motion-toggle {
    font-size: 12px;
  }
  .hero {
    min-height: 820px;
    height: auto;
    align-items: flex-start;
  }
  .hero-copy {
    width: 100%;
    padding: 49px 7% 0;
    pointer-events: none;
  }
  .edition {
    font-size: 12px;
    margin-bottom: 23px;
  }
  .hero h1 {
    font-size: 64px;
    line-height: 1.19;
    letter-spacing: -2.5px;
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 23px;
  }
  .hero-actions {
    gap: 23px;
  }
  .hero .button {
    min-height: 43px;
    padding: 11px 17px;
    gap: 20px;
    font-size: 12px;
  }
  .hero .text-button {
    font-size: 12px;
  }
  .host-flags {
    margin-top: 22px;
    gap: 7px;
  }
  .host-flags > span:not(.host-caption) {
    font-size: 14px;
  }
  .host-caption {
    font-size: 12px;
    margin-left: 6px;
  }
  .hero-scene {
    width: 115%;
    right: -17%;
    height: 500px;
    top: 350px;
    z-index: -1;
    pointer-events: none;
  }
  .year-outline {
    font-size: 96px;
    top: -8%;
    left: 5%;
  }
  .ball-fallback {
    top: 20%;
    left: 34%;
    width: 37%;
  }
  .scene-caption {
    bottom: 19%;
    left: 39%;
    font-size: 12px;
  }
  .hero-bottom {
    bottom: 18px;
    left: 7%;
    right: 7%;
    font-size: 12px;
  }
  .hero-bottom p {
    gap: 6px;
  }
  .hero-orbit {
    top: 190px;
    left: 0;
    width: 700px;
    height: 700px;
  }
  .tournament-facts {
    margin: 0 6%;
    padding: 26px 0;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .tournament-facts > div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }
  .tournament-facts strong {
    font-size: 40px;
  }
  .tournament-facts div span {
    font-size: 12px;
  }
  .tournament-facts > p {
    display: none;
  }
  .section {
    padding: 65px 6%;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section h2 {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -1.3px;
  }
  .section-kicker {
    font-size: 12px;
    margin-bottom: 9px;
  }
  .section-heading > p {
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.8;
  }
  .section-heading > p br {
    display: none;
  }
  .replay-console {
    padding: 21px 17px 19px;
    border-radius: 5px;
  }
  .replay-toolbar {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
  }
  .replay-date {
    gap: 13px;
  }
  .replay-date > span {
    font-size: 12px;
  }
  .replay-date strong {
    font-size: 48px;
  }
  .replay-date > span:last-child {
    font-size: 12px;
    padding: 3px 8px;
  }
  .playback-controls {
    gap: 7px;
    width: 100%;
    margin-top: 2px;
  }
  .play-button {
    font-size: 12px;
    padding: 7px 12px;
  }
  .icon-button {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .reset-button {
    margin-left: auto;
    font-size: 12px;
  }
  .timeline-wrap {
    margin-top: 20px;
  }
  .goal-histogram {
    height: 55px;
    gap: 3px;
  }
  .timeline-labels button {
    font-size: 12px;
    letter-spacing: -0.15px;
  }
  .timeline-labels button:nth-child(2) {
    max-width: 90px;
  }
  .timeline-help {
    font-size: 12px;
    margin: 7px 0 18px;
    line-height: 1.7;
  }
  .replay-metrics {
    gap: 12px;
    padding-top: 18px;
  }
  .replay-metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .replay-metric strong {
    font-size: 32px;
  }
  .replay-metric span {
    font-size: 12px;
    white-space: nowrap;
  }
  .match-heading {
    margin-top: 28px;
    gap: 12px;
  }
  .match-heading h3 {
    font-size: 12px;
  }
  .segmented button {
    font-size: 12px;
    padding: 5px 10px;
  }
  .match-filters {
    margin: 18px 0 15px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .search-field {
    max-width: none;
    flex-basis: 100%;
    flex-grow: 1;
  }
  .search-field input {
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .select-field select {
    font-size: 12px;
    padding: 9px 28px 9px 10px;
  }
  .match-filters > .select-field {
    flex: 1;
  }
  .match-filters > .select-field select {
    width: 100%;
  }
  .match-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .match-card {
    padding: 14px 12px;
  }
  .match-card-top {
    font-size: 12px;
    gap: 4px;
    margin-bottom: 12px;
  }
  .match-team {
    gap: 6px;
    margin: 5px 0;
  }
  .match-team .flag {
    width: 21px;
    font-size: 16px;
  }
  .match-team .team-name {
    font-size: 12px;
  }
  .match-team .score {
    font-size: 24px;
    width: 15px;
  }
  .match-card-footer {
    font-size: 12px;
    gap: 5px;
    margin-top: 13px;
    padding-top: 10px;
    flex-wrap: wrap;
  }
  .match-card .penalty-note {
    font-size: 12px;
    margin-top: 6px;
  }
  .match-card .winner-mark {
    display: none;
  }
  .match-grid:has(.match-card:only-child) {
    grid-template-columns: 1fr;
  }
  .match-card:only-child {
    padding: 19px 22px;
  }
  .match-card:only-child .match-team .team-name {
    font-size: 12px;
  }
  .match-card:only-child .match-team .score {
    font-size: 28px;
  }
  .match-card:only-child .match-team .flag {
    font-size: 20px;
    width: 30px;
  }
  .match-card:only-child .match-card-top {
    font-size: 12px;
  }
  .match-card:only-child .match-card-footer {
    font-size: 12px;
  }
  .results-count {
    font-size: 12px;
  }
  .bracket-toolbar {
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
  }
  .team-select-label {
    gap: 8px;
  }
  .team-select-label > span {
    display: none;
  }
  .team-select-label select {
    min-width: 135px;
    font-size: 12px;
  }
  .round-nav {
    gap: 5px;
    margin-bottom: 16px;
  }
  .round-nav button {
    font-size: 12px;
    padding: 5px 11px;
  }
  .bracket-round {
    width: 177px;
  }
  .bracket-board {
    gap: 23px;
  }
  .bracket-round:not(:last-child) .bracket-match:after {
    width: 24px;
  }
  .bracket-round > h3 {
    font-size: 12px;
  }
  .round-matches {
    height: 1400px;
  }
  .bracket-match {
    padding: 8px 9px;
    min-height: 75px;
  }
  .bracket-match .match-team .team-name {
    font-size: 12px;
  }
  .data-note {
    font-size: 12px;
    line-height: 1.8;
  }
  .third-place {
    gap: 15px;
  }
  .third-place .bracket-match {
    min-width: 0;
  }
  .third-place > span {
    font-size: 12px;
  }
  .group-tabs {
    gap: 7px;
    margin-bottom: 15px;
  }
  .group-tabs button {
    width: 39px;
    height: 34px;
    font-size: 18px;
  }
  .data-table {
    font-size: 12px;
  }
  .data-table th {
    padding: 10px 7px;
    font-size: 12px;
  }
  .data-table td {
    padding: 13px 7px;
  }
  .data-table td:first-child {
    min-width: 125px;
  }
  .table-team {
    gap: 8px;
  }
  .table-team .flag {
    font-size: 14px;
  }
  .rank {
    font-size: 16px;
    width: 12px;
  }
  .qualification {
    font-size: 12px;
    margin-left: 4px;
  }
  .table-note {
    font-size: 12px;
  }
  .team-picker-wrap {
    display: block;
    margin-bottom: 23px;
  }
  .team-search {
    width: 100%;
    margin-bottom: 14px;
    padding: 10px 13px;
  }
  .team-picker {
    max-height: 121px;
    gap: 6px;
  }
  .team-chip {
    font-size: 12px;
    padding: 6px 9px;
  }
  .team-chip .flag {
    font-size: 14px;
  }
  .journey-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .journey-map {
    padding: 15px 13px 12px;
  }
  .map-topline {
    font-size: 12px;
  }
  .map-legend {
    font-size: 12px;
    gap: 15px;
  }
  .journey-map > .data-note {
    font-size: 12px;
  }
  .team-profile {
    padding: 22px 4px 10px;
  }
  .team-profile-header {
    gap: 13px;
  }
  .profile-flag {
    font-size: 40px;
  }
  .team-profile h3 {
    font-size: 28px;
  }
  .profile-status {
    font-size: 12px;
    padding: 4px 10px;
  }
  .team-profile-stats {
    margin-top: 24px;
    padding-bottom: 20px;
  }
  .team-profile-stats strong {
    font-size: 40px;
  }
  .team-profile-stats span {
    font-size: 12px;
  }
  .form-line {
    margin-top: 16px;
  }
  .profile-caption {
    font-size: 12px;
    max-width: none;
    margin: 15px 0 0;
  }
  .profile-spark {
    padding-top: 16px;
  }
  .profile-spark svg {
    height: 54px;
  }
  .journey-stops {
    padding-top: 23px;
    margin-top: 7px;
  }
  .journey-stop {
    min-width: 130px;
    padding-top: 22px;
  }
  .journey-stop strong {
    font-size: 12px;
  }
  .journey-stop .stop-score {
    font-size: 28px;
  }
  .lab-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .panel-heading {
    padding-bottom: 17px;
  }
  .panel-heading h3 {
    font-size: 16px;
  }
  .panel-heading > span {
    font-size: 12px;
  }
  .scorer-row {
    padding: 13px 0;
  }
  .scorer-name {
    font-size: 12px;
  }
  .scorer-score {
    font-size: 32px;
  }
  .compare-selects {
    padding-top: 10px;
  }
  .compare-selects select {
    font-size: 12px;
    padding-left: 11px;
  }
  .compare-row {
    margin-bottom: 23px;
  }
  .scoring-landscape {
    margin-top: 43px;
    padding-top: 23px;
  }
  .scoring-landscape .panel-heading {
    display: block;
  }
  .scoring-landscape .panel-heading > span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
  }
  .scatter-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .scatter-detail {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 15px 0 0;
    min-height: 0;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
  }
  .scatter-detail h4 {
    font-size: 16px;
    margin: 0;
  }
  .scatter-detail p {
    font-size: 12px;
    margin: 0;
  }
  .scatter-detail strong {
    font-size: 24px;
  }
  .scatter-detail span {
    font-size: 12px;
  }
  .scatter-detail .scatter-team-flag {
    font-size: 20px;
  }
  .scatter-select {
    justify-content: flex-start;
    margin-top: 18px;
    font-size: 12px;
  }
  .scatter-select select {
    font-size: 12px;
  }
  .closing {
    padding: 73px 6% 70px;
  }
  .closing p {
    font-size: 24px;
  }
  .closing-mark {
    font-size: 96px;
    top: -24px;
  }
  .closing .button {
    font-size: 12px;
    min-height: 43px;
  }
  .site-footer {
    padding: 25px 6%;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .site-footer > a {
    font-size: 16px;
  }
  .site-footer p {
    font-size: 12px;
    flex-basis: calc(100% - 110px);
  }
  .site-footer > div {
    width: 100%;
    gap: 22px;
    margin-top: 9px;
    font-size: 12px;
  }
  .site-footer .text-button {
    font-size: 12px;
  }
  dialog {
    padding: 48px 22px 26px;
    max-width: calc(100vw - 24px);
  }
  .detail-scoreboard {
    gap: 15px;
  }
  .detail-score {
    font-size: 56px;
    letter-spacing: 1px;
  }
  .detail-team .flag {
    font-size: 28px;
  }
  .detail-team h3 {
    font-size: 12px;
  }
  .detail-heading {
    margin-bottom: 25px;
  }
  .detail-heading h2 {
    font-size: 12px;
  }
  .detail-heading p {
    font-size: 12px;
  }
  .goal-event {
    grid-template-columns: 40px 22px 1fr auto;
    gap: 7px;
  }
  .goal-event .goal-player {
    font-size: 12px;
  }
  .goal-event small {
    font-size: 12px;
  }
  .goal-minute {
    font-size: 18px;
  }
  .detail-footer {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .sources-dialog {
    font-size: 12px;
    line-height: 1.95;
  }
  .sources-dialog h2 {
    font-size: 24px;
  }
  .sources-dialog h3 {
    font-size: 12px;
  }
  .data-error {
    inset: 15vh 6vw auto;
    padding: 25px;
  }
  .data-error h2 {
    font-size: 18px;
  }
  .data-error p {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 56px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero .button {
    font-size: 12px;
    padding: 11px 14px;
  }
  .hero-copy {
    padding-top: 43px;
  }
  .hero-scene {
    top: 340px;
  }
  .tournament-facts strong {
    font-size: 40px;
  }
  .match-grid {
    grid-template-columns: 1fr;
  }
  .match-card {
    padding: 16px;
  }
  .replay-date {
    gap: 11px;
  }
  .replay-date strong {
    font-size: 40px;
  }
  .timeline-labels button {
    font-size: 12px;
  }
  .bracket-toolbar {
    gap: 8px;
  }
  .segmented button {
    padding: 5px 9px;
  }
  .profile-status {
    font-size: 12px;
  }
  .team-profile-header {
    gap: 10px;
  }
  .closing p {
    font-size: 24px;
  }
}
html[data-motion="light"] {
  scroll-behavior: auto;
}
html[data-motion="light"] *,
html[data-motion="light"] *:before,
html[data-motion="light"] *:after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Readability and touch targets belong to the World Cup surface. */
input {
  caret-color: var(--ice);
}
.mobile-nav {
  display: none;
}
.map-city text {
  font-size: 16px;
}
.map-city:not(.active) text {
  opacity: 0.65;
}
.map-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.map-city-list button {
  font-size: 12px;
  color: #9eb4d1;
  min-height: 32px;
  padding: 4px 0;
}
.map-city-list button.active {
  color: var(--gold);
}
.icon-button {
  min-width: 40px;
  min-height: 40px;
}
.motion-toggle {
  min-height: 44px;
}
.play-button {
  min-height: 40px;
}
.round-nav button,
.team-chip {
  min-height: 36px;
}
.text-button,
.site-footer a {
  min-height: 32px;
}
.match-card-top,
.match-card-footer,
.match-card .penalty-note,
.data-note,
.timeline-help,
.panel-heading > span,
.team-english,
.profile-caption,
.profile-spark p,
.scorer-country,
.map-topline,
.map-legend,
.venue-detail p,
.journey-stop .stop-date,
.journey-stop .stop-city,
.results-count,
.table-note {
  font-size: 12px;
}
.bracket-match .match-mini-meta {
  font-size: 12px;
}
.match-card-top {
  flex-wrap: wrap;
}
.match-card-footer {
  flex-wrap: wrap;
}
.hist-bar:after {
  font-size: 12px;
}
#day-range {
  height: 24px;
  background-size: 100% 2px;
  background-position: center;
  background-repeat: no-repeat;
  margin: 4px 0 6px;
}
.timeline-labels button {
  font-size: 12px;
  min-height: 34px;
}
.scorer-row {
  min-height: 66px;
}
.scorer-country {
  line-height: 1.7;
}
.scene-caption,
.host-caption,
.hero-bottom {
  font-size: 12px;
}
.bracket-match .champion-ribbon {
  font-size: 12px;
}
.detail-footer,
.detail-footer button,
.detail-heading p,
.detail-heading h2,
.goal-event small,
.detail-score small {
  font-size: 12px;
}
.profile-caption {
  max-width: 40ch;
}
.section-heading > p {
  max-width: 42ch;
}
.sources-dialog p {
  max-width: 68ch;
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 115px;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: sticky;
    top: 65px;
    z-index: 29;
    padding: 0 3%;
    height: 44px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #09172a;
  }
  .mobile-nav a {
    font-size: 12px;
    text-align: center;
    padding: 12px 0;
  }
  .hero {
    min-height: 820px;
  }
  .hero h1 {
    letter-spacing: -2.5px;
  }
  .hero-copy .edition {
    font-size: 12px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero .button,
  .hero .text-button {
    font-size: 12px;
  }
  .hero-actions {
    gap: 20px;
  }
  .host-caption {
    font-size: 12px;
  }
  .scene-caption {
    font-size: 12px;
    left: 34%;
  }
  .hero-bottom {
    font-size: 12px;
  }
  .section-heading > p {
    font-size: 12px;
  }
  .team-chip {
    font-size: 12px;
    min-height: 40px;
  }
  .team-chip .flag {
    font-size: 16px;
  }
  .group-tabs button {
    width: 40px;
    min-height: 40px;
  }
  .round-nav button {
    font-size: 12px;
    min-height: 40px;
    padding: 6px 12px;
  }
  .segmented button {
    font-size: 12px;
    min-height: 34px;
    padding: 5px 10px;
  }
  .select-field select,
  .search-field input,
  .team-search,
  .compare-selects select,
  .scatter-select select {
    font-size: 16px;
    min-height: 44px;
  }
  .select-field select {
    padding-left: 10px;
    padding-right: 24px;
  }
  .team-select-label select {
    min-width: 140px;
    max-width: 170px;
  }
  .map-city:not(.active) text {
    display: none;
  }
  .map-city.active text {
    font-size: 24px;
  }
  .map-city-list {
    gap: 4px 16px;
  }
  .map-city-list button {
    font-size: 12px;
    min-height: 36px;
  }
  .map-topline {
    font-size: 12px;
  }
  .match-team .team-name,
  .bracket-match .match-team .team-name {
    font-size: 12px;
  }
  .match-team .flag {
    font-size: 18px;
  }
  .match-card {
    padding: 14px;
  }
  .data-table {
    font-size: 12px;
  }
  .data-table th {
    font-size: 12px;
  }
  .data-table td:first-child {
    min-width: 155px;
  }
  .data-table th,
  .data-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
  .qualification,
  .tied-mark {
    font-size: 12px;
  }
  .bracket-toolbar {
    align-items: stretch;
  }
  .bracket-toolbar .segmented button {
    font-size: 12px;
    padding: 5px 9px;
  }
  .bracket-round {
    width: 195px;
  }
  .bracket-match {
    min-height: 82px;
  }
  .round-matches {
    height: 1510px;
  }
  .bracket-round > h3 {
    font-size: 12px;
  }
  .scorer-name {
    font-size: 14px;
  }
  .compare-row > span {
    font-size: 12px;
  }
  .panel-heading > span {
    font-size: 12px;
  }
  .scatter-tick {
    font-size: 25px;
  }
  .scatter-axis-caption {
    font-size: 27px;
  }
  .scatter-label {
    font-size: 26px;
  }
  .scatter-detail span,
  .scatter-detail p {
    font-size: 12px;
  }
  .scatter-select {
    font-size: 12px;
  }
  .team-profile .team-english,
  .profile-status,
  .form-line > span,
  .team-profile-stats span {
    font-size: 12px;
  }
  .journey-stop strong {
    font-size: 13px;
  }
  .detail-team h3 {
    font-size: 16px;
  }
  .goal-event .goal-player {
    font-size: 13px;
  }
  .detail-events h3 {
    font-size: 14px;
  }
  .sources-dialog {
    font-size: 14px;
  }
  .sources-dialog h3 {
    font-size: 16px;
  }
  .site-footer p,
  .site-footer > div,
  .site-footer .text-button {
    font-size: 12px;
  }
  .closing .button {
    font-size: 13px;
  }
}

.hero-grid {
  display: none;
}
.skip-link:hover {
  color: #06101f;
}
#host-map {
  overflow: hidden;
}
dialog {
  border: 0;
}
.toast {
  border: 0;
}
.data-error {
  border: 0;
}
@media (max-width: 760px) {
  .scatter-detail {
    padding-left: 12px;
  }
}

.bracket-round{position:relative;z-index:1}.bracket-connectors{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}.bracket-connectors path{fill:none;stroke:#436081;stroke-width:1;opacity:.65}.bracket-connectors path.selected{stroke:var(--gold);stroke-width:1.7;opacity:1}.round-matches{gap:0}.bracket-round:not(:last-child) .bracket-match:after{display:none}.team-picker{max-height:none}@media(max-width:760px){.team-picker{max-height:138px}}

.scatter-tick,.scatter-axis-caption{font-size:16px}.scatter-label{font-size:14px}@media(max-width:760px){.scatter-tick{font-size:34px}.scatter-axis-caption,.scatter-label{font-size:36px}}
