/* ==========================================================================
   shuiwubian.com — 91漫画 全站样式
   数据目录风：浅灰背景、卡片式封面墙、标签、表格化状态字段
   强调色：活力橙 #FF6B35 与青蓝 #1B9AAA
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base — 基础重置与全局令牌
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2328;
  background-color: #f6f7f9;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #1b9aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff6b35;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Layout — 全站统一外壳：页头 / 主容器 / 页脚 / 面包屑 / 页面标题区
   -------------------------------------------------------------------------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #ff6b35;
  letter-spacing: 0.02em;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #1f2328;
  border-radius: 6px;
}

.site-nav .nav-list li a:hover {
  color: #ff6b35;
  background: #f6f7f9;
}

.site-nav .nav-list li a.is-current {
  color: #ff6b35;
  background: #fff1ec;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #1f2328;
  border-radius: 2px;
}

.site-main {
  min-height: 60vh;
}

.site-main.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #57606a;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #57606a;
}

.breadcrumb a:hover {
  color: #ff6b35;
}

.breadcrumb-sep {
  color: #c0c4cc;
}

.breadcrumb-current {
  color: #1f2328;
  font-weight: 500;
}

.page-header {
  padding: 8px 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e5e7eb;
}

.page-title {
  font-size: 32px;
  color: #1f2328;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #57606a;
  max-width: 760px;
  margin: 0;
}

/* 页脚 */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  margin-top: 48px;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1f2328;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #57606a;
}

.footer-col ul li a:hover {
  color: #ff6b35;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid #f0f1f3;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: #8b949e;
  margin: 0;
}

/* 通用侧栏布局：侧栏在前，主内容在后 */
.layout-shell.sidebar-left,
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   Components — 封面卡 / 标签 / 模块标题 / 按钮 / 表格 / FAQ / 时间线
   -------------------------------------------------------------------------- */

/* 封面卡 */
.cover-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cover-card figcaption {
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2328;
  line-height: 1.4;
}

/* 模块标题 */
.module-title,
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2328;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff6b35;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1b9aaa;
  background: #eaf7f8;
  border: 1px solid #cdebed;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.tag:hover {
  background: #1b9aaa;
  color: #ffffff;
}

.tag-mini {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #57606a;
  background: #f0f1f3;
  border-radius: 4px;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: #ff6b35;
  color: #ffffff;
}

.btn-primary:hover {
  background: #e85a26;
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #1b9aaa;
  border-color: #1b9aaa;
}

.btn-secondary:hover {
  background: #1b9aaa;
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: #1b9aaa;
  border-color: #1b9aaa;
}

.btn-ghost:hover {
  background: #1b9aaa;
  color: #ffffff;
}

/* 表格 */
.catalog-table-wrap {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow-x: auto;
}

.works-table {
  min-width: 680px;
}

.works-table th,
.works-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eef0f2;
  vertical-align: middle;
}

.works-table th {
  font-size: 14px;
  font-weight: 700;
  color: #57606a;
  background: #fafbfc;
}

.works-table td {
  font-size: 14px;
  color: #1f2328;
}

.works-table tbody tr:last-child td {
  border-bottom: none;
}

.works-table tbody tr:hover {
  background: #fafbfc;
}

.cover-cell img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 4px;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
}

.status-serial {
  background: #fff1ec;
  color: #ff6b35;
}

.status-completed {
  background: #eaf7f8;
  color: #1b9aaa;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
  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: 20px;
  color: #1b9aaa;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 15px;
  color: #57606a;
}

/* 时间线 */
.timeline-list {
  display: flex;
  flex-direction: column;
}

.timeline-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f3;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.timeline-list li:last-child {
  border-bottom: none;
}

.timeline-list time {
  font-size: 13px;
  color: #8b949e;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.timeline-list a {
  font-size: 14px;
  color: #1f2328;
  font-weight: 500;
}

.timeline-list a:hover {
  color: #ff6b35;
}

/* 延伸入口列表 */
.entry-list li {
  margin-bottom: 10px;
}

.entry-list li a {
  display: block;
  padding: 10px 12px;
  background: #fafbfc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2328;
}

.entry-list li a:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  background: #fff8f4;
}

/* --------------------------------------------------------------------------
   Pages — 首页
   -------------------------------------------------------------------------- */
