/* ==========================================================================
   亿兆游艺 · 共享站点样式  /assets/site.css
   夜航图志：墨蓝海面 + 鎏金航线 + 坐标刻度
   ========================================================================== */

/* ---------- 1. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--yz-header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--yz-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--yz-moon);
  background-color: var(--yz-ink);
  background-image:
    linear-gradient(rgba(31, 58, 95, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 95, 0.26) 1px, transparent 1px);
  background-size: 88px 88px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul, ol { padding: 0; }

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

a { color: inherit; }

button { font: inherit; color: inherit; }

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

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

/* ---------- 2. CSS 变量 ---------- */
:root {
  /* 色板 */
  --yz-ink: #0B1B33;
  --yz-panel: #12294A;
  --yz-line: #1F3A5F;
  --yz-gold: #E8B04B;
  --yz-amber: #F08A2E;
  --yz-jade: #4FB39A;
  --yz-cinnabar: #D9543F;
  --yz-moon: #F2F5F9;
  --yz-mist: #8FA3BF;
  --yz-glow: #F7DFA8;

  /* 字体 */
  --yz-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --yz-sans: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --yz-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --yz-header-h: clamp(64px, 6.4vw, 82px);
  --yz-gutter: clamp(20px, 5vw, 96px);
  --yz-radius: 20px;
  --yz-radius-lg: 32px;
  --yz-wave: 240ms;
  --yz-swell: 320ms;
}

/* ---------- 3. 布局基元 ---------- */
.yz-main {
  position: relative;
  z-index: 1;
  padding-top: var(--yz-header-h);
  display: block;
}

.yz-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--yz-gutter);
}

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

.yz-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--yz-line);
}

/* ---------- 4. 排版层级 ---------- */
.yz-eyebrow {
  font-family: var(--yz-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yz-gold);
}

.yz-section-title {
  font-family: var(--yz-serif);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.32;
  letter-spacing: 0.03em;
  color: var(--yz-moon);
}

.yz-lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--yz-mist);
}

.yz-prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
}

.yz-prose p + p { margin-top: 1.1em; }

.yz-prose h2,
.yz-prose h3 {
  font-family: var(--yz-serif);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.yz-num {
  font-family: var(--yz-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--yz-gold);
}

.yz-link {
  color: var(--yz-glow);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 176, 75, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

/* ---------- 5. 按钮 ---------- */
.yz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.24s ease;
}

.yz-btn--gold {
  background: var(--yz-gold);
  border-color: var(--yz-gold);
  color: #0B1B33;
  font-weight: 600;
}

.yz-btn--gold:hover {
  background: var(--yz-glow);
  border-color: var(--yz-glow);
  box-shadow: 0 0 0 1px rgba(232, 176, 75, 0.5),
              0 12px 26px -14px rgba(232, 176, 75, 0.75);
}

.yz-btn--ghost {
  background: transparent;
  border-color: var(--yz-line);
  color: var(--yz-glow);
}

.yz-btn--ghost:hover {
  border-color: var(--yz-gold);
  background: rgba(232, 176, 75, 0.1);
  color: var(--yz-glow);
}

.yz-btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 6. 无障碍跳转 ---------- */
.yz-skip {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 400;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--yz-gold);
  color: #0B1B33;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform 0.2s ease-out;
}

.yz-skip:focus {
  transform: translate(-50%, 0);
}

/* ---------- 7. 页头 · 框架式导航 ---------- */
.yz-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  color: var(--yz-moon);
  background: linear-gradient(180deg, rgba(11, 27, 51, 0.94) 0%, rgba(11, 27, 51, 0.55) 62%, rgba(11, 27, 51, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color var(--yz-swell) ease, border-color var(--yz-swell) ease,
              box-shadow var(--yz-swell) ease;
}

.yz-header[data-scrolled] {
  background: var(--yz-ink);
  border-bottom-color: var(--yz-gold);
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.95);
}

.yz-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 40px);
  width: 100%;
  max-width: 1480px;
  height: var(--yz-header-h);
  margin-inline: auto;
  padding-inline: var(--yz-gutter);
}

/* 头部底部的坐标刻度线 */
.yz-header__inner::after {
  content: "";
  position: absolute;
  left: var(--yz-gutter);
  right: var(--yz-gutter);
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
      rgba(31, 58, 95, 0.95) 0 1px,
      transparent 1px 26px);
  opacity: 0.85;
}

/* 品牌署名 */
.yz-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--yz-moon);
}

.yz-brand__mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1.5px solid var(--yz-gold);
  border-radius: 12px;
  background: rgba(232, 176, 75, 0.08);
}

.yz-brand__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--yz-amber);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.yz-brand__mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yz-gold);
  box-shadow: 0 0 10px rgba(232, 176, 75, 0.85);
}

