/* ==========================================================================
   问鼎游艺 · 共享站点样式 /assets/site.css
   夜间档案阅览室：墨黑基底 + 暖铜金刻度 + 青瓷绿状态 + 米纸白浅区
   ========================================================================== */

:root {
  --wd-ink: #14100E;
  --wd-ink-2: #26201C;
  --wd-copper: #C08A3E;
  --wd-copper-hi: #E3B778;
  --wd-celadon: #4E7C6A;
  --wd-amber: #D97D28;
  --wd-paper: #F5EFE4;
  --wd-paper-hi: #F2D9A8;
  --wd-muted: #9A8E80;
  --wd-teal-deep: #2C4A42;

  --wd-serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "STZhongsong", Georgia, "Times New Roman", serif;
  --wd-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wd-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Roboto Mono", "Courier New", monospace;

  --wd-gutter: clamp(18px, 4vw, 56px);
  --wd-radius-lg: 20px;
  --wd-radius-md: 12px;
  --wd-radius-pill: 999px;
  --wd-line: rgba(192, 138, 62, 0.26);
  --wd-line-soft: rgba(192, 138, 62, 0.16);
  --wd-line-strong: rgba(192, 138, 62, 0.5);
  --wd-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--wd-ink);
  color: var(--wd-paper);
  font-family: var(--wd-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

img { display: block; max-width: 100%; height: auto; }

button { font-family: inherit; }

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--wd-serif);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--wd-paper);
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 4.2vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 17px; }

p { margin: 0; }

a {
  color: var(--wd-copper-hi);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(192, 138, 62, 0.45);
  transition: color 0.18s var(--wd-ease);
}

a:hover { color: #fff3dd; }

:focus-visible {
  outline: 2px solid var(--wd-copper-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(192, 138, 62, 0.35);
  color: #fff8ec;
}

/* ---------- 通用工具 ---------- */
.wd-shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--wd-gutter);
}

.wd-num {
  font-family: var(--wd-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.wd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wd-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wd-copper-hi);
}

.wd-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* ---------- 区段带 ---------- */
.wd-band {
  position: relative;
  padding-block: clamp(40px, 6vw, 84px);
}

.wd-band--ink { background: var(--wd-ink); }

.wd-band--panel { background: var(--wd-ink-2); }

.wd-band--paper {
  background-color: var(--wd-paper);
  background-image: repeating-linear-gradient(0deg, rgba(20, 16, 14, 0.035) 0 1px, transparent 1px 3px);
  color: #2b221c;
  --wd-muted: #7c6b59;
}

.wd-band--paper h1,
.wd-band--paper h2,
.wd-band--paper h3,
.wd-band--paper h4 { color: #14100e; }

.wd-band--paper .wd-card {
  color: var(--wd-paper);
  --wd-muted: #9A8E80;
}

.wd-band--paper .wd-card h2,
.wd-band--paper .wd-card h3,
.wd-band--paper .wd-card h4 { color: var(--wd-paper); }

/* ---------- 栅格 ---------- */
.wd-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

.wd-grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.wd-grid--wide { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.wd-grid--three { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); }
.wd-grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

@media (max-width: 900px) {
  .wd-grid--split,
  .wd-grid--wide,
  .wd-grid--three { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 按钮 ---------- */
.wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--wd-radius-md);
  border: 1px solid var(--wd-copper);
  background: linear-gradient(180deg, rgba(192, 138, 62, 0.24), rgba(192, 138, 62, 0.07));
  color: var(--wd-paper-hi);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--wd-ease), border-color 0.2s var(--wd-ease), color 0.2s var(--wd-ease), transform 0.2s var(--wd-ease);
}

.wd-btn:hover {
  border-color: var(--wd-copper-hi);
  color: #fff8ec;
  background: linear-gradient(180deg, rgba(192, 138, 62, 0.34), rgba(192, 138, 62, 0.12));
  transform: translateY(-1px);
}

.wd-btn--ghost {
  border-color: rgba(192, 138, 62, 0.42);
  background: transparent;
  color: var(--wd-paper);
}

