:root {
  --paper: #f7f6f3;
  --card: #ffffff;
  --ink: #111111;
  --ink-soft: #33322f;
  --muted: #6b6a66;
  --line: #d9d6cf;
  --line-strong: #b9b5ac;
  --red: #b3161b;
  --red-soft: #f3e2e2;
  --serif: "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --wrap-tablet: 960px;
  --gap: 24px;
  --radius: 6px;
}

/* ============================================================
   base
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ============================================================
   layout — 全站骨架
   ============================================================ */

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.brand__slogan {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  line-height: 1.5;
}

.brand:hover .brand__name {
  color: var(--red);
}

.site-nav {
  flex: 1;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav__list > li > a,
.more-toggle {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  min-height: 44px;
  line-height: 26px;
}

.primary-nav__list > li > a:hover,
.more-toggle:hover {
  color: var(--red);
}

.primary-nav__list > li > a.is-current {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

.primary-nav__more {
  position: relative;
}

.more-toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: 11px;
  color: var(--muted);
}

.more-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(17, 17, 17, .08);
  padding: 6px 0;
  display: none;
  z-index: 60;
}

.more-menu.is-open {
  display: block;
}

.more-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.more-menu li a:hover {
  color: var(--red);
  background: var(--paper);
}

.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger__bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger__bar:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger__bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__list {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
}

.mobile-nav__list li a {
  display: block;
  padding: 12px 8px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}

.mobile-nav__list li a.is-current {
  color: var(--red);
  font-weight: 700;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.page-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.page-layout__main {
  min-width: 0;
}

.page-layout__aside {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.sidebar-left .page-layout {
  grid-template-columns: 340px minmax(0, 1fr);
}

.sidebar-left .page-layout__aside {
  order: -1;
  border-left: 0;
  border-right: 1px solid var(--line);
  padding-left: 0;
  padding-right: 28px;
}

.section-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
}

.section-desc,
.section-lead,
.section-note,
.section-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head .section-title {
  margin-bottom: 8px;
}

.section-head .section-desc {
  margin-bottom: 0;
}

.section-label,
.eyebrow,
.page-head__kicker,
.page-hero__kicker,
.page-hero__eyebrow,
.page-intro__kicker,
.section__eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.page-hero,
.page-head,
.page-intro {
  margin-bottom: 28px;
}

.page-hero__lead,
.page-head__lead,
.page-intro__lead {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 62ch;
}

.page-head__kicker,
.page-hero__kicker,
.page-hero__eyebrow,
.page-intro__kicker {
  margin-bottom: 6px;
}

/* ============================================================
   components — 通用组件
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover {
  background: var(--paper);
  color: var(--red);
  border-color: var(--red);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 3px;
  margin-right: 6px;
}

.tag--plain {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
}

.link-list {
  display: flex;
  flex-direction: column;
}

.link-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.link-list li:last-child {
  border-bottom: 0;
}

.link-list li a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.link-list li a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.link-list__note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}

.link-list__anchor {
  color: var(--ink);
  font-weight: 700;
}

.link-list__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 4px 0 0;
}

.link-list__item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.link-list__item:last-child {
  border-bottom: 0;
}

.rank-list {
  display: flex;
  flex-direction: column;
}

.rank-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.rank-list li:last-child {
  border-bottom: 0;
}

.rank-list__no {
  flex-shrink: 0;
  min-width: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red);
  text-align: center;
}

.rank-list li a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.rank-list li a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.rank-list__note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}

.topic-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  line-height: 26px;
}

.topic-tag:hover {
  color: var(--red);
  border-color: var(--red);
}

.topic-bar {
  margin-bottom: 32px;
}

.topic-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.topic-bar__item {
  display: inline-block;
}

.topic-bar__link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  line-height: 26px;
}

.topic-bar__link:hover {
  color: var(--red);
  border-color: var(--red);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: 28px;
}

.entry-card {
  display: flex;
}

.entry-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}

.entry-card__link:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.entry-card__media {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}

.entry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-card__cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--paper);
}

.entry-card__name,
.entry-card__title {
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 14px 4px;
  color: var(--ink);
}

.entry-card__link:hover .entry-card__name,
.entry-card__link:hover .entry-card__title {
  color: var(--red);
}

.entry-card__meta {
  font-size: 12px;
  color: var(--muted);
  padding: 0 14px 6px;
  margin: 0;
  line-height: 1.6;
}

.entry-card__desc,
.entry-card__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding: 0 14px 8px;
  margin: 0;
}

.entry-card__cta {
  display: block;
  font-size: 12px;
  color: var(--red);
  padding: 8px 14px 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.related-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color .18s ease;
}

.related-card:hover {
  border-color: var(--ink);
}

.related-card__name,
.related-card__title {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.related-card__name a,
.related-card__title a {
  color: var(--ink);
}

.related-card__name a:hover,
.related-card__title a:hover {
  color: var(--red);
}

.related-card__desc,
.related-card__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 8px;
}

.related-card__meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.related-links__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.related-links__item {
  display: flex;
}

.related-links__item .related-card {
  width: 100%;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.related-grid .related-card {
  display: flex;
  flex-direction: column;
}

.related-grid .related-card__meta {
  margin-top: auto;
}

.meta-table {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.meta-table__caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.meta-table th,
.meta-table td {
  padding: 12px 14px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.meta-table thead th {
  background: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
}

.meta-table tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 180px;
  background: var(--paper);
}

.meta-table tbody tr:last-child th,
.meta-table tbody tr:last-child td {
  border-bottom: 0;
}

.meta-table td {
  color: var(--ink-soft);
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-list__item {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.rule-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.collection-rule__lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.collection-rule__foot {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.collection-rule__foot a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   pages — 首页
   ============================================================ */

.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.hero {
  margin-bottom: 40px;
}

.hero__lead {
  margin-bottom: 28px;
}

.hero__lead h1 {
  font-size: 34px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.hero__intro {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 72ch;
  margin-bottom: 20px;
}

.hero__figure {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.hero__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.hero__figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-col {
  padding: 20px 24px 20px 0;
}

.hero-col + .hero-col {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.hero-col__title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero-col__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-col__note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
}

.cover-wall {
  margin-bottom: 40px;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.comic-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}

.comic-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.comic-card__link {
  display: block;
}

.comic-card__cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--paper);
}

.comic-card__title {
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 14px 6px;
  color: var(--ink);
}

.comic-card:hover .comic-card__title {
  color: var(--red);
}

.comic-card__meta {
  font-size: 12px;
  color: var(--muted);
  padding: 0 14px 10px;
  margin: 0;
  line-height: 1.6;
}

.comic-card__chapters {
  display: block;
  font-size: 13px;
  color: var(--red);
  padding: 10px 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dual-rank {
  margin-bottom: 40px;
}

.dual-rank__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 16px;
}

.rank-col {
  min-width: 0;
}

.rank-col__title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.rank-col__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.compare-entry {
  margin-bottom: 40px;
}

.compare-entry__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  margin-top: 16px;
}

