/* ============================================================
   问鼎娱乐会馆 · 共享样式 /assets/site.css
   青铜浮岛 · 堆叠画板 · 暖纸与深墨体系
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

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

::selection { background: rgba(201, 162, 39, .35); color: var(--ink); }

/* 2. 变量 -------------------------------------------------- */
:root {
  --ink: #12100E;
  --paper: #F4EBDD;
  --paper-white: #FBF7EF;
  --bronze: #1F4D43;
  --bronze-deep: #2E6B5A;
  --gold: #C9A227;
  --gold-soft: #E8C96A;
  --cinnabar: #B33A2B;
  --celadon: #7FA99B;
  --warmgray: #6E6659;

  --line: rgba(31, 77, 67, .16);
  --line-gold: rgba(201, 162, 39, .32);

  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --pill: 999px;

  --shadow-soft: 0 24px 60px -42px rgba(18, 16, 14, .75);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 3. 基础排版 ---------------------------------------------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 70% at 100% 0, rgba(201, 162, 39, .10), transparent 55%),
    radial-gradient(90% 55% at 0 0, rgba(127, 169, 155, .14), transparent 62%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .02em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.6rem); }
h4 { font-size: 1.05rem; }

strong { font-weight: 700; }
small { font-size: .82em; }

.mono {
  font-family: var(--font-mono);
  font-size: .82em;
  font-weight: 600;
  letter-spacing: .08em;
}

.serif { font-family: var(--font-serif); }

/* 4. 布局工具 ---------------------------------------------- */
.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, 100% - 40px);
  margin-inline: auto;
}

.section { padding-block: clamp(48px, 7vw, 96px); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 5. 通用按钮 ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 22px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn--primary {
  background: var(--bronze);
  color: var(--paper-white);
  box-shadow: 0 14px 30px -22px rgba(31, 77, 67, .95);
}
.btn--primary:hover { background: var(--bronze-deep); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--bronze);
  border-color: rgba(31, 77, 67, .32);
}
.btn--ghost:hover { background: rgba(31, 77, 67, .08); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }

.btn--sm { padding: 8px 16px; font-size: 13.5px; }

/* 6. 面板 / 章节编号 / 标签 -------------------------------- */
.panel {
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
}