.wd-btn--sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 10px;
}

/* ---------- 卡片（纸张叠放） ---------- */
.wd-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--wd-line);
  border-radius: var(--wd-radius-lg);
  background: linear-gradient(180deg, #2b2420 0%, #221c19 100%);
  box-shadow:
    0 10px 0 -6px #1c1714,
    0 10px 0 -5px rgba(192, 138, 62, 0.22),
    0 20px 0 -12px #1a1512,
    0 20px 0 -11px rgba(192, 138, 62, 0.12);
  transition: border-color 0.22s var(--wd-ease), transform 0.22s var(--wd-ease);
}

.wd-card:hover {
  border-color: var(--wd-line-strong);
  transform: translateY(-2px);
}

/* ---------- 框景 ---------- */
.wd-frame {
  position: relative;
  padding: clamp(20px, 3vw, 42px);
  border: 1px solid rgba(192, 138, 62, 0.3);
  border-radius: var(--wd-radius-lg);
  background: radial-gradient(120% 130% at 8% 0%, rgba(192, 138, 62, 0.08), rgba(20, 16, 14, 0) 62%);
}

.wd-frame::before,
.wd-frame::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border: 1px solid var(--wd-copper);
  pointer-events: none;
}

.wd-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--wd-radius-lg);
}

.wd-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: var(--wd-radius-lg);
}

.wd-frame__tick {
  position: absolute;
  left: 26px;
  right: 26px;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(192, 138, 62, 0.5) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.wd-frame__tick--top { top: -3px; }
.wd-frame__tick--bottom { bottom: -3px; }

/* ---------- 标签牌 ---------- */
.wd-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px 3px 9px;
  border-radius: var(--wd-radius-pill);
  border: 1px solid var(--wd-line-strong);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wd-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.wd-tag--current {
  color: #bfe0d1;
  background: rgba(78, 124, 106, 0.2);
  border-color: rgba(78, 124, 106, 0.65);
}

.wd-tag--pending {
  color: #f0c39a;
  background: rgba(217, 125, 40, 0.16);
  border-color: rgba(217, 125, 40, 0.55);
}

.wd-tag--copper {
  color: var(--wd-paper-hi);
  background: rgba(192, 138, 62, 0.14);
  border-color: rgba(192, 138, 62, 0.5);
}

/* ---------- 媒体容器（页面阶段放置图片） ---------- */
.wd-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--wd-line);
  border-radius: var(--wd-radius-lg);
  background:
    radial-gradient(120% 120% at 18% 0%, #2c2420 0%, #191411 58%, #100c0a 100%);
}

.wd-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wd-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.wd-media--wide { aspect-ratio: 21 / 9; }
.wd-media--tall { aspect-ratio: 4 / 5; }
.wd-media--square { aspect-ratio: 1 / 1; }

.wd-media__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  margin: 0;
  padding: 4px 12px;
  border-radius: var(--wd-radius-pill);
  background: rgba(20, 16, 14, 0.78);
  border: 1px solid var(--wd-line);
  color: var(--wd-paper-hi);
  font-family: var(--wd-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- 折叠清单 ---------- */
.wd-fold {
  border: 1px solid var(--wd-line);
  border-radius: 16px;
  background: rgba(38, 32, 28, 0.72);
  overflow: hidden;
}

.wd-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  list-style: none;
  color: var(--wd-paper);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.wd-fold summary::-webkit-details-marker { display: none; }

.wd-fold summary::after {
  content: "+";
  font-family: var(--wd-mono);
  font-size: 16px;
  color: var(--wd-copper-hi);
}

.wd-fold[open] summary::after { content: "–"; }

.wd-fold__body {
  padding: 0 18px 18px;
  color: var(--wd-muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- 分段切换 ---------- */
.wd-tabs { display: block; }

.wd-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--wd-line);
  border-radius: var(--wd-radius-pill);
  background: rgba(28, 23, 20, 0.9);
}

.wd-tabs__btn {
  appearance: none;
  border: 0;
  padding: 9px 18px;
  border-radius: var(--wd-radius-pill);
  background: transparent;
  color: var(--wd-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--wd-ease), color 0.2s var(--wd-ease), box-shadow 0.2s var(--wd-ease);
}

.wd-tabs__btn:hover { color: var(--wd-paper); }

.wd-tabs__btn[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(192, 138, 62, 0.34), rgba(192, 138, 62, 0.14));
  color: var(--wd-paper-hi);
  box-shadow: inset 0 0 0 1px rgba(227, 183, 120, 0.5);
}

