/* =========================================================
   风车动漫 · 全站样式
   base → layout → components → pages → responsive
   ========================================================= */

/* ---------------------------------------------------------
   base：变量、重置、排版基调
   --------------------------------------------------------- */
:root {
  --paper: #fbfaf7;
  --ink: #1a1a1a;
  --ink-soft: #5c5c5c;
  --rule: #dcd8d0;
  --accent: #b4232a;
  --block: #f1efe9;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shell: 1120px;
  --main-col: 720px;
  --side-col: 320px;
  --radius: 6px;
  --gap: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
  font-weight: 700;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

time {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------
   layout：全站骨架（页头 / 主容器 / 面包屑 / 页脚）
   --------------------------------------------------------- */
.site-body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.inner-main {
  padding-top: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.page-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-description {
  max-width: 720px;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}

.page-lead {
  max-width: 720px;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--main-col)) minmax(0, var(--side-col));
  gap: var(--gap);
  align-items: start;
}

.page-layout.layout-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--side-col));
}

.page-main {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}

.sidebar-left .page-layout,
.sidebar-left.page-layout {
  grid-template-columns: minmax(0, var(--side-col)) minmax(0, var(--main-col));
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  margin-top: 8px;
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.footer-desc {
  color: var(--ink-soft);
  margin: 0;
  max-width: 320px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.footer-group {
  min-width: 0;
}

.footer-group-title {
  font-size: 15px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: var(--ink-soft);
  min-height: 24px;
  display: inline-block;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--rule);
}

.footer-copy {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* ---------------------------------------------------------
   components：页头、导航、标签、链接、卡片、表格
   --------------------------------------------------------- */
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
}

.site-header .brand:hover,
.site-header .brand:focus-visible {
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-slogan {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.nav-more {
  position: relative;
}

.nav-more-summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  border-bottom: 2px solid transparent;
}

.nav-more-summary::-webkit-details-marker {
  display: none;
}

.nav-more-summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-more-summary:hover,
.nav-more-summary:focus-visible {
  color: var(--accent);
}

.nav-more-list {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 176px;
  padding: 8px 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.08);
  z-index: 40;
}

.nav-more-list li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--ink);
}

