/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: #f7f2e7;
  color: #22252b;
  font-family: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
  color: #22252b;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

dt {
  font-weight: 700;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #2c7a6b;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: #d9553f;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #4f7dbf;
  outline-offset: 3px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: #5c6068;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout · 全站骨架
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #f7f2e7;
  border-bottom: 3px solid #22252b;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #22252b;
}

.brand:hover {
  color: #22252b;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: #2c7a6b;
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 9px 8px;
  border: 2px solid #f7f2e7;
  border-radius: 2px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background-color: #f7f2e7;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-slogan {
  font-size: 12px;
  color: #5c6068;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  color: #22252b;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
}

.nav-item a:hover {
  background-color: #ece4d2;
  color: #22252b;
}

.nav-item.is-current a,
.nav-item a.is-current {
  color: #d9553f;
  border-bottom-color: #d9553f;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 2px solid #22252b;
  border-radius: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #22252b;
}

.site-main {
  display: block;
}

.home-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.page-container {
  max-width: 1180px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: #5c6068;
}

.breadcrumb a {
  color: #2c7a6b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-sep {
  color: #9a958a;
}

.breadcrumb-current {
  color: #22252b;
  font-weight: 700;
}

.page-header {
  padding: 22px 0 6px;
  border-bottom: 3px solid #22252b;
  margin-bottom: 32px;
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  color: #22252b;
  margin: 0;
}

/* ==========================================================================
   components · 通用模块部件
   ========================================================================== */

.section-head {
  margin-bottom: 22px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f7f2e7;
  background-color: #2c7a6b;
  border-radius: 3px;
}

.section-head h2,
.section-title {
  font-size: 26px;
  line-height: 1.35;
}

.section-lead,
.section-intro,
.section-desc {
  margin-top: 10px;
  max-width: 760px;
  font-size: 15px;
  color: #4a4e56;
}

.section-note {
  margin-top: 8px;
  margin-bottom: 20px;
  max-width: 760px;
  font-size: 15px;
  color: #4a4e56;
}

.summary-more {
  margin-top: 20px;
  font-size: 15px;
}

.summary-more a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid #2c7a6b;
  font-weight: 700;
}

.summary-more a:hover {
  border-bottom-color: #d9553f;
}

.tag,
.tag-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #22252b;
  background-color: #ece4d2;
  border: 1px solid #d8cdb4;
  border-radius: 999px;
}

.tag:hover,
.tag-link:hover {
  background-color: #e6b34a;
  border-color: #e6b34a;
  color: #22252b;
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid #2c7a6b;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid #22252b;
}

.btn-primary {
  background-color: #2c7a6b;
  border-color: #2c7a6b;
  color: #f7f2e7;
}

.btn-primary:hover {
  background-color: #245f54;
  border-color: #245f54;
  color: #f7f2e7;
}

.btn-ghost {
  background-color: transparent;
  color: #22252b;
}

.btn-ghost:hover {
  background-color: #22252b;
  color: #f7f2e7;
}

/* 表格通用 */
.field-table,
.data-table,
.scene-table {
  font-size: 14px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
}

.field-table th,
.field-table td,
.data-table th,
.data-table td,
.scene-table th,
.scene-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d8cdb4;
  line-height: 1.65;
}

.field-table thead th,
.data-table thead th,
.scene-table thead th {
  background-color: #22252b;
  color: #f7f2e7;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.field-table tbody th,
.data-table tbody th,
.scene-table tbody th {
  background-color: #f1ead9;
  white-space: nowrap;
  font-weight: 700;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td,
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.scene-table tbody tr:last-child th,
.scene-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-scroll,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll {
  border: 2px solid #22252b;
  background-color: #fffdf7;
}

.table-scroll .data-table {
  border: 0;
  min-width: 720px;
}

.table-wrap .data-table,
.table-wrap .scene-table {
  min-width: 560px;
}

/* 定义列表通用行 */
.boundary-list,
.field-list {
  border-top: 2px solid #22252b;
}

.boundary-row,
.boundary-item,
.field-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid #d8cdb4;
}

.boundary-row dt,
.boundary-item dt,
.field-row dt {
  font-size: 15px;
  color: #22252b;
}

.boundary-row dd,
.boundary-item dd,
.field-row dd {
  font-size: 15px;
  color: #4a4e56;
}

/* 入口卡片通用 */
.related-entry-cards,
.related-entries,
.related-entry-section {
  margin-top: 44px;
}

.related-grid,
.entry-grid,
.entry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card,
.entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  color: #22252b;
}

