/* ============================================================
   墨境 · Purifyy
   墨色 / 旧金 / 米纸
   ============================================================ */

@font-face {
  font-family: 'Huiwen';
  src: url('/fonts/huiwen-mincho.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: 'Huiwen', 'Songti SC', 'Noto Serif SC', 'Source Han Serif SC', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  --bg: #0a0d12;
  --bg-2: #0e131a;
  --surface: #121922;
  --surface-2: #172029;
  --text: #e9e4da;
  --text-2: #c1b9ac;
  --muted: #8b93a0;
  --line: rgba(233, 228, 218, 0.11);
  --line-2: rgba(233, 228, 218, 0.22);
  --accent: #c9a86a;
  --accent-2: #9bb4d0;
  --gold-soft: rgba(201, 168, 106, 0.12);
  --header-bg: rgba(10, 13, 18, 0.72);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

html[data-theme='light'] {
  --bg: #f4efe6;
  --bg-2: #efe8dc;
  --surface: #fbf8f1;
  --surface-2: #f6f1e7;
  --text: #2a241d;
  --text-2: #544c42;
  --muted: #7d7468;
  --line: rgba(42, 36, 29, 0.12);
  --line-2: rgba(42, 36, 29, 0.25);
  --accent: #96702f;
  --accent-2: #4a6b8f;
  --gold-soft: rgba(150, 112, 47, 0.1);
  --header-bg: rgba(244, 239, 230, 0.8);
  --shadow: 0 30px 80px rgba(70, 55, 35, 0.12);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 620px at 82% -8%, rgba(201, 168, 106, 0.07), transparent 62%),
    radial-gradient(760px 540px at -6% 18%, rgba(143, 168, 200, 0.05), transparent 62%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #14100a; }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 10000;
  padding: 10px 18px;
  background: var(--accent);
  color: #14100a;
  font-size: 13px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap--narrow { max-width: 860px; }

.dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  opacity: 0.5;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* ============================== 加载 ============================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #080b10;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 106, 0.4);
  animation: intro-pulse 2.4s ease-in-out infinite;
}
.intro__mark img { width: 100%; height: 100%; object-fit: cover; }
.intro__text {
  margin: 0;
  color: rgba(233, 228, 218, 0.7);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.5em;
}
.intro__line { display: block; width: 46px; height: 1px; background: var(--accent); opacity: 0.6; }
@keyframes intro-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ============================== 头部 ============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: border-color 0.3s, transform 0.5s;
}
.brand:hover .brand__mark { border-color: var(--accent); transform: rotate(8deg); }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.16em;
}
.brand__text small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.28em;
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--text-2);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  position: relative;
  transition: color 0.25s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--accent); }
.nav__chevron { opacity: 0.5; transition: transform 0.3s; }
.nav__item--has-children:hover .nav__chevron,
.nav__item--has-children:focus-within .nav__chevron { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 240px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav__item--has-children:hover .nav__panel,
.nav__item--has-children:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__panel::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav__panel-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  color: var(--text-2);
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}
.nav__panel-link em {
  color: var(--muted);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.18em;
}
.nav__panel-link:hover { background: var(--gold-soft); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--line); }
html[data-theme='dark'] .icon-sun { display: block; }
html[data-theme='dark'] .icon-moon { display: none; }
html[data-theme='light'] .icon-sun { display: none; }
html[data-theme='light'] .icon-moon { display: block; }
.menu-toggle { display: none; }
.icon-close { display: none; }
body.nav-open .icon-menu { display: none; }
body.nav-open .icon-close { display: block; }

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}
.read-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* 手机菜单 */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 100px 28px 40px;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.3em;
}
.mobile-nav__link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.mobile-nav__link.is-active { color: var(--accent); }
.mobile-nav__link--sub {
  padding-left: 22px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-2);
}
.mobile-nav__foot {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.nav-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.4); }

/* ============================== 首屏 ============================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(7, 10, 14, 0.68) 0%, rgba(8, 11, 16, 0.82) 55%, var(--bg) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center 32%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 52% at 50% 42%, transparent 0%, rgba(7, 10, 14, 0.45) 100%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 168, 106, 0.12), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__moon {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(244, 239, 230, 0.22), rgba(201, 168, 106, 0.1) 45%, transparent 70%);
  border: 1px solid rgba(244, 239, 230, 0.12);
  box-shadow: inset 0 0 80px rgba(201, 168, 106, 0.08), 0 0 120px rgba(201, 168, 106, 0.08);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.hero__title {
  margin: 0;
  max-width: 900px;
  color: #f4efe6;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.03em;
  text-wrap: balance;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.5);
}
.hero__subtitle {
  margin: 24px 0 0;
  color: rgba(244, 239, 230, 0.82);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: 0.05em;
}
.hero__desc {
  max-width: 580px;
  margin: 16px 0 0;
  color: rgba(244, 239, 230, 0.58);
  font-size: 14px;
  line-height: 1.9;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  color: rgba(244, 239, 230, 0.42);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 1px;
  height: 64px;
  background: rgba(244, 239, 230, 0.18);
  overflow: hidden;
}
.hero__scroll span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(260%); }
}

/* ============================== 按钮 ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn--primary { background: var(--accent); color: #171208; }
.btn--primary:hover { background: #d8ba80; transform: translateY(-2px); }
html[data-theme='light'] .btn--primary { color: #fffaf0; }
html[data-theme='light'] .btn--primary:hover { background: #7f5d24; }
.btn--ghost { border-color: rgba(244, 239, 230, 0.28); color: rgba(244, 239, 230, 0.9); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }

/* ============================== 区块 ============================== */
.section { padding: 110px 0; }
.section--plain { padding: 56px 0 120px; }
.section--recent { padding-top: 96px; }
.section--gates { border-top: 1px solid var(--line); }
.section--about { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-index {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.26em;
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.05em;
}
.section-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}
.section-link span { margin-left: 8px; transition: transform 0.25s; display: inline-block; }
.section-link:hover { color: var(--accent); border-color: var(--accent); }
.section-link:hover span { transform: translateX(4px); }
.section-note { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }

