/* ============ 1. Reset ============ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table { border-collapse: collapse; border-spacing: 0; }

/* ============ 2. 变量 ============ */
:root {
  --ink: #06101A;
  --ink-deep: #040B12;
  --panel: #0D1A26;
  --line: #1E3549;
  --mint: #2EE6B0;
  --mint-dim: #12946F;
  --amber: #FFA733;
  --live: #FF5F6D;
  --text: #EAF2F7;
  --muted: #9BB0C0;
  --faint: #5E7386;
  --stone: #2B3B46;
  --moss: #6E8F63;

  --rail-w: 88px;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  --cut-sm: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);

  --font-display: "Barlow Condensed", "OPPO Sans", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --z-rail: 70;
  --z-head: 60;
  --z-top: 80;
}

/* ============ 3. 基础排版 ============ */
body {
  padding-left: var(--rail-w);
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .01em;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 84% -10%, rgba(46, 230, 176, .10), transparent 62%),
    radial-gradient(900px 540px at 8% 106%, rgba(255, 167, 51, .065), transparent 64%),
    radial-gradient(700px 400px at 50% 50%, rgba(43, 59, 70, .35), transparent 70%);
  background-attachment: fixed;
}

#main-content { display: block; }

::selection {
  background: var(--mint);
  color: var(--ink-deep);
}

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

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

.muted { color: var(--muted); }

/* ============ 4. Skip link ============ */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -160%);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-deep);
  background: var(--mint);
  clip-path: var(--cut-sm);
  transition: transform .18s var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 3px;
}

/* ============ 5. 左侧导览轨道 ============ */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: var(--z-rail);
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 0 18px;
  overflow-y: auto;
  scrollbar-width: none;
  background: linear-gradient(180deg, #08151F 0%, #06101A 48%, #050D15 100%);
}

.rail::-webkit-scrollbar { width: 0; height: 0; }

.rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--mint) 0%, var(--line) 42%, var(--line) 62%, rgba(255, 167, 51, .7) 100%);
  pointer-events: none;
}

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.rail__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink-deep);
  background: var(--mint);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: background .16s var(--ease);
}

.rail__brand:hover .rail__mark { background: var(--amber); }

.rail__word {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--muted);
}

.rail__brand:hover .rail__word { color: var(--text); }

.rail__pulse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-top: 1px solid rgba(30, 53, 73, .8);
  border-bottom: 1px solid rgba(30, 53, 73, .8);
  width: 52px;
}

.rail__pulse-text {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--faint);
}

.rail__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: auto;
}

.rail__nav a {
  display: block;
  padding: 11px 4px;
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--faint);
  border-left: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.rail__nav a:hover,
.rail__nav a:focus-visible { color: var(--text); }

.rail__nav a[aria-current="page"] {
  color: var(--mint);
  border-left-color: var(--mint);
  font-weight: 700;
}

.rail__ver {
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--faint);
}

/* ============ 6. 报头式页头 ============ */
.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-head);
  background: rgba(6, 16, 26, .93);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
  .masthead { backdrop-filter: blur(10px); }
}

.masthead.is-scrolled {
  background: rgba(4, 11, 18, .97);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .95);
}

.masthead__bar { border-bottom: 1px solid rgba(30, 53, 73, .6); }

.masthead__inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px var(--gut);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.masthead__kicker {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--faint);
  white-space: nowrap;
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.05;
}

.wordmark__zh {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--text);
}

.wordmark__zh::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint) 22%, var(--mint) 78%, transparent);
  opacity: .55;
}

.wordmark__en {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--faint);
}

.wordmark:hover .wordmark__zh { color: var(--mint); }

.scorebug {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px 6px 17px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 26, 38, .95), rgba(6, 16, 26, .95));
  clip-path: var(--cut-sm);
}

.scorebug::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.scorebug__label {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--faint);
}

.scorebug__num {
  font-size: 19px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.scorebug__meta {
  font-size: 11px;
  color: var(--muted);
}

.masthead__nav-row { position: relative; }

.masthead__inner--nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding-top: 0;
  padding-bottom: 0;
  min-height: 48px;
}

.site-nav { grid-column: 2; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 13px 2px;
  font-size: 14.5px;
  letter-spacing: .05em;
  color: var(--muted);
  transition: color .16s var(--ease);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible { color: var(--text); }

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

.site-nav__list a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.masthead__cta {
  grid-column: 3;
  justify-self: end;
  padding: 7px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--mint);
  border: 1px solid var(--mint-dim);
  clip-path: var(--cut-sm);
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}

.masthead__cta:hover,
.masthead__cta:focus-visible {
  color: var(--ink-deep);
  background: var(--mint);
  border-color: var(--mint);
}

.nav-toggle { display: none; }

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(30, 53, 73, .45);
}

.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--mint-dim), var(--mint) 62%, var(--amber));
  transition: width .09s linear;
}

