/* ============================================================
   皇冠现金 · 手机看台 — 全站共享样式 /assets/site.css
   精密仪器 + 都会夜色：极细边界、克制阴影、珠宝色分区
   ============================================================ */

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

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

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

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

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

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

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

table { border-collapse: collapse; }

/* ---------- 变量 ---------- */
:root {
  /* 品牌色 */
  --ink: #0B0B0D;
  --iron: #16161A;
  --gold: #C9A227;
  --gold-hi: #E8C766;
  --violet: #6C3EF5;
  --indigo: #2A2350;
  --teal: #12312E;
  --wine: #5A1F2B;
  --silver: #D8DCE3;
  --paper: #F5F6F4;

  /* 线条与阴影 */
  --rule-dark: rgba(216, 220, 227, 0.14);
  --rule-dark-soft: rgba(216, 220, 227, 0.08);
  --rule-dark-strong: rgba(216, 220, 227, 0.30);
  --rule-light: rgba(11, 11, 13, 0.12);
  --rule-light-strong: rgba(11, 11, 13, 0.26);
  --shadow-soft: 0 24px 44px -30px rgba(0, 0, 0, 0.9);
  --glow-gold: 0 0 18px rgba(201, 162, 39, 0.24);

  /* 字体栈 */
  --font-display: "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  /* 尺度 */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --measure: 46em;
  --radius: 2px;
  --dur: 220ms;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- 基础排版 ---------- */
html { scroll-behavior: smooth; }

body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(201, 162, 39, 0.34); color: #FFFFFF; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.04; letter-spacing: -0.024em; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.18; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.34; font-weight: 700; }

p { font-size: 1rem; }

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.78;
  color: rgba(216, 220, 227, 0.86);
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: var(--measure);
}

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

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

.muted { color: rgba(216, 220, 227, 0.6); }

.link-gold {
  color: var(--gold-hi);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(201, 162, 39, 0.5);
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

.link-gold:hover { color: var(--gold); text-decoration-color: var(--gold); }

/* ---------- 焦点 ---------- */
:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

#main-content:focus:not(:focus-visible) { outline: none; }

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 144px); }
.section--tight { padding-block: clamp(44px, 5.5vw, 84px); }

.section--ink { background-color: var(--ink); color: var(--silver); }
.section--iron { background-color: var(--iron); color: var(--silver); }
.section--paper { background-color: var(--paper); color: #16161A; }
.section--indigo { background-color: var(--indigo); color: #E6E1F8; }
.section--teal { background-color: var(--teal); color: #D6E6E2; }
.section--wine { background-color: var(--wine); color: #F3E2E6; }

.section--paper .lede,
.section--paper .muted { color: rgba(11, 11, 13, 0.66); }

.section--paper :focus-visible { outline-color: #8a6d14; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 36px); }
.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)); }

.col-aside { grid-column: 1 / 4; }
.col-main { grid-column: 4 / 11; }
.col-wide { grid-column: 4 / 13; }

/* ---------- 章节标记 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.72;
}

.rule-gold {
  height: 1px;
  border: 0;
  background-image: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  padding-block: 16px;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: rgba(216, 220, 227, 0.58);
}

.breadcrumb a { transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--gold-hi); }

.breadcrumb__sep { opacity: 0.42; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.68em 1.35em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn--sm { min-height: 38px; padding: 0.5em 1em; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--gold {
  background-image: linear-gradient(135deg, var(--gold-hi), var(--gold) 62%, #A5851C);
  border-color: var(--gold);
  color: #1A1508;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background-image: linear-gradient(135deg, #F4DC93, var(--gold-hi) 62%, var(--gold));
  box-shadow: 0 8px 22px -8px rgba(201, 162, 39, 0.55);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--rule-dark-strong);
  color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-hi);
  transform: translateY(-1px);
}

.btn--violet {
  border-color: rgba(108, 62, 245, 0.6);
  color: #C4B2FF;
  background-color: rgba(108, 62, 245, 0.12);
}

.btn--violet:hover,
.btn--violet:focus-visible {
  border-color: var(--violet);
  color: #FFFFFF;
  background-color: rgba(108, 62, 245, 0.28);
}

.section--paper .btn--ghost { border-color: var(--rule-light-strong); color: #16161A; }
.section--paper .btn--ghost:hover { border-color: #8a6d14; color: #8a6d14; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.26em 0.7em;
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.tag--gold { border-color: rgba(201, 162, 39, 0.5); color: var(--gold-hi); }
.tag--violet { border-color: rgba(108, 62, 245, 0.55); color: #BCA7FF; }

.section--paper .tag { border-color: var(--rule-light-strong); color: #16161A; }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  background-color: var(--iron);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.card:hover { border-color: rgba(201, 162, 39, 0.5); transform: translateY(-2px); }

.card--light {
  background-color: #FFFFFF;
  border-color: var(--rule-light);
  color: #16161A;
  box-shadow: 0 20px 38px -32px rgba(11, 11, 13, 0.6);
}

.card--light:hover { border-color: rgba(138, 109, 20, 0.5); }

.card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

/* ---------- 数字面板 ---------- */
.stat { display: block; }

.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-hi);
}