.related-card:hover,
.entry-card:hover {
  background-color: #f1ead9;
  color: #22252b;
  border-color: #2c7a6b;
}

.related-name,
.related-card h3,
.entry-card h3,
.entry-card-title,
.entry-title {
  font-size: 18px;
  color: #22252b;
}

.related-desc,
.related-card p,
.entry-card p,
.entry-card-desc,
.entry-desc {
  font-size: 14px;
  color: #4a4e56;
  flex-grow: 1;
}

.related-more,
.entry-link,
.entry-card-more {
  font-size: 13px;
  font-weight: 700;
  color: #2c7a6b;
}

.related-card:hover .related-more,
.entry-card:hover .entry-link,
.entry-card:hover .entry-card-more {
  color: #d9553f;
}

/* FAQ 通用 */
.faq-list {
  margin-top: 44px;
}

.faq-item {
  border: 2px solid #22252b;
  border-radius: 8px;
  background-color: #fffdf7;
  margin-bottom: 12px;
}

.faq-question {
  padding: 16px 46px 16px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #22252b;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: #2c7a6b;
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid #d8cdb4;
}

.faq-answer {
  padding: 14px 18px 18px;
}

.faq-answer p {
  font-size: 15px;
  color: #4a4e56;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
  padding: 40px 0 48px;
  border-bottom: 3px solid #22252b;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #d9553f;
  border-radius: 3px;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  max-width: 560px;
  font-size: 16px;
  color: #4a4e56;
  margin-bottom: 26px;
}

.hero-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.route-card {
  min-width: 0;
}

.route-card a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 14px 14px 16px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  color: #22252b;
}

.route-card a:hover {
  background-color: #2c7a6b;
  border-color: #2c7a6b;
  color: #f7f2e7;
}

.route-index {
  font-size: 12px;
  font-weight: 700;
  color: #d9553f;
}

.route-card a:hover .route-index {
  color: #e6b34a;
}

.route-name {
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 17px;
  font-weight: 700;
}

.route-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #5c6068;
}

.route-card a:hover .route-desc {
  color: #e8e2d2;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero-figure {
  border: 3px solid #22252b;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ece4d2;
}

.hero-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 8px 12px;
  background-color: #22252b;
  color: #f7f2e7;
  font-size: 12px;
}

.hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stack-figure {
  border: 2px solid #22252b;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ece4d2;
}

.stack-figure img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.stack-figure-a {
  transform: rotate(-1.2deg);
}

.stack-figure-b {
  transform: rotate(1.2deg);
}

/* 题材布告板 */
.subject-notice {
  padding: 48px 0;
  border-bottom: 3px solid #22252b;
}

.tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.notice-list {
  border-top: 2px solid #22252b;
}

.notice-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid #d8cdb4;
}

.notice-name {
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 18px;
  font-weight: 700;
  color: #2c7a6b;
}

.notice-text {
  font-size: 15px;
  color: #4a4e56;
}

/* 题材封面墙 */
.genre-wall {
  padding: 48px 0;
  border-bottom: 3px solid #22252b;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cover-card {
  min-width: 0;
}

.cover-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  overflow: hidden;
  color: #22252b;
}

.cover-card > a:hover {
  border-color: #d9553f;
  color: #22252b;
}

.cover-figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #ece4d2;
  border-bottom: 2px solid #22252b;
}

.cover-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cover-card > a:hover .cover-figure img {
  transform: scale(1.04);
}

.cover-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex-grow: 1;
}

.cover-name {
  font-size: 19px;
}

.cover-keywords {
  font-size: 13px;
  color: #5c6068;
  flex-grow: 1;
}

.cover-link {
  font-size: 13px;
  font-weight: 700;
  color: #2c7a6b;
}

.cover-card > a:hover .cover-link {
  color: #d9553f;
}

/* 更新观测摘要 */
.update-summary {
  padding: 48px 0;
  border-bottom: 3px solid #22252b;
}

.update-summary .field-table {
  display: table;
}