.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* 首屏编辑台 */
.hero-editorial {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 0 40px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #ff6b35;
  background: #fff1ec;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: #57606a;
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-coverwall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-coverwall .cover-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hero-coverwall .cover-card figcaption {
  font-size: 13px;
}

/* 分类标签条 */
.tag-strip {
  padding: 28px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 32px;
}

.tag-strip .section-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list .tag {
  padding: 6px 16px;
  font-size: 14px;
}

/* 三栏主体 */
.home-columns {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.home-aside .module,
.home-center .module {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.home-aside .module-title {
  font-size: 18px;
}

/* 左栏：题材索引 */
.genre-index-list li {
  margin-bottom: 8px;
}

.genre-index-list li a {
  display: block;
  padding: 8px 10px;
  background: #fafbfc;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2328;
}

.genre-index-list li a:hover {
  background: #eaf7f8;
  color: #1b9aaa;
}

/* 左栏：热门榜 */
.rank-list {
  counter-reset: rank;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f3;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-num {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: #c0c4cc;
  border-radius: 4px;
  flex-shrink: 0;
}

.rank-list li:nth-child(1) .rank-num {
  background: #ff6b35;
}

.rank-list li:nth-child(2) .rank-num {
  background: #ff8a5c;
}

.rank-list li:nth-child(3) .rank-num {
  background: #ffa585;
}

.rank-list li a {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #1f2328;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-list li a:hover {
  color: #ff6b35;
}

/* 中心：最近更新 */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.recent-updates .cover-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.recent-updates .cover-card figcaption time {
  font-size: 12px;
  color: #8b949e;
  flex-shrink: 0;
}

/* 中心：编辑推荐 */
.editor-feature .feature-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.editor-feature .feature-card img {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 8px;
  line-height: 1.6;
}

.feature-content a {
  font-size: 14px;
  font-weight: 600;
}

/* 右栏：更新动态 */
.update-timeline .timeline-list li {
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
}

.update-timeline .timeline-list time {
  font-size: 12px;
}

.update-timeline .timeline-list a {
  font-size: 14px;
}

/* 右栏：专题入口 */
.feature-entry .entry-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-entry .entry-list li a::after {
  content: "→";
  color: #1b9aaa;
  font-size: 14px;
}

/* 阅读路线提示 */
.route-steps {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
}

.route-steps .section-title {
  border-bottom: none;
  padding-bottom: 0;
}

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 20px 0 24px;
}

.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b35;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-item p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.6;
}

.route-steps .btn-ghost {
  display: inline-block;
}

/* 帮助摘要 */
.help-summary {
  margin-bottom: 24px;
}

.help-summary .section-title {
  border-bottom: none;
  padding-bottom: 0;
}

.help-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.help-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}

.help-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.help-card p {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 12px;
}

.help-card a {
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Pages — 漫画全览 91mh/works.html
   -------------------------------------------------------------------------- */

.filter-sidebar {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}

.filter-block {
  margin-bottom: 24px;
}

.filter-block h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f2;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tags .tag {
  font-size: 13px;
}

.filter-note {
  background: #fafbfc;
  border-radius: 6px;
  padding: 14px;
  font-size: 13px;
  color: #57606a;
  line-height: 1.7;
}

.filter-note p {
  margin: 0;
}

.filter-note strong {
  color: #1f2328;
}

.filter-note a {
  color: #1b9aaa;
  font-weight: 500;
}

.works-catalog {
  min-width: 0;
}

.catalog-block {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.catalog-block h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.catalog-intro {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 20px;
}

.catalog-extras {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}

.catalog-extras h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.extra-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.extra-links a {
  display: inline-block;
  padding: 8px 18px;
  background: #fafbfc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2328;
}

.extra-links a:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

/* --------------------------------------------------------------------------
   Pages — 题材索引 91mh/genres.html
   -------------------------------------------------------------------------- */

.genre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.genre-grid .section-title {
  grid-column: 1 / -1;
}

.genre-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.genre-card-head {
  margin-bottom: 16px;
}

.genre-card-head h3 {
  font-size: 18px;
  color: #ff6b35;
  margin-bottom: 4px;
}

.genre-card-head p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.6;
}

.genre-works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.genre-work {
  display: flex;
  flex-direction: column;
}

.genre-work img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.genre-work figcaption {
  font-size: 14px;
  font-weight: 500;
  color: #1f2328;
}

.genre-work figcaption a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-state {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #8b949e;
}

/* 标签说明 */
.tag-note {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.tag-note .section-title {
  border-bottom: none;
  padding-bottom: 0;
}

.tag-note p {
  font-size: 15px;
  color: #57606a;
  max-width: 760px;
  margin-bottom: 8px;
}

/* 延伸入口 */
.extend-links {
  margin-bottom: 24px;
}

.extend-links .section-title {
  border-bottom: none;
  padding-bottom: 0;
}

.extend-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f2;
}

.extend-row:last-child {
  border-bottom: none;
}

.extend-row a {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.extend-row p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Pages — 阅读路线 91mh/route.html
   -------------------------------------------------------------------------- */

.guide-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.guide-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px;
}

.guide-section h2 {
  font-size: 20px;
  color: #1f2328;
  margin-bottom: 8px;
}

.section-note {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 20px;
}

/* 准备事项 */
.prep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.prep-card {
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  padding: 16px;
}

.prep-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #ff6b35;
}

.prep-card p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.6;
}