.yz-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.yz-brand__name {
  font-family: var(--yz-serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.14em;
}

.yz-brand__coord {
  font-family: var(--yz-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--yz-mist);
}

.yz-brand:hover .yz-brand__name { color: var(--yz-glow); }

/* 主导航 */
.yz-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.yz-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.yz-nav__item { list-style: none; }

.yz-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 15px;
  letter-spacing: 0.07em;
  color: var(--yz-mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

.yz-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--yz-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--yz-wave) ease-out;
}

.yz-nav__link:hover {
  color: var(--yz-glow);
}

.yz-nav__link:hover::after { transform: scaleX(1); }

.yz-nav__link[aria-current="page"] {
  color: var(--yz-glow);
  font-weight: 600;
}

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

.yz-nav__foot { display: none; }

/* 头部行动按钮 */
.yz-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* 汉堡按钮 */
.yz-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--yz-line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.yz-nav-toggle:hover {
  border-color: var(--yz-gold);
  background: rgba(232, 176, 75, 0.08);
}

.yz-nav-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--yz-gold);
  transition: transform var(--yz-wave) ease-out, opacity 0.2s ease;
}

.yz-nav-toggle[data-open] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.yz-nav-toggle[data-open] span:nth-child(2) { opacity: 0; }

.yz-nav-toggle[data-open] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- 8. 面包屑 ---------- */
.yz-breadcrumb {
  padding-top: 24px;
}

.yz-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--yz-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--yz-mist);
}

.yz-breadcrumb li {
  display: flex;
  align-items: center;
}

.yz-breadcrumb li + li::before {
  content: "／";
  margin: 0 10px;
  color: var(--yz-line);
}

.yz-breadcrumb a {
  color: var(--yz-mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* ---------- 9. 容器 / 网格 / 面板 ---------- */
.yz-grid {
  display: grid;
  gap: clamp(20px, 2.4vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.yz-panel {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--yz-panel);
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-radius);
}

/* ---------- 10. 徽标 ---------- */
.yz-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--yz-line);
  border-radius: 999px;
  font-family: var(--yz-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  color: var(--yz-mist);
}

.yz-tag--gold {
  color: var(--yz-gold);
  border-color: rgba(232, 176, 75, 0.45);
  background: rgba(232, 176, 75, 0.08);
}

.yz-tag--jade {
  color: var(--yz-jade);
  border-color: rgba(79, 179, 154, 0.45);
  background: rgba(79, 179, 154, 0.08);
}

.yz-tag--cinnabar {
  color: var(--yz-cinnabar);
  border-color: rgba(217, 84, 63, 0.45);
  background: rgba(217, 84, 63, 0.08);
}

/* ---------- 11. 图片容器（页面阶段放置占位图） ---------- */
.yz-figure {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-radius-lg);
  background: linear-gradient(155deg, var(--yz-panel) 0%, var(--yz-ink) 74%);
  isolation: isolate;
}

.yz-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 58, 95, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 95, 0.6) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.65;
}

.yz-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yz-figure__caption {
  position: relative;
  z-index: 2;
  display: block;
  padding: 14px 20px;
  border-top: 1px solid var(--yz-line);
  background: rgba(11, 27, 51, 0.86);
  font-family: var(--yz-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--yz-mist);
}

.yz-figure--wide { aspect-ratio: 16 / 9; }
.yz-figure--tall { aspect-ratio: 3 / 4; }
.yz-figure--square { aspect-ratio: 1 / 1; }
.yz-figure--cinema { aspect-ratio: 21 / 9; }

/* ---------- 12. 可展开目录条目 ---------- */
.yz-expand {
  border-bottom: 1px solid var(--yz-line);
}

.yz-expand__trigger {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  width: 100%;
  padding: 22px 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--yz-moon);
  transition: color 0.2s ease;
}

.yz-expand__trigger:hover { color: var(--yz-glow); }

.yz-expand__index {
  flex: 0 0 auto;
  font-family: var(--yz-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--yz-gold);
  align-self: flex-start;
  padding-top: 6px;
}

.yz-expand__meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.yz-expand__label {
  font-family: var(--yz-serif);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.yz-expand__summary {
  font-size: 14px;
  line-height: 1.65;
  color: var(--yz-mist);
}

.yz-expand__sign {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--yz-line);
  border-radius: 50%;
  transition: border-color var(--yz-wave) ease, transform var(--yz-wave) ease;
}

.yz-expand__sign::before,
.yz-expand__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--yz-amber);
  transform: translate(-50%, -50%);
}

.yz-expand__sign::before {
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
}

.yz-expand__sign::after {
  width: 1.5px;
  height: 11px;
  border-radius: 2px;
  transition: transform var(--yz-wave) ease, opacity 0.2s ease;
}

.yz-expand__trigger:hover .yz-expand__sign {
  border-color: var(--yz-gold);
}

