/* ==========================================================================
   奇漫屋app下载 · 全站样式表
   结构：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base —— 变量、重置、排版基础
   -------------------------------------------------------------------------- */
:root {
  --ink: #101219;
  --ink-soft: #5b6070;
  --ink-mute: #8b90a0;
  --paper: #f6f7fb;
  --card: #ffffff;
  --dark: #14161f;
  --dark-2: #1f2333;
  --line: #e2e5ee;
  --accent: #ff5a3c;
  --teal: #2fb3aa;
  --radius: 8px;
  --radius-sm: 6px;
  --shell: 1200px;
  --gap: 24px;
  --shadow: 0 1px 2px rgba(16, 18, 25, 0.06);
  --shadow-lift: 0 6px 18px rgba(16, 18, 25, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout —— 骨架：页头、导航、主容器、页脚
   -------------------------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding: 8px 0;
}

.brand:hover {
  color: var(--accent);
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item > a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-item > a:hover {
  color: var(--ink);
}

.nav-item > a.is-current,
.nav-item.is-current > a {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px 20px 56px;
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-mute);
  padding: 4px 0 14px;
}

.breadcrumb-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 20px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item a {
  color: var(--ink-soft);
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.is-current,
.breadcrumb-current {
  color: var(--ink-mute);
}

.breadcrumb-sep {
  color: var(--line);
  margin: 0 2px;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

header.page-title {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.page-title-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px 20px 24px;
}

.site-brand-heading {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.page-lede,
.page-title-lead,
.page-title-desc,
.page-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 10px 0 0;
}

.page-tags,
.page-title-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-tag,
.topic-tag,
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.topic-tag a,
.page-tag a {
  color: inherit;
}

.topic-tag a:hover {
  color: var(--accent);
}

/* 页脚 */
.site-footer {
  background: var(--dark);
  color: #c8ccd8;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 20px 24px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}

.footer-title {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-list li {
  margin-bottom: 9px;
}

.footer-list a {
  font-size: 14px;
  color: #a9afc0;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-more {
  margin-top: 12px;
}

.footer-more a {
  font-size: 13px;
  color: var(--teal);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-brand {
  font-size: 13px;
  color: #8f95a8;
  margin: 0;
}

.footer-copy {
  font-size: 13px;
  color: #8f95a8;
  margin: 0;
}

.footer-copy a {
  color: #c8ccd8;
}

.footer-copy a:hover {
  color: var(--accent);
}

/* 两列布局外壳：主内容在前，侧栏在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.page-layout > .site-main,
.page-layout > .inner-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.sidebar-left .page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.sidebar-left .page-layout > aside {
  order: -1;
}

/* --------------------------------------------------------------------------
   components —— 通用组件：按钮、标签、区块标题、卡片、行列表、表格、FAQ
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #e94c2f;
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.genre-tag,
.genre-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.02em;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.genre-tag:hover,
.genre-chip:hover,
.genre-tag:focus-visible,
.genre-chip:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.tag-genre {
  background: rgba(47, 179, 170, 0.1);
  border-color: rgba(47, 179, 170, 0.35);
  color: #1d7d76;
}

.tag-status,
.status-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  background: rgba(47, 179, 170, 0.12);
  color: #1d7d76;
  border: 1px solid rgba(47, 179, 170, 0.32);
  white-space: nowrap;
}

.tag-done,
.status-tag--done {
  background: rgba(139, 144, 160, 0.14);
  color: #6a6f80;
  border-color: rgba(139, 144, 160, 0.3);
}

.status-tag--new {
  background: rgba(255, 90, 60, 0.12);
  color: #c93f26;
  border-color: rgba(255, 90, 60, 0.32);
}

.status-tag--ongoing {
  background: rgba(47, 179, 170, 0.12);
  color: #1d7d76;
  border-color: rgba(47, 179, 170, 0.32);
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.section-title,
.side-title,
.toc-title {
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
}

.section-note,
.section-lead,
.section-lede {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 780px;
  margin: 8px 0 0;
}

.section-more,
.catalog-more {
  margin-top: 20px;
  font-size: 15px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
}

.link-more:hover {
  color: #e94c2f;
}

.para-summary,
.clause-summary {
  position: relative;
  margin: 22px 0;
  padding: 14px 16px 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink-soft);
}

/* 底部相关内容条 */
.related-links {
  max-width: var(--shell);
  margin: 8px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.related-links-label {
  font-size: 13px;
  color: var(--ink-mute);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink-soft);
}

.related-links-item:hover {
  color: var(--accent);
}

/* 折叠问答 */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question,
.faq-item summary {
  cursor: pointer;
  padding: 16px 44px 16px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  list-style: none;
}

.faq-question::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question::after,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-mute);
  border-bottom: 2px solid var(--ink-mute);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after,
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-answer,
.faq-item > p {
  padding: 0 18px 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.faq-answer a,
.faq-item > p a {
  color: var(--accent);
}

/* 表格 */
.tag-table,
.glossary-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

.tag-table th,
.tag-table td,
.glossary-table th,
.glossary-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tag-table thead th,
.glossary-table thead th {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--paper);
}

.tag-table tbody tr:last-child th,
.tag-table tbody tr:last-child td,
.glossary-table tbody tr:last-child th,
.glossary-table tbody tr:last-child td {
  border-bottom: 0;
}

.tag-table td:first-child,
.glossary-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.tag-table td:last-child,
.glossary-table tbody td {
  color: var(--ink-soft);
}

.glossary-caption,
.profile-table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* 列表行通用触控高度 */
.row-link,
.work-row-link,
.work-card-link,
.chapter-row a,
.chapter-row-link,
.ranking-row-link,
.special-item,
.special-link,
.card-link {
  display: block;
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   pages —— 首页
   -------------------------------------------------------------------------- */
.home-main {
  display: block;
}

/* 首屏 */
.hero {
  background: var(--dark);
  color: #eef0f6;
  border-bottom: 3px solid var(--accent);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 20px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  font-size: 36px;
  line-height: 1.3;
  color: #ffffff;
}

.hero-lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: #b9bfd0;
  max-width: 520px;
}

.step-path {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-item {
  display: flex;
  gap: 10px;
  padding: 14px 12px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  min-width: 0;
}

.step-index {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
}

.step-body {
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #b9bfd0;
}

.step-body .step-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn-ghost {
  color: #eef0f6;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-visual {
  margin: 0;
  position: relative;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
}

/* 题材分类带 */
.genre-strip {
  background: var(--dark-2);
  color: #dfe3ee;
  border-bottom: 3px solid var(--accent);
}

.genre-strip-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 34px 20px 38px;
}

.genre-strip-title {
  font-size: 24px;
  color: #ffffff;
}

.genre-strip-note {
  margin-top: 8px;
  font-size: 15px;
  color: #b0b6c8;
  max-width: 780px;
}

.genre-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-item {
  min-width: 0;
}

.genre-strip .genre-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e7eaf3;
  min-height: 36px;
  padding: 0 15px;
}

.genre-strip .genre-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 作品目录预览 */
.catalog-preview {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 52px 20px 8px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.catalog-card {
  min-width: 0;
}

.card-link {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.card-cover {
  margin: 0;
}

.card-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.card-body {
  padding: 14px 16px 16px;
}

.card-title {
  font-size: 17px;
  color: var(--ink);
}

.card-meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.card-date {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
}

/* 最近更新 */
.recent-updates {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 20px 8px;
}

.update-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.update-row + .update-row {
  border-top: 1px solid var(--line);
}

.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
}

.row-link:hover {
  background: var(--paper);
}

.row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}

.row-work {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.row-chapter {
  font-size: 14px;
  color: var(--ink-soft);
}

.row-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.row-date {
  font-size: 13px;
  color: var(--ink-mute);
}

/* 编辑精选榜 */
.editor-ranking {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 20px 8px;
}

.ranking-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ranking-row + .ranking-row {
  border-top: 1px solid var(--line);
}

.ranking-row .row-link {
  display: grid;
  grid-template-columns: 40px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}

.ranking-row .row-link:hover {
  background: var(--paper);
}

.rank-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

.rank-cover {
  margin: 0;
}

.rank-cover img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.rank-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rank-work {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.rank-reason {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* 站内内容组织说明 */
.editorial-note {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 20px 8px;
}

.note-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.note-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.note-col h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}

.note-col p {
  font-size: 15px;
  color: var(--ink-soft);
}

.note-points {
  margin-top: 12px;
}

.note-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.note-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* 题材专题入口 */
.special-entry {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 20px 8px;
}

.special-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.special-card {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.special-link {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.special-link:hover {
  transform: translateY(-2px);
}

.special-figure {
  margin: 0;
}

.special-figure img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.special-body {
  padding: 18px 20px;
  min-width: 0;
}

.special-name {
  font-size: 18px;
  color: var(--ink);
}

.special-audience {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.special-count {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--teal);
}

/* 首页 FAQ 区 */
.faq {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 20px 56px;
}

.faq-list {
  display: block;
}

/* --------------------------------------------------------------------------
   pages —— 漫画库
   -------------------------------------------------------------------------- */
.genre-index {
  margin-bottom: 36px;
}

.genre-chip-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-sections {
  margin-bottom: 40px;
}

.status-sections > h2 {
  font-size: 24px;
  color: var(--ink);
}

.status-block {
  margin-top: 26px;
}

.status-block h3 {
  font-size: 18px;
  color: var(--ink);
}

.status-note,
.genre-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 720px;
}

.work-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  min-width: 0;
}

.work-card-link {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-card-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.work-cover,
.work-thumb {
  margin: 0;
  min-width: 0;
}

.work-cover img,
.work-thumb img {
  width: 108px;
  height: 144px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.work-row-body,
.work-stats {
  min-width: 0;
}

.work-name,
.work-row-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.work-meta,
.work-row-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.work-chapters,
.work-updated {
  font-size: 13px;
  color: var(--ink-mute);
}

.work-brief,
.work-row-brief {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.work-list-section > h2 {
  font-size: 24px;
  color: var(--ink);
}

.genre-block {
  margin-top: 28px;
}

.genre-block h3 {
  font-size: 18px;
  color: var(--ink);
}

.work-list {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.work-row + .work-row {
  border-top: 1px solid var(--line);
}

.work-row-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
}

.work-row-link:hover {
  background: var(--paper);
}

.work-row-side {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 漫画库侧栏 */
.library-aside {
  min-width: 0;
  display: block;
}

.aside-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}

.aside-block h2 {
  font-size: 17px;
  color: var(--ink);
}

.aside-lede,
.aside-lead {
  margin: 8px 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.status-legend {
  font-size: 13px;
  color: var(--ink-mute);
}

.aside-more {
  margin-top: 10px;
  font-size: 14px;
}

.aside-more a {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages —— 更新与榜单
   -------------------------------------------------------------------------- */
.update-schedule,
.recent-chapters,
.follow-note {
  margin-bottom: 44px;
}

.schedule-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.schedule-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.schedule-card-title {
  font-size: 17px;
  color: var(--ink);
}

.schedule-card-time {
  margin: 6px 0 12px;
  font-size: 13px;
  color: var(--teal);
}

.schedule-card-list li + li {
  margin-top: 8px;
}

.schedule-card-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}

.schedule-card-list a:hover {
  color: var(--accent);
}

.chapter-table {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.chapter-row + .chapter-row {
  border-top: 1px solid var(--line);
}

.chapter-row-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

.chapter-row-link:hover {
  background: var(--paper);
}

.chapter-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.chapter-main {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.chapter-work {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.chapter-name {
  font-size: 14px;
  color: var(--ink-soft);
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.chapter-date {
  font-size: 13px;
  color: var(--ink-mute);
}

.ranking-criteria {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.ranking-criteria-title {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 10px;
}

.ranking-criteria-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.ranking-criteria-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.ranking-criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ranking-row .ranking-row-link {
  display: grid;
  grid-template-columns: 40px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}

.ranking-row .ranking-row-link:hover {
  background: var(--paper);
}

.ranking-index {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

.ranking-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.ranking-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ranking-work {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.ranking-reason {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.follow-note-cols {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.follow-note-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.follow-note-title {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}

.follow-note-text {
  font-size: 15px;
  color: var(--ink-soft);
}

.follow-note-list {
  margin-top: 12px;
}

.follow-note-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.follow-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.follow-note-more {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.follow-note-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages —— 作品详情
   -------------------------------------------------------------------------- */
.work-profile {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.work-profile-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 20px 36px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.work-profile-cover {
  min-width: 0;
}

.cover-figure {
  margin: 0;
}

.cover-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.cover-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-mute);
}

.work-tag-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-profile-body {
  min-width: 0;
}

.work-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 760px;
}

.profile-table {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.profile-table th,
.profile-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.profile-table tbody tr:last-child th,
.profile-table tbody tr:last-child td {
  border-bottom: 0;
}

.profile-table th {
  width: 160px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper);
}

.profile-table td {
  color: var(--ink);
}

.work-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.work-note a {
  color: var(--accent);
}

.work-layout {
  padding-top: 36px;
}

.chapter-list {
  min-width: 0;
}

.chapter-list > h2 {
  font-size: 24px;
  color: var(--ink);
}

.chapter-rows {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.chapter-rows .chapter-row + .chapter-row {
  border-top: 1px solid var(--line);
}

.chapter-rows .chapter-row a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

.chapter-rows .chapter-row a:hover {
  background: var(--paper);
}

.chapter-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--ink-mute);
}

.chapter-rows .chapter-name {
  font-size: 15px;
  color: var(--ink);
  min-width: 0;
}

.chapter-rows .chapter-date {
  font-size: 13px;
  color: var(--ink-mute);
  white-space: nowrap;
}

.related-works {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.related-works h2 {
  font-size: 17px;
  color: var(--ink);
}

.related-list {
  margin-top: 14px;
}

.related-card + .related-card {
  margin-top: 14px;
}

.related-card a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 6px 0;
}

.related-card img {
  grid-row: span 2;
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.related-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.related-card .genre-tag {
  justify-self: start;
  min-height: 26px;
  font-size: 12px;
  padding: 0 9px;
}

.update-progress {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 20px 8px;
}

.update-progress h2 {
  font-size: 24px;
  color: var(--ink);
}

.timeline {
  margin-top: 20px;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}

.timeline-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 0 0 18px;
}

.timeline-row::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  min-width: 96px;
}

.timeline-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1 1 320px;
  min-width: 0;
}

.detail-links {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.detail-links h2 {
  font-size: 20px;
  color: var(--ink);
}

.detail-link-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.detail-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 14px;
  color: var(--ink-soft);
}

.detail-link-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages —— 题材专题
   -------------------------------------------------------------------------- */
.special-summary,
.selection-standard,
.related-special {
  padding: 40px 0;
}

.section-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.summary-text {
  min-width: 0;
}

.section-kicker {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 10px;
}

.summary-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 720px;
}

.summary-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-readers {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.summary-readers h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
}

.readers-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.readers-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.readers-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

.readers-note a {
  color: var(--accent);
}

.standard-cols {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.standard-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.standard-col h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
}

.standard-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.standard-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.special-layout {
  padding-top: 0;
  padding-bottom: 56px;
}

.special-list {
  min-width: 0;
}

.special-list > h2 {
  font-size: 22px;
  color: var(--ink);
}

.special-list .special-figure {
  margin: 18px 0 0;
}

.special-list .special-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.special-list .special-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-mute);
}

.special-items {
  margin-top: 22px;
}

.special-item {
  display: grid;
  grid-template-columns: 40px 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.special-item + .special-item {
  margin-top: 14px;
}

.special-item:hover {
  border-color: var(--accent);
}

.special-rank {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

.special-thumb {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.special-item-body {
  min-width: 0;
}

.special-item-body h3 {
  font-size: 17px;
  color: var(--ink);
}

.special-item-tags {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--teal);
}

.special-item-reason {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.special-side {
  min-width: 0;
}

.side-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}

.side-block h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.progress-timeline {
  border-left: 2px solid var(--line);
  padding-left: 16px;
}

.progress-item {
  position: relative;
  padding-bottom: 14px;
}

.progress-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.progress-date {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.progress-item p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.side-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-mute);
}

.side-links li + li {
  margin-top: 8px;
}

.side-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}

.side-links a:hover {
  color: var(--accent);
}

.related-special-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.special-card-figure {
  margin: 0;
}

.special-card-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.special-card-body {
  padding: 18px 20px;
  min-width: 0;
}

.special-card-body h3 {
  font-size: 18px;
  color: var(--ink);
}

.special-card-body p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.special-card-meta {
  color: var(--teal) !important;
}

.special-card-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages —— 阅读指引
   -------------------------------------------------------------------------- */
.guide-main {
  min-width: 0;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section > h2 {
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
}

.guide-section > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 760px;
}

.guide-section > p a {
  color: var(--accent);
}

.guide-figure {
  margin: 20px 0;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.guide-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-mute);
}

.step-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-list .step-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.step-list .step-item h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-list .step-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.tag-method-cols {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tag-method-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.tag-method-col h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.tag-method-col p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.tag-method-list {
  margin-top: 12px;
}

.tag-method-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.tag-method-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.guide-toc {
  min-width: 0;
  position: sticky;
  top: 84px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.toc-list {
  margin-top: 12px;
}

.toc-item + .toc-item {
  margin-top: 4px;
}

.toc-item a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.toc-item a:hover,
.toc-item a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.toc-entry {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.toc-entry-title {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}

.toc-entry p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.toc-entry-links {
  margin-top: 10px;
}

.toc-entry-links li + li {
  margin-top: 6px;
}

.toc-entry-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages —— 版权说明
   -------------------------------------------------------------------------- */
.policy-summary {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 20px 40px;
}

.summary-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
}

.summary-box .summary-text {
  min-width: 0;
}

.summary-box .summary-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 680px;
}

.summary-media {
  margin: 0;
  min-width: 0;
}

.summary-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.summary-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-mute);
}

.applicable {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.applicable-cols {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.applicable-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.applicable-heading {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
}

.applicable-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.applicable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.policy-clauses {
  min-width: 0;
}

.policy-clauses > h2 {
  font-size: 24px;
  color: var(--ink);
  margin-top: 8px;
}

.clause-list {
  margin-top: 20px;
}

.clause-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.clause-item + .clause-item {
  margin-top: 14px;
}

.clause-heading {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.clause-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.policy-related {
  min-width: 0;
}

.related-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}

.related-heading {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}

.related-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.related-block .related-list {
  margin-top: 12px;
}

.related-block .related-list li + li {
  margin-top: 6px;
}

.related-block .related-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--accent);
}

.correction {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.correction-steps {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.correction-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.correction-heading {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.correction-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages —— 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 72px;
}

.error-panel {
  max-width: 640px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}

.error-code {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 10px;
}

.error-title {
  font-size: 30px;
  line-height: 1.35;
  color: var(--ink);
}

.error-text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-hints {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.error-hints li + li {
  margin-top: 8px;
}

.error-hints a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--ink-soft);
}

.error-hints a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   responsive —— 断点：1024px / 768px / 480px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-layout,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .sidebar-left .page-layout > aside {
    order: 0;
  }

  .library-aside,
  .guide-toc,
  .special-side,
  .policy-related {
    position: static;
    top: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 20px 44px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .catalog-grid,
  .note-columns,
  .standard-cols,
  .tag-method-cols,
  .applicable-cols,
  .schedule-grid,
  .follow-note-cols,
  .related-special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid .catalog-card:last-child,
  .note-columns .note-col:last-child,
  .standard-cols .standard-col:last-child,
  .tag-method-cols .tag-method-col:last-child,
  .applicable-cols .applicable-col:last-child,
  .schedule-grid .schedule-card:last-child,
  .follow-note-cols .follow-note-col:last-child,
  .related-special-grid .special-card:last-child {
    grid-column: span 2;
  }

  .summary-grid,
  .summary-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-profile-inner {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 12px 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }

  .nav-item > a.is-current,
  .nav-item.is-current > a {
    border-bottom-color: transparent;
    border-left-color: var(--accent);
  }

  .page-title {
    font-size: 24px;
    line-height: 1.35;
  }

  .section-head h2,
  .section-title,
  .side-title,
  .toc-title,
  .status-sections > h2,
  .work-list-section > h2,
  .update-progress h2,
  .policy-clauses > h2,
  .guide-section > h2,
  .chapter-list > h2,
  .special-list > h2 {
    font-size: 19px;
  }

  .hero-text h1 {
    font-size: 24px;
    line-height: 1.35;
  }

  .step-path {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-grid,
  .note-columns,
  .standard-cols,
  .tag-method-cols,
  .applicable-cols,
  .schedule-grid,
  .follow-note-cols,
  .related-special-grid,
  .special-cards,
  .work-grid,
  .step-list,
  .correction-steps,
  .ranking-criteria-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-grid .catalog-card:last-child,
  .note-columns .note-col:last-child,
  .standard-cols .standard-col:last-child,
  .tag-method-cols .tag-method-col:last-child,
  .applicable-cols .applicable-col:last-child,
  .schedule-grid .schedule-card:last-child,
  .follow-note-cols .follow-note-col:last-child,
  .related-special-grid .special-card:last-child {
    grid-column: auto;
  }

  .special-link {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-figure img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .work-profile-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-profile-cover {
    max-width: 240px;
  }

  .row-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .row-side {
    flex-wrap: wrap;
  }

  .ranking-row .row-link,
  .ranking-row .ranking-row-link {
    grid-template-columns: 32px 56px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-row .tag-genre,
  .ranking-row .genre-tag {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .rank-cover img,
  .ranking-thumb {
    width: 56px;
    height: 56px;
  }

  .chapter-row-link {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .chapter-thumb {
    width: 48px;
    height: 48px;
  }

  .chapter-meta {
    grid-column: 2 / -1;
    flex-wrap: wrap;
  }

  .chapter-rows .chapter-row a {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .chapter-rows .chapter-date,
  .chapter-rows .status-tag {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .special-item {
    grid-template-columns: 32px 64px minmax(0, 1fr);
    gap: 12px;
  }

  .special-thumb {
    width: 64px;
    height: 86px;
  }

  .work-card-link {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .work-cover img,
  .work-thumb img {
    width: 92px;
    height: 124px;
  }

  .work-row-link {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .work-row-side {
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-links {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .page-title-inner,
  .breadcrumb-inner,
  .hero-inner,
  .genre-strip-inner,
  .catalog-preview,
  .recent-updates,
  .editor-ranking,
  .editorial-note,
  .special-entry,
  .faq,
  .inner-main,
  .page-layout,
  .section-inner,
  .related-links,
  .work-profile-inner,
  .update-progress,
  .detail-links,
  .policy-summary,
  .applicable,
  .correction,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .summary-box {
    padding: 18px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