.wd-tabs__panel { padding-top: clamp(18px, 3vw, 32px); }

/* ---------- 面包屑 ---------- */
.wd-breadcrumb {
  font-size: 13px;
  color: var(--wd-muted);
}

.wd-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wd-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(192, 138, 62, 0.6);
}

.wd-breadcrumb a {
  color: var(--wd-muted);
  text-decoration: none;
}

.wd-breadcrumb a:hover { color: var(--wd-copper-hi); }

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

/* ---------- 正文块 ---------- */
.wd-prose {
  max-width: 44em;
  color: #ded5c8;
  font-size: 16px;
  line-height: 1.85;
}

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

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

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

.wd-prose li + li { margin-top: 0.4em; }

.wd-prose strong { color: var(--wd-paper); }

.wd-band--paper .wd-prose { color: #3a2f27; }

/* ---------- 进视口显现 ---------- */
html[data-anim] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--wd-ease), transform 0.55s var(--wd-ease);
}

html[data-anim] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   跳转链
   ========================================================================== */
.wd-skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 var(--wd-radius-md) var(--wd-radius-md);
  background: var(--wd-copper-hi);
  color: #1a1310;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s var(--wd-ease);
}

.wd-skip:focus { top: 0; }

/* ==========================================================================
   头部
   ========================================================================== */
.wd-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--wd-paper);
  background: linear-gradient(180deg, #181310 0%, #14100e 100%);
  border-bottom: 1px solid var(--wd-line);
}

.wd-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 2px;
  background: rgba(192, 138, 62, 0.14);
}

.wd-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wd-celadon), var(--wd-copper), var(--wd-copper-hi));
  box-shadow: 0 0 12px rgba(227, 183, 120, 0.5);
  transition: width 0.12s linear;
}

.wd-header__rail {
  position: relative;
  background: linear-gradient(180deg, rgba(38, 32, 28, 0.85), rgba(20, 16, 14, 0.4));
  border-bottom: 1px solid var(--wd-line-soft);
}

.wd-header__rail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(227, 183, 120, 0.9), transparent);
  animation: wd-sweep 1.2s var(--wd-ease) 0.15s 1 both;
}

@keyframes wd-sweep {
  0% { transform: translateX(-70%); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateX(260%); opacity: 0; }
}

.wd-header__rail-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding-block: 13px;
  transition: padding 0.24s var(--wd-ease);
}

/* 品牌 */
.wd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: inherit;
  text-decoration: none;
}

.wd-brand__mark {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  border: 1px solid rgba(227, 183, 120, 0.42);
  background: radial-gradient(120% 120% at 28% 22%, rgba(227, 183, 120, 0.34), rgba(192, 138, 62, 0.1) 55%, rgba(20, 16, 14, 0.9) 100%);
  box-shadow: inset 0 0 12px rgba(192, 138, 62, 0.2);
}

.wd-brand__mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 9px;
  border: 1px dashed rgba(227, 183, 120, 0.28);
}

.wd-brand__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--wd-copper-hi), var(--wd-copper));
  box-shadow: 0 0 10px rgba(227, 183, 120, 0.6);
}

.wd-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wd-brand__name {
  font-family: var(--wd-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--wd-paper);
}

.wd-brand__note {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--wd-muted);
}

/* 版本状态 */
.wd-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--wd-muted);
}

.wd-status__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--wd-radius-pill);
  border: 1px solid rgba(78, 124, 106, 0.6);
  background: rgba(78, 124, 106, 0.2);
  color: #c3e2d4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.wd-status__tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7fb79f;
  box-shadow: 0 0 8px rgba(78, 124, 106, 0.9);
}

