/* ============================================================
   BASE
   ============================================================ */
:root {
  --paper: #F7F5F0;
  --ink: #1F2A44;
  --accent: #FF7A59;
  --green: #2AA876;
  --line: #E5E1D8;
  --white: #FFFFFF;
  --ink-soft: #4A5568;
  --ink-muted: #718096;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --container: 1200px;
  --nav-h: 64px;
  --shadow-sm: 0 1px 2px rgba(31, 42, 68, 0.06);
  --shadow-md: 0 4px 12px rgba(31, 42, 68, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

p {
  color: var(--ink-soft);
}

time {
  font-variant-numeric: tabular-nums;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   LAYOUT — 全站统一骨架
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0;
}

.brand-name::first-letter {
  color: var(--accent);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}

.site-nav .nav-list a:hover {
  color: var(--ink);
  background: var(--paper);
}

.site-nav .nav-list a.is-current {
  color: var(--accent);
  background: rgba(255, 122, 89, 0.08);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   LAYOUT — Main 与页脚
   ============================================================ */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.site-footer {
  flex-shrink: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.footer-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================================================
   LAYOUT — 内页公共组件
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--ink-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
  font-weight: 700;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

.page-header {
  padding: 32px 0 40px;
  max-width: 760px;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-description {
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

.section-title {
  font-size: 1.375rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

/* ============================================================
   COMPONENTS — 首页首屏
   ============================================================ */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-copy h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  min-height: 44px;
}

.cta-primary {
  background: var(--accent);
  color: var(--white);
}

.cta-primary:hover {
  background: #E96A4A;
  color: var(--white);
}

.cta-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-date-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.date-weekday {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.date-day {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin: 8px 0 4px;
}

.date-month {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.date-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 168, 118, 0.1);
  color: var(--green);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.content-media-primary {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.content-media-primary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-media-primary figcaption {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ============================================================
   COMPONENTS — 通用区块与卡片
   ============================================================ */
.section-block {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 1.5rem;
}

.section-more {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.section-more:hover {
  color: #E96A4A;
}

/* 首页推荐卡 — 日期角标封面卡 */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recommend-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.recommend-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.recommend-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.recommend-card .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 0;
}

.recommend-card .tag {
  display: inline-block;
  background: rgba(255, 122, 89, 0.1);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.recommend-card .date-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.recommend-card h3 {
  padding: 12px 16px 4px;
  font-size: 1.0625rem;
}

.recommend-card p {
  padding: 0 16px 16px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ============================================================
   COMPONENTS — 首页日程条
   ============================================================ */
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.day-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.day-cell:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.day-cell .day-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.day-cell .day-date {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.day-cell .day-state {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.day-cell.is-today {
  border-color: var(--accent);
  background: rgba(255, 122, 89, 0.04);
}

.day-cell.is-today .day-name {
  color: var(--accent);
}

.day-cell .today-label {
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   COMPONENTS — 首页题材速览
   ============================================================ */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.genre-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.genre-item:hover {
  box-shadow: var(--shadow-md);
}

.genre-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.genre-item h3 {
  padding: 16px 16px 4px;
  font-size: 1.0625rem;
}

.genre-item p {
  padding: 0 16px 16px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ============================================================
   COMPONENTS — 问答手风琴
   ============================================================ */
.qa-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qa-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.qa-item[open] summary::after {
  transform: rotate(45deg);
}

.qa-item p {
  padding: 0 20px 16px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ============================================================
   COMPONENTS — 首页阅读指南
   ============================================================ */
.reading-guide {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 48px 0;
}

.reading-guide h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-step {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  font-size: 0.9375rem;
}

.guide-step h3 {
  font-size: 1.0625rem;
}

.guide-step p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  flex: 1;
}

.guide-step a {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ============================================================
   COMPONENTS — 相关链接
   ============================================================ */
.related-links {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
}

.related-links-item {
  font-size: 0.9375rem;
  color: var(--accent);
  font-weight: 500;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   PAGES — 每日推荐页
   ============================================================ */
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.recommend-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.group-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.group-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.group-judge {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.group-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.group-cards .recommend-card {
  display: flex;
  flex-direction: column;
}

.card-figure {
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  margin: 12px 16px 0;
  background: rgba(255, 122, 89, 0.1);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.card-date {
  display: inline-block;
  align-self: flex-start;
  margin: 6px 16px 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.card-reason {
  padding: 8px 16px 16px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  flex: 1;
}

.recommend-note {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.recommend-note .section-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.recommend-note p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.recommend-note a {
  color: var(--accent);
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.related-item h3 {
  font-size: 1.0625rem;
}

.related-item p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ============================================================
   PAGES — 题材分类页
   ============================================================ */
.genre-grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.genre-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: box-shadow 0.25s ease;
}

.genre-card:hover {
  box-shadow: var(--shadow-md);
}

.genre-media {
  overflow: hidden;
}

.genre-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.genre-card h3.genre-name {
  font-size: 1.25rem;
  padding: 20px 20px 6px;
}

.genre-judge {
  padding: 0 20px 12px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 20px;
}

.genre-tags li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding: 4px 12px;
}

.related-intro {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.related-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-link-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-link-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.related-link-title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
}

.related-link-desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ============================================================
   PAGES — 更新日程页
   ============================================================ */
.week-overview {
  margin-bottom: 40px;
}

.week-overview .week-strip {
  margin-bottom: 16px;
}

.day-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.day-pill:hover {
  border-color: var(--accent);
}

.day-pill .day-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.day-pill .day-date {
  font-size: 0.9375rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.day-pill .day-status {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.day-pill.is-today {
  border-color: var(--accent);
  background: rgba(255, 122, 89, 0.06);
}

.day-pill.is-today .day-name {
  color: var(--accent);
}

.day-pill.is-updated .day-status {
  color: var(--green);
  font-weight: 700;
}

.day-pill.is-upcoming .day-status {
  color: var(--ink-muted);
}

.overview-note {
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-align: center;
}

.schedule-table-section {
  margin-bottom: 40px;
}

.table-wrapper {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.schedule-table {
  min-width: 760px;
}

.schedule-table th {
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  vertical-align: middle;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover td {
  background: rgba(247, 245, 240, 0.4);
}

.table-cover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
}

.table-cover img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.status-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-badge.is-updated {
  background: rgba(42, 168, 118, 0.1);
  color: var(--green);
}

.status-badge.is-upcoming {
  background: rgba(255, 122, 89, 0.1);
  color: var(--accent);
}

.table-footnote {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 12px;
  text-align: right;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.note-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-card h3 {
  font-size: 1.0625rem;
  color: var(--ink);
}

.note-card p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.related-pair {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.related-title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
}

.related-desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ============================================================
   PAGES — 漫迷问答页
   ============================================================ */
.qa-layout {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
  align-items: start;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.qa-category {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.qa-category h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.content-media-inline {
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content-media-inline img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.content-media-inline figcaption {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  padding: 6px 12px;
  background: var(--paper);
}

.qa-category .qa-item {
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.qa-category .qa-item:last-child {
  border-bottom: none;
}

.qa-content {
  padding: 0 20px 16px;
}

.qa-content p {
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.qa-content p:last-child {
  margin-bottom: 0;
}

.qa-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.sidebar-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sidebar-block h2 {
  font-size: 1.0625rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sidebar-links li {
  margin-bottom: 4px;
}

.sidebar-links a {
  display: block;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.sidebar-links a:hover {
  color: var(--accent);
  background: rgba(255, 122, 89, 0.04);
  padding-left: 8px;
}

.unanswered-entry {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* ============================================================
   PAGES — 阅读说明页
   ============================================================ */
.column-guide {
  margin-bottom: 40px;
}

.column-guide .section-desc,
.path-example .section-desc,
.quick-reference .section-desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
}

.guide-item h3 {
  font-size: 1.0625rem;
  color: var(--ink);
}

.guide-item p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.path-example {
  margin-bottom: 40px;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.path-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path-item h3 {
  font-size: 1.0625rem;
}

.path-item p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  flex: 1;
}

.path-item a {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
}

.quick-reference {
  margin-bottom: 32px;
}

.table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.ref-table {
  min-width: 600px;
}

.ref-table th {
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--line);
}

.ref-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.ref-table tr:last-child td {
  border-bottom: none;
}

.reading-scene {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
}

.reading-scene img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.reading-scene figcaption {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: none;
}

/* ============================================================
   PAGES — 版权与反馈页
   ============================================================ */
.boundary-list {
  margin-bottom: 40px;
}

.boundary-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.boundary-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boundary-item h3 {
  font-size: 1.0625rem;
}

.boundary-item p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.feedback-flow {
  margin-bottom: 40px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: flow;
}

.flow-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.unresolved-note {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.unresolved-note h2 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.unresolved-note p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.unresolved-note a {
  color: var(--accent);
  font-weight: 700;
}

.note-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}

.note-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.note-figure figcaption {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  padding: 6px 12px;
  background: var(--white);
}

.related-links p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.related-links a {
  color: var(--accent);
  font-weight: 700;
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ============================================================
   PAGES — 404
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-section {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.error-section h1 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.error-desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  min-height: 44px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #E96A4A;
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE — 平板与手机
   ============================================================ */
@media (max-width: 1024px) {
  .genre-card {
    grid-template-columns: 180px 1fr;
  }

  .hero-section {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-shell {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .home-main,
  .inner-main {
    padding: 0 16px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding: 32px 0 40px;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-date-card {
    max-width: 100%;
  }

  .content-media-primary img {
    height: 160px;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .recommend-card img {
    height: 200px;
  }

  .week-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .day-cell {
    padding: 12px 8px;
  }

  .genre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .genre-item img {
    height: 120px;
  }

  .guide-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .reading-guide {
    padding: 24px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 16px 16px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-header {
    padding: 24px 0 28px;
  }

  .page-title {
    font-size: 1.625rem;
  }

  .group-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-figure img {
    height: 200px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .genre-grid-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .genre-card {
    grid-template-columns: 1fr;
  }

  .genre-media img {
    height: 180px;
    min-height: 0;
  }

  .related-link-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .week-overview .week-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .day-pill {
    flex-direction: column;
    gap: 2px;
    padding: 10px 8px;
  }

  .note-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .qa-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .qa-sidebar {
    order: 2;
  }

  .qa-list {
    order: 1;
  }

  .path-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .boundary-items {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .week-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .week-overview .week-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
