:root {
  --bg: #06120F;
  --panel: #0B211B;
  --card: #123129;
  --line: #1D4A3E;
  --cyan: #4CF3D0;
  --cyan-soft: #9BFBE6;
  --orange: #FF7A2F;
  --amber: #FFC46B;
  --ink: #E8F3EF;
  --muted: #93AFA6;
  --purple: #2A1240;
  --wine: #3A1626;
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
  --gutter: clamp(16px, 3vw, 32px);
  --maxw: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-island: 0 20px 60px rgba(0, 0, 0, .42), 0 0 0 1px rgba(76, 243, 208, .06);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, .22);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(76, 243, 208, .10), transparent 60%),
    radial-gradient(900px 600px at 92% 4%, rgba(255, 122, 47, .08), transparent 55%),
    var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 5vw, 72px);
}

h2 {
  font-size: clamp(28px, 3.8vw, 48px);
}

h3 {
  font-size: clamp(20px, 2.2vw, 28px);
}

p {
  line-height: 1.75;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--bg);
  background: var(--cyan);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--bg);
  background: var(--cyan);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s var(--ease);
  pointer-events: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px var(--gutter) 0;
  background: linear-gradient(180deg, rgba(6, 18, 15, .92), rgba(6, 18, 15, 0));
  pointer-events: none;
}

.nav-island {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  background: rgba(11, 33, 27, .84);
  border: 1px solid rgba(76, 243, 208, .16);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-island);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  pointer-events: auto;
  transition: padding .25s var(--ease), background .25s var(--ease);
}

