/* ==========================================================================
   天美传媒精品一区二区 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --paper: #F3EFE4;
  --paper-light: #FBF8F0;
  --ink: #1D1B18;
  --ink-soft: #3A3631;
  --red: #8B3D2F;
  --red-deep: #6E2E23;
  --green: #315A4D;
  --slate: #64727A;
  --line: #CFC6B5;
  --line-strong: #B7AC98;
  --weak: #E7E0D1;
  --radius: 6px;
  --radius-sm: 4px;
  --shell: 1200px;
  --read: 760px;
  --gap: 24px;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--red-deep);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.mono,
.index-code,
.nav-index,
.cell-code,
.archive-code,
.archive-no,
.principle-no,
.step-no,
.flow-num,
.pacing-num,
.group-tag-index,
.related-no,
.fact-num,
.section-index,
.page-index,
.hero-index,
.error-code,
.archive-group-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.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;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--paper-light);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background-color: var(--red);
  border: 1px solid var(--red-deep);
  border-radius: var(--radius-sm);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--paper-light);
  border-radius: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.brand-slogan {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-link.is-current {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 600;
}

.nav-index {
  font-size: 11px;
  color: var(--slate);
}

.nav-link.is-current .nav-index {
  color: var(--red);
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.breadcrumb {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 14px;
  color: var(--slate);
}

.inner-main > .breadcrumb {
  max-width: none;
  margin: 0;
  padding: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding: 28px 0 12px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.page-head {
  padding: 18px 0 4px;
}

.page-index {
  font-size: 13px;
  color: var(--red);
  margin-bottom: 8px;
}

.page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 860px;
}

.site-footer {
  background-color: var(--paper-light);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 13px;
  color: var(--slate);
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  min-height: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  word-break: break-word;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--red);
}

.footer-list-plain li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   3. components · 通用组件
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--red);
  border-color: var(--red-deep);
  color: var(--paper-light);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--red-deep);
  color: var(--paper-light);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.section-head {
  margin-bottom: 20px;
}

.section-title-sm {
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
}

.section-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 820px;
}

.section-index {
  font-size: 12px;
  color: var(--red);
  margin-bottom: 6px;
}

.section-intro {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 820px;
}

.section-title {
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
}

.sub-title {
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
}

.index-label {
  color: var(--slate);
  margin-right: 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-light);
}

.data-table {
  min-width: 100%;
  font-size: 15px;
  text-align: left;
}

.data-table caption {
  text-align: left;
}

.data-table thead th {
  position: sticky;
  top: 0;
  background-color: var(--weak);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.7;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  transition: background-color 0.16s ease;
}

.data-table tbody tr:hover {
  background-color: var(--paper);
}

.data-table tbody tr:hover > td:first-child,
.data-table tbody tr:hover > th:first-child {
  box-shadow: inset 3px 0 0 var(--red);
}

.cell-code {
  color: var(--red);
  font-size: 14px;
  white-space: nowrap;
}

.table-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--slate);
  background-color: var(--weak);
  border-bottom: 1px solid var(--line);
}

.table-link {
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
}

.inline-link {
  color: var(--red);
  border-bottom: 1px solid currentColor;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.check-mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border: 1px solid var(--green);
  border-radius: 2px;
  background-color: var(--paper-light);
  position: relative;
}

.check-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(40deg);
}

.check-text {
  min-width: 0;
}

.definition-list {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
}

.definition-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.definition-row dt {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.definition-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 步骤：频道页与入口页共用基础，作用域分别限定 */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-order .step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.section-order .step-no {
  grid-row: span 2;
  font-size: 20px;
  color: var(--red);
  line-height: 1.2;
}

.section-order .step-title {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}

.section-order .step-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

.hero {
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 14px;
}

.hero-index .index-code {
  padding: 2px 8px;
  border: 1px solid var(--red);
  border-radius: 2px;
  color: var(--red);
  font-size: 12px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fact-num {
  font-size: 22px;
  color: var(--red);
  line-height: 1.2;
}

.fact-label {
  font-size: 13px;
  color: var(--slate);
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--weak);
}

