:root {
  --bg: #F7F5F1;
  --surface: #FFFFFF;
  --ink: #23252B;
  --ink-soft: #6B6F78;
  --metal: #9A8352;
  --line: #E4DFD6;
  --line-strong: #D6CFC2;
  --st-ongoing: #3F7A5E;
  --st-finished: #5A6470;
  --st-paused: #A86A3C;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(35, 37, 43, 0.05);
  --shadow-md: 0 6px 18px rgba(35, 37, 43, 0.08);
  --container: 1180px;
  --reading: 760px;
  --gap: 24px;
  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "tnum" 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--metal);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0 0 12px;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl, dd, dt, figure, figcaption {
  margin: 0;
}

/* ============================================================
   LAYOUT — 全站骨架
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--metal);
}

.site-nav {
  flex: 0 1 auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: #F1EDE6;
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--metal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  display: block;
}

.home-main {
  padding-bottom: 48px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 40px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 10px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--metal);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.copyright {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================================
   COMPONENTS — 通用组件
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: #F7F5F1;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: #3A3D45;
  border-color: #3A3D45;
  color: #FFFFFF;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--metal);
  color: var(--metal);
}

.section-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-note,
.section-intro,
.section-lead {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.status,
.status-tag,
.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.7;
  border-radius: var(--radius-sm);
  border: 1px solid currentColor;
  white-space: nowrap;
}

.status-ongoing,
.tag-ongoing {
  color: var(--st-ongoing);
}

.status-completed,
.tag-finished {
  color: var(--st-finished);
}

.status-hiatus,
.tag-paused {
  color: var(--st-paused);
}

.tag-genre {
  color: var(--metal);
}

/* ============================================================
   PAGE — 首页
   ============================================================ */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: #EFEAE1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-detail {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--metal);
  margin: 0 0 10px;
}

.hero-title {
  font-size: 34px;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.spec-list {
  border-top: 1px solid var(--line);
  margin-bottom: 26px;
}

.spec-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.spec-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--metal);
}

.spec-value {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.split-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 24px;
}

.split-col {
  min-width: 0;
}

.col-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.category-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.category-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 10px;
}

.category-link {
  font-size: 13px;
  color: var(--metal);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.category-link:hover {
  border-bottom-color: var(--metal);
}

.update-timeline {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.update-item {
  position: relative;
  padding: 0 0 20px;
}

.update-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--metal);
}

.update-time {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--metal);
}

.update-name {
  font-size: 15px;
  font-weight: 600;
  margin: 2px 0 4px;
}

.update-progress {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.section-ranking .ranking-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.ranking-item {
  display: grid;
  grid-template-columns: 40px 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.ranking-item:hover {
  background: #FBF9F5;
}

.ranking-no {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--metal);
  text-align: center;
}

.ranking-thumb {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #EFEAE1;
}

.ranking-body {
  min-width: 0;
}

.ranking-name {
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}

.ranking-genre {
  font-size: 13px;
  color: var(--metal);
  margin: 0 0 4px;
}

.ranking-reason {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.cover-wall {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.cover-cell {
  min-width: 0;
}

.cover-link {
  display: block;
}

.cover-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: #EFEAE1;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cover-link:hover .cover-img {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.cover-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--metal);
  margin-top: 2px;
}

.assist-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 40px;
  margin-top: 24px;
}

.assist-col {
  min-width: 0;
}

.note-list {
  border-top: 1px solid var(--line);
}

.note-item {
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
}

.note-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 1px;
  background: var(--metal);
}

.assist-entries {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entry-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.entry-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.entry-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============================================================
   PAGE — 内页通用
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 20px 0 0;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--metal);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-title {
  font-size: 34px;
  margin-bottom: 12px;
}

.page-description {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: var(--reading);
  margin: 0;
}

.page-description a {
  color: var(--metal);
  border-bottom: 1px solid transparent;
}

.page-description a:hover {
  border-bottom-color: var(--metal);
}

