/* ==========================================================================
   女神动漫官方 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --paper: #F7F4EE;
  --paper-deep: #F1ECE2;
  --ink: #1E1C1A;
  --ink-soft: #4A453F;
  --ink-mute: #7A736A;
  --line: #DDD6C9;
  --line-strong: #C4BAA9;
  --cinnabar: #B8432B;
  --indigo: #2C4A66;
  --moss: #6E7F5C;
  --sand: #C39A4E;
  --radius: 4px;
  --shell: 1180px;
  --narrow: 820px;
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--cinnabar);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

/* ==========================================================================
   layout · 全站骨架
   ========================================================================== */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 28px;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--cinnabar);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--cinnabar);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  min-height: 44px;
  line-height: 28px;
}

.site-nav a:hover {
  color: var(--cinnabar);
}

.site-nav a.is-current {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.inner-main {
  max-width: var(--shell);
  padding: 0 28px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
}

.breadcrumb a {
  color: var(--ink-mute);
}

.breadcrumb a:hover {
  color: var(--cinnabar);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding: 18px 0 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-title {
  font-size: 40px;
  line-height: 1.28;
  padding-bottom: 22px;
  max-width: 900px;
}

.page-head {
  max-width: var(--narrow);
  padding: 26px 0 0;
}

.page-lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 38em;
}

.page-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--cinnabar);
  margin-bottom: 10px;
}

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-tags li {
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  background: var(--paper-deep);
}

.page-tags a {
  color: var(--ink-soft);
  display: block;
}

.page-tags a:hover {
  color: var(--cinnabar);
}

/* 区块通用标题 */

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 26px;
}

.section-head p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-mute);
}

.section-note,
.section-intro {
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 40em;
  margin: 8px 0 22px;
}

.section-more {
  margin-top: 26px;
  font-size: 14px;
}

.section-more a {
  display: inline-block;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.text-link {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

/* ==========================================================================
   components · 页脚
   ========================================================================== */

.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  margin-top: 72px;
}

.footer-top {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 52px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px 32px;
}

.footer-col {
  min-width: 0;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.footer-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  max-width: 26em;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col ul a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-soft);
  min-height: 30px;
}

.footer-col ul a:hover {
  color: var(--cinnabar);
}

.footer-divider {
  max-width: var(--shell);
  margin: 0 auto;
  height: 1px;
  background: var(--line);
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px 28px 28px;
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-mute);
}

/* ==========================================================================
   components · 通用按钮与胶囊
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--cinnabar);
  color: #FFF9F4;
}

.btn-primary:hover {
  background: #9E3621;
  color: #FFF9F4;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* 题材色点与标签 */

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--ink-mute);
}

.genre-urban .dot,
.genre-dot.genre-urban {
  background: var(--cinnabar);
}

.genre-mystery .dot,
.genre-dot.genre-mystery {
  background: var(--ink);
}

.genre-scifi .dot,
.genre-dot.genre-scifi {
  background: var(--indigo);
}

.genre-healing .dot,
.genre-dot.genre-healing {
  background: var(--moss);
}

.genre-sports .dot,
.genre-dot.genre-sports {
  background: var(--sand);
}

.genre-school .dot,
.genre-dot.genre-school {
  background: #A97B8C;
}

.genre-fantasy .dot,
.genre-dot.genre-fantasy {
  background: #6B5CA5;
}

.genre-daily .dot,
.genre-dot.genre-daily {
  background: #8C8378;
}

.genre-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  background: var(--paper);
}

/* 档案状态徽章 */

.status-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  padding: 1px 9px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  white-space: nowrap;
}

.status-active {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}

.status-progress {
  border-color: var(--indigo);
  color: var(--indigo);
}

.status-short {
  border-color: var(--moss);
  color: var(--moss);
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 1px 9px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  white-space: nowrap;
}

.badge-filed {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}

.badge-filing {
  border-color: var(--indigo);
  color: var(--indigo);
}

.badge-short {
  border-color: var(--moss);
  color: var(--moss);
}

/* 折叠问答 */

.qa-item,
.faq-item {
  border-bottom: 1px solid var(--line);
}

