/* ==========================================================================
   五一吃瓜网 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与基础重置
   -------------------------------------------------------------------------- */
:root {
  --ink: #12131a;
  --ink-soft: #1c1e28;
  --paper: #fbfaf8;
  --paper-dim: #f2f0ec;
  --accent: #e8442f;
  --accent-deep: #c2331f;
  --blue: #2b5bd7;
  --beat: #c9f24d;
  --grey: #5b6070;
  --line: #dedbd4;
  --line-dark: #2c2f3c;
  --radius: 6px;
  --radius-sm: 4px;
  --wrap: 1120px;
  --pad: 32px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  line-height: 1.28;
  color: var(--ink);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

time {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  position: relative;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover,
.brand:focus-visible {
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  position: relative;
  padding-top: 6px;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: var(--accent);
}

.brand-sub {
  font-size: 12px;
  color: #9aa0b2;
  font-weight: 400;
}

.main-nav {
  flex: 1 1 auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 12px;
  color: #d6d8e0;
  font-size: 15px;
  border-bottom: 3px solid transparent;
  line-height: 1.4;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  text-decoration: none;
  border-bottom-color: var(--line-dark);
}

.main-nav a.is-current {
  color: #fff;
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
}

.scope-line {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px var(--pad) 10px;
  font-size: 13px;
  color: #8f95a8;
  border-top: 1px solid var(--line-dark);
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px var(--pad) 56px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--grey);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  color: #b6b2aa;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 700;
}

/* 内页标题区 */
.page-header {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 18px;
}

.page-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.24;
  color: var(--ink);
}

.page-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 34px;
}

.page-kicker {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #3c3f4c;
  max-width: 78ch;
  margin-bottom: 12px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--grey);
}

.page-meta > div {
  display: flex;
  gap: 6px;
}

.page-meta dt {
  color: var(--grey);
}

.page-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.page-meta li {
  color: var(--grey);
}

/* 页脚 */
.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: #c3c7d4;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px var(--pad) 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-head {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: #c3c7d4;
  font-size: 14px;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--beat);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--pad) 26px;
  font-size: 13px;
  color: #8f95a8;
  border-top: 1px solid var(--line-dark);
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 40;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */
.block-title,
.section-title,
.section-head {
  position: relative;
  font-size: 24px;
  font-weight: 900;
  padding-top: 14px;
  margin-bottom: 10px;
}

.block-title::before,
.section-title::before,
.section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

.block-lead,
.section-lead,
.section-intro,
.section-note,
.dimension-note {
  font-size: 15px;
  color: var(--grey);
  max-width: 76ch;
  margin-bottom: 22px;
}

.block-more {
  margin-top: 20px;
  font-size: 15px;
}

.block-more a {
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* 折叠问答（首页 + 常见问题共用外壳） */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 46px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 18px 16px;
  font-size: 15px;
  color: #3c3f4c;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 0;
}

/* 相关推荐条 */
.related,
.related-strip {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.related-list li {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 16px 18px;
  min-height: 44px;
}

.related-list a {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.related-list p {
  font-size: 13px;
  color: var(--grey);
}

/* 归档提示 */
.archive-note {
  margin-top: 44px;
  padding: 24px 26px;
  background: var(--paper-dim);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  margin-top: 14px;
}

.archive-list li {
  font-size: 14px;
  color: #3c3f4c;
  padding-left: 14px;
  position: relative;
}

.archive-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.archive-list a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) 56px;
}

.home-main section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.home-main section:last-of-type {
  border-bottom: 0;
}

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 34px !important;
}

.hero-intro {
  min-width: 0;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  margin-bottom: 14px;
}

.hero-intro h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #3c3f4c;
  margin-bottom: 24px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-schedule {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  min-width: 0;
}

.hero-schedule .block-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
}

.hero-schedule .block-title::before {
  background: var(--beat);
}

.schedule-list {
  display: flex;
  flex-direction: column;
}

.schedule-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
}

.schedule-item:last-child {
  border-bottom: 0;
}

.schedule-date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--beat);
}

.schedule-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  min-width: 0;
}

.schedule-progress {
  font-size: 13px;
  color: #9aa0b2;
  grid-column: 2 / 3;
}

.schedule-item .tag {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag-update {
  background: var(--beat);
  color: var(--ink);
}

.tag-done {
  background: #3a3d4c;
  color: #d6d8e0;
}

.tag-pause {
  background: #5b6070;
  color: #fff;
}

.tag-pending {
  border: 1px solid var(--grey);
  color: #c3c7d4;
}

.schedule-note {
  margin-top: 14px;
  font-size: 13px;
  color: #9aa0b2;
}

.schedule-note a {
  color: var(--beat);
}

.hero-media {
  grid-column: 1 / -1;
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
}

.hero-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--grey);
  background: var(--paper-dim);
}

