/* ============================================================
   传奇电竞 · 共享站点样式 /assets/site.css
   深色指挥舱底 + 双语期刊骨架 + 精密 8px 网格
   ============================================================ */

:root {
  /* 色彩 */
  --ink: #05060B;
  --hold: #140A2E;
  --violet: #7A3BFF;
  --cyan: #23E6D8;
  --amber: #FF8A2B;
  --red: #FF4D6D;
  --white: #F4F7FF;
  --grey: #AEB8CC;
  --paper: #F7F8FB;
  --ink-text: #141821;
  --line: #2A2F3D;
  --grad: linear-gradient(135deg, #7A3BFF 0%, #23E6D8 100%);

  /* 排版 */
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Arial Black", "Arial Bold", Arial, Helvetica, "Helvetica Neue", sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --fs-1: clamp(32px, 5.6vw, 56px);
  --fs-2: clamp(26px, 3.4vw, 40px);
  --fs-3: clamp(21px, 2.4vw, 30px);
  --fs-4: clamp(18px, 1.7vw, 22px);
  --fs-body: clamp(16px, 1.1vw, 17px);
  --fs-5: 14px;
  --fs-6: 12px;

  /* 结构 */
  --shell: 1440px;
  --pad-x: clamp(20px, 7vw, 96px);
  --gap: 24px;
  --radius: 4px;
  --pill: 999px;
  --unit: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-cn);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
hr { border: 0; height: 1px; background: var(--line); margin: 0; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }

/* ---------- 焦点与可达性 ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--ink);
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: var(--fs-5);
  font-weight: 700;
  border-radius: var(--radius);
  transition: transform 200ms var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--ink);
}

/* ---------- 中文排版 ---------- */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.16; font-weight: 900; }
h1 { font-size: var(--fs-1); }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-3); line-height: 1.3; }
h4 { font-size: var(--fs-4); font-weight: 700; line-height: 1.4; }

p { max-width: 42em; }
p + p { margin-top: 0.9em; }

.section-title { display: block; margin: 0; }
.section-title__zh {
  display: block;
  font-size: var(--fs-2);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--white);
}
.section-title__en {
  display: block;
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: var(--fs-6);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.en-label {
  display: block;
  font-family: var(--font-en);
  font-size: var(--fs-6);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  opacity: 0.62;
  transition: color 220ms var(--ease), opacity 220ms var(--ease);
}
html[data-bilingual="on"] .en-label { color: var(--cyan); opacity: 1; }

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

.lede {
  font-size: var(--fs-4);
  line-height: 1.7;
  color: var(--grey);
  max-width: 34em;
}

.serif-quote {
  font-family: var(--font-serif);
  font-size: var(--fs-4);
  line-height: 1.75;
  color: var(--white);
  border-left: 2px solid var(--violet);
  padding-left: 20px;
}

/* ---------- 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section-band {
  padding-block: clamp(72px, 10vw, 136px);
}
.section-band--tight {
  padding-block: clamp(40px, 5vw, 72px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-cn);
  font-size: var(--fs-5);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn--primary {
  background: var(--violet);
  color: var(--white);
  border-color: var(--violet);
}
.btn--primary:hover {
  background: #8d55ff;
  border-color: var(--cyan);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn--sm {
  padding: 8px 15px;
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.tag--live { border-color: rgba(35, 230, 216, 0.5); color: var(--cyan); }
.tag--date { border-color: rgba(255, 138, 43, 0.5); color: var(--amber); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.chip:hover { color: var(--white); border-color: var(--cyan); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: rgba(35, 230, 216, 0.12);
  border-color: var(--cyan);
  color: var(--white);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 基础组件 ---------- */
.card {
  background: var(--hold);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2vw, 28px);
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--hold);
  border: 1px solid var(--line);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--slant {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.media-frame--placeholder {
  background-image:
    repeating-linear-gradient(-45deg, rgba(244, 247, 255, 0.035) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(20, 10, 46, 0.9) 0%, rgba(5, 6, 11, 0.9) 100%);
}
.media-frame--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 6, 11, 0.72) 100%);
  pointer-events: none;
}

.scan-rule {
  position: relative;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.scan-rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg,
    rgba(35, 230, 216, 0) 0%,
    rgba(35, 230, 216, 0.85) 45%,
    rgba(122, 59, 255, 0.85) 55%,
    rgba(122, 59, 255, 0) 100%);
  background-size: 28% 100%;
  background-repeat: no-repeat;
  background-position: -30% 0;
  animation: cq-scan 8s linear infinite;
}
.scan-rule:hover::after { animation-play-state: paused; }

@keyframes cq-scan {
  0% { background-position: -30% 0; }
  100% { background-position: 130% 0; }
}

.data-table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: var(--fs-5);
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.data-table caption {
  padding-bottom: 12px;
  text-align: left;
  font-family: var(--font-cn);
  font-size: var(--fs-5);
  color: var(--grey);
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom-color: rgba(35, 230, 216, 0.4);
}
.data-table tbody tr:hover { background: rgba(122, 59, 255, 0.08); }

.data-table--light {
  background: var(--paper);
  color: var(--ink-text);
}
.data-table--light th,
.data-table--light td { border-bottom-color: rgba(20, 24, 33, 0.12); }
.data-table--light thead th { color: var(--violet); border-bottom-color: rgba(122, 59, 255, 0.35); }
.data-table--light tbody tr:hover { background: rgba(122, 59, 255, 0.06); }

