/* ============================================================
   财神到游戏 · 全站共享样式表  /assets/site.css
   1 reset & tokens · 2 排版 · 3 无障碍 · 4 布局工具
   5 通用组件 · 6 头部 · 7 页脚 · 8 响应式 · 9 动效偏好
   ============================================================ */

/* ---------- 1. reset & tokens ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

table { border-collapse: collapse; }

:root {
  /* 品牌色板 */
  --gold: #D4AF37;
  --gold-light: #F0D979;
  --gold-deep: #9C7A1E;
  --red: #C0392B;
  --red-deep: #8C2118;
  --ink: #1A1A1A;
  --ink-soft: #211F1C;
  --paper: #F5F0E8;
  --jade: #2E8B57;
  --jade-lift: #4FBF83;
  --amber: #E08A2C;
  --gray: #4A4A4A;
  --glass: rgba(255, 255, 255, .08);
  --glass-line: rgba(255, 255, 255, .16);

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

  /* 尺度 */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background: #141312;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 6vw, 72px); }
h2 { font-size: clamp(23px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: clamp(16px, 1.6vw, 19px); }

p { line-height: 1.75; }

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

strong, b { font-weight: 800; }

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

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

/* ---------- 3. 无障碍 ---------- */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 0 0 14px 14px;
  background: var(--gold);
  color: #231703;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  transform: translateY(-140%);
  transition: transform .22s var(--ease);
}

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

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

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: clamp(52px, 8vw, 104px);
}

.band--ink { background: var(--ink); color: var(--paper); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--red {
  background: linear-gradient(158deg, #8C2118 0%, #C0392B 52%, #8C2118 100%);
  color: var(--paper);
}

.grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 24px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(28px, 4vw, 48px);
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .45), transparent);
}

/* ---------- 5. 通用组件 ---------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}

.btn--gold {
  background: linear-gradient(140deg, var(--gold-light), var(--gold) 58%, #B08A24);
  color: #241703;
  box-shadow: 0 8px 24px rgba(212, 175, 55, .3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, .44);
}

.btn--red {
  background: var(--red);
  color: var(--paper);
  box-shadow: 0 8px 24px rgba(192, 57, 43, .34);
}

.btn--red:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--glass);
  border-color: rgba(212, 175, 55, .45);
  color: var(--paper);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn--sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}

.tag--open {
  background: rgba(46, 139, 87, .18);
  border-color: rgba(79, 191, 131, .5);
  color: var(--jade-lift);
}

.tag--soon {
  background: rgba(224, 138, 44, .16);
  border-color: rgba(224, 138, 44, .5);
  color: var(--amber);
}

.tag--gold {
  background: rgba(212, 175, 55, .16);
  border-color: rgba(212, 175, 55, .5);
  color: var(--gold-light);
}

.tag--red {
  background: rgba(192, 57, 43, .2);
  border-color: rgba(192, 57, 43, .55);
  color: #E9766A;
}

.on-paper .tag--open {
  background: rgba(46, 139, 87, .12);
  border-color: rgba(46, 139, 87, .38);
  color: #1F6B41;
}

.on-paper .tag--gold {
  background: rgba(212, 175, 55, .18);
  border-color: rgba(156, 122, 30, .45);
  color: #7A5F12;
}

.on-paper .tag--red {
  background: rgba(192, 57, 43, .12);
  border-color: rgba(192, 57, 43, .38);
  color: var(--red-deep);
}

/* 卡片 */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(212, 175, 55, .18);
  border-radius: var(--radius);
  background: var(--ink-soft);
  color: var(--paper);
  transition: transform .24s var(--ease), border-color .24s var(--ease),
              box-shadow .24s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, .5);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .4);
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(212, 175, 55, .85);
}

.card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--paper);
}

.card__text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 240, 232, .72);
}

/* 面板 */
.panel {
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.panel--dark {
  background: var(--ink-soft);
  border: 1px solid rgba(212, 175, 55, .2);
  color: var(--paper);
  box-shadow: none;
}

.panel--glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  color: var(--paper);
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.panel--gold { border: 1px solid rgba(212, 175, 55, .55); }

/* 图片容器 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(150deg, #2A2724, #161514);
  isolation: isolate;
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(212, 175, 55, .08), rgba(140, 33, 24, .18));
}

.media--16-10 { aspect-ratio: 16 / 10; }
.media--4-3 { aspect-ratio: 4 / 3; }
.media--1-1 { aspect-ratio: 1 / 1; }
.media--21-9 { aspect-ratio: 21 / 9; }

.media__label {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

/* 章节头 */
.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 22px);
  margin-bottom: clamp(18px, 3vw, 32px);
}

.section-head__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--red);
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(21px, 3vw, 34px);
  font-weight: 900;
  color: var(--paper);
}

.section-head__desc {
  flex: 1 1 100%;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 240, 232, .62);
}

.section-head--paper .section-head__title { color: var(--ink); }
.section-head--paper .section-head__desc { color: var(--gray); }

/* 面包屑 */
.breadcrumb {
  margin-bottom: clamp(16px, 2vw, 26px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 232, .5);
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(212, 175, 55, .45);
}

.breadcrumb a {
  transition: color .2s var(--ease);
}

