/* ==========================================================================
   huapuo.com — 91漫画免费版 全站样式
   分组：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;
  background-color: #ffffff;
  color: #191c1f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  color: #616a75;
  font-size: 13px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #191c1f;
  font-weight: 700;
  line-height: 1.4;
}

h1 {
  font-size: clamp(24px, 3.2vw, 34px);
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 16px;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

a {
  color: #191c1f;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus {
  color: #b3482f;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #b3482f;
  outline-offset: 2px;
}

strong {
  font-weight: 700;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  padding-bottom: 10px;
  color: #616a75;
  font-size: 13px;
  text-align: left;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #e4e6e5;
  text-align: left;
  vertical-align: top;
}

th {
  color: #191c1f;
  font-weight: 700;
  background-color: #f4f5f4;
}

time {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   layout — 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  display: block;
  min-width: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #e4e6e5;
  background-color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
}

.brand {
  flex: 0 0 auto;
  color: #191c1f;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand:hover,
.brand:focus {
  color: #b3482f;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 20px;
}

.nav-list > li {
  display: block;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  color: #191c1f;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
  color: #b3482f;
  border-bottom-color: #b3482f;
}

.nav-link.is-current {
  color: #b3482f;
  font-weight: 700;
  border-bottom-color: #b3482f;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid #e4e6e5;
  border-radius: 6px;
  background-color: #ffffff;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #191c1f;
}

.site-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

.inner-main {
  padding-top: 0;
}

.site-footer {
  border-top: 1px solid #e4e6e5;
  background-color: #f4f5f4;
  color: #616a75;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 28px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e4e6e5;
}

.footer-column {
  min-width: 0;
}

.footer-column-title {
  margin-bottom: 12px;
  color: #191c1f;
  font-size: 15px;
  font-weight: 700;
}

.footer-list {
  display: block;
}

.footer-list > li {
  margin-bottom: 8px;
}

.footer-list > li:last-child {
  margin-bottom: 0;
}

.footer-list a {
  color: #616a75;
  font-size: 14px;
  line-height: 1.6;
}

.footer-list a:hover,
.footer-list a:focus {
  color: #b3482f;
}

.footer-note {
  margin: 22px 0 0;
  max-width: 820px;
  color: #616a75;
  font-size: 13px;
  line-height: 1.7;
}

.footer-copy {
  margin: 14px 0 0;
  color: #616a75;
  font-size: 13px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   components — 通用组件
   -------------------------------------------------------------------------- */

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0 0;
  color: #616a75;
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb a {
  color: #616a75;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  color: #b3482f;
}

.breadcrumb-sep {
  color: #b3482f;
}

.breadcrumb-current {
  color: #191c1f;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 0;
  color: #616a75;
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb-list .breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list .breadcrumb-item a {
  color: #616a75;
}

.breadcrumb-list .breadcrumb-item a:hover,
.breadcrumb-list .breadcrumb-item a:focus {
  color: #b3482f;
}

.breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
  content: "／";
  color: #b3482f;
}

/* 页面标题区 */
.page-header {
  padding-top: 16px;
}