/* 读者观察序 */
.reader-order {
  padding: 48px 0;
  border-bottom: 3px solid #22252b;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.order-list {
  border-top: 2px solid #22252b;
}

.order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid #d8cdb4;
}

.order-num {
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #d9553f;
}

.order-body {
  min-width: 0;
}

.order-name {
  font-size: 19px;
  margin-bottom: 4px;
}

.order-reason {
  font-size: 15px;
  color: #4a4e56;
}

.order-fit {
  margin-top: 6px;
  font-size: 13px;
  color: #5c6068;
}

.order-note {
  padding: 22px;
  background-color: #22252b;
  color: #f7f2e7;
  border-radius: 8px;
}

.order-note-title {
  font-size: 18px;
  color: #e6b34a;
  margin-bottom: 10px;
}

.order-note p {
  font-size: 14px;
  color: #e8e2d2;
}

.order-note-list {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-note-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #e8e2d2;
}

.order-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background-color: #e6b34a;
  border-radius: 2px;
}

.order-note-link a {
  color: #e6b34a;
  font-weight: 700;
  border-bottom: 1px solid #e6b34a;
}

.order-note-link a:hover {
  color: #f7f2e7;
  border-bottom-color: #f7f2e7;
}

/* 角色索引摘要 */
.role-preview {
  padding: 48px 0;
  border-bottom: 3px solid #22252b;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.role-grid .role-card {
  min-width: 0;
}

.role-grid .role-card > a {
  display: block;
  height: 100%;
  padding: 18px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  color: #22252b;
}

.role-grid .role-card > a:hover {
  border-color: #4f7dbf;
  background-color: #eef2f8;
  color: #22252b;
}

.role-grid .role-name {
  font-size: 18px;
  margin-bottom: 10px;
}

.role-fields {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  font-size: 13px;
}

.role-fields dt {
  color: #5c6068;
  font-weight: 700;
}

.role-fields dd {
  color: #22252b;
}

/* 阅读路径 */
.path-strip {
  padding: 48px 0;
  border-bottom: 3px solid #22252b;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.path-strip .path-card {
  min-width: 0;
  padding: 20px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-left: 6px solid #e6b34a;
  border-radius: 8px;
}

.path-name {
  font-size: 19px;
  margin-bottom: 12px;
}

.path-steps {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 14px;
}

.path-steps dt {
  color: #2c7a6b;
  font-weight: 700;
  white-space: nowrap;
}

.path-steps dd {
  color: #4a4e56;
}

/* 说明与反馈入口 */
.notes-entry {
  padding: 48px 0 8px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.notes-block {
  padding: 24px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
}

.notes-block:first-child {
  border-top: 6px solid #d9553f;
}

.notes-block:last-child {
  border-top: 6px solid #2c7a6b;
}

.notes-block-title {
  font-size: 19px;
  margin-bottom: 10px;
}

.notes-block > p {
  font-size: 15px;
  color: #4a4e56;
}

.notes-link {
  margin-top: 14px;
}

.notes-link a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid #2c7a6b;
  font-weight: 700;
}

.notes-link a:hover {
  border-bottom-color: #d9553f;
}

/* ==========================================================================
   pages · 内页通用标题区
   ========================================================================== */

.page-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #2c7a6b;
  border-radius: 3px;
}

.page-lead,
.page-lede {
  max-width: 760px;
  font-size: 15px;
  color: #4a4e56;
}

.inner-main > .page-title,
.inner-main > .page-container > .page-title {
  padding: 20px 0 22px;
  border-bottom: 3px solid #22252b;
  margin-bottom: 32px;
}

.inner-main > .page-title .page-kicker,
.inner-main > .page-container > .page-title .page-kicker {
  margin-bottom: 10px;
}

.inner-main > .page-title .page-lead,
.inner-main > .page-title .page-lede,
.inner-main > .page-container > .page-title .page-lead,
.inner-main > .page-container > .page-title .page-lede {
  margin-top: 8px;
}

.page-header + .page-title {
  border-bottom: 0;
  padding-top: 0;
}

/* ==========================================================================
   pages · 题材档案
   ========================================================================== */

.filter-tag-bar {
  padding: 0 0 30px;
}

