:root {
  --ink: #1f3a5f;
  --ink-strong: #162c49;
  --ink-soft: #35547d;
  --page-bg: #f5f6f8;
  --card-bg: #ffffff;
  --text: #2b2f36;
  --text-muted: #6b7280;
  --line: #dfe3e9;
  --line-strong: #c6ccd6;
  --status-ongoing: #2f7d5c;
  --status-finished: #5a6472;
  --status-upcoming: #b07a2a;
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1120px;
  --shadow-card: 0 1px 2px rgba(22, 44, 73, 0.06);
  --shadow-lift: 0 6px 16px rgba(22, 44, 73, 0.12);
}

/* ============================================================
   base
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--page-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--ink-strong);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink-soft);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

/* ============================================================
   layout
   ============================================================ */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main,
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.inner-main {
  padding-top: 20px;
}

/* ============================================================
   站头与主导航
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink-strong);
  font-weight: 700;
}

.site-brand:hover,
.site-brand:focus-visible {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px 9px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
}

.brand-name {
  font-size: 17px;
  line-height: 1.2;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > a:focus-visible {
  background-color: var(--page-bg);
  color: var(--ink-strong);
  text-decoration: none;
}

.nav-item.is-current > a {
  color: var(--ink-strong);
  font-weight: 700;
  background-color: #eef2f7;
}

.nav-item.has-sub > a {
  padding-right: 8px;
}

.sub-toggle {
  width: 26px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.sub-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -4px 0 0 -4px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

.nav-item.has-sub.is-open .sub-toggle::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.sub-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  padding: 6px;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  display: none;
}

.nav-item.has-sub.is-open .sub-list {
  display: block;
}

.sub-list li a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}

.sub-list li a:hover,
.sub-list li a:focus-visible {
  background-color: var(--page-bg);
  color: var(--ink-strong);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--card-bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--ink-strong);
}

/* ============================================================
   内页骨架：面包屑 / 标题区
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--ink-strong);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-strong);
  font-weight: 700;
}

.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 860px;
}

.page-description a {
  color: var(--ink);
  text-decoration: underline;
}

.page-media {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
}

.page-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.page-media figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

/* ============================================================
   通用 section 头部
   ============================================================ */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 22px;
}

.section-head p {
  font-size: 14px;
  color: var(--text-muted);
}

.section-head p a {
  color: var(--ink);
  text-decoration: underline;
}

.section-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.section-intro,
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 900px;
  margin-bottom: 20px;
}

.subsection-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.section-media {
  margin: 24px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
}

.section-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.section-media figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

/* ============================================================
   状态标签
   ============================================================ */

.status,
.status-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid currentColor;
}

.status-ongoing,
.status-tag.status-ongoing {
  color: var(--status-ongoing);
}

.status-finished,
.status-done,
.status-tag.status-finished {
  color: var(--status-finished);
}

.status-soon,
.status-upcoming,
.status-tag.status-upcoming {
  color: var(--status-upcoming);
}

/* ============================================================
   components：按钮
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--ink-strong);
  border-color: var(--ink-strong);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background-color: var(--card-bg);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ink);
  background-color: #eef2f7;
  text-decoration: none;
}

/* ============================================================
   components：FAQ 折叠
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-strong);
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--ink);
}

.faq-answer {
  padding: 0 0 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   pages：首页
   ============================================================ */

.hero-section {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--ink);
  background-color: #eef2f7;
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 28px;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.hero-facts li {
  font-size: 14px;
  color: var(--text-muted);
  min-width: 0;
}

.hero-facts strong {
  display: block;
  font-size: 15px;
  color: var(--ink-strong);
  margin-bottom: 2px;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--page-bg);
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
  background-color: var(--card-bg);
  border-top: 1px solid var(--line);
}

