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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: #020B09;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #071A15;
  background-image:
    radial-gradient(circle at 92% 8%, rgba(255, 179, 71, 0.13) 0, transparent 24rem),
    radial-gradient(circle at 64% 86%, rgba(79, 240, 208, 0.09) 0, transparent 34rem),
    linear-gradient(rgba(168, 245, 228, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 245, 228, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: #F3EFE4;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: #4FF0D0;
  color: #071A15;
}

::selection {
  background: #4FF0D0;
  color: #071A15;
}

:root {
  --bg: #071A15;
  --panel: #123328;
  --panel-deep: #0C271F;
  --nav-green: #1B4A3A;
  --cyan: #4FF0D0;
  --mist: #A8F5E4;
  --amber: #FFB347;
  --clay: #C96A3D;
  --paper: #F3EFE4;
  --stone: #8FA39B;
  --graphite: #020B09;
  --line: rgba(168, 245, 228, 0.16);
  --line-strong: rgba(168, 245, 228, 0.3);
  --rail-w: 232px;
  --container: 1440px;
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-editorial: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-organic: 4px 24px 4px 24px;
  --shadow-panel: 0 18px 50px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 0.8, 0.25, 1);
}

[hidden] {
  display: none !important;
}

main {
  display: block;
}

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

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

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin-block: 1em;
  padding-left: 1.25em;
}

button {
  font: inherit;
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 900;
}

h2 {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
}

h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  background: var(--graphite);
  color: var(--paper);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  height: 100vh;
  height: 100dvh;
  padding: 22px 18px 18px;
  overflow-y: auto;
  border-right: 1px solid var(--line-strong);
  background:
    linear-gradient(165deg, rgba(27, 74, 58, 0.98) 0%, rgba(12, 39, 31, 0.99) 48%, rgba(7, 26, 21, 0.99) 100%);
  box-shadow: 16px 0 44px rgba(0, 0, 0, 0.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 240, 208, 0.35) transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  top: -76px;
  right: -104px;
  width: 220px;
  height: 220px;
  background: rgba(201, 106, 61, 0.2);
  transform: rotate(36deg);
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: 96px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(79, 240, 208, 0.18);
  background: rgba(79, 240, 208, 0.035);
  transform: rotate(22deg);
  pointer-events: none;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 1px solid rgba(168, 245, 228, 0.34);
  background: linear-gradient(140deg, rgba(79, 240, 208, 0.16), rgba(201, 106, 61, 0.12));
  box-shadow: 4px 4px 0 rgba(201, 106, 61, 0.24);
  transform: skew(-9deg);
}

.brand-mark i {
  display: block;
  background: var(--cyan);
  border-radius: 1px;
}

.brand-mark i:nth-child(2) {
  background: var(--amber);
}

.brand-mark i:nth-child(3) {
  background: var(--mist);
  opacity: 0.56;
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  line-height: 1;
}

.brand-copy strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 26, 21, 0.58);
  color: var(--paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-toggle__label {
  line-height: 1;
}

.nav-toggle__glyph {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__glyph span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transform-origin: center;
  transition: transform 220ms var(--ease), opacity 160ms var(--ease);
}

.header-utility {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}

.header-utility p {
  grid-column: 2;
  margin: 0;
  color: var(--stone);
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.live-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(79, 240, 208, 0.34);
  animation: pip-pulse 2.4s ease-in-out infinite;
}

.version-chip {
  grid-column: 2;
  justify-self: start;
  padding: 4px 8px;
  border: 1px solid rgba(79, 240, 208, 0.28);
  border-radius: 999px;
  background: rgba(79, 240, 208, 0.08);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

@keyframes pip-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 240, 208, 0.34); }
  50% { box-shadow: 0 0 0 6px rgba(79, 240, 208, 0); }
}

.league-switcher {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(168, 245, 228, 0.24);
  border-radius: var(--radius-organic);
  background: linear-gradient(135deg, rgba(27, 74, 58, 0.94), rgba(18, 51, 40, 0.72));
}

.league-switcher::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 96px;
  height: 96px;
  background: rgba(201, 106, 61, 0.22);
  transform: rotate(36deg);
  pointer-events: none;
}

.league-switcher > * {
  position: relative;
  z-index: 1;
}

.league-switcher__eyebrow {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.league-switcher__value {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.league-switcher__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.league-switcher__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 179, 71, 0.7);
}

.primary-nav {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  visibility: visible;
}

.nav-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nav-index;
}

.nav-list li {
  counter-increment: nav-index;
}

