/* ==========================================================================
   亿兆娱乐会馆 · 共享样式 /assets/site.css
   暗夜霓虹 + 玻璃/实色并置 + 目录型内容地图
   ========================================================================== */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  background-color: #0B0B14;
  background-image:
    radial-gradient(60% 42% at 10% -4%, rgba(124, 58, 237, 0.30), transparent 70%),
    radial-gradient(46% 34% at 94% 6%, rgba(34, 211, 238, 0.16), transparent 72%),
    radial-gradient(52% 40% at 78% 104%, rgba(192, 38, 94, 0.16), transparent 74%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--yz-text);
  font-family: var(--yz-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

/* ---------- 变量 ---------- */
:root {
  --yz-black: #0B0B14;
  --yz-indigo: #1B1236;
  --yz-violet: #7C3AED;
  --yz-cyan: #22D3EE;
  --yz-gold: #F5C451;
  --yz-magenta: #C0265E;
  --yz-gold-light: #FFE9B0;
  --yz-text: #E8E6F2;
  --yz-muted: #A09CB8;
  --yz-glass: rgba(255, 255, 255, 0.10);
  --yz-glass-soft: rgba(255, 255, 255, 0.05);
  --yz-line: rgba(232, 230, 242, 0.14);
  --yz-font: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  --yz-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  --yz-shell: 1200px;
  --yz-radius: 20px;
  --yz-radius-sm: 12px;
  --yz-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.95);
  --yz-glow-violet: 0 18px 44px -22px rgba(124, 58, 237, 0.85);
}

/* ---------- 焦点与无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--yz-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

#main-content { display: block; scroll-margin-top: 104px; }

.yz-skip {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 90;
  padding: 10px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--yz-gold);
  color: #12100B;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.22s ease;
}

.yz-skip:focus { top: 0; }

/* ---------- 排版工具 ---------- */
.yz-display {
  margin: 0 0 0.4em;
  font-weight: 900;
  font-size: clamp(30px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  background: linear-gradient(100deg, #FFFFFF 4%, var(--yz-gold-light) 46%, var(--yz-cyan) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .yz-display { background: none; color: var(--yz-gold-light); -webkit-text-fill-color: currentColor; }
}

.yz-h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.yz-h3 { font-size: clamp(17px, 2vw, 21px); font-weight: 800; }

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

.yz-prose { font-size: 15.5px; line-height: 1.8; color: var(--yz-text); }
.yz-prose p { max-width: 62ch; }
.yz-prose a { color: var(--yz-cyan); text-decoration: underline; text-underline-offset: 3px; }

.yz-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--yz-cyan);
  text-transform: uppercase;
}

.yz-marginal {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--yz-muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.yz-marginal--rotate {
  writing-mode: horizontal-tb;
  transform: rotate(-90deg);
  transform-origin: left bottom;
}

.yz-data {
  font-family: var(--yz-mono);
  font-size: 0.94em;
  letter-spacing: 0.08em;
  color: var(--yz-gold-light);
}

.yz-divider {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 52px) 0;
  background: linear-gradient(90deg, transparent, var(--yz-line) 18%, rgba(34, 211, 238, 0.55) 50%, var(--yz-line) 82%, transparent);
}

/* ---------- 容器与章节 ---------- */
.yz-shell {
  width: 100%;
  max-width: var(--yz-shell);
  margin: 0 auto;
  padding: 0 20px;
}

.yz-shell--narrow { max-width: 820px; }
.yz-shell--wide { max-width: 1400px; }

.yz-section { padding: clamp(44px, 7vw, 96px) 0; }
.yz-section--tight { padding: clamp(24px, 4vw, 52px) 0; }

.yz-section--indigo {
  background: linear-gradient(180deg, rgba(27, 18, 54, 0.92), rgba(11, 11, 20, 0.55));
  border-top: 1px solid var(--yz-line);
  border-bottom: 1px solid var(--yz-line);
}

.yz-section--wide { position: relative; }

/* ---------- 网格 ---------- */
.yz-grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.yz-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.yz-grid--3 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.yz-grid--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

/* ---------- 按钮 ---------- */
.yz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.yz-btn:hover { transform: translateY(-2px); }
.yz-btn:active { transform: translateY(0); }

.yz-btn--primary {
  background: linear-gradient(120deg, var(--yz-violet), var(--yz-magenta));
  color: #FFFFFF;
  box-shadow: var(--yz-glow-violet);
}