.panel--bronze {
  background: linear-gradient(160deg, var(--bronze) 0%, #173c34 100%);
  border-color: rgba(201, 162, 39, .28);
  color: var(--paper);
}
.panel--bronze h2, .panel--bronze h3 { color: #F7EEDF; }

.panel--dark {
  background: var(--ink);
  border-color: rgba(201, 162, 39, .22);
  color: var(--paper);
}
.panel--dark h2, .panel--dark h3 { color: #F7EEDF; }

.sec-index {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: .9;
  letter-spacing: .02em;
  color: rgba(31, 77, 67, .12);
  -webkit-text-stroke: 1px rgba(31, 77, 67, .42);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 4px 12px;
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  background: rgba(127, 169, 155, .22);
  border: 1px solid rgba(127, 169, 155, .5);
  color: #2c5348;
}
.tag--gold {
  background: rgba(201, 162, 39, .16);
  border-color: rgba(201, 162, 39, .45);
  color: #7a6213;
}
.tag--cinnabar {
  background: rgba(179, 58, 43, .12);
  border-color: rgba(179, 58, 43, .35);
  color: var(--cinnabar);
}
.tag--mono { font-family: var(--font-mono); }

.divider {
  border: 0;
  height: 1px;
  margin-block: clamp(24px, 4vw, 48px);
  background: linear-gradient(90deg, var(--line-gold), rgba(201, 162, 39, 0));
}

/* 7. 面包屑 ------------------------------------------------ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--warmgray);
}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before {
  content: "/";
  margin-right: .4em;
  color: rgba(110, 102, 89, .45);
}
.breadcrumbs a { color: var(--bronze); }
.breadcrumbs a:hover {
  color: var(--cinnabar);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 8. 正文容器 ---------------------------------------------- */
.prose { max-width: 40em; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p { max-width: 40em; }
.prose a {
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--cinnabar); }
.prose ul { padding-left: 1.1em; }
.prose ul li { position: relative; padding-left: 1em; }
.prose ul li + li { margin-top: .45em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose blockquote {
  border-left: 3px solid var(--cinnabar);
  padding-left: 1.1em;
  font-family: var(--font-serif);
  color: #3d3a33;
}

/* 9. 图片容器（页面阶段放置占位或 img） --------------------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 162, 39, .28);
  background: linear-gradient(150deg, #2E6B5A 0%, #1F4D43 46%, #12100E 100%);
  isolation: isolate;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(118deg, rgba(232, 201, 106, .10) 0 2px, transparent 2px 10px);
  mix-blend-mode: screen;
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media-ph {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: rgba(244, 235, 221, .62);
}

/* 10. 章节目录 / 跟随高亮 ---------------------------------- */
.toc { display: grid; gap: 4px; }
.toc-link {
  display: flex;
  align-items: baseline;
  gap: .6em;
  padding: 7px 12px;
  border-radius: var(--pill);
  font-size: 13.5px;
  color: var(--warmgray);
  transition: background-color .18s ease, color .18s ease;
}
.toc-link:hover { background: rgba(31, 77, 67, .08); color: var(--ink); }
.toc-link[aria-current="true"] {
  background: rgba(31, 77, 67, .12);
  color: var(--bronze);
  font-weight: 600;
}

/* 11. 头部浮岛 --------------------------------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--paper-white);
  font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus-visible { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 16px 0;
  background: linear-gradient(to bottom,
    rgba(244, 235, 221, .96) 0%,
    rgba(244, 235, 221, .76) 62%,
    rgba(244, 235, 221, 0) 100%);
  transition: padding-top .22s ease;
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(1240px, 100%);
  min-height: 62px;
  margin-inline: auto;
  padding: 8px 10px 8px 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(31, 77, 67, .18);
  background: rgba(251, 247, 239, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 18px 44px -34px rgba(18, 16, 14, .85);
  transition: background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.site-header[data-compact="true"] { padding-top: 6px; }
.site-header[data-compact="true"] .header-shell {
  background: rgba(251, 247, 239, .97);
  border-color: rgba(31, 77, 67, .3);
  box-shadow:
    0 26px 52px -34px rgba(18, 16, 14, .9),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* 品牌印记 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 2px 4px 2px 0;
  border-radius: var(--pill);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(148deg, var(--bronze-deep) 0%, var(--bronze) 78%);
  border: 1px solid rgba(232, 201, 106, .55);
  box-shadow:
    inset 0 1px 0 rgba(232, 201, 106, .35),
    0 10px 20px -14px rgba(18, 16, 14, .95);
  transition: transform .2s ease;
}
.brand-mark-glyph {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-soft);
  transform: translateY(-1px);
}
.brand:hover .brand-mark { transform: rotate(-4deg); }

.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.3;
  color: var(--warmgray);
  white-space: nowrap;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(31, 77, 67, .24);
  background: rgba(251, 247, 239, .9);
  color: var(--bronze);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
}
.nav-toggle-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; }
.nav-toggle-bar {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .18s ease;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--pill);
  background: rgba(31, 77, 67, .07);
}
.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #2f2c26;
  transition: background-color .18s ease, color .18s ease;
}
.nav-link:hover { background: rgba(31, 77, 67, .14); color: var(--ink); }
.nav-link[aria-current="page"] {
  background: linear-gradient(150deg, var(--bronze-deep), var(--bronze));
  color: var(--paper-white);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(232, 201, 106, .38);
}

.nav-foot { display: none; }
.nav-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--warmgray);
  word-break: break-all;
}

/* 右侧浮标 */
.header-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.pulse-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(201, 162, 39, .42);
  background: rgba(201, 162, 39, .12);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #7a6213;
  white-space: nowrap;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseGold 2.4s ease-in-out infinite;
}
@keyframes pulseGold {
  0%, 100% { opacity: .45; box-shadow: 0 0 0 0 rgba(201, 162, 39, .5); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(201, 162, 39, 0); }
}

/* 阅读进度线 */
.header-progress {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft) 55%, var(--cinnabar));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  opacity: .85;
}

/* 12. 页脚 ------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(44px, 6vw, 84px) 0 0;
  overflow: hidden;
  background: radial-gradient(120% 100% at 8% 0, #1b3f36 0%, #12100E 62%);
  color: #EFE6D6;
}

.footer-watermark {
  position: absolute;
  right: -.06em;
  top: -.22em;
  font-family: var(--font-serif);
  font-size: clamp(8rem, 21vw, 19rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(232, 201, 106, .055);
  pointer-events: none;
  user-select: none;
}

.footer-glow {
  position: absolute;
  right: -14%;
  bottom: -46%;
  width: min(720px, 92vw);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 162, 39, .24), transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--bronze-deep), var(--bronze));
  border: 1px solid rgba(201, 162, 39, .5);
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .95);
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .07em;
  color: #F7EEDF;
}
.footer-tagline {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(239, 230, 214, .72);
}
.footer-meta {
  margin-top: 14px;
  color: rgba(232, 201, 106, .85);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(232, 201, 106, .92);
}
.footer-link {
  display: inline-block;
  padding-block: 5px;
  font-size: 14px;
  color: rgba(239, 230, 214, .78);
  word-break: break-all;
  transition: color .18s ease, transform .18s ease;
}
.footer-link:hover { color: var(--gold-soft); transform: translateX(3px); }
.footer-link[aria-current="page"] { color: var(--gold-soft); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(232, 201, 106, .22);
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(239, 230, 214, .88);
}
a.footer-contact-item:hover { color: var(--gold-soft); }
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(127, 169, 155, .95);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(24px, 3.5vw, 36px);
  padding-block: 18px 22px;
  border-top: 1px solid rgba(239, 230, 214, .12);
  font-size: 12.5px;
  color: rgba(239, 230, 214, .55);
}
.footer-copy, .footer-icp { margin: 0; }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bronze);
  border: 1px solid rgba(232, 201, 106, .55);
  color: var(--paper-white);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease,
              background-color .18s ease;
}
.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { background: var(--bronze-deep); }
.to-top-arrow { font-size: 18px; line-height: 1; }

/* 13. 进场动效 --------------------------------------------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease;
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 14. 响应式 ----------------------------------------------- */
@media (max-width: 1180px) {
  .brand-sub { display: none; }
}

@media (max-width: 960px) {
  .site-header { padding: 10px 12px 0; }
  .header-shell {
    flex-wrap: wrap;
    gap: 10px;
    min-height: 56px;
    padding: 8px 12px;
    border-radius: 26px;
  }
  .nav-toggle { display: inline-flex; }
  .header-side { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 77, 67, .18);
    background: rgba(251, 247, 239, .98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 60px -34px rgba(18, 16, 14, .9);
  }
  .site-nav[data-open="true"] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    background: none;
  }
  .nav-link {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 15px;
  }
  .nav-foot {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .header-progress { left: 18px; right: 18px; bottom: 3px; }

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

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: min(100% - 28px, 1200px); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 12px; bottom: 12px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
  .brand-name { font-size: 15.5px; }
}

/* 15. 动效降级 --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .pulse-dot { animation: none; }
  .js-reveal [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
