/* ============================================================
   好看的韩国漫画 · 全站样式
   分组：base / layout / components / pages / responsive
   ============================================================ */

/* ---------- base：变量与重置 ---------- */
:root {
  --paper: #F7F6F1;
  --ink: #1F2A37;
  --ink-soft: #5A6672;
  --teal: #2E7D74;
  --teal-dark: #23625B;
  --coral: #E4706A;
  --coral-soft: #FBEDEC;
  --line: #DDD9CE;
  --line-soft: #E9E5DC;
  --card: #FFFFFF;
  --night: #14202B;
  --night-soft: #223140;
  --radius: 8px;
  --radius-sm: 6px;
  --content: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4,
p, figure, blockquote,
dl, dd, ul, ol, table {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: var(--teal-dark);
}

button {
  font: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ---------- base：全站骨架（锁定） ---------- */
.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.site-body h1,
.site-body h2,
.site-body h3 {
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 246, 241, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}

.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav {
  font-size: 15px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
  position: relative;
}

.nav-link:hover {
  color: var(--teal);
  background: rgba(46, 125, 116, .07);
}

.nav-link.is-current {
  color: var(--teal);
  font-weight: 700;
}

.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.site-main {
  display: block;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  padding-top: 18px;
  padding-bottom: 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-soft);
  padding: 4px 0 14px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0;
}

.page-lead {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 760px;
}

/* ---------- layout：品牌与导航切换 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--teal);
  position: relative;
  flex: none;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--paper);
  border-radius: 1px;
}

.brand-mark::before {
  left: 6px;
  top: 7px;
  width: 5px;
  height: 12px;
}

.brand-mark::after {
  right: 6px;
  top: 7px;
  width: 5px;
  height: 12px;
  background: var(--coral);
}

.brand-name {
  font-size: 17px;
  letter-spacing: .01em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- layout：通用页面栅格 ---------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  padding-top: 28px;
}

.page-primary,
.content-main {
  min-width: 0;
}

.page-aside,
.content-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  padding: 8px 0 32px;
}

.section-head {
  margin-bottom: 16px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.section-desc,
.section-lead,
.section-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- components：按钮 / 标签 / 文本链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  padding: 2px 0;
}

.text-link::after {
  content: "›";
  margin-left: 4px;
}

.text-link:hover {
  color: var(--teal-dark);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.5;
  background: var(--coral-soft);
  color: #A8463F;
  border: 1px solid rgba(228, 112, 106, .3);
}

.tag-theme {
  background: rgba(46, 125, 116, .1);
  color: var(--teal-dark);
  border-color: rgba(46, 125, 116, .26);
}

.tag-tone {
  background: var(--coral-soft);
  color: #A8463F;
  border-color: rgba(228, 112, 106, .3);
}

.tag-length {
  background: var(--card);
  color: var(--ink-soft);
  border-color: var(--line);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- components：页脚（全站统一） ---------- */
.site-footer {
  margin-top: 40px;
  background: var(--night);
  color: #C4CDD6;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .brand {
  color: #F2F4F6;
}

.footer-brand .brand:hover {
  color: #fff;
}

.footer-brand .brand-mark {
  background: var(--teal);
}

.footer-brand .brand-mark::before {
  background: var(--night);
}

.footer-desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #93A1AF;
  max-width: 260px;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #F2F4F6;
  margin-bottom: 12px;
  letter-spacing: .02em;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  color: #A9B6C2;
  font-size: 13px;
  line-height: 1.6;
}

.footer-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--night-soft);
}

.footer-bottom {
  max-width: var(--content);
  margin: 0 auto;
  padding: 16px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: #7E8D9B;
  letter-spacing: .02em;
}

.footer-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer-mini a {
  font-size: 12px;
  color: #93A1AF;
}

.footer-mini a:hover {
  color: #fff;
}

/* ============================================================
   pages：首页
   ============================================================ */
.home-main {
  padding-top: 0;
  padding-bottom: 0;
}

/* hero */
.hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--teal);
  padding: 3px 10px;
  border: 1px solid rgba(46, 125, 116, .3);
  border-radius: 999px;
  background: rgba(46, 125, 116, .07);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 560px;
}

.hero-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 2px 0 rgba(31, 42, 55, .04);
}

.hero-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* 题材快捷标签 */
.quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.quick-tags-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list .tag {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  padding: 6px 14px;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.tag-list .tag:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(46, 125, 116, .06);
}

/* 信息总览带 */
.overview-strip {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.overview-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.overview-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.overview-item:hover {
  border-color: rgba(46, 125, 116, .5);
  box-shadow: 0 2px 10px rgba(31, 42, 55, .06);
}

.overview-name {
  font-size: 16px;
  font-weight: 700;
}

.overview-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1;
}

