/* ==========================================================================
   万豪斗地主 · 共享站点样式 /assets/site.css
   夜幕靛蓝底色 + 藏红/鎏金强调 + 直角细线 + 编辑部框架导航
   ========================================================================== */

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

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

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

ul, ol { padding: 0; list-style: none; }

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --mh-night-950: #0A1029;
  --mh-night-900: #101A3A;
  --mh-panel-800: #1B2A55;
  --mh-panel-700: #263B70;
  --mh-gold-500: #D8A24A;
  --mh-gold-300: #F0CE8A;
  --mh-saffron-600: #B33A2B;
  --mh-turq-500: #2FA59A;
  --mh-sand-50: #F7F1E3;
  --mh-ink-900: #0B0F1C;

  --mh-bg: var(--mh-night-950);
  --mh-text: var(--mh-sand-50);
  --mh-muted: rgba(247, 241, 227, 0.66);
  --mh-faint: rgba(247, 241, 227, 0.42);
  --mh-line: rgba(216, 162, 74, 0.26);
  --mh-line-strong: rgba(216, 162, 74, 0.62);
  --mh-rail-bg: #070B1D;

  --mh-rail-w: 92px;
  --mh-top-h: 64px;
  --mh-quickbar-h: 58px;
  --mh-max: 1280px;
  --mh-gap: 24px;
  --mh-pad: 24px;

  --mh-font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --mh-font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mh-font-num: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;

  --mh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mh-z-header: 100;
}

/* ---------- 3. 基础排版 ---------- */
html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-left: var(--mh-rail-w);
  background-color: var(--mh-bg);
  background-image:
    radial-gradient(circle at 84% -8%, rgba(47, 165, 154, 0.16), transparent 46%),
    radial-gradient(circle at 4% 2%, rgba(179, 58, 43, 0.18), transparent 38%),
    linear-gradient(180deg, #0A1029 0%, #0A1029 68%, #0B0F1C 100%);
  background-attachment: fixed;
  color: var(--mh-text);
  font-family: var(--mh-font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* 精密竖线纹理：全站网格底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(216, 162, 74, 0.05) 1px, transparent 1px);
  background-size: 96px 100%;
}

.mh-main,
.mh-footer { position: relative; z-index: 1; }

.mh-main { min-height: 60vh; }

:where([id]) { scroll-margin-top: calc(var(--mh-top-h) + 20px); }

:focus-visible {
  outline: 2px solid var(--mh-gold-300);
  outline-offset: 3px;
}

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

.mh-h1, .mh-h2, .mh-h3 {
  font-family: var(--mh-font-serif);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--mh-sand-50);
}

.mh-h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.mh-h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.mh-h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.35; }

.mh-prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(247, 241, 227, 0.86);
}

.mh-prose p + p { margin-top: 1em; }
.mh-prose h2 { margin: 1.8em 0 0.6em; font-size: 1.6rem; }
.mh-prose h3 { margin: 1.5em 0 0.5em; font-size: 1.2rem; }
.mh-prose ul, .mh-prose ol { margin: 1em 0; padding-left: 1.35em; list-style: disc; }
.mh-prose ol { list-style: decimal; }
.mh-prose li + li { margin-top: 0.4em; }
.mh-prose a {
  color: var(--mh-gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mh-prose strong { color: var(--mh-sand-50); font-weight: 700; }

.mh-lead {
  max-width: 56ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.85;
  color: var(--mh-muted);
}

/* ---------- 4. 容器与节奏 ---------- */
.mh-container {
  width: 100%;
  max-width: var(--mh-max);
  margin: 0 auto;
  padding: 0 var(--mh-pad);
}

.mh-container--narrow { max-width: 820px; }

.mh-section { padding: 64px 0; }
.mh-section--tight { padding: 40px 0; }

.mh-rule {
  height: 0;
  border: 0;
  border-top: 1px solid var(--mh-line);
  margin: 40px 0;
}

.mh-band {
  height: 6px;
  border: 0;
  background: linear-gradient(
    90deg,
    var(--mh-saffron-600) 0 22%,
    transparent 22% 29%,
    var(--mh-gold-500) 29% 62%,
    transparent 62% 69%,
    var(--mh-turq-500) 69% 100%
  );
}

.mh-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mh-font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mh-gold-500);
}

.mh-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--mh-line);
}

/* ---------- 5. 按钮 ---------- */
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--mh-font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s var(--mh-ease), color 0.16s var(--mh-ease),
    border-color 0.16s var(--mh-ease), transform 0.16s var(--mh-ease);
}