.yz-expand[data-open] .yz-expand__sign {
  border-color: var(--yz-gold);
  background: rgba(232, 176, 75, 0.12);
}

.yz-expand[data-open] .yz-expand__sign::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.yz-expand__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--yz-swell) ease-out,
              opacity var(--yz-swell) ease-out;
}

.yz-expand__panel > .yz-expand__body {
  min-height: 0;
  overflow: hidden;
}

.yz-expand[data-open] .yz-expand__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.yz-expand__inner {
  padding: 0 0 28px clamp(0px, 4vw, 46px);
  color: var(--yz-mist);
  font-size: 16px;
  line-height: 1.8;
  max-width: 72ch;
}

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

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

/* ---------- 14. 页脚 ---------- */
.yz-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 120px);
  padding-top: clamp(40px, 5vw, 72px);
  background: var(--yz-ink);
  border-top: 1px solid var(--yz-line);
  color: var(--yz-mist);
}

.yz-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--yz-gold) 24%,
      var(--yz-amber) 50%,
      var(--yz-gold) 76%,
      transparent 100%);
  opacity: 0.6;
}

.yz-footer__inner {
  padding-bottom: 0;
}

.yz-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.yz-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.yz-footer__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--yz-mist);
  max-width: 26ch;
}

.yz-footer__coord {
  margin: 0;
  font-family: var(--yz-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--yz-line);
}

.yz-footer__group { min-width: 0; }

.yz-footer__heading {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yz-line);
  font-family: var(--yz-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yz-gold);
}

.yz-footer__list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yz-footer__list a {
  display: inline-block;
  font-size: 15px;
  line-height: 1.6;
  color: var(--yz-mist);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.yz-footer__list a:hover {
  color: var(--yz-glow);
  transform: translateX(4px);
}

.yz-footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px 32px;
  margin: 0;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--yz-line);
  margin-top: clamp(30px, 4vw, 56px);
}

.yz-footer__contact-item { min-width: 0; }

.yz-footer__contact dt {
  margin-bottom: 8px;
  font-family: var(--yz-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--yz-gold);
}

.yz-footer__contact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--yz-moon);
  overflow-wrap: break-word;
  word-break: break-word;
}

.yz-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 22px 0 clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--yz-line);
  font-size: 13px;
  color: var(--yz-mist);
}

.yz-footer__copyright { margin: 0; }

.yz-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.yz-footer__legal a {
  color: var(--yz-mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.yz-footer__icp {
  margin: 0;
  font-family: var(--yz-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--yz-mist);
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1240px) {
  .yz-header__actions .yz-btn--ghost { display: none; }
}

@media (max-width: 1100px) {
  .yz-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yz-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .yz-brand { margin-right: auto; }

  .yz-header__actions { gap: 8px; }

  .yz-nav-toggle { display: inline-flex; }

  .yz-nav {
    position: fixed;
    top: var(--yz-header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6px var(--yz-gutter) 22px;
    max-height: calc(100vh - var(--yz-header-h));
    overflow-y: auto;
    background: var(--yz-ink);
    border-top: 1px solid var(--yz-line);
    border-bottom: 1px solid var(--yz-gold);
    box-shadow: 0 26px 48px -28px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.28s ease-out, transform 0.28s ease-out, visibility 0.28s;
  }

  .yz-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .yz-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .yz-nav__item {
    border-bottom: 1px solid var(--yz-line);
  }

  .yz-nav__link {
    display: block;
    padding: 18px 0;
    font-size: 17px;
    color: var(--yz-moon);
  }

  .yz-nav__link::after {
    left: 0;
    right: auto;
    bottom: 8px;
    width: 42px;
  }

  .yz-nav__foot {
    display: grid;
    gap: 12px;
    padding-top: 20px;
  }

  .yz-nav__foot .yz-btn { width: 100%; }
}

@media (max-width: 860px) {
  .yz-brand__coord { display: none; }

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

  .yz-footer__base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .yz-brand__name {
    font-size: 18px;
    letter-spacing: 0.1em;
  }

  .yz-brand__mark {
    width: 30px;
    height: 30px;
  }

  .yz-header__actions .yz-btn {
    padding: 9px 15px;
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .yz-footer__grid { grid-template-columns: minmax(0, 1fr); }

  .yz-footer__contact { grid-template-columns: minmax(0, 1fr); }

  .yz-expand__trigger {
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0;
  }

  .yz-expand__sign {
    margin-top: 4px;
  }

  .yz-expand__inner { padding-left: 0; }
}

/* ---------- 16. 减弱动效偏好 ---------- */
@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;
    transition-delay: 0ms !important;
  }

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

  .yz-footer__list a:hover { transform: none; }

  .yz-nav,
  .yz-expand__panel {
    transition: opacity 0.001ms linear;
  }
}