/* ============================== 精选 ============================== */
.featured {
  position: relative;
  display: block;
  margin-bottom: 8px;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}
.featured:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.featured__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.featured__title {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.featured:hover .featured__title { color: var(--accent); }
.featured__excerpt {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.9;
}
.featured__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.featured__more .arrow { transition: transform 0.25s; }
.featured:hover .featured__more .arrow { transform: translateX(6px); }
.featured__num {
  position: absolute;
  right: 18px;
  bottom: -44px;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ============================== 文章列表 ============================== */
.post-list { border-top: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 32px;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
}
.post-row:hover { border-bottom-color: var(--line-2); }
.post-row__date { display: flex; flex-direction: column; padding-top: 3px; }
.post-row__date time {
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.post-row__date span { color: var(--muted); font-size: 10px; letter-spacing: 0.16em; margin-top: 2px; }
.post-row:hover .post-row__date time { color: var(--accent); }
.post-row__body { min-width: 0; }
.post-row__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-row__time { color: var(--muted); font-size: 10px; letter-spacing: 0.1em; }
.post-row h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.post-row h3 a { transition: color 0.25s; }
.post-row:hover h3 a { color: var(--accent); }
.post-row p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-row__arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 20px;
  color: var(--muted);
  font-size: 18px;
  transition: color 0.25s, transform 0.25s;
}
.post-row:hover .post-row__arrow { color: var(--accent); transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip--gold { border-color: var(--gold-soft); background: var(--gold-soft); color: var(--accent); }
.chip--small { padding: 2px 8px; font-size: 10px; }

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.pager a { color: var(--text-2); transition: color 0.25s; }
.pager a:hover { color: var(--accent); }

/* ============================== 空状态 ============================== */
.empty {
  padding: 56px 24px;
  border: 1px dashed var(--line-2);
  text-align: center;
}
.empty__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
}
.empty p { margin: 0; color: var(--muted); font-size: 13px; }
.empty--page { padding: 84px 32px; }
.empty__index {
  margin: 0 0 18px !important;
  color: var(--gold-soft) !important;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
}
.empty--page .empty__title { font-size: 1.8rem; margin-bottom: 16px; }
.empty__text { max-width: 460px; margin: 0 auto !important; color: var(--text-2) !important; line-height: 2 !important; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ============================== 入口 ============================== */
.gate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.gate {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 262px;
  padding: 30px 26px 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.gate:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-4px); }
.gate__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  color: var(--accent);
  transition: background 0.3s, border-color 0.3s;
}
.gate:hover .gate__icon { background: var(--gold-soft); border-color: var(--accent); }
.gate__no {
  position: absolute;
  top: 32px;
  right: 24px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.gate h3 {
  margin: 32px 0 10px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.gate p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.85; }
.gate__arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.gate:hover .gate__arrow { opacity: 1; transform: none; }

/* ============================== 关于预告 ============================== */
.about-teaser {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.about-teaser__portrait { position: relative; }
.about-teaser__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.85);
  border: 1px solid var(--line-2);
}
.about-teaser__ring {
  position: absolute;
  inset: -16px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  pointer-events: none;
}
.about-teaser__ring::after {
  content: '';
  position: absolute;
  top: 8%;
  right: 6%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}
.about-teaser__quote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.about-teaser__text { max-width: 460px; margin: 0 0 30px; color: var(--muted); font-size: 13.5px; line-height: 1.95; }

/* ============================== 页脚 ============================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 76px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand__name {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}
.footer-brand__name span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.3em;
}
.footer-brand__bio { max-width: 280px; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.9; }
.footer-col h3 {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.footer-col a { display: block; margin: 10px 0; color: var(--text-2); font-size: 12.5px; transition: color 0.25s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--accent); }

.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, color 0.25s, border-color 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); border-color: var(--accent); }

/* ============================== 页面头部 ============================== */
.page-head {
  padding: 168px 0 58px;
  border-bottom: 1px solid var(--line);
}
.page-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.page-head__desc {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* ============================== 归档 ============================== */
.archive-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.archive-summary b { color: var(--accent); font-weight: 400; }
.archive-year { margin-bottom: 56px; }
.archive-year__title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-weight: 400;
}
.archive-year__title span { color: var(--accent); font-size: 2.6rem; line-height: 1; letter-spacing: 0.04em; }
.archive-year__title em { color: var(--muted); font-family: var(--font-sans); font-style: normal; font-size: 10px; letter-spacing: 0.16em; }
.archive-list { display: block; }
.archive-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.archive-item__date { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; transition: color 0.25s; }
.archive-item:hover .archive-item__date { color: var(--accent); }
.archive-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.55;
}
.archive-item h3 a { transition: color 0.25s; }
.archive-item:hover h3 a { color: var(--accent); }
.archive-item__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.back-link { display: inline-block; margin-top: 36px; color: var(--muted); font-size: 12px; letter-spacing: 0.1em; }
.back-link:hover { color: var(--accent); }