.mh-btn--gold {
  background: var(--mh-gold-500);
  color: var(--mh-ink-900);
}
.mh-btn--gold:hover { background: var(--mh-gold-300); }

.mh-btn--saffron {
  background: var(--mh-saffron-600);
  color: var(--mh-sand-50);
}
.mh-btn--saffron:hover { background: #c94433; }

.mh-btn--ghost {
  background: transparent;
  border-color: var(--mh-line-strong);
  color: var(--mh-gold-300);
}
.mh-btn--ghost:hover { background: rgba(216, 162, 74, 0.12); }

.mh-btn:active { transform: translateY(1px); }

/* ---------- 6. 面包屑 ---------- */
.mh-breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mh-muted);
}

.mh-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mh-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mh-breadcrumb__item + .mh-breadcrumb__item::before {
  content: "/";
  color: var(--mh-line-strong);
}

.mh-breadcrumb__link { color: var(--mh-muted); border-bottom: 1px solid transparent; }
.mh-breadcrumb__link:hover { color: var(--mh-gold-300); border-bottom-color: var(--mh-line-strong); }

.mh-breadcrumb__current { color: var(--mh-sand-50); }

/* ---------- 7. 网格、卡片、数据 ---------- */
.mh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mh-gap);
}

.mh-card {
  position: relative;
  padding: 26px 24px;
  background: var(--mh-panel-800);
  border: 1px solid var(--mh-line);
  border-radius: 0;
  transition: border-color 0.16s var(--mh-ease), background-color 0.16s var(--mh-ease);
}

.mh-card:hover { border-color: var(--mh-line-strong); }

.mh-card--accent { border-top: 3px solid var(--mh-saffron-600); }

.mh-card__eyebrow {
  display: block;
  font-family: var(--mh-font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--mh-turq-500);
}

.mh-card__title {
  margin: 10px 0 8px;
  font-family: var(--mh-font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--mh-sand-50);
}

.mh-card__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mh-muted);
}

.mh-stat { display: flex; flex-direction: column; gap: 4px; }

.mh-stat__num {
  font-family: var(--mh-font-num);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--mh-gold-300);
  font-variant-numeric: tabular-nums;
}

.mh-stat--turq .mh-stat__num { color: var(--mh-turq-500); }

.mh-stat__label {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mh-muted);
}

/* ---------- 8. 目录、折叠、标签 ---------- */
.mh-index {
  padding-left: 18px;
  border-left: 1px solid var(--mh-line);
}

.mh-index__title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--mh-gold-500);
}

.mh-index__list { display: flex; flex-direction: column; gap: 8px; }

.mh-index__link {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--mh-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--mh-ease), border-color 0.16s var(--mh-ease);
}

.mh-index__link:hover,
.mh-index__link[aria-current="true"] {
  color: var(--mh-gold-300);
  border-bottom-color: var(--mh-line-strong);
}

.mh-details {
  background: var(--mh-panel-800);
  border: 1px solid var(--mh-line);
}

.mh-details + .mh-details { margin-top: 10px; }

.mh-details__summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mh-sand-50);
  cursor: pointer;
  list-style: none;
}

.mh-details__summary::-webkit-details-marker { display: none; }

.mh-details__summary::after {
  content: "+";
  font-family: var(--mh-font-num);
  font-size: 20px;
  line-height: 1;
  color: var(--mh-gold-500);
}

.mh-details[open] .mh-details__summary::after { content: "\2013"; }

.mh-details__body {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mh-muted);
}

.mh-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--mh-line-strong);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mh-gold-300);
}

.mh-tag--saffron { border-color: rgba(179, 58, 43, 0.75); color: #E6A79C; }
.mh-tag--turq { border-color: rgba(47, 165, 154, 0.7); color: var(--mh-turq-500); }

/* ---------- 9. 图片容器（页面阶段放图） ---------- */
.mh-media {
  position: relative;
  overflow: hidden;
  background: var(--mh-panel-800);
  border: 1px solid var(--mh-line);
}

.mh-media__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mh-media--portrait .mh-media__img { aspect-ratio: 4 / 5; }
.mh-media--square .mh-media__img { aspect-ratio: 1 / 1; }

.mh-media__caption {
  padding: 10px 14px;
  border-top: 1px solid var(--mh-line);
  background: rgba(10, 16, 41, 0.6);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mh-muted);
}

.mh-media--placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  background-color: var(--mh-panel-800);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(216, 162, 74, 0.14) 0 1px,
    transparent 1px 14px
  );
}

.mh-media--placeholder::before {
  content: "高原牌局插画 · 待置入";
  padding: 8px 14px;
  border: 1px solid var(--mh-line-strong);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mh-muted);
}