/* ============ 7. 页脚 ============ */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #06101A 0%, #0A1621 42%, #050D15 100%);
  overflow: hidden;
}

.footer__glow {
  position: absolute;
  left: 28%;
  right: -18%;
  bottom: -62%;
  height: 340px;
  background: radial-gradient(closest-side, rgba(46, 230, 176, .13), transparent 72%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 74px) var(--gut) 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.35fr 1fr;
  gap: clamp(24px, 3.6vw, 56px);
}

.footer__col { min-width: 0; }

.footer__col--brand { display: flex; flex-direction: column; gap: 12px; }

.wordmark--footer { align-items: flex-start; gap: 3px; }

.wordmark--footer .wordmark__zh { font-size: 24px; }

.footer__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--mint);
}

.footer__note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 28ch;
}

.footer__title {
  position: relative;
  margin-bottom: 16px;
  padding-left: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--faint);
}

.footer__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--mint);
  transform: translateY(-50%);
}

.footer__list { display: flex; flex-direction: column; gap: 9px; }

.footer__list li {
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
}

.footer__list a {
  position: relative;
  transition: color .16s var(--ease);
}

.footer__list a:hover,
.footer__list a:focus-visible { color: var(--mint); }

.footer__list a[aria-current="page"] { color: var(--text); font-weight: 700; }

.footer__contact li { word-break: break-word; }

.footer__key {
  display: inline-block;
  min-width: 3.4em;
  margin-right: 6px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--faint);
}

.footer__contact .footer__hint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--faint);
}

.footer__ver {
  display: inline-block;
  margin-top: 18px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--amber);
  border: 1px solid rgba(255, 167, 51, .4);
  clip-path: var(--cut-sm);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
}

.footer__icp { color: var(--muted); }

.footer__stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
}

/* ============ 8. 通用容器与栅格 ============ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.section { padding-block: clamp(32px, 5vw, 52px); }
.section--tight { padding-block: clamp(20px, 3vw, 32px); }

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

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

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

@media (max-width: 1024px) {
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .span-7, .span-8, .span-9 { grid-column: span 12; }
}

@media (max-width: 720px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5, .span-6,
  .span-7, .span-8, .span-9, .span-12 { grid-column: span 6; }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mint);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--text);
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.62;
  color: var(--text);
}

/* ============ 9. 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--mint);
  border: 1px solid var(--mint-dim);
  clip-path: var(--cut-sm);
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: var(--ink-deep);
  background: var(--mint);
  border-color: var(--mint);
  transform: translateY(-2px);
}

.btn--solid {
  color: var(--ink-deep);
  background: var(--mint);
  border-color: var(--mint);
}

.btn--solid:hover,
.btn--solid:focus-visible { background: var(--amber); border-color: var(--amber); }

.btn--ghost {
  color: var(--muted);
  border-color: var(--line);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--text);
  background: rgba(46, 230, 176, .1);
  border-color: var(--mint-dim);
}

.btn--sm { padding: 7px 14px; font-size: 12.5px; }

/* ============ 10. 面包屑 ============ */
.breadcrumb {
  padding-top: clamp(20px, 3vw, 34px);
  font-size: 12.5px;
  color: var(--faint);
}

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

.breadcrumb__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb__link { color: var(--muted); transition: color .16s var(--ease); }
.breadcrumb__link:hover,
.breadcrumb__link:focus-visible { color: var(--mint); }

.breadcrumb__current { color: var(--text); font-weight: 700; }

/* ============ 11. 切角面板与卡片 ============ */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  background: linear-gradient(170deg, rgba(13, 26, 38, .96), rgba(8, 19, 28, .9));
  border: 1px solid var(--line);
  clip-path: var(--cut);
}

.panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
  opacity: .7;
  pointer-events: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 24px);
  background: linear-gradient(172deg, rgba(13, 26, 38, .95), rgba(7, 17, 26, .92));
  border: 1px solid var(--line);
  clip-path: var(--cut);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 176, .55);
  box-shadow: 0 22px 40px -30px rgba(46, 230, 176, .8);
}

.card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--text);
}

.card__text {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--mint);
  background: rgba(18, 148, 111, .18);
  border: 1px solid rgba(18, 148, 111, .55);
  clip-path: var(--cut-sm);
}

.tag--amber {
  color: var(--amber);
  background: rgba(255, 167, 51, .14);
  border-color: rgba(255, 167, 51, .5);
}

.tag--live {
  color: var(--live);
  background: rgba(255, 95, 109, .14);
  border-color: rgba(255, 95, 109, .5);
}

/* ============ 12. 数据点与比分牌 ============ */
.stat { display: flex; flex-direction: column; gap: 2px; }

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--amber);
}

.stat__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--faint);
}

