/* ============================================================
   皇冠体彩开奖 · /assets/site.css
   共享外壳：重置、变量、中文排版、头部、页脚、按钮、容器、基础组件
   ============================================================ */

/* ---------- 1. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色 */
  --gold: #D4AF37;
  --gold-hi: #F2D98A;
  --bronze: #8A6A1F;
  --ink-green: #0B3D2E;
  --ink: #121212;
  --red: #C0392B;
  --jade: #2FBF9F;
  --paper: #E8E2D2;
  --graphite: #2A2A2A;
  --sand: #F5F1E6;

  /* 场景化语义色 */
  --bg: #0E0E0E;
  --bg-deep: #08110E;
  --surface: #171717;
  --surface-2: #1F1F1F;
  --line: rgba(212, 175, 55, .24);
  --line-strong: rgba(212, 175, 55, .52);
  --text: var(--paper);
  --text-dim: rgba(232, 226, 210, .70);
  --text-mute: rgba(232, 226, 210, .48);

  /* 字体 */
  --font-head: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  /* 尺寸与节奏 */
  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --cut: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 90% at 88% -6%, rgba(11, 61, 46, .55), transparent 58%),
    radial-gradient(90% 70% at 0% 0%, rgba(212, 175, 55, .07), transparent 52%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.78;
  letter-spacing: .012em;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: .015em;
  color: #F6F1E1;
}
h1 { font-size: clamp(30px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 25px); }
h4 { font-size: clamp(16px, 1.6vw, 19px); letter-spacing: .04em; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--gold-hi); font-weight: 700; }

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

/* ---------- 4. 跳转与内容容器 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -84px;
  z-index: 220;
  padding: .72em 1.2em;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  color: #141208;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .22s var(--ease);
}
.skip-link:focus { top: 10px; }

#main-content { display: block; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(34px, 5.5vw, 72px); }
.section--tight { padding-block: clamp(22px, 3.2vw, 40px); }

.stack > * + * { margin-top: var(--stack-gap, 1.1rem); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line-strong), rgba(212, 175, 55, .08) 62%, transparent);
}

/* ---------- 5. 文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}

.section-head { display: flex; flex-direction: column; gap: .7rem; margin-bottom: clamp(20px, 3vw, 34px); }

.section-title { position: relative; padding-left: clamp(14px, 1.6vw, 20px); }
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-hi), var(--bronze));
}

.lede {
  max-width: 62ch;
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--text-dim);
  line-height: 1.8;
}

.prose { max-width: 72ch; color: var(--text-dim); }
.prose h2, .prose h3 { margin: 1.9em 0 .7em; color: #F6F1E1; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.15em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-hi); text-underline-offset: 3px; }
.prose strong { font-weight: 700; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .24em .62em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gold-hi);
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, .07);
  white-space: nowrap;
}
.tag--alert { color: #F3C4BC; border-color: rgba(192, 57, 43, .6); background: rgba(192, 57, 43, .16); }
.tag--ok { color: #B7F0E2; border-color: rgba(47, 191, 159, .5); background: rgba(47, 191, 159, .12); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .68em 1.15em;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--gold-hi);
  background: rgba(212, 175, 55, .07);
  border: 1px solid var(--line-strong);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { background: rgba(212, 175, 55, .18); color: #FFF8E2; border-color: var(--gold); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 52%, var(--bronze) 100%);
  border-color: var(--gold);
  color: #17130A;
  font-weight: 700;
}
.btn--primary:hover { color: #0D0B05; filter: brightness(1.07); }

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: rgba(232, 226, 210, .26);
}
.btn--ghost:hover { color: var(--gold-hi); border-color: var(--line-strong); background: rgba(212, 175, 55, .08); }

/* ---------- 7. 头部命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #101010 0%, #0C1512 100%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hi) 20%, var(--bronze) 52%, rgba(212, 175, 55, .06) 100%);
  pointer-events: none;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, rgba(212, 175, 55, .55) 0 1px, transparent 1px 13px);
  opacity: .3;
  pointer-events: none;
}
.site-header[data-scrolled] {
  background: linear-gradient(180deg, #0A0A0A 0%, #0A1A15 100%);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 18px 34px -26px rgba(0, 0, 0, .95);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62em;
  min-width: 0;
  text-decoration: none;
  color: var(--paper);
}
.brand-crown {
  flex: 0 0 auto;
  width: 32px;
  height: 26px;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, var(--bronze) 100%);
  clip-path: polygon(0% 100%, 0% 26%, 21% 56%, 50% 0%, 79% 56%, 100% 26%, 100% 100%);
  filter: drop-shadow(0 0 7px rgba(212, 175, 55, .34));
  transition: filter .25s var(--ease);
}
.brand:hover .brand-crown { filter: drop-shadow(0 0 12px rgba(242, 217, 138, .62)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #F7F2E2;
  white-space: nowrap;
}
.brand-tag {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .32em;
  color: var(--gold);
  opacity: .82;
  white-space: nowrap;
}
.brand--footer { gap: .7em; }
.brand--footer .brand-name { font-size: 22px; }
.brand--footer .brand-crown { width: 38px; height: 30px; }

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55em;
  padding: .5em .68em;
  color: var(--gold-hi);
  background: rgba(212, 175, 55, .07);
  border: 1px solid var(--line-strong);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.nav-toggle-bars { display: flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .26s var(--ease), opacity .18s linear;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
.nav-toggle-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; }

/* 导航 */
.site-nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-item { display: block; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .42em;
  padding: .58em .68em;
  font-size: 13.5px;
  letter-spacing: .07em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s var(--ease);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--bronze);
  transition: color .22s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: .68em;
  right: .68em;
  bottom: .3em;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.nav-link:hover { color: #FFF8E2; }
.nav-link:hover .nav-index { color: var(--gold); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--gold-hi); }
.nav-link[aria-current="page"] .nav-index { color: var(--gold); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--gold); }

