/* ==========================================================================
   凯旋游戏官网 · 共享样式 /assets/site.css
   基因：夜战指挥台 × 胜利庆典 · 海报分层 · 粗野主义
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul, ol { padding: 0; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; }

table { border-collapse: collapse; width: 100%; }

[hidden] { display: none !important; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink-900: #07101C;
  --ink-800: #0F1B2D;
  --panel: #1B2A3F;
  --line: #2E425C;
  --line-soft: rgba(46, 66, 92, 0.55);
  --gold: #D4A017;
  --gold-soft: #F3D37A;
  --red: #C0392B;
  --red-deep: #8E2A20;
  --cyan: #00C2A8;
  --sand: #F5E6C8;
  --ivory: #FFF9EE;
  --mist: #8FA3BF;
  --amber: #E67E22;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;

  --shadow-hard: 8px 8px 0 rgba(7, 16, 28, 0.78);
  --shadow-hard-sm: 4px 4px 0 rgba(7, 16, 28, 0.78);
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

/* ---------- 3. 文档与背景纵深 ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ivory);
  background-color: var(--ink-800);
  background-image:
    radial-gradient(1100px 560px at 8% -10%, rgba(212, 160, 23, 0.16), transparent 62%),
    radial-gradient(900px 520px at 106% 0%, rgba(0, 194, 168, 0.11), transparent 62%),
    linear-gradient(rgba(46, 66, 92, 0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 66, 92, 0.30) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold);
  color: var(--ink-900);
}

/* ---------- 4. 中文排版基线 ---------- */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ivory);
}

h1 { font-size: clamp(2.35rem, 5.6vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0.01em; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 800; color: var(--sand); }

small { font-size: 0.82rem; color: var(--mist); }

a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@supports (text-wrap: pretty) {
  p, li, figcaption { text-wrap: pretty; }
}

@supports (text-wrap: balance) {
  h1, h2, h3 { text-wrap: balance; }
}

#main-content { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -140px;
  left: 16px;
  z-index: 200;
  display: inline-block;
  padding: 0.7rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-900);
  background: var(--gold);
  border: 2px solid var(--ink-900);
  box-shadow: var(--shadow-hard-sm);
  transition: top 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  color: var(--ink-900);
}

/* ---------- 6. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(7, 16, 28, 0.94) 0%,
    rgba(7, 16, 28, 0.70) 62%,
    rgba(7, 16, 28, 0) 100%
  );
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.site-header[data-scrolled="true"] {
  background-image: none;
  background-color: rgba(7, 16, 28, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  background: rgba(143, 163, 191, 0.16);
  pointer-events: none;
}

.read-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--red) 62%, var(--cyan) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.header-rail {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  max-width: var(--shell);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 品牌锁定 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: var(--ivory);
  text-decoration: none;
}

.brand:hover { color: var(--ivory); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink-900);
  background: var(--gold);
  border: 2px solid var(--ink-900);
  box-shadow: 4px 4px 0 var(--red);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-name {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

.brand-latin {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { list-style: none; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--sand);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-link[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-cta { flex: 0 0 auto; }

/* 移动端汉堡 */
.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--gold);
  background: var(--ink-900);
  border: 2px solid var(--line);
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

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

.nav-toggle[aria-expanded="true"] {
  color: var(--ivory);
  background: var(--red);
  border-color: var(--red);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.18s var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. 站点页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  color: var(--mist);
  background-color: var(--ink-900);
  background-image:
    linear-gradient(rgba(46, 66, 92, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 66, 92, 0.28) 1px, transparent 1px);
  background-size: 64px 64px;
  border-top: 3px solid var(--gold);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: clamp(120px, 20vw, 300px);
  height: 3px;
  background: var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(0, 1fr)
    minmax(0, 1.35fr)
    minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 48px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 48px);
}

.footer-col { min-width: 0; }

.footer-col--brand { min-width: 0; }

.brand--footer { margin-bottom: 0.2rem; }

.brand--footer .brand-mark {
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
}

.footer-tagline {
  margin-top: 1.1rem;
  padding-left: 0.8rem;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--gold);
  border-left: 3px solid var(--red);
}

.footer-line {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--mist);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
}

.footer-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--mist);
  background: rgba(46, 66, 92, 0.45);
  border: 1px solid var(--line);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.tag-chip:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.footer-contact {
  display: grid;
  gap: 0.8rem;
}

.footer-contact-item {
  display: grid;
  gap: 0.1rem;
  margin: 0;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.footer-contact-value {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--sand);
  overflow-wrap: anywhere;
}

.footer-base {
  background: rgba(7, 16, 28, 0.72);
  border-top: 1px solid var(--line);
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1.15rem var(--gutter);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-link {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-left: auto;
}

.footer-icp,
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 8. 通用布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 860px; }
.wrap--wide { max-width: 1440px; }

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.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)); }