.related-entry {
  margin-top: 48px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.related-card-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.related-card-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   PAGE — 题材分类
   ============================================================ */

.category-filter .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-chip {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.filter-chip:hover {
  color: var(--ink);
  border-color: var(--metal);
}

.filter-chip.is-active {
  color: #F7F5F1;
  background: var(--ink);
  border-color: var(--ink);
}

.filter-clear {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--metal);
  background: transparent;
  border: 1px dashed var(--metal);
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.filter-clear:hover {
  background: #F3EFE6;
}

.category-groups {
  margin-top: 48px;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.group-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.group-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.group-card-body {
  min-width: 0;
}

.group-name {
  font-size: 19px;
  margin-bottom: 8px;
}

.group-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 12px;
}

.group-facts {
  border-top: 1px solid var(--line);
}

.group-facts li {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.group-cover {
  min-width: 0;
}

.group-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #EFEAE1;
  margin-bottom: 8px;
}

.group-cover figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-cover .cover-name {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  white-space: normal;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.entry-grid .entry-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ============================================================
   PAGE — 最近更新
   ============================================================ */

.status-legend .status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.status-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.status-card.status-ongoing {
  border-left-color: var(--st-ongoing);
}

.status-card.status-finished {
  border-left-color: var(--st-finished);
}

.status-card.status-paused {
  border-left-color: var(--st-paused);
}

.status-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.status-card.status-ongoing .status-name {
  color: var(--st-ongoing);
}

.status-card.status-finished .status-name {
  color: var(--st-finished);
}

.status-card.status-paused .status-name {
  color: var(--st-paused);
}

.status-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}

.update-timeline {
  margin-top: 48px;
}

.timeline-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.timeline-item:hover {
  background: #FBF9F5;
}

.timeline-time {
  font-size: 13px;
  color: var(--metal);
  padding-top: 4px;
}

.timeline-cover img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #EFEAE1;
}

.timeline-body {
  min-width: 0;
}

.timeline-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.timeline-progress {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 8px;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.timeline-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.genre-narrow {
  margin-top: 48px;
}

.genre-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.genre-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.genre-button:hover {
  color: var(--metal);
  border-color: var(--metal);
  background: #FBF9F5;
}

/* ============================================================
   PAGE — 阅读说明
   ============================================================ */

.guide-section {
  margin-top: 48px;
}

.guide-structure {
  margin-top: 0;
}

.structure-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.structure-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.structure-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #EFEAE1;
}

.figure-caption {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-top: 10px;
}

.structure-notes {
  min-width: 0;
}

.structure-note {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.structure-note:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.note-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.note-text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

.note-text a {
  color: var(--metal);
  border-bottom: 1px solid transparent;
}

.note-text a:hover {
  border-bottom-color: var(--metal);
}

.status-list {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.status-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.status-term {
  font-size: 14px;
}

.status-item .status-desc {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.faq-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 16px 40px 16px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 20px;
  color: var(--metal);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  padding: 0 40px 18px 0;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

/* ============================================================
   PAGE — 反馈与说明
   ============================================================ */

.feedback-types-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.feedback-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.feedback-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #EFEAE1;
}

.feedback-types-body {
  min-width: 0;
}

.feedback-type-list {
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.feedback-type-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.feedback-type-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.feedback-type-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

.feedback-info {
  margin-top: 48px;
}

.feedback-info-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.feedback-info-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 180px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-index {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--metal);
}

.info-name {
  font-size: 16px;
  padding-top: 2px;
}

.info-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

.feedback-scope {
  margin-top: 48px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.scope-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.scope-name {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--st-paused);
}

.scope-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.related-link-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.related-link-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.related-link-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ============================================================
   PAGE — 404
   ============================================================ */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.error-block {
  max-width: 620px;
  margin: 0 auto;
  padding: 88px 0 96px;
  text-align: center;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: var(--metal);
  margin: 0 0 16px;
}

.error-main .error-block h1 {
  font-size: 30px;
  margin-bottom: 14px;
}

.error-text {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.error-tip {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.error-tip a {
  color: var(--metal);
  border-bottom: 1px solid transparent;
}

.error-tip a:hover {
  border-bottom-color: var(--metal);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 24px 48px;
  }

  .hero-visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .split-columns,
  .assist-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cover-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .group-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-grid,
  .related-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .structure-layout,
  .feedback-types-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 18px;
    height: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 18px 16px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list:not(.is-open) {
    display: none;
  }

  .nav-link {
    min-height: 48px;
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-link.is-current {
    box-shadow: none;
    color: var(--metal);
  }

  .inner-main,
  .error-main,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-title,
  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .section {
    padding-top: 40px;
  }

  .category-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .ranking-item {
    grid-template-columns: 32px 56px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-thumb {
    width: 56px;
    height: 76px;
  }

  .cover-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .status-legend .status-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline-cover img {
    width: 64px;
    height: 86px;
  }

  .timeline-time {
    grid-column: 2;
    padding-top: 0;
    order: -1;
  }

  .timeline-body {
    grid-column: 2;
  }

  .status-item,
  .feedback-info-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .scope-list,
  .related-links,
  .related-grid,
  .related-links-grid,
  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .group-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .group-cover img {
    max-width: 180px;
  }

  .filter-clear {
    margin-left: 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 24px 18px 16px;
  }

  .footer-group {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .footer-group:last-child {
    border-bottom: none;
  }

  .footer-title {
    margin-bottom: 10px;
  }

  .copyright {
    padding: 16px 18px;
    text-align: left;
  }

  .error-block {
    padding: 56px 0 64px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-main .error-block h1 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  body.site-body {
    font-size: 15px;
  }

  .hero-inner {
    padding: 28px 18px 36px;
  }

  .spec-row {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cover-wall {
    gap: 12px;
  }

  .cover-name {
    font-size: 13px;
  }
}

/* 视口内淡入增强，默认可见不依赖脚本 */
@media (prefers-reduced-motion: no-preference) {
  .section,
  .related-entry,
  .guide-section {
    animation: fade-up 0.5s ease both;
  }

  .hero-inner,
  .page-header {
    animation: fade-up 0.4s ease both;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
