/* ============================================================
   版本赛场 · 共享外壳样式  /assets/site.css
   深空蓝黑 + 荧光绿 + 电光橙 · 切角面板 · 命令栏导航
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #05070E;
}

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

ul, ol { list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button { background: none; border: 0; }

a { color: inherit; }

table { border-collapse: collapse; }

/* ---------- tokens ---------- */
:root {
  --midnight-950: #05070E;
  --deep-900: #0A0F1C;
  --panel-800: #121A2B;
  --steel-600: #2A3550;
  --slate-400: #6B7896;
  --mist-200: #C9D3E6;
  --ice-050: #F2F6FF;
  --volt-500: #B6FF3C;
  --volt-700: #7ACC1F;
  --orange-500: #FF7A1A;

  --font-display: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --cut: 12px;
  --rail-w: 248px;
  --header-h: 64px;
  --shell-max: 1360px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 72px;
  --sp-9: 112px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --line: 1px solid var(--steel-600);
}

/* ---------- base typography ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--mist-200);
  background-color: var(--midnight-950);
  background-image:
    radial-gradient(900px 480px at 82% -12%, rgba(182, 255, 60, .05), transparent 62%),
    linear-gradient(90deg, rgba(42, 53, 80, .16) 1px, transparent 1px);
  background-size: auto, 112px 100%;
  background-repeat: no-repeat, repeat;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ice-050);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(34px, 5.4vw, 72px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: clamp(16px, 1.4vw, 19px); }

p { max-width: 68ch; }

strong, b { color: var(--ice-050); font-weight: 700; }

::selection {
  background: var(--volt-500);
  color: var(--midnight-950);
}

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--volt-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--slate-400); }

.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.8vw, 36px);
}

.container--narrow { max-width: 980px; }

.prose {
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.75;
}

.prose > * + * { margin-top: 1.1em; }

.prose h2, .prose h3 { margin-top: 1.8em; }

.prose ul, .prose ol { padding-left: 1.2em; }

.prose li { margin-top: .45em; }

.prose ul li { list-style: none; position: relative; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: .68em;
  width: 6px; height: 1px;
  background: var(--volt-500);
}

.prose ol { list-style: decimal; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--midnight-950);
  background: var(--volt-500);
  text-decoration: none;
  transition: top .18s var(--ease);
}

.skip-link:focus {
  top: 12px;
  outline-color: var(--ice-050);
}

/* ============================================================
   HEADER · 命令栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 14, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--steel-600);
}

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  width: 100%;
  max-width: var(--shell-max);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: clamp(14px, 2.4vw, 30px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--midnight-950);
  background: var(--volt-500);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--ice-050);
  max-width: none;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate-400);
  max-width: none;
}

.brand-version {
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--volt-500);
  background: rgba(182, 255, 60, .08);
  border: 1px solid rgba(182, 255, 60, .38);
}

/* --- command nav --- */
.cmd-nav {
  margin-left: auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.cmd-list {
  display: flex;
  align-items: stretch;
  gap: clamp(0px, .5vw, 10px);
  white-space: nowrap;
}

.cmd-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 20px 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--mist-200);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.cmd-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--slate-400);
  transition: color .18s var(--ease);
}

.cmd-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel-600);
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}

.cmd-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: var(--volt-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s var(--ease);
}

.cmd-link:hover { color: var(--ice-050); }
.cmd-link:hover .cmd-dot { background: var(--volt-700); }

.cmd-link[aria-current="page"] {
  color: var(--ice-050);
  font-weight: 700;
}

.cmd-link[aria-current="page"] .cmd-index { color: var(--volt-500); }

.cmd-link[aria-current="page"] .cmd-dot {
  background: var(--volt-500);
  box-shadow: 0 0 8px rgba(182, 255, 60, .85);
}

.cmd-link[aria-current="page"]::after { transform: scaleX(1); }

/* --- header utils --- */
.header-utils {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: 8px;
}

.util-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  font-size: 12.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--mist-200);
  background: rgba(18, 26, 43, .55);
  border: 1px solid var(--steel-600);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.util-link:hover {
  color: var(--ice-050);
  border-color: var(--volt-500);
}

.util-link--solid {
  color: var(--midnight-950);
  font-weight: 700;
  background: var(--volt-500);
  border-color: var(--volt-500);
}

.util-link--solid:hover {
  background: var(--ice-050);
  border-color: var(--ice-050);
  color: var(--midnight-950);
}

/* --- league switch --- */
.league-switch { position: relative; }

.league-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--volt-500);
  background: rgba(182, 255, 60, .07);
  border: 1px solid rgba(182, 255, 60, .35);
  cursor: pointer;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}