.primary-nav a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 0 10px 10px 0;
  color: var(--stone);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.primary-nav a::before {
  content: counter(nav-index, decimal-leading-zero);
  color: rgba(168, 245, 228, 0.46);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.primary-nav a:hover {
  background: rgba(79, 240, 208, 0.07);
  color: var(--paper);
}

.primary-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(79, 240, 208, 0.16), rgba(79, 240, 208, 0.035));
  color: var(--paper);
  box-shadow: inset 2px 0 0 var(--cyan);
}

.primary-nav a[aria-current="page"]::before {
  color: var(--amber);
}

.nav-footnote {
  margin: 18px 0 0;
  color: rgba(143, 163, 155, 0.78);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.header-coordinate {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(143, 163, 155, 0.62);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 24px;
  }

  body {
    padding-left: var(--rail-w);
  }
}

@media (max-width: 1023px) {
  body {
    padding-left: 0;
  }

  .site-header {
    position: sticky;
    inset: auto;
    top: 0;
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(12, 39, 31, 0.98), rgba(7, 26, 21, 0.98));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }

  .site-header::before,
  .site-header::after {
    display: none;
  }

  .header-top {
    min-height: 64px;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-utility,
  .league-switcher,
  .nav-footnote,
  .header-coordinate {
    display: none;
  }

  .primary-nav {
    max-height: 0;
    margin-top: 0;
    padding: 0 18px;
    overflow: hidden;
    border-top: 1px solid transparent;
    visibility: hidden;
    opacity: 0;
    transition: max-height 320ms var(--ease), opacity 180ms var(--ease), padding 260ms var(--ease), visibility 260ms var(--ease), border-color 180ms var(--ease);
  }

  .site-header[data-open="true"] .primary-nav {
    max-height: calc(100svh - 64px);
    padding-bottom: 16px;
    overflow-y: auto;
    border-top-color: var(--line);
    visibility: visible;
    opacity: 1;
  }

  .nav-list {
    gap: 0;
  }

  .primary-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(168, 245, 228, 0.08);
    border-radius: 0;
    font-size: 15px;
  }

  .primary-nav a[aria-current="page"] {
    border-radius: 0 12px 12px 0;
  }

  .site-header[data-open="true"] .nav-toggle__glyph span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header[data-open="true"] .nav-toggle__glyph span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.35);
  }

  .site-header[data-open="true"] .nav-toggle__glyph span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}

