/* ============================================================
   天美影院 · itmaker.vip
   base / layout / components / pages / responsive
   ============================================================ */

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #f4f0e8;
  color: #141414;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #141414;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: #141414;
  text-decoration: none;
}

a:hover {
  color: #e8491d;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

figure {
  margin: 0;
}

dl,
dd,
dt {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #e8491d;
  outline-offset: 3px;
}

/* ---------- layout : shell ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #f4f0e8;
  border-bottom: 1px solid rgba(20, 20, 20, 0.14);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
  align-content: center;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand-mark {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #141414;
  line-height: 1.2;
}

.brand-slogan {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #6e7c7c;
  line-height: 1.4;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav li {
  display: block;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: #141414;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.main-nav a:hover {
  color: #e8491d;
  border-bottom-color: rgba(232, 73, 29, 0.4);
}

.main-nav a.is-current {
  color: #e8491d;
  border-bottom-color: #e8491d;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(20, 20, 20, 0.28);
  border-radius: 6px;
  position: relative;
  flex: 0 0 auto;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: #141414;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 #141414;
}

.nav-toggle::after {
  top: 28px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 22px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  top: 22px;
  transform: rotate(-45deg);
}

.site-main {
  display: block;
}

.inner-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 96px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6e7c7c;
  margin-bottom: 26px;
}

.breadcrumb a {
  color: #6e7c7c;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.breadcrumb a:hover {
  color: #e8491d;
}

.breadcrumb-sep {
  color: #a9b2b2;
}

.breadcrumb-current {
  color: #141414;
}

.page-header {
  margin-bottom: 44px;
}

.page-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.08;
  font-weight: 700;
  color: #141414;
  margin: 0;
}

header.page-title {
  font-size: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px 64px;
  align-items: start;
  padding-top: 8px;
  border-top: 1px solid rgba(20, 20, 20, 0.16);
}

header.page-title > .eyebrow {
  grid-column: 1;
  margin-top: 18px;
}

header.page-title > .page-lede,
header.page-title > .page-lead,
header.page-title > .lede {
  grid-column: 1;
  font-size: 17px;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 34em;
}

header.page-title > .title-meta,
header.page-title > .page-meta,
header.page-title > .page-title-card {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
}

header.page-title > .page-title-copy {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

header.page-title > .page-title-copy > .eyebrow {
  margin: 0;
}

header.page-title > .page-title-card {
  grid-row: 1;
}

.eyebrow {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e8491d;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* ---------- layout : inner grid ---------- */

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 64px;
  align-items: start;
}

