/* ============================================================
   BASE
   ============================================================ */
:root {
  --ink: #1a1a1a;
  --paper: #ffffff;
  --paper-light: #f5f5f5;
  --gray: #666666;
  --red: #b00000;
  --line: #e0e0e0;
  --line-strong: #b5b5b5;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1200px;
  --content-width: 760px;
  --radius: 6px;
  --space-section: 56px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--red);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

h4 {
  font-size: 1rem;
}

p {
  margin-bottom: 0.75rem;
}

details summary {
  cursor: pointer;
}

/* 数字与编号使用等宽数字 */
.rank-num,
.pick-number,
.step-number,
.error-code,
.timeline-period {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ============================================================
   LAYOUT
   ============================================================ */
.site-main {
  flex: 1 0 auto;
}

.inner-main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* 正文可读宽度 */
.inner-main .page-header,
.inner-main section {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

/* 相关入口条允许稍宽 */
.inner-main .related-links,
.inner-main .section-related-links,
.inner-main .related-entry {
  max-width: var(--container);
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* ---------- 页头 / 导航 ---------- */
.site-header {
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}

.masthead {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.brand-name::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  margin-right: 2px;
  vertical-align: baseline;
}

.brand-tagline {
  font-size: 0.875rem;
  color: var(--gray);
  white-space: nowrap;
}

.site-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
}

.nav-list li {
  margin-right: 4px;
}

.nav-list a {
  display: block;
  padding: 12px 16px 10px;
  font-size: 0.9375rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  color: var(--ink);
}

.nav-list a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-list a.is-current {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle:hover {
  border-color: var(--red);
  color: var(--red);
}

.nav-toggle-icon {
  display: inline-block;
  width: 18px;
  height: 14px;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after,
.nav-toggle-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before {
  top: 0;
}

.nav-toggle-icon span {
  top: 6px;
}

.nav-toggle-icon::after {
  top: 12px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 0.875rem;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--red);
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 页面标题区（内页统一） ---------- */
.page-header {
  padding: 36px 0 28px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 40px;
}

.page-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-description {
  font-size: 1rem;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 0;
}

/* ---------- 首页：极简文字首屏 ---------- */
.hero-text {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px 40px;
  border-bottom: 2px solid var(--ink);
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  max-width: 800px;
  margin-bottom: 16px;
}

.hero-deck {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 24px;
}

.hero-next {
  font-size: 0.9375rem;
}

.hero-next a {
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

.hero-next a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hero-next span {
  color: var(--line-strong);
  margin: 0 10px;
}

/* ---------- 首页：区块标题 ---------- */
.section-title {
  font-size: 1.375rem;
  font-weight: 900;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--red);
}

/* ---------- 首页：头版焦点区 ---------- */
.headline-focus {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 16px;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

.focus-lead {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.focus-lead img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.focus-lead figcaption {
  padding: 20px 24px 24px;
}

.focus-lead figcaption h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.focus-lead figcaption p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 0;
}

.focus-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.focus-item:last-child {
  border-bottom: none;
}

.focus-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.focus-item h3::before {
  content: "◆";
  color: var(--red);
  font-size: 0.75rem;
  margin-right: 8px;
  vertical-align: 1px;
}

.focus-item p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 4px;
}

/* ---------- 首页：频道分类版面索引 ---------- */
.channel-index {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 16px;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
}

.channel-entry {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.channel-entry:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.channel-entry:nth-child(even) {
  padding-left: 24px;
}

.channel-entry h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.channel-entry h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--red);
  margin-right: 8px;
  vertical-align: -2px;
}

.channel-entry p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

.channel-entry a {
  font-size: 0.875rem;
  color: var(--red);
  white-space: nowrap;
  font-weight: 600;
}

.channel-entry a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- 首页：双栏（新番快讯 + 热门推荐） ---------- */
.two-column-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.timeline-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 16px;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.timeline-list li:first-child {
  padding-top: 0;
}

.timeline-list li:first-child::before {
  top: 8px;
}

.stage-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 3px;
  padding: 1px 8px;
  margin-bottom: 6px;
}

.timeline-list h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.timeline-list p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

.rank-list {
  counter-reset: rank;
}

.rank-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: baseline;
}

.rank-list li:first-child {
  padding-top: 0;
}

.rank-num {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1.2;
}

.rank-list h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.rank-list p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

.more-link {
  margin-top: 18px;
  text-align: right;
}

.more-link a {
  font-size: 0.875rem;
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

.more-link a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- 首页：剧情专栏入口 ---------- */
.story-entry {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 16px;
}

.story-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.story-card h3 {
  padding: 16px 20px 6px;
  font-size: 1.125rem;
}

.story-card > p {
  padding: 0 20px;
  font-size: 0.875rem;
  color: var(--gray);
}

.spoiler-tag {
  display: inline-block;
  margin: 8px 20px 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 1px 8px;
  align-self: flex-start;
}

.story-card > p:last-child {
  padding: 8px 20px 16px;
  margin-top: auto;
}

.story-card > p:last-child a {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
}

.story-card > p:last-child a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- 首页：实用信息条 ---------- */
.utility-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 16px;
}

.guide-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.guide-preview h3,
.faq-preview h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.steps-list {
  margin-bottom: 16px;
}

.steps-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9375rem;
}

