/* ============================================================
   base — 基础变量、重置与全局骨架
   ============================================================ */
:root {
  --bg-body: #f5f6f8;
  --bg-card: #ffffff;
  --text-main: #1f2328;
  --text-sub: #57606a;
  --text-muted: #6e7781;
  --border-color: #d0d7de;
  --border-light: #eaeef2;
  --status-green: #2da44e;
  --status-orange: #bf8700;
  --status-gray: #6e7781;
  --accent: #0969da;
  --accent-dark: #0550ae;
  --header-height: 60px;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas,
    monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 全站统一容器 */
.site-main,
.footer-inner,
.header-inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-main {
  flex: 1 0 auto;
}

/* ============================================================
   layout — 页头、导航、页脚、通用布局骨架
   ============================================================ */

/* ---------- 页头 ---------- */
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: normal;
}

.brand-link:hover .brand-name {
  color: var(--accent);
  text-decoration: none;
}

/* 桌面导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background-color: var(--bg-body);
  text-decoration: none;
}

.nav-item.is-current .nav-link {
  color: var(--text-main);
  font-weight: 600;
  background-color: transparent;
}

/* 当前栏目底部状态条 */
.nav-item.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px 1px 0 0;
}

/* 汉堡按钮（默认隐藏） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background-color: var(--bg-body);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 1px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  margin-top: 48px;
  flex-shrink: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-nav-list li,
.footer-legal-list li {
  margin-bottom: 6px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-sub);
}

.footer-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-boundary-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  text-align: center;
  padding: 16px 20px;
}

.copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- 通用内页骨架 ---------- */
.inner-main {
  padding-top: 24px;
  padding-bottom: 48px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-description {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 72ch;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-status-bar,
.page-statusbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 10px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-sub);
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
}

.status-item a {
  font-weight: 500;
}

.status-green {
  color: var(--status-green);
}

.status-gray {
  color: var(--status-gray);
}

.status-orange {
  color: var(--status-orange);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
  flex-shrink: 0;
}

.status-dot.status-green {
  background-color: var(--status-green);
}

.status-dot.status-live {
  background-color: var(--status-green);
}

.status-dot.status-pending {
  background-color: var(--status-orange);
}

.status-dot.status-done {
  background-color: var(--status-gray);
}

/* 侧栏在左的布局 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
}

/* 通用侧栏卡片 */
.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.sidebar-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 10px;
}

.sidebar-link {
  font-size: 13px;
  font-weight: 500;
}

/* 通用区块标题 */
.section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-intro {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 状态标签 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  color: var(--text-sub);
  border: 1px solid var(--border-light);
  line-height: 1.5;
}

.tag-green {
  color: var(--status-green);
  border-color: rgba(45, 164, 78, 0.25);
  background-color: rgba(45, 164, 78, 0.06);
}

.tag-orange {
  color: var(--status-orange);
  border-color: rgba(191, 135, 0, 0.25);
  background-color: rgba(191, 135, 0, 0.06);
}

.tag-gray {
  color: var(--status-gray);
}

.tag-romance {
  color: #b35900;
  border-color: rgba(179, 89, 0, 0.22);
  background-color: rgba(179, 89, 0, 0.05);
}

.tag-fantasy {
  color: #6f42c1;
  border-color: rgba(111, 66, 193, 0.22);
  background-color: rgba(111, 66, 193, 0.05);
}

.tag-suspense {
  color: #57606a;
  border-color: rgba(87, 96, 106, 0.25);
  background-color: rgba(87, 96, 106, 0.05);
}

.tag-campus {
  color: #0969da;
  border-color: rgba(9, 105, 218, 0.22);
  background-color: rgba(9, 105, 218, 0.05);
}

/* 文字颜色工具 */
.text-green {
  color: var(--status-green);
}

.text-orange {
  color: var(--status-orange);
}

.text-gray {
  color: var(--status-gray);
}