/* 题材标签组 */
.tag-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tag-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tag-cell {
  min-width: 0;
}

.tag-cell a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  background: #fff;
  min-height: 44px;
  transition: transform .16s ease, border-color .16s ease;
}

.tag-cell a:hover,
.tag-cell a:focus-visible {
  text-decoration: none;
  border-color: var(--blue);
}

.tag-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.tag-count {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
}

.tag-state {
  flex: 1 1 100%;
  font-size: 13px;
  color: var(--grey);
}

/* 编排榜速览 */
.rank-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rank-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  min-width: 0;
}

.rank-no {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.rank-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.rank-format {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
}

.rank-note {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
}

/* 策展专辑橱窗 */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
}

.feature-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .18s ease, border-color .18s ease;
}

.feature-block:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.feature-media {
  background: var(--paper-dim);
}

.feature-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feature-small .feature-media img {
  height: 200px;
}

.feature-head {
  font-size: 19px;
  font-weight: 900;
  padding: 18px 20px 0;
}

.feature-clue {
  padding: 8px 20px 0;
  font-size: 15px;
  color: #3c3f4c;
}

.feature-rule {
  padding: 8px 20px 0;
  font-size: 13px;
  color: var(--grey);
}

.feature-more {
  padding: 14px 20px 20px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
}

/* 连载状态看板 */
.status-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.status-col {
  background: var(--ink);
  color: #c3c7d4;
  border-radius: var(--radius);
  padding: 20px 18px;
  min-width: 0;
}

.status-name {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  margin-bottom: 10px;
}

.status-col:nth-child(2) .status-name {
  border-bottom-color: var(--beat);
}

.status-col:nth-child(3) .status-name {
  border-bottom-color: var(--blue);
}

.status-col:nth-child(4) .status-name {
  border-bottom-color: var(--grey);
}

.status-mean {
  font-size: 13px;
  color: #9aa0b2;
  margin-bottom: 14px;
}

.status-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-items li {
  border-top: 1px solid var(--line-dark);
  padding-top: 8px;
}

.status-items a {
  color: #e2e5ec;
  font-size: 14px;
  font-weight: 700;
}

.status-items a:hover,
.status-items a:focus-visible {
  color: var(--beat);
  text-decoration: none;
}

/* 阅读指引三联 */
.guide-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 20px 16px;
  min-width: 0;
}

.guide-head {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.guide-item p {
  font-size: 15px;
  color: #3c3f4c;
}

.guide-link {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

/* 首页常见问题 */
.faq-list {
  display: flex;
  flex-direction: column;
}

/* 更正说明条 */
.notice {
  background: var(--paper-dim);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}

.notice .block-title {
  font-size: 20px;
}

.notice p {
  font-size: 15px;
  color: #3c3f4c;
  max-width: 76ch;
}

.notice-link {
  margin-top: 12px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   pages · 漫画索引
   -------------------------------------------------------------------------- */
.filter-guide {
  margin-bottom: 40px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.filter-item {
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 18px 18px 16px;
  min-width: 0;
}

.filter-name {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 8px;
}

.filter-desc {
  font-size: 14px;
  color: var(--grey);
}

.format-group {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.format-group:last-of-type {
  border-bottom: 0;
}

.format-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}

.format-name {
  font-size: 22px;
  font-weight: 900;
}

.format-desc {
  grid-column: 1 / 2;
  font-size: 14px;
  color: var(--grey);
  max-width: 70ch;
}

.format-covers {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  gap: 10px;
}

.cover-card {
  width: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-dim);
}

.cover-card img {
  width: 96px;
  height: 128px;
  object-fit: cover;
}

.entry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.entry-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  min-width: 0;
}

.entry-name {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 8px;
}

.entry-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  margin-bottom: 8px;
}

.field-format {
  color: var(--blue);
  font-weight: 700;
}

.field-status {
  padding: 1px 9px;
  border-radius: 999px;
  font-weight: 700;
}

.field-status.is-ongoing {
  background: var(--beat);
  color: var(--ink);
}

.field-status.is-paused {
  background: #e6e3dc;
  color: #4a4d5a;
}

.field-status.is-complete {
  background: var(--ink);
  color: var(--paper);
}

.field-status.is-preparing {
  border: 1px solid var(--grey);
  color: var(--grey);
}

.field-progress {
  font-family: var(--mono);
  color: var(--grey);
}

.entry-note {
  font-size: 14px;
  color: #3c3f4c;
}

.pagination-note {
  margin-top: 36px;
  padding: 24px 26px;
  background: var(--paper-dim);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
}

.batch-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.batch-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-width: 0;
}

