/* =========================================================
   大厅游戏官网 · 共享样式表  /assets/site.css
   夜间大厅：墨蓝底 + 暖金灯带 + 青绿入口信号
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, 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; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B1524;
  --ink-2: #14243B;
  --gold: #E3B25C;
  --gold-soft: #F4D79C;
  --signal: #34CFA4;
  --signal-deep: #0F7A61;
  --clay: #C1683C;
  --stone: #74808F;
  --paper: #F1EBDF;

  --line: rgba(227, 178, 92, 0.28);
  --line-strong: rgba(227, 178, 92, 0.5);
  --line-soft: rgba(116, 128, 143, 0.28);

  --shadow-hard: 12px 12px 0 rgba(4, 8, 16, 0.6);
  --shadow-mid: 8px 8px 0 rgba(4, 8, 16, 0.55);

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

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-offset: 132px;
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(112deg, rgba(227, 178, 92, 0.05) 0 2px, transparent 2px 48px),
    radial-gradient(1100px 560px at 10% -8%, rgba(52, 207, 164, 0.10), transparent 62%),
    radial-gradient(900px 520px at 92% 2%, rgba(227, 178, 92, 0.13), transparent 64%),
    linear-gradient(168deg, #0B1524 0%, #0E1B2E 46%, #091120 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -20%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(112deg,
    transparent 0%,
    rgba(227, 178, 92, 0.10) 32%,
    transparent 50%,
    rgba(52, 207, 164, 0.08) 72%,
    transparent 100%);
  background-size: 220% 220%;
  animation: lamp-sweep 18s ease-in-out infinite alternate;
}

@keyframes lamp-sweep {
  from { background-position: 0% 28%; }
  to { background-position: 100% 72%; }
}

h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.22; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }
p { text-wrap: pretty; }

a { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
a:hover { color: var(--gold-soft); }

:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }
#main-content:focus { outline: none; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 120;
  padding: 12px 18px;
  background: var(--gold);
  color: #1A1206;
  font-weight: 800;
  border: 2px solid var(--gold-soft);
  box-shadow: var(--shadow-mid);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.mono-num { font-family: var(--font-mono); color: var(--gold); letter-spacing: 0.02em; }

/* ---------- 4. 容器与布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter);
  align-items: start;
}

.split-aside { position: sticky; top: var(--header-offset); }
.split-main { min-width: 0; }

.prose { max-width: 40em; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose ul { margin-top: 0.8em; display: grid; gap: 0.5em; }
.prose ul li { padding-left: 1.1em; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 8px; height: 2px;
  background: var(--gold);
}

.band {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: rgba(20, 36, 59, 0.5);
  padding: clamp(28px, 5vw, 56px) 0;
}
.band--deep { background: linear-gradient(180deg, rgba(9, 17, 30, 0.9), rgba(20, 36, 59, 0.7)); }
.band--paper { background: var(--paper); color: #1B2430; border-color: var(--gold); }
.band--paper a { color: #16452F; }

.section { padding: clamp(26px, 4.4vw, 52px) 0; }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(18px, 3vw, 30px); }

.kicker {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--stone);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
}

.section-title { color: var(--paper); }
.section-title em { font-style: normal; color: var(--gold); }
.section-note { font-size: 14px; color: var(--stone); max-width: 44em; }

/* ---------- 5. 章节目录 ---------- */
.toc-list {
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--line);
}
.toc-item { min-width: 0; }
.toc-link {
  display: block;
  margin-left: -2px;
  padding: 9px 12px;
  font-size: 15px;
  color: var(--stone);
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.toc-link:hover { color: var(--gold-soft); background: rgba(227, 178, 92, 0.07); }
.toc-link.is-active,
.toc-link[aria-current="true"] {
  color: var(--gold);
  font-weight: 800;
  border-left-color: var(--gold);
  background: rgba(227, 178, 92, 0.08);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold-soft);
  box-shadow: var(--shadow-mid);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 rgba(4, 8, 16, 0.62); color: var(--gold-soft); }
.btn:active { transform: translate(2px, 2px); box-shadow: 4px 4px 0 rgba(4, 8, 16, 0.6); }