/* ============================== 文章 ============================== */
.post-header { padding: 164px 0 52px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--muted); font-size: 11px; letter-spacing: 0.06em; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-header__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.post-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.02em;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 200px;
  gap: 72px;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 120px;
}
.post-main { min-width: 0; }

.prose { color: var(--text); font-size: 1.02rem; line-height: 1.98; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 1.35em 0; }
.prose h2,
.prose h3,
.prose h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; scroll-margin-top: 110px; }
.prose h2 {
  margin: 2.8em 0 1em;
  padding-top: 1.3em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.45;
}
.prose h3 { margin: 2.2em 0 0.7em; font-size: clamp(1.18rem, 2.2vw, 1.35rem); }
.prose h4 { margin: 1.8em 0 0.6em; font-size: 1.05rem; color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-soft); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul,
.prose ol { margin: 1.2em 0; padding-left: 1.5em; }
.prose li { margin: 0.45em 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 2em 0;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--accent);
  color: var(--text-2);
}
.prose blockquote p { margin: 0.5em 0; }
.prose blockquote > *:first-child { margin-top: 0; }
.prose blockquote > *:last-child { margin-bottom: 0; }
.prose img { display: block; margin: 2em auto; border: 1px solid var(--line); border-radius: 2px; }
.prose figure { margin: 2.2em 0; }
.prose figcaption { margin-top: 10px; color: var(--muted); font-size: 11.5px; text-align: center; }
.prose hr { margin: 3.2em auto; border: 0; width: 64px; height: 1px; background: var(--line-2); }
.prose code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--accent-2);
}
.prose pre {
  position: relative;
  margin: 1.8em 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #0b1017;
  overflow-x: auto;
  line-height: 1.75;
}
.prose pre code { padding: 0; border: 0; background: none; color: #e4dfd4; font-size: 13px; line-height: 1.8; }

/* Hexo highlight.js 代码块 */
.prose figure.highlight {
  margin: 1.8em 0;
  max-width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: #0b1017;
  overflow-x: auto;
}
.prose figure.highlight table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border-collapse: collapse;
}
.prose figure.highlight td { padding: 0; border: 0; }
.prose figure.highlight pre {
  margin: 0;
  padding: 20px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.prose figure.highlight .line { display: inline; }
.prose figure.highlight .comment,
.prose figure.highlight .quote { color: #73818f; font-style: italic; }
.prose figure.highlight .keyword,
.prose figure.highlight .selector-tag,
.prose figure.highlight .subst { color: #d8b878; }
.prose figure.highlight .string,
.prose figure.highlight .doctag,
.prose figure.highlight .regexp,
.prose figure.highlight .addition { color: #a9d1a4; }
.prose figure.highlight .number,
.prose figure.highlight .literal,
.prose figure.highlight .variable,
.prose figure.highlight .template-variable { color: #e0aa72; }
.prose figure.highlight .title,
.prose figure.highlight .section,
.prose figure.highlight .selector-id,
.prose figure.highlight .type { color: #f0ebe1; }
.prose figure.highlight .tag,
.prose figure.highlight .name,
.prose figure.highlight .selector-class { color: #e8a58f; }
.prose figure.highlight .attr,
.prose figure.highlight .attribute,
.prose figure.highlight .built_in { color: #a9c1dd; }
.prose figure.highlight .meta,
.prose figure.highlight .meta .keyword { color: #8fa3b8; }
.prose figure.highlight .symbol,
.prose figure.highlight .bullet,
.prose figure.highlight .link { color: #b9a7d0; }
.prose figure.highlight .deletion { color: #d98a8a; }
.prose figure.highlight .emphasis { font-style: italic; }
.prose figure.highlight .strong { font-weight: 700; }

.prose .headerlink { display: none; }
.prose table { width: 100%; margin: 2em 0; border-collapse: collapse; font-size: 13px; }
.prose th,
.prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--text-2); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; }
.prose .highlight { margin: 1.8em 0; }
.prose .highlight table { margin: 0; }
.prose .highlight td { padding: 0; border: 0; }
.prose .highlight .gutter { width: 1%; padding-right: 16px; color: var(--muted); user-select: none; }

.code-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}
.prose pre:hover .code-copy { opacity: 1; }
.code-copy:hover { color: var(--accent); border-color: var(--accent); }

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.post-tags > span { margin-right: 6px; color: var(--muted); font-size: 10px; letter-spacing: 0.2em; }

.author-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.author-card__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.author-card__body { min-width: 0; }
.author-card__name { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; }
.author-card__name span { margin-left: 10px; color: var(--muted); font-family: var(--font-sans); font-size: 8px; letter-spacing: 0.2em; }
.author-card__bio { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.author-card__link { margin-left: auto; color: var(--accent); font-size: 11px; letter-spacing: 0.08em; white-space: nowrap; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  transition: border-color 0.25s, background 0.25s;
}
.post-nav__item:hover { border-color: var(--accent); background: var(--surface); }
.post-nav__item--next { text-align: right; }
.post-nav__item--empty { border-color: transparent; pointer-events: none; }
.post-nav--single { grid-template-columns: 1fr; }
.post-nav--single .post-nav__item--empty { display: none; }
.post-nav--single .post-nav__item--next { text-align: left; }
.post-nav__label { color: var(--muted); font-size: 10px; letter-spacing: 0.12em; }
.post-nav__title { font-family: var(--font-display); font-size: 13.5px; line-height: 1.6; }

.comments { margin-top: 64px; }
.comments__title { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }

.post-aside { position: sticky; top: 110px; align-self: start; }
.toc { padding-left: 1px; border-left: 1px solid var(--line); }
.toc__title { margin: 0 0 12px; padding-left: 14px; color: var(--muted); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; }
.toc__nav a {
  display: block;
  padding: 5px 0 5px 14px;
  border-left: 1px solid transparent;
  margin-left: -1px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  transition: color 0.2s, border-color 0.2s;
}
.toc__nav a:hover { color: var(--text); }
.toc__nav a.is-active { color: var(--accent); border-left-color: var(--accent); }
.toc__nav a.toc-h3 { padding-left: 26px; font-size: 11px; }
.post-aside__top { display: inline-block; margin-top: 24px; padding-left: 14px; color: var(--muted); font-size: 10.5px; letter-spacing: 0.1em; }
.post-aside__top:hover { color: var(--accent); }

/* ============================== 关于页 ============================== */
.about-hero { padding: 176px 0 84px; border-bottom: 1px solid var(--line); }
.about-hero__inner { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 80px; align-items: center; }
.about-portrait { position: relative; }
.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  filter: saturate(0.85);
}
.about-portrait__frame { position: absolute; inset: -18px; border: 1px solid var(--gold-soft); border-radius: 50%; }
.about-portrait__frame::after {
  content: '';
  position: absolute;
  bottom: 4%;
  left: 8%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}
.about-hero__name { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 400; letter-spacing: 0.08em; }
.about-hero__en { margin: 10px 0 26px; color: var(--muted); font-size: 9px; letter-spacing: 0.42em; }
.about-hero__quote { max-width: 580px; margin: 0 0 30px; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.9; color: var(--text-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10.5px; letter-spacing: 0.06em; }

.about-body { padding: 84px 0 120px; }
.about-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 80px; }
.about-index { position: sticky; top: 110px; align-self: start; }
.about-index__label { margin: 0 0 16px; color: var(--muted); font-size: 9px; letter-spacing: 0.26em; }
.about-index ol { margin: 0; padding: 0; list-style: none; }
.about-index li a { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); font-size: 12px; transition: color 0.2s; }
.about-index li a span { color: var(--accent); font-size: 9px; letter-spacing: 0.1em; padding-top: 2px; }
.about-index li a:hover { color: var(--text); }
.about-index__back { display: inline-block; margin-top: 30px; color: var(--muted); font-size: 11px; }
.about-index__back:hover { color: var(--accent); }

.about-section { margin-bottom: 88px; scroll-margin-top: 120px; }
.about-section__no { margin: 0 0 10px; color: var(--accent); font-size: 10px; letter-spacing: 0.2em; }
.about-section h2 { margin: 0 0 22px; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.15rem); font-weight: 400; letter-spacing: 0.04em; }
.about-section p { max-width: 680px; margin: 0 0 1.2em; color: var(--text-2); font-size: 15px; line-height: 2.05; }
.about-end { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; color: var(--muted); }
.about-end span { color: var(--accent); font-size: 18px; }
.about-end p { margin: 0; font-size: 11px; letter-spacing: 0.24em; }

/* ============================== 时间线 ============================== */
.timeline { position: relative; }
.timeline__year { display: flex; align-items: center; gap: 18px; margin: 54px 0 20px; }
.timeline__year:first-child { margin-top: 0; }
.timeline__year span { color: var(--accent); font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.06em; }
.timeline__year i { flex: 1; height: 1px; background: var(--line); }
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0 20px 26px;
  border-left: 1px solid var(--line);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 29px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline__date b { color: var(--text-2); font-family: var(--font-display); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; }
.timeline__body h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.16rem; font-weight: 400; line-height: 1.5; }
.timeline__body p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.9; }
.timeline__end { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 56px; }
.timeline__end span { width: 1px; height: 64px; background: linear-gradient(to bottom, var(--accent), transparent); }
.timeline__end p { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: 0.34em; }

/* ============================== 作品 ============================== */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.work-card { border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.work-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.work-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 4rem;
}
.work-card__type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 3px 10px;
  background: rgba(10, 13, 18, 0.7);
  border: 1px solid rgba(244, 239, 230, 0.18);
  color: #f4efe6;
  font-size: 9px;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.work-card__body { padding: 24px; }
.work-card__body h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.work-card__body p { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; line-height: 1.85; }
.text-link { color: var(--accent); font-size: 11.5px; letter-spacing: 0.08em; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-note { margin-top: 64px; }

/* ============================== 孩子 ============================== */
.kid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.kid-card { padding: 40px 28px; border: 1px solid var(--line); background: var(--surface); text-align: center; transition: border-color 0.3s, transform 0.3s; }
.kid-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.kid-card__avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2.6rem;
}
.kid-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.kid-card__no { margin: 0 0 10px; color: var(--muted); font-size: 9px; letter-spacing: 0.22em; }
.kid-card h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.kid-card__en { margin: 0 0 14px; color: var(--muted); font-size: 8px; letter-spacing: 0.26em; }
.kid-card__desc { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.9; }

/* ============================== 友链 ============================== */
.link-list { border-top: 1px solid var(--line); }
.link-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: center;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}
.link-card:hover { background: var(--surface); padding-left: 14px; padding-right: 12px; }
.link-card__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.link-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.link-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.link-card__name { font-family: var(--font-display); font-size: 1.05rem; }
.link-card__desc { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-card__arrow { color: var(--muted); transition: color 0.25s, transform 0.25s; }
.link-card:hover .link-card__arrow { color: var(--accent); transform: translate(2px, -2px); }

/* ============================== 留言 ============================== */
.guestbook-intro { margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.guestbook-placeholder { padding: 64px 40px; border: 1px dashed var(--line-2); text-align: center; }
.guestbook-placeholder h2 { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; }
.guestbook-placeholder p { max-width: 520px; margin: 0 auto 12px; color: var(--text-2); font-size: 13.5px; line-height: 2; }
.guestbook-placeholder__hint { margin-top: 36px !important; color: var(--muted) !important; font-size: 10.5px !important; }
.guestbook-placeholder__hint code { color: var(--accent); font-family: var(--font-mono); }

/* ============================== 404 ============================== */
.notfound { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 140px 0; overflow: hidden; text-align: center; }
.notfound__bg {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: clamp(14rem, 42vw, 32rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.notfound__inner { position: relative; z-index: 1; }
.notfound h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.35; letter-spacing: 0.04em; }
.notfound__text { max-width: 460px; margin: 22px auto 0; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ============================== 响应式 ============================== */
@media (max-width: 1080px) {
  .gate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-teaser { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
  .post-layout { grid-template-columns: minmax(0, 760px); }
  .post-aside { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__moon { width: 260px; height: 260px; right: -40px; top: 10%; opacity: 0.7; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-hero { padding-top: 150px; }
  .about-hero__inner { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-index { position: static; display: none; }
  .about-teaser { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
  .section-note { display: none; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .site-header__inner { height: 66px; }
  .brand__text b { font-size: 13.5px; letter-spacing: 0.1em; }
  .brand__text small { font-size: 7px; }
  .hero { min-height: 94svh; padding: 122px 0 90px; background-position: center 28%; }
  .hero__title { font-size: clamp(2rem, 8.6vw, 3rem); }
  .hero__desc { font-size: 13px; }
  .hero__meta { margin-top: 34px; font-size: 10px; }
  .hero__scroll { display: none; }
  .section { padding: 76px 0; }
  .section--plain { padding: 40px 0 88px; }
  .section-head { margin-bottom: 32px; align-items: flex-start; }
  .section-link { font-size: 11px; }
  .featured { padding: 26px 22px 32px; }
  .featured__num { font-size: 110px; bottom: -26px; }
  .post-row { grid-template-columns: minmax(0, 1fr) 26px; gap: 14px; padding: 24px 0; }
  .post-row__date { display: none; }
  .post-row p { -webkit-line-clamp: 3; }
  .gate-grid { grid-template-columns: 1fr; }
  .gate { min-height: 0; padding: 26px 24px 30px; }
  .gate h3 { margin-top: 24px; }
  .about-teaser { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-teaser__portrait { width: 210px; margin: 0 auto; }
  .about-teaser__quote { font-size: 1.15rem; }
  .about-teaser .btn { margin: 0 auto; }
  .page-head { padding: 128px 0 40px; }
  .post-header { padding: 122px 0 40px; }
  .post-layout { padding-top: 44px; padding-bottom: 88px; }
  .post-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__item--next { text-align: left; }
  .post-nav__item--empty { display: none; }
  .author-card { flex-wrap: wrap; }
  .author-card__link { margin-left: 0; }
  .about-hero { padding: 128px 0 56px; }
  .about-hero__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .about-portrait { width: 200px; margin: 0 auto; }
  .about-hero__quote { margin-left: auto; margin-right: auto; }
  .tag-list { justify-content: center; }
  .about-body { padding: 56px 0 88px; }
  .about-section { margin-bottom: 64px; }
  .about-section p { font-size: 14px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0 16px 22px; }
  .timeline__item::before { top: 23px; }
  .timeline__date b { font-size: 11px; letter-spacing: 0.1em; }
  .archive-item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .archive-item__date { font-size: 10px; }
  .archive-year__title span { font-size: 2rem; }
  .work-grid { grid-template-columns: 1fr; }
  .guestbook-placeholder { padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 40px; flex-direction: column; }
  .to-top { right: 18px; bottom: 18px; width: 38px; height: 38px; }
}

@media (max-width: 420px) {
  .brand__text small { display: none; }
  .hero__actions { gap: 10px; }
  .btn { padding: 12px 20px; font-size: 12px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .post-row__top .chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__scroll span { display: none; }
}

/* ============================================================
   国风纹样 · 系列与作品框架
   ============================================================ */

:root {
  --font-sans: 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --seal: #9e4035;
}

/* 首屏：去掉亮圆，换成边框、云纹、竖排题字、印章和水印 */
.hero__moon { display: none; }
.hero__glow { opacity: 0.5; }
.hero__inner { position: relative; z-index: 4; }
.hero__frame {
  position: absolute;
  inset: 24px;
  z-index: 3;
  border: 1px solid rgba(201, 168, 106, 0.16);
  pointer-events: none;
}
.hero__frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 168, 106, 0.06);
}
.hero__frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: rgba(201, 168, 106, 0.55);
  border-style: solid;
}
.hero__frame i:nth-child(1) { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hero__frame i:nth-child(2) { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.hero__frame i:nth-child(3) { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.hero__frame i:nth-child(4) { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.hero__clouds {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  z-index: 1;
  background: url('/images/pattern-cloud.svg') repeat-x bottom / 240px 80px;
  opacity: 0.26;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 96%);
  mask-image: linear-gradient(to top, #000 8%, transparent 96%);
  pointer-events: none;
}
.hero__watermark {
  position: absolute;
  right: 6%;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: rgba(201, 168, 106, 0.035);
  font-family: var(--font-display);
  font-size: clamp(14rem, 28vw, 26rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero__vertical {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: rgba(201, 168, 106, 0.42);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.42em;
  pointer-events: none;
}
.hero__vertical--left { left: 38px; }
.hero__vertical--right { right: 38px; }
.hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 26px;
}
.hero__title-row .hero__title { flex: 0 1 auto; }
.hero__seal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border: 1px solid rgba(158, 64, 53, 0.85);
  background: rgba(158, 64, 53, 0.07);
  box-shadow: inset 0 0 0 2px rgba(158, 64, 53, 0.14);
  color: #c47563;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  transform: rotate(-3deg);
}
.hero__scroll { z-index: 5; }

/* 章节的细金线、菱形和页头短线 */
.section-head {
  position: relative;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.section-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 86px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 12px;
  background: var(--accent);
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.8;
}
.section-index::before {
  content: '◇ ';
  color: var(--accent);
  opacity: 0.75;
}
.page-head__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 18px;
  background: var(--accent);
  opacity: 0.6;
}

/* 卡片角落的细金线 */
.gate,
.series-card,
.work-card,
.kid-card { position: relative; }
.gate::before,
.series-card::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 9px;
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(201, 168, 106, 0.32);
  border-left: 1px solid rgba(201, 168, 106, 0.32);
  pointer-events: none;
}
.gate::after,
.series-card::after,
.work-card::after,
.kid-card::after {
  content: '';
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 16px;
  height: 16px;
  border-right: 1px solid rgba(201, 168, 106, 0.32);
  border-bottom: 1px solid rgba(201, 168, 106, 0.32);
  pointer-events: none;
}

/* 作品筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  margin-bottom: 34px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-group__label {
  margin-right: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.24em;
}
.filter-btn {
  padding: 5px 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active {
  border-color: var(--accent);
  background: var(--gold-soft);
  color: var(--accent);
}
.works-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.work-card[hidden] { display: none; }
.works-empty-filter {
  display: none;
  padding: 56px 24px;
  border: 1px dashed var(--line-2);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.works-empty-filter.is-visible { display: block; }
.work-card__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

/* 孩子们：系列卡片 */
.kids-intro {
  max-width: 660px;
  margin: 0 0 40px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 2;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.series-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 34px 28px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.series-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.series-card__no {
  position: absolute;
  top: 30px;
  right: 24px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.series-card__en {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.3em;
}
.series-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.series-card__tagline {
  margin: 0 0 24px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.9;
}
.series-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.series-card__arrow {
  margin-top: 18px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* 系列详情：世界观 + 角色 */
.series-world__head { margin-bottom: 26px; }
.series-world .prose { max-width: 760px; }
.series-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.series-back {
  display: inline-block;
  margin-top: 40px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.series-back:hover { color: var(--accent); }

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.character-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 32px 24px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.character-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.character-card__avatar {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin-bottom: 20px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2rem;
}
.character-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.character-card__name {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.character-card__en {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.24em;
}
.character-card__role {
  display: block;
  margin: 0;
  color: var(--text-2);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.character-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
}

/* 角色面板 */
.character-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: auto;
}
.character-dialog::backdrop {
  background: rgba(4, 7, 10, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.character-dialog__inner {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
  padding: 38px;
}
.character-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.character-dialog__close:hover { color: var(--accent); border-color: var(--accent); }
.character-dialog__portrait {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 3.5rem;
}
.character-dialog__portrait img { width: 100%; height: 100%; object-fit: cover; }
.character-dialog__en {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.3em;
}
.character-dialog h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}
.character-dialog__role {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.character-dialog__quote {
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 1px solid var(--accent);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.9;
}
.character-dialog__desc {
  margin: 0 0 20px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 2;
}
.character-dialog__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 响应式 */
@media (max-width: 1080px) {
  .hero__watermark,
  .hero__vertical { display: none; }
}
@media (max-width: 900px) {
  .hero__frame { inset: 14px; }
  .series-grid { grid-template-columns: 1fr; }
  .character-dialog__inner { grid-template-columns: 1fr; }
  .character-dialog__portrait { margin: 0 auto; }
}
@media (max-width: 720px) {
  .hero__title-row { display: block; }
  .hero__seal { display: none; }
  .hero__frame { inset: 10px; }
  .hero__clouds { height: 120px; }
  .section-head { padding-bottom: 14px; }
  .filter-bar { gap: 14px; }
  .works-count { width: 100%; margin-left: 0; }
  .series-card { padding: 28px 22px 24px; }
  .character-dialog__inner { padding: 30px 22px; }
  .page-head__title::after { margin-top: 14px; }
}
@media (max-width: 420px) {
  .filter-group__label { width: 100%; }
}

/* ---------- 细节修正 ---------- */
.hero__seal {
  color: #d18a76;
  border-color: rgba(158, 64, 53, 0.95);
  background: rgba(158, 64, 53, 0.14);
  box-shadow: inset 0 0 0 2px rgba(158, 64, 53, 0.2), 0 0 24px rgba(158, 64, 53, 0.08);
}
.hero__inner,
.hero__title-row { min-width: 0; }
.empty__index {
  font-size: 3.2rem !important;
  line-height: 1 !important;
}
.series-card {
  min-height: 270px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(201, 168, 106, 0.07), transparent 62%),
    linear-gradient(135deg, var(--surface), var(--bg-2));
}
.series-world { padding: 64px 0 32px; }
.section--characters { padding: 32px 0 100px; }

@media (max-width: 720px) {
  .hero__title {
    font-size: clamp(1.8rem, 7.3vw, 2.8rem);
    letter-spacing: 0.015em;
    line-height: 1.22;
    word-break: break-word;
  }
  .hero__title-row,
  .hero__inner { max-width: 100%; }
  .hero__subtitle,
  .hero__desc {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }
  .series-world { padding: 48px 0 24px; }
  .section--characters { padding: 24px 0 72px; }
}

/* ============================================================
   横向拱形卡（系列 / 角色）
   ============================================================ */
.carousel-wrap { position: relative; }
.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 28px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__track {
  display: flex;
  align-items: stretch;
  gap: 26px;
  width: max-content;
  min-width: 100%;
}
.carousel-hint {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-align: center;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-2);
  font-size: 16px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.25s, border-color 0.25s, background 0.25s, opacity 0.25s;
}
.carousel-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--surface-2); }
.carousel-btn--prev { left: -8px; }
.carousel-btn--next { right: -8px; }
.carousel-btn:disabled { opacity: 0.25; pointer-events: none; }

/* 系列：拱形大卡 */
.series-card--tall {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(320px, 31vw, 420px);
  height: min(620px, 72vh);
  min-height: 520px;
  padding: 0;
  border: 1px solid rgba(201, 168, 106, 0.55);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #18202a, #0a0d12 72%);
  box-shadow:
    0 0 0 1px rgba(201, 168, 106, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.5),
    inset 0 0 60px rgba(201, 168, 106, 0.05);
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform 0.45s, border-color 0.45s, box-shadow 0.45s;
}
.series-card--tall::before { display: none; }
.series-card--tall::after {
  content: '';
  display: block;
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(201, 168, 106, 0.18);
  border-radius: 999px 999px 6px 6px;
  pointer-events: none;
  transition: border-color 0.4s;
}
.series-card--tall:hover::after { border-color: rgba(201, 168, 106, 0.42); }
.series-card--tall:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(201, 168, 106, 0.2),
    0 34px 90px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(201, 168, 106, 0.12);
}
.series-card__art {
  position: absolute;
  inset: 0;
  display: block;
  background-color: #0a0d12;
  background-image:
    radial-gradient(80% 55% at 50% 0%, rgba(201, 168, 106, 0.2), transparent 65%),
    url('/images/pattern-cloud.svg'),
    linear-gradient(180deg, rgba(20, 28, 38, 0.6), rgba(8, 11, 16, 0.9));
  background-repeat: no-repeat, repeat-x, no-repeat;
  background-position: top center, bottom center, center;
  background-size: 100% 70%, 240px 80px, cover;
}
.series-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.82) contrast(1.02);
}
.series-card__ghost {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(201, 168, 106, 0.07);
  font-family: var(--font-display);
  font-size: clamp(9rem, 12vw, 13rem);
  line-height: 1;
  user-select: none;
}
.series-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 8, 12, 0.98) 0%,
    rgba(7, 11, 16, 0.9) 36%,
    rgba(7, 11, 16, 0.25) 68%,
    transparent 100%
  );
}
.series-card--tall .series-card__no {
  top: 76px;
  right: 24px;
  z-index: 2;
  color: rgba(201, 168, 106, 0.7);
}
.series-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 0 26px 30px;
}
.series-card--tall .series-card__en {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.28em;
}
.series-card--tall .series-card__name {
  margin: 0 0 10px;
  color: #f2ece2;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.05em;
}
.series-card--tall .series-card__tagline {
  max-width: 92%;
  margin: 0 0 16px;
  color: rgba(233, 228, 218, 0.62);
  font-size: 12px;
  line-height: 1.8;
}
.series-card--tall .series-card__meta {
  margin-top: 0;
  color: rgba(233, 228, 218, 0.42);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.series-card--tall .series-card__arrow {
  margin-top: 16px;
  color: var(--accent);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

/* 角色：拱形大卡 */
.character-card--tall {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(250px, 26vw, 320px);
  height: min(520px, 64vh);
  min-height: 430px;
  padding: 0;
  border: 1px solid rgba(201, 168, 106, 0.42);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #151d26, #0a0d12 72%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 50px rgba(201, 168, 106, 0.04);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: center;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.character-card--tall:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 45px rgba(201, 168, 106, 0.1);
}
.character-card--empty { cursor: default; }
.character-card--empty:hover {
  transform: none;
  border-color: rgba(201, 168, 106, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 50px rgba(201, 168, 106, 0.04);
}
.character-card--tall::after {
  content: '';
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(201, 168, 106, 0.14);
  border-radius: 999px 999px 6px 6px;
  pointer-events: none;
}
.character-card__art {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(143, 168, 200, 0.12), transparent 65%),
    linear-gradient(180deg, #18222c, #0a0d12 75%);
}
.character-card__art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.8);
}
.character-card__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(201, 168, 106, 0.07);
  font-family: var(--font-display);
  font-size: clamp(8rem, 11vw, 12rem);
  line-height: 1;
}
.character-card__portrait {
  position: absolute;
  top: 16%;
  left: 50%;
  z-index: 2;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(201, 168, 106, 0.38);
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
}
.character-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 8, 12, 0.98) 0%,
    rgba(7, 11, 16, 0.9) 38%,
    rgba(7, 11, 16, 0.2) 72%,
    transparent 100%
  );
}
.character-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 0 24px 26px;
}
.character-card__no {
  position: absolute;
  top: 64px;
  right: 22px;
  z-index: 3;
  color: rgba(201, 168, 106, 0.72);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.character-card--tall .character-card__en {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.26em;
}
.character-card--tall .character-card__name {
  display: block;
  margin: 0 0 8px;
  color: #f2ece2;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.character-card--tall .character-card__role {
  display: block;
  margin: 0;
  color: rgba(233, 228, 218, 0.55);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.character-card--tall .character-card__tags {
  margin-top: 12px;
  justify-content: flex-start;
}

@media (max-width: 1080px) {
  .series-card--tall { width: clamp(320px, 36vw, 400px); }
  .character-card--tall { width: clamp(250px, 30vw, 300px); }
}
@media (max-width: 720px) {
  .carousel-btn { display: none; }
  .carousel { padding-left: 0; padding-right: 0; }
  .series-card--tall {
    width: 78vw;
    height: 66vh;
    min-height: 460px;
    border-radius: 999px 999px 8px 8px;
  }
  .series-card--tall .series-card__content { padding: 0 22px 26px; }
  .series-card--tall .series-card__no { top: 60px; right: 20px; }
  .character-card--tall {
    width: 72vw;
    height: 58vh;
    min-height: 400px;
    border-radius: 999px 999px 8px 8px;
  }
  .character-card--tall .character-card__content { padding: 0 20px 24px; }
  .character-card__no { top: 50px; right: 18px; }
}

/* 孩子们的窝：让拱形卡尽量出现在首屏 */
.layout-kids .page-head { padding: 136px 0 34px; }
.layout-kids .page-head__title { font-size: clamp(2.4rem, 4.6vw, 3.4rem); }
.layout-kids .section--plain { padding-top: 24px; }
.layout-kids .carousel { padding-top: 0; }
@media (max-width: 720px) {
  .layout-kids .page-head { padding: 120px 0 26px; }
  .layout-kids .section--plain { padding-top: 16px; }
}