.qa-item summary,
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 34px 16px 0;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.qa-item summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after,
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-mute);
  line-height: 1;
}

.qa-item[open] summary::after,
.faq-item[open] summary::after {
  content: "−";
  color: var(--cinnabar);
}

.qa-item summary:hover,
.faq-item summary:hover {
  color: var(--cinnabar);
}

.qa-item > p {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 40em;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

.home-main {
  padding: 0 28px 8px;
}

/* 首屏 */

.hero {
  padding: 44px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cinnabar);
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.26;
}

.hero-lead {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 26em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.hero-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* 三段式入口条带 */

.hero-entries {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.entry-cell {
  padding: 26px 28px 28px;
  min-width: 0;
}

.entry-cell + .entry-cell {
  border-left: 1px solid var(--line);
}

.entry-cell:first-child {
  padding-left: 0;
}

.entry-cell:last-child {
  padding-right: 0;
}

.entry-title {
  font-size: 18px;
}

.entry-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-mute);
}

.year-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.year-mini a {
  display: inline-block;
  min-width: 52px;
  text-align: center;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--paper-deep);
}

.year-mini a:hover {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}

.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.genre-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-deep);
}

.genre-chip:hover,
.genre-chip[aria-current="true"] {
  border-color: var(--ink);
  color: var(--ink);
}

.rep-rows {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rep-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 14px;
}

.rep-rows li:last-child {
  border-bottom: 0;
}

.rep-name {
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
}

.rep-name:hover {
  color: var(--cinnabar);
}

.rep-meta {
  font-size: 12px;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* 题材轨道 */

.genre-track {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}

.genre-track-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  flex: 0 0 auto;
}

.genre-track ul {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.genre-track li {
  flex: 0 0 auto;
}

/* 新近入档 */

.newly-filed,
.ranking,
.reading-path,
.field-samples,
.qa-preview {
  padding: 0 0 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.filed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.filed-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  min-width: 0;
}

.filed-cover {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 3 / 4;
}

.filed-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.filed-card:hover .filed-cover {
  border-color: var(--line-strong);
}

.filed-card:hover .filed-cover img {
  transform: scale(1.03);
}

.filed-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.filed-title {
  font-size: 18px;
  margin-top: 8px;
}

.filed-card:hover .filed-title {
  color: var(--cinnabar);
}

.filed-info {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.65;
}

.filed-info:first-of-type {
  margin-top: 6px;
}

/* 档案排行 */

.ranking-list {
  border-top: 1px solid var(--line);
}

.ranking-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.rank-no {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--line-strong);
  line-height: 1;
}

.rank-body {
  min-width: 0;
}

.rank-name {
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-serif);
}

.rank-name a {
  color: var(--ink);
}

.rank-name a:hover {
  color: var(--cinnabar);
}

.rank-genre {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

.rank-reason {
  font-size: 14px;
  color: var(--ink-soft);
  min-width: 0;
}

/* 阅读路线概览 */

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.path-step {
  padding: 28px 28px 8px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.path-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.path-step:first-child {
  padding-left: 0;
}

.path-step .step-no {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--cinnabar);
  line-height: 1;
  margin-bottom: 12px;
}

.path-step h3 {
  font-size: 18px;
}

.path-step p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.path-step a {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

/* 字段与色卡样本 */

.samples-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.field-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  background: var(--paper-deep);
  min-width: 240px;
}

.field-card h3 {
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.field-value {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--cinnabar);
  margin: 6px 0 8px;
}

.field-card p:last-child {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.65;
}

.color-samples {
  min-width: 0;
}

.color-samples > h3 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.swatch-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.swatch {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.swatch-block {
  display: block;
  width: 34px;
  height: 22px;
  border-radius: 2px;
  border: 1px solid rgba(30, 28, 26, 0.12);
}

.swatch-urban .swatch-block {
  background: var(--cinnabar);
}

.swatch-mystery .swatch-block {
  background: var(--ink);
}

.swatch-scifi .swatch-block {
  background: var(--indigo);
}

.swatch-healing .swatch-block {
  background: var(--moss);
}

.swatch-sports .swatch-block {
  background: var(--sand);
}

.swatch-name {
  font-weight: 600;
  color: var(--ink);
}

.swatch-use {
  color: var(--ink-mute);
}

.swatch-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.7;
}

/* 阅读问答摘要 */

.qa-list {
  border-top: 1px solid var(--line);
  max-width: var(--narrow);
}

/* 站内说明条 */

.boundary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 8px;
  background: var(--paper-deep);
}

