/* ============================================================
   base — 全局基础样式
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body,
.site-body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #22303c;
  background-color: #f7f3e8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #e4573d;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c23b24;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
  color: #22303c;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 17px;
}

p {
  margin-bottom: 0.8em;
}

[id] {
  scroll-margin-top: 88px;
}

/* ============================================================
   layout — 全站布局骨架
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 3px solid #e4573d;
  box-shadow: 0 1px 4px rgba(34, 48, 60, 0.08);
}

.header-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #22303c;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 13px;
  color: #e4573d;
  font-weight: 600;
}

.site-nav .nav-list {
  display: flex;
  gap: 4px;
}

.site-nav .nav-list a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #22303c;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-list a:hover {
  background-color: #f7f3e8;
  color: #e4573d;
}

.site-nav .nav-list a.is-current {
  background-color: #e4573d;
  color: #ffffff;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #d9d2c0;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #22303c;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-main {
  min-height: 60vh;
}

.home-main {
  padding-bottom: 0;
}

.inner-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.breadcrumb {
  font-size: 14px;
  color: #6b7682;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2dccd;
}

.breadcrumb a {
  color: #e4573d;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #a8a294;
}

.breadcrumb-current {
  color: #6b7682;
}

.page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  color: #22303c;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: #55626f;
  max-width: 720px;
  line-height: 1.8;
}

.page-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer {
  background-color: #22303c;
  color: #c9d2da;
  margin-top: 48px;
}

.footer-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a4a58;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: #c9d2da;
  font-size: 15px;
}

.footer-col ul a:hover {
  color: #f2a33c;
}

.footer-bottom {
  border-top: 1px solid #3a4a58;
  padding: 16px 24px;
  text-align: center;
  font-size: 14px;
  color: #8fa0ae;
}

.footer-bottom p {
  margin: 0;
  max-width: 1140px;
  margin: 0 auto;
}

/* ============================================================
   components — 通用组件
   ============================================================ */
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: #22303c;
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #e4573d;
  border-radius: 2px;
}

.section-index {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #e4573d;
  margin-right: 8px;
  vertical-align: 2px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 22px;
  font-weight: 800;
  color: #22303c;
  margin-bottom: 8px;
}

.section-heading p {
  color: #55626f;
  font-size: 15px;
}

.section-block {
  margin-bottom: 48px;
}

.text-link {
  color: #e4573d;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link:hover {
  color: #c23b24;
}

.text-link::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   pages — 首页
   ============================================================ */
.hero-section {
  padding-top: 48px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero-copy h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: #55626f;
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-primary,
.btn-secondary,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #e4573d;
  color: #ffffff;
  border: 2px solid #e4573d;
}

.btn-primary:hover {
  background-color: #c23b24;
  border-color: #c23b24;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #22303c;
  border: 2px solid #22303c;
}

.btn-secondary:hover {
  background-color: #22303c;
  color: #ffffff;
}

.btn-text {
  padding: 8px 4px;
  color: #e4573d;
  background: transparent;
}

.btn-text:hover {
  color: #c23b24;
  text-decoration: underline;
}

.hero-index {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 24px;
}

.hero-index .section-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag-cloud li a {
  display: inline-block;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #2aa198;
  background-color: #eaf6f4;
  border: 1px solid #cdeae6;
  border-radius: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-cloud li a:hover {
  background-color: #2aa198;
  color: #ffffff;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.archive-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #22303c;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.archive-list li a::before {
  content: "▸";
  color: #f2a33c;
  font-size: 14px;
}

.archive-list li a:hover {
  background-color: #f7f3e8;
  color: #e4573d;
}

.content-media-primary {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e2dccd;
}

.content-media-primary img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-media-primary figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #6b7682;
  background-color: #ffffff;
  border-top: 1px solid #e2dccd;
}

.update-strip {
  background-color: #f2a33c;
  border-top: 1px solid #e0912a;
  border-bottom: 1px solid #e0912a;
}

.strip-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.strip-label {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #22303c;
  background-color: #ffffff;
  padding: 2px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.strip-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #22303c;
}

.strip-list time {
  font-weight: 700;
  color: #7a4a0e;
}

.strip-list a {
  color: #22303c;
  font-weight: 500;
}