/* ---------- 9. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--ink-900);
  background: var(--gold);
  border: 2px solid var(--ink-900);
  box-shadow: 5px 5px 0 var(--red);
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease),
    background-color 0.15s var(--ease), color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--red);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--red);
}

.btn--gold {
  color: var(--ink-900);
  background: var(--gold);
  border-color: var(--ink-900);
  box-shadow: 5px 5px 0 var(--red);
}

.btn--gold:hover {
  color: var(--ink-900);
  background: var(--gold-soft);
  box-shadow: 7px 7px 0 var(--red);
}

.btn--red {
  color: var(--ivory);
  background: var(--red);
  border-color: var(--ink-900);
  box-shadow: 5px 5px 0 var(--gold);
}

.btn--red:hover {
  color: var(--ivory);
  background: var(--red-deep);
  box-shadow: 7px 7px 0 var(--gold);
}

.btn--red:active { box-shadow: 2px 2px 0 var(--gold); }

.btn--ghost {
  color: var(--gold-soft);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--gold);
  background: rgba(212, 160, 23, 0.12);
  border-color: var(--gold);
  transform: none;
  box-shadow: none;
}

.btn--ghost:active { transform: translate(1px, 1px); box-shadow: none; }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: clamp(16px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

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

.breadcrumb-sep { color: var(--line); }

.breadcrumb-current { color: var(--gold-soft); }

/* ---------- 11. 模块面板 / 章节头 / 状态 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  transition: border-color 0.2s var(--ease);
}

.panel--gold { border-color: var(--gold); }
.panel--red { border-color: var(--red); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--line);
}

.section-head h2,
.section-head h3 { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.14rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
  border: 1px solid currentColor;
}

.chip--live { color: var(--cyan); }
.chip--alert { color: var(--amber); }

.chip--flag {
  color: var(--ivory);
  background: var(--red);
  border-color: var(--red);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.18);
}

.status-dot--live { animation: kx-pulse 1.9s ease-in-out infinite; }

@keyframes kx-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0, 194, 168, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(0, 194, 168, 0.04); }
}

/* ---------- 12. 响应式图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--panel);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(212, 160, 23, 0.10) 0 10px,
      rgba(15, 27, 45, 0) 10px 20px
    ),
    radial-gradient(120% 90% at 15% 0%, rgba(212, 160, 23, 0.22), transparent 60%),
    radial-gradient(110% 90% at 100% 100%, rgba(192, 57, 43, 0.24), transparent 62%);
  border: 2px solid var(--line);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 16, 28, 0) 42%,
    rgba(7, 16, 28, 0.78) 100%
  );
}

.media-frame--hero { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--thumb { aspect-ratio: 4 / 3; }

.media-frame__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.32rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ivory);
  background: var(--red);
}

/* ---------- 13. 进入视口显现（页面阶段加 data-reveal） ---------- */
[data-reveal] {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

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

/* ---------- 14. 断点：平板 ---------- */
@media (max-width: 1080px) {
  .nav-list { gap: 8px; }
  .nav-link { font-size: 0.84rem; letter-spacing: 0.02em; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

/* ---------- 15. 断点：移动导航 ---------- */
@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .brand-mark { width: 38px; height: 38px; font-size: 1.05rem; }
  .brand-latin { display: none; }

  .nav-toggle { display: grid; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    margin: 0;
    padding: 0.35rem var(--gutter) 1.25rem;
    background: var(--ink-900);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--line);
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s linear;
  }

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

  .nav-list { display: block; gap: 0; }

  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item:last-child { border-bottom: none; }

  .nav-link {
    display: block;
    padding: 0.95rem 0.2rem 0.95rem 0.9rem;
    font-size: 1.02rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-link:hover {
    border-bottom: none;
    border-left-color: var(--gold);
    background: rgba(212, 160, 23, 0.07);
  }

  .nav-link[aria-current="page"] {
    border-bottom: none;
    border-left-color: var(--red);
    background: rgba(212, 160, 23, 0.1);
  }

  .header-rail { gap: 0.5rem; }
}

/* ---------- 16. 断点：手机 ---------- */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .footer-meta { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
  .header-cta {
    padding: 0.55rem 0.8rem;
    font-size: 0.8rem;
    box-shadow: 3px 3px 0 var(--red);
  }

  .brand-name { font-size: 0.92rem; }

  .footer-base-inner { font-size: 0.76rem; }
}

/* ---------- 17. 减少动态 ---------- */
@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;
  }

  html { scroll-behavior: auto; }

  .status-dot--live { animation: none; }

  [data-reveal],
  [data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

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