/* ==========================================================================
   韩漫屋漫画免费app · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f5f7f6;
  color: #1b2422;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

body.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #16211f;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt,
figure,
figcaption {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #1f9d7a;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #0f3b34;
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th {
  text-align: left;
  font-weight: 600;
}

code,
kbd,
samp {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid #1f9d7a;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 页头
   -------------------------------------------------------------------------- */

.site-header {
  background-color: #0f3b34;
  color: #e8f1ee;
  border-bottom: 1px solid #0b2c27;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: #ffffff;
  text-decoration: none;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: block;
}

.nav-link {
  display: inline-block;
  padding: 6px 10px;
  color: #cfe3dd;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
  text-decoration: none;
  border-bottom-color: #4d7d71;
}

.nav-link.is-current {
  color: #ffffff;
  font-weight: 600;
  border-bottom-color: #1f9d7a;
}

.lang-state {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid #2c5c51;
  border-radius: 4px;
  color: #a9c9c0;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #2c5c51;
  border-radius: 4px;
  position: relative;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 15px;
  height: 2px;
  background-color: #e8f1ee;
  box-shadow: 0 6px 0 #e8f1ee, 0 12px 0 #e8f1ee;
}

.menu-toggle:hover {
  border-color: #4d7d71;
}

.mobile-nav {
  background-color: #0b2c27;
  border-top: 1px solid #1c4a41;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6px 20px 12px;
  display: block;
}

.mobile-nav-list li {
  display: block;
  border-bottom: 1px solid #1c4a41;
}