.breadcrumb a:hover { color: var(--gold); }

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

.breadcrumb--paper li { color: var(--gray); }
.breadcrumb--paper a:hover { color: var(--red); }
.breadcrumb--paper [aria-current="page"] { color: var(--red-deep); }

/* 正文容器 */
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.75;
}

.prose p { margin-block: 1.2em; }

.prose h2 {
  margin-block: 1.6em .6em;
  font-size: clamp(22px, 2.6vw, 30px);
}

.prose h3 { margin-block: 1.4em .5em; }

.prose ul,
.prose ol {
  margin-block: 1.2em;
  padding-left: 1.4em;
  list-style: disc;
}

.prose li {
  margin-block: .4em;
  line-height: 1.75;
}

.prose a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose--on-dark { color: rgba(245, 240, 232, .78); }
.prose--on-dark a { color: var(--gold); }

@media (max-width: 860px) {
  .prose { font-size: 16px; }
}

/* 显现 */
[data-reveal] {
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(16px);
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 状态条 */
.status-bar {
  background: linear-gradient(90deg, #141312 0%, #2B1310 55%, #141312 100%);
  border-bottom: 1px solid rgba(212, 175, 55, .22);
}

.status-bar__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 6px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(245, 240, 232, .8);
}

.ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ticker__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade-lift);
  animation: dot-pulse 2.6s var(--ease) infinite;
}

.ticker__label {
  flex: 0 0 auto;
  color: rgba(245, 240, 232, .5);
}

.ticker__timer {
  flex: 0 0 auto;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
}

.ticker__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(245, 240, 232, .62);
}

.status-bar__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.status-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-meta__key { color: rgba(245, 240, 232, .45); }
.status-meta__val { color: var(--gold); }

@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 191, 131, .75); }
  70%  { box-shadow: 0 0 0 9px rgba(79, 191, 131, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 191, 131, 0); }
}

/* 主栏 */
.masthead {
  background: rgba(20, 19, 18, .94);
  border-bottom: 1px solid rgba(212, 175, 55, .16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.masthead__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #2A1A05;
  background: linear-gradient(145deg, var(--gold-light), var(--gold) 48%, #A9811E);
  box-shadow: 0 8px 22px rgba(212, 175, 55, .32),
              inset 0 1px 0 rgba(255, 255, 255, .65);
  transform: rotate(-2deg);
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .06em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(212, 175, 55, .78);
}

/* 桌面导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.2vw, 20px);
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 12px 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  color: rgba(245, 240, 232, .78);
  transition: color .22s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--gold-light);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--gold-light);
}

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

.site-nav__foot { display: none; }

/* 抽屉按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 999px;
  background: var(--glass);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  cursor: pointer;
  transition: border-color .22s var(--ease), color .22s var(--ease),
              background-color .22s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .26s var(--ease), opacity .26s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

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

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(212, 175, 55, .14);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold) 55%, var(--red));
}

html[data-nav-open],
html[data-nav-open] body {
  overflow: hidden;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #131211;
  border-top: 1px solid rgba(212, 175, 55, .2);
  color: rgba(245, 240, 232, .72);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--red), var(--gold), transparent);
  opacity: .7;
}

.site-footer__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 64px) var(--gutter) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 48px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: #2A1A05;
  background: linear-gradient(145deg, var(--gold-light), var(--gold) 50%, #A9811E);
  transform: rotate(-2deg);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--paper);
}

.footer-desc {
  max-width: 34ch;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 232, .62);
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(245, 240, 232, .42);
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
}

.footer-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-list a {
  color: rgba(245, 240, 232, .72);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-list--plain li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.7;
}

.footer-key {
  flex: 0 0 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(212, 175, 55, .6);
}

.footer-val {
  color: rgba(245, 240, 232, .8);
  word-break: break-all;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(245, 240, 232, .42);
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-desc { max-width: none; }
}

@media (max-width: 1000px) {
  .nav-toggle {
    position: relative;
    z-index: 120;
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 96px var(--gutter) 48px;
    background: radial-gradient(120% 80% at 50% 0%,
                rgba(140, 33, 24, .94) 0%,
                rgba(20, 19, 18, .98) 62%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .34s var(--ease), visibility .34s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    padding: 14px 8px;
    font-size: clamp(22px, 6vw, 30px);
    font-weight: 900;
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(212, 175, 55, .14);
    color: var(--paper);
  }

  .site-nav__link::after { display: none; }

  .site-nav__link[aria-current="page"] { color: var(--gold); }

  .site-nav__foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px dashed rgba(212, 175, 55, .3);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .06em;
    color: rgba(245, 240, 232, .6);
  }

  .site-nav__foot-timer {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-light);
  }
}

@media (max-width: 860px) {
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .status-bar__inner { font-size: 11px; gap: 12px; }
  .ticker__name { display: none; }
  .status-bar__meta { gap: 12px; }
  .masthead__inner { padding-block: 10px; gap: 14px; }
  .brand__mark { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
  .brand__name { font-size: 17px; }
  .brand__sub { letter-spacing: .14em; }
}

@media (max-width: 640px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 0 14px; }
  .footer-base { justify-content: flex-start; }
}

/* ---------- 9. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .ticker__dot { animation: none; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal],
  [data-reveal].is-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }

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