.primary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.related {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related > h2 {
  font-size: 1.05rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6e7c7c;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

/* ---------- components : section head ---------- */

.section-head {
  margin-bottom: 26px;
}

.section-head .eyebrow {
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-head > p:last-child {
  color: #4a5252;
  max-width: 42em;
  font-size: 16px;
}

/* ---------- components : links ---------- */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #141414;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.link-arrow::after {
  content: "\2192";
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  transition: transform 0.18s ease;
}

.link-arrow:hover {
  color: #e8491d;
  border-color: #e8491d;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- components : figures ---------- */

.hero-visual,
.topic-media,
.directory-visual,
.path-figure,
.content-figure,
.scope-figure {
  overflow: hidden;
  border-radius: 8px;
  background-color: #e6e0d4;
}

.hero-visual img,
.topic-media img,
.directory-visual img,
.path-figure img,
.content-figure img,
.scope-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual {
  aspect-ratio: 4 / 3;
}

.hero-visual img {
  aspect-ratio: 4 / 3;
}

.topic-media {
  aspect-ratio: 16 / 10;
}

.topic-media img {
  aspect-ratio: 16 / 10;
}

.directory-visual {
  aspect-ratio: 16 / 7;
  margin-bottom: 32px;
}

.directory-visual img {
  aspect-ratio: 16 / 7;
}

.path-figure {
  aspect-ratio: 16 / 8;
  margin-bottom: 32px;
}

.path-figure img {
  aspect-ratio: 16 / 8;
}

.content-figure {
  aspect-ratio: 16 / 8;
  margin: 40px 0;
}

.content-figure img {
  aspect-ratio: 16 / 8;
}

.scope-figure {
  aspect-ratio: 16 / 8;
  margin-bottom: 32px;
}

.scope-figure img {
  aspect-ratio: 16 / 8;
}

figcaption {
  font-size: 13px;
  line-height: 1.7;
  color: #6e7c7c;
  padding: 10px 2px 0;
}

/* ---------- components : footer ---------- */

.site-footer {
  background-color: #141414;
  color: #d9d5cc;
  margin-top: 0;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f4f0e8;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.85;
  color: #9aa3a0;
  max-width: 26em;
}

.footer-col {
  min-width: 0;
}

.footer-col h2 {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e8491d;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14.5px;
  color: #d9d5cc;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #f4f0e8;
}

.footer-nav {
  min-width: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(244, 240, 232, 0.14);
}

.footer-bottom p {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 32px;
  font-size: 13px;
  color: #8b938f;
  line-height: 1.7;
}

/* ============================================================
   pages : index
   ============================================================ */

.home-main {
  display: block;
}

/* hero */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
  padding-top: 12px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 17.5px;
  line-height: 1.85;
  color: #3a3a3a;
  max-width: 30em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.hero-visual figcaption {
  padding-top: 12px;
}

/* task board */

.task-board {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.22);
  border-bottom: 1px solid rgba(20, 20, 20, 0.22);
}

.task-cell {
  min-width: 0;
  padding: 28px 28px 32px;
  border-right: 1px solid rgba(20, 20, 20, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-cell:last-child {
  border-right: 0;
}

.task-index {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e8491d;
}

.task-cell h2 {
  font-size: 1.3rem;
  line-height: 1.35;
}

.task-cell > p:nth-of-type(2) {
  font-size: 15px;
  color: #4a5252;
  flex: 1 1 auto;
}

.task-cell a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: #141414;
  border-bottom: 1px solid rgba(20, 20, 20, 0.35);
  align-self: flex-start;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.task-cell a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.task-cell a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

/* decision */

.decision {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px 64px;
  align-items: start;
}

.decision > .section-head {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.phenomenon-list {
  grid-column: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.phenomenon {
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.phenomenon summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 16px 36px 16px 0;
  position: relative;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  color: #141414;
  transition: color 0.18s ease;
}

.phenomenon summary::-webkit-details-marker {
  display: none;
}

.phenomenon summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 20px;
  color: #e8491d;
  line-height: 1;
}

.phenomenon[open] summary {
  color: #e8491d;
}

.phenomenon[open] summary::after {
  content: "\2212";
}

.phenomenon summary:hover {
  color: #e8491d;
}

.phenomenon-body {
  padding: 0 36px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phenomenon-body p {
  font-size: 15.5px;
  color: #4a5252;
  max-width: 40em;
}

.phenomenon-body a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  align-self: flex-start;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e3d35;
  border-bottom: 1px solid rgba(30, 61, 53, 0.4);
}

.phenomenon-body a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.phenomenon-body a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

.decision-note {
  grid-column: 2;
  min-width: 0;
  background-color: #1e3d35;
  color: #e8ece6;
  border-radius: 8px;
  padding: 26px 24px;
}

.decision-note h3 {
  font-size: 1.1rem;
  color: #f4f0e8;
  margin-bottom: 10px;
}

.decision-note p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #c6cec6;
}

/* channel ledger */

.channel-ledger {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 0;
}

.ledger-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  border-top: 1px solid rgba(20, 20, 20, 0.22);
  padding-top: 32px;
}

.ledger-group {
  min-width: 0;
}

.ledger-group h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.14);
}

.ledger-group ul {
  display: flex;
  flex-direction: column;
}

.ledger-group li {
  border-bottom: 1px dashed rgba(20, 20, 20, 0.14);
}

.ledger-group a {
  display: flex;
  align-items: center;
  min-height: 46px;
  font-size: 15px;
  color: #141414;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.ledger-group a:hover {
  color: #e8491d;
  padding-left: 6px;
}

/* topic feature */

.topic-feature {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 0;
}

.topic-asym {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.topic-lead {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.topic-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #1e3d35;
  background-color: rgba(30, 61, 53, 0.1);
  border-radius: 4px;
  padding: 4px 10px;
  line-height: 1.6;
}

.topic-copy h3 {
  font-size: 1.45rem;
  line-height: 1.35;
}

.topic-copy p {
  font-size: 15.5px;
  color: #4a5252;
  max-width: 38em;
}

.topic-copy a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: #141414;
  border-bottom: 1px solid rgba(20, 20, 20, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.topic-copy a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.topic-copy a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

.topic-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.topic-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
}

.topic-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.topic-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}

.topic-card p {
  font-size: 15px;
  color: #4a5252;
}

.topic-card a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: #1e3d35;
  border-bottom: 1px solid rgba(30, 61, 53, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.topic-card a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.topic-card a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

/* entry checklist (home) */

.entry-checklist {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px 64px;
  align-items: start;
}

.entry-checklist > .section-head {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.check-steps {
  grid-column: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  counter-reset: checkstep;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.check-steps li {
  counter-increment: checkstep;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.check-steps li::before {
  content: counter(checkstep, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #e8491d;
  line-height: 1.6;
  padding-top: 2px;
}

.check-steps h3 {
  grid-column: 2;
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.check-steps p {
  grid-column: 2;
  font-size: 15.5px;
  color: #4a5252;
  max-width: 38em;
}

.stop-rule {
  grid-column: 2;
  min-width: 0;
  padding: 24px 0 0;
  border-top: 2px solid #e8491d;
}

.stop-rule h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.stop-rule p {
  font-size: 14.5px;
  color: #4a5252;
  margin-bottom: 14px;
}

.stop-rule a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: #141414;
  border-bottom: 1px solid rgba(20, 20, 20, 0.35);
}

.stop-rule a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.stop-rule a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

/* correction note */

.correction-note {
  max-width: 1180px;
  margin: 96px auto 0;
  padding: 0 32px;
}

.correction-note > .note-copy {
  background-color: #ffffff;
  border-radius: 8px 8px 0 0;
  padding: 36px 36px 0;
}

.correction-note .note-copy h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.correction-note .note-copy > p:last-child {
  font-size: 15.5px;
  color: #4a5252;
  max-width: 42em;
}

.correction-note .scope-list {
  background-color: #ffffff;
  padding: 24px 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.correction-note .scope-list li {
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #3a3a3a;
  padding-left: 14px;
  border-left: 2px solid rgba(232, 73, 29, 0.5);
}

.correction-note .note-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 36px;
  background-color: #141414;
  color: #f4f0e8;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.18s ease;
}

.correction-note .note-link::after {
  content: "\2192";
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 16px;
}

.correction-note .note-link:hover {
  background-color: #e8491d;
  color: #ffffff;
}

/* ============================================================
   pages : inner shared blocks
   ============================================================ */

/* title meta cards */

.title-meta dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.title-meta dt {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #6e7c7c;
  text-transform: uppercase;
  padding-top: 14px;
}

.title-meta dd {
  font-size: 14.5px;
  color: #141414;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.title-meta dl > dt:last-of-type + dd {
  border-bottom: 0;
}

.title-meta .meta-label {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #6e7c7c;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.title-meta ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-meta li {
  font-size: 14.5px;
  color: #141414;
  padding-left: 14px;
  position: relative;
}

.title-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background-color: #e8491d;
  border-radius: 50%;
}

.page-meta {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 22px 24px;
}

.page-meta dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-meta .meta-pair {
  padding: 12px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.page-meta .meta-pair:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-meta .meta-pair:first-child {
  padding-top: 0;
}

.page-meta dt {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #6e7c7c;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-meta dd {
  font-size: 14.5px;
  color: #141414;
  line-height: 1.7;
}

.page-meta h2 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.page-title-card {
  background-color: #1e3d35;
  border-radius: 8px;
  padding: 24px;
  color: #e8ece6;
}

.page-title-card h2 {
  font-size: 1.05rem;
  color: #f4f0e8;
  margin-bottom: 12px;
}

.page-title-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-title-card li {
  font-size: 14.5px;
  line-height: 1.7;
  color: #c6cec6;
  padding-left: 16px;
  position: relative;
}

.page-title-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background-color: #e8491d;
  border-radius: 50%;
}

/* related cards */

.related-card {
  min-width: 0;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease;
}

.related-card:hover {
  border-color: rgba(232, 73, 29, 0.5);
}

.related-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
}

.related-card h3 a {
  color: #141414;
}

.related-card h3 a:hover {
  color: #e8491d;
}

.related-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #5a6363;
}

.related-card > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: #1e3d35;
  border-bottom: 1px solid rgba(30, 61, 53, 0.4);
}

.related-card > a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.related-card > a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

/* ============================================================
   pages : channel-index
   ============================================================ */

.view-switch .segmented {
  display: inline-flex;
  border: 1px solid rgba(20, 20, 20, 0.28);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.seg-btn {
  min-height: 46px;
  padding: 0 24px;
  font-size: 14.5px;
  color: #3a3a3a;
  background-color: transparent;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.seg-btn + .seg-btn {
  border-left: 1px solid rgba(20, 20, 20, 0.28);
}

.seg-btn:hover {
  color: #e8491d;
}

.seg-btn.is-active {
  background-color: #141414;
  color: #f4f0e8;
}

.view-panel {
  display: block;
}

.view-panel[hidden] {
  display: none;
}

.panel-note {
  font-size: 15px;
  color: #4a5252;
  margin-bottom: 18px;
  max-width: 42em;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.channel-list li {
  min-width: 0;
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  padding: 14px 18px;
  font-size: 15px;
  color: #141414;
  display: flex;
  align-items: center;
  min-height: 52px;
}

.channel-directory {
  min-width: 0;
}

.channel-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 20, 20, 0.2);
}

.channel-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 0.9fr) auto;
  gap: 4px 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
}

.channel-row .row-no {
  grid-column: 1;
  grid-row: 1 / span 3;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #e8491d;
  line-height: 1.7;
  padding-top: 2px;
}

.channel-row h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.2rem;
  line-height: 1.4;
}