.strip-list a:hover {
  color: #ffffff;
}

.dual-section {
  padding-top: 48px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.editor-note p {
  color: #55626f;
  margin-bottom: 16px;
}

.cover-wall .section-title {
  margin-bottom: 16px;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cover-card {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cover-card:hover {
  box-shadow: 0 4px 12px rgba(34, 48, 60, 0.1);
  transform: translateY(-2px);
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cover-card figcaption {
  padding: 10px 12px;
}

.cover-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #2aa198;
  background-color: #eaf6f4;
  padding: 2px 10px;
  border-radius: 10px;
}

.rank-section {
  background-color: #ffffff;
  border-top: 1px solid #e2dccd;
  border-bottom: 1px solid #e2dccd;
  padding: 40px 0;
}

.rank-section .section-title {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 42px;
}

.rank-list {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

.rank-list li {
  display: grid;
  grid-template-columns: 48px 1fr 160px 100px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0ece2;
  transition: background-color 0.2s ease;
}

.rank-list li:hover {
  background-color: #f7f3e8;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-no {
  font-size: 20px;
  font-weight: 800;
  color: #f2a33c;
  font-style: italic;
}

.rank-name {
  font-size: 16px;
  font-weight: 600;
  color: #22303c;
}

.rank-tag {
  font-size: 13px;
  color: #2aa198;
  background-color: #eaf6f4;
  padding: 2px 10px;
  border-radius: 10px;
  justify-self: start;
}

.rank-heat {
  font-size: 13px;
  color: #6b7682;
  text-align: right;
}

.rank-more {
  display: block;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: right;
  font-weight: 600;
  font-size: 15px;
}

.guide-section {
  padding: 48px 0 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 20px;
  position: relative;
}

.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 28px;
}

.step-item h3::before {
  content: attr(data-step);
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #e4573d;
  background-color: #fdeeea;
  padding: 2px 10px;
  border-radius: 10px;
}

.step-item p {
  font-size: 15px;
  color: #55626f;
  margin-bottom: 12px;
}

.check-point {
  display: block;
  font-size: 14px;
  color: #2aa198;
  background-color: #eaf6f4;
  border-radius: 4px;
  padding: 8px 12px;
}

.guide-link {
  display: inline-block;
  font-weight: 600;
  color: #e4573d;
}

.guide-link:hover {
  text-decoration: underline;
}

.faq-section {
  background-color: #ffffff;
  border-top: 1px solid #e2dccd;
  padding: 40px 0;
}

.faq-section .section-title {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 42px;
}

.faq-section details {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-item {
  border-bottom: 1px solid #f0ece2;
}

.faq-item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #22303c;
  padding: 16px 36px 16px 0;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #e4573d;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: #e4573d;
}

.faq-item p {
  padding: 0 0 16px;
  color: #55626f;
  font-size: 15px;
}

.faq-more {
  display: block;
  max-width: 1140px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-weight: 600;
  text-align: right;
}

.feedback-bar {
  background-color: #22303c;
  padding: 32px 0;
}

.feedback-bar .page-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.feedback-bar p {
  color: #c9d2da;
  font-size: 15px;
  margin: 0;
  max-width: 640px;
}

.feedback-links {
  display: flex;
  gap: 16px;
}

.feedback-links a {
  color: #f2a33c;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
}

.feedback-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ============================================================
   pages — 题材目录 catalog
   ============================================================ */
.data-section .table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2dccd;
  background-color: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table thead th {
  background-color: #22303c;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0ece2;
  vertical-align: top;
  color: #3a4854;
}

.data-table tbody tr:nth-child(even) {
  background-color: #faf7f0;
}

.data-table tbody tr:hover {
  background-color: #fdeeea;
}

.tagwall-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.tagwall-intro {
  color: #55626f;
  margin-bottom: 20px;
}

.tag-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tag-group h3 {
  font-size: 15px;
  font-weight: 700;
  color: #e4573d;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f0ece2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li a {
  display: inline-block;
  padding: 4px 14px;
  font-size: 14px;
  color: #2aa198;
  background-color: #eaf6f4;
  border: 1px solid #cdeae6;
  border-radius: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-list li a:hover {
  background-color: #2aa198;
  color: #ffffff;
}

.tagwall-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e2dccd;
  border: 1px solid #e2dccd;
}

.tagwall-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tagwall-figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: #6b7682;
  background-color: #ffffff;
}

.usage-summary {
  font-size: 16px;
  color: #22303c;
  font-weight: 500;
  margin-bottom: 16px;
}

.usage-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.usage-list li {
  position: relative;
  padding-left: 28px;
  color: #55626f;
  font-size: 15px;
}

.usage-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2aa198;
  font-weight: 700;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 6px;
  color: #22303c;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links a:hover {
  border-color: #e4573d;
  color: #e4573d;
}

/* ============================================================
   pages — 精选作品 works
   ============================================================ */
.works-grid-section {
  margin-bottom: 48px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 4px 12px rgba(34, 48, 60, 0.1);
  transform: translateY(-2px);
}

.work-figure {
  position: relative;
  overflow: hidden;
}

.work-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.work-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #2aa198;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
}