.steps-list li span {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--red);
  font-size: 1.125rem;
  min-width: 24px;
}

.faq-preview details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.faq-preview summary {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 4px 0;
  position: relative;
  padding-right: 24px;
}

.faq-preview summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 4px;
  font-size: 1.125rem;
  color: var(--red);
}

.faq-preview details[open] summary::after {
  content: "−";
}

.faq-preview details p {
  font-size: 0.875rem;
  color: var(--gray);
  padding-top: 8px;
}

.guide-preview > p,
.faq-preview > p {
  margin-top: 16px;
}

.guide-preview > p a,
.faq-preview > p a {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
}

.guide-preview > p a:hover,
.faq-preview > p a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- 首页：相关入口条 ---------- */
.related-links {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 18px;
  background: var(--paper-light);
}

.related-links a:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--paper);
}

/* ---------- 内页：频道分类页 ---------- */
.channels-overview {
  margin-bottom: 48px;
}

.channels-overview h2,
.channel-comparison h2,
.featured-playlists h2 {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
}

.channels-overview .channel-list {
  grid-template-columns: 1fr;
  border-top: none;
}

.channels-overview .channel-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.channel-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.channel-media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.channel-content h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.channel-content h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--red);
  margin-right: 8px;
  vertical-align: -2px;
}

.channel-content p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.channel-content a {
  font-size: 0.875rem;
  color: var(--red);
  font-weight: 600;
}

.channel-content a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* 频道对比表 */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.channel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.channel-table th,
.channel-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.channel-table thead th {
  background: var(--paper-light);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.9375rem;
}

.channel-table tbody tr:last-child td {
  border-bottom: none;
}

/* 代表片单入口 */
.playlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.playlist-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper-light);
}

.playlist-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.playlist-card h3::before {
  content: "◆";
  color: var(--red);
  font-size: 0.75rem;
  margin-right: 8px;
  vertical-align: 1px;
}

.playlist-card p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.playlist-card a {
  font-size: 0.875rem;
  color: var(--red);
  font-weight: 600;
}

.playlist-card a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* 内页相关入口条 */
.related-links h2,
.section-related-links h2,
.related-entry h2,
.related-links-title {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
}

.related-links ul,
.related-link-list,
.entry-link-list,
.related-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links ul li a,
.related-link-list a,
.entry-link-list a,
.related-link-list a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 18px;
  background: var(--paper-light);
}

.related-links ul li a:hover,
.related-link-list a:hover,
.entry-link-list a:hover,
.related-link-list a:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--paper);
}

/* ---------- 内页：作品大全 ---------- */
.tag-index,
.works-archive,
.related-entry {
  margin-bottom: 48px;
}

.tag-index h2,
.works-archive h2,
.related-entry h2 {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li a {
  display: inline-block;
  font-size: 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 6px 16px;
  background: var(--paper-light);
  color: var(--ink);
}

.tag-list li a:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--paper);
}

.archive-group {
  margin-bottom: 36px;
}

.archive-group h3 {
  font-size: 1.125rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 16px;
}

.archive-group h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--red);
  margin-right: 8px;
  vertical-align: -2px;
}

.work-item-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.work-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}

.work-item img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 4px;
}