.prep-card p a {
  font-weight: 500;
}

/* 操作步骤 */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps-list .step-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
}

.steps-list .step-num {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.steps-list .step-meta h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 15px;
  color: #57606a;
  margin-bottom: 12px;
  line-height: 1.7;
}

.step-figure {
  margin-top: 8px;
}

.step-figure img {
  max-width: 240px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

/* 检查点 */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 8px;
}

.check-label {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1b9aaa;
  min-width: 72px;
}

.check-item p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.6;
}

/* 后续行动 */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.action-card {
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  padding: 20px;
}

.action-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.action-card p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
}

.action-card p a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Pages — 编辑专题 91mh/features.html
   -------------------------------------------------------------------------- */

.feature-overview {
  margin-bottom: 40px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.section-heading p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
}

.feature-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card-list .feature-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  align-items: stretch;
}

.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.feature-card-body {
  padding: 20px 24px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card-body h3 {
  font-size: 20px;
  color: #ff6b35;
  margin-bottom: 8px;
}

.feature-card-body p {
  font-size: 15px;
  color: #57606a;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-card-body a {
  font-weight: 600;
  align-self: flex-start;
}

/* 专题详情 */
.feature-detail {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
}

.feature-detail-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef0f2;
}

.feature-detail-header h2 {
  font-size: 22px;
  color: #ff6b35;
  margin-bottom: 4px;
}

.feature-detail-desc {
  font-size: 15px;
  color: #57606a;
  margin: 0;
  max-width: 720px;
}

.feature-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.feature-work-item {
  display: flex;
  flex-direction: column;
}

.feature-work-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.feature-work-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-work-info p {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 4px;
  line-height: 1.6;
}

.feature-work-note {
  font-size: 13px;
  color: #8b949e;
}

.feature-order-tip {
  background: #fff8f4;
  border: 1px solid #ffe3d6;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  color: #57606a;
  margin: 0;
}

.feature-order-tip strong {
  color: #ff6b35;
}

/* 专题延伸 */
.feature-extend {
  margin-bottom: 24px;
}

.extend-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.extend-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.extend-link-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f2;
}

.extend-link-item:last-child {
  border-bottom: none;
}

.extend-link-item a {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.extend-link-item p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Pages — 更新动态 91mh/updates.html
   -------------------------------------------------------------------------- */

.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.layout-aside h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f2;
}

.filter-tag-list,
.filter-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-status-list {
  flex-direction: column;
  align-items: flex-start;
}

.filter-status-list .tag {
  display: block;
}

.filter-tip {
  font-size: 13px;
  color: #57606a;
  background: #fafbfc;
  padding: 12px;
  border-radius: 6px;
  line-height: 1.6;
}

.filter-tip a {
  font-weight: 500;
}

.layout-main {
  min-width: 0;
}

.updates-timeline {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.updates-timeline h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.update-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eef0f2;
  align-items: flex-start;
}

.update-item:last-child {
  border-bottom: none;
}

.update-thumb img {
  width: 88px;
  height: 117px;
  object-fit: cover;
  border-radius: 6px;
}

.update-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.update-meta {
  font-size: 13px;
  color: #8b949e;
  margin-bottom: 6px;
}

.update-status {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 6px;
}

.status-ongoing {
  background: #fff1ec;
  color: #ff6b35;
}

.status-finished {
  background: #eaf7f8;
  color: #1b9aaa;
}

.update-note {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.6;
}

/* 状态说明 */
.status-note {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.status-note h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.status-note p {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 8px;
  line-height: 1.7;
}

.status-note p:last-child {
  margin-bottom: 0;
}

.status-note a {
  font-weight: 500;
}

/* 额外入口 */
.updates-extra {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}

.updates-extra h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.updates-extra p {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 8px;
}

.updates-extra a {
  font-weight: 600;
  margin-right: 16px;
}

/* --------------------------------------------------------------------------
   Pages — 帮助与规则 91mh/help.html
   -------------------------------------------------------------------------- */

.help-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f2;
}

.sidebar-links li {
  margin-bottom: 8px;
}

.sidebar-links li a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: #57606a;
  border-radius: 4px;
}

.sidebar-links li a:hover {
  background: #fafbfc;
  color: #ff6b35;
}

.help-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.content-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px;
}

.content-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 15px;
  color: #57606a;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* 内容配图 */
.content-media {
  margin-bottom: 20px;
}

.content-media img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.content-media figcaption {
  font-size: 13px;
  color: #8b949e;
  padding: 8px 0 0;
  text-align: center;
}

.content-media-inline {
  max-width: 640px;
  margin: 0 auto 20px;
}

