/* ==========================================================================
   易发老版攻略 · 共享站点样式  /assets/site.css
   复古未来主义游戏档案室 —— 堆叠面板 / 悬浮胶囊 / 纸张叠层 / 扫描线
   ========================================================================== */

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

:root {
  /* —— 色彩节奏 —— */
  --ink: #14181A;            /* 档案墨黑 */
  --green: #4A5A4E;          /* 机身灰绿 */
  --green-deep: #26312B;     /* 深舱绿 */
  --paper: #F2EFE6;          /* 攻略纸白 */
  --paper-2: #E2DCCB;        /* 纸层灰 */
  --gold: #B98A2E;           /* 暗金 */
  --gold-lt: #E6C67A;        /* 亮金 */
  --neon: #33E1D0;           /* 霓虹青 */
  --alert: #FF7A2F;          /* 警示橙 */
  --scan: #A9B2A6;           /* 扫描灰 */

  --ink-soft: #5C665C;
  --paper-dim: #CFD8CD;

  /* —— 形状与材质 —— */
  --radius: 6px;
  --radius-pill: 999px;
  --border-print: 2px solid var(--ink);
  --shadow-panel: 10px 12px 0 rgba(20, 24, 26, .20);
  --shadow-layer: 6px 6px 0 var(--paper-2), 10px 12px 0 rgba(20, 24, 26, .22);
  --shadow-soft: 0 12px 34px rgba(10, 14, 12, .38);

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

  /* —— 骨架 —— */
  --wrap: 1240px;
  --header-h: 74px;

  color-scheme: dark light;
}

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

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--green-deep);
  background-image:
    radial-gradient(1100px 560px at 8% -12%, rgba(51, 225, 208, .10), transparent 62%),
    radial-gradient(900px 520px at 108% 4%, rgba(185, 138, 46, .14), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .016) 0 2px, transparent 2px 4px);
  background-attachment: fixed;
}

img, svg, picture, video { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }
p { margin: 0 0 18px; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

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

/* —— 跳转链接 —— */
.skip-link {
  position: fixed;
  left: 14px;
  top: -72px;
  z-index: 200;
  display: inline-block;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 15px;
  color: #05201D;
  text-decoration: none;
  background: var(--neon);
  border: var(--border-print);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 0 rgba(20, 24, 26, .45);
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

/* ==========================================================================
   页头 —— 悬浮胶囊浮岛
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(38, 49, 43, .97) 0%, rgba(38, 49, 43, .80) 72%, rgba(38, 49, 43, .18) 100%);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-condensed {
  padding: 7px 0;
  background: rgba(38, 49, 43, .985);
  box-shadow: 0 10px 24px rgba(8, 12, 10, .45);
  border-bottom: 2px solid rgba(185, 138, 46, .55);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 品牌铭牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--paper);
  flex: 0 0 auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-lt);
  background: linear-gradient(160deg, #313E36, #1B231E);
  border: 2px solid var(--gold);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(230, 198, 122, .28), 3px 3px 0 rgba(20, 24, 26, .55);
}
.brand__text { display: flex; align-items: baseline; gap: 8px; }
.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 1.5px 0 0 rgba(185, 138, 46, .6), -1px 0 0 rgba(51, 225, 208, .18);
}
.brand__plate {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--green-deep);
  background: var(--gold-lt);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 1px 6px;
}

/* 导航浮岛 */
.nav-shell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav { display: flex; align-items: center; gap: 10px; min-width: 0; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: rgba(74, 90, 78, .92);
  border: 2px solid rgba(20, 24, 26, .62);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(242, 239, 230, .13), 0 7px 20px rgba(0, 0, 0, .30);
}
.nav__item { display: block; }
.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #E7EDE6;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: #1A1405; background: var(--gold-lt); }
.nav__link[aria-current="page"] {
  color: #05201D;
  font-weight: 800;
  background: var(--neon);
  box-shadow: 0 0 0 2px rgba(51, 225, 208, .30), 0 0 16px rgba(51, 225, 208, .35);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #05201D;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #5AF3E3, #33E1D0 55%, #22C6B8);
  border: 2px solid #0E5C56;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 rgba(20, 24, 26, .48), 0 0 18px rgba(51, 225, 208, .38);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav-cta::after { content: "›"; font-size: 17px; line-height: 1; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(20, 24, 26, .48), 0 0 26px rgba(51, 225, 208, .55); }

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  background: rgba(74, 90, 78, .94);
  border: 2px solid var(--gold);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.nav-toggle__box { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--gold-lt);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: rgba(20, 24, 26, .38);
  overflow: hidden;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-lt) 45%, var(--neon) 100%);
}

