/* ==========================================================================
   搜狐影视 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与基础元素
   -------------------------------------------------------------------------- */
:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #16202B;
  --muted: #5B6978;
  --line: #E2E6EC;
  --brand: #E4572E;
  --brand-soft: #FDEDE8;
  --accent: #1F3A5F;
  --tag: #EEF1F5;
  --radius: 8px;
  --radius-sm: 6px;
  --shell: 1200px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
figcaption {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--accent);
  line-height: 1.35;
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

strong {
  font-weight: 600;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   layout · 全站骨架：页头 / 导航 / 主容器 / 面包屑 / 页标题 / 页脚
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
}

.brand:hover,
.brand:focus-visible {
  color: var(--brand);
}

.brand-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav a {
  display: inline-block;
  padding: 8px 10px;
  min-height: 40px;
  line-height: 24px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--tag);
  color: var(--accent);
}

.site-nav a.is-current {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 16px 16px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-nav {
  display: block;
}

.drawer-nav li {
  border-bottom: 1px solid var(--line);
}

.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 16px;
  color: var(--ink);
}

.drawer-nav a.is-current {
  color: var(--brand);
  font-weight: 600;
}

.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  padding-top: 20px;
  padding-bottom: 56px;
}

.home-main {
  padding-bottom: 56px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--brand);
}

.breadcrumb-sep {
  color: #B4BDC8;
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 4px 0 12px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
  letter-spacing: 0;
}

.page-head,
.page-hero,
.page-intro {
  padding: 16px 0 8px;
  max-width: 820px;
}

.page-lead {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.8;
}

.page-summary {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.8;
}

.page-meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.page-meta li {
  color: var(--muted);
}

.meta-item {
  color: var(--muted);
}

.meta-item + .meta-item::before {
  content: "·";
  margin-right: 10px;
  color: #B4BDC8;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(120px, 1fr));
  gap: 32px 24px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.footer-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-copy {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col ul {
  display: block;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  padding: 2px 0;
  min-height: 28px;
  line-height: 24px;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   components · 通用区块、标签、列表、记录行、相关入口
   -------------------------------------------------------------------------- */
.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 600;
}

.section-desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.section-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 760px;
}

.section > h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--tag);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 4px;
  white-space: nowrap;
}

.tag-topic {
  background: var(--brand-soft);
  color: var(--brand);
}

.tag-notice {
  background: #FFF4E2;
  color: #8A5A12;
}

.tag-update {
  background: #EAF1FA;
  color: var(--accent);
}

.record-list {
  display: block;
}

.record-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}

.record-row:first-child {
  border-top: 0;
}

.record-type {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.record-status {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 1px 7px;
  border-radius: 4px;
  line-height: 18px;
}

.record-row p {
  flex: 1 1 100%;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.record-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.side-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--brand);
  min-height: 28px;
  line-height: 24px;
}

.side-link::after {
  content: " →";
}

.side-link:hover,
.side-link:focus-visible {
  color: var(--accent);
}

.related-entry {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.related-entry h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.entry-row-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.entry-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.entry-row:hover,
.entry-row:focus-within {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.entry-row a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  min-height: 28px;
}

.entry-row p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.entry-arrow {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--brand);
}

.entry-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.entry-links,
.related-list,
.entry-list,
.related-links {
  display: grid;
  gap: 10px;
}

.entry-links li a,
.related-list li a,
.entry-list li a,
.related-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15px;
  color: var(--accent);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.entry-links li a:hover,
.related-list li a:hover,
.entry-list li a:hover,
.related-links li a:hover,
.entry-links li a:focus-visible,
.related-list li a:focus-visible,
.entry-list li a:focus-visible,
.related-links li a:focus-visible {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--accent);
}

.entry-list .entry-arrow,
.related-list .arrow,
.related-links .link-arrow,
.entry-links span {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 14px;
}

.plain-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.plain-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.hero-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0 8px;
}

.hero-visual {
  min-width: 0;
}

.hero-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0;
}

.hero-content h1 {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--accent);
}

.hero-lead {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid transparent;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--brand);
}

.focus-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.focus-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.focus-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  line-height: 26px;
}

.focus-body {
  min-width: 0;
}

.focus-title {
  display: inline;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.focus-body .tag {
  margin-left: 8px;
  vertical-align: 1px;
}

.focus-body p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.channel-tagbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 8px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tagbar-label {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.tagbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.tagbar-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--tag);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.tagbar-list a:hover,
.tagbar-list a:focus-visible {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: underline;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  padding-top: 8px;
}

.home-layout {
  padding-top: 8px;
}

.main-column {
  min-width: 0;
}

.sidebar {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.side-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}

.side-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.side-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.side-link-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.side-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 14px;
  color: var(--accent);
}

