/* ============================================================
   韩国漫画网 zjjkmu.com — 整站样式
   分组：base / layout / components / pages / responsive
   ============================================================ */

/* ============================================================
   Base — 全局基础
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: #f7f8fb;
  color: #22263a;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #4a6cf7;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #3a56d4;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

figure {
  margin: 0;
}

/* ============================================================
   Layout — 全站骨架
   ============================================================ */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #d7deef;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #22263a;
  letter-spacing: 0.02em;
}

.brand-name::first-letter {
  color: #4a6cf7;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #22263a;
  border-radius: 6px;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: #f0f3fb;
  color: #4a6cf7;
}

.nav-list li a.is-current {
  background-color: #4a6cf7;
  color: #ffffff;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 6px;
  background-color: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #22263a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  flex: 1;
  width: 100%;
}

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #d7deef;
  margin-top: auto;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #22263a;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #4a6cf7;
  line-height: 1.6;
}

.footer-links a:hover {
  color: #3a56d4;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #22263a;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.footer-note {
  font-size: 13px;
  color: #8a90a6;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid #d7deef;
  padding: 16px 20px;
  text-align: center;
}

.footer-bottom p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: #8a90a6;
}

/* ============================================================
   Components — 通用组件
   ============================================================ */
/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb a {
  color: #4a6cf7;
}

.breadcrumb a:hover {
  color: #3a56d4;
}

.breadcrumb-sep {
  color: #8a90a6;
}

.breadcrumb-current {
  color: #5a6078;
}

/* 页面标题区 */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 20px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  color: #5a6078;
  line-height: 1.75;
  max-width: 720px;
}

/* 按钮 */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background-color: #4a6cf7;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.5;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #3a56d4;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  background-color: #ffffff;
  color: #4a6cf7;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #d7deef;
  border-radius: 6px;
  line-height: 1.5;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #f0f3fb;
  border-color: #4a6cf7;
  color: #4a6cf7;
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #4a6cf7;
  line-height: 1.5;
}

.text-link:hover {
  color: #3a56d4;
  text-decoration: underline;
}

/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* 相关链接 */
.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 14px;
  color: #5a6078;
  margin-right: 4px;
}

.related-links-item {
  display: inline-block;
  padding: 6px 16px;
  background-color: #ffffff;
  border: 1px solid #d7deef;
  border-radius: 6px;
  font-size: 14px;
  color: #4a6cf7;
  line-height: 1.5;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-links-item:hover {
  background-color: #f0f3fb;
  border-color: #4a6cf7;
  color: #4a6cf7;
}

/* 滚动出现动画（增强，不影响初始可见性） */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Pages — 首页 index.html
   ============================================================ */
.home-main {
  width: 100%;
}

/* 公告栏式首屏 */
.announce-hero {
  background-color: #f0f3fb;
  border-bottom: 1px solid #d7deef;
}

.hero-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: stretch;
}

.announce-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announce-date {
  font-size: 13px;
  color: #8a90a6;
  font-weight: 500;
}

.announce-text {
  font-size: 16px;
  line-height: 1.75;
  color: #22263a;
}

.announce-text strong {
  color: #4a6cf7;
  font-weight: 600;
}

.announce-rule {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
  padding: 12px;
  background-color: #f7f8fb;
  border-radius: 6px;
  border-left: 3px solid #f2a93b;
}