.btn--signal {
  background: var(--signal-deep);
  border-color: var(--signal);
  color: #EAFBF5;
}
.btn--signal:hover { background: var(--signal); border-color: #8FF0D8; color: #06231A; }

.btn--gold { background: var(--gold); border-color: var(--gold-soft); color: #1A1206; }
.btn--gold:hover { background: var(--gold-soft); color: #1A1206; }

.btn--quiet { border-color: var(--line-soft); color: var(--stone); box-shadow: none; }
.btn--quiet:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }

/* ---------- 7. 面包屑 ---------- */
.breadcrumbs { width: 100%; max-width: var(--shell); margin-inline: auto; padding: 20px var(--gutter) 0; }
.breadcrumbs-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--stone); }
.breadcrumbs-item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs-item + .breadcrumbs-item::before { content: "/"; color: var(--line-strong); }
.breadcrumbs-link { color: var(--stone); }
.breadcrumbs-link:hover { color: var(--gold); }
.breadcrumbs-current { color: var(--gold); font-weight: 700; }

/* ---------- 8. 面板 / 卡片 / 标签 ---------- */
.panel {
  border: 2px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 36, 59, 0.94), rgba(11, 21, 36, 0.94));
  box-shadow: var(--shadow-hard);
  padding: clamp(18px, 3vw, 28px);
}
.panel--paper { background: var(--paper); border-color: var(--gold); color: #1B2430; }
.panel--paper .panel-title { color: #14243B; }
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; color: var(--gold); letter-spacing: -0.01em; }
.panel--paper .panel-head { border-bottom-color: rgba(20, 36, 59, 0.25); }
.panel-body > * + * { margin-top: 14px; }

.grid-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-band {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  scrollbar-color: var(--gold) rgba(20, 36, 59, 0.6);
}
.card-band > * { flex: 0 0 min(330px, 78vw); scroll-snap-align: start; }

.card {
  border: 2px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 36, 59, 0.96), rgba(11, 21, 36, 0.96));
  box-shadow: var(--shadow-mid);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 900; color: var(--gold-soft); letter-spacing: -0.01em; }
.card-text { font-size: 15.5px; color: var(--paper); }
.card-meta { margin-top: auto; font-family: var(--font-mono); font-size: 13px; color: var(--stone); letter-spacing: 0.04em; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  color: var(--gold-soft);
  background: rgba(227, 178, 92, 0.08);
}
.tag--ok { border-color: rgba(52, 207, 164, 0.55); color: var(--signal); background: rgba(15, 122, 97, 0.18); }
.tag--warn { border-color: rgba(193, 104, 60, 0.6); color: #E9976B; background: rgba(193, 104, 60, 0.16); }

/* ---------- 9. 表格与数值 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
  background: rgba(20, 36, 59, 0.55);
}
.data-table { min-width: 520px; font-size: 15.5px; }
.data-table th {
  background: var(--gold-soft);
  color: #231705;
  font-weight: 900;
  text-align: left;
  padding: 12px 14px;
  letter-spacing: 0.02em;
}
.data-table td {
  padding: 12px 14px;
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.data-table tbody tr:nth-child(even) td { background: rgba(11, 21, 36, 0.55); }
.data-table td .mono-num { font-size: 15px; }

.meter {
  position: relative;
  height: 12px;
  border: 2px solid var(--line-strong);
  background: rgba(11, 21, 36, 0.85);
  overflow: hidden;
}
.meter-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.meter-fill--signal { background: linear-gradient(90deg, var(--signal-deep), var(--signal)); }
.meter-fill--clay { background: linear-gradient(90deg, #8E4526, var(--clay)); }

.stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 2px solid var(--line-strong);
  background: rgba(20, 36, 59, 0.72);
}
.stat-value { font-family: var(--font-mono); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--gold); }
.stat-label { font-size: 13px; letter-spacing: 0.1em; color: var(--stone); }

/* ---------- 10. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-mid);
  background:
    repeating-linear-gradient(112deg, rgba(227, 178, 92, 0.06) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, var(--ink-2), #0B1524);
}
.media-frame img,
.media-frame picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.media-frame:hover img { transform: scale(1.02); }
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-cap { margin-top: 10px; font-size: 14px; color: var(--stone); line-height: 1.7; }

/* ---------- 11. 状态点 ---------- */
.state-dot,
.nav-signal {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(52, 207, 164, 0.16);
  animation: signal-breathe 2.8s ease-in-out infinite;
}
.nav-signal { width: 8px; height: 8px; }

@keyframes signal-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ---------- 12. 页头：居中刊头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(11, 21, 36, 0.97), rgba(20, 36, 59, 0.95));
  border-bottom: 2px solid var(--line-strong);
  backdrop-filter: blur(7px);
  box-shadow: 0 10px 28px rgba(3, 7, 14, 0.55);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 14px var(--gutter) 0;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.masthead-annot {
  justify-self: start;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--stone);
  padding-left: 10px;
  border-left: 2px solid var(--line-strong);
}