.mobile-nav-list li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #cfe3dd;
  font-size: 15px;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus-visible {
  color: #ffffff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   layout · 主体容器
   -------------------------------------------------------------------------- */

.site-main {
  flex: 1 1 auto;
  display: block;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.home-main {
  display: block;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb a {
  color: #5d6d68;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #1f9d7a;
}

.breadcrumb-sep {
  color: #9aa8a4;
}

.breadcrumb-current {
  color: #1b2422;
}

/* 页面标题区 */

.page-header {
  margin-bottom: 8px;
}

.page-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
  color: #16211f;
}

section.page-title,
div.page-title {
  max-width: 1120px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: none;
}

.page-lead,
.page-lede {
  max-width: 68ch;
  margin-bottom: 8px;
  color: #3d4b47;
  font-size: 15px;
  line-height: 1.8;
}

.page-status,
.page-meta {
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   layout · 页脚
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: #0f3b34;
  color: #a9c9c0;
  font-size: 13px;
  line-height: 1.75;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 24px 28px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.footer-summary {
  color: #a9c9c0;
  font-size: 13px;
}

.footer-title {
  margin-bottom: 8px;
  color: #e8f1ee;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-list li {
  display: block;
  margin-bottom: 4px;
}

.footer-list a {
  color: #a9c9c0;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1c4a41;
}

.footer-bottom p {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  color: #8fb0a7;
  font-size: 12px;
  line-height: 1.7;
}

.footer-bottom p + p {
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   components · 通用区块与标题
   -------------------------------------------------------------------------- */

.section,
.section-block {
  margin-bottom: 44px;
}

.section-head {
  margin-bottom: 16px;
}

.section h2,
.section-block h2,
.section-title {
  position: relative;
  margin-bottom: 8px;
  padding-left: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.section h2::before,
.section-block h2::before,
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: #1f9d7a;
  border-radius: 2px;
}

.section h3,
.section-block h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.section-sub,
.section-intro,
.section-lead {
  max-width: 68ch;
  color: #5d6d68;
  font-size: 14px;
  line-height: 1.8;
}

.section-sub a {
  color: #1f9d7a;
}

.section-more {
  margin-top: 14px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1f9d7a;
  font-size: 14px;
}

.link-arrow::after {
  content: "→";
  font-size: 13px;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: #0f3b34;
}

.text-link {
  display: inline-block;
  color: #1f9d7a;
  font-size: 14px;
}

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  background-color: #1f9d7a;
  border-color: #1f9d7a;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #17805f;
  border-color: #17805f;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background-color: #ffffff;
  border-color: #d9e1de;
  color: #0f3b34;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #1f9d7a;
  color: #1f9d7a;
  text-decoration: none;
}

/* 徽标 */

.badge,
.status-badge {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-ongoing,
.status-running {
  background-color: #e6f5f0;
  border-color: #b3e0d1;
  color: #14664f;
}

.badge-finished,
.status-finished {
  background-color: #eef2f1;
  border-color: #d9e1de;
  color: #45534f;
}

.badge-irregular,
.status-irregular {
  background-color: #fdf4e0;
  border-color: #ecd39a;
  color: #8a6212;
}

/* 标签条 */

.tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag,
.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 4px;
  color: #45534f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag:hover,
.tag-chip:hover {
  border-color: #1f9d7a;
  color: #14664f;
}

.tag.is-active,
.tag-chip.is-active {
  background-color: #1f9d7a;
  border-color: #1f9d7a;
  color: #ffffff;
}

.filter-note {
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.75;
}

/* 定义列表 */

.definition-list,
.field-list {
  display: block;
}

.definition-row,
.field-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid #d9e1de;
}

.definition-row:first-child,
.field-row:first-child {
  border-top: 1px solid #d9e1de;
}

.definition-row dt,
.field-row dt {
  color: #16211f;
  font-weight: 600;
  font-size: 14px;
}

.definition-row dd,
.field-row dd {
  min-width: 0;
  color: #3d4b47;
  font-size: 14px;
  line-height: 1.8;
}

.field-list .field-row {
  grid-template-columns: minmax(110px, 150px) minmax(220px, 1fr) minmax(140px, 220px);
}

.field-name {
  color: #16211f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field-meaning {
  color: #3d4b47;
}

.field-position {
  color: #5d6d68;
  font-size: 13px;
}

/* 表格 */

.table-wrap {
  overflow-x: auto;
}

.data-table,
.rhythm-table,
.rules-table {
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  font-size: 14px;
}

.data-table caption,
.rhythm-table caption,
.rules-table caption {
  padding: 0 0 8px;
  color: #5d6d68;
  font-size: 13px;
  text-align: left;
}

.data-table th,
.data-table td,
.rhythm-table th,
.rhythm-table td,
.rules-table th,
.rules-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #d9e1de;
  border-right: 1px solid #d9e1de;
  vertical-align: top;
  text-align: left;
  line-height: 1.7;
}

.data-table th:last-child,
.data-table td:last-child,
.rhythm-table th:last-child,
.rhythm-table td:last-child,
.rules-table th:last-child,
.rules-table td:last-child {
  border-right: 0;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.rhythm-table tbody tr:last-child th,
.rhythm-table tbody tr:last-child td,
.rules-table tbody tr:last-child th,
.rules-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table thead th,
.rhythm-table thead th,
.rules-table thead th {
  background-color: #eef2f1;
  color: #16211f;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody th,
.rhythm-table tbody th,
.rules-table tbody th {
  background-color: #f8faf9;
  color: #16211f;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody td,
.rhythm-table tbody td,
.rules-table tbody td {
  color: #3d4b47;
}

.table-notes {
  margin-top: 14px;
}

.table-notes h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.note-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background-color: #1f9d7a;
  border-radius: 50%;
}

.table-note {
  margin-top: 12px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

/* 编号步骤 */

.step-list,
.steps-list,
.reading-steps {
  display: grid;
  gap: 12px;
}

.step-item,
.reading-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.step-num,
.step-index,
.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 4px;
  color: #14664f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1;
}

.step-body,
.step-text {
  min-width: 0;
  color: #3d4b47;
  font-size: 14px;
  line-height: 1.8;
}

.step-body h3,
.step-title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}

/* 要点列表 */

.point-list li,
.tip-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: #3d4b47;
  font-size: 14px;
  line-height: 1.8;
}

.point-list li::before,
.tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background-color: #1f9d7a;
  border-radius: 50%;
}

/* 图片图注 */

.media-figure,
.archive-figure {
  margin-bottom: 18px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  overflow: hidden;
}

.media-figure img,
.archive-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #eef2f1;
}

.media-figure figcaption,
.archive-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid #d9e1de;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.7;
}

/* 相关入口 · 通用 */

.related-entry {
  margin-bottom: 44px;
}

.related-entry h2 {
  position: relative;
  margin-bottom: 12px;
  padding-left: 12px;
  font-size: 20px;
}

.related-entry h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: #1f9d7a;
  border-radius: 2px;
}