.batch-name {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
}

.batch-desc {
  font-size: 13px;
  color: var(--grey);
}

.batch-foot {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.related-item {
  min-width: 0;
}

.related-name {
  display: block;
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 6px;
}

.related-desc {
  font-size: 13px;
  color: var(--grey);
}

/* --------------------------------------------------------------------------
   pages · 更新排期
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.timeline {
  min-width: 0;
}

.timeline .section-head {
  font-size: 22px;
  margin-top: 34px;
}

.timeline .section-head:first-child {
  margin-top: 0;
}

.timeline .section-note {
  margin-bottom: 20px;
}

.timeline-node {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0 16px 0;
  border-left: 2px solid var(--line);
  padding-left: 20px;
  position: relative;
  min-width: 0;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 26px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.node-cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-dim);
}

.node-cover img {
  width: 104px;
  height: 138px;
  object-fit: cover;
}

.node-body {
  min-width: 0;
}

.node-date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.node-title {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 6px;
}

.node-field {
  font-size: 14px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.node-note {
  font-size: 14px;
  color: #3c3f4c;
}

.status-summary {
  background: var(--paper-dim);
  border-radius: var(--radius);
  padding: 22px 20px;
  border-top: 3px solid var(--ink);
  min-width: 0;
}

.status-summary .section-head {
  font-size: 19px;
  margin-bottom: 8px;
}

.status-summary .section-note {
  margin-bottom: 16px;
}

.status-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.status-item dt {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.status-item dd {
  margin: 0;
  font-size: 13px;
  color: var(--grey);
}

.status-foot {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.pace-note {
  margin-top: 44px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pace-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  margin-top: 14px;
}

.pace-list li {
  font-size: 14px;
  color: #3c3f4c;
  padding-left: 16px;
  position: relative;
}

.pace-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 编排榜
   -------------------------------------------------------------------------- */
.rule-bar {
  margin-bottom: 40px;
}

.rule-bar h2 {
  font-size: 24px;
  font-weight: 900;
  position: relative;
  padding-top: 14px;
  margin-bottom: 18px;
}

.rule-bar h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rule-item {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px;
  min-width: 0;
}

.rule-item h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 8px;
}

.rule-item p {
  font-size: 14px;
  color: #3c3f4c;
}

.dimension-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.dimension-section:last-of-type {
  border-bottom: 0;
}

.dimension-section h2 {
  font-size: 24px;
  font-weight: 900;
  position: relative;
  padding-top: 14px;
  margin-bottom: 10px;
}

.dimension-section h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

.chart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-row {
  display: grid;
  grid-template-columns: 56px 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  min-width: 0;
}

.chart-rank {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.chart-cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-dim);
}

.chart-cover img {
  width: 96px;
  height: 128px;
  object-fit: cover;
}

.chart-body {
  min-width: 0;
}

.chart-body h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}

.chart-tags {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.chart-reason {
  font-size: 14px;
  color: #3c3f4c;
}

/* --------------------------------------------------------------------------
   pages · 专题策展
   -------------------------------------------------------------------------- */
.feature-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 34px;
  border-bottom: 3px solid var(--ink);
}

.feature-lead-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
  border: 1px solid var(--line);
}

.feature-lead-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.feature-lead-media figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--grey);
  background: var(--paper-dim);
}

.feature-lead-body {
  min-width: 0;
}

.feature-lead-body p {
  font-size: 15px;
  color: #3c3f4c;
  margin-bottom: 12px;
}

.feature-lead-body .sub-title,
.feature-item-body .mini-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin: 16px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.criteria-list li {
  font-size: 14px;
  color: #3c3f4c;
  padding-left: 16px;
  position: relative;
}

.criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.reading-order {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: order;
}

.reading-order li {
  counter-increment: order;
  font-size: 14px;
  padding-left: 30px;
  position: relative;
  min-height: 24px;
}

.reading-order li::before {
  content: counter(order, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
}

.feature-tip {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.feature-list {
  margin-bottom: 44px;
}

.feature-item {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item:last-of-type {
  border-bottom: 0;
}

.feature-item-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-dim);
}

.feature-item-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.feature-item-body {
  min-width: 0;
}

.feature-issue {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
}

.feature-item-title {
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 10px;
}

.feature-item-body > p {
  font-size: 15px;
  color: #3c3f4c;
}

.item-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 20px;
}

.item-list li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
}

.item-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 阅读指引
   -------------------------------------------------------------------------- */
.guide-visual {
  margin-bottom: 40px;
}