.side-link-list a:hover,
.side-link-list a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
}

.weekly-topics {
  border-top: 0;
  padding-top: 16px;
}

.topic-row-list {
  display: grid;
  gap: 0;
}

.topic-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.topic-row:first-child {
  border-top: 0;
  padding-top: 4px;
}

.topic-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.topic-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.topic-row-desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.row-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  min-height: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.row-link::after {
  content: " →";
}

.row-link:hover,
.row-link:focus-visible {
  color: var(--accent);
}

.list-anatomy {
  padding-top: 28px;
}

.anatomy-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.anatomy-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  min-width: 0;
}

.anatomy-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.anatomy-name {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
}

.anatomy-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.path-steps .step-list {
  display: grid;
  gap: 12px;
}

.path-steps .step-item {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.path-steps .step-num {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.path-steps .step-body {
  min-width: 0;
}

.path-steps .step-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.path-steps .step-body p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.correction-brief .record-row {
  padding: 8px 0;
}

.note-brief .side-text {
  margin-bottom: 4px;
}

.reading-order {
  padding-top: 32px;
}

.reading-order-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.order-list {
  display: grid;
  gap: 0;
  min-width: 0;
}

.order-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.order-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.order-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  line-height: 26px;
}

.order-body {
  min-width: 0;
}

.order-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.order-body p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.order-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.order-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.order-figure figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.definition-list {
  display: grid;
  gap: 0;
}

.definition-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.definition-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.definition-row dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.definition-row dd {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.definition-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  min-height: 28px;
  line-height: 24px;
}

.definition-link:hover,
.definition-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item p {
  padding: 12px 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   pages · 频道地图
   -------------------------------------------------------------------------- */
.page-layout.sidebar-left,
.sidebar-left .page-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.layout-aside {
  min-width: 0;
}

.layout-content {
  min-width: 0;
}

.channel-toc {
  position: sticky;
  top: 84px;
}

.toc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.toc-summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  min-height: 28px;
  line-height: 24px;
}

.toc-summary::-webkit-details-marker {
  display: none;
}

.toc-nav {
  margin-top: 8px;
}

.toc-nav ul {
  display: grid;
  gap: 2px;
}

.toc-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 8px;
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.toc-nav a:hover,
.toc-nav a:focus-visible,
.toc-nav a.is-active {
  color: var(--accent);
  background: var(--tag);
  border-left-color: var(--brand);
}

.toc-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.channel-table .section-intro {
  margin-bottom: 16px;
}

.channel-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 20px;
}

.channel-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.channel-figure figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.channel-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.channel-row h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.channel-def {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 6px 16px;
}

.channel-def dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.channel-def dd {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

.channel-cross .cross-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.channel-cross .cross-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.cross-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cross-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.next-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.next-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  min-width: 0;
}

.next-list a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.next-list a:hover,
.next-list a:focus-visible {
  color: var(--brand);
}

.next-list span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */
.page-topic-lists .section {
  padding: 28px 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  min-width: 0;
}

.compare-col h3 {
  font-size: 17px;
  font-weight: 600;
}

.compare-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
  padding: 1px 8px;
  line-height: 18px;
}

