/* =========================================================
   /assets/site.css — 新浦京棋牌 共享外壳样式
   夜间牌厅：深墨绿实色层 + 玻璃层 + 暗金线 + 状态点
   ========================================================= */

/* ---------- 1. 重置与变量 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #0B1F1A;
  --felt: #12332B;
  --felt-2: #1B4C40;
  --gold: #C9A227;
  --gold-soft: #E8D38A;
  --violet: #7A5CFF;
  --crimson: #C8382F;
  --ivory: #F4EFE2;
  --mist: #8FA39B;
  --glass: rgba(244, 239, 226, 0.08);
  --line: rgba(201, 162, 39, 0.28);
  --line-soft: rgba(27, 76, 64, 0.9);
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: 200ms cubic-bezier(0.32, 0.72, 0.3, 1);
  --font-display: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --font-body: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

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

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(900px 620px at 80% -10%, rgba(122, 92, 255, 0.09), transparent 62%),
    radial-gradient(760px 520px at 6% 2%, rgba(201, 162, 39, 0.09), transparent 60%),
    var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
hr { border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

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

#main-content {
  display: block;
  scroll-margin-top: 120px;
}

/* ---------- 2. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #0B1F1A;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 3. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(11, 31, 26, 0.97), rgba(9, 26, 21, 0.92));
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(201, 162, 39, 0.32);
}

/* 底边刻度尺 */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(201, 162, 39, 0.45) 0 1px,
    transparent 1px 22px
  );
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
}

.header-shell {
  position: relative;
  width: min(calc(100% - (var(--gutter) * 2)), var(--wrap));
  margin-inline: auto;
}

.masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand dock nav";
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  min-height: 80px;
  padding-block: 13px;
}

/* 品牌 */
.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-emblem {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 10px 2px 10px 2px;
  background: linear-gradient(150deg, rgba(201, 162, 39, 0.2), rgba(11, 31, 26, 0));
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}
.brand:hover .brand-emblem {
  border-color: var(--gold-soft);
  color: var(--ivory);
}

.brand-copy { display: flex; flex-direction: column; gap: 1px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ivory);
  line-height: 1.3;
}

.brand-sub {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--mist);
  line-height: 1.4;
}

/* 分类带 */
.category-dock {
  grid-area: dock;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}
.category-dock::-webkit-scrollbar { display: none; }

.category-track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
}

.chip {
  display: inline-block;
  white-space: nowrap;
  padding: 7px 15px;
  border: 1px solid rgba(201, 162, 39, 0.26);
  border-radius: 999px;
  background: var(--glass);
  color: var(--mist);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}
.chip:hover,
.chip:focus-visible {
  color: var(--gold-soft);
  border-color: rgba(201, 162, 39, 0.65);
  background: rgba(201, 162, 39, 0.1);
}

/* 移动导航按钮 */
.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: var(--radius-sm);
  background: var(--glass);
  color: var(--gold-soft);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); color: var(--ivory); }

.nav-toggle-lines {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle-lines i {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* 主导航 */
.site-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--mist);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color var(--ease), background-color var(--ease);
}
.nav-list a:hover { color: var(--ivory); background: rgba(244, 239, 226, 0.06); }

.nav-list a[aria-current="page"] { color: var(--gold-soft); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--gold);
}

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(201, 162, 39, 0.12);
  pointer-events: none;
}
.scroll-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 100ms linear;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn-cta {
  color: #0B1F1A;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-color: rgba(232, 211, 138, 0.9);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.18);
}
.btn-cta:hover,
.btn-cta:focus-visible {
  background: linear-gradient(180deg, #F2E3AD, #D8B038);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--gold-soft);
  border-color: rgba(201, 162, 39, 0.5);
  background: var(--glass);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--ivory);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-quiet {
  color: var(--mist);
  border-color: var(--line-soft);
  background: transparent;
}
.btn-quiet:hover,
.btn-quiet:focus-visible { color: var(--ivory); border-color: var(--gold); }

.nav-cta { flex: 0 0 auto; padding-inline: 16px; font-size: 14px; }

/* ---------- 5. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 160px);
  padding: clamp(46px, 6vw, 78px) 0 clamp(96px, 10vw, 132px);
  background: linear-gradient(180deg, #0B1F1A 0%, #081712 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.32);
  color: var(--mist);
  font-size: 14.5px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(201, 162, 39, 0.4) 0 1px,
    transparent 1px 22px
  );
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
}

.footer-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--wrap));
  margin-inline: auto;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 10px; }

.footer-emblem {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 162, 39, 0.6);
  border-radius: 8px 2px 8px 2px;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ivory);
}

.footer-line {
  max-width: 24ch;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.75;
}

.footer-heading {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}

.footer-links li + li { margin-top: 2px; }
.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--ease), transform var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ivory);
  transform: translateX(3px);
}

.footer-contact {
  margin-top: clamp(32px, 4vw, 54px);
  padding-top: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--line-soft);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

.contact-item { display: flex; flex-direction: column; gap: 4px; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(143, 163, 155, 0.85);
}

.contact-value {
  color: var(--ivory);
  font-size: 15px;
  text-decoration: none;
  word-break: break-word;
}
a.contact-value:hover,
a.contact-value:focus-visible { color: var(--gold-soft); }

.contact-note {
  color: var(--mist);
  font-size: 13px;
  line-height: 1.6;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(28px, 3.4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--mist);
}

.footer-copy { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-legal a {
  color: var(--mist);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--gold-soft); }

.icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--mist);
}

/* ---------- 6. 固定反馈入口 ---------- */
.feedback-dock {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 100;
}

.feedback-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  background: rgba(18, 51, 43, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold-soft);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform var(--ease), border-color var(--ease), color var(--ease);
}
.feedback-link:hover,
.feedback-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--ivory);
}