.channel-row .row-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 15px;
  color: #4a5252;
  max-width: 30em;
}

.channel-row .row-scene {
  grid-column: 3;
  grid-row: 1 / span 2;
  font-size: 14px;
  color: #1e3d35;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 2px solid rgba(30, 61, 53, 0.25);
}

.channel-row .row-link {
  grid-column: 4;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: #141414;
  border-bottom: 1px solid rgba(20, 20, 20, 0.35);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.channel-row .row-link::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.channel-row .row-link:hover {
  color: #e8491d;
  border-color: #e8491d;
}

.scene-map {
  min-width: 0;
}

.scene-pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.scene-pairs .pair {
  min-width: 0;
  padding: 18px 20px;
  background-color: #ffffff;
  border-radius: 6px;
  border-left: 3px solid #1e3d35;
}

.scene-pairs dt {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #141414;
  margin-bottom: 6px;
}

.scene-pairs dd {
  font-size: 14.5px;
  color: #4a5252;
  line-height: 1.75;
}

.next-links {
  min-width: 0;
}

.next-links .next-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.next-list li {
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.next-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 12px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #141414;
  transition: color 0.18s ease;
}

.next-list a::after {
  content: "\2192";
  font-family: "SFMono-Regular", Consolas, monospace;
  color: #e8491d;
}

.next-list a:hover {
  color: #e8491d;
}

/* ============================================================
   pages : topic-playlists
   ============================================================ */

.principles {
  min-width: 0;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: principle;
}

.principle-list li {
  counter-increment: principle;
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid #141414;
}

.principle-list li::before {
  content: counter(principle, decimal-leading-zero);
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e8491d;
  margin-bottom: 8px;
}

.principle-list h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.principle-list p {
  font-size: 14.5px;
  color: #4a5252;
  line-height: 1.8;
}

.topic-list {
  min-width: 0;
}

.topic-entries {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.topic-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
}

.topic-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.topic-entry--lead {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.topic-entry .topic-media {
  aspect-ratio: 4 / 3;
}

.topic-entry .topic-media img {
  aspect-ratio: 4 / 3;
}

.topic-entry--lead .topic-media {
  aspect-ratio: 16 / 10;
}

.topic-entry--lead .topic-media img {
  aspect-ratio: 16 / 10;
}

.topic-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic-body .topic-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #1e3d35;
  background-color: rgba(30, 61, 53, 0.1);
  border-radius: 4px;
  padding: 4px 10px;
  line-height: 1.6;
}

.topic-body h3 {
  font-size: 1.35rem;
  line-height: 1.35;
}

.topic-body p {
  font-size: 15px;
  color: #4a5252;
  line-height: 1.8;
}

.topic-body .topic-channel {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #6e7c7c;
  padding-top: 4px;
}

.topic-body .topic-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: #141414;
  border-bottom: 1px solid rgba(20, 20, 20, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.topic-body .topic-link::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.topic-body .topic-link:hover {
  color: #e8491d;
  border-color: #e8491d;
}

.anatomy {
  min-width: 0;
}

.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.anatomy-block {
  min-width: 0;
  padding: 22px 24px;
  background-color: #ffffff;
  border-radius: 6px;
  border-top: 2px solid #1e3d35;
}

.anatomy-block h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.anatomy-block p {
  font-size: 14.5px;
  color: #4a5252;
  line-height: 1.8;
}

/* ============================================================
   pages : viewing-guide
   ============================================================ */

.precheck {
  min-width: 0;
}

.precheck-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  counter-reset: precheck;
}

.precheck-list li {
  counter-increment: precheck;
  min-width: 0;
  padding: 20px 22px;
  background-color: #ffffff;
  border-radius: 6px;
  border-left: 3px solid #e8491d;
}

.precheck-list li::before {
  content: counter(precheck, decimal-leading-zero);
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e8491d;
  margin-bottom: 6px;
}

.precheck-list h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 6px;
}