.compare-col > p:not(.compare-tag) {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.info-list {
  display: grid;
  gap: 0;
}

.info-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.info-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-list strong {
  display: block;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 2px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scene-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  min-width: 0;
}

.scene-col h3 {
  font-size: 16px;
  font-weight: 600;
}

.scene-type {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
}

.scene-tip {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.figure-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin: 16px 0;
}

.figure-block img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure-block figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.page-topic-lists .record-list {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   pages · 标签说明
   -------------------------------------------------------------------------- */
.label-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.visually-plain {
  caption-side: top;
  text-align: left;
  padding: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.label-table th,
.label-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  line-height: 1.7;
}

.label-table thead th {
  border-top: 0;
  background: var(--tag);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.label-table tbody th {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.label-table td {
  color: var(--muted);
}

.combo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.combo-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.combo-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.combo-figure figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.combo-reading {
  min-width: 0;
}

.combo-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
}

.combo-item-title {
  font-size: 16px;
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.combo-item-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.reading-steps {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  counter-reset: reading;
}

.reading-steps li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.reading-steps li::before {
  counter-increment: reading;
  content: counter(reading);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.reading-steps strong {
  display: block;
  font-size: 14px;
  color: var(--accent);
}

.misread-list {
  display: grid;
  gap: 0;
}

.misread-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.misread-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.misread-name {
  font-size: 16px;
  font-weight: 600;
}

.misread-correct {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.misread-entry {
  margin-top: 6px;
  font-size: 14px;
}

.misread-entry a {
  color: var(--brand);
  font-weight: 600;
}

.misread-entry a:hover,
.misread-entry a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages · 观看路径
   -------------------------------------------------------------------------- */
.path-steps {
  border-top: 1px solid var(--line);
}

.step-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.path-steps .step-track .step-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  min-width: 0;
}

.step-track .step-num {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.step-track .step-name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
}

.step-action {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.step-target {
  margin-top: 8px;
  font-size: 14px;
}

.step-target a {
  color: var(--brand);
  font-weight: 600;
}

.step-target a:hover,
.step-target a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.media-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.media-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-figure figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.note-list {
  display: grid;
  gap: 0;
}

.note-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.note-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.note-name {
  font-size: 16px;
  font-weight: 600;
}

.note-point {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

.note-tip {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.point-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.point-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  min-width: 0;
}

.point-name {
  font-size: 16px;
  font-weight: 600;
}

.point-text {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.handling-list {
  display: grid;
  gap: 0;
}

.handling-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.handling-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.handling-name {
  font-size: 16px;
  font-weight: 600;
}

.handling-text {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.handling-next {
  margin-top: 6px;
  font-size: 14px;
}

.handling-next a {
  color: var(--brand);
  font-weight: 600;
}

.handling-next a:hover,
.handling-next a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages · 更正与反馈
   -------------------------------------------------------------------------- */
.page-corrections .page-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  padding-top: 8px;
}

.layout-main {
  min-width: 0;
}

.layout-side {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.content-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.content-block:first-child {
  border-top: 0;
  padding-top: 8px;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.content-block > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
}

.feedback-type-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.feedback-type {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  min-width: 0;
}

.feedback-type h3 {
  font-size: 16px;
  font-weight: 600;
}

.type-criteria {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

.type-note {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.feedback-field-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.feedback-field {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.field-index {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.field-body {
  min-width: 0;
}

.field-body h3 {
  font-size: 16px;
  font-weight: 600;
}

.field-body p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.block-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin: 16px 0;
}

.block-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.block-figure figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  min-width: 0;
}

.process-step .step-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.process-step h3 {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
}

.process-step p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.record-list-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.page-corrections .record-row {
  align-items: baseline;
}

.page-corrections .record-row p {
  flex: 1 1 auto;
  min-width: 220px;
}

.unaccepted-list {
  display: grid;
  gap: 12px;
}

.unaccepted-item {
  min-width: 0;
}

.unaccepted-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.unaccepted-item p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.tip-list {
  display: grid;
  gap: 8px;
}

.tip-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.tip-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* --------------------------------------------------------------------------
   pages · 关于本站
   -------------------------------------------------------------------------- */
.about-intro,
.about-principles,
.about-division,
.about-related {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.about-intro {
  border-top: 0;
  padding-top: 16px;
}

.about-intro h2,
.about-principles h2,
.about-division h2,
.about-related h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-intro > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.about-intro > p + p {
  margin-top: 10px;
}

.about-figure {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.about-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-figure figcaption {
  padding: 10px 14px 12px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.about-principles > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  margin-bottom: 16px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.principle-col,
.boundary-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  min-width: 0;
}

.principle-col h3,
.boundary-col h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.principle-list,
.boundary-list {
  display: grid;
  gap: 12px;
}

.principle-list li h4,
.boundary-list li h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.principle-list li p,
.boundary-list li p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.about-division > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  margin-bottom: 16px;
}

.division-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.division-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.division-row:first-child {
  border-top: 0;
}

.division-cell {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  min-width: 0;
}

.division-cell + .division-cell {
  border-left: 1px solid var(--line);
}

.division-head {
  background: var(--tag);
}

.division-head .division-cell {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.division-row:not(.division-head) .division-cell:first-child {
  font-weight: 600;
  color: var(--accent);
}

.about-related > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  padding-top: 40px;
  padding-bottom: 56px;
}

.error-block {
  max-width: 640px;
  padding: 24px 0 32px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.error-block h1 {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--accent);
}

.error-desc {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.error-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
}

.btn-home:hover,
.btn-home:focus-visible {
  background: #C7451F;
  color: #FFFFFF;
}

.link-text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.link-text:hover,
.link-text:focus-visible {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.error-guide {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.error-guide h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-links li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15px;
  color: var(--accent);
}

.error-links li a:hover,
.error-links li a:focus-visible {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   layout · 移动端底部任务导航
   -------------------------------------------------------------------------- */
.mobile-task-nav,
.mobile-tabbar {
  display: none;
}

/* --------------------------------------------------------------------------
   responsive · 断点 960 / 720 / 480
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-drawer:not([hidden]) {
    display: block;
  }

  .site-main {
    padding: 0 16px;
  }

  .inner-main {
    padding-bottom: 36px;
  }

  .home-main {
    padding-bottom: 36px;
  }

  .hero-focus {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 20px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .page-layout,
  .page-layout.sidebar-left,
  .sidebar-left .page-layout,
  .page-corrections .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .channel-toc {
    position: static;
  }

  .sidebar-left .layout-aside {
    order: 2;
  }

  .sidebar-left .layout-content {
    order: 1;
  }

  .reading-order-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .order-figure {
    max-width: 480px;
  }

  .anatomy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anatomy-item:last-child {
    grid-column: 1 / -1;
  }

  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-col:last-child {
    grid-column: 1 / -1;
  }

  .entry-row-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-row:last-child {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding: 32px 16px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .mobile-task-nav,
  .mobile-tabbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .mobile-task-nav ul,
  .mobile-tabbar ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 560px;
    margin: 0 auto;
  }

  .mobile-task-nav li,
  .mobile-tabbar li {
    min-width: 0;
  }

  .mobile-task-nav a,
  .mobile-tabbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 4px;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
  }

  .mobile-task-nav a:hover,
  .mobile-task-nav a:focus-visible,
  .mobile-tabbar a:hover,
  .mobile-tabbar a:focus-visible,
  .mobile-task-nav a.is-current,
  .mobile-tabbar a.is-current {
    color: var(--brand);
  }

  body {
    padding-bottom: 56px;
  }

  .site-footer {
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .page-title,
  .hero-content h1,
  .error-block h1 {
    font-size: 24px;
  }

  .section-head h2,
  .section > h2,
  .content-block h2,
  .about-intro h2,
  .about-principles h2,
  .about-division h2,
  .about-related h2 {
    font-size: 20px;
  }

  .section {
    padding: 24px 0;
  }

  .channel-tagbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }

  .tagbar-list {
    gap: 6px;
  }

  .anatomy-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .anatomy-item:last-child {
    grid-column: auto;
  }

  .definition-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .definition-link {
    justify-self: start;
  }

  .compare-grid,
  .combo-grid,
  .point-list,
  .next-list,
  .principle-grid,
  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-col:last-child {
    grid-column: auto;
  }

  .entry-row-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-row:last-child {
    grid-column: auto;
  }

  .step-track,
  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-track .step-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }

  .step-track .step-num {
    grid-row: 1 / span 3;
    align-self: start;
  }

  .step-track .step-name,
  .step-action,
  .step-target {
    grid-column: 2;
  }

  .step-track .step-name {
    margin-top: 0;
  }

  .channel-def {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .channel-def dt {
    margin-top: 8px;
  }

  .channel-def dt:first-of-type {
    margin-top: 0;
  }

  .division-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .division-cell + .division-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .division-head {
    display: none;
  }

  .division-row:not(.division-head) .division-cell:first-child {
    background: var(--tag);
  }

  .label-table thead {
    display: none;
  }

  .label-table,
  .label-table tbody,
  .label-table tr,
  .label-table th,
  .label-table td {
    display: block;
    width: 100%;
  }

  .label-table tbody tr {
    padding: 12px 14px;
    border-top: 1px solid var(--line);
  }

  .label-table tbody tr:first-child {
    border-top: 0;
  }

  .label-table th,
  .label-table td {
    padding: 2px 0;
    border-top: 0;
  }

  .label-table tbody th {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .label-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: var(--muted);
  }

  .footer-inner {
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 12px;
  }

  .site-main {
    padding: 0 12px;
  }

  .page-title,
  .hero-content h1,
  .error-block h1 {
    font-size: 22px;
  }

  .hero-lead,
  .page-lead,
  .page-summary {
    font-size: 15px;
  }

  .focus-item {
    gap: 8px;
  }

  .tagbar-list a {
    padding: 2px 10px;
  }

  .side-block {
    padding: 16px 14px 14px;
  }

  .faq-item {
    padding: 0 14px;
  }

  .faq-item summary {
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 26px 12px 20px;
  }

  .error-actions {
    gap: 10px;
  }

  .btn-home,
  .link-text {
    min-height: 44px;
  }

  .mobile-task-nav a,
  .mobile-tabbar a {
    font-size: 12px;
  }
}

@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;
  }
}