.feedback-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.22);
  flex: 0 0 auto;
}

/* ---------- 7. 通用布局 ---------- */
.wrap {
  width: min(calc(100% - (var(--gutter) * 2)), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(40px, 6vw, 92px); }
.section + .section { padding-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(20px, 3vw, 38px);
}

.section-title {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--mist);
}

.divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }

.stack > * + * { margin-top: clamp(14px, 1.8vw, 24px); }

/* ---------- 8. 正文排版 ---------- */
.prose {
  max-width: 62ch;
  color: rgba(244, 239, 226, 0.88);
}
.prose p + p { margin-top: 1em; }
.prose h2 {
  margin: 1.8em 0 0.6em;
  font-size: clamp(22px, 2.6vw, 30px);
}
.prose h3 {
  margin: 1.5em 0 0.5em;
  font-size: 20px;
  color: var(--gold-soft);
}
.prose ul,
.prose ol {
  margin: 1em 0;
  padding-left: 1.3em;
  list-style: revert;
}
.prose li + li { margin-top: 0.4em; }
.prose a {
  color: var(--gold-soft);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.prose strong { color: var(--ivory); }

/* ---------- 9. 面板与卡片 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 51, 43, 0.74), rgba(11, 31, 26, 0.88));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.panel--glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.panel:hover,
.panel:focus-within {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.card {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--felt);
  transition: transform var(--ease), border-color var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.55);
}

/* ---------- 10. 标签与状态 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-soft);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.tag--open {
  color: #BCAEFF;
  border-color: rgba(122, 92, 255, 0.45);
  background: rgba(122, 92, 255, 0.12);
}
.tag--full {
  color: #EBA8A2;
  border-color: rgba(200, 56, 47, 0.45);
  background: rgba(200, 56, 47, 0.12);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mist);
  flex: 0 0 auto;
}
.tag--open .status-dot {
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.22);
}
.tag--full .status-dot {
  background: var(--crimson);
  box-shadow: 0 0 0 3px rgba(200, 56, 47, 0.22);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--mist);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line);
}
.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color var(--ease);
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--gold-soft); }
.breadcrumb [aria-current="page"] { color: var(--ivory); }

/* ---------- 12. 图片容器（页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(201, 162, 39, 0.12), transparent 60%),
    linear-gradient(150deg, rgba(18, 51, 43, 0.95), rgba(11, 31, 26, 0.98));
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05);
  transition: transform 400ms cubic-bezier(0.32, 0.72, 0.3, 1);
}
.media-frame:hover > img,
.media-frame:focus-within > img { transform: scale(1.02); }

.media-frame > figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 23, 18, 0.92));
  color: var(--ivory);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- 13. 数字与工具类 ---------- */
.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.text-mist { color: var(--mist); }
.text-gold { color: var(--gold-soft); }
.text-ivory { color: var(--ivory); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 14. 显现动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1240px) {
  .nav-list a { padding-inline: 10px; font-size: 14px; }
  .nav-cta { display: none; }
}

@media (max-width: 1080px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "dock dock";
    gap: 12px;
    min-height: 0;
    padding-block: 12px 14px;
  }

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

  .category-dock {
    -webkit-mask-image: none;
    mask-image: none;
    padding-bottom: 2px;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(10, 28, 23, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }
  .site-nav[data-open] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(27, 76, 64, 0.7);
    border-radius: 8px;
    font-size: 15.5px;
  }
  .nav-list a[aria-current="page"] {
    color: var(--gold-soft);
    background: rgba(201, 162, 39, 0.1);
    box-shadow: inset 2px 0 0 var(--gold);
  }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-list li:last-child a { border-bottom: 0; }

  .nav-cta {
    display: inline-flex;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .brand-emblem { width: 38px; height: 38px; font-size: 19px; }
  .brand-name { font-size: 16.5px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 0.14em; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .feedback-link { padding: 10px 15px; font-size: 13px; }
}

/* ---------- 16. 降低动态效果 ---------- */
@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;
  }

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

  .panel:hover,
  .panel:focus-within,
  .card:hover,
  .card:focus-within,
  .btn:hover,
  .feedback-link:hover { transform: none; }
}