/* ============================================================
   components — 通用组件：表格、按钮、卡片、列表、FAQ
   ============================================================ */

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  line-height: 1.5;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-body);
  border-color: var(--text-muted);
  color: var(--text-main);
  text-decoration: none;
}

/* ---------- 内容媒体图 ---------- */
.content-media {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-media figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-muted);
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  line-height: 1.5;
}

.content-media-primary {
  width: 100%;
}

.content-media-primary img {
  aspect-ratio: 16 / 9;
}

.content-media-inline {
  max-width: 680px;
  margin-bottom: 20px;
}

.content-media-inline img {
  aspect-ratio: 16 / 7;
}

/* ---------- 数据表格 ---------- */
.data-table,
.update-table,
.ranking-table,
.info-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.4;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.data-table th,
.data-table td,
.update-table th,
.update-table td,
.ranking-table th,
.ranking-table td,
.info-table th,
.info-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.data-table thead th,
.update-table thead th,
.ranking-table thead th,
.info-table thead th {
  background-color: var(--bg-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
}

.data-table tbody tr:last-child td,
.update-table tbody tr:last-child td,
.ranking-table tbody tr:last-child td,
.info-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover,
.update-table tbody tr:hover,
.ranking-table tbody tr:hover,
.info-table tbody tr:hover {
  background-color: rgba(9, 105, 218, 0.03);
}

/* 条目链接 */
.entry-link,
.table-link {
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

.entry-link:hover,
.table-link:hover {
  text-decoration: underline;
}

/* 状态标签 */
.status-serial,
.entry-status.is-active,
.status-live {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(45, 164, 78, 0.08);
  color: var(--status-green);
  border: 1px solid rgba(45, 164, 78, 0.25);
  line-height: 1.5;
  white-space: nowrap;
}

.status-complete,
.entry-status.is-done {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(110, 119, 129, 0.08);
  color: var(--status-gray);
  border: 1px solid rgba(110, 119, 129, 0.25);
  line-height: 1.5;
  white-space: nowrap;
}

.status-pending,
.entry-status.is-pending {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(191, 135, 0, 0.08);
  color: var(--status-orange);
  border: 1px solid rgba(191, 135, 0, 0.25);
  line-height: 1.5;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: var(--bg-body);
}

.faq-answer {
  padding: 0 18px 14px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ============================================================
   pages — 首页及各内页专属样式
   ============================================================ */

/* ---------- 首页 ---------- */
.home-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
  align-items: start;
}

/* 左侧栏目索引 */
.index-nav {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.index-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.index-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.index-nav-item {
  border-radius: var(--radius-sm);
}

.index-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}

.index-nav-link:hover {
  background-color: var(--bg-body);
  text-decoration: none;
}

.index-nav-name {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

.index-nav-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.index-nav-status.status-green {
  background-color: var(--status-green);
}

.index-nav-status.status-orange {
  background-color: var(--status-orange);
}

.index-nav-status.status-gray {
  background-color: var(--status-gray);
}

/* 首页内容区 */
.home-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* 首屏 hero */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hero-slogan {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-figure {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 首页媒体图 */
.home-content .content-media-primary {
  margin-bottom: 4px;
}

/* 区块头部 */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-more {
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
}

.section-more:hover {
  text-decoration: underline;
}

/* 题材分类索引 */
.genre-index,
.recent-list,
.ranking-preview,
.path-guide {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.genre-compact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.genre-compact-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.genre-compact-item:hover {
  border-color: var(--border-color);
  background-color: var(--bg-card);
}

.genre-compact-link {
  display: block;
  padding: 12px 14px;
  min-height: 44px;
}

.genre-compact-link:hover {
  text-decoration: none;
}

.genre-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.genre-topic {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
}

.genre-count {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 最近更新 */
.recent-group {
  margin-bottom: 20px;
}

.recent-group:last-child {
  margin-bottom: 0;
}

.recent-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

/* 热门榜单节选 */
.ranking-compact-list {
  counter-reset: rank;
}

.ranking-compact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  min-height: 44px;
}

.ranking-compact-item:last-child {
  border-bottom: none;
}

.ranking-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ranking-compact-item:nth-child(1) .ranking-num {
  background-color: rgba(191, 135, 0, 0.12);
  color: var(--status-orange);
}

.ranking-compact-item:nth-child(2) .ranking-num {
  background-color: rgba(110, 119, 129, 0.1);
  color: var(--status-gray);
}

.ranking-compact-item:nth-child(3) .ranking-num {
  background-color: rgba(179, 89, 0, 0.1);
  color: #b35900;
}

.ranking-compact-item .entry-link {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-compact-item .tag {
  flex-shrink: 0;
}

/* 阅读路径提示 */
.path-guide .section-title {
  margin-bottom: 4px;
}

.path-guide .section-intro {
  margin-bottom: 20px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path-step {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  background-color: var(--bg-body);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ---------- 题材分类页 ---------- */
.genre-anchor {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.anchor-title,
.aside-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.anchor-list,
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anchor-item,
.menu-item {
  border-radius: var(--radius-sm);
}

.anchor-link,
.menu-link {
  display: block;
  padding: 9px 10px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
  min-height: 40px;
}

.anchor-link:hover,
.menu-link:hover {
  background-color: var(--bg-body);
  color: var(--text-main);
  text-decoration: none;
}

.anchor-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.note-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.note-text a {
  font-size: 12px;
}

/* 题材分组 */
.genre-list {
  min-width: 0;
}

.genre-group {
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  padding: 24px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.genre-group:last-child {
  margin-bottom: 0;
}

.genre-group-head {
  margin-bottom: 16px;
}

.genre-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.genre-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.genre-figure {
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: var(--bg-body);
  max-width: 420px;
}

.genre-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.genre-entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  min-height: 44px;
  flex-wrap: wrap;
}

.entry-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  min-width: 0;
}

.entry-tag {
  font-size: 12px;
  color: var(--text-sub);
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
}

.entry-status {
  margin-left: auto;
}

.entry-link {
  font-size: 13px;
}

/* 相关链接 */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 28px;
  padding: 16px 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.related-links-label {
  color: var(--text-sub);
  font-weight: 500;
}

.related-links-item {
  color: var(--accent);
}

.related-links-item:hover {
  text-decoration: underline;
}

/* ---------- 最近更新页 ---------- */
.recent-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.recent-table-wrap {
  min-width: 0;
}

.filter-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.filter-label {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
  margin-right: 4px;
}

.filter-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-sub);
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
  min-height: 36px;
  line-height: 1.4;
}

.filter-tag:hover {
  border-color: var(--border-color);
  color: var(--text-main);
  text-decoration: none;
}

.filter-tag.is-active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 500;
}

.filter-tag.is-active:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.date-group {
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.date-group-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

/* 更新表列宽 */
.col-thumb {
  width: 56px;
}

.col-name {
  width: auto;
}

.col-tag {
  width: 120px;
}

.col-status {
  width: 90px;
}

.col-time {
  width: 110px;
  white-space: nowrap;
}

.col-action {
  width: 80px;
  text-align: right;
}

.thumb-img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-body);
}

.table-footnote {
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  line-height: 1.6;
}

/* ---------- 热门榜单页 ---------- */
.filter-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.filter-panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-list li {
  border-radius: var(--radius-sm);
}

.filter-list a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
  min-height: 36px;
}

.filter-list a:hover {
  background-color: var(--bg-body);
  color: var(--text-main);
  text-decoration: none;
}

.filter-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}

.ranking-list {
  min-width: 0;
}

.ranking-table-wrap {
  margin-bottom: 32px;
}

.rank-row td {
  font-size: 14px;
}

.rank-num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  width: 48px;
}

.rank-name {
  font-weight: 500;
  color: var(--text-main);
}

.rank-group {
  margin-bottom: 32px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.rank-group .section-title {
  font-size: 18px;
}

.rank-simple-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-simple-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  min-height: 44px;
  flex-wrap: wrap;
}

.rank-simple-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.rank-simple-item a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-main);
}

