@font-face {
  font-family: "Lingyi Yi";
  src: url("/fonts/lingyi-yi.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+A000-A4CF, U+E000-F8FF, U+F0000-FFFFD;
}

@font-face {
  font-family: "Noto Sans Yi";
  src: url("/fonts/noto-sans-yi.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+A000-A4CF;
}

:root {
  --ink: #0e1b3a;
  --ink-2: #16274d;
  --ink-3: #223a66;
  --paper: #f5f9ff;
  --paper-2: #eaf2ff;
  --paper-3: #dfeaff;
  --white: #ffffff;
  --primary: #2f6bff;
  --primary-2: #5b8cff;
  --primary-deep: #1c4fd6;
  --teal: #0fb5a6;
  --gold: #3b7cff;
  --gold-light: #b9d0ff;
  --text: #12203e;
  --muted: #5c6d8c;
  --muted-2: #8697b5;
  --line: rgba(18, 32, 62, 0.1);
  --line-strong: rgba(18, 32, 62, 0.18);
  --line-light: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -30px rgba(20, 46, 105, 0.35);
  --shadow-hover: 0 26px 60px -30px rgba(20, 46, 105, 0.45);
  --container: 1180px;
  --font-sans: "Lingyi Yi", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lingyi Yi", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-yi: "Lingyi Yi", "Noto Sans Yi", "Microsoft Yi Baiti", var(--font-sans);

  /* 主题令牌 */
  --surface: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-bg-solid: rgba(255, 255, 255, 0.96);
  --glow-a: rgba(47, 107, 255, 0.1);
  --glow-b: rgba(123, 97, 255, 0.08);
  --orb-a: rgba(47, 107, 255, 0.55);
  --orb-b: rgba(123, 97, 255, 0.4);
  --cta-a: rgba(47, 107, 255, 0.35);
  --cta-b: rgba(18, 181, 201, 0.18);
  --gold-soft: rgba(47, 107, 255, 0.12);
  --gold-line: rgba(47, 107, 255, 0.28);
  --teal-soft: rgba(15, 181, 166, 0.14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(1000px 500px at 88% -8%, var(--glow-a), transparent 60%),
    radial-gradient(800px 420px at 0% 18%, var(--glow-b), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: rgba(91, 82, 232, 0.18); }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.16em;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: var(--header-bg-solid);
  border-color: var(--line);
  box-shadow: 0 12px 40px -32px rgba(17, 20, 34, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ink-2), var(--ink));
  color: var(--gold-light);
  font-family: var(--font-yi);
  font-size: 25px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 20px -12px rgba(17, 20, 34, 0.6);
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.brand-text span {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  font-size: 14.5px;
  color: var(--text);
  opacity: 0.82;
  padding: 6px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--ink); opacity: 1; }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); opacity: 1; font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.icon-btn:hover { background: var(--surface); border-color: var(--line-strong); transform: translateY(-1px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(64, 56, 184, 0.7);
}
.btn-primary:hover { box-shadow: 0 18px 34px -14px rgba(64, 56, 184, 0.78); }
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { background: var(--surface); border-color: rgba(17, 20, 34, 0.28); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-light);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.header-download { margin-left: 2px; }
.nav-toggle { display: none; }

/* ========== 移动菜单 ========== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; }
.mobile-nav-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  background: var(--ink);
  color: #fff;
  padding: 22px 24px 30px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
  overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-nav-title { font-family: var(--font-serif); font-size: 22px; letter-spacing: 0.16em; }
.mobile-nav .icon-btn { background: rgba(255, 255, 255, 0.06); border-color: var(--line-light); color: #fff; }
.mobile-nav-links { display: grid; }
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}
.mobile-nav-links a .icon { color: var(--gold); width: 18px; }
.mobile-nav-links a.is-active { color: #fff; }
.mobile-nav-foot { margin-top: auto; padding-top: 30px; }
.mobile-nav-foot p { margin-top: 14px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ========== 搜索层 ========== */
.search-layer {
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.search-layer.is-open { visibility: visible; opacity: 1; }
.search-layer-bg {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 34, 0.48);
  backdrop-filter: blur(6px);
}
.search-layer-panel {
  position: relative;
  width: min(100% - 40px, 720px);
  margin: 12vh auto 0;
  background: var(--paper);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 40px 100px -30px rgba(17, 20, 34, 0.55);
  transform: translateY(-14px);
  transition: transform 0.3s ease;
}
.search-layer.is-open .search-layer-panel { transform: translateY(0); }
.search-layer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.search-layer-label { font-family: var(--font-serif); font-size: 20px; letter-spacing: 0.08em; }
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.search-form > .icon { color: var(--muted); width: 20px; }
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 15px;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
}
.search-hints { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.search-hints a { padding: 4px 10px; border-radius: 999px; background: rgba(17, 20, 34, 0.05); }
.search-hints a:hover { background: rgba(91, 82, 232, 0.1); color: var(--primary-deep); }

/* ========== 首页 Hero ========== */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 74px 0 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-orb-a {
  width: 560px;
  height: 560px;
  right: -80px;
  top: -180px;
  background: radial-gradient(circle, var(--orb-a), transparent 65%);
}
.hero-orb-b {
  width: 460px;
  height: 460px;
  left: -140px;
  bottom: -220px;
  background: radial-gradient(circle, var(--orb-b), transparent 68%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(1000px 700px at 60% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(1000px 700px at 60% 30%, #000 20%, transparent 80%);
}
.hero-yi-watermark {
  position: absolute;
  right: -2%;
  bottom: -10%;
  font-family: var(--font-yi);
  font-size: clamp(260px, 34vw, 460px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.024);
  pointer-events: none;
  user-select: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold-light);
  position: relative;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: linear-gradient(90deg, var(--gold-line), transparent);
  z-index: -1;
}
.hero-desc {
  max-width: 540px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15.5px;
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }

.hero-art { position: relative; display: flex; justify-content: center; }
.yi-plate {
  position: relative;
  width: min(100%, 430px);
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}
.plate-head, .plate-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.48);
}
.plate-head { margin-bottom: 14px; }
.plate-foot { margin-top: 14px; }
.plate-foot-line { flex: 1; height: 1px; margin: 0 12px; background: rgba(255, 255, 255, 0.12); }
.plate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.plate-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  min-height: 106px;
  padding: 10px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.plate-cell:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(231, 214, 176, 0.35);
}
.plate-cell strong {
  font-family: var(--font-yi);
  font-size: 40px;
  line-height: 1;
  color: var(--gold-light);
  font-weight: 400;
}
.plate-cell span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(20, 24, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}
.float-card-a { top: -30px; right: -14px; }
.float-card-b { bottom: -48px; left: -34px; animation-delay: -3s; }
.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(200, 169, 106, 0.15);
  color: var(--gold-light);
}
.float-card > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.float-card strong { font-size: 15px; }
.float-card small { font-size: 10.5px; color: rgba(255, 255, 255, 0.5); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item {
  padding: 26px 3px 30px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-item + .stat-item { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 28px; }
.stat-item strong {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: #fff;
}
.stat-item span { font-size: 12px; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.06em; }

.notice-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.notice-strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  font-size: 13px;
}
.notice-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(200, 169, 106, 0.14);
  color: #8a6a2f;
  font-size: 11px;
  font-weight: 600;
}
.notice-strip-inner > a:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
  font-weight: 500;
}
.notice-strip-inner > a:nth-child(2):hover { color: var(--primary); }
.notice-date { flex: none; color: var(--muted-2); font-size: 12px; }
.notice-more { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--primary-deep); font-size: 12.5px; }

/* ========== 通用区块 ========== */
.section { padding: 88px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.section-desc {
  max-width: 600px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}
.section-desc strong { color: var(--ink); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-deep);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(64, 56, 184, 0.22);
  transition: gap 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { gap: 10px; border-color: var(--primary); }
.text-link .icon { width: 15px; }

/* ========== 首页入口 ========== */
.section-entry { background: var(--surface); }
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 26px 26px;
  background: var(--surface);
  transition: background 0.25s ease, transform 0.25s ease;
}
.entry-card:hover { background: #fbfaf7; }
.entry-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.entry-card:hover::before { transform: scaleX(1); }
.entry-num {
  position: absolute;
  right: 22px;
  top: 22px;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.entry-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(91, 82, 232, 0.08);
  color: var(--primary);
  margin-bottom: 6px;
}
.entry-icon .icon { width: 21px; height: 21px; }
.entry-card h3 { font-family: var(--font-serif); font-size: 21px; letter-spacing: 0.02em; }
.entry-card p { font-size: 13px; color: var(--muted); line-height: 1.8; min-height: 72px; }
.entry-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}
.entry-link .icon { width: 14px; }
.entry-card:hover .entry-link { gap: 9px; }

/* ========== 故事与时间线 ========== */
.section-story { background: var(--paper-2); }
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.story-copy { position: sticky; top: 110px; }
.story-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.35;
  margin-bottom: 22px;
}
.story-copy p { color: var(--muted); font-size: 14.5px; line-height: 1.95; margin-bottom: 14px; }
.story-copy .btn { margin-top: 18px; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 76px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(200, 169, 106, 0.1));
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 0 0 34px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--gold);
}
.timeline li.is-now::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(200, 169, 106, 0.15); }
.timeline-year { font-family: var(--font-serif); font-size: 20px; color: #8a6a2f; }
.timeline-body h3 { font-size: 16.5px; margin-bottom: 6px; }
.timeline-body p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ========== 彝文卡片 ========== */
.section-learn { background: var(--surface); }
.yi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.yi-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}
.yi-card:hover {
  transform: translateY(-4px);
  background: var(--surface);
  border-color: rgba(91, 82, 232, 0.28);
  box-shadow: var(--shadow-hover);
}
.yi-card-glyph {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  flex: none;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--ink-2), var(--ink));
  color: var(--gold-light);
  font-family: var(--font-yi);
  font-size: 34px;
  line-height: 1;
}
.yi-card-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yi-card-main strong { font-size: 14.5px; color: var(--ink-2); }
.yi-card-main span {
  font-size: 12.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yi-card-tag {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.yi-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--muted-2);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.yi-card:hover .yi-card-arrow { opacity: 1; transform: none; }
.yi-card-stats {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--muted-2);
}
.yi-card-stats span { display: inline-flex; align-items: center; gap: 4px; }
.yi-card-lg { padding: 24px 24px; min-height: 112px; }
.yi-card-lg .yi-card-glyph { width: 74px; height: 74px; font-size: 38px; }
.yi-card-lg .yi-card-main strong { font-size: 15px; }
.yi-card-lg:hover .yi-card-arrow { opacity: 1; transform: none; }