/* 状态胶囊与主操作 */
.header-status {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .42em .7em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--paper);
  white-space: nowrap;
  background: rgba(11, 61, 46, .5);
  border: 1px solid var(--line);
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .18);
  animation: status-pulse 2.8s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(192, 57, 43, .14); }
  50% { box-shadow: 0 0 0 5px rgba(192, 57, 43, .06); }
}
.header-cta { font-size: 13px; padding: .55em .95em; white-space: nowrap; }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 112px);
  color: var(--text-dim);
  background: linear-gradient(180deg, #0A0A0A 0%, var(--ink-green) 64%, #082B20 100%);
  border-top: 1px solid var(--line-strong);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 320px;
  background: radial-gradient(120% 100% at 84% 0%, rgba(212, 175, 55, .16), transparent 62%);
  pointer-events: none;
}
.footer-rail {
  height: 10px;
  background-image: repeating-linear-gradient(90deg, rgba(212, 175, 55, .8) 0 1px, transparent 1px 18px);
  opacity: .34;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr .9fr 1.25fr .9fr;
  gap: clamp(24px, 3.4vw, 52px);
  padding-block: clamp(38px, 5.4vw, 68px);
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer-desc { font-size: 14.5px; line-height: 1.85; color: var(--text-dim); max-width: 34ch; }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--gold);
  padding-top: .55rem;
  border-top: 1px dashed rgba(212, 175, 55, .28);
  width: 100%;
  max-width: 26ch;
}
.footer-col { display: flex; flex-direction: column; gap: .9rem; }
.footer-title {
  display: flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-title::before { content: ""; width: 16px; height: 1px; background: var(--gold); }
.footer-list { display: flex; flex-direction: column; gap: .5rem; font-size: 14px; }
.footer-link {
  position: relative;
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  padding-left: .95em;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 8px;
  height: 1px;
  background: var(--bronze);
  transition: width .2s var(--ease), background-color .2s var(--ease);
}
.footer-link:hover { color: var(--gold-hi); padding-left: 1.2em; }
.footer-link:hover::before { width: 14px; background: var(--gold); }
.footer-list--plain { gap: .7rem; }
.footer-list--plain li { display: flex; flex-direction: column; gap: .1rem; }
.footer-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--bronze);
}
.footer-value { font-size: 13.5px; line-height: 1.6; color: var(--paper); overflow-wrap: anywhere; }
.footer-icp {
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--text-mute);
}
.footer-bottom { border-top: 1px solid rgba(212, 175, 55, .18); background: rgba(0, 0, 0, .34); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5em 1.6em;
  padding-block: 16px;
  font-size: 12px;
  color: var(--text-mute);
}
.footer-copy { letter-spacing: .04em; }
.footer-note { letter-spacing: .04em; }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45em;
  margin-top: clamp(16px, 2.6vw, 26px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--text-mute);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .45em; }