/* 题材目录总览 */
.theme-overview {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.theme-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.theme-list {
  border-top: 1px solid var(--line);
}

.theme-item {
  display: flex;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
  transition: background-color .18s ease;
}

.theme-item:hover {
  background: rgba(46, 125, 116, .04);
}

.theme-index {
  flex: none;
  width: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}

.theme-body {
  min-width: 0;
  flex: 1;
}

.theme-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.theme-range {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.theme-count {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
  background: var(--card);
  font-variant-numeric: tabular-nums;
}

.cover-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cover-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.cover-card:hover {
  border-color: rgba(46, 125, 116, .5);
  box-shadow: 0 2px 10px rgba(31, 42, 55, .06);
}

.cover-media {
  margin: 0;
  background: var(--line-soft);
}

.cover-media img {
  width: 100%;
  height: 148px;
  object-fit: cover;
}

.cover-name {
  padding: 10px 12px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.cover-tag {
  padding: 4px 12px 0;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: .02em;
}

.cover-note {
  padding: 4px 12px 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* 最近更新记录 */
.update-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.update-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.update-list {
  border-top: 1px solid var(--line);
}

.update-row {
  display: flex;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
  position: relative;
  transition: background-color .18s ease;
}

.update-row:hover {
  background: rgba(46, 125, 116, .04);
}

.update-date {
  flex: none;
  width: 84px;
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  line-height: 1.7;
}

.update-body {
  min-width: 0;
  flex: 1;
}

.update-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.update-meta {
  margin-top: 2px;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: .02em;
}

.update-note {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.update-aside {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.update-aside .aside-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.update-aside p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

/* 榜单与合辑 */
.board-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.board-column {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.board-title {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-row {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.board-rank {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--coral-soft);
  color: #A8463F;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.board-body {
  min-width: 0;
  flex: 1;
}

.board-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.board-reason {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.board-list-plain {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.board-list-plain .board-name {
  font-size: 14px;
}

/* 阅读说明摘要 */
.notes-section {
  padding: 36px 0;
}

.notes-body {
  max-width: 820px;
}

.notes-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 12px;
}

.notes-body .btn {
  margin-top: 6px;
}

/* ============================================================
   pages：题材分类
   ============================================================ */
.page-title {
  font-size: 30px;
}

.page-title .page-title-desc,
.page-title-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.page-title {
  padding-bottom: 4px;
}

.page-title-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-title-text {
  min-width: 220px;
  flex: 1;
}

.page-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-anchor-nav a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  line-height: 1.5;
  transition: color .18s ease, border-color .18s ease;
}

.page-anchor-nav a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.theme-index-list {
  border-top: 1px solid var(--line);
}

.theme-index-item {
  display: flex;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}

.theme-index-num {
  flex: none;
  width: 30px;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}

.theme-index-body {
  min-width: 0;
  flex: 1;
}

.theme-index-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.theme-index-range {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.theme-index-tone {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.theme-index-fit {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--teal-dark);
  background: rgba(46, 125, 116, .08);
  border: 1px solid rgba(46, 125, 116, .22);
  border-radius: 999px;
  padding: 1px 9px;
}

.theme-group {
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
}

.theme-group + .theme-group {
  margin-top: 8px;
}

.theme-group-head {
  margin-bottom: 14px;
}

.theme-group-head h3 {
  font-size: 18px;
  font-weight: 700;
}

.theme-group-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.work-card:hover {
  border-color: rgba(46, 125, 116, .5);
  box-shadow: 0 2px 10px rgba(31, 42, 55, .06);
}

.work-cover {
  margin: 0;
  background: var(--line-soft);
}

.work-cover img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.work-body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.work-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-tone {
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.compare-table {
  min-width: 560px;
  font-size: 14px;
}

.compare-table thead th {
  background: #F1EFE8;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #FBFAF6;
  white-space: nowrap;
}

.compare-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  line-height: 1.7;
  vertical-align: top;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.aside-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.aside-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.question-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.question-item {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.question-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.question-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.question-hint {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-link-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-link-list a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

.aside-link-list li:last-child a {
  border-bottom: 0;
}

.aside-link-list a:hover {
  color: var(--teal);
}

/* ============================================================
   pages：最近更新
   ============================================================ */
.page-head {
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-head-copy {
  min-width: 220px;
  flex: 1;
}

.page-head-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 760px;
}

.anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anchor-bar a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  line-height: 1.5;
  transition: color .18s ease, border-color .18s ease;
}

.anchor-bar a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.update-intro {
  padding: 28px 0 8px;
}

.update-intro-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 10px;
  max-width: 820px;
}

.update-list-section {
  padding: 20px 0 32px;
}

.update-list-section .update-list {
  margin-top: 16px;
}

.update-list-section .update-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 6px;
  align-items: start;
}

.update-thumb {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--line-soft);
  grid-column: 1;
}

.update-thumb img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.update-main {
  min-width: 0;
  grid-column: 2;
}

.update-main .update-date {
  width: auto;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.update-main .update-name {
  font-size: 16px;
  margin-top: 2px;
}

.update-main .update-name a {
  color: var(--ink);
}

.update-main .update-name a:hover {
  color: var(--teal);
}

.update-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.update-progress {
  margin-top: 6px;
  font-size: 13px;
  color: var(--teal-dark);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.update-point {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.start-timing {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.timing-columns {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.timing-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.timing-title {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.timing-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.timing-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timing-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.timing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.tracking-steps {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.tracking-steps .step-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.tracking-steps .step-item {
  counter-increment: step;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px 52px;
  min-width: 0;
}

.tracking-steps .step-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.tracking-steps .step-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.tracking-steps .step-body {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.tracking-steps .step-link {
  margin-top: 6px;
  font-size: 13px;
}

.checklist-box {
  margin-top: 20px;
  background: #F1EFE8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.checklist-title {
  font-size: 15px;
  font-weight: 700;
}

.checklist-box .checklist {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-box .checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.75;
}

.checklist-box .checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* ============================================================
   pages：阅读顺序
   ============================================================ */
.page-title-area {
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-title-area .page-title-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border-bottom: 0;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anchor-nav a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  line-height: 1.5;
  transition: color .18s ease, border-color .18s ease;
}

.anchor-nav a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.layout-shell {
  padding-top: 28px;
}

.layout-shell .breadcrumb {
  padding-top: 0;
}

.structure-figure {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.structure-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.figure-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  background: #FBFAF6;
}

.structure-tree {
  border-top: 1px solid var(--line);
}

.tree-level {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}

.tree-level-1 {
  padding-left: 4px;
}

.tree-level-2 {
  padding-left: 28px;
}

.tree-level-3 {
  padding-left: 52px;
}

.tree-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}

.tree-level-2 .tree-title::before,
.tree-level-3 .tree-title::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--line);
}

.tree-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.structure-note {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.note-title {
  font-size: 14px;
  font-weight: 700;
}

.note-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.serialization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.serialization-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.serialization-title {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.serialization-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.serialization-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
}

.serialization-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.serialization-tail,
.checklist-tail {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-checklist .checklist {
  counter-reset: check;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-checklist .checklist-item {
  counter-increment: check;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 16px 54px;
  min-width: 0;
}

.section-checklist .checklist-item::before {
  content: counter(check, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.section-checklist .checklist-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.section-checklist .checklist-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-checklist .checklist-cond {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--teal-dark);
  background: rgba(46, 125, 116, .07);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.side-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.side-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.glossary-table {
  font-size: 13px;
}

.glossary-caption {
  text-align: left;
  font-size: 12px;
  color: var(--ink-soft);
  padding-bottom: 6px;
}

.glossary-table thead th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 8px;
  border-bottom: 1px solid var(--line);
  background: #FBFAF6;
  white-space: nowrap;
}

.glossary-table tbody th,
.glossary-table tbody td {
  text-align: left;
  padding: 8px 8px;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.65;
  vertical-align: top;
}

.glossary-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.glossary-table tbody td {
  color: var(--ink-soft);
}

.glossary-table tbody tr:last-child th,
.glossary-table tbody tr:last-child td {
  border-bottom: 0;
}

.side-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-link-list a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

.side-link-list li:last-child a {
  border-bottom: 0;
}

.side-link-list a:hover {
  color: var(--teal);
}

/* ============================================================
   pages：阅读说明
   ============================================================ */
.notes-section + .notes-section {
  margin-top: 8px;
}

.label-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.label-table {
  min-width: 560px;
  font-size: 14px;
}

.label-table thead th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 14px;
  background: #F1EFE8;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.label-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #FBFAF6;
  white-space: nowrap;
  vertical-align: top;
}

.label-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  line-height: 1.7;
  vertical-align: top;
}

.label-table tbody tr:last-child th,
.label-table tbody tr:last-child td {
  border-bottom: 0;
}

.notes-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.collection-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.collection-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.collection-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.collection-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  background: #FBFAF6;
}

.collection-body {
  min-width: 0;
}

.collection-body h3 {
  font-size: 16px;
  font-weight: 700;
}

.collection-body > p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.collection-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
}

.collection-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.collection-list li strong {
  color: var(--ink);
}

.collection-tip {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: #F1EFE8;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.collection-body .text-link {
  margin-top: 10px;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.maintenance-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.maintenance-card h3 {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.maintenance-card > p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.maintenance-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.maintenance-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
}

.maintenance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.maintenance-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item summary {
  display: block;
  position: relative;
  padding: 16px 40px 16px 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--teal);
}

.faq-item[open] summary {
  color: var(--teal);
}

.faq-answer {
  padding: 0 4px 16px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-list li {
  min-width: 0;
}

.related-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.related-list a:hover {
  border-color: rgba(46, 125, 116, .5);
  box-shadow: 0 2px 10px rgba(31, 42, 55, .06);
}

.related-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
}

.related-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============================================================
   pages：关于本站
   ============================================================ */
.page-title-block {
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-title-block .page-lead {
  margin-top: 0;
  min-width: 220px;
  flex: 1;
}

.page-about-site .page-layout {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.page-about-site .content-main {
  min-width: 0;
}

.content-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.section-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 10px;
}

.point-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.point-item {
  position: relative;
  padding: 10px 14px 10px 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.point-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.point-item strong {
  color: var(--ink);
}

.content-figure {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.content-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.content-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  background: #FBFAF6;
}

.rule-list {
  counter-reset: rule;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-item {
  counter-increment: rule;
  position: relative;
  padding: 12px 16px 12px 50px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  min-width: 0;
}

.rule-item::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.rule-item strong {
  color: var(--ink);
}

.boundary-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boundary-item {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.boundary-item::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-weight: 700;
}

.content-section .section-text a {
  margin-right: 14px;
}

/* ============================================================
   pages：404
   ============================================================ */
.error-main {
  padding-top: 48px;
  padding-bottom: 56px;
}

.error-panel {
  max-width: 720px;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--coral);
}

.error-title {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.35;
}

.error-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.error-home-link:hover {
  background: var(--teal-dark);
  color: #fff;
}

.error-guide {
  margin-top: 32px;
  max-width: 720px;
}

.error-guide-title {
  font-size: 18px;
  font-weight: 700;
}

.error-guide-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.error-guide-list a {
  display: block;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  min-height: 44px;
}

.error-guide-list a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-media img {
    height: 260px;
  }

  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .update-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-desc {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(31, 42, 55, .08);
    padding: 8px 16px 14px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: block;
    padding: 12px 10px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-list li:last-child .nav-link {
    border-bottom: 0;
  }

  .nav-link.is-current::after {
    display: none;
  }

  .nav-link.is-current {
    background: rgba(46, 125, 116, .08);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    min-height: 60px;
  }

  .site-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 26px 0 24px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-media img {
    height: 220px;
  }

  .page-title,
  .error-title {
    font-size: 24px;
  }

  .section-title,
  .content-section h2 {
    font-size: 19px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 22px;
  }

  .page-aside,
  .content-side {
    gap: 16px;
  }

  .theme-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .update-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .board-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .collection-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .collection-figure img {
    height: 200px;
  }

  .timing-columns,
  .serialization-grid,
  .maintenance-grid,
  .related-list,
  .error-guide-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .tracking-steps .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-list-section .update-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .update-thumb img {
    width: 72px;
    height: 72px;
  }

  .tree-level-2 {
    padding-left: 20px;
  }

  .tree-level-3 {
    padding-left: 36px;
  }

  .structure-figure img {
    height: 200px;
  }

  .content-figure img {
    height: 210px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding: 32px 16px 20px;
  }

  .footer-bottom {
    padding: 14px 16px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-mini {
    gap: 6px 14px;
  }
}

@media (max-width: 600px) {
  .overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cover-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cover-media img {
    height: 132px;
  }

  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-cover img {
    height: 170px;
  }

  .page-title-inner,
  .page-head-inner,
  .page-title-block {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .site-body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .hero-media img {
    height: 190px;
  }

  .theme-item {
    gap: 10px;
  }

  .theme-index {
    width: 24px;
    font-size: 13px;
  }

  .update-row {
    gap: 10px;
  }

  .update-date {
    width: 72px;
    font-size: 12px;
  }

  .update-list-section .update-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-thumb {
    display: none;
  }

  .update-main {
    grid-column: 1;
  }

  .board-column,
  .timing-col,
  .serialization-col,
  .maintenance-card,
  .aside-block,
  .side-block,
  .update-aside {
    padding: 16px;
  }

  .tracking-steps .step-item,
  .section-checklist .checklist-item {
    padding-left: 46px;
  }

  .tracking-steps .step-item::before,
  .section-checklist .checklist-item::before {
    left: 14px;
  }

  .point-item,
  .rule-item {
    padding-left: 30px;
  }

  .rule-item {
    padding-left: 44px;
  }

  .rule-item::before {
    left: 14px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