.rank-simple-item a:hover {
  color: var(--accent);
  text-decoration: none;
}

.rank-simple-item .tag,
.rank-simple-item .status {
  flex-shrink: 0;
}

/* 榜单媒体区 */
.rank-media {
  margin-bottom: 32px;
}

.rank-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rank-media-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
}

.rank-media-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rank-media-item figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* 榜单说明 */
.rank-guide-note {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.rank-guide-note .section-title {
  margin-bottom: 8px;
}

.rank-guide-note .section-intro {
  margin-bottom: 0;
}

/* ---------- 阅读指南页 ---------- */
.guide-hero-figure {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
}

.guide-hero-img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

.guide-hero-caption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-card);
}

.step-list {
  margin-bottom: 32px;
}

.step-list .section-title {
  margin-bottom: 20px;
}

.step-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  margin-top: 2px;
}

.step-content {
  min-width: 0;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.step-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

.step-label:first-child {
  margin-top: 0;
}

.step-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.step-text a {
  font-weight: 500;
}

/* 状态说明 */
.status-note {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.status-note-intro {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.status-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

.status-list-item .status-dot {
  margin-top: 7px;
}

.status-list-item strong {
  color: var(--text-main);
  font-weight: 600;
  margin-right: 6px;
}

.status-note-tip {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  line-height: 1.6;
}

/* 边界备注 */
.boundary-note {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.boundary-intro {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.boundary-col-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.boundary-list li {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.boundary-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--text-muted);
}

.boundary-more {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

.boundary-more a {
  font-weight: 500;
}

/* 详情示例 */
.detail-example {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.detail-example-intro {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 10px;
}

.detail-example-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.detail-example-text a {
  font-weight: 500;
}

/* ---------- 作品详情页 ---------- */
.detail-main {
  min-width: 0;
}

.detail-info,
.detail-attribution,
.detail-summary {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.detail-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: var(--bg-body);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.info-table {
  font-size: 14px;
}

.info-table th {
  width: 100px;
  background-color: var(--bg-body);
  font-weight: 500;
  color: var(--text-sub);
  white-space: nowrap;
}

.info-table td {
  color: var(--text-main);
}

.attribution-block {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.attribution-block:first-child {
  padding-top: 0;
}

.attribution-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.block-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.block-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 8px;
}

.block-text:last-child {
  margin-bottom: 0;
}

/* 详情侧栏 */
.detail-sidebar {
  display: flex;
  flex-direction: column;
}

.record-list {
  display: flex;
  flex-direction: column;
}

.record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.record-item:last-child {
  border-bottom: none;
}

.record-date {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.record-action {
  color: var(--text-sub);
  text-align: right;
}

/* 相关推荐 */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  min-height: 40px;
}

.related-link {
  font-weight: 500;
  color: var(--text-main);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.related-tag {
  flex-shrink: 0;
}

/* ---------- 内容边界页 ---------- */
.misunderstand,
.facts,
.not-provided,
.feedback-path {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.misunderstand-list,
.facts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.misunderstand-item,
.fact-item {
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-body);
}

.item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.item-fact,
.item-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.not-provided-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.not-provided-item {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-sub);
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  line-height: 1.6;
  padding-left: 32px;
  position: relative;
}

.not-provided-item::before {
  content: "×";
  position: absolute;
  left: 14px;
  color: #cf222e;
  font-weight: 700;
}

.feedback-path-content {
  padding: 16px;
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
}

.feedback-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 8px;
}

.text-link {
  font-weight: 500;
}

.feedback-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 帮助反馈页 ---------- */
.feedback-menu {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.aside-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.feedback-content {
  min-width: 0;
}

.feedback-block {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.block-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.block-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 14px;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
  flex-wrap: wrap;
}

.item-label {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 72px;
}

.action-item a {
  font-weight: 500;
}

.faq-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

/* ---------- 404 页 ---------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: var(--bg-body);
}

.error-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.2;
  margin-bottom: 12px;
}

.error-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.error-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
}

.error-btn:hover {
  background-color: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   responsive — 响应式断点
   ============================================================ */

/* ---------- 平板（≤1024px） ---------- */
@media (max-width: 1024px) {
  .home-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr) 260px;
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .genre-compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 手机（≤768px） ---------- */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    min-height: var(--header-height);
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item.is-current::after {
    display: none;
  }

  .nav-link {
    padding: 12px 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-item.is-current .nav-link {
    background-color: var(--bg-body);
    border-left: 3px solid var(--accent);
    padding-left: 13px;
  }

  /* 首页布局：hero 优先 */
  .home-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
  }

  .index-nav {
    order: 10;
    position: static;
  }

  .index-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .index-nav-item {
    width: auto;
  }

  .index-nav-link {
    padding: 8px 12px;
  }

  .home-content {
    order: 1;
  }

  /* hero 垂直堆叠 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .hero-figure {
    max-width: 400px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* 首页模块间距 */
  .genre-index,
  .recent-list,
  .ranking-preview,
  .path-guide {
    padding: 20px;
  }

  .genre-compact-list {
    grid-template-columns: 1fr;
  }

  .path-steps {
    grid-template-columns: 1fr;
  }

  /* 内页布局：正文优先 */
  .page-layout,
  .page-layout.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .page-layout aside,
  .page-layout.sidebar-left aside {
    order: 2;
    position: static;
  }

  .page-layout section,
  .page-layout.sidebar-left section {
    order: 1;
  }

  /* 面包屑与标题 */
  .breadcrumb {
    margin-bottom: 16px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-status-bar,
  .page-statusbar {
    gap: 6px 12px;
    padding: 10px 12px;
  }

  /* 题材分类页 */
  .genre-group {
    padding: 20px;
  }

  .entry-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .entry-status {
    margin-left: 0;
  }

  /* 最近更新表 */
  .filter-tags {
    gap: 6px;
    padding: 10px 12px;
  }

  .filter-tag {
    padding: 5px 12px;
    font-size: 12px;
  }

  .update-table {
    font-size: 13px;
  }

  .update-table th,
  .update-table td {
    padding: 8px 6px;
  }

  .col-thumb {
    width: 44px;
  }

  .thumb-img {
    width: 40px;
    height: 54px;
  }

  .col-tag {
    width: auto;
  }

  .col-time {
    width: auto;
    font-size: 12px;
  }

  /* 榜单页 */
  .rank-media-grid {
    grid-template-columns: 1fr;
  }

  .rank-simple-item {
    gap: 8px;
  }

  /* 指南页 */
  .step-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .boundary-grid {
    grid-template-columns: 1fr;
  }

  /* 详情页 */
  .detail-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-cover {
    max-width: 240px;
  }

  /* 边界页 */
  .not-provided-list {
    grid-template-columns: 1fr;
  }

  /* 反馈页 */
  .action-item {
    flex-direction: column;
    gap: 4px;
  }

  .item-label {
    min-width: 0;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  /* 404 */
  .error-card {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 44px;
  }
}

/* ---------- 小屏手机（≤390px） ---------- */
@media (max-width: 390px) {
  .site-main,
  .footer-inner,
  .header-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .genre-compact-list {
    grid-template-columns: 1fr;
  }

  .entry-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .entry-status {
    margin-left: 0;
  }

  .update-table {
    font-size: 12px;
  }

  .update-table th,
  .update-table td {
    padding: 6px 4px;
  }

  .col-thumb {
    width: 36px;
  }

  .thumb-img {
    width: 32px;
    height: 44px;
  }

  .col-time {
    display: none;
  }

  .rank-simple-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .rank-simple-item a {
    width: 100%;
  }
}
