/* ==========================================================================
   歪歪漫画在线 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --paper: #FBF8F1;
  --surface: #FFFFFF;
  --ink: #1E2A28;
  --ink-soft: #5D6B68;
  --teal: #1F6F63;
  --teal-soft: #DDEEE8;
  --orange: #E8843C;
  --orange-soft: #FBE7D6;
  --line: #E3DDD1;
  --focus: #2B5FD9;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 2px rgba(30, 42, 40, 0.06);
  --shadow-raise: 0 6px 18px rgba(30, 42, 40, 0.1);
  --container: 1180px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: #14493F;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 8px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  max-width: calc(100vw - 16px);
  padding: 8px 16px;
  background-color: var(--teal);
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: break-word;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transform: translateY(-140%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #FFFFFF;
}

/* ==========================================================================
   layout · 全站骨架
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-main {
  display: block;
  width: 100%;
  padding-bottom: 56px;
}

.inner-main {
  padding-top: 20px;
}

/* 通知条 */

.notice-bar,
.top-notice {
  background-color: var(--orange-soft);
  border-bottom: 1px solid #F3D6BC;
  font-size: 13px;
  line-height: 1.6;
}

.notice-bar-inner,
.top-notice-inner,
.notice-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.notice-dot,
.notice-bar-dot,
.notice-bar-icon,
.notice-icon {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--orange);
}

.notice-bar-icon,
.notice-icon {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.notice-text,
.notice-bar-text {
  flex: 1 1 auto;
  min-width: 0;
  color: #7A4A22;
  margin: 0;
}

.notice-link,
.notice-bar-link {
  flex: 0 0 auto;
  color: #A8551F;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(168, 85, 31, 0.4);
}

.notice-link:hover,
.notice-bar-link:hover {
  color: #7A3C12;
  border-bottom-color: #7A3C12;
}

/* 页头 */

.site-header {
  position: relative;
  z-index: 40;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 700;
}

.brand:hover {
  color: var(--teal);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--teal);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark::before {
  content: "漫";
}

.brand-name {
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: inline-block;
  padding: 8px 11px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--teal);
  background-color: var(--teal-soft);
}

.nav-list a.is-current {
  color: var(--teal);
  font-weight: 600;
  background-color: var(--teal-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 13px;
  border: 1px solid #F3D6BC;
  border-radius: 999px;
  background-color: var(--orange-soft);
  color: #8A4A1B;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.notice-pill:hover {
  color: #6E3A12;
  background-color: #F8DCC6;
}

.notice-pill-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background-color: var(--ink);
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--gutter) 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb-sep {
  color: #B4AEA1;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 页面标题区 */

.page-header {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter) 0;
}

.page-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.page-hero {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter) 0;
}

.page-hero-inner {
  display: block;
}

.page-hero-text {
  min-width: 0;
}

.page-eyebrow,
.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.page-lead {
  max-width: 780px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.meta-tags,
.page-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.meta-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background-color: var(--teal-soft);
  color: #1A5A50;
  font-size: 12px;
  line-height: 1.7;
}

/* 页脚 */