.genre-overview {
  margin-bottom: 40px;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.genre-card {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.genre-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.genre-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.genre-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.genre-titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.genre-titles li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.genre-titles li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.title-name {
  min-width: 0;
  color: var(--text);
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
}

.card-link::after {
  content: " →";
  font-weight: 400;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--ink-strong);
}

.year-index {
  margin-bottom: 40px;
}

.year-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.year-column {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.year-column h3 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.record-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.record-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.record-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.record-date {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.record-name {
  color: var(--ink-strong);
  font-weight: 700;
  min-width: 0;
}

.record-eps {
  color: var(--text-muted);
  white-space: nowrap;
}

.guide-points {
  margin-bottom: 40px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: guide-step;
}

.guide-step {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
  position: relative;
  counter-increment: guide-step;
}

.guide-step::before {
  content: counter(guide-step, decimal-leading-zero);
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.guide-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-step p {
  font-size: 15px;
  color: var(--text);
}

.faq-preview {
  margin-bottom: 8px;
}

/* ============================================================
   pages：题材分类
   ============================================================ */

.genre-section {
  margin-bottom: 40px;
}

.genre-section .genre-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.genre-section .genre-card {
  padding: 0;
  overflow: hidden;
}

.genre-media {
  margin: 0;
  background-color: var(--page-bg);
}

.genre-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.genre-name {
  font-size: 18px;
  margin: 16px 18px 8px;
}

.genre-scope {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 18px 14px;
}

.genre-entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 18px 14px;
}

.genre-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.genre-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.entry-name {
  color: var(--ink-strong);
  font-weight: 700;
  font-size: 15px;
  min-width: 0;
}

.entry-meta {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-muted);
}

.genre-more {
  display: block;
  margin: 0 18px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.genre-more::after {
  content: " →";
  font-weight: 400;
}

.genre-advice {
  margin-bottom: 8px;
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.advice-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.advice-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.advice-item p {
  font-size: 15px;
}

/* ============================================================
   pages：更新记录
   ============================================================ */

.updates-index {
  margin-bottom: 36px;
}

.year-anchor-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.year-anchor-item {
  min-width: 0;
}

.year-anchor-item a {
  display: block;
  padding: 14px 16px;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.year-anchor-item a:hover,
.year-anchor-item a:focus-visible {
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.year-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-strong);
}

.year-meta {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.updates-log {
  margin-bottom: 36px;
}

.log-year {
  margin-bottom: 26px;
}

.log-year-title {
  font-size: 18px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.log-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.log-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.log-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.log-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-strong);
}

.log-genre {
  font-size: 13px;
  color: var(--ink);
  background-color: #eef2f7;
  border-radius: var(--radius-sm);
  padding: 1px 8px;
}

.log-detail {
  font-size: 14px;
  color: var(--text-muted);
}

.status-note {
  margin-bottom: 8px;
}

.status-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.status-legend-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.status-legend-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.status-howto {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.howto-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: howto;
}

.howto-item {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  counter-increment: howto;
}

.howto-item::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #eef2f7;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
}

/* ============================================================
   pages：追剧指南
   ============================================================ */

.page-layout {
  display: block;
}

.layout-main {
  min-width: 0;
}

.guide-section {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding-left: 38px;
  counter-increment: step;
  min-width: 0;
}

.step-item::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 26px;
}

.step-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 15px;
}

.section-figure {
  margin: 20px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.section-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.section-figure figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
  background-color: var(--page-bg);
  border-top: 1px solid var(--line);
}

.entry-sample {
  background-color: var(--page-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.entry-sample-head {
  margin-bottom: 12px;
}

.entry-sample-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.entry-sample-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.entry-fields {
  margin: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 14px;
  font-size: 14px;
}

.entry-fields dt {
  color: var(--text-muted);
}

.entry-fields dd {
  margin: 0;
  color: var(--text);
  min-width: 0;
}

.reading-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reading-tips li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
}

.reading-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ink-soft);
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.order-item {
  border-left: 3px solid var(--ink);
  padding-left: 14px;
  min-width: 0;
}

.order-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.order-item p {
  font-size: 15px;
}

.guide-callout {
  background-color: #eef2f7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.callout-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.guide-callout p {
  font-size: 15px;
}

.guide-callout a {
  text-decoration: underline;
}

/* ============================================================
   pages：常见问题
   ============================================================ */

.faq-group {
  margin-bottom: 32px;
}

.feedback-section {
  margin-bottom: 8px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.feedback-card {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.feedback-card-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
}

.feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ink-soft);
}