.filter-tag-bar .section-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.filter-note {
  font-size: 14px;
  color: #5c6068;
  margin-bottom: 16px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scope-note {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  margin-bottom: 40px;
  background-color: #ece4d2;
  border: 2px solid #22252b;
  border-radius: 8px;
}

.scope-note-head .section-title {
  font-size: 20px;
  line-height: 1.4;
}

.scope-note-body p {
  font-size: 15px;
  color: #4a4e56;
}

.scope-note-body p + p {
  margin-top: 10px;
}

.subject-entry-list {
  margin-bottom: 40px;
}

.subject-entry-list .section-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.subject-entry-list .section-intro {
  margin-bottom: 24px;
}

.subject-entry-list .entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.subject-entry {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  min-width: 0;
}

.entry-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background-color: #ece4d2;
  border: 1px solid #d8cdb4;
}

.entry-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.entry-name {
  font-size: 19px;
}

.entry-desc {
  font-size: 14px;
  color: #4a4e56;
}

.entry-scene,
.entry-tags {
  font-size: 13px;
  color: #5c6068;
}

.entry-label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #4f7dbf;
  border-radius: 3px;
}

.entry-link {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #2c7a6b;
}

.entry-link:hover {
  color: #d9553f;
}

.subject-boundary {
  padding: 28px 24px;
  margin-bottom: 8px;
  border: 2px solid #22252b;
  border-radius: 8px;
  background-color: #fffdf7;
}

.subject-boundary .section-title {
  font-size: 22px;
  margin-bottom: 16px;
}

.subject-boundary .boundary-list {
  border-top: 0;
}

/* ==========================================================================
   pages · 更新观测
   ========================================================================== */

.section-block {
  padding: 32px 0;
  border-bottom: 1px solid #d8cdb4;
}

.section-block:last-of-type {
  border-bottom: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 32px;
  align-items: start;
}

.intro-copy {
  min-width: 0;
}

.intro-copy h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.intro-copy p {
  font-size: 15px;
  color: #4a4e56;
}

.intro-copy p + p {
  margin-top: 10px;
}

.intro-points {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #22252b;
}

.intro-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #2c7a6b;
  border-radius: 2px;
}

.intro-figure {
  border: 2px solid #22252b;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ece4d2;
}

.intro-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.intro-figure figcaption {
  padding: 10px 14px;
  background-color: #fffdf7;
  border-top: 1px solid #d8cdb4;
  font-size: 13px;
  color: #5c6068;
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.column-card {
  padding: 20px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  border-top: 6px solid #4f7dbf;
  min-width: 0;
}

.column-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.column-card p {
  font-size: 14px;
  color: #4a4e56;
}

.column-card p + p {
  margin-top: 8px;
}

.limit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.limit-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  min-width: 0;
}

.limit-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 18px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #d9553f;
  border-radius: 6px;
}

.limit-body {
  min-width: 0;
}

.limit-body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.limit-body p {
  font-size: 14px;
  color: #4a4e56;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  position: relative;
  padding: 20px 18px 18px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  min-width: 0;
}

.flow-step .step-number {
  display: inline-block;
  margin-bottom: 8px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #2c7a6b;
  border-radius: 3px;
}

.flow-step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 14px;
  color: #4a4e56;
}

/* ==========================================================================
   pages · 读者榜单
   ========================================================================== */

.chart-title-block {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: start;
  padding: 4px 0 32px;
  border-bottom: 3px solid #22252b;
  margin-bottom: 8px;
}

.page-title-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #d9553f;
  border-radius: 3px;
}

.chart-note {
  padding: 20px;
  background-color: #22252b;
  color: #f7f2e7;
  border-radius: 8px;
}

.chart-note-title {
  font-size: 17px;
  color: #e6b34a;
  margin-bottom: 8px;
}

.chart-note p {
  font-size: 14px;
  color: #e8e2d2;
}

.chart-note p + p {
  margin-top: 8px;
}

.chart-observation,
.chart-dimensions,
.chart-fields,
.chart-reminders {
  padding: 36px 0;
  border-bottom: 1px solid #d8cdb4;
}

.observation-list {
  border-top: 2px solid #22252b;
}

.observation-item {
  display: grid;
  grid-template-columns: 48px 150px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px 4px;
  border-bottom: 1px solid #d8cdb4;
}

.observation-no {
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #d9553f;
}

.observation-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #d8cdb4;
  background-color: #ece4d2;
}

.observation-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.observation-body {
  min-width: 0;
}