.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 112px);
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(18, 51, 40, 0.54), rgba(2, 11, 9, 0.97) 72%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(79, 240, 208, 0));
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -90px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 179, 71, 0.14);
  background: rgba(201, 106, 61, 0.08);
  transform: rotate(32deg);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) repeat(2, minmax(120px, 0.55fr)) minmax(260px, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  width: min(calc(100% - clamp(32px, 6vw, 80px)), var(--container));
  margin-inline: auto;
  padding: clamp(48px, 6vw, 76px) 0 clamp(32px, 4vw, 52px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand__mark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-brand__mark span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.footer-brand p {
  max-width: 32ch;
  margin: 0;
  color: var(--stone);
  font-size: 14px;
  line-height: 1.8;
}

.footer-coordinate {
  display: inline-block;
  padding-top: 2px;
  border-bottom: 1px solid rgba(255, 179, 71, 0.42);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.8;
}

.footer-column {
  min-width: 0;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  display: inline-block;
  color: var(--stone);
  font-size: 14px;
  line-height: 1.5;
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}

.footer-links a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-column--contact {
  padding-left: clamp(0px, 2vw, 24px);
  border-left: 1px solid var(--line);
}

.footer-contact {
  display: grid;
  gap: 11px;
}

.footer-contact li {
  display: grid;
  gap: 2px;
}

.footer-contact__label {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.footer-contact__value {
  color: var(--paper);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  border-bottom: 1px solid rgba(79, 240, 208, 0.4);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.footer-contact-link span {
  color: var(--amber);
}

.footer-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.75fr);
  gap: 12px 28px;
  align-items: start;
  padding: 17px clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: rgba(2, 11, 9, 0.54);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  color: rgba(143, 163, 155, 0.82);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.65;
}

.footer-note {
  margin: 0;
  color: rgba(143, 163, 155, 0.76);
  font-size: 10.5px;
  line-height: 1.7;
  text-align: right;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(240px, 1.15fr) repeat(2, minmax(120px, 0.55fr));
  }

  .footer-column--contact {
    grid-column: 1 / -1;
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column--contact {
    grid-column: 1 / -1;
  }

  .footer-band {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.page-container {
  width: min(calc(100% - clamp(32px, 6vw, 80px)), var(--container));
  margin-inline: auto;
  padding-block: clamp(28px, 4vw, 64px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.breadcrumbs {
  margin-bottom: clamp(20px, 3vw, 36px);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(143, 163, 155, 0.45);
}

.breadcrumbs a {
  color: var(--cyan);
}

.breadcrumbs [aria-current="page"] {
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 28px;
  margin-bottom: clamp(18px, 3vw, 32px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.section-heading p {
  max-width: 46ch;
  margin: 0;
  color: var(--stone);
  font-size: 13px;
  line-height: 1.7;
}

.panel {
  position: relative;
  padding: clamp(18px, 2.8vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-organic);
  background:
    linear-gradient(145deg, rgba(18, 51, 40, 0.94), rgba(12, 39, 31, 0.86));
  box-shadow: var(--shadow-panel);
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 2px;
  background: var(--cyan);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.metric {
  min-width: 0;
  padding: 16px;
  background: rgba(7, 26, 21, 0.9);
}

.metric__value {
  display: block;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric__label {
  display: block;
  margin-top: 8px;
  color: var(--stone);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(79, 240, 208, 0.28);
  border-radius: 999px;
  background: rgba(79, 240, 208, 0.08);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 0;
  padding: 0;
  color: var(--stone);
  font-size: 11px;
  list-style: none;
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend__swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
}

.legend__swatch--amber {
  background: var(--amber);
}

.legend__swatch--clay {
  background: var(--clay);
}

.legend__swatch--stone {
  background: var(--stone);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 26, 21, 0.74);
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 240, 208, 0.35) transparent;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.score-table caption {
  padding: 14px 16px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 12px;
  text-align: left;
}

.score-table th,
.score-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(168, 245, 228, 0.1);
  text-align: left;
  white-space: nowrap;
}

.score-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel);
  color: var(--mist);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.score-table tbody tr {
  transition: background-color 160ms var(--ease);
}

.score-table tbody tr:hover,
.score-table tbody tr:focus-within {
  background: rgba(79, 240, 208, 0.08);
}

.score-table td:first-child {
  color: var(--paper);
  font-weight: 600;
}

.score-table th:not(:first-child),
.score-table td:not(:first-child) {
  text-align: right;
}

.segmented {
  display: inline-flex;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 26, 21, 0.72);
}

.segmented__list {
  display: flex;
  max-width: 100%;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.segmented__list::-webkit-scrollbar {
  display: none;
}

.segmented__tab {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--stone);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.segmented__tab:hover {
  color: var(--paper);
}

.segmented__tab[aria-selected="true"] {
  background: var(--cyan);
  color: var(--graphite);
}

.segmented__panel {
  margin-top: 20px;
  animation: panel-in 260ms var(--ease) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.route-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 26, 21, 0.62);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 240, 208, 0.35) transparent;
}

.route-strip__item {
  flex: 1 0 min(220px, 72vw);
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--stone);
  scroll-snap-align: start;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.route-strip__item:last-child {
  border-right: 0;
}

.route-strip__item:hover {
  background: rgba(79, 240, 208, 0.07);
  color: var(--paper);
}

.media-frame {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-organic);
  background:
    linear-gradient(135deg, rgba(27, 74, 58, 0.94), rgba(18, 51, 40, 0.82));
  isolation: isolate;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(168, 245, 228, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 245, 228, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.8;
}

.media-frame__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
}

.media-frame__caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(transparent, rgba(2, 11, 9, 0.86));
  color: var(--paper);
  font-size: 12px;
  line-height: 1.6;
}

.media-frame--wide .media-frame__img {
  aspect-ratio: 21 / 9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--graphite);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button--signal {
  background: var(--amber);
  color: var(--bg);
}

.button--signal:hover {
  background: #FFC96F;
}

.button--ghost {
  border-color: rgba(79, 240, 208, 0.42);
  background: transparent;
  color: var(--cyan);
}

.button--ghost:hover {
  background: rgba(79, 240, 208, 0.09);
}

@media (max-width: 700px) {
  .page-container {
    width: min(calc(100% - 32px), var(--container));
  }

  .panel {
    border-radius: 4px 18px 4px 18px;
  }

  .segmented {
    width: 100%;
  }

  .segmented__list {
    width: 100%;
  }

  .segmented__tab {
    flex: 1 0 auto;
    padding-inline: 12px;
  }
}

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

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

  .live-pip {
    animation: none;
  }

  .segmented__panel {
    animation: none;
  }

  .button:hover {
    transform: none;
  }
}