.page-title {
  display: block;
  margin: 0;
  color: #191c1f;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}

section.page-title {
  padding: 12px 0 0;
}

.page-title-inner {
  display: block;
}

.page-lead {
  max-width: 820px;
  margin: 0 0 10px;
  color: #191c1f;
  font-size: 16px;
  line-height: 1.75;
}

.page-meta {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4e6e5;
  color: #616a75;
  font-size: 13px;
  line-height: 1.6;
}

/* 页面布局：默认主内容在前、侧栏在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 320px);
  gap: 44px;
  align-items: start;
  padding-top: 28px;
}

.page-layout.layout-shell {
  grid-template-columns: minmax(0, 720px) minmax(0, 320px);
}

.page-layout.path-layout {
  grid-template-columns: minmax(0, 820px);
  gap: 0;
}

.content-main {
  min-width: 0;
}

.content-aside {
  min-width: 0;
}

.main-column {
  min-width: 0;
}

.sidebar {
  min-width: 0;
}

.page-content {
  min-width: 0;
}

/* 侧栏在前的布局：容器自身带 .sidebar-left */
.page-layout.sidebar-left {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}

/* 祖先节点带 .sidebar-left 时，布局容器改为侧栏在前 */
.sidebar-left .page-layout {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}

.page-sidebar {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #f4f5f4;
}

.sidebar-title {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.toc-list {
  display: block;
}

.toc-list > li {
  margin-bottom: 8px;
}

.toc-list > li:last-child {
  margin-bottom: 0;
}

.toc-list a {
  display: inline-block;
  color: #616a75;
  font-size: 14px;
  line-height: 1.6;
}

.toc-list a:hover,
.toc-list a:focus {
  color: #b3482f;
}

/* 通用内容块 */
.content-block,
.content-section,
.section-block,
.aside-block,
.side-block {
  min-width: 0;
}

.content-block + .content-block,
.content-section + .content-section,
.section-block + .section-block {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #e4e6e5;
}

.content-block > h2,
.content-section > h2,
.section-block > h2,
.aside-block > h2,
.side-block > h2 {
  margin-bottom: 12px;
}

.block-intro,
.section-intro,
.side-intro {
  margin-bottom: 18px;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.section-lede {
  max-width: 820px;
  margin: 10px 0 22px;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.inline-link {
  color: #b3482f;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.inline-link:hover,
.inline-link:focus {
  color: #b3482f;
  border-bottom-color: #b3482f;
}

/* 入口链接 */
.entry-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #b3482f;
  border-radius: 6px;
  color: #b3482f;
  font-size: 15px;
  line-height: 1.5;
}

.entry-link:hover,
.entry-link:focus {
  background-color: #b3482f;
  color: #ffffff;
}

/* 标签胶囊 */
.tag-pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #2f5d50;
  border-radius: 999px;
  color: #2f5d50;
  font-size: 14px;
  line-height: 1.6;
  background-color: #ffffff;
}

a.tag-pill:hover,
a.tag-pill:focus {
  background-color: #2f5d50;
  color: #ffffff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 规则列表 */
.rule-list {
  display: block;
}

.rule-item {
  padding: 12px 0;
  border-bottom: 1px solid #e4e6e5;
}

.rule-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rule-item h3 {
  margin-bottom: 6px;
}

.rule-item p {
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* 折叠问答 */
.faq-list {
  display: block;
  border-top: 1px solid #e4e6e5;
}

.faq-item {
  border-bottom: 1px solid #e4e6e5;
}

.faq-question {
  position: relative;
  display: block;
  padding: 16px 40px 16px 0;
  color: #191c1f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "＋";
  position: absolute;
  top: 16px;
  right: 4px;
  color: #b3482f;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.faq-item[open] .faq-question::after {
  content: "－";
}

.faq-question:hover {
  color: #b3482f;
}

.faq-answer {
  margin: 0;
  padding: 0 40px 18px 0;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

/* 侧栏区块 */
.aside-block + .aside-block,
.side-block + .side-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e4e6e5;
}

.aside-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
}

.aside-block p {
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.aside-link-list,
.side-link-list {
  display: block;
}

.aside-link-item,
.side-link-item {
  padding: 10px 0;
  border-bottom: 1px solid #e4e6e5;
}

.aside-link-item:last-child,
.side-link-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.aside-link-item a,
.side-link-item a {
  display: inline-block;
  color: #b3482f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.aside-link-item a:hover,
.aside-link-item a:focus,
.side-link-item a:hover,
.side-link-item a:focus {
  border-bottom-color: #b3482f;
}

.aside-link-desc,
.aside-link-item p,
.side-link-note {
  margin: 6px 0 0;
  color: #616a75;
  font-size: 13px;
  line-height: 1.7;
}

/* 相关链接条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e4e6e5;
}

.related-links-label {
  color: #616a75;
  font-size: 13px;
}

.related-links-item {
  display: inline-block;
  color: #b3482f;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.related-links-item:hover,
.related-links-item:focus {
  border-bottom-color: #b3482f;
}

/* 表格 */
.log-table,
.diff-table,
.info-table {
  display: table;
  width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.log-table td,
.diff-table td,
.info-table td {
  color: #616a75;
}

.log-note {
  margin-top: 12px;
  color: #616a75;
  font-size: 13px;
  line-height: 1.7;
}

/* 图片容器统一约束 */
.hero-figure,
.section-figure,
.tag-figure,
.path-figure,
.content-figure,
.issue-figure,
.update-cover {
  overflow: hidden;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #f4f5f4;
}

.hero-figure img,
.section-figure img,
.tag-figure img,
.path-figure img,
.content-figure img,
.issue-figure img,
.update-cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 滚动出现增强（默认可见，仅做轻微位移） */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: transform 0.4s ease;
  }

  .reveal.is-visible {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: 0;
}

/* 首屏窄带 */
.hero-intro {
  padding: 34px 0 22px;
  border-bottom: 1px solid #e4e6e5;
}

.hero-intro-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
}

.hero-intro-text {
  min-width: 0;
  max-width: 620px;
}

.hero-intro-text h1 {
  margin-bottom: 10px;
}

.hero-intro-lede {
  margin: 0;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.hero-intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

/* 摄影式主视觉带 */
.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 200px);
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid #e4e6e5;
}

.meta-rail {
  min-width: 0;
  padding-top: 4px;
}

.meta-rail-title,
.series-rail-title {
  margin-bottom: 12px;
  color: #616a75;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.meta-list {
  display: block;
}

.meta-list dt {
  margin-top: 12px;
  color: #616a75;
  font-size: 12px;
  line-height: 1.6;
}

.meta-list dt:first-child {
  margin-top: 0;
}

.meta-list dd {
  color: #191c1f;
  font-size: 14px;
  line-height: 1.6;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 0 2px;
}

.series-rail {
  min-width: 0;
  padding-top: 4px;
}

.series-list {
  display: block;
}

.series-list > li {
  margin-bottom: 10px;
}

.series-list > li:last-child {
  margin-bottom: 0;
}

.series-list a {
  display: inline-block;
  color: #191c1f;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid transparent;
}

.series-list a:hover,
.series-list a:focus {
  color: #b3482f;
  border-bottom-color: #b3482f;
}

/* 读者常见需求 */
.needs {
  padding: 34px 0;
  border-bottom: 1px solid #e4e6e5;
}

.needs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
}

.needs-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 0;
  border-top: 1px solid #e4e6e5;
}

.needs-desc {
  margin: 0;
  min-width: 0;
  flex: 1 1 220px;
  color: #191c1f;
  font-size: 15px;
  line-height: 1.7;
}

.needs-link {
  flex: 0 0 auto;
  color: #b3482f;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.needs-link:hover,
.needs-link:focus {
  border-bottom-color: #b3482f;
}

/* 分区总览 */
.sections-overview {
  padding: 34px 0;
  border-bottom: 1px solid #e4e6e5;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.section-card {
  min-width: 0;
}

.section-card-link {
  display: block;
  height: 100%;
  padding: 14px;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #ffffff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.section-card-link:hover,
.section-card-link:focus {
  border-color: #b3482f;
  transform: translateY(-2px);
}

.section-card-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  background-color: #f4f5f4;
}

.section-card-name {
  margin: 12px 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.section-card-desc {
  margin: 0;
  color: #616a75;
  font-size: 13px;
  line-height: 1.7;
}

/* 最近更新记录 */
.latest {
  padding: 34px 0;
  border-bottom: 1px solid #e4e6e5;
}

.latest-list {
  display: block;
  border-top: 1px solid #e4e6e5;
}

.latest-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 110px minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 6px 18px;
  padding: 13px 0;
  border-bottom: 1px solid #e4e6e5;
  font-size: 14px;
  line-height: 1.65;
}

.latest-date {
  color: #616a75;
  font-size: 13px;
}

.latest-name {
  color: #191c1f;
  font-weight: 700;
}

.latest-zone {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid #2f5d50;
  border-radius: 999px;
  color: #2f5d50;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  justify-self: start;
}

.latest-change {
  color: #616a75;
}

.latest-link {
  color: #b3482f;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
  white-space: nowrap;
}

.latest-link:hover,
.latest-link:focus {
  border-bottom-color: #b3482f;
}

/* 题材标签速览 */
.tags {
  padding: 34px 0;
  border-bottom: 1px solid #e4e6e5;
}

/* 阅读路径三步 */
.path {
  padding: 34px 0;
  border-bottom: 1px solid #e4e6e5;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.path-step {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #ffffff;
}

.path-index {
  display: inline-block;
  margin-bottom: 10px;
  color: #b3482f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.path-step-title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.path-step-desc {
  margin: 0 0 14px;
  color: #616a75;
  font-size: 14px;
  line-height: 1.75;
}

.path-link {
  display: inline-block;
  color: #b3482f;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.path-link:hover,
.path-link:focus {
  border-bottom-color: #b3482f;
}

/* 内容校对与更正 */
.proofread {
  padding: 34px 0;
  border-bottom: 1px solid #e4e6e5;
}

.proofread-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin-bottom: 20px;
}

.proofread-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #f4f5f4;
}

.proofread-item-title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.proofread-item p {
  margin: 0;
  color: #616a75;
  font-size: 14px;
  line-height: 1.75;
}

.proofread-link {
  display: inline-block;
  color: #b3482f;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.proofread-link:hover,
.proofread-link:focus {
  border-bottom-color: #b3482f;
}

/* 常见问题 */
.faq {
  padding: 34px 0 6px;
}

/* --------------------------------------------------------------------------
   pages — 内页：分区总览
   -------------------------------------------------------------------------- */

.section-entry {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #e4e6e5;
}

.section-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.section-figure {
  margin: 0;
}

.section-figure img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.section-body {
  min-width: 0;
}

.section-body h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.section-scope {
  margin: 0 0 8px;
  color: #191c1f;
  font-size: 15px;
  line-height: 1.75;
}

.section-scene {
  margin: 0 0 12px;
  color: #616a75;
  font-size: 14px;
  line-height: 1.75;
}

.section-body .entry-link {
  font-size: 14px;
}

.check-list {
  display: block;
}

.check-item {
  padding: 12px 0;
  border-bottom: 1px solid #e4e6e5;
}

.check-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.check-question {
  margin: 0 0 4px;
  color: #191c1f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.check-hint {
  margin: 0;
  color: #616a75;
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages — 内页：题材标签详解
   -------------------------------------------------------------------------- */

.tag-definitions {
  min-width: 0;
}

.tag-definitions > h2,
.overlay-rules > h2,
.naming-log > h2 {
  margin-bottom: 12px;
}

.tag-figure {
  margin: 0 0 22px;
}

.tag-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tag-definitions .tag-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tag-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #ffffff;
}

.tag-item .tag-pill {
  margin-bottom: 10px;
}

.tag-scope {
  margin: 0 0 8px;
  color: #191c1f;
  font-size: 14px;
  line-height: 1.75;
}

.tag-misread {
  margin: 0;
  color: #616a75;
  font-size: 13px;
  line-height: 1.7;
}

.overlay-rules,
.naming-log {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #e4e6e5;
}

.naming-log .log-table {
  margin-top: 4px;
}

.naming-log .log-note {
  margin-top: 12px;
}

.sidebar .diff-table {
  font-size: 13px;
}

.sidebar .diff-table th,
.sidebar .diff-table td {
  padding: 8px 10px;
}

/* --------------------------------------------------------------------------
   pages — 内页：阅读路径
   -------------------------------------------------------------------------- */

.path-article {
  min-width: 0;
}

.path-layout .path-step {
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #e4e6e5;
  border-radius: 0;
  background-color: transparent;
}

.path-layout .path-step:first-child {
  padding-top: 0;
}

.path-layout .path-step-index {
  display: inline-block;
  margin-bottom: 8px;
  color: #b3482f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.path-layout .path-step h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.path-layout .path-step p {
  color: #191c1f;
  font-size: 15px;
  line-height: 1.75;
}

.path-layout .path-step p + p {
  color: #616a75;
}

.path-layout .path-figure {
  margin: 18px 0;
  max-width: 520px;
}

.path-layout .path-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.path-layout .path-step-link {
  margin: 0;
}

.path-layout .path-step-link a {
  display: inline-block;
  color: #b3482f;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.path-layout .path-step-link a:hover,
.path-layout .path-step-link a:focus {
  border-bottom-color: #b3482f;
}

.path-checkpoints {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #e4e6e5;
}

.path-checkpoints h2 {
  margin-bottom: 10px;
}

.path-checkpoints > p {
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.checkpoint-list {
  display: block;
  margin-top: 14px;
}

.checkpoint-list > li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid #e4e6e5;
  color: #191c1f;
  font-size: 15px;
  line-height: 1.75;
}

.checkpoint-list > li:last-child {
  border-bottom: 0;
}

.checkpoint-list > li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #b3482f;
}

/* --------------------------------------------------------------------------
   pages — 内页：更新记录
   -------------------------------------------------------------------------- */

.note-band {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #f4f5f4;
}

.note-band h2 {
  margin-bottom: 10px;
  font-size: 17px;
}

.note-band p {
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.update-list {
  margin-top: 32px;
}

.update-list > h2 {
  margin-bottom: 16px;
}

.update-items {
  display: block;
  border-top: 1px solid #e4e6e5;
}

.update-item {
  display: grid;
  grid-template-columns: minmax(0, 108px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #e4e6e5;
}

.update-cover {
  margin: 0;
}

.update-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.update-body {
  min-width: 0;
}

.update-date {
  margin: 0 0 4px;
  color: #616a75;
  font-size: 13px;
  line-height: 1.6;
}

.update-name {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
}

.update-meta {
  margin: 0 0 8px;
  color: #2f5d50;
  font-size: 13px;
  line-height: 1.65;
}

.update-desc {
  margin: 0 0 12px;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.update-link {
  display: inline-block;
  color: #b3482f;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.update-link:hover,
.update-link:focus {
  border-bottom-color: #b3482f;
}

.record-rules {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid #e4e6e5;
}

.record-rules > h2 {
  margin-bottom: 14px;
}

.record-rules .rule-item strong {
  display: inline-block;
  margin-bottom: 4px;
  color: #191c1f;
  font-size: 15px;
}

.record-rules .rule-item {
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   pages — 内页：阅读须知
   -------------------------------------------------------------------------- */

.page-layout.layout-shell.sidebar-left {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}

.sidebar-left .page-content {
  min-width: 0;
}

.content-section > h2 {
  margin-bottom: 12px;
}

.content-section > p {
  color: #191c1f;
  font-size: 15px;
  line-height: 1.75;
}

.content-section > p + p {
  color: #616a75;
}

.content-figure {
  margin: 18px 0 4px;
  max-width: 460px;
}

.content-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.content-section .rule-list {
  margin-top: 14px;
}

.content-section .rule-item {
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.info-table {
  margin: 16px 0 18px;
}

/* --------------------------------------------------------------------------
   pages — 内页：内容更正与反馈
   -------------------------------------------------------------------------- */

.issue-types .issue-item {
  padding: 20px 0;
  border-bottom: 1px solid #e4e6e5;
}

.issue-types .issue-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.issue-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.issue-item p {
  margin: 0 0 14px;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.issue-figure {
  margin: 0;
  max-width: 340px;
}

.issue-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.info-list {
  display: block;
}

.info-item {
  padding: 12px 0;
  border-bottom: 1px solid #e4e6e5;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.info-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-item strong {
  display: inline-block;
  margin-right: 6px;
  color: #191c1f;
}

.process-list {
  display: block;
}

.process-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #e4e6e5;
}

.process-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #b3482f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.process-item p {
  margin: 0;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.scope-list {
  display: block;
}

.scope-item {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid #e4e6e5;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.scope-item:last-child {
  border-bottom: 0;
}

.scope-item::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #616a75;
}

.aside-checklist .check-item a {
  display: inline-block;
  color: #191c1f;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid transparent;
}

.aside-checklist .check-item a:hover,
.aside-checklist .check-item a:focus {
  color: #b3482f;
  border-bottom-color: #b3482f;
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  padding-top: 40px;
  padding-bottom: 64px;
}

.error-block {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 32px;
  border: 1px solid #e4e6e5;
  border-radius: 8px;
  background-color: #ffffff;
  text-align: center;
}

.error-code {
  margin: 0 0 6px;
  color: #b3482f;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
}

.error-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
}

.error-text {
  margin: 0 0 22px;
  color: #616a75;
  font-size: 15px;
  line-height: 1.75;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 22px;
}

.error-button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #b3482f;
  border-radius: 6px;
  background-color: #b3482f;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}

.error-button:hover,
.error-button:focus {
  background-color: #ffffff;
  color: #b3482f;
}

.error-link {
  display: inline-block;
  padding: 10px 0;
  color: #b3482f;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.error-link:hover,
.error-link:focus {
  border-bottom-color: #b3482f;
}

.error-note {
  margin: 0;
  color: #616a75;
  font-size: 13px;
  line-height: 1.7;
}

.error-note a {
  color: #b3482f;
  border-bottom: 1px solid rgba(179, 72, 47, 0.4);
}

.error-note a:hover,
.error-note a:focus {
  border-bottom-color: #b3482f;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-inner {
    padding: 0 20px;
  }

  .site-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .breadcrumb-list {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-band {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr) minmax(0, 180px);
    gap: 24px;
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: 32px;
  }

  .page-layout.layout-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  }

  .page-layout.sidebar-left,
  .sidebar-left .page-layout,
  .page-layout.layout-shell.sidebar-left {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
    min-height: 56px;
    gap: 0 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 0 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 6px;
    padding: 6px 0 10px;
    border-top: 1px solid #e4e6e5;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    border-bottom: 1px solid #e4e6e5;
  }

  .nav-list > li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: block;
    padding: 12px 2px;
    min-height: 44px;
    font-size: 15px;
    border-bottom: 0;
  }

  .nav-link.is-current {
    border-bottom: 0;
  }

  .site-main {
    padding: 0 16px 44px;
  }

  .breadcrumb-list {
    padding: 14px 16px 0;
  }

  .breadcrumb {
    padding-top: 14px;
  }

  .page-layout,
  .page-layout.layout-shell,
  .page-layout.sidebar-left,
  .sidebar-left .page-layout,
  .page-layout.layout-shell.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout .content-main,
  .page-layout .main-column,
  .page-layout .page-content,
  .page-layout .path-article {
    order: 1;
  }

  .page-layout .content-aside,
  .page-layout .sidebar,
  .page-layout .page-sidebar {
    order: 2;
  }

  .hero-intro {
    padding: 24px 0 18px;
  }

  .hero-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 24px 0;
  }

  .hero-figure {
    order: 1;
  }

  .meta-rail {
    order: 2;
  }

  .series-rail {
    order: 3;
  }

  .meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .meta-list dt {
    margin-top: 0;
  }

  .needs-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .latest-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "date link"
      "name name"
      "zone zone"
      "change change";
    gap: 4px 12px;
    align-items: baseline;
  }

  .latest-date {
    grid-area: date;
  }

  .latest-name {
    grid-area: name;
  }

  .latest-zone {
    grid-area: zone;
  }

  .latest-change {
    grid-area: change;
  }

  .latest-link {
    grid-area: link;
    justify-self: end;
  }

  .path-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .proofread-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .section-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .section-entry .section-figure {
    max-width: 260px;
  }

  .tag-definitions .tag-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .tag-figure img {
    aspect-ratio: 16 / 10;
  }

  .update-item {
    grid-template-columns: minmax(0, 92px) minmax(0, 1fr);
    gap: 16px;
  }

  .path-layout .path-figure,
  .content-figure,
  .issue-figure {
    max-width: none;
  }

  .error-block {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 36px;
  }

  .log-table,
  .diff-table,
  .info-table {
    font-size: 13px;
  }

  th,
  td {
    padding: 9px 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 8px 14px;
  }

  .brand {
    font-size: 17px;
  }

  .site-main {
    padding: 0 14px 40px;
  }

  .breadcrumb-list {
    padding: 12px 14px 0;
  }

  .footer-inner {
    padding: 32px 14px 24px;
  }

  .hero-intro-text h1,
  .page-title {
    font-size: 22px;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-card-link img {
    aspect-ratio: 16 / 10;
  }

  .meta-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-cover {
    max-width: 200px;
  }

  .path-index {
    font-size: 20px;
  }

  .page-sidebar {
    padding: 14px;
  }

  .toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .toc-list > li {
    margin-bottom: 0;
  }

  .toc-list a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #e4e6e5;
    border-radius: 999px;
    background-color: #ffffff;
    font-size: 13px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-button,
  .error-link {
    text-align: center;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