.yz-btn--gold {
  background: linear-gradient(120deg, var(--yz-gold), var(--yz-gold-light));
  color: #17120A;
  box-shadow: 0 16px 36px -20px rgba(245, 196, 81, 0.9);
}

.yz-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--yz-line);
  color: var(--yz-text);
}

.yz-btn--ghost:hover { border-color: rgba(34, 211, 238, 0.55); color: var(--yz-cyan); }

/* ---------- 面包屑 ---------- */
.yz-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--yz-muted);
}

.yz-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.yz-breadcrumb__item a { color: var(--yz-muted); text-decoration: none; }
.yz-breadcrumb__item a:hover { color: var(--yz-gold); }
.yz-breadcrumb__sep { color: rgba(160, 156, 184, 0.55); }
.yz-breadcrumb__item[aria-current="page"] { color: var(--yz-gold-light); }

/* ---------- 卡片 ---------- */
.yz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-radius);
  overflow: hidden;
}

.yz-card--glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--yz-shadow);
}

.yz-card--solid { background: var(--yz-indigo); }
.yz-card--accent {
  background: linear-gradient(150deg, rgba(124, 58, 237, 0.38), rgba(11, 11, 20, 0.92));
  border-color: rgba(124, 58, 237, 0.5);
}

.yz-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.yz-card__index { font-family: var(--yz-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--yz-cyan); }
.yz-card__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.35; }
.yz-card__meta { font-size: 12.5px; letter-spacing: 0.05em; color: var(--yz-muted); }
.yz-card__body { margin: 0; font-size: 14.5px; color: var(--yz-muted); }
.yz-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- 标记 ---------- */
.yz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.yz-badge--gold { color: var(--yz-gold-light); background: rgba(245, 196, 81, 0.15); border-color: rgba(245, 196, 81, 0.42); }
.yz-badge--cyan { color: var(--yz-cyan); background: rgba(34, 211, 238, 0.13); border-color: rgba(34, 211, 238, 0.38); }
.yz-badge--magenta { color: #FFB5CE; background: rgba(192, 38, 94, 0.2); border-color: rgba(192, 38, 94, 0.5); }

.yz-tag {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--yz-line);
  border-radius: 8px;
  background: var(--yz-glass-soft);
  font-size: 12.5px;
  color: var(--yz-text);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.yz-tag:hover { border-color: rgba(245, 196, 81, 0.5); color: var(--yz-gold-light); }
.yz-tag--active { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.14); color: var(--yz-cyan); }

/* ---------- 媒体容器（页面阶段放图） ---------- */
.yz-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-radius);
  background: linear-gradient(135deg, var(--yz-indigo), var(--yz-black));
}

.yz-media--wide { aspect-ratio: 21 / 9; }
.yz-media--tall { aspect-ratio: 4 / 5; }
.yz-media--square { aspect-ratio: 1 / 1; }

.yz-media__img,
.yz-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yz-media__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--yz-text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

/* ---------- 时间轴 ---------- */
.yz-timeline { position: relative; padding-left: 26px; }
.yz-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--yz-violet), var(--yz-cyan), transparent);
}
.yz-timeline__item { position: relative; padding-bottom: 22px; }
.yz-timeline__dot {
  position: absolute;
  left: -24px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yz-gold);
  box-shadow: 0 0 0 4px rgba(245, 196, 81, 0.16);
}

/* ---------- 可展开内容组 ---------- */
.yz-disclosure {
  border: 1px solid var(--yz-line);
  border-radius: 16px;
  background: var(--yz-glass-soft);
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.yz-disclosure + .yz-disclosure { margin-top: 10px; }
.yz-disclosure[data-open] { border-color: rgba(124, 58, 237, 0.55); background: rgba(124, 58, 237, 0.12); }

.yz-disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.yz-disclosure__icon {
  flex: 0 0 auto;
  font-family: var(--yz-mono);
  font-size: 16px;
  color: var(--yz-cyan);
  transition: transform 0.25s ease;
}

.yz-disclosure[data-open] .yz-disclosure__icon { transform: rotate(45deg); }

.yz-disclosure__panel {
  padding: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--yz-muted);
}

.yz-disclosure__panel[hidden] { display: none; }

/* ---------- 分类切换 tabs ---------- */
.yz-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--yz-line);
  border-radius: 999px;
  background: rgba(11, 11, 20, 0.6);
}