.site-header[data-scrolled="true"] .nav-island {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(11, 33, 27, .96);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(76, 243, 208, .42);
  border-radius: 12px;
  background-color: var(--card);
  background-image: repeating-linear-gradient(90deg, rgba(76, 243, 208, .75) 0 2px, transparent 2px 6px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  box-shadow: inset 0 0 18px rgba(76, 243, 208, .08);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.brand-en {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-left: auto;
  padding: 0;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3px auto;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  color: var(--muted);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(76, 243, 208, .06);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(76, 243, 208, .12);
  box-shadow: inset 0 0 0 1px rgba(76, 243, 208, .28);
}

.nav-link[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.nav-utility {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.league-switcher {
  position: relative;
}

.league-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(18, 49, 41, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

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

.league-summary:hover {
  background: var(--card);
  border-color: rgba(76, 243, 208, .48);
}

.league-summary::after {
  content: "▾";
  margin-left: 2px;
  color: var(--muted);
  font-size: 10px;
  transition: transform .18s var(--ease);
}

.league-switcher[open] .league-summary::after {
  transform: rotate(180deg);
}

.league-summary-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.league-current {
  max-width: 6em;
  overflow: hidden;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 260px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.league-switcher:not([open]) .league-menu {
  display: none;
}

.league-option {
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: color .16s var(--ease), background .16s var(--ease);
}

.league-option:hover {
  color: var(--ink);
  background: var(--card);
}

.league-option[aria-pressed="true"] {
  color: var(--cyan);
  background: rgba(76, 243, 208, .14);
  box-shadow: inset 0 0 0 1px rgba(76, 243, 208, .22);
}

.league-option--all {
  grid-column: 1 / -1;
  color: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

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

.btn-accent {
  color: #1B0D05;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(255, 122, 47, .22);
}

.btn-accent:hover {
  background: #FF8B4A;
  border-color: #FF8B4A;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}

.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(42, 18, 64, .38), transparent 24%),
    var(--panel);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 243, 208, .55), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr .9fr .9fr 1.5fr;
  gap: clamp(28px, 4vw, 56px);
  width: min(calc(100% - (var(--gutter) * 2)), var(--maxw));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0 40px;
}

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

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
}

.footer-tagline {
  margin-top: 10px;
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-signature {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.dot-matrix {
  display: block;
  width: 124px;
  height: 20px;
  margin-top: 18px;
  background-image: radial-gradient(circle, rgba(76, 243, 208, .82) 0 1px, transparent 1.5px);
  background-size: 8px 8px;
  opacity: .82;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

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

.footer-heading {
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-link {
  color: rgba(232, 243, 239, .80);
  font-size: 14px;
  text-decoration: none;
  transition: color .16s var(--ease), text-decoration-color .16s var(--ease);
  text-underline-offset: 4px;
}

.footer-link:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(76, 243, 208, .45);
}

.footer-contact {
  min-width: 0;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.contact-line {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}

.contact-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.copy-btn {
  padding: 3px 8px;
  color: var(--cyan);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}

.copy-btn:hover {
  border-color: var(--cyan);
}

.copy-btn[data-copied="true"] {
  color: var(--orange);
  border-color: var(--orange);
}

.footer-note {
  max-width: 38ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - (var(--gutter) * 2)), var(--maxw));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.footer-sep {
  color: var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--maxw));
  margin-inline: auto;
}

.page-shell {
  padding-top: clamp(20px, 3.5vw, 48px);
}

#main-content {
  display: block;
  scroll-margin-top: 110px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.breadcrumbs .sep {
  color: var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.data-num {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -.03em;
}

.chapter {
  margin-block: clamp(48px, 8vw, 96px);
}

.chapter-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.chapter-num {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 160px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.04em;
  -webkit-text-stroke: 1.5px rgba(76, 243, 208, .62);
  text-stroke: 1.5px rgba(76, 243, 208, .62);
  user-select: none;
}

.chapter-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.chapter-lede {
  max-width: 56ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.split--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.split-narrative,
.split-data {
  min-width: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

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

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.card--soft {
  background: rgba(18, 49, 41, .55);
}

.card-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.card-meta {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  color: var(--amber);
  background: rgba(255, 196, 107, .12);
  border: 1px solid rgba(255, 196, 107, .25);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.status-dot--orange {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  scrollbar-color: var(--line) transparent;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(29, 74, 62, .72);
}

.data-table th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.data-table td:first-child,
.data-table th:first-child {
  padding-left: 18px;
}

.data-table td:last-child,
.data-table th:last-child {
  padding-right: 18px;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: rgba(76, 243, 208, .04);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-chip {
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition: color .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}

.filter-chip:hover {
  color: var(--ink);
  border-color: rgba(76, 243, 208, .42);
}

.filter-chip[aria-pressed="true"] {
  color: var(--bg);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.filter-status {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.timeline {
  position: relative;
  min-width: 0;
}

.timeline-track {
  display: flex;
  gap: 16px;
  padding: 6px 0 18px;
  overflow-x: auto;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.timeline-track::-webkit-scrollbar {
  height: 6px;
}

.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.timeline-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.timeline-card {
  flex: 0 0 min(280px, 80vw);
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  scroll-snap-align: start;
}

.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(180deg, rgba(76, 243, 208, .035) 0 1px, transparent 1px 5px),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 18, 15, .32));
  pointer-events: none;
}

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

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
}

.chapter-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.chapter-nav a {
  padding: 6px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.chapter-nav a:hover {
  color: var(--ink);
}

.chapter-nav a[aria-current="true"] {
  color: var(--cyan);
}

[data-reveal] {
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

[data-reveal].is-armed {
  opacity: 0;
  transform: translateY(12px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes nav-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 10px 12px 0;
  }

  .nav-island {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px 8px 14px;
    border-radius: 24px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-height: calc(100vh - 120px);
    padding: 12px;
    overflow: auto;
    background: rgba(11, 33, 27, .98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
  }

  .nav-panel[data-open="true"] {
    display: flex;
    animation: nav-pop .18s var(--ease) both;
  }

  .primary-nav {
    flex: none;
  }

  .nav-list {
    flex-direction: column;
    gap: 2px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-utility {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .league-switcher {
    flex: 1 1 180px;
  }

  .league-summary {
    width: 100%;
    justify-content: space-between;
  }

  .league-menu {
    right: auto;
    left: 0;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .nav-utility .btn {
    flex: 1 1 120px;
  }

  .brand-name {
    font-size: 20px;
  }

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

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

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

@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .chapter-num {
    font-size: clamp(58px, 13vw, 110px);
  }

  .chapter-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .brand-en {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 18px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 28px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 12px;
  }

  .chapter-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .chapter-num {
    font-size: 64px;
    line-height: .8;
  }

  .card-grid--2,
  .card-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-status {
    width: 100%;
    margin-left: 0;
  }

  .timeline-track {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal].is-armed {
    opacity: 1;
    transform: none;
  }

  .timeline-track {
    scroll-behavior: auto;
  }
}