/* ---------- 10. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.42s var(--mh-ease), transform 0.42s var(--mh-ease);
}

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

[data-reveal][data-reveal-delay="1"] { transition-delay: 0.07s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.14s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.21s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.28s; }

/* ---------- 11. 头部：书脊栏 + 快捷条 ---------- */
.mh-header {
  position: relative;
  z-index: var(--mh-z-header);
}

.mh-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--mh-gold-500);
  color: var(--mh-ink-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--mh-ink-900);
  transform: translateY(-160%);
  transition: transform 0.18s var(--mh-ease);
}

.mh-skip:focus { transform: none; }

.mh-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--mh-rail-w);
  padding: 18px 0 22px;
  background: linear-gradient(180deg, #070B1D 0%, #0A1029 60%, #0C1430 100%);
  border-right: 1px solid var(--mh-line);
}

.mh-rail__brand {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--mh-line-strong);
  transition: border-color 0.16s var(--mh-ease);
}

.mh-rail__brand::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  background: var(--mh-saffron-600);
}

.mh-rail__brand:hover { border-color: var(--mh-gold-300); }

.mh-rail__mark {
  font-family: var(--mh-font-serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: var(--mh-gold-300);
}

.mh-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 0;
  overflow-y: auto;
}

.mh-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.mh-nav__item {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mh-nav__link {
  display: block;
  padding: 14px 8px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--mh-muted);
  border-left: 2px solid transparent;
  transition: color 0.16s var(--mh-ease), background-color 0.16s var(--mh-ease),
    border-color 0.16s var(--mh-ease);
}

.mh-nav__link:hover {
  color: var(--mh-gold-300);
  background: rgba(216, 162, 74, 0.08);
}

.mh-nav__link[aria-current="page"] {
  color: var(--mh-gold-300);
  background: rgba(216, 162, 74, 0.14);
  border-left-color: var(--mh-gold-500);
}

.mh-rail__issue {
  margin-top: auto;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--mh-faint);
}

.mh-topbar {
  position: sticky;
  top: 0;
  z-index: 110;
  background: var(--mh-night-950);
  border-bottom: 1px solid var(--mh-line);
}

.mh-topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--mh-max);
  min-height: var(--mh-top-h);
  margin: 0 auto;
  padding: 0 var(--mh-pad);
}

.mh-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mh-brand__name {
  font-family: var(--mh-font-serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--mh-sand-50);
  transition: color 0.16s var(--mh-ease);
}

.mh-brand:hover .mh-brand__name { color: var(--mh-gold-300); }

.mh-brand__sub {
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--mh-faint);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mh-quick {
  display: flex;
  align-items: center;
  margin-left: auto;
  border: 1px solid var(--mh-line);
}

.mh-quick__item { display: flex; }
.mh-quick__item + .mh-quick__item { border-left: 1px solid var(--mh-line); }

.mh-quick__link {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--mh-muted);
  transition: color 0.16s var(--mh-ease), background-color 0.16s var(--mh-ease);
}

.mh-quick__link:hover {
  color: var(--mh-gold-300);
  background: rgba(216, 162, 74, 0.1);
}

.mh-icp {
  padding-left: 14px;
  border-left: 1px solid var(--mh-line);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mh-faint);
  white-space: nowrap;
}

.mh-burger {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--mh-line-strong);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--mh-gold-300);
  cursor: pointer;
  transition: background-color 0.16s var(--mh-ease);
}

.mh-burger:hover { background: rgba(216, 162, 74, 0.12); }

.mh-burger__bars {
  position: relative;
  width: 18px;
  height: 10px;
}

.mh-burger__bars::before,
.mh-burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--mh-ease), top 0.2s var(--mh-ease);
}

.mh-burger__bars::before { top: 0; }
.mh-burger__bars::after { top: 8px; }

.mh-header[data-open] .mh-burger__bars::before { top: 4px; transform: rotate(45deg); }
.mh-header[data-open] .mh-burger__bars::after { top: 4px; transform: rotate(-45deg); }

.mh-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(216, 162, 74, 0.14);
}

.mh-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--mh-saffron-600), var(--mh-gold-500) 48%, var(--mh-turq-500));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.mh-scrim { display: none; }

/* ---------- 12. 页脚 ---------- */
.mh-footer {
  margin-top: 72px;
  background: linear-gradient(180deg, #0A1029 0%, #080D20 62%, #070B1D 100%);
  border-top: 1px solid var(--mh-line-strong);
}

.mh-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--mh-max);
  margin: 0 auto;
  padding: 56px var(--mh-pad) 44px;
}