.section--paper .stat__value { color: #8A6D14; }

.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: rgba(216, 220, 227, 0.62);
}

.section--paper .stat__label { color: rgba(11, 11, 13, 0.6); }

/* ---------- 参数表 ---------- */
.dtable__wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  background-color: var(--iron);
  -webkit-overflow-scrolling: touch;
}

.dtable {
  width: 100%;
  min-width: 640px;
  font-size: 0.9375rem;
}

.dtable th,
.dtable td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule-dark-soft);
}

.dtable thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(216, 220, 227, 0.62);
  border-bottom-color: var(--rule-dark-strong);
  white-space: nowrap;
}

.dtable tbody tr { transition: background-color var(--dur) var(--ease); }
.dtable tbody tr:hover { background-color: rgba(201, 162, 39, 0.07); }
.dtable tbody tr:last-child th,
.dtable tbody tr:last-child td { border-bottom: 0; }

.dtable .mono { color: var(--gold-hi); }

/* ---------- 手风琴 ---------- */
.accordion { border-top: 1px solid var(--rule-dark); }

.accordion__item { border-bottom: 1px solid var(--rule-dark); }

.accordion__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--paper);
  transition: color var(--dur) var(--ease);
}

.accordion__trigger::-webkit-details-marker { display: none; }
.accordion__trigger::marker { content: ""; }

.accordion__trigger::after {
  content: "＋";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
}

.accordion__item[open] .accordion__trigger::after { content: "－"; }

.accordion__trigger:hover { color: var(--gold-hi); }

.accordion__panel {
  padding-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(216, 220, 227, 0.78);
  max-width: var(--measure);
}

.section--paper .accordion { border-top-color: var(--rule-light); }
.section--paper .accordion__item { border-bottom-color: var(--rule-light); }
.section--paper .accordion__trigger { color: #16161A; }
.section--paper .accordion__panel { color: rgba(11, 11, 13, 0.72); }

/* ---------- 图片容器（页面阶段放占位） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background-color: var(--iron);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
}

.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.media--bleed { margin-inline: calc(var(--gutter) * -1); }

.media--tilt { clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }

.media__frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 39, 0.28);
  pointer-events: none;
}

.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--silver);
  background-image: linear-gradient(180deg, rgba(11, 11, 13, 0), rgba(11, 11, 13, 0.88));
}

.section--paper .media { border-color: var(--rule-light); background-color: #E7E9E6; }
.section--paper .media__caption { color: #16161A; background-image: linear-gradient(180deg, rgba(245, 246, 244, 0), rgba(245, 246, 244, 0.92)); }

/* ---------- 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

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

/* ============================================================
   头部
   ============================================================ */
.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 140;
  transform: translateY(-160%);
  padding: 10px 18px;
  background-color: var(--gold);
  color: #1A1508;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus { transform: translateY(12px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--ink);
  border-bottom: 1px solid var(--rule-dark);
}