.league-btn:hover { background: rgba(182, 255, 60, .14); }

.league-btn__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt-500);
  animation: leaguePulse 2.4s var(--ease) infinite;
}

.league-btn__caret {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid var(--volt-500);
  transition: transform .18s var(--ease);
}

.league-switch[data-open] .league-btn__caret { transform: rotate(180deg); }

@keyframes leaguePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.league-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  display: none;
  min-width: 230px;
  padding: 6px;
  background: var(--deep-900);
  border: 1px solid var(--steel-600);
  box-shadow: 0 22px 48px rgba(5, 7, 14, .7);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.league-switch[data-open] .league-menu { display: block; }

.league-menu__title {
  padding: 8px 12px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate-400);
  max-width: none;
}

.league-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--mist-200);
  text-align: left;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.league-option:hover {
  background: var(--panel-800);
  color: var(--ice-050);
}

.league-option[aria-selected="true"] {
  color: var(--volt-500);
  border-left-color: var(--volt-500);
  background: rgba(182, 255, 60, .07);
}

.league-option__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--slate-400);
}

/* --- mobile toggle --- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ice-050);
  background: var(--deep-900);
  border: 1px solid var(--steel-600);
  cursor: pointer;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.nav-toggle-bars i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--volt-500);
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

.nav-toggle-text--close { display: none; }

.nav-toggle[aria-expanded="true"] .nav-toggle-text--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-text--close { display: inline; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ============================================================
   FOOTER · 四块堆叠面板
   ============================================================ */
.site-footer {
  margin-top: clamp(56px, 8vw, 112px);
  color: var(--slate-400);
  background: var(--midnight-950);
  border-top: 1px solid var(--steel-600);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.8vw, 36px);
}

.footer-stack {
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(24px, 3vw, 40px);
}

.footer-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(26px, 3.2vw, 44px) 0;
  border-top: 1px solid rgba(42, 53, 80, .65);
}

.footer-panel:first-child { border-top: 0; }

.footer-brand {
  grid-column: 1 / span 5;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--midnight-950);
  background: var(--volt-500);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

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

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .02em;
  color: var(--ice-050);
  max-width: none;
}

.footer-brand__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-400);
  max-width: none;
}

.footer-usage {
  grid-column: 7 / span 6;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-400);
  max-width: 54ch;
}

.footer-usage strong { color: var(--volt-500); }

.footer-col-title {
  grid-column: 1 / span 3;
  align-self: start;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--volt-500);
  max-width: none;
}

/* footer nav */
.footer-nav {
  grid-column: 4 / span 9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--mist-200);
  background: rgba(18, 26, 43, .45);
  border: 1px solid var(--steel-600);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.footer-nav a:hover {
  color: var(--volt-500);
  border-color: var(--volt-500);
  background: rgba(182, 255, 60, .06);
}

/* footer contact */
.footer-contact {
  grid-column: 4 / span 9;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
}

.footer-contact__row--wide { grid-column: 1 / -1; }

.footer-contact dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.footer-contact dd {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist-200);
  word-break: break-word;
}

.footer-note {
  grid-column: 4 / span 9;
  padding-left: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate-400);
  border-left: 2px solid var(--volt-700);
  max-width: 76ch;
}

/* footer legal */
.footer-legal {
  grid-column: 4 / span 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist-200);
  max-width: none;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--slate-400);
  max-width: none;
}

.footer-legal-links {
  grid-column: 8 / span 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-content: start;
}

.footer-legal-links a {
  font-size: 13px;
  color: var(--slate-400);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.footer-legal-links a:hover {
  color: var(--volt-500);
  border-bottom-color: var(--volt-500);
}

.to-top {
  grid-column: 11 / span 2;
  justify-self: end;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--slate-400);
  background: transparent;
  border: 1px solid var(--steel-600);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.to-top:hover {
  color: var(--volt-500);
  border-color: var(--volt-500);
}

/* ============================================================
   通用组件
   ============================================================ */

/* --- layout / rail --- */
.layout {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  background: rgba(10, 15, 28, .72);
  border: 1px solid var(--steel-600);
}

.rail__title {
  padding: 0 18px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate-400);
  max-width: none;
}

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 13.5px;
  text-decoration: none;
  color: var(--mist-200);
  border-left: 3px solid transparent;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.rail__link:hover {
  color: var(--ice-050);
  background: rgba(18, 26, 43, .85);
}

.rail__link[aria-current],
.rail__link[data-active="true"] {
  color: var(--volt-500);
  background: rgba(182, 255, 60, .06);
  border-left-color: var(--volt-500);
}

/* --- panels --- */
.panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--panel-800);
  border: 1px solid var(--steel-600);
}