.site-footer {
  background-color: #F4EFE5;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px 28px;
  padding-top: 44px;
  padding-bottom: 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand .brand {
  color: var(--ink);
}

.footer-desc {
  margin-top: 12px;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
}

.footer-slogan {
  margin: 0;
  font-size: 13px;
  color: #7C8582;
}

/* ==========================================================================
   components · 通用按钮、标题、标签
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--teal);
  border-color: var(--teal);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #175A50;
  border-color: #175A50;
  color: #FFFFFF;
}

.btn-ghost {
  background-color: var(--surface);
  border-color: #C9D8D3;
  color: var(--teal);
}

.btn-ghost:hover {
  background-color: var(--teal-soft);
  border-color: var(--teal);
  color: #14493F;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background-color: var(--teal-soft);
  color: #14493F;
}

.section {
  padding-top: 48px;
}

.section-head {
  margin-bottom: 22px;
}

.section-title,
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.section-desc,
.section-head p {
  margin-top: 8px;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.section-lead {
  margin: 0 0 18px;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.section-foot-link {
  margin-top: 18px;
  font-size: 15px;
}

.text-link {
  color: var(--teal);
  font-weight: 600;
  border-bottom: 1px solid rgba(31, 111, 99, 0.35);
}

.text-link:hover {
  color: #14493F;
  border-bottom-color: #14493F;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}

.card-link::after {
  content: " →";
}

.card-link:hover {
  color: #14493F;
}

/* 题材标签 */

.theme-chip-list,
.filter-chip-list,
.filter-tag-list,
.stage-tags,
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-chip,
.filter-chip,
.filter-tag,
.stage-tags a {
  display: inline-block;
  padding: 8px 16px;
  min-height: 40px;
  border: 1px solid #CFDFDA;
  border-radius: 999px;
  background-color: var(--surface);
  color: #1A5A50;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

.theme-chip:hover,
.filter-chip:hover,
.filter-tag:hover,
.stage-tags a:hover {
  border-color: var(--teal);
  background-color: var(--teal-soft);
  color: #14493F;
}

.filter-chip.is-active {
  background-color: var(--teal);
  border-color: var(--teal);
  color: #FFFFFF;
  font-weight: 600;
}

/* 状态与更新类型标签 */

.status,
.update-type,
.batch-type,
.legend-mark {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}

.status-serial,
.status-ongoing,
.update-type-new,
.batch-type-new,
.legend-mark-new {
  background-color: var(--teal-soft);
  color: #1A5A50;
}

.status-finished,
.status-completed {
  background-color: #EFEADF;
  color: #6A6152;
}

.update-type-status,
.batch-type-status,
.legend-mark-status {
  background-color: var(--orange-soft);
  color: #8A4A1B;
}

.update-type-theme,
.batch-type-theme,
.legend-mark-theme {
  background-color: #E6EAF8;
  color: #34478F;
}

.update-type-note,
.batch-type-note,
.legend-mark-note {
  background-color: #EFEADF;
  color: #6A6152;
}

/* 表格通用 */

.table-wrap,
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.work-table,
.threshold-table,
.field-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.7;
}

.work-table th,
.threshold-table th,
.field-table th {
  padding: 12px 16px;
  background-color: #F6F2E9;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.work-table td,
.threshold-table td,
.field-table td {
  padding: 14px 16px;
  color: var(--ink);
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.work-table tbody tr:last-child td,
.threshold-table tbody tr:last-child td,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.work-table tbody tr:hover,
.threshold-table tbody tr:hover,
.field-table tbody tr:hover {
  background-color: #FCFAF5;
}

.work-table a,
.field-table a {
  color: var(--teal);
  font-weight: 600;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

.home-main {
  padding-bottom: 64px;
}

/* 首屏 */

.hero {
  padding-top: 32px;
  padding-bottom: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.hero-intro {
  min-width: 0;
  padding: 24px 24px 26px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hero-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.hero-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-tags {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.hero-tags li {
  padding: 2px 10px;
  border-radius: 999px;
  background-color: #F6F2E9;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

/* 封面墙 */

.hero-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.cover-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cover-card:hover {
  border-color: #C4D8D2;
  box-shadow: var(--shadow-raise);
}

.cover-card-main {
  grid-column: span 2;
}

.cover-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #EFEADF;
  overflow: hidden;
}

.cover-card-main .cover-media {
  aspect-ratio: 16 / 9;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
  background-color: rgba(31, 111, 99, 0.92);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.cover-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 12px;
}

.cover-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.cover-card-main .cover-title {
  font-size: 16px;
}

.cover-meta {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

/* 首屏最近更新 */

.hero-updates {
  min-width: 0;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.side-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.update-mini-list {
  display: flex;
  flex-direction: column;
}

.update-mini-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "batch type"
    "link link";
  gap: 4px 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.update-mini-item:first-child {
  padding-top: 0;
}

.update-mini-item .batch-no {
  grid-area: batch;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}

.update-mini-item .update-type {
  grid-area: type;
  justify-self: start;
}

.update-mini-item a {
  grid-area: link;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.update-mini-item a:hover {
  color: var(--teal);
}

.side-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}

.side-more::after {
  content: " →";
}

/* 人群分流 */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  border-color: #C4D8D2;
  box-shadow: var(--shadow-raise);
}

.audience-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.audience-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.audience-card .card-link {
  margin-top: auto;
  padding-top: 14px;
}

/* 题材快捷带 */

.theme-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  background-color: #F3F7F4;
  border: 1px solid #D6E5DF;
  border-radius: var(--radius);
}

.strip-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.strip-head p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* 作品目录预览 */

.catalog-preview-section .filter-chip-list {
  margin-bottom: 18px;
}

.work-table-wrap {
  width: 100%;
  overflow-x: auto;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-table caption {
  text-align: left;
}

.work-table .row-link {
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

.work-table .status {
  display: inline-block;
}

/* 榜单摘要 */

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease;
}

.ranking-item:hover {
  border-color: #C4D8D2;
}

.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--teal-soft);
  color: #1A5A50;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.rank-body {
  min-width: 0;
}

.rank-title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.rank-reason {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.rank-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.rank-link:hover {
  color: #14493F;
}

/* 三步选读路径 */

.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.steps-intro {
  min-width: 0;
}

.steps-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.steps-intro p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.steps-figure {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.steps-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.steps-figure figcaption {
  padding: 8px 12px 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps-list .step-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.steps-list .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background-color: var(--teal);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps-list .step-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.steps-list .step-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.steps-list .step-item .card-link {
  margin-top: auto;
  padding-top: 12px;
}

/* 更新记录摘要 */

.batch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.batch-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.batch-item .batch-no {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.batch-cell {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.batch-scope {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.batch-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.batch-link:hover {
  color: #14493F;
}

/* 阅读说明与 FAQ 摘要 */

.guide-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.guide-summary,
.faq-summary {
  min-width: 0;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.guide-summary h2,
.faq-summary h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.rule-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
}

.faq-link-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-link-list li {
  border-bottom: 1px dashed var(--line);
}

.faq-link-list li:last-child {
  border-bottom: 0;
}

.faq-link-list a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.faq-link-list a::after {
  content: " →";
  color: var(--teal);
}

.faq-link-list a:hover {
  color: var(--teal);
}

/* ==========================================================================
   pages · 作品目录
   ========================================================================== */

.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 28px;
}

.catalog-intro-text {
  min-width: 0;
}

.catalog-intro-text p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.filter-tags {
  min-width: 0;
  padding: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-tags-label {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.field-legend {
  padding-top: 36px;
}

.field-legend .legend-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.field-legend .legend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legend-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.legend-desc {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.entry-list-section {
  padding-top: 40px;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entry-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-row:hover {
  border-color: #C4D8D2;
  box-shadow: var(--shadow-raise);
}

.entry-cover {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #EFEADF;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.entry-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-body {
  min-width: 0;
}

.entry-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.entry-title a {
  color: var(--ink);
}

.entry-title a:hover {
  color: var(--teal);
}

.entry-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 16px;
}

.entry-field {
  min-width: 0;
}

.entry-field dt {
  color: #8A938F;
  font-size: 12px;
  line-height: 1.6;
}

.entry-field dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.entry-batch {
  color: var(--ink-soft);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.entry-action {
  flex: 0 0 auto;
}

.entry-action .btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.field-tips {
  padding-top: 40px;
}

.field-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.tip-block {
  min-width: 0;
  padding: 20px;
  background-color: #F3F7F4;
  border: 1px solid #D6E5DF;
  border-radius: var(--radius);
}

.tip-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.tip-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.related-links {
  padding-top: 40px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.related-item {
  min-width: 0;
}

.related-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-item a:hover {
  border-color: #C4D8D2;
  box-shadow: var(--shadow-raise);
}

.related-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.related-desc {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   pages · 题材分类
   ========================================================================== */

.theme-intro {
  padding-top: 28px;
}

.theme-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.theme-intro-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.theme-intro-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-caption {
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.theme-intro-text {
  min-width: 0;
}

.theme-intro-text p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.theme-grid-section {
  padding-top: 44px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.theme-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-card:hover {
  border-color: #C4D8D2;
  box-shadow: var(--shadow-raise);
}

.theme-badge {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background-color: var(--teal-soft);
  color: #1A5A50;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.theme-card-title {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.theme-card-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.theme-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.theme-facts dt {
  color: #8A938F;
  font-size: 13px;
  line-height: 1.7;
}

.theme-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.theme-card-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}

.theme-card-link::after {
  content: " →";
}

.theme-card-link:hover {
  color: #14493F;
}

.threshold-section {
  padding-top: 44px;
}

.threshold-table td:first-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.theme-bridge {
  padding-top: 44px;
}

.theme-bridge-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  background-color: #F3F7F4;
  border: 1px solid #D6E5DF;
  border-radius: var(--radius);
}

.theme-bridge-text {
  min-width: 0;
}

.theme-bridge-text p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.bridge-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bridge-links a {
  display: block;
  padding: 10px 14px;
  background-color: var(--surface);
  border: 1px solid #D6E5DF;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.bridge-links a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.related-section {
  padding-top: 44px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: #C4D8D2;
  box-shadow: var(--shadow-raise);
}

.related-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.related-text {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   pages · 榜单
   ========================================================================== */

.ranking-tabs-section {
  padding-top: 28px;
}

.ranking-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.ranking-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ranking-tab:hover {
  border-color: var(--teal);
  background-color: #F6FAF8;
}

.ranking-tab-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.ranking-tab-desc {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.ranking-list-section {
  padding-top: 44px;
}

.ranking-visual {
  margin: 0 0 24px;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.ranking-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ranking-visual figcaption {
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.ranking-group {
  margin-top: 32px;
}

.ranking-group:first-of-type {
  margin-top: 0;
}

.ranking-group-head {
  margin-bottom: 14px;
}

.ranking-group-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.ranking-group-head p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.ranking-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.ranking-row:hover {
  border-color: #C4D8D2;
}

.ranking-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: var(--teal-soft);
  color: #1A5A50;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ranking-body {
  min-width: 0;
}

.ranking-theme {
  display: inline-block;
  margin-bottom: 2px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.ranking-reason {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.ranking-entry {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.ranking-entry:hover {
  color: #14493F;
}

.ranking-rules-section {
  padding-top: 44px;
}

.ranking-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ranking-rules-col {
  min-width: 0;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.rules-list li {
  padding-left: 14px;
  border-left: 3px solid var(--teal-soft);
}

.rules-list h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.rules-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.rules-note {
  margin-top: 14px;
  padding: 12px 14px;
  background-color: var(--orange-soft);
  border-radius: var(--radius-sm);
  color: #7A4A22;
  font-size: 13px;
  line-height: 1.75;
}

/* ==========================================================================
   pages · 新读者路径 / 阅读说明（右栏指南页）
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
}

.layout-with-aside {
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
  align-items: start;
}

.page-main {
  min-width: 0;
}

.page-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.path-section .section-head,
.steps-section .section-head,
.checklist-section .section-head {
  margin-bottom: 18px;
}

.section-media {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.section-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-media figcaption {
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.path-index {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.path-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.path-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.path-facts dt {
  color: #8A938F;
  font-size: 13px;
  line-height: 1.7;
}

.path-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.path-link {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.path-link a {
  color: var(--teal);
}

.path-link a::after {
  content: " →";
}

.page-main .steps-section {
  margin-top: 44px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-list .step-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--teal);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step-body {
  min-width: 0;
}

.step-body h3,
.step-title {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.step-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.step-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}

.step-link::after {
  content: " →";
}

.checklist-section {
  margin-top: 44px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-item {
  min-width: 0;
  padding: 16px 18px;
  background-color: #F6FAF8;
  border: 1px solid #D6E5DF;
  border-radius: var(--radius);
}

.check-item h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.check-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

/* 侧栏卡片 */

.aside-card {
  min-width: 0;
  padding: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.aside-card h2,
.aside-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.aside-link-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-link-list li {
  border-bottom: 1px dashed var(--line);
}

.aside-link-list li:last-child {
  border-bottom: 0;
}

.aside-link-list a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.aside-link-list a:hover {
  color: var(--teal);
}

.aside-note {
  background-color: #F3F7F4;
  border-color: #D6E5DF;
}

.aside-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.aside-note-link {
  margin-top: 10px;
}

.aside-note-link a {
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
}

.aside-note-link a::after {
  content: " →";
}

/* 阅读说明正文 */

.guide-article .content-block {
  padding-top: 32px;
}

.guide-article .content-block:first-child {
  padding-top: 0;
}

.guide-article .content-block p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.article-figure {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.article-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.guide-article .table-scroll {
  margin-top: 14px;
}

.field-table td:first-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.tip-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.tip-card {
  min-width: 0;
  padding: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tip-card-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.tip-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.feedback-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.feedback-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background-color: #F6FAF8;
  border: 1px solid #D6E5DF;
  border-radius: var(--radius);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--teal);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}

.aside-summary .summary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.summary-list li {
  position: relative;
  padding-left: 15px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.summary-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--orange);
}

.related-entry {
  padding-top: 44px;
}

.related-entry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.related-entry-list a {
  display: block;
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  transition: border-color 0.2s ease;
}

.related-entry-list a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ==========================================================================
   pages · 更新记录
   ========================================================================== */

.batch-intro {
  padding-top: 28px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.intro-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.intro-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.intro-media-caption {
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.intro-body {
  min-width: 0;
}

.intro-body > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.intro-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.intro-tip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 12px 14px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.intro-tip-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}

.intro-tip-text {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.batch-section {
  padding-top: 44px;
}

.batch-group {
  margin-top: 24px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.batch-group:first-of-type {
  margin-top: 0;
}

.batch-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: baseline;
  padding: 16px 20px;
  background-color: #F6F2E9;
  border-bottom: 1px solid var(--line);
}

.batch-head .batch-no {
  grid-row: span 2;
  align-self: center;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.batch-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.batch-summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.batch-section .batch-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.batch-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.batch-row:last-child {
  border-bottom: 0;
}

.batch-row-body {
  min-width: 0;
}

.batch-row-title {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.batch-row-text {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.batch-row-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.batch-row-link:hover {
  color: #14493F;
}

.batch-legend {
  padding-top: 44px;
}

.batch-legend .legend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.batch-legend .legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  min-width: 0;
  padding: 16px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legend-body {
  min-width: 0;
}

.legend-title {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.legend-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.batch-check {
  padding-top: 44px;
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  background-color: #F3F7F4;
  border: 1px solid #D6E5DF;
  border-radius: var(--radius);
}

.check-body {
  min-width: 0;
}

.check-text {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.check-links {
  min-width: 0;
}

.check-links-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-list a {
  display: block;
  padding: 8px 12px;
  background-color: var(--surface);
  border: 1px solid #D6E5DF;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.link-list a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ==========================================================================
   pages · 常见问题
   ========================================================================== */

.faq-stage-bar {
  padding-top: 32px;
}

.faq-stage-bar .section-title {
  margin-bottom: 14px;
}

.faq-group {
  padding-top: 40px;
}

.faq-group-head {
  margin-bottom: 16px;
}

.group-index {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.faq-group-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.group-desc {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--teal-soft);
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #F6FAF8;
}

.faq-answer {
  padding: 0 18px 16px;
  border-top: 1px dashed var(--line);
}

.faq-answer p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.faq-next {
  font-weight: 600;
}

.faq-next a {
  color: var(--teal);
}

.faq-next a::after {
  content: " →";
}

.faq-next a:hover {
  color: #14493F;
}

.help-entries {
  padding-top: 44px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.help-card {
  min-width: 0;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.help-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.help-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

/* FAQ 页题图 */

.page-hero-media {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.page-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-hero-media figcaption {
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  padding-top: 56px;
  padding-bottom: 72px;
}

.error-wrap {
  max-width: 720px;
  text-align: left;
}

.error-code {
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.error-title {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
}

.error-desc {
  margin: 12px 0 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.error-links {
  margin-top: 36px;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-links-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.error-link-list a {
  display: block;
  padding: 8px 0;
  color: var(--teal);
  font-size: 15px;
  line-height: 1.6;
}

.error-link-list a:hover {
  color: #14493F;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-updates {
    grid-column: span 2;
  }

  .update-mini-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
  }

  .update-mini-item {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 0 20px 0 0;
  }

  .update-mini-item:first-child {
    padding-top: 0;
  }

  .update-mini-item:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-strip-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .field-legend .legend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .batch-legend .legend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: span 3;
  }

  .layout-with-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-aside {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-aside .aside-card {
    flex: 1 1 260px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    display: block;
    justify-content: flex-start;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 11px 12px;
    font-size: 15px;
  }

  .nav-list li {
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hero-updates {
    grid-column: auto;
  }

  .update-mini-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .update-mini-item {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .update-mini-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .batch-item {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "batch type"
      "cell cell"
      "scope link";
    gap: 6px 10px;
  }

  .batch-item .batch-no {
    grid-area: batch;
  }

  .batch-item .update-type {
    grid-area: type;
    justify-self: start;
  }

  .batch-item .batch-cell {
    grid-area: cell;
  }

  .batch-item .batch-scope {
    grid-area: scope;
  }

  .batch-item .batch-link {
    grid-area: link;
    justify-self: end;
  }

  .catalog-intro,
  .theme-intro-inner,
  .intro-layout,
  .theme-bridge-inner,
  .check-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .field-legend .legend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .entry-action {
    grid-column: span 2;
  }

  .entry-action .btn {
    width: 100%;
  }

  .entry-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-tips-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-list,
  .related-grid,
  .related-entry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ranking-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .ranking-rules-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .check-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .tip-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .batch-legend .legend-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
    padding-top: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-desc {
    max-width: none;
  }

  .page-aside {
    flex-direction: column;
  }

  .page-aside .aside-card {
    flex: 0 0 auto;
  }

  .ranking-item {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
      "rank body"
      "rank link";
    gap: 4px 12px;
    align-items: start;
  }

  .ranking-item .rank-no {
    grid-area: rank;
  }

  .ranking-item .rank-body {
    grid-area: body;
  }

  .ranking-item .rank-link {
    grid-area: link;
    justify-self: start;
  }

  .ranking-row {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
      "rank body"
      "rank entry";
    gap: 4px 12px;
    align-items: start;
  }

  .ranking-row .ranking-rank {
    grid-area: rank;
  }

  .ranking-row .ranking-body {
    grid-area: body;
  }

  .ranking-row .ranking-entry {
    grid-area: entry;
    justify-self: start;
  }

  .batch-row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "type body"
      "type link";
    gap: 4px 12px;
    align-items: start;
  }

  .batch-row .batch-type {
    grid-area: type;
  }

  .batch-row .batch-row-body {
    grid-area: body;
  }

  .batch-row .batch-row-link {
    grid-area: link;
    justify-self: start;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  body.site-body {
    font-size: 15px;
  }

  .notice-bar-inner,
  .top-notice-inner,
  .notice-inner {
    flex-wrap: wrap;
    gap: 4px 8px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .notice-text,
  .notice-bar-text {
    flex: 1 1 100%;
    order: 3;
    font-size: 12px;
  }

  .notice-link,
  .notice-bar-link {
    order: 2;
    margin-left: auto;
    font-size: 12px;
  }

  .notice-dot,
  .notice-bar-dot,
  .notice-bar-icon,
  .notice-icon {
    order: 1;
  }

  .brand-name {
    font-size: 16px;
  }

  .notice-pill {
    display: none;
  }

  .header-actions .btn {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-intro {
    padding: 20px 18px 22px;
  }

  .hero-intro h1 {
    font-size: 26px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-wall {
    gap: 10px;
  }

  .cover-card-main {
    grid-column: span 2;
  }

  .cover-media {
    aspect-ratio: 3 / 2;
  }

  .cover-card-main .cover-media {
    aspect-ratio: 16 / 10;
  }

  .section {
    padding-top: 36px;
  }

  .section-title,
  .section-head h2 {
    font-size: 20px;
  }

  .steps-intro h2,
  .faq-group-head h2 {
    font-size: 19px;
  }

  .theme-chip,
  .filter-chip,
  .filter-tag,
  .stage-tags a {
    padding: 7px 13px;
    font-size: 13px;
  }

  .theme-chip-list,
  .filter-chip-list,
  .filter-tag-list,
  .stage-tags {
    gap: 8px;
  }

  .work-table th,
  .work-table td,
  .threshold-table th,
  .threshold-table td,
  .field-table th,
  .field-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .entry-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .entry-cover {
    aspect-ratio: 16 / 9;
  }

  .entry-action {
    grid-column: auto;
  }

  .entry-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .field-legend .legend-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ranking-item {
    padding: 14px;
  }

  .ranking-row {
    padding: 12px 14px;
  }

  .batch-item {
    padding: 12px 14px;
  }

  .batch-head {
    padding: 14px 16px;
  }

  .batch-row {
    padding: 12px 16px;
  }

  .faq-item summary {
    padding: 13px 14px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 14px 14px;
  }

  .page-aside .aside-card,
  .aside-card,
  .help-card,
  .theme-card,
  .audience-card,
  .path-card,
  .tip-card,
  .tip-block,
  .ranking-rules-col {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .error-main {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .error-actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