.hero-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

/* 场景切换条 */

.scene-bar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 24px 8px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.scene-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 76px;
  padding: 14px 16px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.scene-item:hover,
.scene-item:focus-visible {
  border-color: var(--red);
  background-color: #F7F2E6;
  color: var(--ink);
}

.scene-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.scene-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

/* 编辑焦点 */

.editor-focus,
.channel-index,
.playlist-archive,
.prep-check {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: 6fr 3fr 3fr;
  gap: 20px;
  margin-top: 20px;
}

.focus-card {
  display: flex;
  flex-direction: column;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 16px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.focus-card:hover {
  border-color: var(--line-strong);
}

.focus-media {
  margin: 0;
}

.focus-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  background-color: var(--weak);
}

.card-index {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 0;
  font-size: 12px;
  color: var(--slate);
}

.card-index .index-code {
  color: var(--red);
}

.index-tag {
  padding: 1px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.card-title {
  padding: 8px 16px 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.focus-card-lg .card-title {
  font-size: 22px;
}

.card-text {
  padding: 8px 16px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1 1 auto;
}

.card-link {
  margin: 12px 16px 0;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid currentColor;
}

.table-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

/* 首页专题档案列表 */

.archive-list {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.archive-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 8px 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.16s ease;
}

.archive-item:hover {
  background-color: #F7F2E6;
}

.archive-code {
  font-size: 15px;
  color: var(--red);
  padding-top: 2px;
}

.archive-body {
  min-width: 0;
}

.archive-title {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 4px;
}

.archive-meta {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.archive-link {
  align-self: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

/* 观看前检查清单 */

.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.prep-col {
  min-width: 0;
  padding: 18px 20px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prep-title {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.prep-foot {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

/* 核验与更正 */

.verify-note {
  margin-top: 44px;
  background-color: var(--weak);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.verify-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: start;
}

.verify-text h2 {
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}

.verify-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.verify-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verify-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  min-height: 44px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.18s ease;
}

.verify-link:hover,
.verify-link:focus-visible {
  border-color: var(--red);
  color: var(--ink);
}

.verify-link-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
}

.verify-link-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   5. pages · 内页通用容器
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  min-width: 0;
}

.page-summary {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 860px;
}

.page-meta {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

.content-shell {
  display: block;
}

.section {
  padding: 36px 0 8px;
}

.split-block {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: start;
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   6. pages · 频道总览
   -------------------------------------------------------------------------- */

.page-hero-figure {
  margin: 20px 0 0;
}

.page-hero-figure img {
  width: 100%;
  aspect-ratio: 21 / 8;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--weak);
}

.page-hero-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.section-channels .page-hero-inner,
.page-channels .page-hero-inner {
  min-width: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.field-card {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field-name {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
}

.field-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.tag-nav {
  margin-top: 16px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.tag-link:hover,
.tag-link:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.channel-table {
  min-width: 860px;
  font-size: 15px;
  text-align: left;
}

.channel-table thead th {
  position: sticky;
  top: 0;
  background-color: var(--weak);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
  text-align: left;
}

.channel-table tbody th,
.channel-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.7;
  text-align: left;
}

.channel-table tbody tr:last-child th,
.channel-table tbody tr:last-child td {
  border-bottom: 0;
}

.channel-table tbody tr {
  transition: background-color 0.16s ease;
}

.channel-table tbody tr:hover {
  background-color: var(--paper);
}

.channel-table tbody tr:hover > td:first-child,
.channel-table tbody tr:hover > th:first-child {
  box-shadow: inset 3px 0 0 var(--red);
}

.cell-name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.level {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 2px;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background-color: var(--paper-light);
}

.level-base {
  border-color: var(--green);
  color: var(--green);
}

.level-normal {
  border-color: var(--slate);
  color: var(--slate);
}

.level-high {
  border-color: var(--red);
  color: var(--red);
}

.section-related {
  min-width: 0;
}

.related-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.related-card {
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-title {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
}

.related-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.related-link {
  display: inline-block;
  min-height: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid currentColor;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.visual-card {
  min-width: 0;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--weak);
}

.visual-card figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   7. pages · 专题档案
   -------------------------------------------------------------------------- */

.archive-intro {
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--line);
}

.archive-intro h2 {
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}

.archive-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 20px;
}

.archive-intro-col {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.archive-intro-col h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}

.archive-intro-col p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.archive-intro-col p:last-child {
  margin-bottom: 0;
}

.group-nav {
  padding: 28px 0 4px;
}

.group-nav-title {
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 12px;
}

.group-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.group-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.group-tag:hover,
.group-tag:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.group-tag-index {
  font-size: 12px;
  color: var(--red);
}

.sort-bar {
  padding: 28px 0 4px;
}

.sort-title {
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 12px;
}

.sort-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sort-label {
  font-size: 14px;
  color: var(--ink-soft);
}

.sort-select {
  min-height: 44px;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.sort-note {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.playlist-archive {
  max-width: none;
  margin: 0;
  padding: 28px 0 0;
}

.playlist-archive > h2 {
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 18px;
}

.archive-group {
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-light);
  overflow: hidden;
}

.archive-group-head {
  display: grid;
  grid-template-columns: 64px 1fr 240px;
  gap: 20px;
  align-items: start;
  padding: 20px;
  background-color: var(--weak);
  border-bottom: 1px solid var(--line);
}

.archive-group-index {
  font-size: 22px;
  color: var(--red);
  line-height: 1.2;
}

.archive-group-text {
  min-width: 0;
}

.archive-group-text h3 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 6px;
}

.archive-group-text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.archive-group-figure {
  min-width: 0;
}

.archive-group-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
}

.archive-group-figure figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate);
}

.archive-group .archive-list {
  margin: 0;
  border-top: 0;
}

.archive-group .archive-item {
  grid-template-columns: 88px 1fr auto;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.archive-group .archive-item:last-child {
  border-bottom: 0;
}

.archive-no {
  font-size: 14px;
  color: var(--red);
  padding-top: 2px;
}

.archive-name {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 4px;
}

.archive-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.archive-fields {
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.related-channels {
  padding: 12px 0 0;
}

.related-channels h2 {
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}

.related-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 820px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-col {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-col h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.related-no {
  font-size: 13px;
  color: var(--red);
}

.related-col p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   8. pages · 观看准备
   -------------------------------------------------------------------------- */

.page-layout {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}

.page-layout > .inner-main {
  max-width: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.guide-section {
  padding: 30px 0 6px;
  border-bottom: 1px solid var(--line);
}

.guide-section:last-of-type {
  border-bottom: 0;
}

.guide-section > h2 {
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}

.guide-section > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: var(--read);
}

.checklist-box {
  padding: 18px 20px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.checklist-item:last-child {
  border-bottom: 0;
}

.check-icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1px solid var(--green);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.check-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(40deg);
}

.check-body {
  min-width: 0;
}

.check-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 2px;
}

.check-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.guide-figure {
  margin: 0 0 20px;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--weak);
}

.guide-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

.device-col {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.device-col h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.device-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: var(--red);
  border-radius: 1px;
}

.pacing-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.pacing-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.pacing-item:first-child {
  border-top: 0;
}

.pacing-num {
  font-size: 20px;
  color: var(--red);
  line-height: 1.3;
}

.pacing-body {
  min-width: 0;
}

.pacing-body h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 4px;
}

.pacing-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 20px 0 0;
}

.related-links-label {
  font-size: 13px;
  color: var(--slate);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--red);
  border-bottom: 1px solid transparent;
}

.related-links-item:hover,
.related-links-item:focus-visible {
  border-bottom-color: var(--red);
}

.page-aside {
  min-width: 0;
  padding-top: 30px;
  position: sticky;
  top: 96px;
}

.aside-block {
  margin-bottom: 24px;
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list li a {
  display: block;
  min-height: 32px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.toc-list li a:hover,
.toc-list li a:focus-visible {
  color: var(--red);
}

.aside-link {
  display: block;
  min-height: 36px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.aside-link:hover,
.aside-link:focus-visible {
  color: var(--red);
}

.aside-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  margin-top: 6px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-list .related-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.related-list .related-item:last-child {
  border-bottom: 0;
}

.related-list .related-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  margin-bottom: 2px;
}

.related-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   9. pages · 入口与设备
   -------------------------------------------------------------------------- */

.entry-principles .principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.principle-card {
  min-width: 0;
  padding: 18px 20px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.principle-no {
  font-size: 13px;
  color: var(--red);
  margin-bottom: 6px;
}

.principle-title {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}

.principle-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.principle-text .mono {
  padding: 0 4px;
  background-color: var(--weak);
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink);
}

.principle-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.domain-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}

.entry-domain .domain-steps {
  min-width: 0;
}

.entry-domain .step-list {
  gap: 0;
}

.entry-domain .step-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.entry-domain .step-item:first-child {
  border-top: 0;
}

.entry-domain .step-no {
  font-size: 16px;
  color: var(--red);
  line-height: 1.5;
}

.entry-domain .step-body {
  min-width: 0;
}

.entry-domain .step-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 2px;
}

.entry-domain .step-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.domain-table-wrap {
  min-width: 0;
}

.domain-table {
  min-width: 100%;
  font-size: 14px;
}

.domain-table thead th {
  background-color: var(--weak);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  white-space: nowrap;
}

.domain-table tbody th,
.domain-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.domain-table tbody th {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.domain-table tbody tr:last-child th,
.domain-table tbody tr:last-child td {
  border-bottom: 0;
}

.entry-figure {
  margin: 24px 0 0;
}

.entry-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--weak);
}