.breadcrumb li + li::before { content: "/"; color: var(--bronze); }
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--gold-hi); }

/* ---------- 10. 网格与面板 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; }

.panel {
  position: relative;
  padding: clamp(18px, 2.5vw, 30px);
  background: linear-gradient(158deg, rgba(42, 42, 42, .92) 0%, rgba(18, 18, 18, .94) 100%);
  border: 1px solid var(--line);
}
.panel--cut {
  --cut: 18px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* ---------- 11. 图片容器基础规则 ---------- */
.figure {
  --cut: 16px;
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, #122A22 0%, #1A1A1A 58%, #0D0D0D 100%);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.figure > img,
.figure > picture,
.figure > picture > img,
.figure > svg,
.figure > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure--wide { aspect-ratio: 21 / 9; }
.figure--hero { aspect-ratio: 16 / 7; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure-caption {
  margin-top: .7em;
  font-size: 12.5px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--text-mute);
}

/* ---------- 12. 章节目录与阅读辅助 ---------- */
.toc-link {
  display: block;
  padding: .4em 0 .4em .9em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--text-mute);
  text-decoration: none;
  border-left: 1px solid rgba(212, 175, 55, .2);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.toc-link:hover { color: var(--text); border-left-color: var(--line-strong); }
.toc-link.is-active { color: var(--gold-hi); border-left-color: var(--gold); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  box-shadow: 0 0 10px rgba(242, 217, 138, .5);
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 120;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--gold-hi);
  background: rgba(11, 61, 46, .94);
  border: 1px solid var(--line-strong);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s linear, background-color .2s var(--ease);
}
.back-to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: rgba(19, 89, 68, .98); color: #FFF8E2; }

/* ---------- 13. 显现动效 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1120px) {
  .header-status { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-link { padding-inline: .55em; font-size: 13px; }
  .nav-link::after { left: .55em; right: .55em; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    min-height: var(--header-h);
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    justify-self: stretch;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 10px var(--gutter) 20px;
    background: linear-gradient(180deg, #101010 0%, #0A1F19 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 22px 40px -30px #000;
  }
  .site-nav[data-open] { display: block; animation: nav-in .26s var(--ease); }
  @keyframes nav-in {
    from { opacity: 0; transform: translate3d(0, -8px, 0); }
    to { opacity: 1; transform: none; }
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: .9em .2em;
    font-size: 15px;
    border-bottom: 1px dashed rgba(212, 175, 55, .16);
  }
  .nav-link::after { left: .2em; right: auto; width: 26px; bottom: .6em; }
  .nav-index { font-size: 10.5px; }
  .header-cta { font-size: 12.5px; padding: .5em .8em; }

  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--sidebar { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { font-size: 17px; }
  .brand-crown { width: 28px; height: 23px; }
  .brand--footer .brand-name { font-size: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .back-to-top { width: 42px; height: 42px; }
}

@media (max-width: 420px) {
  .brand-tag { display: none; }
  .header-cta { letter-spacing: .04em; }
}

/* ---------- 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;
  }
  .status-dot { animation: none; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .back-to-top { transition: none; }
}