.mh-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mh-footer__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--mh-line-strong);
  font-family: var(--mh-font-serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: var(--mh-gold-300);
}

.mh-footer__name {
  font-family: var(--mh-font-serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--mh-sand-50);
}

.mh-footer__tag {
  max-width: 26em;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: var(--mh-muted);
}

.mh-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.mh-footer__col { min-width: 0; }

.mh-footer__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mh-line);
  font-family: var(--mh-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--mh-gold-500);
}

.mh-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mh-footer__link {
  display: inline-block;
  font-size: 14px;
  color: var(--mh-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--mh-ease), border-color 0.16s var(--mh-ease);
}

.mh-footer__link:hover {
  color: var(--mh-gold-300);
  border-bottom-color: var(--mh-line-strong);
}

.mh-footer__line {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
}

.mh-footer__label {
  flex: 0 0 3.6em;
  letter-spacing: 0.08em;
  color: var(--mh-faint);
}

.mh-footer__value {
  color: var(--mh-sand-50);
  word-break: break-word;
}

.mh-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--mh-line);
}

.mh-footer__contact .mh-footer__line { margin-top: 0; }

.mh-footer__copy {
  align-self: flex-start;
  margin-top: 10px;
  padding: 7px 14px;
  border: 1px solid var(--mh-line-strong);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mh-gold-300);
  cursor: pointer;
  transition: background-color 0.16s var(--mh-ease);
}

.mh-footer__copy:hover { background: rgba(216, 162, 74, 0.12); }

.mh-footer__bottom {
  border-top: 1px solid var(--mh-line);
  background: rgba(7, 11, 29, 0.72);
}

.mh-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  max-width: var(--mh-max);
  margin: 0 auto;
  padding: 18px var(--mh-pad) 26px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mh-faint);
}

.mh-footer__legal,
.mh-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.mh-footer__sep { color: var(--mh-line-strong); }

/* ---------- 13. 平板与手机 ---------- */
@media (min-width: 600px) {
  .mh-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .mh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-section { padding: 80px 0; }
}

@media (min-width: 960px) {
  .mh-footer__top { grid-template-columns: minmax(240px, 300px) 1fr; gap: 56px; }
}

@media (min-width: 1024px) {
  .mh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mh-grid--editorial { grid-template-columns: 216px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 1199px) {
  .mh-icp { display: none; }
}

@media (max-width: 1023px) {
  body { padding-left: 0; padding-bottom: var(--mh-quickbar-h); }

  .mh-rail {
    width: min(300px, 84vw);
    align-items: stretch;
    padding: 20px 0 28px;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform 0.32s var(--mh-ease);
    box-shadow: 0 0 0 1px var(--mh-line);
  }

  .mh-header[data-open] .mh-rail { transform: translateX(0); }

  .mh-rail__brand { margin: 0 auto; }

  .mh-nav {
    flex: 0 0 auto;
    align-items: stretch;
    justify-content: flex-start;
    padding: 22px 0;
    overflow: visible;
  }

  .mh-nav__list { align-items: stretch; gap: 0; }

  .mh-nav__item + .mh-nav__item { border-top: 1px solid rgba(216, 162, 74, 0.14); }

  .mh-nav__link {
    padding: 15px 22px;
    writing-mode: horizontal-tb;
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .mh-rail__issue {
    margin-top: auto;
    padding-top: 18px;
    writing-mode: horizontal-tb;
    text-align: center;
    letter-spacing: 0.24em;
  }

  .mh-quick {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: var(--mh-quickbar-h);
    margin: 0;
    border: 0;
    border-top: 1px solid var(--mh-line-strong);
    background: #080D21;
  }

  .mh-quick__item { display: flex; }
  .mh-quick__item + .mh-quick__item { border-left: 1px solid var(--mh-line); }

  .mh-quick__link {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 0 6px;
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .mh-burger { display: inline-flex; }

  .mh-scrim {
    position: fixed;
    inset: 0;
    z-index: 115;
    background: rgba(6, 9, 22, 0.74);
  }

  .mh-header[data-open] .mh-scrim { display: block; }
}

@media (max-width: 640px) {
  :root { --mh-pad: 18px; }
  .mh-brand__sub { display: none; }
  .mh-burger__text { display: none; }
  .mh-burger { padding: 10px; }
  .mh-footer__top { padding: 44px var(--mh-pad) 32px; }
}

/* ---------- 14. 减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .mh-rail { transition: none; }
  .mh-btn:active { transform: none; }
}