.expandable {
  background: rgba(20, 10, 46, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.expandable + .expandable { margin-top: -1px; }
.expandable__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-cn);
  font-size: var(--fs-body);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.expandable__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 220ms var(--ease);
}
.expandable__head[aria-expanded="true"] .expandable__arrow { transform: rotate(-45deg); }
.expandable__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 220ms var(--ease), opacity 220ms var(--ease);
}
.expandable__body[data-open="true"] {
  max-height: 720px;
  opacity: 1;
}
.expandable__inner {
  padding: 0 20px 20px;
  color: var(--grey);
}

/* ---------- 进入动效 ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* ============================================================
   头部 · 悬浮胶囊浮岛
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: clamp(12px, 1.6vw, 22px) var(--pad-x);
  pointer-events: none;
}

.nav-island {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 28px);
  width: 100%;
  max-width: var(--shell);
  padding: 10px 12px 12px 20px;
  background: rgba(20, 10, 46, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  pointer-events: auto;
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease), padding 240ms var(--ease);
}
.nav-island[data-open="true"] { background: rgba(5, 6, 11, 0.96); }

.site-header[data-condensed="true"] .nav-island {
  padding-block: 6px 8px;
  background: rgba(5, 6, 11, 0.9);
  border-color: rgba(42, 47, 61, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--grad);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand__text { display: flex; flex-direction: column; }
.brand__zh {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.brand__en {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.4;
}
.brand--footer .brand__zh { font-size: 19px; }

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__item { display: block; }
.nav__link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--grey);
  white-space: nowrap;
  transition: color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.nav__link:hover {
  color: var(--white);
  background: rgba(122, 59, 255, 0.2);
}
.nav__link[aria-current="page"] {
  color: var(--white);
  background: rgba(35, 230, 216, 0.1);
  box-shadow: inset 0 0 0 1px rgba(35, 230, 216, 0.55);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.update-pulse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}
.update-pulse__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 138, 43, 0.5);
  animation: cq-pulse 2600ms var(--ease) infinite;
}

@keyframes cq-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 138, 43, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(255, 138, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 138, 43, 0); }
}

.lang-toggle {
  padding: 7px 11px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.lang-toggle:hover { color: var(--white); border-color: var(--cyan); }
.lang-toggle[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--cyan); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 220ms var(--ease);
}
.nav-island[data-open="true"] .nav-toggle__bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav-island[data-open="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-island__rail {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(42, 47, 61, 0.85);
  overflow: hidden;
  pointer-events: none;
}
.nav-island__rail-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  transition: transform 120ms linear;
}

/* ============================================================
   页脚 · 机甲纹理与仪表条
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  padding-block: clamp(56px, 7vw, 96px) 32px;
  background: var(--hold);
  border-top: 1px solid var(--line);
  color: var(--grey);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(244, 247, 255, 0.035) 0 1px, transparent 1px 8px);
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.85;
}
.site-footer a { color: var(--grey); }
.site-footer a:hover { color: var(--cyan); }

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.7fr;
  gap: 48px 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-brand__en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}
.footer-brand__note {
  max-width: 28em;
  font-size: var(--fs-5);
  line-height: 1.75;
  color: var(--grey);
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__link {
  font-size: 15px;
  color: var(--grey);
  transition: color 180ms var(--ease);
}

.footer-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-contact__line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-5);
  line-height: 1.7;
  max-width: 26em;
}
.footer-contact__key {
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 4px;
  min-width: 34px;
}
.footer-contact__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey);
  max-width: 26em;
}

.site-footer__meta {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 13px;
}
.footer-filing,
.footer-rhythm,
.footer-copy {
  font-size: 13px;
  line-height: 1.7;
  max-width: 40em;
}
.footer-filing { font-family: var(--font-mono); letter-spacing: 0.06em; color: var(--white); }
.footer-rhythm { color: var(--grey); }
.footer-copy { font-family: var(--font-mono); letter-spacing: 0.06em; color: var(--grey); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .update-pulse { display: none; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand,
  .footer-contact { grid-column: span 3; }
}

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

  .nav-island {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 10px 14px 14px;
    align-items: center;
  }
  .nav-island__rail { left: 16px; right: 16px; bottom: 6px; }

  .nav {
    order: 3;
    flex: 1 0 100%;
    display: none;
    justify-content: flex-start;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-island[data-open="true"] .nav { display: block; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 16px;
  }

  .nav-toggle { display: inline-flex; }
  .header-actions .btn--ghost { display: none; }
}

@media (max-width: 1024px) {
  .section-band { padding-block: clamp(56px, 9vw, 88px); }
}

@media (max-width: 720px) {
  :root { --gap: 16px; }

  .grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 4; }

  .site-header { padding: 10px var(--pad-x); }
  .brand__en { display: none; }
  .brand__mark { width: 32px; height: 32px; font-size: 11px; }
  .brand__zh { font-size: 16px; }

  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .footer-brand,
  .footer-contact { grid-column: span 2; }

  .site-footer__meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .header-actions .btn--primary { display: none; }
  .footer-brand,
  .footer-contact { grid-column: span 1; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .nav-island { padding-inline: 12px; }
  .data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table th:first-child,
  .data-table td:first-child {
    position: sticky;
    left: 0;
    background: inherit;
  }
}

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

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

  .reveal { opacity: 1; transform: none; }
  .scan-rule::after { animation: none; opacity: 0.35; background-position: 40% 0; }
  .update-pulse__dot { animation: none; box-shadow: none; }
  .nav-island__rail-fill { transition: none; }
}