.work-info {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-desc {
  font-size: 14px;
  color: #55626f;
  margin-bottom: 14px;
  flex: 1;
}

.work-link {
  font-size: 14px;
  font-weight: 600;
  color: #e4573d;
  align-self: flex-start;
}

.work-link:hover {
  text-decoration: underline;
}

.reading-path-section {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 28px;
}

.path-intro {
  color: #55626f;
  margin-bottom: 20px;
}

.path-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.path-list li a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #f7f3e8;
  border: 1px solid #e2dccd;
  border-radius: 6px;
  color: #22303c;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.path-list li a:hover {
  border-color: #e4573d;
  color: #e4573d;
}

/* ============================================================
   pages — 更新记录 updates
   ============================================================ */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.update-item {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
}

.update-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.update-time {
  font-size: 15px;
  font-weight: 700;
  color: #e4573d;
}

.update-col {
  font-size: 13px;
  color: #6b7682;
  background-color: #f7f3e8;
  padding: 2px 10px;
  border-radius: 10px;
  align-self: flex-start;
}

.update-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.update-summary {
  font-size: 15px;
  color: #55626f;
  margin-bottom: 8px;
}

.update-scope {
  font-size: 14px;
  color: #2aa198;
  background-color: #eaf6f4;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
}

.period-archive {
  margin-bottom: 48px;
}

.section-intro {
  color: #55626f;
  margin-bottom: 24px;
}

.period-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.period-card {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 20px 24px;
}

.period-card h3 {
  font-size: 17px;
  color: #e4573d;
  margin-bottom: 12px;
}

.period-list {
  margin-bottom: 16px;
}

.period-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: #3a4854;
}

.period-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #f2a33c;
}

.period-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e2dccd;
  border: 1px solid #e2dccd;
}

.period-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.period-figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: #6b7682;
  background-color: #ffffff;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.method-item {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 20px;
}

.method-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0ece2;
}

.method-item p {
  font-size: 15px;
  color: #55626f;
}

.update-method .related-links {
  margin-top: 8px;
}