.work-info .work-name {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.work-info .work-tags {
  font-size: 0.8125rem;
  color: var(--red);
  margin-bottom: 2px;
}

.work-info .work-alias {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ---------- 内页：新番更新 ---------- */
.section-status-legend,
.section-update-timeline,
.section-related-links {
  margin-bottom: 48px;
}

.section-status-legend h2,
.section-update-timeline h2,
.section-related-links h2 {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.status-legend-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.status-item p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  padding: 2px 10px;
  white-space: nowrap;
}

.status-airing {
  color: var(--red);
  border: 1px solid var(--red);
  background: var(--paper);
}

.status-sequel {
  color: #1a5a8a;
  border: 1px solid #1a5a8a;
  background: var(--paper);
}

.status-ended {
  color: var(--gray);
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.timeline-list {
  border-left: 2px solid var(--line-strong);
  margin-left: 8px;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 0 20px 24px;
  position: relative;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--paper);
}

.timeline-figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.timeline-period {
  font-size: 0.8125rem;
  color: var(--gray);
}

.timeline-content h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 6px;
}

.timeline-link a {
  font-size: 0.875rem;
  color: var(--red);
  font-weight: 600;
}

.timeline-link a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- 内页：热门推荐 ---------- */
.editor-note {
  margin-bottom: 36px;
}

.editor-note p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--gray);
  border-left: 3px solid var(--red);
  padding: 12px 20px;
  background: var(--paper-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.editor-picks,
.archive-picks {
  margin-bottom: 48px;
}

.picks-list {
  display: grid;
  gap: 24px;
}

.pick-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.pick-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.pick-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.pick-content {
  position: relative;
}

.pick-number {
  position: absolute;
  top: -8px;
  right: 0;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--line-strong);
  line-height: 1;
}

.pick-content h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  padding-right: 48px;
}

.pick-tags {
  font-size: 0.8125rem;
  color: var(--red);
  margin-bottom: 8px;
}

.pick-reason,
.pick-audience,
.pick-order {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 6px;
}

.pick-reason strong,
.pick-audience strong,
.pick-order strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 4px;
}

.archive-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.archive-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.archive-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.archive-item h3 a {
  color: var(--ink);
}

.archive-item h3 a:hover {
  color: var(--red);
  text-decoration: underline;
}

.archive-item p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ---------- 内页：剧情介绍 ---------- */
.story-list,
.spoiler-guide {
  margin-bottom: 48px;
}

.story-list h2,
.spoiler-guide h2 {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}

.story-list .story-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.story-card-media {
  overflow: hidden;
}

.story-card-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.story-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.story-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.story-tag {
  font-size: 0.8125rem;
  color: var(--red);
  margin-bottom: 10px;
}

.story-summary {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.spoiler-level {
  margin-top: auto;
}

.spoiler-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  padding: 2px 10px;
  border: 1px solid var(--line-strong);
  color: var(--gray);
  background: var(--paper-light);
}

.spoiler-rule-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spoiler-rule {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.spoiler-rule h3 {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  color: var(--red);
}

.spoiler-rule p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ---------- 内页：观看指南 ---------- */
.section-path-overview,
.section-steps-detail,
.section-entry-check,
.section-faq-entry {
  margin-bottom: 48px;
}

.section-path-overview h2,
.section-steps-detail h2,
.section-entry-check h2,
.section-faq-entry h2 {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}

.section-path-overview > p,
.section-steps-detail > p,
.section-entry-check > p,
.section-faq-entry > p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.path-step-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  text-align: center;
}

.step-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 8px;
}

.path-step-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.path-step-item p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

.step-article {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.step-article:first-of-type {
  padding-top: 0;
}

.step-article:last-child {
  border-bottom: none;
}

.step-text h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.step-text h3::before {
  content: "STEP ";
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 900;
  margin-right: 6px;
  vertical-align: 1px;
}

.step-text p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 6px;
}

.step-text p a {
  color: var(--red);
  font-weight: 600;
}

.step-text p a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.step-figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.step-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.step-figure figcaption {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  padding: 6px 0 0;
}

.section-entry-check ul {
  margin-bottom: 16px;
}

.section-entry-check ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.section-entry-check ul li strong {
  color: var(--red);
  margin-right: 8px;
}

.section-entry-check > p:last-child a {
  color: var(--red);
  font-weight: 600;
}

.section-entry-check > p:last-child a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.section-faq-entry > p a {
  color: var(--red);
  font-weight: 600;
}

.section-faq-entry > p a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- 内页：常见问题 ---------- */
.faq-section,
.feedback-section {
  margin-bottom: 48px;
}

.faq-section > h2,
.feedback-section > h2 {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group h3 {
  font-size: 1.0625rem;
  margin-bottom: 12px;
  color: var(--red);
}

.faq-group details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-group summary {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 4px 28px 4px 0;
  position: relative;
  cursor: pointer;
}

.faq-group summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 4px;
  font-size: 1.125rem;
  color: var(--red);
}