/* ========== 零彝空间卡片 ========== */
.section-community { background: var(--paper-2); }
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.community-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.community-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.community-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ink-3), var(--ink));
}
.community-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.community-card:hover .community-cover img { transform: scale(1.04); }
.community-cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 64px;
  color: rgba(255, 255, 255, 0.18);
}
.community-cover-fallback.cover-0 { background: linear-gradient(135deg, #4038b8, #18a79b); }
.community-cover-fallback.cover-1 { background: linear-gradient(135deg, #1a1f33, #5b52e8); }
.community-cover-fallback.cover-2 { background: linear-gradient(135deg, #7a5c2e, #c8a96a); }
.community-cover-fallback.cover-3 { background: linear-gradient(135deg, #0f4f4a, #18a79b); }
.community-author {
  position: absolute;
  left: 14px;
  bottom: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  background: rgba(17, 20, 34, 0.55);
  backdrop-filter: blur(10px);
  color: #fff;
}
.community-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.community-author em { font-style: normal; font-size: 11.5px; }
.community-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.community-meta { display: flex; gap: 10px; font-size: 11px; color: var(--muted-2); }
.community-title { font-size: 16.5px; line-height: 1.5; }
.community-excerpt { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.community-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.community-foot > span { display: inline-flex; align-items: center; gap: 4px; }
.community-more { margin-left: auto; color: var(--primary-deep); font-weight: 600; }
.community-grid-list { grid-template-columns: repeat(3, 1fr); }
.community-card-lg .community-cover { aspect-ratio: 16 / 11; }
.community-card-lg .community-title { font-size: 18px; }
.community-card-lg .community-excerpt { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== 文章卡片 ========== */
.section-articles { background: var(--surface); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-grid-wide { grid-template-columns: repeat(3, 1fr); }
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(17, 20, 34, 0.16); }
.article-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
}
.article-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .article-cover img { transform: scale(1.04); }
.cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 54px;
  color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 30% 30%, rgba(91, 82, 232, 0.55), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(24, 167, 155, 0.35), transparent 55%);
}
.cover-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(17, 20, 34, 0.6);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}
.article-body { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; flex: 1; }
.article-meta { display: flex; gap: 14px; font-size: 11px; color: var(--muted-2); }
.article-meta span { display: inline-flex; align-items: center; gap: 4px; }
.article-body h2 { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; letter-spacing: 0.01em; }
.article-body h2 a:hover { color: var(--primary-deep); }
.article-body p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-body .text-link { margin-top: auto; padding-top: 10px; font-size: 12.5px; align-self: flex-start; }

/* ========== CTA ========== */
.section-cta { padding-top: 20px; padding-bottom: 96px; }
.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 46px 52px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 90% 0%, var(--cta-a), transparent 65%),
    radial-gradient(500px 260px at 0% 100%, var(--cta-b), transparent 65%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-glyph {
  position: absolute;
  right: 8%;
  bottom: -38%;
  font-family: var(--font-yi);
  font-size: 300px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; flex: 1; }
.cta-copy .eyebrow { margin-bottom: 10px; }
.cta-copy h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.35; }
.cta-copy p { margin-top: 10px; color: rgba(255, 255, 255, 0.6); font-size: 13.5px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; flex: none; }

/* ========== 页脚 ========== */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 66px 0 0;
  overflow: hidden;
}
.footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr;
  gap: 48px;
  padding-bottom: 54px;
}
.brand-light .brand-mark { background: rgba(255, 255, 255, 0.08); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text span { color: rgba(255, 255, 255, 0.38); }
.footer-desc { margin-top: 20px; max-width: 330px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, 0.48); }
.footer-contact { display: grid; gap: 9px; margin-top: 22px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { color: var(--gold); width: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.footer-col h3 { font-size: 12px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.38); font-weight: 500; margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: rgba(255, 255, 255, 0.64); width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-watermark {
  position: absolute;
  right: 2%;
  top: -14%;
  font-family: var(--font-serif);
  font-size: clamp(180px, 24vw, 340px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.022);
  pointer-events: none;
  user-select: none;
}
.footer-motto { display: none; }
.site-watermark {
  position: fixed;
  left: 14px;
  bottom: 92px;
  z-index: 4;
  display: flex;
  gap: 9px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 6px;
  color: var(--ink);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.36);
}
.footer-copy { justify-self: start; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; text-align: center; }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-admin { justify-self: end; color: rgba(255, 255, 255, 0.45); }
.footer-admin:hover { color: rgba(255, 255, 255, 0.8); }

/* ========== 内页 Hero ========== */
.page-hero {
  position: relative;
  padding: 58px 0 64px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after,
.page-hero::after {
  content: "铸牢中华民族共同体意识\A各民族团结进步 · 共同繁荣发展";
  position: absolute;
  left: 50%;
  top: 52%;
  width: max-content;
  max-width: 94%;
  transform: translate(calc(-50% + var(--motto-shift, 0px)), -50%) rotate(var(--motto-rot, -7deg));
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-align: center;
  white-space: pre;
  color: #fff;
  opacity: 0.07;
  mix-blend-mode: difference;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.page-hero::after {
  color: #fff;
  opacity: 0.05;
  font-size: clamp(24px, 3.2vw, 48px);
  letter-spacing: 0.14em;
}
.page-hero-dark::after {
  color: #fff;
  opacity: 0.06;
  mix-blend-mode: normal;
}
.hero > .home-carousel,
.hero > .hero-stats,
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero-dark { background: var(--ink); color: #fff; border-bottom: 0; }
.page-hero-dark .page-hero-desc { color: rgba(255, 255, 255, 0.62); }
.page-hero-dark .breadcrumb { color: rgba(255, 255, 255, 0.4); }
.page-hero-dark .breadcrumb a:hover { color: #fff; }
.page-hero-bg {
  position: absolute;
  right: 4%;
  top: -20%;
  pointer-events: none;
  user-select: none;
}
.page-hero-bg span {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(160px, 22vw, 300px);
  line-height: 1;
  color: rgba(17, 20, 34, 0.035);
}
.page-hero-dark .page-hero-bg span { color: rgba(255, 255, 255, 0.035); }
.page-hero-bg span.yi { font-family: var(--font-yi); }
.page-hero-learn .page-hero-bg span { font-family: var(--font-yi); color: rgba(200, 169, 106, 0.12); margin-left: -30px; }
.page-hero-learn .page-hero-bg span:nth-child(2) { color: rgba(91, 82, 232, 0.08); }
.page-hero-learn .page-hero-bg span:nth-child(3) { color: rgba(24, 167, 155, 0.08); }
.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  font-size: 12px;
  color: var(--muted-2);
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb em { font-style: normal; color: var(--ink-3); }
.page-hero-dark .breadcrumb em { color: rgba(255, 255, 255, 0.75); }
.page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  max-width: 900px;
}
.page-hero-desc {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.page-hero-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.page-hero-tags span, .page-hero-tags a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.page-hero-tags .icon { color: var(--teal); }
.tag-link { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: rgba(255, 255, 255, 0.75) !important; }
.tag-link:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.05); }

/* ========== 搜索框（内页） ========== */
.learn-search {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 620px);
  margin-top: 28px;
  padding: 6px 6px 6px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px -30px rgba(17, 20, 34, 0.45);
}
.learn-search > .icon { color: var(--muted-2); width: 19px; }
.learn-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 0;
}
.learn-search .btn { min-height: 42px; padding: 0 20px; }

/* ========== 筛选栏 ========== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip span { font-size: 10px; color: var(--muted-2); }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { color: rgba(255, 255, 255, 0.55); }
.filter-count { font-size: 12.5px; color: var(--muted-2); }
.filter-count strong { color: var(--ink); }
.filter-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); }
.filter-note .icon { color: var(--gold); }
.active-filter {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(91, 82, 232, 0.06);
  font-size: 12.5px;
  color: var(--muted);
}
.active-filter strong { color: var(--ink); }
.active-filter a { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--primary-deep); font-weight: 600; }
.active-filter .icon { width: 13px; }

/* ========== 分页 ========== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 44px; }
.page-btn {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  transition: all 0.2s ease;
}
.page-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.page-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-btn.is-disabled { opacity: 0.35; pointer-events: none; }
.page-ellipsis { color: var(--muted-2); padding: 0 2px; }

/* ========== 空状态 ========== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-glyph {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--paper-2);
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--muted-2);
}
.empty-state h2 { font-family: var(--font-serif); font-size: 24px; }
.empty-state p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.empty-actions { display: flex; gap: 10px; margin-top: 22px; }

/* ========== 下载页 ========== */
.section-downloads { background: var(--surface); }
.release-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(91, 82, 232, 0.4), transparent 70%),
    var(--ink);
  color: #fff;
  margin-bottom: 34px;
}
.release-main { display: flex; align-items: center; gap: 22px; flex: 1; }
.release-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold-light);
}
.release-icon .icon { width: 26px; height: 26px; }
.release-label { font-size: 10.5px; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 4px; }
.release-main h2 { font-family: var(--font-serif); font-size: 30px; line-height: 1.25; }
.release-main h2 span { font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.5); margin-left: 8px; }
.release-main p { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.release-actions { display: flex; gap: 10px; flex: none; }
.release-actions .btn-outline { border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.release-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.32); }