.update-method .related-links p {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   pages — 阅读指南 guide
   ============================================================ */
.layout-shell {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

.layout-shell.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

.page-toc {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.page-toc h2 {
  font-size: 16px;
  font-weight: 700;
  color: #22303c;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0ece2;
}

.page-toc ul li {
  margin-bottom: 4px;
}

.page-toc ul a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: #55626f;
  border-radius: 4px;
  border-left: 3px solid transparent;
}

.page-toc ul a:hover {
  color: #e4573d;
  background-color: #fdeeea;
  border-left-color: #e4573d;
}

.toc-note {
  font-size: 13px;
  color: #8fa0ae;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0ece2;
  line-height: 1.6;
}

.guide-content .guide-section {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

.guide-content .guide-section > h2 {
  font-size: 20px;
  font-weight: 800;
  color: #e4573d;
  margin-bottom: 12px;
}

.step-lead {
  font-size: 16px;
  color: #22303c;
  font-weight: 500;
  margin-bottom: 20px;
}

.guide-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e2dccd;
  margin-bottom: 20px;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #6b7682;
  background-color: #ffffff;
  border-top: 1px solid #e2dccd;
}

.step-block {
  margin-bottom: 20px;
  padding: 16px 20px;
  background-color: #faf7f0;
  border-left: 4px solid #f2a33c;
  border-radius: 0 6px 6px 0;
}

.step-block h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-block p {
  font-size: 15px;
  color: #55626f;
  margin-bottom: 8px;
}

.step-block a {
  font-weight: 600;
}

.guide-map {
  background-color: #f7f3e8;
  border-radius: 8px;
  padding: 24px;
}

.guide-map h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-map > p {
  color: #55626f;
  margin-bottom: 16px;
}

.map-table {
  border: 1px solid #e2dccd;
  border-radius: 6px;
  overflow: hidden;
  background-color: #ffffff;
}

.map-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.map-row span {
  padding: 10px 14px;
  font-size: 14px;
  border-right: 1px solid #f0ece2;
  border-bottom: 1px solid #f0ece2;
}

.map-row span:last-child {
  border-right: none;
}

.map-row.map-head span {
  background-color: #22303c;
  color: #ffffff;
  font-weight: 600;
}

.map-row:last-child span {
  border-bottom: none;
}

.feedback-check {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 48px;
}

.feedback-check h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feedback-check > p {
  color: #55626f;
  margin-bottom: 16px;
}

.feedback-check ul {
  margin-bottom: 16px;
}

.feedback-check ul li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}

.feedback-check ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2aa198;
  font-weight: 700;
}

.feedback-check ul a {
  font-weight: 600;
}

/* ============================================================
   pages — 常见问题 faq
   ============================================================ */
.faq-content .faq-item {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.faq-content .faq-item > h2 {
  font-size: 19px;
  font-weight: 800;
  color: #22303c;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0ece2;
}

.faq-block {
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid #f2a33c;
}

.faq-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: #e4573d;
  margin-bottom: 6px;
}

.faq-block p {
  font-size: 15px;
  color: #55626f;
  margin-bottom: 4px;
}

.support-entry {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}

.support-media {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e2dccd;
}

.support-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.support-text h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.support-text p {
  color: #55626f;
  margin-bottom: 12px;
}

.support-text ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.support-text ul a {
  font-weight: 600;
}

/* ============================================================
   pages — 关于本站 about
   ============================================================ */
.info-table-wrap {
  border-radius: 8px;
  border: 1px solid #e2dccd;
  overflow-x: auto;
  background-color: #ffffff;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.info-table thead th {
  background-color: #22303c;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
}

.info-table tbody th {
  background-color: #faf7f0;
  font-weight: 600;
  color: #22303c;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  width: 160px;
  border-bottom: 1px solid #f0ece2;
}

.info-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0ece2;
  color: #3a4854;
}

.info-table tbody tr:last-child th,
.info-table tbody tr:last-child td {
  border-bottom: none;
}

.about-media-section {
  margin-bottom: 48px;
}