.wd-status__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--wd-copper-hi);
}

.wd-status__sep {
  width: 16px;
  height: 1px;
  background: var(--wd-line-strong);
}

.wd-status__meta { white-space: nowrap; }

/* 操作区 */
.wd-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.wd-sub-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 15px;
  border-radius: var(--wd-radius-pill);
  border: 1px solid rgba(192, 138, 62, 0.55);
  background: rgba(192, 138, 62, 0.12);
  color: var(--wd-paper-hi);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--wd-ease), border-color 0.2s var(--wd-ease), color 0.2s var(--wd-ease);
}

.wd-sub-btn::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wd-copper-hi);
  box-shadow: 0 0 8px rgba(227, 183, 120, 0.7);
}

.wd-sub-btn:hover {
  background: rgba(192, 138, 62, 0.26);
  border-color: var(--wd-copper-hi);
  color: #fff8ec;
}

.wd-nav-toggle {
  display: none;
  appearance: none;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--wd-radius-pill);
  border: 1px solid rgba(192, 138, 62, 0.45);
  background: transparent;
  color: var(--wd-paper);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.wd-nav-toggle:hover { border-color: var(--wd-copper-hi); }

.wd-nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.wd-nav-toggle__bars::before,
.wd-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.wd-nav-toggle__bars::before { top: -5px; }
.wd-nav-toggle__bars::after { top: 5px; }

/* 订阅轻面板 */
.wd-sub-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  width: min(320px, calc(100vw - 36px));
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--wd-line-strong);
  background: linear-gradient(180deg, #2a2320, #1a1512);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  color: var(--wd-paper);
}

.wd-sub-panel__title {
  margin: 0 0 4px;
  font-family: var(--wd-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wd-paper-hi);
}

.wd-sub-panel__text {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--wd-muted);
}

.wd-sub-panel__list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}

.wd-sub-panel__list li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 7px;
  border-bottom: 1px dashed rgba(192, 138, 62, 0.22);
}

.wd-sub-panel__k {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wd-muted);
}

.wd-sub-panel__v {
  font-family: var(--wd-mono);
  font-size: 12px;
  color: var(--wd-paper);
  word-break: break-all;
}

.wd-sub-panel__cta { width: 100%; }

/* 下层导航 */
.wd-header__bar {
  position: relative;
  background: rgba(20, 16, 14, 0.92);
}

.wd-header__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
}

.wd-nav { min-width: 0; }

.wd-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wd-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: var(--wd-radius-pill);
  border: 1px solid transparent;
  color: #cfc3b4;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.18s var(--wd-ease), background 0.18s var(--wd-ease), border-color 0.18s var(--wd-ease);
}

.wd-nav__link:hover {
  color: var(--wd-paper);
  background: rgba(192, 138, 62, 0.1);
  border-color: rgba(192, 138, 62, 0.3);
}

.wd-nav__link[aria-current="page"] {
  color: #d6ece1;
  background: rgba(78, 124, 106, 0.24);
  border-color: rgba(78, 124, 106, 0.7);
  box-shadow: inset 0 0 0 1px rgba(78, 124, 106, 0.18);
}

.wd-nav__link[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #8fc7ae;
  box-shadow: 0 0 8px rgba(78, 124, 106, 0.9);
}

.wd-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: var(--wd-radius-pill);
  border: 1px solid rgba(192, 138, 62, 0.45);
  background: linear-gradient(180deg, rgba(192, 138, 62, 0.16), rgba(192, 138, 62, 0.04));
  color: var(--wd-paper-hi);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s var(--wd-ease), background 0.2s var(--wd-ease), color 0.2s var(--wd-ease);
}

.wd-header__cta::after {
  content: "→";
  font-family: var(--wd-mono);
  font-size: 12px;
  color: var(--wd-copper-hi);
}

.wd-header__cta:hover {
  border-color: var(--wd-copper-hi);
  background: rgba(192, 138, 62, 0.24);
  color: #fff8ec;
}