.guide-visual h2 {
  font-size: 24px;
  font-weight: 900;
  position: relative;
  padding-top: 14px;
  margin-bottom: 16px;
}

.guide-visual h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

.guide-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
}

.guide-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--grey);
  background: var(--paper-dim);
}

.glossary {
  margin-bottom: 44px;
}

.glossary h2,
.path-steps h2,
.pace-note h2,
.related h2,
.related-strip h2 {
  font-size: 24px;
  font-weight: 900;
  position: relative;
  padding-top: 14px;
  margin-bottom: 12px;
}

.glossary h2::before,
.path-steps h2::before,
.pace-note h2::before,
.related h2::before,
.related-strip h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 0;
}

.glossary-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  min-width: 0;
}

.glossary-item dt {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 6px;
}

.glossary-item dd {
  margin: 0;
  font-size: 14px;
  color: #3c3f4c;
}

.path-steps {
  margin-bottom: 44px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.step-item {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 20px 16px;
  min-width: 0;
}

.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.step-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.step-action {
  font-size: 14px;
  color: #3c3f4c;
  margin-bottom: 8px;
}

.step-output {
  font-size: 13px;
  color: var(--grey);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.pace-note {
  margin-bottom: 44px;
}

.pace-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  min-width: 0;
}

.pace-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.pace-item p {
  font-size: 14px;
  color: #3c3f4c;
}

.pace-archive {
  margin-top: 16px;
  font-size: 14px;
  color: var(--grey);
}

/* --------------------------------------------------------------------------
   pages · 常见问题
   -------------------------------------------------------------------------- */
.page-figure {
  margin-bottom: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
}

.page-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.page-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--grey);
  background: var(--paper-dim);
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group h2 {
  font-size: 24px;
  font-weight: 900;
  position: relative;
  padding-top: 14px;
  margin-bottom: 16px;
}

.faq-group h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 60px var(--pad) 70px;
}

.error-panel {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 44px;
}

.error-code {
  font-family: var(--mono);
  font-size: 64px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.error-panel h1 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 16px;
  color: #3c3f4c;
  max-width: 68ch;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-hint {
  border-top: 3px solid var(--ink);
  padding-top: 24px;
}

.error-hint h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

.error-hint ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 24px;
}

.error-hint li {
  font-size: 15px;
  padding-left: 16px;
  position: relative;
}

.error-hint li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   responsive · 960px
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  :root {
    --pad: 22px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
    min-height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    flex: 1 1 100%;
    order: 3;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    border-top: 1px solid var(--line-dark);
    padding-top: 6px;
  }

  .main-nav ul.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 4px;
    min-height: 48px;
    border-bottom: 1px solid var(--line-dark);
    border-left: 3px solid transparent;
  }

  .main-nav a.is-current {
    border-bottom-color: var(--line-dark);
    border-left-color: var(--accent);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-intro h1 {
    font-size: 32px;
  }

  .hero-media img {
    height: 260px;
  }

  .rank-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .filter-grid,
  .rule-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .feature-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .feature-item-media img {
    height: 240px;
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .glossary-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   responsive · 640px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --pad: 18px;
  }

  body {
    font-size: 16px;
  }

  .brand-mark {
    font-size: 22px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .page-title,
  .error-panel h1 {
    font-size: 26px;
  }

  .hero-intro h1 {
    font-size: 26px;
  }

  .block-title,
  .section-title,
  .section-head,
  .rule-bar h2,
  .dimension-section h2,
  .glossary h2,
  .path-steps h2,
  .pace-note h2,
  .related h2,
  .related-strip h2,
  .faq-group h2,
  .guide-visual h2 {
    font-size: 20px;
  }

  .hero-media img {
    height: 200px;
  }

  .schedule-item {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 4px 8px;
  }

  .tag-rows {
    gap: 8px;
  }

  .tag-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .rank-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .format-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .format-covers {
    grid-column: 1 / 2;
    grid-row: auto;
    margin-top: 6px;
  }

  .timeline-node {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
    padding-left: 16px;
  }

  .node-cover img {
    width: 80px;
    height: 106px;
  }

  .chart-row {
    grid-template-columns: 40px 72px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .chart-rank {
    font-size: 20px;
  }

  .chart-cover img {
    width: 72px;
    height: 96px;
  }

  .feature-lead-media img,
  .feature-item-media img,
  .guide-figure img,
  .page-figure img {
    height: 210px;
  }

  .feature-media img {
    height: 200px;
  }

  .feature-small .feature-media img {
    height: 180px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-main {
    padding-top: 40px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .back-top {
    right: 14px;
    bottom: 16px;
  }
}