.boundary-text {
  min-width: 0;
  flex: 1 1 420px;
}

.boundary-text h2 {
  font-size: 18px;
}

.boundary-text p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 46em;
}

.boundary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 0 0 auto;
}

.boundary-links a {
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.boundary-links a::after {
  content: " →";
  color: var(--cinnabar);
}

/* ==========================================================================
   pages · 作品档案
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 48px;
  align-items: start;
  padding-top: 36px;
}

.layout-main {
  min-width: 0;
}

.side-index {
  min-width: 260px;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.side-index > h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.side-block {
  margin-bottom: 28px;
}

.side-block h3 {
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.side-note {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 12px;
  line-height: 1.7;
}

.genre-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.genre-index a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--paper);
  min-height: 34px;
}

.genre-index a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.state-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.state-legend li {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
}

.state-legend li strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.side-links ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-links a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  min-height: 32px;
}

.year-axis {
  margin-bottom: 44px;
}

.year-axis h2,
.entry-list h2,
.attribute-table h2 {
  font-size: 22px;
}

.year-axis-track ul {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.year-axis-track li {
  flex: 0 0 auto;
}

.year-cell {
  display: block;
  min-width: 76px;
  text-align: center;
  padding: 10px 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.year-cell:hover,
.year-cell[aria-current="true"] {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-list {
  margin-bottom: 44px;
}

.entry-rows {
  border-top: 1px solid var(--line);
}

.entry-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.entry-thumb {
  width: 56px;
  height: 74px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  flex: 0 0 auto;
}

.entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-body {
  min-width: 0;
}

.entry-body h3 {
  font-size: 17px;
}

.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-mute);
}

.entry-state {
  font-size: 12px;
  white-space: nowrap;
}

.entry-jump {
  font-size: 13px;
  white-space: nowrap;
}

.entry-jump a {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.attribute-table {
  margin-bottom: 12px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.attribute-table table {
  min-width: 640px;
  font-size: 14px;
}

.attribute-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.attribute-table thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--paper-deep);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.attribute-table tbody th {
  text-align: left;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.attribute-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.attribute-table tbody tr:last-child th,
.attribute-table tbody tr:last-child td {
  border-bottom: 0;
}

.attribute-table tbody tr:target {
  background: #F3EDE2;
}

.attribute-table tbody tr:hover {
  background: #FAF7F1;
}

/* ==========================================================================
   pages · 选读专题
   ========================================================================== */

.page-topic-reading .page-head,
.page-topic-reading .center-claim,
.page-topic-reading .length-table,
.page-topic-reading .shortlist,
.page-topic-reading .misreading,
.page-topic-reading .topic-next {
  max-width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
}

.center-claim {
  padding: 8px 0 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.claim-title {
  font-size: 22px;
  margin-bottom: 18px;
}

.claim-quote {
  margin: 0 0 20px;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--cinnabar);
}

.claim-quote p {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
}

.claim-note {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.length-table {
  margin-bottom: 44px;
}

.length-table h2,
.shortlist h2,
.misreading h2,
.topic-next h2 {
  font-size: 22px;
}

.table-figure {
  margin: 0 0 16px;
  max-width: 1000px;
}

.table-figure .table-scroll {
  background: var(--paper);
}

.table-figure table {
  min-width: 600px;
  font-size: 14px;
}

.table-figure caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.table-figure thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  background: var(--paper-deep);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table-figure tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.table-figure tbody th {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table-figure tbody tr:last-child td,
.table-figure tbody tr:last-child th {
  border-bottom: 0;
}

.table-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-mute);
}

.table-after {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 38em;
}

.topic-figure {
  max-width: var(--narrow);
  margin: 0 auto 44px;
}

.topic-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.topic-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-mute);
}