.feedback-note {
  font-size: 15px;
  color: var(--text-muted);
}

.feedback-note a {
  color: var(--ink);
  text-decoration: underline;
}

/* ============================================================
   pages：404
   ============================================================ */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 20px 72px;
  width: 100%;
}

.error-panel {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 720px;
}

.error-code {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background-color: var(--ink);
  color: #fff;
  font-size: 15px;
}

.error-btn:hover,
.error-btn:focus-visible {
  background-color: var(--ink-strong);
  border-color: var(--ink-strong);
  color: #fff;
  text-decoration: none;
}

.error-btn-plain {
  background-color: var(--card-bg);
  color: var(--ink);
  border-color: var(--line-strong);
}

.error-btn-plain:hover,
.error-btn-plain:focus-visible {
  background-color: #eef2f7;
  border-color: var(--ink);
  color: var(--ink-strong);
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  background-color: var(--ink-strong);
  color: #cfd8e3;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 20px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.footer-slogan {
  font-size: 14px;
  color: #9fb0c6;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  color: #9fb0c6;
}

.footer-col-title {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #cfd8e3;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-boundary p {
  font-size: 14px;
  color: #9fb0c6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 13px;
  color: #9fb0c6;
}

/* ============================================================
   滚动出现增强（不影响初始可见性）
   ============================================================ */

@keyframes rise-in {
  from {
    transform: translateY(6px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .genre-card,
  .guide-step,
  .advice-item,
  .feedback-card,
  .log-item {
    animation: rise-in 0.32s ease-out both;
  }
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media img {
    height: 260px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .genre-section .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advice-list,
  .feedback-grid,
  .guide-steps,
  .status-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .year-anchor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 58px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-item > a {
    display: flex;
    min-height: 48px;
    padding: 0 4px;
    font-size: 16px;
    border-radius: 0;
  }

  .nav-item.has-sub > a {
    padding-right: 44px;
  }

  .sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 48px;
  }

  .sub-list {
    position: static;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    background-color: transparent;
  }

  .sub-list li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  .home-main,
  .inner-main {
    padding: 20px 16px 44px;
  }

  .page-title,
  .hero-title,
  .error-panel h1 {
    font-size: 22px;
  }

  .section-title,
  .section-head h2 {
    font-size: 20px;
  }

  .hero-section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hero-media img {
    height: 200px;
  }

  .genre-grid,
  .genre-section .genre-grid,
  .year-columns,
  .guide-steps,
  .advice-list,
  .feedback-grid,
  .status-legend,
  .year-anchor-list,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-overview,
  .year-index,
  .guide-points {
    margin-bottom: 30px;
  }

  .record-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .record-eps {
    grid-column: 2 / -1;
  }

  .page-media img,
  .section-media img,
  .section-figure img {
    height: 190px;
  }

  .genre-media img {
    height: 170px;
  }

  .guide-section {
    padding: 18px;
  }

  .entry-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .entry-fields dt {
    font-weight: 700;
    color: var(--ink-strong);
    margin-top: 6px;
  }

  .error-main {
    padding: 32px 16px 48px;
  }

  .error-panel {
    padding: 26px 20px;
  }

  .error-code {
    font-size: 32px;
  }

  .footer-inner {
    padding: 28px 16px 20px;
    gap: 22px;
  }

  .footer-bottom p {
    padding: 14px 16px;
  }
}

@media (max-width: 390px) {
  .hero-actions .btn,
  .error-btn {
    width: 100%;
  }

  .log-main {
    gap: 6px;
  }
}