.media-note {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.media-note > h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.media-note > p {
  grid-column: 1;
  color: #55626f;
}

.about-figure {
  grid-column: 2;
  grid-row: 1 / span 3;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e2dccd;
  border: 1px solid #e2dccd;
}

.about-media-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: #6b7682;
  background-color: #ffffff;
  border-top: 1px solid #e2dccd;
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.boundary-item {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 20px;
}

.boundary-item h3 {
  font-size: 16px;
  color: #e4573d;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0ece2;
}

.boundary-item p {
  font-size: 15px;
  color: #55626f;
}

.route-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.route-item {
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 20px;
}

.route-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.route-item p {
  font-size: 15px;
  color: #55626f;
}

.route-item a {
  font-weight: 600;
}

.related-links-label {
  font-size: 15px;
  font-weight: 600;
  color: #22303c;
  margin-right: 12px;
}

.related-links-item {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 6px 16px;
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 6px;
  font-size: 14px;
  color: #22303c;
}

.related-links-item:hover {
  border-color: #e4573d;
  color: #e4573d;
}

/* ============================================================
   pages — 404
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 24px;
}

.error-box {
  text-align: center;
  max-width: 560px;
  background-color: #ffffff;
  border: 1px solid #e2dccd;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 64px;
  font-weight: 800;
  color: #e4573d;
  line-height: 1;
  margin-bottom: 16px;
}

.error-box h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  color: #55626f;
  margin-bottom: 24px;
}

.error-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 28px;
  background-color: #e4573d;
  color: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.error-back:hover {
  background-color: #c23b24;
  color: #ffffff;
}

.error-help {
  font-size: 14px;
  color: #8fa0ae;
}

/* ============================================================
   responsive — 响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero-section {
    gap: 24px;
  }

  .hero-index {
    padding: 20px;
  }

  .rank-list li {
    grid-template-columns: 40px 1fr 140px 80px;
  }

  .tagwall-layout {
    grid-template-columns: 1fr 260px;
    gap: 24px;
  }

  .media-note {
    grid-template-columns: 1fr 260px;
    gap: 24px;
  }

  .layout-shell.sidebar-left {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
  }
}

@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: 3px solid #e4573d;
    box-shadow: 0 4px 12px rgba(34, 48, 60, 0.1);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    padding: 12px 0;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list a {
    display: block;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 0;
  }

  .site-nav .nav-list a.is-current {
    background-color: #fdeeea;
    color: #e4573d;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .dual-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }

  .cover-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rank-list li {
    grid-template-columns: 36px 1fr 120px;
  }

  .rank-heat {
    display: none;
  }

  .steps-wrapper {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tagwall-layout {
    grid-template-columns: 1fr;
  }

  .tagwall-figure {
    max-width: 400px;
  }

  .period-grid {
    grid-template-columns: 1fr;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .layout-shell.sidebar-left {
    grid-template-columns: 1fr;
  }

  .page-toc {
    position: static;
    max-height: none;
    margin-bottom: 24px;
  }

  .map-row {
    grid-template-columns: 1fr;
  }

  .map-row span {
    border-right: none;
  }

  .map-row.map-head {
    display: none;
  }

  .map-row span {
    padding: 8px 14px;
  }

  .support-entry {
    grid-template-columns: 1fr;
  }

  .support-media {
    max-width: 400px;
  }

  .media-note {
    grid-template-columns: 1fr;
  }

  .about-figure {
    grid-column: 1;
    grid-row: auto;
    max-width: 400px;
  }

  .boundary-list {
    grid-template-columns: 1fr;
  }

  .route-list {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feedback-bar .page-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .feedback-links {
    flex-wrap: wrap;
  }

  .update-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .update-meta {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header-shell {
    padding: 0 16px;
  }

  .brand-tag {
    display: none;
  }

  .page-layout,
  .inner-main,
  .strip-inner,
  .footer-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .btn-text {
    align-self: flex-start;
  }

  .hero-index {
    padding: 16px;
  }

  .cover-grid {
    grid-template-columns: 1fr;
  }

  .cover-card img {
    aspect-ratio: 16 / 9;
  }

  .rank-list li {
    grid-template-columns: 32px 1fr;
    gap: 8px;
    padding: 10px 8px;
  }

  .rank-tag {
    grid-column: 2;
    justify-self: start;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-figure img {
    aspect-ratio: 16 / 10;
  }

  .faq-section details,
  .rank-list,
  .rank-more,
  .faq-more,
  .guide-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-section .section-title,
  .rank-section .section-title {
    padding-left: 34px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .period-figure img {
    aspect-ratio: 16 / 9;
  }

  .guide-figure img {
    aspect-ratio: 16 / 10;
  }

  .guide-content .guide-section {
    padding: 20px 16px;
  }

  .step-block {
    padding: 14px 16px;
  }

  .faq-content .faq-item {
    padding: 20px 16px;
  }

  .faq-block {
    padding-left: 12px;
  }

  .error-box {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 48px;
  }

  .strip-list {
    flex-direction: column;
    gap: 6px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 26px;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0ece2;
  }

  .data-table tbody td {
    display: block;
    padding: 6px 16px;
    border-bottom: none;
  }

  .data-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e4573d;
    margin-bottom: 2px;
  }

  .info-table thead {
    display: none;
  }

  .info-table tbody tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0ece2;
  }

  .info-table tbody th {
    display: block;
    width: 100%;
    padding: 6px 16px;
    border-bottom: none;
    background-color: #faf7f0;
  }

  .info-table tbody td {
    display: block;
    padding: 6px 16px;
  }
}