.masthead-brand {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 2px 10px;
}
.brand-name {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1.1;
}
.masthead-brand:hover .brand-name { color: var(--gold-soft); }
.brand-tagline {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--stone);
}

.masthead-state {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(52, 207, 164, 0.42);
  background: rgba(15, 122, 97, 0.18);
  color: var(--signal);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 2px solid var(--line-strong);
  background: rgba(11, 21, 36, 0.9);
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.nav-toggle-mark { display: grid; gap: 4px; }
.nav-toggle-mark i { display: block; width: 16px; height: 2px; background: currentColor; }
.nav-toggle[aria-expanded="true"] {
  background: var(--gold);
  border-color: var(--gold-soft);
  color: #1A1206;
}

.site-nav {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.nav-item { display: flex; }
.nav-item + .nav-item { border-left: 1px solid rgba(227, 178, 92, 0.18); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 15.5px;
  letter-spacing: 0.05em;
  color: var(--paper);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--gold-soft); background: rgba(227, 178, 92, 0.07); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--gold); font-weight: 900; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- 13. 页脚：厚重深色块 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, #0A1220 0%, #060B14 62%, #04080F 100%);
  border-top: 3px solid var(--line-strong);
  color: var(--paper);
  box-shadow: 0 -14px 40px rgba(3, 7, 14, 0.6);
}
.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 64px) var(--gutter) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.footer-brandblock { display: grid; gap: 8px; justify-items: start; }
.footer-brand {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.footer-tagline { font-size: 15px; color: var(--paper); }
.footer-state {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(52, 207, 164, 0.42);
  background: rgba(15, 122, 97, 0.18);
  color: var(--signal);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.footer-list { margin-top: 14px; display: grid; gap: 10px; }
.footer-link { display: inline-block; font-size: 15px; color: var(--stone); transition: color 0.2s ease, transform 0.2s ease; }
.footer-link:hover { color: var(--gold); transform: translateX(3px); }

.footer-bottom {
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px dashed rgba(227, 178, 92, 0.32);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.footer-legal { font-family: var(--font-mono); font-size: 14px; color: var(--gold); letter-spacing: 0.04em; }
.footer-contact { font-family: var(--font-mono); font-size: 14px; color: var(--paper); }
.footer-address,
.footer-note { grid-column: 1 / -1; font-size: 14px; line-height: 1.75; color: var(--stone); }
.footer-signoff { grid-column: 1 / -1; font-size: 15px; font-weight: 800; color: var(--gold-soft); }
.footer-year { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 13px; color: var(--stone); }

/* ---------- 14. 滚动进度与返回顶部 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--signal));
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  background: rgba(20, 36, 59, 0.96);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-mid);
  opacity: 0;
  visibility: hidden;
  transform: translate(12px, 20px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top:hover { color: #1A1206; background: var(--gold); }
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: translate(0, 0); }

/* ---------- 15. 内容显现 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 16. 响应式：平板与手机 ---------- */
@media (max-width: 1080px) {
  :root { --header-offset: 124px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-offset: 108px; }
  .split-layout { grid-template-columns: 1fr; gap: 28px; }
  .split-aside { position: static; top: auto; }
  .toc-list { border-left-width: 2px; }
  .band { padding: 26px 0; }
}

@media (max-width: 880px) {
  .masthead { grid-template-columns: 1fr auto; gap: 10px; padding-right: 104px; }
  .masthead-annot { display: none; }
  .masthead-brand { justify-self: start; justify-items: start; padding: 0; }
  .brand-name { font-size: clamp(21px, 6vw, 26px); }
  .brand-tagline { font-size: 11.5px; letter-spacing: 0.16em; }
  .masthead-state { display: none; }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: var(--gutter);
    top: 12px;
  }

  .site-nav { display: none; margin-top: 12px; border-bottom: 2px solid var(--line-strong); }
  .site-nav[data-open] { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-item + .nav-item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { border-left: 3px solid var(--gold); padding-left: 12px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .card-band > * { flex: 0 0 82vw; }
  .panel { padding: 18px 16px; }
  .to-top { padding: 10px 13px; font-size: 13px; }
}

/* ---------- 17. 无障碍：减少动效 ---------- */
@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;
  }
  body::before { animation: none; background-position: 30% 40%; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  .to-top { transform: none; }
  .media-frame:hover img { transform: none; }
}