.entry-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.compat-table {
  min-width: 820px;
  font-size: 14px;
}

.compat-table thead th {
  background-color: var(--weak);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  white-space: nowrap;
}

.compat-table tbody th,
.compat-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.compat-table tbody th {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.compat-table tbody tr:last-child th,
.compat-table tbody tr:last-child td {
  border-bottom: 0;
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.trouble-card {
  min-width: 0;
  padding: 18px 20px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trouble-tag {
  display: inline-block;
  padding: 1px 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
}

.trouble-title {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
}

.trouble-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.trouble-fix {
  font-size: 14px;
  line-height: 1.75;
  color: var(--green);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.correction-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 24px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
}

.correction-body {
  min-width: 0;
}

.correction-title {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 10px;
}

.correction-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-related .related-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.entry-related .related-item {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 8px 20px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.entry-related .related-item:last-child {
  border-bottom: 1px solid var(--line);
}

.entry-related .related-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  justify-self: start;
}

.entry-related .related-text {
  min-width: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   10. pages · 内容更正
   -------------------------------------------------------------------------- */

.corrections-layout {
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}

.corrections-intake {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: start;
  padding: 30px 0 8px;
  border-bottom: 1px solid var(--line);
}

.corrections-scope {
  min-width: 0;
}

.corrections-fields {
  min-width: 0;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.scope-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 16px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-mark {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border: 1px solid var(--red);
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
}

.scope-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background-color: var(--red);
  border-radius: 1px;
}

.scope-body {
  min-width: 0;
}

.scope-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 2px;
}

.scope-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.field-table {
  min-width: 100%;
  margin-top: 16px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--paper-light);
}

.field-table thead th {
  background-color: var(--weak);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  white-space: nowrap;
}

.field-table tbody th,
.field-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.field-table tbody th {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.field-note {
  margin-top: 14px;
  padding: 12px 16px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.field-note summary {
  min-height: 28px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

.field-note p {
  margin-top: 8px;
}

.corrections-flow {
  padding: 30px 0 8px;
  border-bottom: 1px solid var(--line);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.flow-step {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
}

.flow-num {
  display: block;
  font-size: 18px;
  color: var(--green);
  margin-bottom: 6px;
}

.flow-name {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
}

.flow-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.corrections-reading {
  padding: 30px 0 8px;
  border-bottom: 1px solid var(--line);
}

.corrections-figure {
  margin: 18px 0 20px;
}

.corrections-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--weak);
}

.corrections-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.reading-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.reading-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.reading-name {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 4px;
}

.reading-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: var(--read);
}

.corrections-boundary {
  padding: 30px 0 8px;
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.boundary-item {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-name {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
}

.boundary-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.corrections-links {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 12px;
}

.link-item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--red);
  border-bottom: 1px solid transparent;
}

.link-item a:hover,
.link-item a:focus-visible {
  border-bottom-color: var(--red);
}

/* --------------------------------------------------------------------------
   11. pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  display: block;
}

.error-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.error-code {
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 32px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.error-hint-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-hint-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.error-hint-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--red);
  border-radius: 1px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.error-note {
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.error-note a {
  color: var(--red);
  border-bottom: 1px solid currentColor;
}

/* --------------------------------------------------------------------------
   12. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 6fr 5fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .focus-card-lg {
    grid-column: span 2;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: span 3;
  }

  .split-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
  }

  .archive-group-head {
    grid-template-columns: 56px 1fr 200px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 8px 16px 16px;
    background-color: var(--paper-light);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(29, 27, 24, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-link.is-current {
    border-bottom-color: var(--line);
    background-color: var(--weak);
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px 28px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-media {
    order: 2;
  }

  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prep-grid {
    grid-template-columns: 1fr;
  }

  .verify-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .archive-intro-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .device-grid {
    grid-template-columns: 1fr;
  }

  .entry-principles .principle-grid {
    grid-template-columns: 1fr;
  }

  .domain-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trouble-grid {
    grid-template-columns: 1fr;
  }

  .correction-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .correction-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .entry-related .related-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .corrections-intake {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .boundary-list {
    grid-template-columns: 1fr;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 48px;
  }

  .page-aside {
    position: static;
    padding-top: 0;
  }

  .archive-group-head {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .archive-group-figure {
    grid-column: span 2;
  }

  .archive-group-figure img {
    aspect-ratio: 16 / 9;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 36px 24px 28px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 0 16px;
    min-height: 64px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .page-header {
    padding: 20px 0 10px;
  }

  .page-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .page-head {
    padding: 14px 0 2px;
  }

  .hero-inner {
    padding: 26px 16px 24px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-facts {
    gap: 10px 24px;
  }

  .scene-bar {
    padding: 24px 16px 4px;
  }

  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .scene-item {
    padding: 12px 14px;
    min-height: 68px;
  }

  .editor-focus,
  .channel-index,
  .playlist-archive,
  .prep-check {
    padding: 28px 16px 0;
  }

  .playlist-archive {
    padding: 28px 0 0;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .focus-card-lg {
    grid-column: auto;
  }

  .focus-card-lg .card-title {
    font-size: 19px;
  }

  .archive-item {
    grid-template-columns: 64px 1fr;
    gap: 4px 14px;
    padding: 16px 0;
  }

  .archive-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .archive-group .archive-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .archive-group .archive-link {
    grid-column: auto;
    margin-top: 6px;
  }

  .archive-group-head {
    padding: 16px;
  }

  .verify-note {
    margin-top: 32px;
  }

  .verify-inner {
    padding: 28px 16px;
  }

  .section {
    padding: 26px 0 4px;
  }

  .section-title {
    font-size: 22px;
  }

  .page-layout {
    padding: 0 16px 48px;
  }

  .guide-section {
    padding: 24px 0 4px;
  }

  .guide-section > h2 {
    font-size: 22px;
  }

  .definition-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .corrections-intake,
  .corrections-flow,
  .corrections-reading,
  .corrections-boundary {
    padding-top: 24px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .error-panel {
    padding: 48px 16px 56px;
  }

  .error-code {
    font-size: 44px;
  }

  .error-panel h1 {
    font-size: 26px;
  }

  .footer-inner {
    padding: 32px 16px 24px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-title {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 24px;
  }

  .scene-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .sort-control {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-note {
    flex: 1 1 auto;
  }
}

@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;
  }
}