.compare-entry__main {
  min-width: 0;
}

.compare-entry__pick {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.compare-entry__pick a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-right: 4px;
}

.compare-entry__dims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.dim-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.dim-card__title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.dim-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.compare-entry__aside {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 20px;
}

.compare-conclusion__title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.compare-entry__aside p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}

.compare-entry__aside p:last-child {
  margin-bottom: 0;
}

.help-brief {
  margin-bottom: 40px;
}

.help-brief__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 16px;
}

.help-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.help-item__title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.help-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}

.help-item p a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-right: 4px;
}

.related-topics {
  margin-bottom: 40px;
}

.related-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 16px;
}

.topic-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topic-card__title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.topic-card__title a {
  color: var(--ink);
}

.topic-card__title a:hover {
  color: var(--red);
}

.topic-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}

.topic-card__meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.site-note {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-note__body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}

.site-note__body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   pages — 作品库
   ============================================================ */

.library-groups {
  margin-bottom: 40px;
}

.library-group {
  margin-bottom: 36px;
  scroll-margin-top: 80px;
}

.library-group__head {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.library-group__title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.library-group__note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.meta-guide {
  margin-bottom: 40px;
}

.collection-rule {
  margin-bottom: 40px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-links {
  margin-bottom: 40px;
}

/* ============================================================
   pages — 选漫对照
   ============================================================ */

.compare-main {
  min-width: 0;
}

.compare-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.compare-picker__item {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.compare-picker__cover {
  flex-shrink: 0;
  width: 64px;
  margin: 0;
}

.compare-picker__cover img {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--paper);
}

.compare-picker__body {
  min-width: 0;
}

.compare-picker__name {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.compare-picker__tags {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.compare-picker__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.compare-table {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.compare-table__caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.compare-table thead th {
  background: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
}

.compare-table__dim {
  font-weight: 700;
  color: var(--ink);
  width: 140px;
  background: var(--paper);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td {
  color: var(--ink-soft);
}

.compare-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.compare-note a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compare-accordion {
  display: none;
}

.compare-accordion__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.compare-accordion__summary {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  position: relative;
}

.compare-accordion__summary::-webkit-details-marker {
  display: none;
}

.compare-accordion__summary::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 16px;
}

.compare-accordion__item[open] .compare-accordion__summary::after {
  content: "－";
}

.compare-accordion__hint {
  font-size: 13px;
  color: var(--muted);
  padding: 0 16px 10px;
  margin: 0;
}

.compare-accordion__list {
  padding: 0 16px 16px;
  margin: 0;
}

.compare-accordion__list dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
}

.compare-accordion__list dd {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 2px 0 0;
}

.compare-aside {
  min-width: 0;
}

.conclusion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.conclusion-list__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 16px;
}

.conclusion-list__lead {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}

.conclusion-list__body {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.aside-links {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.aside-links__title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.aside-links__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-links__list li a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.aside-links__list li a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

/* ============================================================
   pages — 章节导航
   ============================================================ */

.article-media {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.article-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-media figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.guide-section {
  margin-bottom: 32px;
  scroll-margin-top: 80px;
}

.guide-section p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 14px;
}

.guide-section__note {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 16px;
  background: var(--card);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.7;
}

.catalog-sample {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 80px;
}

.catalog-sample__lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.catalog-sample__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.catalog-sample__vol {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0 4px;
  border-bottom: 1px solid var(--line);
}

.catalog-sample__chapter {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 0 6px 24px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}

.catalog-sample__chapter::before {
  content: "·";
  position: absolute;
  left: 10px;
  color: var(--red);
}

.catalog-sample__extra {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0 6px 24px;
  position: relative;
}

.catalog-sample__extra::before {
  content: "※";
  position: absolute;
  left: 8px;
  color: var(--red);
  font-size: 12px;
}

.catalog-sample__foot {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.aside-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.aside-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.aside-block__title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc__list li a {
  font-size: 14px;
  color: var(--ink-soft);
  display: block;
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: border-color .18s ease, color .18s ease;
}

.toc__list li a:hover,
.toc__list li a.is-active {
  color: var(--red);
  border-left-color: var(--red);
  font-weight: 700;
}

.related__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related__list li a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.related__list li a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.related__list li p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 4px 0 0;
}

/* ============================================================
   pages — 题材专题
   ============================================================ */

.section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.section__head {
  margin-bottom: 20px;
}

.section__title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
}

.section__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.section--standard {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.standard-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  counter-reset: standard;
}

.standard-list__item {
  position: relative;
  padding: 16px 16px 16px 52px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.standard-list__item::before {
  counter-increment: standard;
  content: counter(standard, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red);
}

.standard-list__title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.standard-list__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.feature-figure {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.feature-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.feature-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.reading-order {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reading-order__title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.reading-order__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reading-order__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.reading-order__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

.reading-order__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}

.section--related {
  padding-top: 8px;
}

.section--links {
  padding-top: 8px;
}

/* ============================================================
   pages — 更新记录
   ============================================================ */

.log-types {
  margin-bottom: 32px;
}

.log-types__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.log-types__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.log-types__tag,
.log-item__type {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 3px;
  color: var(--red);
  background: var(--red-soft);
  white-space: nowrap;
}

.log-types__tag--move,
.log-item__type--move {
  color: #7a5a12;
  background: #f5ecd7;
}

.log-types__tag--fix,
.log-item__type--fix {
  color: #1f5b4a;
  background: #e0efe9;
}

.log-types__tag--layout,
.log-item__type--layout {
  color: #38507a;
  background: #e5ecf6;
}

.log-types__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.log-figure {
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.log-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.log-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.log-block {
  margin-bottom: 32px;
}

.log-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.log-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.log-item__body {
  min-width: 0;
}

.log-item__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 6px;
}

.log-item__scope {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.log-note {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.log-note p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}

.log-note p:last-child {
  margin-bottom: 0;
}

.aside-title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.aside-nav {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.aside-nav__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-nav__list li a {
  font-size: 14px;
  color: var(--ink-soft);
  display: block;
  padding: 6px 0 6px 10px;
  border-left: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}

.aside-nav__list li a:hover,
.aside-nav__list li a.is-active {
  color: var(--red);
  border-left-color: var(--red);
  font-weight: 700;
}

.aside-block__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-block__list li a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.aside-block__list li a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.aside-block__list li span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}

/* ============================================================
   pages — 阅读帮助
   ============================================================ */

.help-steps {
  margin-bottom: 36px;
}

.help-steps__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  counter-reset: step;
}

.help-steps__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.help-steps__num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

.help-steps__body {
  min-width: 0;
}

.help-steps__body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 6px;
}

.help-steps__body p:last-child {
  margin-bottom: 0;
}

.help-steps__body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  margin-bottom: 36px;
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq__question {
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  position: relative;
  line-height: 1.6;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 16px;
  font-weight: 400;
}

.faq__item[open] .faq__question::after {
  content: "－";
}

.faq__item[open] .faq__question {
  color: var(--red);
  border-bottom: 1px solid var(--line);
}

.faq__answer {
  padding: 14px 16px;
}

.faq__answer p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 10px;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.env-note {
  margin-bottom: 36px;
}

.env-note__figure {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.env-note__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.env-note__figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.env-note__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.env-note__col {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.env-note__col h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.env-note__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.env-note__list li {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.env-note__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line-strong);
}

.fix-note {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fix-note__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fix-note__links li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.fix-note__links li a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.fix-note__links li a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.fix-note__links li span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   pages — 404
   ============================================================ */

.error-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.error-panel {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.error-panel .section-label {
  display: block;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.error-panel__lead {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}

.error-panel__hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0;
}

.error-links h2 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
}

.error-links__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-links__list li a {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 44px;
}

.error-links__list li a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ============================================================
   footer
   ============================================================ */

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.site-footer__col {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.site-footer__col:first-child {
  padding-left: 0;
  border-left: 0;
}

.site-footer__brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.site-footer__slogan {
  font-size: 13px;
  color: var(--red);
  margin-bottom: 10px;
  line-height: 1.6;
}

.site-footer__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.site-footer__title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__list li a {
  font-size: 13px;
  color: var(--ink-soft);
}

.site-footer__list li a:hover {
  color: var(--red);
}

.site-footer__col > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.site-footer__bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-footer__copy {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.site-footer__bottom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__bottom-list li a {
  font-size: 12px;
  color: var(--muted);
}

.site-footer__bottom-list li a:hover {
  color: var(--red);
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 1080px) {
  .site-header__inner,
  .site-footer__inner,
  .site-footer__bottom {
    max-width: var(--wrap-tablet);
  }

  .inner-main,
  .home-main {
    max-width: var(--wrap-tablet);
  }

  .hero__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cover-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .compare-entry__layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .site-footer__col {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  body.site-body {
    font-size: 15px;
  }

  .site-header__inner {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand__name {
    font-size: 20px;
  }

  .brand__slogan {
    font-size: 11px;
  }

  .site-nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .inner-main,
  .home-main {
    padding: 20px 16px 48px;
  }

  .page-title,
  .hero__lead h1,
  .error-panel h1 {
    font-size: 26px;
  }

  .section-title,
  .section__title {
    font-size: 20px;
  }

  .hero__columns {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
  }

  .hero-col {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-col + .hero-col {
    border-left: 0;
    padding-left: 0;
  }

  .hero-col--notice {
    order: -1;
  }

  .hero__figure img {
    aspect-ratio: 16 / 9;
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .topic-bar__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .topic-bar__list li {
    flex-shrink: 0;
  }

  .dual-rank__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .compare-entry__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .compare-entry__dims {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-brief__grid,
  .related-topics__grid,
  .related-grid,
  .related-links__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout__aside {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-left .page-layout__aside {
    order: 0;
    border-right: 0;
    padding-right: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }

  .compare-picker {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-table {
    display: none;
  }

  .compare-accordion {
    display: block;
  }

  .standard-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .log-types__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .env-note__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-links__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-main {
    padding: 48px 16px 56px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 16px 24px;
    gap: 24px;
  }

  .site-footer__bottom {
    padding: 16px 16px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-table tbody th {
    width: 110px;
  }

  .compare-table__dim {
    width: 96px;
  }

  .article-media img,
  .feature-figure img,
  .log-figure img,
  .env-note__figure img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 420px) {
  .cover-grid,
  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .meta-table th,
  .meta-table td {
    padding: 10px;
    font-size: 13px;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