.header-utility {
  overflow: hidden;
  max-height: 64px;
  background-color: var(--iron);
  border-bottom: 1px solid var(--rule-dark-soft);
  transition: max-height 300ms var(--ease), opacity 220ms var(--ease), border-color 220ms var(--ease);
}

.header-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-block: 7px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--silver);
}

.header-utility__note {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(216, 220, 227, 0.7);
}

.header-utility__tel {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold-hi);
}

.header-utility__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(216, 220, 227, 0.5);
}

.site-header[data-condensed] .header-utility {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.header-main { position: relative; }

.header-main__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  min-height: 70px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background-image: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #8A6D14);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: var(--glow-gold);
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.brand__sub {
  margin-top: 4px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold);
}

/* 主导航 */
.nav { margin-inline: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 26px);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--silver);
  transition: color var(--dur) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover { color: var(--paper); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--gold-hi); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__link:focus-visible { outline-offset: 6px; }

/* 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--silver);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-hi); }

.nav-toggle__bars { display: block; width: 18px; }

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background-color: currentColor;
  transition: transform var(--dur) var(--ease);
}

.nav-toggle__bars span + span { margin-top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  background-image: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background-color: var(--ink);
  color: var(--silver);
  border-top: 1px solid var(--rule-dark);
}

.footer-top { padding-block: clamp(48px, 7vw, 88px); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.footer-brand { max-width: 34ch; }

.footer-brand__note {
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(216, 220, 227, 0.68);
}

.footer-brand__meta {
  margin-top: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(201, 162, 39, 0.75);
}

.footer-col__title {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 1px;
  background-color: var(--gold);
}

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

.footer-col__link,
.footer-col__text {
  display: inline-block;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(216, 220, 227, 0.72);
}

.footer-col__link { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.footer-col__link:hover { color: var(--gold-hi); transform: translateX(3px); }

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

.footer-contact__row { display: grid; gap: 4px; }

.footer-contact__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(216, 220, 227, 0.46);
}

.footer-contact__value {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-word;
}

.footer-bottom { border-top: 1px solid var(--rule-dark); }

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 22px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(216, 220, 227, 0.52);
}

.footer-bottom__legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6em; }
.footer-bottom__dot { opacity: 0.45; }
.footer-bottom__copy { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .nav__list { gap: 10px; }
  .nav__link { font-size: 0.875rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: 56ch; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-aside { grid-column: 1 / 13; }
  .col-main { grid-column: 1 / 13; }
  .col-wide { grid-column: 1 / 13; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-inline: 0;
    display: none;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    background-color: var(--ink);
    border-top: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
    box-shadow: 0 30px 46px -28px rgba(0, 0, 0, 0.95);
  }

  .nav[data-open] { display: block; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 18px;
  }

  .nav__link {
    display: block;
    padding: 15px 0;
    font-size: 1rem;
    color: var(--silver);
    border-bottom: 1px solid var(--rule-dark-soft);
  }

  .nav__link::after { display: none; }

  .nav__link:hover { color: var(--gold-hi); }

  .nav__link[aria-current="page"] {
    color: var(--gold-hi);
    border-bottom-color: rgba(201, 162, 39, 0.42);
  }

  .header-main__inner { gap: 14px; }

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

@media (max-width: 720px) {
  .header-utility__inner { justify-content: center; }
  .header-utility__note { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom__inner { justify-content: flex-start; }
  .btn { width: auto; }
  .btn--block { width: 100%; }
}

@media (max-width: 560px) {
  .header-actions__cta { display: none; }
  .brand__name { font-size: 1.125rem; }
  .header-main__inner { min-height: 62px; }
  .dtable { min-width: 520px; font-size: 0.875rem; }
  .dtable th, .dtable td { padding: 12px 14px; }
}

/* ============================================================
   无障碍 / 动效退化
   ============================================================ */
@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;
    scroll-behavior: auto !important;
  }

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

  .card:hover,
  .btn:hover,
  .footer-col__link:hover { transform: none; }
}