/* ==========================================================================
   页脚 —— 机身灰绿大区
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  color: #E9EEE7;
  background: linear-gradient(180deg, var(--green) 0%, #3D4B41 58%, #2C3830 100%);
  border-top: 3px solid var(--gold);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px),
    radial-gradient(600px 260px at 88% 0%, rgba(51, 225, 208, .10), transparent 65%);
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.45fr;
  gap: 30px 24px;
  padding-block: clamp(36px, 5vw, 62px) 26px;
}
.footer__col { min-width: 0; }
.footer__col--brand { max-width: 40ch; }

.footer__brand {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--gold-lt);
  text-shadow: 1.5px 0 0 rgba(185, 138, 46, .5);
}
.footer__plate {
  margin-left: 8px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--green-deep);
  background: var(--gold-lt);
  border-radius: 3px;
}
.footer__tagline {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--paper-dim);
}

.footer__title {
  margin: 0 0 13px;
  padding-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--neon);
  border-bottom: 1px solid rgba(169, 178, 166, .3);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.footer__list--plain li { color: var(--paper-dim); line-height: 1.7; }

.footer__link {
  color: #E9EEE7;
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 178, 166, .45);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.footer__link:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

.footer__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 2;
  color: #DDE4DB;
  overflow-wrap: anywhere;
}
.footer__note {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: #B9C4B8;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block: 15px 28px;
  border-top: 1px solid rgba(169, 178, 166, .28);
  font-size: 13.5px;
  color: #B9C4B8;
}
.footer__stamp {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ==========================================================================
   通用骨架
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 34px);
}
.container--narrow { max-width: 880px; }

.section { padding-block: clamp(28px, 5vw, 64px); }

.surface-paper { background: var(--paper); color: var(--ink); }

.stack { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 26px); }
.stack--tight { gap: 12px; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid--57 { grid-template-columns: 5fr 7fr; }
.grid--75 { grid-template-columns: 7fr 5fr; }
.grid--363 { grid-template-columns: 3fr 6fr 3fr; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }

/* ==========================================================================
   排版组件
   ========================================================================== */
