/* 故事站皮肤：书页感排版，覆盖层只写差异 */
body.theme-story {
  background-image: radial-gradient(circle at 50% 0, #fffdf8 0, #fbf7f0 60%);
}
body.theme-story .be-header {
  border-bottom: 1px solid var(--be-border);
  background: rgba(251, 247, 240, .92);
}
body.theme-story .be-brand {
  letter-spacing: .08em;
  font-weight: 600;
}

/* ---------- 首页 ---------- */
.st-hero {
  padding: 46px 0 30px;
  border-bottom: 1px solid var(--be-border);
  text-align: center;
}
.st-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--be-muted);
}
.st-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.6vw, 44px);
  letter-spacing: .06em;
  color: var(--be-fg);
}
.st-hero-sub { margin: 0 auto; max-width: 620px; color: var(--be-muted); }
.st-hero-stats {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--be-muted);
}
.st-hero-stats b { font-size: 18px; color: var(--be-primary); margin-right: 4px; }

.st-chars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--be-card-gap);
  padding: 34px 0 8px;
}
.st-char-card {
  display: flex;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: #fffdf9;
}
.st-char-avatar {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--be-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--be-border);
}
.st-char-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-char-avatar span { font-size: 30px; color: var(--be-primary); }
.st-char-body { min-width: 0; }
.st-char-body h2 { margin: 2px 0 6px; font-size: 20px; }
.st-char-body h2 a { color: var(--be-fg); text-decoration: none; }
.st-char-tag { margin: 0 0 10px; font-size: 14px; color: var(--be-primary); }
.st-char-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--be-muted);
}
.st-char-meta span {
  padding: 2px 8px;
  border: 1px solid var(--be-border);
  border-radius: 999px;
}
.st-char-brief { margin: 0 0 12px; font-size: 14px; color: var(--be-muted); line-height: 1.7; }
.st-char-more { font-size: 14px; color: var(--be-primary); text-decoration: none; }

.st-latest { padding: 30px 0 40px; }
.st-sec-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--be-primary);
  font-size: 18px;
  letter-spacing: .06em;
}
.st-chapter-list { list-style: none; margin: 0; padding: 0; }
.st-chapter-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--be-border);
  font-size: 15px;
}
.st-ch-no {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--be-primary);
  letter-spacing: .04em;
}
.st-chapter-list li a { color: var(--be-fg); text-decoration: none; }
.st-chapter-list li a:hover { color: var(--be-primary); }
.st-ch-char { font-size: 12px; color: var(--be-muted); }
.st-chapter-list li time { margin-left: auto; font-size: 12px; color: var(--be-muted); }

/* ---------- 人物主页 ---------- */
.st-profile {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--be-border);
}
.st-profile-avatar {
  flex: 0 0 148px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(108, 75, 59, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--be-surface);
}
.st-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.st-profile-avatar span { font-size: 46px; color: var(--be-primary); }
.st-profile-body h1 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: .04em; }
.st-profile-tag { margin: 0 0 16px; color: var(--be-primary); }
.st-facts {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 6px 12px;
  margin: 0 0 16px;
  font-size: 14px;
}
.st-facts dt { color: var(--be-muted); }
.st-facts dd { margin: 0; color: var(--be-fg); }
.st-btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--be-primary);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.st-block { padding: 26px 0 4px; }
.st-block p { margin: 0 0 14px; line-height: 1.9; }
.st-world { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-world li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--be-accent);
  background: var(--be-surface);
  font-size: 14px;
}
.st-world strong { color: var(--be-primary); }
.st-world span { color: var(--be-fg); }

.st-toc { list-style: none; margin: 0; padding: 0; }
.st-toc li { border-bottom: 1px solid var(--be-border); }
.st-toc a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 4px;
  text-decoration: none;
  color: var(--be-fg);
}
.st-toc a:hover { background: var(--be-surface); }
.st-toc-no { font-family: Georgia, serif; font-size: 15px; color: var(--be-accent); }
.st-toc-title { flex: 1; }
.st-toc-date { font-size: 12px; color: var(--be-muted); }

.st-others { display: flex; gap: 16px; flex-wrap: wrap; }
.st-other {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 118px;
  text-align: center;
  text-decoration: none;
  color: var(--be-fg);
}
.st-other img, .st-other-ph {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--be-surface);
  color: var(--be-primary);
  font-size: 22px;
}
.st-other small { color: var(--be-muted); font-size: 11px; line-height: 1.5; }

/* ---------- 章节页 ---------- */
.st-chapter { padding: 8px 0 0; max-width: 760px; margin: 0 auto; }
.st-chapter-head { text-align: center; padding: 18px 0 22px; }
.st-chapter-no {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--be-accent);
}
.st-chapter-head h1 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.5; }
.st-chapter-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  color: var(--be-muted);
}
.st-chapter-char {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin: 0 0 26px;
  border: 1px solid var(--be-border);
  border-radius: 999px;
  background: #fffdf9;
  font-size: 13px;
}
.st-chapter-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--be-surface);
  color: var(--be-primary);
}
.st-chapter-avatar img { width: 100%; height: 100%; object-fit: cover; }
.st-chapter-char strong { display: block; }
.st-chapter-char small { color: var(--be-muted); }
.st-chapter-char-link { margin-left: auto; color: var(--be-primary); text-decoration: none; white-space: nowrap; }

.st-content {
  font-size: 17px;
  line-height: 2.0;
  color: var(--be-fg);
  letter-spacing: .01em;
}
.st-content p { margin: 0 0 1.1em; text-indent: 2em; }
.st-content p.st-quote,
.st-content blockquote { text-indent: 0; }
.st-content h2, .st-content h3 { margin: 1.8em 0 .8em; letter-spacing: .04em; }
.st-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.st-content th, .st-content td { border: 1px solid var(--be-border); padding: 8px 10px; }
.st-content th { background: var(--be-surface); font-weight: 600; }
.st-content figure { margin: 1.6em 0; }
.st-content figure img { width: 100%; border-radius: 6px; display: block; }
.st-content figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--be-muted);
  text-align: center;
  text-indent: 0;
}
.st-content ul, .st-content ol { margin: 0 0 1.2em; padding-left: 1.6em; }

.st-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--be-border);
}
.st-pager a, .st-pager-empty {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--be-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--be-fg);
  background: #fffdf9;
}
.st-pager-next { text-align: right; }
.st-pager small { display: block; font-size: 12px; color: var(--be-muted); margin-bottom: 4px; }
.st-pager-empty span, .st-pager-soon span { color: var(--be-muted); }
.st-pager-empty { background: transparent; }

.st-note {
  margin: 26px 0 40px;
  padding: 12px 14px;
  border-left: 3px solid var(--be-accent);
  background: var(--be-surface);
  font-size: 12px;
  line-height: 1.8;
  color: var(--be-muted);
}
.st-related { padding: 0 0 40px; max-width: 760px; margin: 0 auto; }
.st-empty { padding: 30px 0; color: var(--be-muted); }

@media (max-width: 640px) {
  .st-profile { flex-direction: column; align-items: center; text-align: center; }
  .st-facts { grid-template-columns: 1fr; text-align: left; }
  .st-char-card { flex-direction: column; align-items: flex-start; }
  .st-pager { grid-template-columns: 1fr; }
}