.faq-group details[open] summary::after {
  content: "−";
}

.faq-group details p {
  font-size: 0.875rem;
  color: var(--gray);
  padding-top: 10px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}

.feedback-figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.feedback-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.feedback-text p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 10px;
}

/* ---------- 404 页 ---------- */
.error-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.error-section {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 8px;
}

.error-section h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.error-home-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--red);
  border-radius: var(--radius);
  padding: 10px 28px;
}

.error-home-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.error-help {
  max-width: 520px;
  margin: 48px auto 0;
  text-align: left;
}

.error-help h2 {
  font-size: 1.125rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.error-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.error-links li a {
  display: block;
  font-size: 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--paper-light);
}

.error-links li a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 3px solid var(--ink);
  background: var(--paper-light);
  margin-top: 48px;
}

.footer-columns {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--gray);
}

.footer-col ul li a:hover {
  color: var(--red);
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

.copyright-line {
  border-top: 1px solid var(--line);
}

.copyright-line p {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 0.8125rem;
  color: var(--gray);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---------- 1024px：折叠导航 ---------- */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: relative;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 2px solid var(--red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 100;
    flex-direction: column;
    padding: 8px 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    margin: 0;
  }

  .nav-list a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    margin: 0;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list a.is-current {
    border-left-color: var(--red);
    border-bottom-color: var(--line);
    background: var(--paper-light);
  }

  .nav-list a:hover {
    border-left-color: var(--red);
    border-bottom-color: var(--line);
    background: var(--paper-light);
  }

  /* 双栏改单栏 */
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-item {
    border-bottom: 1px solid var(--line);
  }

  .focus-item:last-child {
    border-bottom: none;
  }

  .two-column-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-item-list {
    grid-template-columns: 1fr;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-figure img {
    height: 180px;
  }

  .pick-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pick-media img {
    height: 200px;
  }

  .story-list .story-card {
    grid-template-columns: 1fr;
  }

  .story-card-media img {
    height: 200px;
  }

  .step-article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-figure img {
    height: 180px;
  }

  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feedback-figure img {
    height: 180px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- 768px：单栏 ---------- */
@media (max-width: 768px) {
  :root {
    --space-section: 40px;
  }

  .masthead {
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 12px;
    align-items: flex-start;
  }

  .brand-tagline {
    white-space: normal;
    font-size: 0.8125rem;
  }

  .site-nav {
    padding: 0 16px;
  }

  .hero-text {
    padding: 48px 16px 32px;
  }

  .hero-text h1 {
    font-size: 1.875rem;
  }

  .hero-deck {
    font-size: 1rem;
  }

  .hero-next {
    font-size: 0.875rem;
  }

  .headline-focus,
  .channel-index,
  .two-column-wrap,
  .story-entry,
  .utility-block,
  .related-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  .channel-list {
    grid-template-columns: 1fr;
  }

  .channel-entry:nth-child(odd) {
    border-right: none;
    padding-right: 4px;
  }

  .channel-entry:nth-child(even) {
    padding-left: 4px;
  }

  .story-cards {
    grid-template-columns: 1fr;
  }

  .story-card img {
    height: 220px;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .breadcrumb {
    padding: 16px 16px 0;
    font-size: 0.8125rem;
  }

  .page-header {
    padding: 28px 0 20px;
    margin-bottom: 32px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .channels-overview .channel-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .channel-media img {
    height: 160px;
  }

  .playlist-grid {
    grid-template-columns: 1fr;
  }

  .status-legend-list {
    grid-template-columns: 1fr;
  }

  .timeline-list {
    margin-left: 4px;
  }

  .timeline-entry {
    padding-left: 16px;
  }

  .archive-list {
    grid-template-columns: 1fr;
  }

  .spoiler-rule-list {
    grid-template-columns: 1fr;
  }

  .path-steps {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 3.5rem;
  }

  .error-links {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .copyright-line p {
    padding: 14px 16px;
    font-size: 0.75rem;
  }
}

/* ---------- 480px：窄屏微调 ---------- */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.625rem;
  }

  .focus-lead img {
    height: 220px;
  }

  .work-item {
    grid-template-columns: 72px 1fr;
    gap: 10px;
  }

  .work-item img {
    width: 72px;
    height: 54px;
  }

  .timeline-figure img {
    height: 160px;
  }

  .pick-media img {
    height: 180px;
  }

  .story-card-media img {
    height: 180px;
  }

  .step-figure img {
    height: 160px;
  }

  .feedback-figure img {
    height: 160px;
  }
}