.download-tabs {
  position: sticky;
  top: 78px;
  z-index: 50;
  display: flex;
  gap: 6px;
  padding: 8px;
  margin-bottom: 34px;
  background: rgba(247, 246, 242, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
}
.download-tabs::-webkit-scrollbar { display: none; }
.download-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.download-tab span { font-size: 10px; color: var(--muted-2); }
.download-tab:hover { background: var(--surface); color: var(--ink); }
.download-tab.is-active { background: var(--ink); color: #fff; }
.download-tab.is-active span { color: rgba(255, 255, 255, 0.5); }

.download-group { padding: 10px 0 50px; scroll-margin-top: 150px; }
.download-group:last-child { padding-bottom: 0; }
.download-group-head { margin-bottom: 22px; }
.download-group-head h2 { font-family: var(--font-serif); font-size: 27px; }
.download-group-head p { margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.download-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.download-card:hover {
  transform: translateY(-4px);
  background: var(--surface);
  border-color: rgba(91, 82, 232, 0.25);
  box-shadow: var(--shadow-hover);
}
.download-card-head { display: flex; align-items: center; justify-content: space-between; }
.download-platform { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.download-platform .icon { width: 18px; color: var(--ink-2); }
.badge { padding: 3px 9px; border-radius: 6px; background: rgba(17, 20, 34, 0.06); font-size: 10px; color: var(--muted); }
.badge-primary { background: rgba(91, 82, 232, 0.1); color: var(--primary-deep); }
.download-card h3 { font-size: 17px; line-height: 1.5; }
.download-card > p { font-size: 12.5px; color: var(--muted); line-height: 1.8; min-height: 45px; }
.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 2px 0 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.download-meta div { display: flex; flex-direction: column; gap: 1px; }
.download-meta dt { font-size: 10px; color: var(--muted-2); }
.download-meta dd { margin: 0; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.download-card .btn { margin-top: auto; }
.download-updated {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: -2px 0 4px; font-size: 11.5px; color: var(--muted);
}
.download-updated > span { display: inline-flex; align-items: center; gap: 5px; }
.download-updated .icon { width: 12px; height: 12px; }
.download-log { display: inline-flex; align-items: center; gap: 4px; color: var(--primary-deep); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 11.5px; }
.download-log:hover { text-decoration: underline; }

/* 下载更新日志弹窗 */
.log-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.log-modal[hidden] { display: none; }
.log-modal-mask { position: absolute; inset: 0; background: rgba(12, 16, 32, 0.55); backdrop-filter: blur(3px); }
.log-modal-dialog {
  position: relative; width: min(560px, 100%); max-height: 80vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 20px; box-shadow: var(--shadow-hover);
}
.log-modal-close { position: absolute; top: 8px; right: 12px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.log-modal-title { font-size: 18px; margin-bottom: 4px; }
.log-modal-title span { color: var(--primary-deep); font-size: 14px; margin-left: 6px; }
.log-modal-date { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.log-modal-text { white-space: pre-wrap; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
.log-modal-all { display: inline-flex; margin-top: 16px; font-size: 12.5px; }
body.log-modal-open { overflow: hidden; }

.section-guide { background: var(--paper-2); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.guide-num { font-family: var(--font-serif); font-size: 13px; letter-spacing: 0.12em; color: var(--gold); }
.guide-step h3 { margin-top: 10px; font-size: 17px; }
.guide-step p { margin-top: 7px; font-size: 12.5px; color: var(--muted); line-height: 1.85; }
.guide-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(200, 169, 106, 0.1);
  border: 1px solid rgba(200, 169, 106, 0.22);
}
.guide-note .icon { color: #9a7a3c; width: 18px; margin-top: 2px; }
.guide-note p { font-size: 12.5px; color: #7c642f; line-height: 1.8; }

/* ========== 链接列表 ========== */
.section-related { background: var(--surface); }
.link-list { border-top: 1px solid var(--line); }
.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s ease, background 0.2s ease;
}
.link-row:hover { padding-left: 12px; background: rgba(91, 82, 232, 0.03); }
.link-row-title { font-size: 14.5px; font-weight: 500; }
.link-row-meta { display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: 11.5px; color: var(--muted-2); }

/* ========== 文章详情 ========== */
.article-hero {
  position: relative;
  padding: 50px 0 44px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.article-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.article-hero-copy { max-width: 850px; }
.article-kicker {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 6px;
  background: rgba(91, 82, 232, 0.09);
  color: var(--primary-deep);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.article-hero h1 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.article-lead { margin-top: 14px; max-width: 740px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted-2);
}
.article-byline > span { display: inline-flex; align-items: center; gap: 6px; }
.byline-author { color: var(--ink-2) !important; }
.byline-author i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-style: normal;
  font-size: 11px;
}
.copy-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
}
.copy-link:hover { color: var(--ink); border-color: var(--line-strong); }
.copy-link.is-copied { color: var(--teal); border-color: rgba(24, 167, 155, 0.3); }
.article-hero-mark {
  font-family: var(--font-serif);
  font-size: clamp(100px, 13vw, 180px);
  line-height: 0.8;
  color: rgba(17, 20, 34, 0.05);
  flex: none;
  user-select: none;
}
.article-cover-hero { margin-top: 34px; }
.article-cover-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.section-article-body { background: var(--surface); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}
.article-main { min-width: 0; }
.article-content { font-size: 16px; line-height: 1.95; color: #2b3040; }
.article-content > * + * { margin-top: 18px; }
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 27px;
  line-height: 1.45;
  margin-top: 42px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.article-content h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.5;
  margin-top: 34px;
  color: var(--ink);
}
.article-content p { color: #3a4052; }
.article-content a { color: var(--primary-deep); border-bottom: 1px solid rgba(64, 56, 184, 0.25); }
.article-content a:hover { border-color: var(--primary); }
.article-content ul, .article-content ol { padding-left: 22px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin: 6px 0; color: #3a4052; }
.article-content blockquote {
  margin: 26px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  color: var(--muted);
  border-radius: 0 10px 10px 0;
}
.article-content img { border-radius: 12px; margin: 24px auto; border: 1px solid var(--line); }
.article-content table { width: 100%; border-collapse: collapse; font-size: 13px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-content th { background: var(--paper); }
.article-content p.num { padding-left: 0; }
.article-end {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 44px;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.article-end-mark { font-family: var(--font-yi); font-size: 30px; color: var(--gold); line-height: 1; }
.article-end p { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pager-link:hover { background: var(--paper); border-color: var(--line-strong); transform: translateY(-2px); }
.pager-link span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted-2); }
.pager-link strong { font-size: 13.5px; line-height: 1.55; font-weight: 500; }
.pager-link.is-next { text-align: right; align-items: flex-end; }
.pager-link.is-next span { flex-direction: row-reverse; }

.article-side { display: grid; gap: 18px; position: sticky; top: 100px; align-self: start; }
.side-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.side-card h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.side-toc nav { display: grid; gap: 2px; }
.side-toc a {
  display: block;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
}
.side-toc a:hover { background: var(--surface); color: var(--ink); border-left-color: var(--gold); }
.side-cats { display: grid; gap: 2px; }
.side-cats a { display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; border-radius: 7px; font-size: 12.5px; color: var(--muted); }
.side-cats a:hover { background: var(--surface); color: var(--ink); }
.side-cats a.is-active { background: var(--surface); color: var(--primary-deep); font-weight: 600; }
.side-cats em { font-style: normal; font-size: 10.5px; color: var(--muted-2); }
.side-articles { display: grid; gap: 12px; }
.side-articles a { display: flex; flex-direction: column; gap: 2px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.side-articles a:last-child { border-bottom: 0; padding-bottom: 0; }
.side-articles strong { font-size: 12.5px; font-weight: 500; line-height: 1.55; }
.side-articles a:hover strong { color: var(--primary-deep); }
.side-articles span { font-size: 10.5px; color: var(--muted-2); }
.side-card-cta { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; overflow: hidden; }
.side-card-cta h3 { color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; }
.side-card-cta p { font-size: 12px; color: rgba(255, 255, 255, 0.5); line-height: 1.7; margin-bottom: 16px; }
.side-glyph {
  position: absolute;
  right: -8px;
  top: -18px;
  font-family: var(--font-yi);
  font-size: 90px;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.side-yi-list { display: grid; gap: 4px; }
.side-yi-list a { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 8px; }
.side-yi-list a:hover { background: var(--surface); }
.side-yi-list .yi-glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-yi);
  font-size: 20px;
}
.side-yi-list span { font-size: 12px; }
.side-yi-list em { font-style: normal; margin-left: auto; font-size: 10px; color: var(--muted-2); }

/* ========== 彝文详情 ========== */
.article-hero-yi { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.yi-detail-grid { display: grid; grid-template-columns: 260px 1fr; gap: 46px; align-items: center; }
.yi-detail-glyph-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(220px 180px at 30% 20%, rgba(91, 82, 232, 0.5), transparent 70%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}
.yi-detail-glyph { font-family: var(--font-yi); font-size: clamp(64px, 9vw, 104px); line-height: 1.1; color: var(--gold-light); }
.yi-detail-caption { font-size: 10.5px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.45); }
.yi-detail-info h1 { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.35; }
.yi-detail-read { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 18px; }
.yi-detail-read span { display: flex; flex-direction: column; gap: 2px; }
.yi-detail-read em { font-style: normal; font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.08em; }
.yi-detail-read strong { font-size: 14px; font-weight: 600; }
.yi-detail-image { margin-top: 20px; max-width: 300px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.yi-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.yi-detail-content h2 { margin-top: 0; }
.yi-detail-paragraph { margin-bottom: 12px; }
.yi-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.yi-pager-link { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.yi-pager-link strong { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-size: 13.5px; }
.yi-pager-link:hover strong { color: var(--primary-deep); }
.yi-pager-link.is-next { text-align: right; align-items: flex-end; }

/* ========== 零彝空间详情 ========== */
.article-hero-space { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.space-hero-inner { max-width: 900px; }
.space-author { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.space-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 18px;
}
.space-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.space-avatar i { font-style: normal; }
.space-author > div { display: flex; flex-direction: column; }
.space-author strong { font-size: 13.5px; }
.space-author span { font-size: 11.5px; color: var(--muted-2); }
.space-hero-inner h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.35; }
.space-stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; font-size: 12px; color: var(--muted-2); }
.space-stats span { display: inline-flex; align-items: center; gap: 5px; }
.space-content p { font-size: 16px; line-height: 2; margin-bottom: 16px; color: #343a4b; }
.space-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.space-gallery img { width: 100%; border-radius: 12px; border: 1px solid var(--line); margin: 0; max-height: 420px; object-fit: cover; }
.space-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(91, 82, 232, 0.06);
  border: 1px solid rgba(91, 82, 232, 0.14);
}
.space-notice-icon { color: var(--primary); }
.space-notice > div { flex: 1; }
.space-notice strong { font-size: 13px; }
.space-notice p { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 2px; }
.comments-section { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.comments-head h2 { font-family: var(--font-serif); font-size: 24px; }
.comments-head h2 span { font-family: var(--font-sans); font-size: 12px; color: var(--muted-2); margin-left: 6px; }
.comment-list { display: grid; gap: 20px; margin-top: 22px; }
.comment-item { display: flex; gap: 13px; }
.comment-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.comment-body { flex: 1; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; align-items: center; gap: 12px; font-size: 11.5px; }
.comment-meta time { color: var(--muted-2); }
.comment-body p { margin-top: 6px; font-size: 13.5px; color: #3a4052; line-height: 1.85; }
.comments-empty { margin-top: 18px; padding: 26px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 12.5px; color: var(--muted); }
.side-space-list { display: grid; gap: 12px; }
.side-space-list a { display: flex; gap: 9px; align-items: flex-start; }
.side-space-list a:hover strong { color: var(--primary-deep); }
.side-space-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--paper-3);
  font-size: 12px;
  color: var(--ink-2);
}
.side-space-list a > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.side-space-list strong { font-size: 12.5px; font-weight: 500; line-height: 1.5; }
.side-space-list em { font-style: normal; font-size: 10px; color: var(--muted-2); }

/* ========== 更新日志 ========== */
.section-versions { background: var(--surface); }
.version-timeline { position: relative; display: grid; gap: 0; padding-left: 4px; }
.version-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--primary), rgba(91, 82, 232, 0.08));
}
.version-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 26px; }
.version-marker { position: relative; padding-top: 24px; }
.version-dot {
  display: block;
  width: 11px;
  height: 11px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
}
.version-item.is-latest .version-dot { background: var(--primary); box-shadow: 0 0 0 5px rgba(91, 82, 232, 0.13); }
.version-latest-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(91, 82, 232, 0.1);
  color: var(--primary-deep);
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}
.version-card {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.version-item.is-latest .version-card { background: var(--surface); border-color: rgba(91, 82, 232, 0.25); box-shadow: var(--shadow); }
.version-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.version-head h3 { font-family: var(--font-serif); font-size: 20px; }
.version-head time { font-size: 11.5px; color: var(--muted-2); }
.version-log { margin-top: 10px; }
.version-log p { font-size: 13px; color: var(--muted); line-height: 1.85; margin-bottom: 6px; }
.version-empty { margin-top: 8px; font-size: 12.5px; color: var(--muted-2); }
.version-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--primary-deep); }
.version-more .icon { width: 14px; }
.version-more:hover { gap: 10px; }
.section-notices { background: var(--paper-2); }
.section-market { background: var(--paper); }
.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.market-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.market-card:hover { transform: translateY(-2px); border-color: var(--gold-line); box-shadow: var(--shadow-hover); }
.market-card.is-paused { opacity: 0.7; }
.market-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--primary-deep);
  font-family: var(--font-serif);
  font-size: 16px;
}
.market-info { display: grid; gap: 3px; min-width: 0; }
.market-info strong { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink); }
.market-info small { font-size: 11.5px; color: var(--muted-2); }
.market-tag {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(91, 82, 232, 0.1);
  color: var(--primary-deep);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
}
.market-tag.is-off { background: rgba(0, 0, 0, 0.06); color: var(--muted-2); }
.market-arrow { flex: none; width: 15px; margin-left: auto; color: var(--muted-2); }
.section-fonts { background: var(--paper-2); }
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.notice-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.notice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.notice-card-badge { width: fit-content; padding: 3px 8px; border-radius: 5px; background: rgba(17, 20, 34, 0.06); font-size: 10px; color: var(--muted); }
.notice-card-badge.is-important { background: rgba(200, 169, 106, 0.16); color: #8a6a2f; }
.notice-card h3 { font-size: 16.5px; line-height: 1.55; }
.notice-card p { font-size: 12.5px; color: var(--muted); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.notice-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted-2); }
.notice-card-foot span { display: inline-flex; align-items: center; gap: 4px; color: var(--primary-deep); }
.notice-content p { font-size: 15.5px; line-height: 2; margin-bottom: 14px; word-break: break-word; }
.notice-figure { margin-bottom: 24px; }
.notice-figure img { border-radius: 12px; margin: 0 auto; }

/* ========== 关于 ========== */
.page-hero-about { background: var(--ink); color: #fff; border-bottom: 0; }
.page-hero-about .page-hero-desc { color: rgba(255, 255, 255, 0.62); }
.page-hero-about .breadcrumb { color: rgba(255, 255, 255, 0.4); }
.about-stats { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--font-serif); font-size: 30px; color: #fff; }
.about-stats span { font-size: 11.5px; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.08em; }
.section-about-story { background: var(--surface); }
.about-story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) 0.8fr; gap: 64px; align-items: start; }
.about-story-main h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.35; margin-bottom: 20px; }
.about-story-main p { font-size: 14.5px; line-height: 2; color: var(--muted); margin-bottom: 15px; }
.about-story-side { display: grid; gap: 18px; position: sticky; top: 100px; }
.about-quote { padding: 30px; border-radius: var(--radius); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.quote-mark { font-family: var(--font-serif); font-size: 64px; line-height: 0.6; color: var(--gold); opacity: 0.55; }
.about-quote p { margin-top: 10px; font-family: var(--font-serif); font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, 0.86); }
.quote-author { display: block; margin-top: 16px; font-size: 11.5px; color: rgba(255, 255, 255, 0.42); letter-spacing: 0.1em; }
.about-facts { padding: 8px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.about-facts div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-facts div:last-child { border-bottom: 0; }
.about-facts span { font-size: 12px; color: var(--muted-2); }
.about-facts strong { font-size: 12.5px; font-weight: 600; text-align: right; }
.section-milestones { background: var(--paper-2); }
.milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.milestone-card { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.milestone-year { font-family: var(--font-serif); font-size: 28px; color: var(--gold); }
.milestone-card h3 { margin-top: 8px; font-size: 16.5px; }
.milestone-card p { margin-top: 7px; font-size: 12.5px; color: var(--muted); line-height: 1.85; }
.section-values { background: var(--surface); }
.values-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.values-copy h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.4; }
.values-copy p { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.95; }
.values-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.values-tags span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(200, 169, 106, 0.4); font-size: 11.5px; color: #8a6a2f; }
.values-list { display: grid; gap: 18px; }
.values-list div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.values-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.values-list span { font-family: var(--font-serif); font-size: 11px; color: var(--gold); letter-spacing: 0.1em; }
.values-list strong { display: block; margin-top: 4px; font-size: 15px; }
.values-list p { margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.section-credits { background: var(--paper-2); }
.credit-list { display: flex; flex-wrap: wrap; gap: 10px; }
.credit-list span { padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.section-brand { background: var(--paper); scroll-margin-top: 96px; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; align-items: center; }
.brand-copy h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.45; margin-bottom: 16px; }
.brand-copy > p { font-size: 14px; line-height: 1.95; color: var(--muted); margin-bottom: 12px; }
.brand-points { display: grid; gap: 14px; margin: 22px 0; }
.brand-points li { padding-left: 14px; border-left: 2px solid var(--gold-line); }
.brand-points strong { display: block; font-size: 14px; }
.brand-points span { font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.brand-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--primary); }
.brand-link:hover { text-decoration: underline; }
.brand-figure { margin: 0; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.brand-figure img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius-lg) - 10px); }
.brand-figure figcaption { margin-top: 12px; padding: 0 4px; font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted-2); text-align: center; }