.shortlist {
  margin-bottom: 44px;
}

.shortlist-items {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.shortlist-item {
  border-bottom: 1px solid var(--line);
}

.shortlist-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  color: var(--ink);
}

.shortlist-link:hover .shortlist-name {
  color: var(--cinnabar);
}

.shortlist-thumb {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.shortlist-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shortlist-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
}

.shortlist-meta {
  font-size: 12px;
  color: var(--ink-mute);
}

.shortlist-reason {
  font-size: 14px;
  color: var(--ink-soft);
}

.shortlist-after {
  margin-top: 20px;
  font-size: 14px;
}

.misreading {
  margin-bottom: 44px;
}

.misreading-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  margin-top: 22px;
}

.misreading-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

.misreading-item h3 {
  font-size: 17px;
}

.misreading-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.topic-next {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 24px;
}

.topic-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 14px;
}

.topic-next-links a {
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

/* ==========================================================================
   pages · 入门路线
   ========================================================================== */

.page-start-reading .page-head,
.page-start-reading .route-picker,
.page-start-reading .order-steps,
.page-start-reading .plan-stepper,
.page-start-reading .pitfalls,
.page-start-reading .route-figure,
.page-start-reading .boundary-strip,
.page-start-reading .related-links {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.route-picker {
  padding: 8px 0 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.route-picker h2,
.order-steps h2,
.plan-stepper h2,
.pitfalls h2 {
  font-size: 22px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.route-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  background: var(--paper);
  min-width: 220px;
}

.route-card h3 {
  font-size: 18px;
}

.route-facts {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  font-size: 13px;
}

.route-facts dt {
  color: var(--ink-mute);
  white-space: nowrap;
}

.route-facts dd {
  margin: 0;
  color: var(--ink-soft);
}

.route-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1 1 auto;
}

.route-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  align-self: flex-start;
}

.route-figure {
  margin-bottom: 44px;
}

.route-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.route-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-mute);
}

.order-steps {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.step-list {
  margin-top: 24px;
  border-left: 1px solid var(--line);
  padding-left: 0;
}

.step-item {
  position: relative;
  padding: 0 0 26px 30px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item .step-no {
  position: absolute;
  left: -13px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1;
}

.step-item h3 {
  font-size: 17px;
  padding-top: 2px;
}

.step-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 40em;
}

.plan-stepper {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper-deep);
}

.plan-control {
  min-width: 0;
}

.plan-label {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.stepper-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.stepper-btn:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}

.stepper-btn:disabled {
  color: var(--line-strong);
  cursor: not-allowed;
}

.stepper-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 48px;
  font-family: var(--font-serif);
  font-size: 22px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.stepper-hint {
  margin-top: 14px;
  font-size: 14px;
  color: var(--cinnabar);
  min-height: 24px;
}

.plan-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.7;
}

.plan-guides {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.plan-guide {
  border-left: 2px solid var(--line-strong);
  padding-left: 14px;
}

.plan-guide h3 {
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.plan-guide p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-top: 2px;
}

.pitfalls {
  margin-bottom: 44px;
}

.pitfall-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 36px;
  margin-top: 22px;
}

.pitfall-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

.pitfall-item h3 {
  font-size: 17px;
}

.pitfall-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.page-start-reading .boundary-strip {
  margin-bottom: 32px;
}

.strip-link {
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-bottom: 8px;
}

.related-links-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.related-links-item {
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

/* ==========================================================================
   pages · 阅读问答
   ========================================================================== */

.page-faq .page-head,
.page-faq .faq-group {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-group {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.faq-group:last-of-type {
  border-bottom: 0;
  margin-bottom: 12px;
}

.faq-group-head {
  margin-bottom: 18px;
}

.faq-group-head h2 {
  font-size: 22px;
}

.faq-group-head p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-mute);
}

.faq-figure {
  margin: 0 0 20px;
}

.faq-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.faq-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-mute);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-right: 34px;
}

.faq-question {
  min-width: 0;
}

.faq-indicator {
  display: none;
}