.mono {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .02em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.plate {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid rgba(20, 24, 26, .35);
  border-radius: 3px;
}
.plate--gold { background: var(--gold-lt); border-color: var(--gold); }
.plate--neon { background: var(--neon); border-color: #0E5C56; color: #05201D; }
.plate--alert { background: var(--alert); border-color: #B34A11; color: #2A0D00; }

.section-head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 18px;
}
.section-head__index {
  padding-left: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--gold-lt);
  border-left: 3px solid var(--gold);
}
.section-head__title {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 1.5px 0 0 rgba(185, 138, 46, .45), -1px 0 0 rgba(51, 225, 208, .16);
}
.section-head__note {
  margin: 0;
  font-size: 14.5px;
  color: #C6D0C4;
}

.prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.prose p { margin: 0 0 18px; }
.prose h2 { margin: 28px 0 12px; font-size: 24px; }
.prose h3 { margin: 24px 0 10px; font-size: 20px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.35em; }
.prose li { margin-bottom: 8px; }
.prose code {
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: .92em;
  background: var(--paper-2);
  border-radius: 3px;
}
.prose blockquote {
  margin: 0 0 18px;
  padding: 10px 16px;
  background: rgba(226, 220, 203, .6);
  border-left: 4px solid var(--gold);
}
.prose a { color: #1D6A62; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(185, 138, 46, .6);
}
.link-more::after { content: "→"; transition: transform .18s ease; }
.link-more:hover { color: #8A5A10; }
.link-more:hover::after { transform: translateX(3px); }

/* 面包屑 */
.breadcrumb {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb__item { display: flex; align-items: center; gap: 8px; color: #B9C4B8; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--gold); }
.breadcrumb__link {
  color: var(--gold-lt);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 198, 122, .4);
}
.breadcrumb__link:hover { color: var(--neon); border-color: var(--neon); }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  border: var(--border-print);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--primary {
  color: #05201D;
  background: linear-gradient(180deg, #5AF3E3, #33E1D0 55%, #22C6B8);
  border-color: #0E5C56;
  box-shadow: 0 4px 0 rgba(20, 24, 26, .5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(20, 24, 26, .5); }
.btn--gold {
  color: #241A05;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  border-color: #7A5A1B;
  box-shadow: 0 4px 0 rgba(20, 24, 26, .5);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(20, 24, 26, .5); }
.btn--ghost {
  color: var(--paper);
  background: rgba(242, 239, 230, .08);
  border-color: var(--paper-2);
}
.btn--ghost:hover { color: var(--ink); background: var(--paper); }
.btn--quiet {
  color: var(--gold-lt);
  background: transparent;
  border-color: var(--gold);
}
.btn--quiet:hover { color: var(--ink); background: var(--gold-lt); }

/* ==========================================================================
   面板 · 纸张叠层
   ========================================================================== */
.panel {
  position: relative;
  color: var(--ink);
  background: var(--paper);
  border: var(--border-print);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}
.panel--stacked { box-shadow: var(--shadow-layer); }
.panel--dark {
  color: var(--paper);
  background: linear-gradient(160deg, #2E3A33, #1E2721);
  border-color: var(--gold);
}
.panel--dark .panel__body { color: var(--paper); }

.panel__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 18px;
  color: var(--paper);
  background: linear-gradient(180deg, #39473E, #26312B);
  border-bottom: 2px solid var(--ink);
  border-radius: 4px 4px 0 0;
}
.panel__index {
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: #0C1A17;
  background: var(--gold-lt);
  border-radius: 3px;
}
.panel__title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .01em; }
.panel__meta { margin-left: auto; font-family: var(--font-mono); font-size: 13px; color: #B9C4B8; }
.panel__body { padding: clamp(16px, 2.4vw, 26px); }
.panel__body > :first-child { margin-top: 0; }
.panel__body > :last-child { margin-bottom: 0; }

/* ==========================================================================
   高密度索引条目
   ========================================================================== */
.index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.index-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 6px 14px;
  align-items: baseline;
  padding: 12px 6px;
  border-bottom: 1px dashed rgba(20, 24, 26, .28);
  font-size: 15.5px;
}
.index-row__no { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--gold); }
.index-row__name { font-weight: 600; }
.index-row__meta { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }

/* ==========================================================================
   标签页 · 分段切换
   ========================================================================== */
.tabs { display: block; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  background: var(--paper-2);
  border: var(--border-print);
  border-radius: var(--radius-pill);
}
.tab {
  appearance: none;
  padding: 8px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #3A443C;
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.tab:hover { color: var(--ink); background: rgba(51, 225, 208, .3); }
.tab[aria-selected="true"] { color: var(--paper); background: var(--green-deep); }
.tabpanel { padding-top: 18px; }
.tabpanel[hidden] { display: none; }

/* ==========================================================================
   提示板
   ========================================================================== */
.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15.5px;
  color: var(--ink);
  background: rgba(230, 198, 122, .18);
  border: 2px solid var(--gold);
  border-left-width: 6px;
  border-radius: var(--radius);
}
.notice--alert { background: rgba(255, 122, 47, .16); border-color: var(--alert); }
.notice__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8A5A10;
  white-space: nowrap;
}

/* ==========================================================================
   图片容器（页面阶段放置旧版截图 / 平板实拍 / 版本对比图）
   ========================================================================== */
.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, rgba(169, 178, 166, .38) 0 10px, rgba(226, 220, 203, .8) 10px 20px);
  border: var(--border-print);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(20, 24, 26, .2);
}
.img-frame > img,
.img-frame > picture > img,
.img-frame > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(20, 24, 26, .07) 0 1px, transparent 1px 4px);
}
.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--scroll { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--plate { border-color: var(--gold); }
.img-frame__tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; }

/* ==========================================================================
   动效
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

.scanlines { position: relative; }
.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(20, 24, 26, .07) 0 1px, transparent 1px 4px);
  background-size: 100% 120px;
  animation: yf-drift 11s linear infinite;
}
@keyframes yf-drift {
  from { background-position-y: 0; }
  to { background-position-y: 120px; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1240px) {
  .nav__link { padding: 7px 10px; font-size: 14px; }
  .brand__name { font-size: 17px; }
}

@media (max-width: 1080px) {
  .grid--57, .grid--75, .grid--363 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 22px; }
  .footer__col--brand { max-width: none; grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .site-header { padding: 12px 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) + 6px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 14px;
    background: linear-gradient(180deg, #313F37, #212A25);
    border: 2px solid var(--gold);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
  }
  .nav[data-open="false"] { display: none; }
  .nav[data-open="true"] { display: flex; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav__link {
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid rgba(169, 178, 166, .2);
    border-radius: 10px;
  }
  .nav-cta { justify-content: center; padding: 12px 18px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand__mark { width: 34px; height: 34px; font-size: 16px; }
  .brand__name { font-size: 16px; }
  .grid--2, .grid--auto { grid-template-columns: 1fr; }
  .panel__meta { margin-left: 0; width: 100%; }
  .index-row { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; padding-block: 34px 22px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .img-frame { aspect-ratio: 4 / 3; }
  .img-frame--wide { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scanlines::after { animation: none; }
}