.yz-tabs__btn {
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--yz-muted);
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.yz-tabs__btn:hover { color: var(--yz-text); }

.yz-tabs__btn[aria-selected="true"] {
  color: #FFFFFF;
  background: linear-gradient(120deg, var(--yz-violet), var(--yz-magenta));
  border-color: rgba(245, 196, 81, 0.35);
  box-shadow: 0 12px 28px -18px rgba(124, 58, 237, 0.95);
}

.yz-tabs__panel { padding-top: clamp(18px, 3vw, 30px); }
.yz-tabs__panel[hidden] { display: none; }

/* ---------- 顶部滚动进度 / 返回顶部 ---------- */
.yz-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 80;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--yz-cyan), var(--yz-violet), var(--yz-gold));
  pointer-events: none;
}

.yz-to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.42);
  border-radius: 50%;
  background: rgba(11, 11, 20, 0.86);
  color: var(--yz-cyan);
  font-family: var(--yz-mono);
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

.yz-to-top[data-visible] { opacity: 1; pointer-events: auto; }
.yz-to-top:hover { transform: translateY(-3px); border-color: var(--yz-gold); color: var(--yz-gold-light); }

/* ---------- 显现 ---------- */
html.yz-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

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

/* ==========================================================================
   页头
   ========================================================================== */
.yz-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(11, 11, 20, 0.95), rgba(27, 18, 54, 0.82));
  border-bottom: 1px solid var(--yz-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.yz-header__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 140% at 6% 0%, rgba(124, 58, 237, 0.38), transparent 70%),
    radial-gradient(38% 120% at 92% 0%, rgba(34, 211, 238, 0.20), transparent 72%);
}

.yz-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  max-width: var(--yz-shell);
  margin: 0 auto;
  padding: 12px 20px;
}

/* 品牌 */
.yz-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}

.yz-brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yz-gold), var(--yz-gold-light) 58%, var(--yz-cyan));
  color: #120F08;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 1px rgba(245, 196, 81, 0.35), 0 14px 32px -16px rgba(245, 196, 81, 0.8);
}

.yz-brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yz-brand__name { font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: 0.02em; color: var(--yz-text); }
.yz-brand__tagline { font-size: 12px; letter-spacing: 0.04em; color: var(--yz-muted); }

/* 移动开关 */
.yz-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 16px;
  border: 1px solid rgba(245, 196, 81, 0.4);
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.10);
  color: var(--yz-gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.yz-nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--yz-gold);
  transition: background-color 0.25s ease;
}

.yz-nav-toggle__bars::before,
.yz-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--yz-gold);
  transition: transform 0.25s ease, top 0.25s ease;
}

.yz-nav-toggle__bars::before { top: -6px; }
.yz-nav-toggle__bars::after { top: 6px; }

.yz-nav-toggle[aria-expanded="true"] .yz-nav-toggle__bars { background: transparent; }
.yz-nav-toggle[aria-expanded="true"] .yz-nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.yz-nav-toggle[aria-expanded="true"] .yz-nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.yz-nav-toggle__label { line-height: 1; }

/* 双层导航 */
.yz-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  margin-left: auto;
}

.yz-nav__tier { display: flex; align-items: center; gap: 12px; }

.yz-nav__tier--meta {
  padding-right: clamp(16px, 2.2vw, 30px);
  border-right: 1px dashed var(--yz-line);
}

.yz-nav__tier--main { gap: clamp(10px, 1.6vw, 22px); }

.yz-nav__tier-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(160, 156, 184, 0.85);
  white-space: nowrap;
}

.yz-nav__list { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); }

.yz-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  color: var(--yz-text);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.24s ease;
}

.yz-nav__tier--meta .yz-nav__link { font-size: 13px; color: var(--yz-muted); }

.yz-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--yz-cyan), var(--yz-gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.26s ease;
}

.yz-nav__link:hover { color: var(--yz-gold-light); }
.yz-nav__link:hover::after { transform: scaleX(1); }
.yz-nav__link[aria-current="page"] { color: var(--yz-gold); font-weight: 700; }
.yz-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 右侧动作 */
.yz-header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.yz-action {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.yz-action--compare {
  background: linear-gradient(120deg, var(--yz-violet), var(--yz-magenta));
  color: #FFFFFF;
  box-shadow: var(--yz-glow-violet);
}

.yz-action--search {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.09);
  color: var(--yz-cyan);
}