.precheck-list p {
  font-size: 14.5px;
  color: #4a5252;
  line-height: 1.8;
}

.path-map {
  min-width: 0;
}

.path-map-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.path-map-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.path-map-list .step-index {
  grid-column: 1;
  grid-row: 1 / span 3;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #e8491d;
  line-height: 1.6;
  padding-top: 2px;
}

.path-map-list h3 {
  grid-column: 2;
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.path-map-list p {
  grid-column: 2;
  font-size: 15px;
  color: #4a5252;
  max-width: 38em;
}

.path-map-list a {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: #1e3d35;
  border-bottom: 1px solid rgba(30, 61, 53, 0.4);
}

.path-map-list a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.path-map-list a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

.device-check {
  min-width: 0;
}

.device-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.device-list .device-pair {
  min-width: 0;
  padding: 20px 22px;
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(20, 20, 20, 0.1);
}

.device-list dt {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #141414;
  margin-bottom: 8px;
}

.device-list dd {
  font-size: 14.5px;
  color: #4a5252;
  line-height: 1.8;
}

.faq {
  min-width: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.faq-item {
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 36px 16px 0;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #141414;
  transition: color 0.18s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 20px;
  color: #e8491d;
  line-height: 1;
}

.faq-item[open] summary {
  color: #e8491d;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  color: #e8491d;
}

.faq-item > p {
  padding: 0 36px 22px 0;
  font-size: 15px;
  color: #4a5252;
  max-width: 40em;
}

.toc {
  min-width: 0;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 22px 24px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toc h2 {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6e7c7c;
  text-transform: uppercase;
}

.toc-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.toc-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14.5px;
  color: #141414;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.toc-links a:hover {
  color: #e8491d;
  padding-left: 6px;
}

.toc-note {
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  padding-top: 14px;
}

.toc-note h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.toc-note p {
  font-size: 14px;
  color: #5a6363;
  line-height: 1.75;
  margin-bottom: 10px;
}

.toc-note a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #1e3d35;
  border-bottom: 1px solid rgba(30, 61, 53, 0.4);
}

.toc-note a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.toc-note a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

/* ============================================================
   pages : entry-check
   ============================================================ */

.symptom-picker {
  min-width: 0;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.symptom-option {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  min-height: 96px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.symptom-option:hover {
  border-color: #e8491d;
  transform: translateY(-2px);
}

.symptom-index {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #e8491d;
  line-height: 1.6;
}

.symptom-option strong {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #141414;
  line-height: 1.4;
}

.symptom-option span:last-child {
  font-size: 14px;
  color: #5a6363;
  line-height: 1.7;
}

.decision-tree {
  min-width: 0;
}

.decision-branch {
  min-width: 0;
  padding: 24px 26px;
  border-left: 3px solid #1e3d35;
  background-color: #ffffff;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-margin-top: 100px;
}

.decision-branch h3 {
  font-size: 1.15rem;
  line-height: 1.4;
}

.branch-diagnosis {
  font-size: 15px;
  color: #4a5252;
  max-width: 40em;
}

.branch-action {
  font-size: 14.5px;
  color: #3a3a3a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.branch-action a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: #1e3d35;
  border-bottom: 1px solid rgba(30, 61, 53, 0.4);
}

.branch-action a::after {
  content: "\2192";
  margin-left: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.branch-action a:hover {
  color: #e8491d;
  border-color: #e8491d;
}

.verification-checklist {
  min-width: 0;
}

.check-list {
  display: flex;
  flex-direction: column;
  counter-reset: verify;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.check-list li {
  counter-increment: verify;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.check-list li::before {
  content: counter(verify, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 3;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #e8491d;
  line-height: 1.6;
  padding-top: 2px;
}

.check-list h3 {
  grid-column: 2;
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.check-list .check-pass,
.check-list .check-fail {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 38em;
  padding-left: 14px;
  border-left: 2px solid transparent;
}

.check-list .check-pass {
  color: #1e3d35;
  border-left-color: rgba(30, 61, 53, 0.4);
}

.check-list .check-fail {
  color: #7a3a22;
  border-left-color: rgba(232, 73, 29, 0.4);
}

.stop-rules {
  min-width: 0;
}

.stop-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.stop-list li {
  min-width: 0;
  padding: 18px 20px;
  background-color: #ffffff;
  border-radius: 6px;
  border-top: 2px solid #e8491d;
}

.stop-list h3 {
  font-size: 1.02rem;
  line-height: 1.4;
  margin-bottom: 6px;
}

.stop-list p {
  font-size: 14px;
  color: #4a5252;
  line-height: 1.8;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: #f4f0e8;
  background-color: #141414;
  border-radius: 6px;
  transition: background-color 0.18s ease;
}

.back-link:hover {
  background-color: #e8491d;
  color: #ffffff;
}

/* ============================================================
   pages : corrections
   ============================================================ */

.scope {
  min-width: 0;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.scope-list li {
  min-width: 0;
  padding: 18px 20px;
  background-color: #ffffff;
  border-radius: 6px;
  border-left: 3px solid #1e3d35;
}

.scope-list h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 6px;
}

.scope-list p {
  font-size: 14.5px;
  color: #4a5252;
  line-height: 1.8;
}

.prepare {
  min-width: 0;
}

.prepare-list,
.process-list {
  display: flex;
  flex-direction: column;
  counter-reset: prep;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.process-list {
  counter-reset: proc;
}

.prepare-list li {
  counter-increment: prep;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.process-list li {
  counter-increment: proc;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.prepare-list li::before {
  content: counter(prep, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #e8491d;
  line-height: 1.6;
  padding-top: 2px;
}

.process-list li::before {
  content: counter(proc, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #e8491d;
  line-height: 1.6;
  padding-top: 2px;
}

.prepare-list h3,
.process-list h3 {
  grid-column: 2;
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.prepare-list p,
.process-list p {
  grid-column: 2;
  font-size: 15px;
  color: #4a5252;
  max-width: 38em;
}

.review-process {
  min-width: 0;
}

.rejected {
  min-width: 0;
}

.rejected-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
}

.rejected-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.rejected-list h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  margin-bottom: 4px;
  color: #7a3a22;
}

.rejected-list p {
  font-size: 14.5px;
  color: #4a5252;
  max-width: 40em;
}

/* ============================================================
   pages : 404
   ============================================================ */

.error-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.error-panel {
  max-width: 720px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.error-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e8491d;
  margin-bottom: 14px;
}

.error-panel h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.error-desc {
  font-size: 17px;
  line-height: 1.85;
  color: #3a3a3a;
  max-width: 32em;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: #141414;
  color: #f4f0e8;
}

.btn-primary:hover {
  background-color: #e8491d;
  color: #ffffff;
}

.btn-ghost {
  border: 1px solid rgba(20, 20, 20, 0.35);
  color: #141414;
}

.btn-ghost:hover {
  border-color: #e8491d;
  color: #e8491d;
}

.error-routes {
  margin-top: 48px;
}

.error-routes h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.error-routes ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.error-routes li {
  min-width: 0;
}

.error-routes a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #141414;
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.error-routes a::after {
  content: "\2192";
  margin-left: auto;
  padding-left: 12px;
  font-family: "SFMono-Regular", Consolas, monospace;
  color: #e8491d;
}

.error-routes a:hover {
  border-color: #e8491d;
  color: #e8491d;
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 960px) {
  .header-inner {
    padding: 0 24px;
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background-color: #f4f0e8;
    border-bottom: 1px solid rgba(20, 20, 20, 0.18);
    padding: 8px 24px 16px;
    box-shadow: 0 12px 24px rgba(20, 20, 20, 0.08);
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .main-nav ul.is-open {
    display: flex;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(20, 20, 20, 0.1);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0 4px;
    font-size: 16px;
    border-bottom: 0;
  }

  .main-nav a.is-current {
    border-bottom: 0;
  }

  .inner-main,
  .hero,
  .decision,
  .channel-ledger,
  .topic-feature,
  .entry-checklist {
    padding-left: 24px;
    padding-right: 24px;
  }

  .correction-note {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .related {
    padding-top: 32px;
    border-top: 1px solid rgba(20, 20, 20, 0.18);
  }

  header.page-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  header.page-title > .title-meta,
  header.page-title > .page-meta,
  header.page-title > .page-title-card {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-visual {
    aspect-ratio: 16 / 9;
  }

  .hero-visual img {
    aspect-ratio: 16 / 9;
  }

  .decision,
  .entry-checklist {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .phenomenon-list,
  .check-steps,
  .decision-note,
  .stop-rule {
    grid-column: 1;
  }

  .task-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-cell {
    border-right: 0;
    border-bottom: 1px solid rgba(20, 20, 20, 0.14);
    padding: 24px 0;
  }

  .task-cell:last-child {
    border-bottom: 0;
  }

  .ledger-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .topic-asym {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .correction-note .scope-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .channel-row .row-scene {
    grid-column: 2;
    grid-row: 3;
    padding-left: 0;
    border-left: 0;
    padding-top: 6px;
  }

  .channel-row .row-link {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .principle-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .topic-entry,
  .topic-entry--lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .anatomy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .device-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .stop-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding: 48px 24px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom p {
    padding: 20px 24px;
  }

  .error-main {
    padding: 56px 24px 80px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    padding: 0 18px;
    min-height: 64px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    font-size: 1.2rem;
  }

  .brand-slogan {
    font-size: 10.5px;
  }

  .site-nav {
    padding: 6px 18px 14px;
  }

  .inner-main,
  .hero,
  .decision,
  .channel-ledger,
  .topic-feature,
  .entry-checklist,
  .correction-note {
    padding-left: 18px;
    padding-right: 18px;
  }

  .inner-main {
    padding-top: 22px;
    padding-bottom: 64px;
  }

  .breadcrumb {
    margin-bottom: 20px;
    font-size: 11.5px;
  }

  .page-header {
    margin-bottom: 32px;
  }

  .page-title,
  .hero-copy h1,
  .error-panel h1 {
    font-size: 2.4rem;
    line-height: 1.12;
  }

  header.page-title {
    gap: 18px;
    padding-top: 6px;
  }

  header.page-title > .page-lede,
  header.page-title > .page-lead,
  header.page-title > .lede {
    font-size: 16px;
  }

  .section-head h2 {
    font-size: 1.6rem;
  }

  .section-head > p:last-child {
    font-size: 15px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-lead {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .hero-actions {
    gap: 10px 20px;
  }

  .task-board {
    margin-top: 40px;
  }

  .decision,
  .channel-ledger,
  .topic-feature,
  .entry-checklist {
    padding-top: 64px;
  }

  .correction-note {
    margin-top: 64px;
  }

  .decision-note {
    padding: 22px 20px;
  }

  .ledger-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 24px;
  }

  .topic-card h3 {
    font-size: 1.12rem;
  }

  .check-steps li,
  .check-list li,
  .path-map-list li,
  .prepare-list li,
  .process-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 14px;
  }

  .correction-note > .note-copy {
    padding: 26px 20px 0;
  }

  .correction-note .scope-list {
    padding: 20px;
    gap: 16px;
  }

  .correction-note .note-link {
    padding: 0 20px;
    min-height: 56px;
    font-size: 14.5px;
  }

  .page-meta,
  .page-title-card,
  .toc,
  .related-card {
    padding: 18px 20px;
  }

  .channel-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 14px;
  }

  .channel-row .row-no {
    grid-row: 1 / span 4;
  }

  .channel-row h3,
  .channel-row .row-desc,
  .channel-row .row-scene,
  .channel-row .row-link {
    grid-column: 2;
  }

  .channel-row .row-link {
    grid-row: auto;
    justify-self: start;
    margin-top: 6px;
  }

  .scene-pairs {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .precheck-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .symptom-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .symptom-option {
    padding: 18px 20px;
  }

  .decision-branch {
    padding: 20px 18px;
  }

  .scope-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .scope-list li {
    padding: 16px 18px;
  }

  .error-routes ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-actions {
    gap: 12px;
  }

  .btn-primary,
  .btn-ghost {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 40px 18px 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom p {
    padding: 18px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .symptom-option:hover {
    transform: none;
  }
}