.observation-body h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.observation-reason {
  font-size: 15px;
  color: #4a4e56;
}

.observation-fit {
  margin-top: 6px;
  font-size: 13px;
  color: #5c6068;
}

.chart-dimensions .data-table th,
.chart-dimensions .data-table td {
  font-size: 14px;
}

.chart-reminders .reminder-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reminder-card {
  padding: 20px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  border-left: 6px solid #e6b34a;
  min-width: 0;
}

.reminder-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.reminder-card p {
  font-size: 14px;
  color: #4a4e56;
}

/* ==========================================================================
   pages · 角色索引
   ========================================================================== */

.role-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 32px;
  align-items: start;
  padding: 8px 0 32px;
}

.role-intro-copy {
  min-width: 0;
}

.role-intro-copy h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.role-intro-copy p {
  font-size: 15px;
  color: #4a4e56;
}

.role-intro-copy p + p {
  margin-top: 10px;
}

.role-intro-points {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-intro-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #22252b;
}

.role-intro-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #4f7dbf;
  border-radius: 2px;
}

.role-intro-figure {
  border: 2px solid #22252b;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ece4d2;
}

.role-intro-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.role-intro-figure figcaption {
  padding: 10px 14px;
  background-color: #fffdf7;
  border-top: 1px solid #d8cdb4;
  font-size: 13px;
  color: #5c6068;
}

.role-group-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 0 28px;
  border-top: 2px solid #22252b;
  border-bottom: 1px solid #d8cdb4;
  margin-bottom: 32px;
}

.role-group-label {
  font-size: 14px;
  font-weight: 700;
  color: #22252b;
}

.role-group-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-group-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #22252b;
  background-color: #ece4d2;
  border: 1px solid #d8cdb4;
  border-radius: 999px;
}

.role-group-link:hover {
  background-color: #4f7dbf;
  border-color: #4f7dbf;
  color: #f7f2e7;
}

.role-type-section {
  margin-bottom: 36px;
}

.role-type-section h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.role-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.role-type-grid .role-card {
  display: flex;
  flex-direction: column;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.role-card-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #ece4d2;
  border-bottom: 2px solid #22252b;
}

.role-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-card-body {
  padding: 16px;
  min-width: 0;
}

.role-card-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.role-card-function {
  font-size: 14px;
  color: #4a4e56;
  margin-bottom: 10px;
}

.role-card-attrs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 13px;
}

.role-card-attrs dt {
  color: #5c6068;
  font-weight: 700;
  white-space: nowrap;
}

.role-card-attrs dd {
  color: #22252b;
}

.role-attribute-section {
  padding: 32px 0;
  border-top: 1px solid #d8cdb4;
  border-bottom: 1px solid #d8cdb4;
  margin-bottom: 36px;
}

.role-attribute-section h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.relationship-section h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.relationship-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.relationship-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
}

.relationship-node {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #22252b;
  background-color: #ece4d2;
  border-radius: 4px;
}

.relationship-arrow {
  font-size: 16px;
  color: #d9553f;
  font-weight: 700;
}

.relationship-desc {
  flex-basis: 100%;
  font-size: 13px;
  color: #5c6068;
}

/* ==========================================================================
   pages · 阅读导览
   ========================================================================== */

.reading-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: start;
  padding: 8px 0 36px;
  border-bottom: 3px solid #22252b;
  margin-bottom: 36px;
}

.reading-hero-copy {
  min-width: 0;
}

.reading-hero-copy h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.reading-hero-copy p {
  font-size: 15px;
  color: #4a4e56;
}

.reading-hero-copy p + p {
  margin-top: 10px;
}

.reading-hero-points {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reading-hero-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #22252b;
}

.reading-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #e6b34a;
  border-radius: 2px;
}

.reading-hero-link {
  margin-top: 18px;
}

.reading-hero-link a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #2c7a6b;
  border-radius: 6px;
}

.reading-hero-link a:hover {
  background-color: #245f54;
  color: #f7f2e7;
}

.reading-hero-media {
  position: relative;
  min-width: 0;
  min-height: 300px;
  padding-bottom: 40px;
}

.reading-hero-media img:first-of-type {
  width: 86%;
  height: 220px;
  object-fit: cover;
  border: 3px solid #22252b;
  border-radius: 8px;
  background-color: #ece4d2;
}