/* 规则卡 */
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rule-card {
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  padding: 16px;
}

.rule-card h3 {
  font-size: 15px;
  color: #1b9aaa;
  margin-bottom: 6px;
}

.rule-card p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.6;
}

/* 反馈与边界 */
.feedback-block,
.boundary-block {
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.feedback-block h3,
.boundary-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feedback-block p,
.boundary-block p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.7;
}

/* 延伸阅读入口 */
.content-section.extend-links {
  background: transparent;
  border: none;
  padding: 0;
}

.extend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.extend-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.extend-card:hover {
  border-color: #ff6b35;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.extend-card h3 {
  font-size: 16px;
  color: #1f2328;
  margin-bottom: 4px;
}

.extend-card:hover h3 {
  color: #ff6b35;
}

.extend-card p {
  font-size: 14px;
  color: #57606a;
  margin: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.error-panel {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 48px 32px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: #ff6b35;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #57606a;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #ff6b35;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 24px;
}

.error-btn:hover {
  background: #e85a26;
  color: #ffffff;
}

.error-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.error-links a {
  font-size: 14px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Responsive — 响应式断点
   桌面 ≥993px / 平板 769-992px / 手机 ≤768px
   -------------------------------------------------------------------------- */

/* 平板 */
@media (max-width: 992px) {
  .header-inner {
    padding: 0 16px;
  }

  .site-main.inner-main {
    padding: 20px 16px;
  }

  /* 首页三栏降为两栏：中心 + 左栏，右栏并入下方 */
  .home-columns {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .sidebar-right {
    grid-column: 1 / -1;
  }

  .sidebar-right .module {
    margin-bottom: 0;
  }

  .sidebar-right .entry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* 内页侧栏布局 */
  .layout-shell.sidebar-left,
  .page-layout.sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .prep-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rule-grid {
    grid-template-columns: 1fr;
  }

  .extend-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-list .feature-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

/* 手机 */
@media (max-width: 768px) {
  /* 页头：汉堡菜单 */
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    gap: 4px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li a {
    padding: 12px 16px;
    font-size: 16px;
  }

  /* 主容器 */
  .site-main.inner-main {
    padding: 16px 16px 24px;
  }

  .home-main {
    padding: 16px 16px 24px;
  }

  .page-header {
    padding: 4px 0 20px;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-description {
    font-size: 15px;
  }

  /* 首页首屏：文字在上，封面墙在下 */
  .hero-editorial {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0 28px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-coverwall {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-coverwall .cover-card figcaption {
    font-size: 12px;
    padding: 6px 8px;
  }

  /* 首页三栏：中心 → 左栏 → 右栏 */
  .home-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-center {
    order: 1;
  }

  .sidebar-left {
    order: 2;
  }

  .sidebar-right {
    order: 3;
    grid-column: auto;
  }

  .sidebar-right .entry-list {
    grid-template-columns: 1fr;
  }

  .cover-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .editor-feature .feature-card {
    flex-direction: column;
  }

  .editor-feature .feature-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* 步骤条 */
  .steps-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .help-cards {
    grid-template-columns: 1fr;
  }

  /* 内页侧栏：主内容在前，侧栏在后 */
  .layout-shell.sidebar-left,
  .page-layout.sidebar-left {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .layout-shell.sidebar-left .filter-sidebar,
  .page-layout.sidebar-left .layout-aside,
  .layout-shell.sidebar-left .help-sidebar {
    order: 2;
  }

  .layout-shell.sidebar-left .works-catalog,
  .page-layout.sidebar-left .layout-main,
  .layout-shell.sidebar-left .help-content {
    order: 1;
  }

  /* 题材索引 */
  .genre-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .genre-grid .section-title {
    grid-column: auto;
  }

  .genre-works {
    grid-template-columns: 1fr 1fr;
  }

  /* 阅读路线 */
  .prep-grid {
    grid-template-columns: 1fr;
  }

  .steps-list .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  /* 编辑专题 */
  .feature-card-list .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card-media img {
    aspect-ratio: 16 / 9;
  }

  .feature-card-body {
    padding: 16px;
  }

  .feature-works {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-work-cover img {
    max-width: 200px;
  }

  /* 更新动态 */
  .update-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .update-thumb img {
    width: 64px;
    height: 85px;
  }

  /* 帮助 */
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .extend-grid {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    padding: 12px 16px 16px;
    flex-direction: column;
    text-align: center;
  }

  /* 表格横向滚动 */
  .catalog-table-wrap {
    overflow-x: auto;
  }
}

/* 小屏手机 */
@media (max-width: 420px) {
  .hero-coverwall {
    grid-template-columns: repeat(2, 1fr);
  }

  .cover-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .genre-works {
    grid-template-columns: 1fr;
  }
}