.announce-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.hero-visual {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-figure {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
}

.hero-sub {
  font-size: 15px;
  color: #5a6078;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* 题材矩阵 */
.topic-matrix {
  padding: 48px 0 8px;
}

.section-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tag-item {
  display: inline-block;
  padding: 6px 18px;
  background-color: #ffffff;
  border: 1px solid #d7deef;
  border-radius: 6px;
  font-size: 14px;
  color: #4a6cf7;
  line-height: 1.5;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tag-item:hover {
  background-color: #f0f3fb;
  border-color: #4a6cf7;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.topic-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(74, 108, 247, 0.1);
  transform: translateY(-2px);
}

.card-figure {
  width: 100%;
  overflow: hidden;
}

.card-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.topic-label {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  background-color: #f0f3fb;
  color: #4a6cf7;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  line-height: 1.6;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.card-progress {
  font-size: 13px;
  color: #f2a93b;
  font-weight: 500;
  line-height: 1.5;
}

.card-recommend {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.topic-matrix .section-shell > .text-link {
  margin-bottom: 24px;
}

/* 流程纵线 */
.path-timeline {
  padding: 32px 0 8px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.path-step {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #4a6cf7;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  line-height: 1;
  margin-bottom: 8px;
}

.step-name {
  font-size: 17px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.step-desc {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

/* 追更节点摘要 */
.update-summary {
  padding: 32px 0 8px;
}

.update-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.update-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.update-card:hover {
  box-shadow: 0 4px 16px rgba(74, 108, 247, 0.1);
}

.update-figure {
  width: 100%;
  overflow: hidden;
}

.update-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.update-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.update-title {
  font-size: 16px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.update-status {
  font-size: 13px;
  color: #f2a93b;
  font-weight: 500;
  line-height: 1.5;
}

.update-date {
  font-size: 13px;
  color: #8a90a6;
  line-height: 1.5;
  margin-top: auto;
}

/* 阅读体验预告 */
.reading-teaser {
  padding: 32px 0 8px;
}

.teaser-shell {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.teaser-content {
  flex: 1;
  min-width: 260px;
}

.teaser-title {
  font-size: 22px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.teaser-text {
  font-size: 15px;
  color: #5a6078;
  line-height: 1.75;
}

/* 内容边界与反馈入口条 */
.boundary-feedback {
  padding: 32px 0 48px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.boundary-card,
.feedback-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-heading {
  font-size: 18px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.card-text {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.boundary-card .text-link,
.feedback-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================================
   Pages — 内页公共
   ============================================================ */
.inner-main {
  width: 100%;
}

/* ============================================================
   Pages — 书库总览 hgmhw/shuku.html
   ============================================================ */
.page-shuku .site-main {
  padding-bottom: 24px;
}

.sticky-filter {
  position: sticky;
  top: 64px;
  z-index: 50;
  background-color: #f7f8fb;
  padding: 12px 0;
  border-bottom: 1px solid #d7deef;
}

.filter-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ffffff;
  border: 1px solid #d7deef;
  border-radius: 6px;
  font-size: 14px;
  color: #22263a;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tag:hover {
  border-color: #4a6cf7;
  color: #4a6cf7;
}

.filter-tag.is-active {
  background-color: #4a6cf7;
  border-color: #4a6cf7;
  color: #ffffff;
  font-weight: 500;
}

.works-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 4px 16px rgba(74, 108, 247, 0.1);
  transform: translateY(-2px);
}

.work-cover {
  width: 100%;
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.work-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.work-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  background-color: #f0f3fb;
  color: #4a6cf7;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  line-height: 1.6;
}

.work-name {
  font-size: 17px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.work-status {
  font-size: 13px;
  color: #f2a93b;
  font-weight: 500;
  line-height: 1.5;
}

.bottom-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bottom-note p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.bottom-note a {
  font-weight: 500;
}

/* ============================================================
   Pages — 追更节点 hgmhw/zhuigeng.html
   ============================================================ */
.update-timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.update-timeline h2,
.status-list h2 {
  font-size: 22px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
  margin-bottom: 20px;
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.timeline-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.timeline-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.date-day {
  font-size: 28px;
  font-weight: 700;
  color: #4a6cf7;
  line-height: 1.2;
}

.date-month {
  font-size: 14px;
  color: #8a90a6;
  line-height: 1.4;
}

.timeline-cover {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin: 8px 0;
}

.timeline-name {
  font-size: 16px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.timeline-status {
  font-size: 13px;
  color: #f2a93b;
  font-weight: 500;
  line-height: 1.5;
}

.timeline-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  background-color: #f0f3fb;
  color: #4a6cf7;
  font-size: 12px;
  border-radius: 4px;
  line-height: 1.6;
}

.status-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.status-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-row {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-cover {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.status-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-name {
  font-size: 16px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.status-latest {
  font-size: 13px;
  color: #5a6078;
  line-height: 1.6;
}

.status-progress {
  font-size: 13px;
  color: #8a90a6;
  line-height: 1.6;
}

.status-badge {
  flex-shrink: 0;
  padding: 4px 14px;
  background-color: #f0f3fb;
  color: #4a6cf7;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  line-height: 1.5;
}

.back-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 8px;
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.back-note a {
  font-weight: 500;
}

/* ============================================================
   Pages — 题材风向 hgmhw/tcai.html
   ============================================================ */
.division-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 8px;
}

.division-note-inner {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  border-left: 4px solid #f2a93b;
  padding: 20px 24px;
}

.division-note-inner h2 {
  font-size: 18px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
  margin-bottom: 8px;
}

.division-note-inner p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.75;
}

.topic-cards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.topic-cards h2 {
  font-size: 22px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
  margin-bottom: 20px;
}

.topic-cards .topic-grid {
  grid-template-columns: repeat(3, 1fr);
}

.topic-cards .topic-card {
  overflow: hidden;
}

.topic-figure {
  width: 100%;
  overflow: hidden;
}

.topic-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.topic-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.topic-desc {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.topic-fit {
  font-size: 13px;
  color: #f2a93b;
  line-height: 1.6;
  margin-top: auto;
}

.reader-hint {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.hint-content {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hint-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
}

.hint-content p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.75;
}

.hint-content .btn-primary {
  align-self: flex-start;
}

/* ============================================================
   Pages — 阅读体验 hgmhw/yuedu.html
   ============================================================ */
.prep-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prep-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.prep-item p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.prep-item a {
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
}

.reading-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-item .step-num {
  flex-shrink: 0;
  margin-bottom: 0;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.update-note,
.result-hint {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update-note p,
.result-hint p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.75;
}

.update-note .text-link,
.result-hint .text-link {
  align-self: flex-start;
}

.reading-image {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.reading-figure {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  overflow: hidden;
  margin-top: 16px;
}

.reading-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.reading-figure figcaption {
  padding: 12px 20px;
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
  border-top: 1px solid #d7deef;
}

/* ============================================================
   Pages — 内容边界 hgmhw/bianjie.html
   ============================================================ */
.scope-list,
.compliance-note,
.feedback-path {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 8px;
}

.scope-list h2,
.compliance-note h2,
.feedback-path h2 {
  font-size: 22px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.scope-lead,
.compliance-lead,
.feedback-lead {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.75;
  margin-bottom: 20px;
}

.scope-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.scope-index {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #f0f3fb;
  color: #4a6cf7;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  line-height: 1;
}

.scope-body {
  flex: 1;
  min-width: 0;
}

.scope-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
  margin-bottom: 4px;
}

.scope-body p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.compliance-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.compliance-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compliance-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.compliance-item p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.feedback-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feedback-item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #22263a;
  line-height: 1.5;
}

.feedback-item p {
  font-size: 14px;
  color: #5a6078;
  line-height: 1.7;
}

.feedback-item a {
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
}

.boundary-image {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.boundary-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d7deef;
}

.boundary-image figcaption {
  font-size: 13px;
  color: #8a90a6;
  line-height: 1.6;
  padding: 8px 4px 0;
}

/* ============================================================
   Pages — 404 页
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  flex: 1;
}

.error-panel {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d7deef;
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: #4a6cf7;
  line-height: 1.1;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: #22263a;
  line-height: 1.4;
}

.error-desc {
  font-size: 15px;
  color: #5a6078;
  line-height: 1.75;
}

.error-action {
  font-size: 14px;
  color: #8a90a6;
  line-height: 1.7;
}

.error-home {
  display: inline-block;
  padding: 10px 28px;
  background-color: #4a6cf7;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.5;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}

.error-home:hover {
  background-color: #3a56d4;
  color: #ffffff;
}

/* ============================================================
   Responsive — 响应式
   ============================================================ */
@media (max-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-cards .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .compliance-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-shell {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #d7deef;
    box-shadow: 0 4px 12px rgba(34, 38, 58, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px;
    gap: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    border-radius: 6px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }

  .hero-figure img {
    height: 180px;
  }

  .hero-title {
    font-size: 24px;
  }

  .path-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .update-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .teaser-shell {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px 20px 16px;
  }

  .sticky-filter {
    top: 56px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tag {
    flex-shrink: 0;
  }

  .prep-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feedback-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .status-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .status-badge {
    margin-left: 88px;
  }

  .status-cover {
    width: 64px;
    height: 64px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .header-shell {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .section-shell,
  .page-header,
  .breadcrumb,
  .filter-bar,
  .works-grid,
  .update-timeline,
  .status-list,
  .back-note,
  .division-note,
  .topic-cards,
  .reader-hint,
  .prep-list,
  .reading-steps,
  .update-note,
  .result-hint,
  .reading-image,
  .scope-list,
  .compliance-note,
  .feedback-path,
  .boundary-image,
  .bottom-note,
  .related-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-shell {
    padding: 20px 16px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-cards .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .compliance-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .status-info {
    width: calc(100% - 80px);
  }

  .status-badge {
    margin-left: 0;
  }

  .status-row {
    padding: 14px;
  }

  .step-item {
    flex-direction: column;
    gap: 12px;
  }

  .step-item .step-num {
    margin-bottom: 0;
  }

  .scope-item {
    padding: 16px;
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }
}

/* 移动端汉堡菜单按钮打开态 */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 滚动进入视口动画（增强效果，不影响初始可见性） */
@media (prefers-reduced-motion: no-preference) {
  .topic-card,
  .update-card,
  .path-step,
  .work-card,
  .timeline-card,
  .status-row,
  .prep-item,
  .step-item,
  .scope-item,
  .compliance-item,
  .feedback-item {
    animation: fadeUp 0.4s ease both;
  }

  .topic-card:nth-child(2),
  .update-card:nth-child(2),
  .path-step:nth-child(2),
  .work-card:nth-child(2),
  .timeline-card:nth-child(2),
  .status-row:nth-child(2),
  .prep-item:nth-child(2),
  .step-item:nth-child(2),
  .scope-item:nth-child(2),
  .compliance-item:nth-child(2),
  .feedback-item:nth-child(2) {
    animation-delay: 0.05s;
  }

  .topic-card:nth-child(3),
  .update-card:nth-child(3),
  .path-step:nth-child(3),
  .work-card:nth-child(3),
  .timeline-card:nth-child(3),
  .status-row:nth-child(3),
  .prep-item:nth-child(3),
  .step-item:nth-child(3),
  .scope-item:nth-child(3),
  .compliance-item:nth-child(3),
  .feedback-item:nth-child(3) {
    animation-delay: 0.1s;
  }

  .topic-card:nth-child(4),
  .work-card:nth-child(4),
  .status-row:nth-child(4),
  .step-item:nth-child(4),
  .scope-item:nth-child(4) {
    animation-delay: 0.15s;
  }

  .status-row:nth-child(5),
  .scope-item:nth-child(5) {
    animation-delay: 0.2s;
  }
}