.reading-hero-media img:last-of-type {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 58%;
  height: 150px;
  object-fit: cover;
  border: 3px solid #22252b;
  border-radius: 8px;
  background-color: #ece4d2;
  box-shadow: 0 4px 0 rgba(34, 37, 43, 0.12);
}

.reading-hero-media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 12px;
  color: #5c6068;
}

.three-paths {
  margin-bottom: 40px;
}

.path-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.path-card-grid .path-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 20px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
}

.path-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #4f7dbf;
  border-radius: 3px;
}

.path-card-name {
  font-size: 19px;
}

.path-card-flow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 14px;
}

.path-card-flow dt {
  color: #2c7a6b;
  font-weight: 700;
  white-space: nowrap;
}

.path-card-flow dd {
  color: #4a4e56;
}

.path-card-scene {
  font-size: 13px;
  color: #5c6068;
  flex-grow: 1;
}

.path-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #2c7a6b;
}

.path-card-link:hover {
  color: #d9553f;
}

.follow-checklist {
  padding: 32px 0;
  border-top: 1px solid #d8cdb4;
  border-bottom: 1px solid #d8cdb4;
  margin-bottom: 40px;
}

.checklist-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  min-width: 0;
}

.checklist-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #2c7a6b;
  border-radius: 50%;
}

.checklist-body {
  min-width: 0;
}

.checklist-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.checklist-body p {
  font-size: 14px;
  color: #4a4e56;
}

.reading-scene {
  margin-bottom: 40px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 20px;
  background-color: #ece4d2;
  border: 2px solid #22252b;
  border-radius: 8px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 700;
  color: #22252b;
}

.related-links-item {
  font-size: 14px;
  font-weight: 700;
  color: #2c7a6b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   pages · 说明与反馈
   ========================================================================== */

.content-boundary {
  padding: 8px 0 32px;
  border-bottom: 1px solid #d8cdb4;
  margin-bottom: 36px;
}

.content-boundary h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.feedback-process {
  margin-bottom: 36px;
}

.feedback-process h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.process-step {
  padding: 20px 18px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  border-top: 6px solid #2c7a6b;
  min-width: 0;
}

.process-step .step-index {
  display: inline-block;
  margin-bottom: 8px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #f7f2e7;
  background-color: #d9553f;
  border-radius: 3px;
}

.process-step .step-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.process-step .step-desc {
  font-size: 14px;
  color: #4a4e56;
}

.notes-figure {
  border: 2px solid #22252b;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ece4d2;
  margin-bottom: 36px;
}

.notes-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.notes-figure .figure-caption {
  padding: 10px 16px;
  background-color: #fffdf7;
  border-top: 1px solid #d8cdb4;
  font-size: 13px;
  color: #5c6068;
}

.feedback-scope-compare {
  padding: 32px 0;
  border-top: 1px solid #d8cdb4;
  border-bottom: 1px solid #d8cdb4;
  margin-bottom: 36px;
}

.feedback-scope-compare h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.compare-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.compare-col {
  padding: 20px;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
  min-width: 0;
}

.compare-accept {
  border-top: 6px solid #2c7a6b;
}

.compare-reject {
  border-top: 6px solid #d9553f;
}

.compare-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #4a4e56;
}

.compare-accept .compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #2c7a6b;
  border-radius: 2px;
}

.compare-reject .compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #d9553f;
  border-radius: 2px;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.error-hero {
  padding: 56px 0 40px;
  border-bottom: 3px solid #22252b;
  max-width: 760px;
}

.error-code {
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: #d9553f;
  margin-bottom: 12px;
}

.error-title {
  font-size: 34px;
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  color: #4a4e56;
  margin-bottom: 26px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.error-routes {
  padding: 40px 0 32px;
  border-bottom: 1px solid #d8cdb4;
}

.error-routes .section-title,
.error-help .section-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.error-route-item {
  min-width: 0;
}

.error-route-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px;
  font-weight: 700;
  color: #22252b;
  background-color: #fffdf7;
  border: 2px solid #22252b;
  border-radius: 8px;
}

.error-route-item a:hover {
  background-color: #2c7a6b;
  border-color: #2c7a6b;
  color: #f7f2e7;
}

.error-route-note {
  font-size: 13px;
  font-weight: 400;
  color: #5c6068;
}