/* 滚动收缩态 */
.wd-header[data-compact] .wd-header__rail-inner { padding-block: 8px; }
.wd-header[data-compact] .wd-brand__note { display: none; }
.wd-header[data-compact] .wd-status__meta--help { display: none; }

/* 头部 · 移动端 */
@media (max-width: 880px) {
  .wd-header__rail-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }

  .wd-status {
    grid-column: 1 / -1;
    order: 3;
    gap: 4px 8px;
    font-size: 11.5px;
  }

  .wd-status__sep,
  .wd-status__meta--help { display: none; }

  .wd-header__actions { justify-self: end; }

  .wd-nav-toggle { display: inline-flex; }

  .wd-sub-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .wd-sub-btn::before { display: none; }

  .wd-header__bar-inner {
    display: block;
    min-height: 0;
  }

  .wd-nav {
    display: none;
    padding-top: 6px;
  }

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

  .wd-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-block: 6px;
  }

  .wd-nav__link {
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .wd-header__cta {
    display: none;
    justify-content: center;
    margin: 6px 0 14px;
  }

  .wd-nav[data-open] ~ .wd-header__cta { display: flex; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.wd-footer {
  position: relative;
  background: linear-gradient(180deg, #0f0c0a, #14100e);
  border-top: 1px solid rgba(192, 138, 62, 0.3);
  color: var(--wd-muted);
  font-size: 13.5px;
}

.wd-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(192, 138, 62, 0.5) 0 1px, transparent 1px 16px);
  opacity: 0.5;
}

.wd-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(22px, 3.2vw, 52px);
  padding-block: clamp(38px, 5vw, 66px) clamp(28px, 4vw, 48px);
}

.wd-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.wd-brand--footer .wd-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.wd-brand--footer .wd-brand__name { font-size: 20px; }

.wd-footer__tagline {
  margin: 0;
  max-width: 22em;
  font-family: var(--wd-serif);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #e8dcc8;
}

.wd-footer__icp {
  margin: 0;
  padding: 4px 12px;
  border: 1px solid rgba(192, 138, 62, 0.28);
  border-radius: var(--wd-radius-pill);
  background: rgba(192, 138, 62, 0.06);
  color: var(--wd-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.wd-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.wd-footer__contact { min-width: 0; }

.wd-footer__title {
  margin: 0;
  font-family: var(--wd-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wd-copper-hi);
}

.wd-footer__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.65;
}

.wd-footer__list a {
  color: #c8bcae;
  text-decoration: none;
  transition: color 0.18s var(--wd-ease);
}

.wd-footer__list a:hover { color: var(--wd-copper-hi); }

.wd-footer__list--plain li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(192, 138, 62, 0.16);
}

.wd-footer__list--plain li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wd-footer__k {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(154, 142, 128, 0.9);
}

.wd-footer__val {
  color: var(--wd-paper);
  font-size: 13px;
  word-break: break-word;
}

.wd-footer__base {
  border-top: 1px solid rgba(192, 138, 62, 0.18);
  background: rgba(10, 8, 7, 0.6);
}

.wd-footer__base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 16px 22px;
  font-size: 12px;
  color: var(--wd-muted);
}

.wd-footer__copy { margin: 0; }

.wd-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wd-footer__legal a {
  color: #b8ab9c;
  text-decoration: none;
  transition: color 0.18s var(--wd-ease);
}

.wd-footer__legal a:hover { color: var(--wd-copper-hi); }

@media (max-width: 1040px) {
  .wd-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wd-footer__brand { grid-column: 1 / -1; }
  .wd-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wd-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .wd-footer__contact { grid-column: auto; }
  .wd-footer__base-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   动效偏好与高对比兜底
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .wd-header__rail::after { opacity: 0; }

  html[data-anim] [data-reveal] {
    opacity: 1;
    transform: none;
  }

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

@media (prefers-contrast: more) {
  .wd-nav__link { color: #efe6d8; }
  .wd-footer__list a { color: #e2d7c7; }
}