.nav-more-list li a:hover,
.nav-more-list li a:focus-visible {
  color: var(--accent);
  background: var(--block);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle-label {
  font-size: 14px;
  color: var(--ink);
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.tag-genre,
.genre-tag,
.entry-tag {
  color: var(--accent);
  border-color: rgba(180, 35, 42, 0.35);
}

.tag-status,
.entry-status {
  color: var(--ink-soft);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
}

.inline-link {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent);
}

.inline-link:hover,
.inline-link:focus-visible {
  border-bottom-style: solid;
}

.section {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}

.section:first-child {
  border-top: 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  margin: 0 0 8px;
}

.section-desc,
.section-intro,
.section-lead {
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0;
}

.section-more {
  margin-top: 20px;
}

.column-title {
  font-size: 18px;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.content-media {
  margin: 32px 0 0;
}

.content-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.content-media figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 表格：字段含义 */
.field-table {
  font-size: 15px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.field-table caption,
.field-caption,
.field-table-caption {
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--block);
  border-bottom: 1px solid var(--rule);
}

.field-table th,
.field-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.field-table thead th {
  background: var(--block);
  font-family: var(--serif);
  font-size: 15px;
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.field-table tbody th {
  font-weight: 600;
  white-space: nowrap;
  width: 22%;
}

.field-table td:last-child {
  color: var(--ink-soft);
}

/* 相关链接列表 */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
}

.related-item {
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

.related-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.related-link:hover,
.related-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.related-desc,
.related-name {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.related-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

/* 按钮（404 页） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------------------------------------------------------
   pages：首页
   --------------------------------------------------------- */
.fact-bar {
  background: var(--block);
  border-bottom: 1px solid var(--rule);
}

.fact-bar-text {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 13px;
  color: var(--ink-soft);
}

.home-main {
  padding-top: 32px;
}

.hero {
  padding-bottom: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap);
  align-items: start;
}

.hero-main {
  min-width: 0;
}

.hero-kicker {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.hero-title {
  font-size: 40px;
  margin: 0 0 16px;
}

.hero-summary {
  max-width: 620px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.hero-figure {
  margin: 0 0 24px;
}

.hero-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.hero-caption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.hero-entry {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-entry-link {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.hero-entry-link:hover,
.hero-entry-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.hero-entry-note {
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
}

.hero-panel-title {
  font-size: 18px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.hero-update-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-update-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
}

.hero-update-date {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.hero-update-link {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.hero-update-link:hover,
.hero-update-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.hero-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-rank-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
}

.hero-rank-item .rank-no {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 700;
}

.hero-rank-link {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.hero-rank-link:hover,
.hero-rank-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.hero-panel-more {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* 题材分类总览 */
.genre-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.genre-column {
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.genre-name {
  font-size: 18px;
  margin: 0 0 8px;
}

.genre-scope {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  min-height: 44px;
}

.genre-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.genre-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.genre-item-link {
  color: var(--ink);
  font-weight: 600;
}

.genre-item-link:hover,
.genre-item-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* 最近更新记录 */
.update-list {
  display: flex;
  flex-direction: column;
}

.update-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 96px 128px;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.update-row:first-child {
  border-top: 1px solid var(--rule);
}

.update-date {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.update-link {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.update-link:hover,
.update-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.update-progress {
  color: var(--ink-soft);
  font-size: 14px;
  text-align: right;
}

/* 人气榜单与编辑选题 */
.ranking-columns {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap);
  align-items: start;
}

.ranking-main,
.ranking-aside {
  min-width: 0;
}

.rank-list {
  display: flex;
  flex-direction: column;
}

.rank-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 96px 88px;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.rank-row:first-child {
  border-top: 1px solid var(--rule);
}

.rank-no {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.rank-link {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.rank-link:hover,
.rank-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.topic-item {
  min-width: 0;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}

.topic-name {
  font-size: 16px;
  margin: 0 0 6px;
}

.topic-desc {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 6px;
}

.topic-scope {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* 阅读说明与内容反馈摘要 */
.guide-columns {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap);
  align-items: start;
}

.guide-main,
.guide-aside {
  min-width: 0;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feedback-type {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
}

.feedback-type:first-child {
  margin-top: 0;
}

.feedback-detail {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 站内栏目索引 */
.index-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.index-column {
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}

.index-link {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.index-link:hover,
.index-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.index-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

/* ---------------------------------------------------------
   pages：题材分类
   --------------------------------------------------------- */
.section-genre-intro .genre-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.genre-intro-card {
  min-width: 0;
  background: var(--block);
  border-radius: var(--radius);
  padding: 16px;
}

.genre-intro-name {
  font-size: 17px;
  margin: 0 0 8px;
}

.genre-intro-scope {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 8px;
}

.genre-intro-elements {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.genre-index-figure {
  margin: 0 0 28px;
}

.genre-index-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.genre-index-caption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.genre-group {
  margin-bottom: 28px;
}

.genre-group:last-child {
  margin-bottom: 0;
}

.genre-group-title {
  font-size: 18px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 96px 128px;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.entry-tag {
  font-size: 12px;
  border: 1px solid rgba(180, 35, 42, 0.35);
  border-radius: 3px;
  padding: 1px 8px;
  color: var(--accent);
  justify-self: start;
}

.entry-name {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.entry-status {
  font-size: 14px;
  color: var(--ink-soft);
}

.entry-progress {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: right;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.filter-item {
  min-width: 0;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.filter-title {
  font-size: 17px;
  margin: 0 0 8px;
}

.filter-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.section-related {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  margin-top: 8px;
}

/* ---------------------------------------------------------
   pages：最近更新
   --------------------------------------------------------- */
.updates-intro {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.intro-body {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 20px;
}

.intro-figure {
  margin: 0;
}

.intro-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.intro-figure figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.intro-text {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}

.intro-text a {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent);
}

.intro-text a:hover,
.intro-text a:focus-visible {
  border-bottom-style: solid;
}

.updates-list-section {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.update-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 88px 128px 88px;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.update-item:first-child {
  border-top: 1px solid var(--rule);
}

.update-entry {
  min-width: 0;
}

.entry-link {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.entry-link:hover,
.entry-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.genre-tag {
  font-size: 12px;
  border: 1px solid rgba(180, 35, 42, 0.35);
  border-radius: 3px;
  padding: 1px 8px;
  justify-self: start;
}

.update-status {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: right;
}

.updates-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.note-block {
  min-width: 0;
}

.note-figure {
  margin: 16px 0;
}

.note-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.note-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.note-subtitle {
  font-size: 16px;
  margin: 16px 0 6px;
}

.note-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.status-table {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.status-table th,
.status-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.status-table tr:last-child th,
.status-table tr:last-child td {
  border-bottom: 0;
}

.status-table th {
  background: var(--block);
  font-family: var(--serif);
  white-space: nowrap;
  width: 30%;
}

/* ---------------------------------------------------------
   pages：人气榜单
   --------------------------------------------------------- */
.ranking-figure {
  margin: 0 0 24px;
}

.ranking-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.ranking-figure-caption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.ranking-list {
  display: flex;
  flex-direction: column;
}

.ranking-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.ranking-item:first-child {
  border-top: 1px solid var(--rule);
}

.ranking-rank {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ranking-entry {
  min-width: 0;
}

.ranking-name {
  font-size: 17px;
  margin: 0 0 4px;
}

.ranking-link {
  color: var(--ink);
}

.ranking-link:hover,
.ranking-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.ranking-meta {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.method-block {
  min-width: 0;
  background: var(--block);
  border-radius: var(--radius);
  padding: 16px;
}

.method-title {
  font-size: 16px;
  margin: 0 0 8px;
}

.method-block p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.method-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.editorial-card {
  min-width: 0;
  border-top: 2px solid var(--accent);
  padding-top: 14px;
}

.editorial-name {
  font-size: 17px;
  margin: 0 0 8px;
}

.editorial-desc {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 8px;
}

.editorial-scope {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.scope-label {
  color: var(--accent);
  font-weight: 600;
  margin-right: 4px;
}

/* ---------------------------------------------------------
   pages：阅读说明
   --------------------------------------------------------- */
.guide-section {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.guide-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-figure {
  margin: 20px 0;
}

.guide-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.guide-figure-caption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  counter-reset: step;
}

.step-item {
  min-width: 0;
  padding-left: 20px;
  border-left: 2px solid var(--rule);
  counter-increment: step;
}

.step-title {
  font-size: 16px;
  margin: 0 0 6px;
}

.step-title::before {
  content: counter(step) ". ";
  color: var(--accent);
  font-family: var(--serif);
}

.step-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.feedback-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.feedback-col {
  min-width: 0;
}

.feedback-col-title {
  font-size: 16px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.feedback-col .feedback-list {
  gap: 8px;
}

.feedback-col .feedback-list li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.feedback-col .feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.feedback-note {
  margin-top: 24px;
  background: var(--block);
  border-radius: var(--radius);
  padding: 16px;
}

.feedback-note-title {
  font-size: 16px;
  margin: 0 0 8px;
}

.feedback-note p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.faq-item {
  border-top: 1px solid var(--rule);
  margin-top: 16px;
}

.faq-question {
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 14px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.page-aside .aside-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.page-aside .aside-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.aside-title {
  font-size: 16px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.aside-terms {
  margin: 0;
  font-size: 14px;
}

.aside-terms dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
}

.aside-terms dt:first-child {
  margin-top: 0;
}

.aside-terms dd {
  margin: 2px 0 0;
  color: var(--ink-soft);
}

.aside-text {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-link {
  font-size: 14px;
  color: var(--ink);
}

.aside-link:hover,
.aside-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------------------------------------------------------
   pages：404
   --------------------------------------------------------- */
.error-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 56px;
  padding-bottom: 64px;
}

.error-panel {
  max-width: 640px;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.error-code {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin: 0 0 12px;
}

.error-panel h1 {
  font-size: 32px;
  margin: 0 0 12px;
}

.error-text {
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.error-links h2 {
  font-size: 20px;
  margin: 0 0 16px;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
}

.error-link-list a {
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
  display: inline-block;
}

.error-link-list a:hover,
.error-link-list a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------------------------------------------------------
   responsive：760px 断点
   --------------------------------------------------------- */
@media (max-width: 760px) {
  h1,
  .page-title,
  .hero-title {
    font-size: 28px;
  }

  h2,
  .section-title {
    font-size: 21px;
  }

  .header-inner {
    padding: 0 16px;
    min-height: 64px;
    gap: 12px;
  }

  .brand-slogan {
    display: none;
  }

  .site-nav {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(26, 26, 26, 0.1);
    z-index: 40;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link,
  .nav-more-summary {
    display: flex;
    width: 100%;
    padding: 0 16px;
    border-bottom: 0;
  }

  .nav-link.is-current {
    background: var(--block);
    border-bottom: 0;
  }

  .nav-item-more {
    width: 100%;
  }

  .nav-more {
    width: 100%;
  }

  .nav-more-summary {
    justify-content: space-between;
  }

  .nav-more-list {
    position: static;
    width: 100%;
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0;
    background: var(--block);
  }

  .site-main {
    padding: 0 16px 40px;
  }

  .fact-bar-text {
    padding: 8px 16px;
  }

  .home-main {
    padding-top: 20px;
  }

  .hero-grid,
  .ranking-columns,
  .guide-columns,
  .page-layout,
  .page-layout.layout-shell,
  .sidebar-left .page-layout,
  .sidebar-left.page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figure img {
    height: 200px;
  }

  .hero-entries {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .genre-columns,
  .genre-intro-grid,
  .index-columns,
  .editorial-grid,
  .updates-notes,
  .method-grid,
  .filter-grid,
  .feedback-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-scope {
    min-height: 0;
  }

  .update-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .update-row .update-progress {
    text-align: left;
  }

  .rank-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 6px 10px;
  }

  .rank-row .tag {
    justify-self: start;
  }

  .entry-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .entry-item .entry-tag,
  .entry-item .entry-status,
  .entry-item .entry-progress {
    justify-self: start;
    text-align: left;
  }

  .update-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .update-item .genre-tag {
    justify-self: start;
  }

  .update-item .update-progress,
  .update-item .update-status {
    text-align: left;
  }

  .intro-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .ranking-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-rank {
    font-size: 22px;
  }

  .page-aside {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 24px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 16px 24px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-copy {
    padding: 16px;
  }

  .field-table thead th,
  .field-table tbody th {
    white-space: normal;
  }

  .field-table tbody th {
    width: auto;
  }

  .error-code {
    font-size: 44px;
  }

  .error-panel h1 {
    font-size: 24px;
  }
}