/* ========== 捐赠 ========== */
.page-hero-donate { background: var(--ink); color: #fff; border-bottom: 0; }
.page-hero-donate .page-hero-desc { color: rgba(255, 255, 255, 0.6); }
.page-hero-donate .breadcrumb { color: rgba(255, 255, 255, 0.4); }
.section-donate { background: var(--surface); }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 22px; }
.donate-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.donate-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.donate-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(24, 167, 155, 0.1); color: var(--teal); }
.donate-head h2 { font-family: var(--font-serif); font-size: 22px; }
.donate-head p { font-size: 11.5px; color: var(--muted-2); }
.donate-qr { display: grid; place-items: center; aspect-ratio: 1; max-width: 240px; margin: 0 auto; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.donate-qr img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.qr-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); }
.qr-placeholder .icon { width: 34px; height: 34px; }
.qr-placeholder em { font-style: normal; font-size: 11.5px; }
.donate-tip { margin-top: 14px; text-align: center; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.donate-ways { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.donate-ways h2 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 18px; }
.donate-way { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.donate-way-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: rgba(91, 82, 232, 0.08); color: var(--primary); }
.donate-way h3 { font-size: 14.5px; }
.donate-way p { margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.donate-way a { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 11.5px; font-weight: 600; color: var(--primary-deep); }
.donate-note { display: flex; gap: 16px; margin-top: 24px; padding: 24px 28px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.donate-note > span { color: var(--gold); }
.donate-note h3 { font-size: 15px; }
.donate-note p { margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.85; }

/* ========== 联系 ========== */
.page-hero-contact { background: var(--paper-2); }
.section-contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.contact-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--ink); color: var(--gold-light); }
.contact-card > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.contact-card span { font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.08em; }
.contact-card strong { font-size: 14.5px; word-break: break-all; }
.contact-card em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.contact-card a { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: var(--primary-deep); }
.contact-note { display: flex; gap: 10px; padding: 16px 18px; border-radius: 12px; background: rgba(200, 169, 106, 0.1); border: 1px solid rgba(200, 169, 106, 0.2); }
.contact-note .icon { color: #9a7a3c; margin-top: 2px; }
.contact-note p { font-size: 12px; color: #7c642f; line-height: 1.8; }
.contact-form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.contact-form-card h2 { font-family: var(--font-serif); font-size: 26px; }
.form-desc { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.form-desc span { color: #b4534b; }
.form-alert { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; padding: 12px 14px; border-radius: 10px; font-size: 12.5px; line-height: 1.7; }
.form-alert.is-success { background: rgba(24, 167, 155, 0.09); color: #0f6f67; border: 1px solid rgba(24, 167, 155, 0.18); }
.form-alert.is-error { background: rgba(180, 83, 75, 0.08); color: #9b4139; border: 1px solid rgba(180, 83, 75, 0.18); }
.contact-form { display: grid; gap: 16px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; color: var(--muted); }
.field em { font-style: normal; color: #b4534b; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 12px 14px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus { border-color: rgba(91, 82, 232, 0.5); box-shadow: 0 0 0 3px rgba(91, 82, 232, 0.1); }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.8; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-foot p { font-size: 11px; color: var(--muted-2); line-height: 1.6; max-width: 320px; }

/* ========== 搜索 ========== */
.page-hero-search { background: var(--paper-2); }
.section-search-results { background: var(--surface); }
.search-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.search-summary strong { color: var(--ink); }
.result-group { margin-top: 38px; }
.result-group h2 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.result-group h2 span { font-family: var(--font-sans); font-size: 11px; color: var(--muted-2); padding: 2px 8px; border-radius: 999px; background: var(--paper-2); }
.search-result-list { border-top: 1px solid var(--line); }
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s ease, background 0.2s ease;
}
.search-result:hover { padding-left: 14px; background: rgba(91, 82, 232, 0.03); }
.search-result-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--paper-2); color: var(--primary); }
.search-result-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-result-main strong { font-size: 14px; font-weight: 600; }
.search-result-main em { font-style: normal; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; font-size: 10.5px; color: var(--muted-2); }
.search-result > .icon { color: var(--muted-2); width: 16px; }
.search-intro { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.search-suggest h2 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 16px; }
.search-keywords { display: flex; flex-wrap: wrap; gap: 8px; }
.search-keywords a { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); background: var(--surface); }
.search-keywords a:hover { border-color: var(--primary); color: var(--primary-deep); }
.search-quick { display: grid; gap: 10px; }
.search-quick a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.search-quick a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.search-quick > a > .icon:first-child { color: var(--primary); width: 22px; }
.search-quick span { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.search-quick strong { font-size: 14px; }
.search-quick em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.search-quick > a > .icon:last-child { color: var(--muted-2); width: 16px; }

/* ========== 错误页 ========== */
.error-page { min-height: 60vh; display: grid; place-items: center; padding: 80px 0; }
.error-inner { text-align: center; max-width: 640px; }
.error-glyph {
  display: inline-grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--paper-2);
  font-family: var(--font-yi);
  font-size: 48px;
  color: var(--muted-2);
}
.error-inner h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
.error-inner > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 14px; }
.error-actions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.error-stack { margin-top: 20px; padding: 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-align: left; font-size: 11px; color: var(--muted); overflow: auto; max-height: 240px; }

/* ========== 动效 ========== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.22, 0.8, 0.3, 1), transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .header-inner { gap: 20px; }
  .hero-grid { gap: 40px; }
  .float-card-a { right: -8px; }
  .float-card-b { left: -8px; }
  .article-grid, .article-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .notice-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .yi-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-grid { grid-template-columns: 1fr 1fr; }
  .donate-ways { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr; gap: 32px; }
}

@media (max-width: 960px) {
  .main-nav, .header-actions .header-download { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-actions { gap: 8px; }
  .hero-orb-a { right: -200px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; padding-bottom: 54px; }
  .hero-art { justify-content: center; max-width: 560px; margin-inline: auto; }
  .yi-plate { width: min(100%, 520px); }
  .float-card { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: 0; padding-left: 3px; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-copy { position: static; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-side { position: static; }
  .article-hero-inner { align-items: flex-start; }
  .article-hero-mark { display: none; }
  .about-story-grid { grid-template-columns: 1fr; gap: 36px; }
  .brand-grid { grid-template-columns: 1fr; gap: 34px; }
  .brand-figure { max-width: 520px; margin-inline: auto; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::after { font-size: 26px; letter-spacing: 0.07em; }
  .page-hero::after { font-size: 18px; letter-spacing: 0.08em; }
  .site-watermark { display: none; }
  .footer-motto {
    display: block;
    margin: 0 0 18px;
    text-align: center;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.32);
  }
  .about-story-side { position: static; }
  .values-card { grid-template-columns: 1fr; gap: 30px; padding: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .search-intro { grid-template-columns: 1fr; gap: 30px; }
  .yi-detail-grid { grid-template-columns: 200px 1fr; gap: 30px; }
  .section { padding: 68px 0; }
  .cta-card { flex-direction: column; align-items: flex-start; gap: 26px; padding: 36px; }
  .cta-actions { flex-direction: row; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .market-grid { grid-template-columns: 1fr; }
  .header-inner { height: 66px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 22px; }
  .brand-text strong { font-size: 18px; }
  .brand-text span { font-size: 8px; }
  .hero { padding-top: 48px; }
  .hero-copy h1 { font-size: clamp(32px, 9vw, 46px); }
  .hero-desc { font-size: 14px; }
  .hero-meta { gap: 14px; }
  .plate-cell { min-height: 88px; }
  .plate-cell strong { font-size: 32px; }
  .float-card { display: none; }
  .hero-stats { gap: 0; }
  .stat-item { padding: 20px 3px; }
  .stat-item + .stat-item { padding-left: 18px; }
  .stat-item strong { font-size: 22px; }
  .notice-strip-inner { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .notice-date, .notice-more { display: none; }
  .section { padding: 54px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .section-head h2 { font-size: 28px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card p { min-height: 0; }
  .yi-grid, .community-grid, .article-grid, .article-grid-wide, .download-grid, .notice-grid, .milestone-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 58px; }
  .timeline li { grid-template-columns: 58px 1fr; gap: 20px; }
  .timeline li::before { left: 54px; }
  .timeline-year { font-size: 17px; }
  .release-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .release-main { align-items: flex-start; gap: 14px; }
  .release-main h2 { font-size: 24px; }
  .release-actions { width: 100%; flex-wrap: wrap; }
  .release-actions .btn { flex: 1; }
  .download-tabs { top: 66px; }
  .download-group { padding-bottom: 34px; }
  .guide-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .donate-ways { grid-column: auto; }
  .article-hero { padding: 34px 0 30px; }
  .article-byline { gap: 12px; }
  .article-pager, .yi-pager { grid-template-columns: 1fr; }
  .article-pager { display: grid; }
  .pager-link.is-next { text-align: left; align-items: flex-start; }
  .space-gallery { grid-template-columns: 1fr; }
  .space-notice { flex-wrap: wrap; }
  .space-notice .btn { width: 100%; }
  .version-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .version-timeline::before { left: 10px; }
  .version-marker { padding-top: 22px; }
  .version-dot { margin-left: 5px; }
  .version-card { padding: 18px; }
  .about-stats { gap: 26px; }
  .about-stats strong { font-size: 25px; }
  .values-card { padding: 26px; }
  .contact-form-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: flex-start; }
  .form-foot .btn { width: 100%; }
  .yi-detail-grid { grid-template-columns: 1fr; }
  .yi-detail-glyph-card { max-width: 230px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; gap: 10px; text-align: center; }
  .footer-copy, .footer-admin { justify-self: center; }
  .search-summary { flex-direction: column; align-items: flex-start; }
  .search-result-meta { display: none; }
  .error-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 31px; }
  .hero-actions .btn { flex: 1; }
  .plate-grid { grid-template-columns: repeat(2, 1fr); }
  .plate-cell { min-height: 82px; }
  .stat-item strong { font-size: 20px; }
  .brand-text span { display: none; }
  .search-layer-panel { margin-top: 8vh; padding: 18px; }
  .article-content h2 { font-size: 23px; }
  .article-content h3 { font-size: 19px; }
  .footer-main { grid-template-columns: 1fr; }
}

/* ========== 默认主题：明亮科技蓝（参考 openKylin 风格） ========== */
html:not([data-theme]) .hero {
  background:
    radial-gradient(1100px 560px at 82% -16%, rgba(123, 97, 255, 0.18), transparent 62%),
    radial-gradient(900px 520px at 6% 10%, rgba(47, 107, 255, 0.16), transparent 60%),
    radial-gradient(760px 420px at 55% 108%, rgba(18, 181, 201, 0.12), transparent 65%),
    linear-gradient(168deg, #edf4ff 0%, #f4f8ff 44%, #eef3ff 74%, #f7faff 100%);
  color: var(--text);
}
html:not([data-theme]) .hero-orb { opacity: 0.75; filter: blur(92px); }
html:not([data-theme]) .hero-grid-lines {
  background-image:
    linear-gradient(rgba(47, 107, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.055) 1px, transparent 1px);
}
html:not([data-theme]) .hero-yi-watermark { color: rgba(47, 107, 255, 0.06); }
html:not([data-theme]) .hero-copy h1 { color: var(--ink); }
html:not([data-theme]) .hero-copy h1 em {
  color: transparent;
  background: linear-gradient(100deg, #2f6bff, #7b61ff 58%, #12aebd);
  -webkit-background-clip: text;
  background-clip: text;
}
html:not([data-theme]) .hero-copy h1 em::after {
  height: 10px;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.26), transparent);
}
html:not([data-theme]) .hero-desc { color: #4c5d7d; }
html:not([data-theme]) .hero-meta { color: #6b7c9c; }
html:not([data-theme]) .meta-dot { background: var(--primary); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14); }
html:not([data-theme]) .eyebrow { color: var(--primary); }
html:not([data-theme]) .eyebrow-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.14); }
html:not([data-theme]) .btn-primary { box-shadow: 0 14px 30px -14px rgba(28, 79, 214, 0.55); }
html:not([data-theme]) .btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(47, 107, 255, 0.24);
  color: var(--primary-deep);
}
html:not([data-theme]) .btn-ghost:hover { background: #fff; border-color: rgba(47, 107, 255, 0.42); }
html:not([data-theme]) .brand-mark {
  background: linear-gradient(145deg, #2f6bff, #7b61ff);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 10px 22px -12px rgba(28, 79, 214, 0.62);
}
html:not([data-theme]) .yi-plate {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.86));
  border-color: rgba(47, 107, 255, 0.16);
  box-shadow: 0 34px 80px -46px rgba(23, 58, 128, 0.5), inset 0 1px 0 #fff;
}
html:not([data-theme]) .plate-head,
html:not([data-theme]) .plate-foot { color: #7b8aa8; }
html:not([data-theme]) .plate-foot-line { background: rgba(47, 107, 255, 0.16); }
html:not([data-theme]) .plate-cell { background: #fff; border-color: #e3ecfb; }
html:not([data-theme]) .plate-cell:hover { background: #f7faff; border-color: rgba(47, 107, 255, 0.4); }
html:not([data-theme]) .plate-cell strong { color: var(--primary-deep); }
html:not([data-theme]) .plate-cell span { color: #74839f; }
html:not([data-theme]) .float-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: #e1eaf9;
  box-shadow: 0 22px 44px -26px rgba(19, 49, 110, 0.42);
}
html:not([data-theme]) .float-card small { color: #7d8ca9; }
html:not([data-theme]) .float-icon { background: rgba(47, 107, 255, 0.1); color: var(--primary); }
html:not([data-theme]) .hero-stats { border-top-color: rgba(18, 32, 62, 0.1); }
html:not([data-theme]) .stat-item + .stat-item { border-left-color: rgba(18, 32, 62, 0.08); }
html:not([data-theme]) .stat-item strong { color: var(--ink); }
html:not([data-theme]) .stat-item span { color: #74839f; }
html:not([data-theme]) .notice-label { color: var(--primary-deep); background: rgba(47, 107, 255, 0.1); }

/* ========== 主题配色 ========== */
[data-theme="classic"] {
  --ink: #17211d;
  --ink-2: #1f2c27;
  --ink-3: #2a3a33;
  --paper: #f4f1e9;
  --paper-2: #ece7db;
  --paper-3: #e3dccb;
  --surface: #fffdf8;
  --primary: #8d2b2f;
  --primary-2: #a8403f;
  --primary-deep: #6c1d21;
  --teal: #31695c;
  --gold: #b08948;
  --gold-light: #e4cfa6;
  --text: #22201c;
  --muted: #6f6a60;
  --muted-2: #90897c;
  --line: rgba(34, 32, 28, 0.12);
  --line-strong: rgba(34, 32, 28, 0.2);
  --header-bg: rgba(244, 241, 233, 0.9);
  --header-bg-solid: rgba(244, 241, 233, 0.97);
  --glow-a: rgba(141, 43, 47, 0.07);
  --glow-b: rgba(176, 137, 72, 0.09);
  --orb-a: rgba(141, 43, 47, 0.55);
  --orb-b: rgba(176, 137, 72, 0.35);
  --cta-a: rgba(141, 43, 47, 0.4);
  --cta-b: rgba(176, 137, 72, 0.2);
  --gold-soft: rgba(176, 137, 72, 0.18);
  --gold-line: rgba(176, 137, 72, 0.3);
  --teal-soft: rgba(49, 105, 92, 0.18);
}

[data-theme="minimal"] {
  --ink: #1b1b1b;
  --ink-2: #262626;
  --ink-3: #333333;
  --paper: #f5f5f4;
  --paper-2: #ededec;
  --paper-3: #e4e4e2;
  --surface: #ffffff;
  --primary: #2f2f2f;
  --primary-2: #474747;
  --primary-deep: #141414;
  --teal: #5c5c5c;
  --gold: #7f7f7b;
  --gold-light: #dededa;
  --text: #1c1c1c;
  --muted: #6f6f6c;
  --muted-2: #969692;
  --line: rgba(28, 28, 28, 0.11);
  --line-strong: rgba(28, 28, 28, 0.2);
  --header-bg: rgba(245, 245, 244, 0.9);
  --header-bg-solid: rgba(245, 245, 244, 0.97);
  --glow-a: rgba(0, 0, 0, 0.035);
  --glow-b: rgba(0, 0, 0, 0.03);
  --orb-a: rgba(130, 130, 130, 0.32);
  --orb-b: rgba(70, 70, 70, 0.24);
  --cta-a: rgba(255, 255, 255, 0.12);
  --cta-b: rgba(255, 255, 255, 0.06);
  --gold-soft: rgba(154, 154, 150, 0.2);
  --gold-line: rgba(154, 154, 150, 0.32);
  --teal-soft: rgba(92, 92, 92, 0.18);
}

[data-theme="luxury"] {
  --ink: #14231f;
  --ink-2: #1b302a;
  --ink-3: #244137;
  --paper: #f8f4ea;
  --paper-2: #f1ebdd;
  --paper-3: #e7dfcd;
  --surface: #fffdf7;
  --primary: #2e5d4e;
  --primary-2: #3c7663;
  --primary-deep: #1f4437;
  --teal: #2f8b74;
  --gold: #c2a24f;
  --gold-light: #eddcae;
  --text: #1e2a25;
  --muted: #6d746a;
  --muted-2: #8f948a;
  --line: rgba(30, 42, 37, 0.12);
  --line-strong: rgba(30, 42, 37, 0.2);
  --header-bg: rgba(248, 244, 234, 0.9);
  --header-bg-solid: rgba(248, 244, 234, 0.97);
  --glow-a: rgba(46, 93, 78, 0.06);
  --glow-b: rgba(194, 162, 79, 0.1);
  --orb-a: rgba(46, 93, 78, 0.5);
  --orb-b: rgba(194, 162, 79, 0.32);
  --cta-a: rgba(46, 93, 78, 0.45);
  --cta-b: rgba(194, 162, 79, 0.22);
  --gold-soft: rgba(194, 162, 79, 0.16);
  --gold-line: rgba(194, 162, 79, 0.3);
  --teal-soft: rgba(47, 139, 116, 0.16);
}

[data-theme="grassland"] {
  --ink: #0f251a;
  --ink-2: #163324;
  --ink-3: #1e4230;
  --paper: #f4f7ee;
  --paper-2: #ebf1e2;
  --paper-3: #e0e9d4;
  --surface: #fffef9;
  --primary: #2f7d4f;
  --primary-2: #3f9a63;
  --primary-deep: #235f3b;
  --teal: #1f9b8a;
  --gold: #b9a04a;
  --gold-light: #e8d9a4;
  --text: #1d2a21;
  --muted: #67736a;
  --muted-2: #88948a;
  --line: rgba(29, 42, 33, 0.12);
  --line-strong: rgba(29, 42, 33, 0.2);
  --header-bg: rgba(244, 247, 238, 0.9);
  --header-bg-solid: rgba(244, 247, 238, 0.97);
  --glow-a: rgba(47, 125, 79, 0.07);
  --glow-b: rgba(31, 155, 138, 0.07);
  --orb-a: rgba(47, 125, 79, 0.55);
  --orb-b: rgba(31, 155, 138, 0.4);
  --cta-a: rgba(47, 125, 79, 0.4);
  --cta-b: rgba(31, 155, 138, 0.22);
  --gold-soft: rgba(185, 160, 74, 0.16);
  --gold-line: rgba(185, 160, 74, 0.28);
  --teal-soft: rgba(31, 155, 138, 0.18);
}

[data-theme="desert"] {
  --ink: #2a1d12;
  --ink-2: #36271a;
  --ink-3: #443424;
  --paper: #f9f1e3;
  --paper-2: #f2e6d1;
  --paper-3: #e9d9bf;
  --surface: #fffaf1;
  --primary: #b4562a;
  --primary-2: #c96b3c;
  --primary-deep: #8e3f1c;
  --teal: #7d8a5a;
  --gold: #cf9a3a;
  --gold-light: #f0d9a2;
  --text: #2b2119;
  --muted: #77685a;
  --muted-2: #998b7b;
  --line: rgba(43, 33, 25, 0.13);
  --line-strong: rgba(43, 33, 25, 0.21);
  --header-bg: rgba(249, 241, 227, 0.9);
  --header-bg-solid: rgba(249, 241, 227, 0.97);
  --glow-a: rgba(180, 86, 42, 0.07);
  --glow-b: rgba(207, 154, 58, 0.1);
  --orb-a: rgba(180, 86, 42, 0.55);
  --orb-b: rgba(207, 154, 58, 0.4);
  --cta-a: rgba(180, 86, 42, 0.42);
  --cta-b: rgba(207, 154, 58, 0.24);
  --gold-soft: rgba(207, 154, 58, 0.18);
  --gold-line: rgba(207, 154, 58, 0.32);
  --teal-soft: rgba(125, 138, 90, 0.18);
}

[data-theme="polar"] {
  --ink: #0c1e2c;
  --ink-2: #122a3b;
  --ink-3: #1a394e;
  --paper: #eef5f9;
  --paper-2: #e4eef4;
  --paper-3: #d8e6ee;
  --surface: #ffffff;
  --primary: #1f7fa8;
  --primary-2: #2f9bc4;
  --primary-deep: #155f80;
  --teal: #2bb3c0;
  --gold: #5d8ba1;
  --gold-light: #dcf0f8;
  --text: #162a36;
  --muted: #5f7482;
  --muted-2: #8296a3;
  --line: rgba(22, 42, 54, 0.12);
  --line-strong: rgba(22, 42, 54, 0.2);
  --header-bg: rgba(238, 245, 249, 0.9);
  --header-bg-solid: rgba(238, 245, 249, 0.97);
  --glow-a: rgba(31, 127, 168, 0.08);
  --glow-b: rgba(43, 179, 192, 0.07);
  --orb-a: rgba(31, 127, 168, 0.6);
  --orb-b: rgba(43, 179, 192, 0.42);
  --cta-a: rgba(31, 127, 168, 0.45);
  --cta-b: rgba(43, 179, 192, 0.24);
  --gold-soft: rgba(143, 182, 200, 0.22);
  --gold-line: rgba(143, 182, 200, 0.35);
  --teal-soft: rgba(43, 179, 192, 0.18);
}

[data-theme="starlight"] {
  --ink: #080c1e;
  --ink-2: #0e1430;
  --ink-3: #17203f;
  --paper: #f2f4fb;
  --paper-2: #e9ecf7;
  --paper-3: #dee2f0;
  --surface: #ffffff;
  --primary: #4b5bd6;
  --primary-2: #6573e6;
  --primary-deep: #3844b0;
  --teal: #6f8cff;
  --gold: #6d76b0;
  --gold-light: #e6eaff;
  --text: #191d33;
  --muted: #656b88;
  --muted-2: #8b91ac;
  --line: rgba(25, 29, 51, 0.11);
  --line-strong: rgba(25, 29, 51, 0.2);
  --header-bg: rgba(242, 244, 251, 0.9);
  --header-bg-solid: rgba(242, 244, 251, 0.97);
  --glow-a: rgba(75, 91, 214, 0.08);
  --glow-b: rgba(143, 151, 201, 0.09);
  --orb-a: rgba(75, 91, 214, 0.8);
  --orb-b: rgba(230, 234, 255, 0.22);
  --cta-a: rgba(75, 91, 214, 0.5);
  --cta-b: rgba(230, 234, 255, 0.12);
  --gold-soft: rgba(143, 151, 201, 0.2);
  --gold-line: rgba(230, 234, 255, 0.35);
  --teal-soft: rgba(111, 140, 255, 0.2);
}

[data-theme="starlight"] .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background-image:
    radial-gradient(300px 180px at 84% 6%, rgba(190, 205, 255, 0.2), transparent 70%),
    radial-gradient(2.6px 2.6px at 21% 12%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(3px 3px at 63% 8%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(2.4px 2.4px at 8% 40%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(2.2px 2.2px at 52% 30%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.8px 1.8px at 12% 22%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(1.4px 1.4px at 26% 62%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(2px 2px at 38% 14%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1.3px 1.3px at 47% 44%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.9px 1.9px at 58% 76%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(1.5px 1.5px at 68% 26%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1.6px 1.6px at 78% 58%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(2.2px 2.2px at 88% 18%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1.4px 1.4px at 93% 72%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 78%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1.3px 1.3px at 33% 88%, rgba(255, 255, 255, 0.55), transparent 60%);
}

/* ========== 主题切换器 ========== */
.theme-wrap { position: relative; }
.theme-pop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  width: 252px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px -28px rgba(17, 20, 34, 0.5);
  display: none;
}
.theme-pop.is-open { display: block; }
.theme-pop-title {
  margin: 0 0 8px;
  padding: 2px 6px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.theme-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.theme-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.theme-item:hover { background: var(--paper-2); color: var(--text); }
.theme-item.is-active { background: var(--paper-2); color: var(--text); font-weight: 600; }
.theme-dot {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dot-a, #111422), var(--dot-b, #5b52e8));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.theme-check { width: 13px; height: 13px; margin-left: auto; color: var(--primary); opacity: 0; }
.theme-item.is-active .theme-check { opacity: 1; }

.mobile-nav-subtitle {
  margin: 24px 0 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.theme-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.theme-chip .theme-dot { width: 11px; height: 11px; }
.theme-chip:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.theme-chip.is-active { border-color: var(--gold); background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ========== 网站账号（与 App 共用） ========== */
.site-flash-wrap { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-flash { display: flex; align-items: center; gap: 9px; padding: 11px 0; font-size: 13px; line-height: 1.6; }
.site-flash .icon { width: 17px; height: 17px; flex: none; }
.site-flash.is-success { color: #0f6f67; }
.site-flash.is-error { color: #9b4139; }

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-login .icon { width: 16px; height: 16px; }
.header-login:hover { background: var(--surface); border-color: var(--line-strong); }
.header-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 190px;
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-account:hover { background: var(--surface); border-color: var(--line-strong); }
.account-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-avatar i { font-style: normal; }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--ink); }
.mobile-nav-links a.mobile-nav-account { color: #fff; font-weight: 600; }

.fav-form { display: inline-flex; margin: 0; }
.fav-btn.is-active { color: var(--primary-deep); border-color: var(--gold-line); background: var(--gold-soft); }
.yi-detail-actions .fav-form .btn.is-active { color: var(--primary-deep); border-color: var(--gold-line); background: var(--gold-soft); }
.space-fav-form { margin-top: 14px; }
.space-fav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.space-fav .icon { width: 15px; height: 15px; }
.space-fav:hover { border-color: rgba(17, 20, 34, 0.28); }
.space-fav.is-active { color: var(--primary-deep); border-color: var(--gold-line); background: var(--gold-soft); }

/* 登录页 */
.page-login { background: var(--paper); }
.auth-section { padding: 56px 0 84px; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 44px; max-width: 980px; }
.auth-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.auth-brand .brand-mark { width: 40px; height: 40px; border-radius: 12px; font-size: 22px; }
.auth-brand .brand-text strong { font-size: 19px; }
.auth-brand .brand-text span { font-size: 8px; }
.auth-card .eyebrow { margin-bottom: 10px; }
.auth-card h1 { font-family: var(--font-serif); font-size: 32px; line-height: 1.25; }
.auth-sub { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.auth-error { margin-top: 18px; }
.auth-form { display: grid; gap: 16px; margin-top: 24px; }
.auth-form .btn { margin-top: 4px; }
.auth-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.auth-foot a { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 600; }
.auth-foot a:hover { color: var(--primary-deep); }
.auth-foot a .icon { width: 14px; height: 14px; }
.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(47, 107, 255, 0.5), transparent 60%),
    linear-gradient(160deg, #0e1b3a, #16274d 55%, #223a66);
}
.auth-glyph {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: var(--font-yi);
  font-size: 180px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
}
.auth-aside h2 { position: relative; max-width: 320px; font-family: var(--font-serif); font-size: 26px; line-height: 1.4; }
.auth-aside > p { position: relative; max-width: 340px; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.65); line-height: 1.9; }
.auth-aside ul { position: relative; display: grid; gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.auth-aside li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); }
.auth-aside li .icon { width: 17px; flex: none; color: var(--gold-light); }
.auth-aside-foot {
  position: relative;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}

/* 个人中心 */
.account-hero { padding: 48px 0 42px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.account-hero-inner { display: flex; align-items: center; gap: 22px; }
.account-avatar-xl {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  flex: none;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.account-avatar-xl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-avatar-xl i { font-style: normal; }
.account-headline { flex: 1; min-width: 0; }
.account-headline h1 { font-family: var(--font-serif); font-size: 32px; line-height: 1.25; }
.account-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.account-meta strong { color: var(--text); font-weight: 600; }
.account-hero-stats { display: flex; gap: 12px; flex: none; }
.account-hero-stats span {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 84px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.account-hero-stats strong { font-size: 22px; line-height: 1.25; }
.account-hero-stats em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.account-section { background: var(--paper); }
.account-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 26px; align-items: start; }
.account-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.account-main { display: grid; gap: 22px; }
.account-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.account-card h2 { font-family: var(--font-serif); font-size: 20px; }
.account-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.account-card-note { font-size: 11px; color: var(--muted-2); }
.account-profile-form { display: grid; gap: 14px; }
.account-profile-form .account-card-head { margin-bottom: 2px; }
.account-form-tip { font-size: 11px; color: var(--muted-2); line-height: 1.7; text-align: center; }
.account-card-muted { background: var(--paper-2); }
.account-card-muted p { margin: 8px 0 16px; font-size: 12px; color: var(--muted); line-height: 1.8; }

.fav-groups { display: grid; gap: 22px; }
.fav-group-title { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.14em; color: var(--muted-2); }
.fav-group-title span { padding: 1px 7px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 10px; letter-spacing: 0; }
.fav-list { display: grid; gap: 8px; margin-top: 10px; }
.fav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fav-item:hover { border-color: var(--line-strong); background: var(--surface); }
.fav-type {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 13px;
}
.fav-body { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.fav-body a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--text); }
.fav-body a:hover { color: var(--primary-deep); }
.fav-body em { font-style: normal; font-size: 10.5px; color: var(--muted-2); }
.fav-missing { font-size: 13px; color: var(--muted-2); }
.fav-arrow { flex: none; color: var(--muted-2); }
.fav-arrow .icon { width: 16px; height: 16px; }
.account-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px; border: 1px dashed var(--line-strong); border-radius: 12px; text-align: center; }
.account-empty .icon { width: 26px; height: 26px; color: var(--muted-2); }
.account-empty p { max-width: 420px; font-size: 12px; color: var(--muted); line-height: 1.8; }

.my-comment-list { display: grid; }
.my-comment { padding: 16px 0; border-top: 1px solid var(--line); }
.my-comment:first-child { padding-top: 0; border-top: 0; }
.my-comment-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.my-comment-head a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--text); }
.my-comment-head a:hover { color: var(--primary-deep); }
.my-comment p { margin-top: 7px; font-size: 13px; color: var(--text); line-height: 1.8; word-break: break-word; }
.my-comment > em { display: block; margin-top: 6px; font-style: normal; font-size: 10.5px; color: var(--muted-2); }
.status-pill { flex: none; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.status-pill.is-approved { background: rgba(15, 181, 166, 0.12); color: #0f6f67; }
.status-pill.is-pending { background: rgba(200, 169, 106, 0.18); color: #8a6a24; }
.status-pill.is-rejected { background: rgba(180, 83, 75, 0.1); color: #9b4139; }

/* 零彝空间评论 */
.comments-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.comments-hint { font-size: 11.5px; color: var(--muted-2); }
.comment-form { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.comment-form textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: 0;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-form textarea:focus { border-color: rgba(91, 82, 232, 0.5); box-shadow: 0 0 0 3px rgba(91, 82, 232, 0.1); }
.comment-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 11.5px; color: var(--muted-2); }
.comment-login-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
}
.comment-login-tip p { font-size: 12.5px; color: var(--muted); }

@media (max-width: 1180px) {
  .header-account .account-name { display: none; }
  .header-account { padding: 3px; }
}

@media (max-width: 1100px) {
  .account-layout { grid-template-columns: 290px minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .auth-shell { grid-template-columns: 1fr; max-width: 520px; }
  .auth-aside { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { position: static; grid-template-columns: 1fr 1fr; }
  .account-hero-inner { flex-wrap: wrap; }
  .account-hero-stats { width: 100%; }
}

@media (max-width: 720px) {
  .auth-section { padding: 34px 0 56px; }
  .auth-card { padding: 26px; }
  .auth-card h1 { font-size: 28px; }
  .account-hero { padding: 34px 0 30px; }
  .account-hero-inner { align-items: flex-start; gap: 16px; }
  .account-avatar-xl { width: 64px; height: 64px; border-radius: 18px; font-size: 26px; }
  .account-headline h1 { font-size: 26px; }
  .account-meta { gap: 6px 16px; }
  .account-side { grid-template-columns: 1fr; }
  .account-card { padding: 20px; }
  .account-hero-stats span { min-width: 72px; padding: 10px 12px; }
  .comment-form-foot { flex-direction: column; align-items: flex-start; }
  .comment-form-foot .btn { width: 100%; }
  .comment-login-tip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .header-login { width: 40px; padding: 0; justify-content: center; }
  .header-login span { display: none; }
  .auth-card { padding: 22px; }
  .auth-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .account-hero-stats { gap: 8px; }
  .account-hero-stats span { flex: 1; min-width: 0; }
  .fav-item { padding: 10px 12px; }
  .my-comment-head { align-items: flex-start; }
}

/* ========== 发布内容 ========== */
.filter-note-action { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-note-action > span { display: inline-flex; align-items: center; gap: 6px; }
.filter-note-action .btn { min-height: 36px; border-radius: 9px; }

.account-card-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--primary-deep); font-weight: 600; }
.account-card-link:hover { color: var(--primary); }
.account-card-link .icon { width: 15px; height: 15px; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.post-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}
.post-form .field input,
.post-form .field textarea { background: var(--surface-2, rgba(255, 255, 255, 0.7)); }
.post-form input[type="file"] { font-size: 13px; color: var(--muted); }
.post-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.post-form-identity { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.post-form-identity strong { color: var(--text); font-weight: 600; }
.post-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}
.post-form-actions { display: flex; gap: 10px; }
.post-cover-preview img { max-width: 240px; border-radius: 12px; border: 1px solid var(--line); }

.post-aside .side-card + .side-card { margin-top: 18px; }
.post-rules { display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.post-rules li { position: relative; padding-left: 14px; line-height: 1.65; }
.post-rules li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; gap: 24px; }
  .post-form { padding: 24px; }
}
@media (max-width: 640px) {
  .post-form { padding: 20px; border-radius: var(--radius-sm); }
  .post-form-foot { flex-direction: column; align-items: stretch; }
  .post-form-actions { justify-content: flex-end; }
}

/* ========== 首页轮播 ========== */
.home-carousel { position: relative; z-index: 2; }
.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; align-items: stretch; }
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.carousel-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 0 26px;
}
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease;
}
.carousel-dot:hover { background: rgba(255, 255, 255, 0.6); }
.carousel-dot.is-active { width: 26px; background: var(--gold); }
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.carousel-arrow:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.carousel-arrow .icon { width: 17px; height: 17px; }

html:not([data-theme]) .carousel-dot { background: rgba(18, 32, 62, 0.18); }
html:not([data-theme]) .carousel-dot:hover { background: rgba(18, 32, 62, 0.32); }
html:not([data-theme]) .carousel-dot.is-active { background: var(--primary); }
html:not([data-theme]) .carousel-arrow {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(47, 107, 255, 0.2);
  color: var(--primary-deep);
}
html:not([data-theme]) .carousel-arrow:hover { background: #fff; border-color: rgba(47, 107, 255, 0.4); }

/* 第二张：字形墙 */
.glyph-wall {
  width: min(100%, 430px);
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.glyph-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}
.glyph-tile:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); }
.glyph-tile strong { font-family: var(--font-yi); font-size: clamp(30px, 3.6vw, 42px); font-weight: 400; line-height: 1; color: var(--gold-light); }
.glyph-tile small { max-width: 100%; padding: 0 4px; font-size: 10.5px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not([data-theme]) .glyph-wall {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.86));
  border-color: rgba(47, 107, 255, 0.16);
  box-shadow: 0 34px 80px -46px rgba(23, 58, 128, 0.5), inset 0 1px 0 #fff;
}
html:not([data-theme]) .glyph-tile { background: #fff; border-color: #e3ecfb; }
html:not([data-theme]) .glyph-tile:hover { background: #f7faff; border-color: rgba(47, 107, 255, 0.4); }
html:not([data-theme]) .glyph-tile strong { color: var(--primary-deep); }
html:not([data-theme]) .glyph-tile small { color: #74839f; }

/* 第三张：空间概览 */
.space-board {
  width: min(100%, 430px);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.space-board-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); }
.space-board-count { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 18px; }
.space-board-count strong { font-family: var(--font-serif); font-size: 54px; line-height: 1; color: var(--gold-light); }
.space-board-count span { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.space-board-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.space-board-tags span { padding: 6px 12px; border-radius: 99px; font-size: 12px; color: rgba(255, 255, 255, 0.72); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.space-board-foot { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.space-board-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--font-yi); font-size: 15px; color: var(--gold-light); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.space-board-note { margin-left: 4px; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }
html:not([data-theme]) .space-board {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.86));
  border-color: rgba(47, 107, 255, 0.16);
  box-shadow: 0 34px 80px -46px rgba(23, 58, 128, 0.5), inset 0 1px 0 #fff;
}
html:not([data-theme]) .space-board-head { color: #7b8aa8; }
html:not([data-theme]) .space-board-count strong { color: var(--primary-deep); }
html:not([data-theme]) .space-board-count span { color: #74839f; }
html:not([data-theme]) .space-board-tags span { color: #4c5d7d; background: #f2f7ff; border-color: #e3ecfb; }
html:not([data-theme]) .space-board-foot { border-top-color: #e7eefb; }
html:not([data-theme]) .space-board-avatar { color: var(--primary-deep); background: #f2f7ff; border-color: #e3ecfb; }
html:not([data-theme]) .space-board-note { color: #7d8ca9; }

@media (max-width: 1100px) {
  .carousel-slide .hero-grid { gap: 44px; }
}
@media (max-width: 960px) {
  .carousel-track { align-items: flex-start; }
  .glyph-wall, .space-board { width: min(100%, 520px); }
  .space-board-count strong { font-size: 44px; }
  .carousel-nav { padding-bottom: 22px; }
}
@media (max-width: 640px) {
  .carousel-nav { gap: 10px; }
  .carousel-arrow { width: 30px; height: 30px; }
  .glyph-wall { padding: 12px; gap: 9px; }
}

/* ========== 打印 ========== */
@media print {
  .site-header, .site-footer, .article-side, .article-pager, .section-related, .copy-link { display: none !important; }
  body { background: var(--surface); }
  .article-layout { display: block; }
  .article-content { font-size: 12pt; }
}