.error-route-item a:hover .error-route-note {
  color: #e8e2d2;
}

.error-help {
  padding: 32px 0 8px;
}

.error-help .section-desc {
  margin-bottom: 16px;
}

/* ==========================================================================
   layout · 页脚
   ========================================================================== */

.site-footer {
  background-color: #22252b;
  color: #e8e2d2;
  border-top: 6px solid #2c7a6b;
  margin-top: 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 36px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
  color: #f7f2e7;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #b9b2a1;
}

.footer-copy {
  margin-top: 12px;
  font-size: 12px;
  color: #8f8a7d;
}

.footer-group {
  min-width: 0;
}

.footer-title {
  font-family: "Source Han Sans SC", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #e6b34a;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-group a {
  font-size: 13px;
  color: #d8d2c4;
  line-height: 1.6;
}

.footer-group a:hover {
  color: #e6b34a;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    flex-basis: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid #d8cdb4;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item a {
    display: block;
    padding: 12px 8px;
    font-size: 16px;
    border-bottom: 1px solid #e2d9c6;
    border-radius: 0;
  }

  .nav-item.is-current a,
  .nav-item a.is-current {
    border-bottom-color: #d9553f;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0 40px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-figure img {
    height: 260px;
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-grid .path-card:last-child {
    grid-column: 1 / -1;
  }

  .notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-note {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .subject-entry-list .entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro-grid,
  .role-intro,
  .reading-hero,
  .chart-title-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .three-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-steps,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .observation-item {
    grid-template-columns: 40px 120px minmax(0, 1fr);
    gap: 14px;
  }

  .role-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .chart-reminders .reminder-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-grid,
  .entry-grid,
  .entry-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .error-route-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .home-main,
  .inner-main,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 48px;
  }

  .page-header {
    padding: 16px 0 4px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 30px;
  }

  .section-head h2,
  .section-title {
    font-size: 22px;
  }

  .section-kicker {
    font-size: 11px;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-routes {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-card a {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
  }

  .route-name {
    font-size: 16px;
  }

  .route-desc {
    flex-basis: 100%;
  }

  .hero-figure img {
    height: 210px;
  }

  .stack-figure img {
    height: 100px;
  }

  .stack-figure-a,
  .stack-figure-b {
    transform: none;
  }

  .subject-notice,
  .genre-wall,
  .update-summary,
  .reader-order,
  .role-preview,
  .path-strip,
  .notes-entry {
    padding: 32px 0;
  }

  .notice-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .notice-name {
    font-size: 17px;
  }

  .cover-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-table,
  .data-table,
  .scene-table {
    font-size: 13px;
  }

  .field-table th,
  .field-table td,
  .data-table th,
  .data-table td,
  .scene-table th,
  .scene-table td {
    padding: 10px 10px;
  }

  .order-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .order-num {
    font-size: 22px;
  }

  .order-note {
    padding: 18px;
  }

  .role-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-grid .path-card:last-child {
    grid-column: auto;
  }

  .boundary-row,
  .boundary-item,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .scope-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .subject-entry {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-cover {
    aspect-ratio: 16 / 9;
  }

  .limit-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-steps,
  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .observation-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .observation-cover {
    grid-column: 2;
    max-width: 180px;
  }

  .observation-body {
    grid-column: 2;
  }

  .chart-reminders .reminder-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .role-type-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .role-group-tabs {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .checklist-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .reading-hero-media {
    min-height: 0;
    padding-bottom: 0;
  }

  .reading-hero-media img:first-of-type {
    width: 100%;
    height: 200px;
  }

  .reading-hero-media img:last-of-type {
    position: static;
    width: 70%;
    height: 130px;
    margin-top: 12px;
    margin-left: auto;
    box-shadow: none;
  }

  .reading-hero-media figcaption {
    position: static;
    margin-top: 8px;
  }

  .compare-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-figure img {
    height: 200px;
  }

  .intro-figure img {
    height: 200px;
  }

  .role-intro-figure img {
    height: 220px;
  }

  .related-grid,
  .entry-grid,
  .entry-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-code {
    font-size: 56px;
  }

  .error-title {
    font-size: 26px;
  }

  .error-route-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 16px 28px;
    gap: 22px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .related-links {
    padding: 14px 16px;
  }
}