.yz-action:hover { transform: translateY(-2px); }
.yz-action--search:hover { border-color: var(--yz-cyan); color: #CFFAFE; }

/* ==========================================================================
   页脚
   ========================================================================== */
.yz-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  overflow: hidden;
  border-top: 1px solid var(--yz-line);
  background: linear-gradient(180deg, rgba(27, 18, 54, 0.9), #07070D 72%);
}

.yz-footer__glow {
  position: absolute;
  left: -10%;
  right: 24%;
  top: -180px;
  height: 340px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.34), transparent);
  filter: blur(8px);
}

.yz-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 3vw, 44px);
  max-width: var(--yz-shell);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 20px 30px;
}

.yz-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.yz-footer__logo { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: 0.02em; color: var(--yz-text); }
.yz-footer__note { margin: 0; font-size: 13.5px; color: var(--yz-gold); letter-spacing: 0.04em; }
.yz-footer__addr { margin: 6px 0 0; max-width: 30ch; font-size: 13.5px; line-height: 1.75; color: var(--yz-muted); }

.yz-footer__col { display: flex; flex-direction: column; gap: 12px; }

.yz-footer__title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--yz-gold);
}

.yz-footer__list { display: grid; gap: 8px; font-size: 14px; color: var(--yz-muted); }

.yz-footer__link {
  color: var(--yz-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.yz-footer__link:hover { color: var(--yz-cyan); border-bottom-color: rgba(34, 211, 238, 0.6); }

.yz-footer__data { font-family: var(--yz-mono); font-size: 13px; letter-spacing: 0.05em; color: var(--yz-gold-light); }

.yz-copy {
  align-self: flex-start;
  padding: 7px 14px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--yz-cyan);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.yz-copy:hover { border-color: var(--yz-gold); color: var(--yz-gold-light); }
.yz-copy[data-copied] { border-color: var(--yz-gold); background: rgba(245, 196, 81, 0.14); color: var(--yz-gold-light); }

.yz-footer__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  max-width: var(--yz-shell);
  margin: 0 auto;
  padding: 16px 20px 28px;
  border-top: 1px solid var(--yz-line);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--yz-muted);
}

.yz-footer__icp { font-family: var(--yz-mono); color: rgba(160, 156, 184, 0.9); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .yz-nav__tier-label { display: none; }
}

@media (max-width: 1023px) {
  .yz-nav-toggle { display: inline-flex; }

  .yz-header__inner { flex-wrap: wrap; }

  .yz-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 16px 20px 22px;
    background: linear-gradient(180deg, rgba(11, 11, 20, 0.985), rgba(27, 18, 54, 0.985));
    border-bottom: 1px solid var(--yz-line);
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.98);
  }

  .yz-nav[data-open] { display: flex; }

  .yz-nav__tier {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .yz-nav__tier--meta {
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-right: 0;
    border-bottom: 1px dashed var(--yz-line);
  }

  .yz-nav__tier--main { gap: 8px; }

  .yz-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

  .yz-nav__link,
  .yz-nav__tier--meta .yz-nav__link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
    color: var(--yz-text);
  }

  .yz-nav__link::after { display: none; }

  .yz-nav__link:hover { background: rgba(255, 255, 255, 0.05); }

  .yz-nav__link[aria-current="page"] {
    background: rgba(245, 196, 81, 0.13);
    color: var(--yz-gold-light);
  }

  .yz-header__actions { margin-left: auto; }
  .yz-action--search { display: none; }
}

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

@media (max-width: 620px) {
  .yz-header__inner { padding: 10px 16px; gap: 10px; }
  .yz-brand__mark { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
  .yz-brand__name { font-size: 15.5px; }
  .yz-brand__tagline { display: none; }
  .yz-nav-toggle { padding: 9px 13px; }
  .yz-shell { padding: 0 16px; }
  .yz-footer__inner { grid-template-columns: minmax(0, 1fr); padding: 34px 16px 24px; }
  .yz-footer__base { padding: 14px 16px 24px; }
  .yz-to-top { right: 14px; bottom: 16px; width: 42px; height: 42px; }
  .yz-marginal { writing-mode: horizontal-tb; }
  .yz-marginal--rotate { transform: none; }
}

/* ==========================================================================
   降低动效
   ========================================================================== */
@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;
  }

  html.yz-js [data-reveal] { opacity: 1; transform: none; }
  .yz-btn:hover,
  .yz-action:hover,
  .yz-to-top:hover { transform: none; }
}