.entry-grid,
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.entry-card,
.related-list li {
  min-width: 0;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.entry-card a,
.related-list a {
  display: inline-block;
  margin-bottom: 4px;
  color: #14664f;
  font-size: 15px;
  font-weight: 600;
}

.entry-card p {
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.hero {
  background-color: #ffffff;
  border-bottom: 1px solid #d9e1de;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  margin-bottom: 12px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.35;
  color: #16211f;
}

.hero-lead {
  max-width: 62ch;
  margin-bottom: 20px;
  color: #3d4b47;
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  min-width: 0;
  background-color: #eef2f1;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid #d9e1de;
  color: #5d6d68;
  font-size: 12px;
  line-height: 1.6;
}

.hero-index {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-index-item {
  min-width: 0;
  padding: 12px 14px;
  background-color: #f8faf9;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.hero-index-name {
  display: block;
  margin-bottom: 4px;
  color: #14664f;
  font-size: 14px;
  font-weight: 600;
}

.hero-index-desc {
  display: block;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.7;
}

.home-main > .section {
  max-width: 1120px;
  margin: 0 auto 44px;
  padding: 0 20px;
}

.home-main > .section:first-of-type {
  padding-top: 36px;
}

/* 分区书架速览：7 项 = 主项跨 2 列 + 6 项，4 列网格正好三行铺满 */

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shelf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.shelf-card:hover {
  border-color: #1f9d7a;
}

.shelf-card-feature {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.shelf-cover {
  min-width: 0;
  margin: 0;
  background-color: #eef2f1;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  overflow: hidden;
}

.shelf-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.shelf-body {
  min-width: 0;
}

.shelf-name {
  margin-bottom: 6px;
  color: #16211f;
  font-size: 17px;
  font-weight: 600;
}

.shelf-desc {
  margin-bottom: 10px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.75;
}

.shelf-fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eef2f1;
}

.shelf-fields dt {
  color: #5d6d68;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.shelf-fields dd {
  min-width: 0;
  color: #1b2422;
  font-size: 13px;
  line-height: 1.8;
}

/* 封面墙 */

.cover-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cover-card {
  min-width: 0;
  padding: 12px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.cover-card:hover {
  border-color: #1f9d7a;
}

.cover-media {
  margin: 0 0 10px;
  background-color: #eef2f1;
  border: 1px solid #eef2f1;
  border-radius: 4px;
  overflow: hidden;
}

.cover-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cover-name {
  margin-bottom: 6px;
  color: #16211f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.7;
}

/* 条目整理原则 */

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.principle-block {
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.principle-block h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.principle-block p {
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

/* 阅读手册要点 */

.reading-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reading-step {
  padding: 14px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.reading-step .step-body h3 {
  font-size: 15px;
}

.reading-step .step-body p {
  color: #5d6d68;
  font-size: 13px;
}

/* 反馈入口条 */

.feedback-bar {
  max-width: 1120px;
  margin: 0 auto 44px;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-left: 3px solid #1f9d7a;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.feedback-title {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 600;
}

.feedback-desc {
  flex: 1 1 260px;
  min-width: 0;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.75;
}

.feedback-bar .link-arrow {
  flex: 0 0 auto;
}

/* 首页相关链接条 */

.home-main > .related-links {
  max-width: 1120px;
  margin: 0 auto 44px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.related-links-label {
  color: #5d6d68;
  font-size: 13px;
}

.related-links-item {
  color: #1f9d7a;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   pages · 分区书架
   -------------------------------------------------------------------------- */

.section-division,
.section-zone,
.section-filter,
.section-related {
  margin-bottom: 44px;
}

.division-list .definition-row {
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
}

.zone-block {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid #d9e1de;
}

.zone-block:last-child {
  border-bottom: 1px solid #d9e1de;
}

.zone-cover {
  min-width: 0;
  margin: 0;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  overflow: hidden;
}

.zone-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.zone-cover figcaption {
  padding: 8px 12px;
  border-top: 1px solid #d9e1de;
  color: #5d6d68;
  font-size: 12px;
  line-height: 1.6;
}

.zone-info {
  min-width: 0;
}

.zone-info h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.zone-info .field-list {
  margin-bottom: 8px;
}

.zone-info .field-row {
  grid-template-columns: minmax(90px, 120px) minmax(0, 1fr);
  padding: 8px 0;
}

.zone-note {
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

.section-filter .tag-bar {
  margin-bottom: 12px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.related-card {
  display: block;
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  color: inherit;
}

.related-card:hover,
.related-card:focus-visible {
  border-color: #1f9d7a;
  text-decoration: none;
}

.related-card h3 {
  margin-bottom: 6px;
  color: #14664f;
  font-size: 16px;
}

.related-card p {
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   pages · 更新节奏
   -------------------------------------------------------------------------- */

.rhythm-table {
  table-layout: fixed;
}

.rhythm-table th,
.rhythm-table td {
  padding: 12px 14px;
}

.rhythm-table thead th:first-child,
.rhythm-table tbody th {
  width: 20%;
}

.status-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.status-item {
  display: grid;
  grid-template-columns: minmax(90px, 130px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.status-item p {
  min-width: 0;
  color: #3d4b47;
  font-size: 14px;
  line-height: 1.8;
}

.step-list {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   pages · 选读清单
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 32px;
  align-items: start;
  margin-bottom: 44px;
}

.layout-main {
  min-width: 0;
}

.layout-aside {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.picks-list h2,
.aside-block h2 {
  position: relative;
  margin-bottom: 10px;
  padding-left: 12px;
  font-size: 20px;
}

.picks-list h2::before,
.aside-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: #1f9d7a;
  border-radius: 2px;
}

.picks-list .section-intro {
  margin-bottom: 16px;
}

.pick-item {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  margin-bottom: 14px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.pick-item:hover {
  border-color: #1f9d7a;
}

.pick-media {
  min-width: 0;
  margin: 0;
  background-color: #eef2f1;
  border: 1px solid #eef2f1;
  border-radius: 4px;
  overflow: hidden;
}

.pick-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pick-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid #eef2f1;
  color: #5d6d68;
  font-size: 12px;
  line-height: 1.6;
}

.pick-body {
  min-width: 0;
}

.pick-body h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.pick-body p {
  margin-bottom: 10px;
  color: #3d4b47;
  font-size: 14px;
  line-height: 1.8;
}

.pick-fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f1;
}

.pick-fields dt {
  color: #5d6d68;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pick-fields dd {
  min-width: 0;
  color: #1b2422;
  font-size: 13px;
  line-height: 1.8;
}

.aside-block {
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.aside-intro {
  margin-bottom: 12px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

.steps-list {
  grid-template-columns: minmax(0, 1fr);
}

.steps-list .step-item {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.steps-list .step-index {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.aside-link-list li {
  border-bottom: 1px solid #eef2f1;
}

.aside-link-list li:last-child {
  border-bottom: 0;
}

.aside-link-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #14664f;
  font-size: 14px;
}

.related-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* --------------------------------------------------------------------------
   pages · 作品档案
   -------------------------------------------------------------------------- */

.field-list .field-row {
  align-items: start;
}

.rules-table {
  table-layout: fixed;
}

.rules-table th,
.rules-table td {
  padding: 12px 14px;
}

.rules-table thead th:first-child,
.rules-table tbody th {
  width: 22%;
}

.archive-figure {
  margin-top: 16px;
}

.entry-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.entry-action {
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.entry-action h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.entry-action p {
  margin-bottom: 8px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   pages · 阅读手册
   -------------------------------------------------------------------------- */

.reading-order,
.reading-track,
.reading-layout-tips {
  margin-bottom: 44px;
}

.reading-order h2,
.reading-track h2,
.reading-layout-tips h2 {
  position: relative;
  margin-bottom: 8px;
  padding-left: 12px;
  font-size: 22px;
}

.reading-order h2::before,
.reading-track h2::before,
.reading-layout-tips h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: #1f9d7a;
  border-radius: 2px;
}

.reading-order .section-lead,
.reading-track .section-lead,
.reading-layout-tips .section-lead {
  margin-bottom: 16px;
}

.order-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.order-item {
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.order-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.order-item p {
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

.reading-track .step-list {
  margin-bottom: 18px;
}

.tip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px 20px;
}

/* --------------------------------------------------------------------------
   pages · 反馈与版权
   -------------------------------------------------------------------------- */

.feedback-faq,
.feedback-map,
.copyright-stance,
.quote-rules {
  margin-bottom: 44px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  overflow: hidden;
}

.faq-item[open] {
  border-color: #1f9d7a;
}

.faq-question {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  color: #16211f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  margin-left: auto;
  padding-left: 12px;
  color: #1f9d7a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 16px;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: #14664f;
}

.faq-answer {
  padding: 0 16px 14px;
  border-top: 1px solid #eef2f1;
}

.faq-answer p {
  margin: 12px 0 8px;
  color: #3d4b47;
  font-size: 14px;
  line-height: 1.85;
}

.faq-points li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  color: #5d6d68;
  font-size: 13px;
  line-height: 1.8;
}

.faq-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background-color: #1f9d7a;
  border-radius: 50%;
}

.copyright-stance p {
  max-width: 68ch;
  margin-bottom: 10px;
  color: #3d4b47;
  font-size: 14px;
  line-height: 1.85;
}

.copyright-stance .point-list {
  margin-top: 12px;
}

.quote-rules .step-list {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.error-block {
  padding: 32px 24px;
  margin-bottom: 32px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
}

.error-code {
  margin-bottom: 8px;
  color: #1f9d7a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.error-block h1 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.4;
}

.error-text {
  max-width: 62ch;
  margin-bottom: 20px;
  color: #3d4b47;
  font-size: 15px;
  line-height: 1.85;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-links h2 {
  position: relative;
  margin-bottom: 12px;
  padding-left: 12px;
  font-size: 20px;
}

.error-links h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: #1f9d7a;
  border-radius: 2px;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.error-link-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  background-color: #ffffff;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  color: #14664f;
  font-size: 14px;
}

.error-link-list a:hover,
.error-link-list a:focus-visible {
  border-color: #1f9d7a;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shelf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shelf-card-feature {
    grid-column: span 3;
  }

  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reading-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    order: 3;
  }

  .lang-state {
    order: 2;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .zone-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .zone-cover img {
    aspect-ratio: 16 / 9;
  }

  .pick-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .pick-media img {
    aspect-ratio: 16 / 9;
  }

  .field-list .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .status-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .header-inner {
    padding: 0 14px;
    min-height: 56px;
  }

  .brand {
    font-size: 15px;
    white-space: normal;
  }

  .lang-state {
    padding: 3px 8px;
    font-size: 11px;
  }

  .mobile-nav-list {
    padding: 4px 14px 10px;
  }

  .inner-main {
    padding: 18px 14px 44px;
  }

  .page-title {
    font-size: 22px;
  }

  .home-main > .section,
  .home-main > .related-links,
  .feedback-bar {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-inner {
    padding: 24px 14px 20px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-index {
    padding: 0 14px 22px;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .section,
  .section-block,
  .home-main > .section {
    margin-bottom: 32px;
  }

  .section h2,
  .section-block h2,
  .section-title,
  .reading-order h2,
  .reading-track h2,
  .reading-layout-tips h2 {
    font-size: 19px;
  }

  .shelf-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .shelf-card-feature {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .shelf-cover img {
    aspect-ratio: 16 / 9;
  }

  .cover-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cover-card {
    padding: 10px;
  }

  .principle-grid,
  .reading-steps,
  .order-block,
  .entry-grid,
  .related-grid,
  .related-list,
  .entry-actions,
  .tip-list,
  .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-bar {
    padding: 16px 14px;
    gap: 6px 14px;
  }

  .feedback-bar .link-arrow {
    width: 100%;
  }

  .data-table,
  .rhythm-table,
  .rules-table {
    font-size: 13px;
  }

  .data-table th,
  .data-table td,
  .rhythm-table th,
  .rhythm-table td,
  .rules-table th,
  .rules-table td {
    padding: 8px 10px;
  }

  .rhythm-table thead th:first-child,
  .rhythm-table tbody th {
    width: 26%;
  }

  .definition-row,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 10px 0;
  }

  .step-item,
  .reading-step {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .step-num,
  .step-index,
  .step-no {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .reading-step {
    padding: 14px;
  }

  .error-main {
    padding: 32px 14px 48px;
  }

  .error-block {
    padding: 24px 16px;
  }

  .error-code {
    font-size: 32px;
  }

  .error-block h1 {
    font-size: 22px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 14px 20px;
    gap: 20px;
  }

  .footer-bottom p {
    padding: 12px 14px;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .shelf-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