.panel--cut {
  --cut: 12px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.panel--inset { background: var(--deep-900); }

/* --- band & divider --- */
.band {
  padding: clamp(14px, 2vw, 26px) 0;
  background: linear-gradient(90deg, rgba(18, 26, 43, .9), rgba(10, 15, 28, .45));
  border-top: 1px solid var(--steel-600);
  border-bottom: 1px solid var(--steel-600);
}

.divider {
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--steel-600) 0 1px, transparent 1px 8px);
  opacity: .9;
}

/* --- grid --- */
.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 24px);
}

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

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.btn--primary {
  color: var(--midnight-950);
  background: var(--volt-500);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn--primary:hover { background: var(--ice-050); }

.btn--ghost {
  color: var(--ice-050);
  background: transparent;
  border-color: var(--steel-600);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

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

.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

/* --- labels --- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--volt-500);
  background: rgba(182, 255, 60, .1);
  border: 1px solid rgba(182, 255, 60, .3);
}

.label--alert {
  color: var(--orange-500);
  background: rgba(255, 122, 26, .12);
  border-color: rgba(255, 122, 26, .36);
}

.label--muted {
  color: var(--slate-400);
  background: rgba(107, 120, 150, .1);
  border-color: var(--steel-600);
}

/* --- display figures --- */
.figure {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 120px);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--ice-050);
  font-variant-numeric: tabular-nums;
  max-width: none;
}

.figure--volt { color: var(--volt-500); }
.figure--alert { color: var(--orange-500); }

.figure__unit {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--slate-400);
}

/* --- vertical note --- */
.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--slate-400);
  max-width: none;
}

/* --- breadcrumb --- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--slate-400);
}

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

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--steel-600);
}

.breadcrumb a {
  color: var(--slate-400);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumb a:hover { color: var(--volt-500); }

.breadcrumb [aria-current="page"] { color: var(--mist-200); }

/* --- image frames --- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--deep-900);
  border: 1px solid var(--steel-600);
}

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

.img-frame > svg { height: auto; }

.img-frame--16x9 { aspect-ratio: 16 / 9; }
.img-frame--4x3 { aspect-ratio: 4 / 3; }
.img-frame--1x1 { aspect-ratio: 1 / 1; }
.img-frame--21x9 { aspect-ratio: 21 / 9; }

.img-frame--cut {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.img-frame__ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate-400);
  background:
    repeating-linear-gradient(90deg, rgba(42, 53, 80, .5) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(42, 53, 80, .5) 0 1px, transparent 1px 28px),
    var(--deep-900);
}

.img-frame__ph::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(42, 53, 80, .9);
  pointer-events: none;
}

.img-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--slate-400);
  background: rgba(5, 7, 14, .85);
  border-top: 1px solid var(--steel-600);
  border-right: 1px solid var(--steel-600);
}

/* --- reveal --- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1220px) {
  .cmd-link { padding: 20px 8px; }
  .brand-sub { display: none; }
}

@media (max-width: 1080px) {
  body { padding-bottom: 84px; }

  .header-utils .util-link { display: none; }

  .nav-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 130;
    display: inline-flex;
    justify-content: center;
    min-height: 52px;
    box-shadow: 0 18px 40px rgba(5, 7, 14, .75);
  }

  .cmd-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 110;
    margin-left: 0;
    padding: 14px clamp(16px, 4vw, 28px) 120px;
    overflow-y: auto;
    background: rgba(5, 7, 14, .98);
    border-top: 1px solid var(--steel-600);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s linear;
  }

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

  .cmd-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
  }

  .cmd-item { border-bottom: 1px solid rgba(42, 53, 80, .7); }

  .cmd-link {
    gap: 12px;
    padding: 16px 6px 16px 16px;
    font-size: 16px;
  }

  .cmd-index { font-size: 11px; }

  .cmd-link::after {
    left: 0;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }

  .cmd-link[aria-current="page"]::after { transform: scaleY(1); }

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

  .rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
    gap: 6px;
  }

  .rail__title { width: 100%; padding: 0 6px 6px; }

  .rail__link {
    border-left: 0;
    border-bottom: 3px solid transparent;
    padding: 8px 12px;
    min-height: 40px;
  }

  .rail__link[aria-current],
  .rail__link[data-active="true"] {
    border-left: 0;
    border-bottom-color: var(--volt-500);
  }
}

@media (max-width: 900px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

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

  .to-top {
    align-self: flex-start;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--12 { grid-template-columns: minmax(0, 1fr); }

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

  .brand-version { display: none; }

  .footer-panel { padding: 22px 0; }

  .figure { font-size: clamp(42px, 18vw, 76px); }
}

/* ============================================================
   动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .league-btn__dot { animation: none; }
}