.scorecard {
  position: relative;
  padding: 14px 18px 14px 20px;
  background: linear-gradient(160deg, rgba(13, 26, 38, .98), rgba(6, 16, 26, .96));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.scorecard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.scorecard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.scorecard__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--amber);
}

.scorecard__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--faint);
}

/* ============ 13. 时间轴 ============ */
.timeline { position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--mint), var(--line) 55%, transparent);
}

.timeline__item {
  position: relative;
  padding: 0 0 24px 32px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  background: var(--panel);
  border: 1px solid var(--mint-dim);
  border-radius: 50%;
}

.timeline__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--mint);
  border-radius: 50%;
}

.timeline__meta {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--faint);
}

/* ============ 14. 对照表 ============ */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(13, 26, 38, .6);
}

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

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(30, 53, 73, .8);
  vertical-align: top;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  background: rgba(6, 16, 26, .82);
  position: sticky;
  top: 0;
  z-index: 1;
}

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

.data-table tbody tr:hover { background: rgba(46, 230, 176, .055); }

.data-table td:first-child,
.data-table th:first-child { font-weight: 700; color: var(--text); }

/* ============ 15. 图片容器基础 ============ */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, var(--stone) 0%, #0B1822 58%, #08131C 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.74) saturate(.86) contrast(1.05);
}

.media__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(6, 16, 26, .88) 0%, rgba(6, 16, 26, 0) 58%),
    repeating-linear-gradient(90deg, rgba(46, 230, 176, .12) 0 1px, transparent 1px 48px);
  opacity: .9;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

@media (max-width: 720px) {
  .media--wide { aspect-ratio: 16 / 9; }
  .media--tall { aspect-ratio: 4 / 5; }
}

/* ============ 16. 状态点与返回顶部 ============ */
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse-breathe 2.4s ease-in-out infinite;
}

@keyframes pulse-breathe {
  0%, 100% { opacity: .5; box-shadow: 0 0 0 0 rgba(46, 230, 176, .35); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(46, 230, 176, 0); }
}

.to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 30px);
  bottom: clamp(14px, 2.5vw, 30px);
  z-index: var(--z-top);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--mint);
  background: rgba(13, 26, 38, .94);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s, background-color .16s var(--ease), color .16s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover,
.to-top:focus-visible {
  color: var(--ink-deep);
  background: var(--mint);
  border-color: var(--mint);
}

/* ============ 17. 响应式：平板 ============ */
@media (max-width: 1100px) {
  .masthead__kicker { display: none; }
  .masthead__inner { grid-template-columns: auto 1fr; }
  .wordmark { justify-self: start; align-items: flex-start; }
  .wordmark__zh::after { display: none; }
  .scorebug { justify-self: end; grid-column: 2; }
  .scorebug__label { display: none; }
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .footer__note { max-width: none; }
}

/* ============ 18. 响应式：移动端 ============ */
@media (max-width: 900px) {
  :root { --rail-w: 0px; }

  body { padding-left: 0; }

  .rail { display: none; }

  .masthead__inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px var(--gut);
  }

  .masthead__bar { border-bottom: 0; }

  .scorebug { grid-column: 2; padding: 5px 10px 5px 13px; }
  .scorebug__meta { display: none; }
  .scorebug__num { font-size: 17px; }

  .masthead__inner--nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: 1px solid rgba(30, 53, 73, .7);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    letter-spacing: .08em;
    color: var(--muted);
    border: 1px solid var(--line);
    clip-path: var(--cut-sm);
    transition: color .16s var(--ease), border-color .16s var(--ease);
  }

  .nav-toggle[data-open] {
    color: var(--mint);
    border-color: var(--mint-dim);
  }

  .nav-toggle__bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 15px;
  }

  .nav-toggle__bars i {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform .18s var(--ease), opacity .18s var(--ease);
  }

  .nav-toggle[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
  .nav-toggle[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

  .masthead__cta { margin-left: auto; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    order: 4;
    flex: 1 1 100%;
    padding: 6px var(--gut) 18px;
    background: linear-gradient(180deg, #0D1A26 0%, #06101A 100%);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    box-shadow: 0 26px 44px -18px rgba(0, 0, 0, .85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list li + li { border-top: 1px solid rgba(30, 53, 73, .65); }

  .site-nav__list a {
    display: block;
    padding: 14px 2px;
    font-size: 16px;
    color: var(--text);
  }

  .site-nav__list a::after { bottom: 8px; right: auto; width: 28px; }

  .masthead__cta { padding: 7px 13px; font-size: 12.5px; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__stat { margin-left: 0; }
  .footer__meta { gap: 6px 16px; }
  .masthead__cta { display: none; }
  .nav-toggle { flex: 1 1 auto; justify-content: center; }
}

/* ============ 19. 动效降级 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .card:hover,
  .card:focus-within,
  .btn:hover,
  .btn:focus-visible { transform: none; }
}