.faq-answer {
  padding: 0 0 18px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 40em;
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-crosslink {
  margin-top: 20px;
  font-size: 14px;
}

.faq-crosslink a {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

/* ==========================================================================
   pages · 站内说明
   ========================================================================== */

.page-guide .page-head,
.page-guide .guide-shell {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.guide-shell > section {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.guide-shell > section:last-child {
  border-bottom: 0;
  margin-bottom: 8px;
}

.guide-shell h2 {
  font-size: 22px;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.scope-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  min-width: 220px;
}

.scope-yes {
  background: var(--paper);
  border-top: 3px solid var(--moss);
}

.scope-no {
  background: var(--paper-deep);
  border-top: 3px solid var(--cinnabar);
}

.scope-col h3 {
  font-size: 17px;
}

.scope-col ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-col li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.scope-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.scope-yes li::before {
  background: var(--moss);
}

.scope-no li::before {
  background: var(--cinnabar);
}

.usage-rules .rule-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.rule-item h3 {
  font-size: 17px;
}

.rule-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 40em;
}

.guide-figure {
  margin: 0 0 24px;
}

.guide-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.guide-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-mute);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.flow-steps li {
  border-top: 2px solid var(--line);
  padding-top: 14px;
  min-width: 0;
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--cinnabar);
  line-height: 1;
  margin-bottom: 8px;
}

.flow-steps h3 {
  font-size: 16px;
}

.flow-steps p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.flow-tail {
  margin-top: 20px;
  font-size: 14px;
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.prep-list li {
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
}

.prep-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.prep-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.7;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.color-cell {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px 14px;
  background: var(--paper);
}

.color-swatch {
  display: block;
  width: 100%;
  height: 46px;
  border-radius: 2px;
  margin-bottom: 10px;
  border: 1px solid rgba(30, 28, 26, 0.1);
}

.color-urban .color-swatch {
  background: var(--cinnabar);
}

.color-mystery .color-swatch {
  background: var(--ink);
}

.color-scifi .color-swatch {
  background: var(--indigo);
}

.color-healing .color-swatch {
  background: var(--moss);
}

.color-sports .color-swatch {
  background: var(--sand);
}

.color-cell h3 {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.color-cell p {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.6;
}

.color-note-tail {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.7;
}

.guide-links {
  padding-top: 4px;
}

.guide-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.guide-link-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
  min-height: 44px;
}

.guide-link-list a:hover {
  border-color: var(--line-strong);
}

.link-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.guide-link-list a:hover .link-title {
  color: var(--cinnabar);
}

.link-desc {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.site-error {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-error .site-main {
  flex: 1 1 auto;
  width: 100%;
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 28px 80px;
}

.error-panel {
  max-width: 640px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  background: var(--paper-deep);
  text-align: left;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: var(--cinnabar);
  letter-spacing: 0.04em;
}

.error-panel h1 {
  font-size: 28px;
  margin-top: 14px;
}

.error-lead {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.error-links a {
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  margin-top: 26px;
  background: var(--cinnabar);
  color: #FFF9F4;
  border-radius: var(--radius);
  font-size: 15px;
}

.error-home:hover {
  background: #9E3621;
  color: #FFF9F4;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .site-header {
    padding: 14px 22px;
  }

  .site-main,
  .inner-main,
  .home-main {
    padding-left: 22px;
    padding-right: 22px;
  }

  .footer-top {
    padding: 44px 22px 34px;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-figure img {
    height: 360px;
  }

  .entry-cell {
    padding: 22px 20px 24px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .side-index {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 32px;
    margin-top: 8px;
  }

  .samples-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
    padding: 12px 18px;
    row-gap: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    flex: 1 1 100%;
    display: block;
    width: 100%;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 8px;
  }

  .site-nav ul.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
    min-height: 48px;
    line-height: 24px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a.is-current {
    border-bottom-color: var(--line);
    border-left: 2px solid var(--cinnabar);
    padding-left: 12px;
  }

  .site-main,
  .inner-main,
  .home-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .inner-main {
    padding-bottom: 56px;
  }

  .page-title {
    font-size: 28px;
    padding-bottom: 18px;
  }

  .page-header {
    margin-bottom: 28px;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .page-head {
    padding-top: 20px;
  }

  .section-head h2 {
    font-size: 21px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-figure img {
    height: 260px;
  }

  .hero-entries {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }

  .entry-cell,
  .entry-cell:first-child,
  .entry-cell:last-child {
    padding: 20px 0;
  }

  .entry-cell + .entry-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .genre-track {
    margin-bottom: 44px;
    gap: 12px;
  }

  .genre-track-label {
    display: none;
  }

  .newly-filed,
  .ranking,
  .reading-path,
  .field-samples,
  .qa-preview {
    padding-bottom: 44px;
    margin-bottom: 44px;
  }

  .filed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .filed-title {
    font-size: 16px;
  }

  .ranking-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 14px 0;
  }

  .rank-no {
    font-size: 22px;
  }

  .rank-reason {
    grid-column: 2;
    font-size: 13px;
  }

  .path-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-step,
  .path-step:first-child,
  .path-step:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .path-step:last-child {
    border-bottom: 0;
  }

  .field-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-card {
    min-width: 0;
  }

  .swatch {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .swatch-block {
    width: 28px;
    height: 18px;
  }

  .swatch-use {
    grid-column: 2;
  }

  .boundary-strip {
    padding: 20px;
    gap: 18px;
  }

  .boundary-links {
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 36px 18px 28px;
    gap: 26px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-divider {
    margin: 0 18px;
  }

  .footer-bottom {
    padding: 16px 18px 24px;
  }

  /* 档案页 */

  .page-layout {
    padding-top: 24px;
  }

  .year-axis h2,
  .entry-list h2,
  .attribute-table h2 {
    font-size: 20px;
  }

  .entry-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 14px 0;
  }

  .entry-thumb {
    grid-row: span 3;
    align-self: start;
  }

  .entry-state {
    grid-column: 2;
  }

  .entry-jump {
    grid-column: 2;
  }

  .attribute-table table {
    min-width: 0;
    font-size: 13px;
  }

  .attribute-table thead {
    display: none;
  }

  .attribute-table tbody tr {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
  }

  .attribute-table tbody tr:last-child {
    border-bottom: 0;
  }

  .attribute-table tbody th {
    display: block;
    border-bottom: 0;
    padding: 0 0 6px;
    font-size: 15px;
    white-space: normal;
  }

  .attribute-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px dotted var(--line);
    padding: 7px 0;
    font-size: 13px;
  }

  .attribute-table tbody td::before {
    content: attr(data-label);
    color: var(--ink-mute);
    flex: 0 0 auto;
  }

  .attribute-table tbody td:last-child {
    border-bottom: 0;
  }

  /* 专题页 */

  .claim-quote {
    padding-left: 18px;
  }

  .claim-quote p {
    font-size: 19px;
  }

  .topic-figure img {
    height: 220px;
  }

  .misreading-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  /* 入门路线 */

  .route-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .route-card {
    min-width: 0;
  }

  .route-figure img {
    height: 200px;
  }

  .plan-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 22px;
  }

  .pitfall-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* 问答 */

  .faq-group {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .faq-group-head h2 {
    font-size: 20px;
  }

  .faq-figure img {
    height: 190px;
  }

  .faq-item summary {
    font-size: 15px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  /* 站内说明 */

  .guide-shell h2 {
    font-size: 20px;
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .scope-col {
    min-width: 0;
    padding: 18px;
  }

  .guide-figure img {
    height: 200px;
  }

  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .color-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .guide-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 404 */

  .error-main {
    padding: 44px 18px 56px;
  }

  .error-panel {
    padding: 30px 22px;
  }

  .error-code {
    font-size: 44px;
  }

  .error-panel h1 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: 25px;
  }

  .filed-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .filed-cover {
    aspect-ratio: 4 / 3;
  }

  .filed-cover img {
    object-position: center top;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .color-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stepper-btn {
    width: 44px;
    height: 44px;
  }

  .stepper-value {
    height: 44px;
    min-width: 56px;
    font-size: 20px;
  }

  .shortlist-link {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .shortlist-thumb {
    width: 52px;
    height: 70px;
  }

  .error-code {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
