:root {
  --paper: #faf7f0;
  --ink: #1b1a18;
  --red: #e0512c;
  --pine: #2c6e63;
  --mustard: #f0c14b;
  --muted: #6f6a61;
  --rule: #d9d2c4;
  --rule-soft: #e8e2d6;
  --paper-deep: #f4efe4;
  --serif: "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Courier New", monospace;
  --shell: 1120px;
  --gap: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   layout — 全站骨架
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gap) 12px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.brand-slogan {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-link.is-current {
  color: var(--red);
  font-weight: 600;
  border-bottom-color: var(--red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

/* 阶段索引条 */
.stage-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gap);
  border-top: 1px solid var(--rule-soft);
}

.stage-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 14px 10px;
  border-left: 1px solid var(--rule-soft);
  transition: background 0.16s ease;
}

.stage-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.stage-item:hover,
.stage-item:focus-visible {
  background: var(--paper-deep);
}

.stage-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--red);
}

.stage-scope {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* 移动抽屉 */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 64px 22px 32px;
  background: var(--paper);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
}

.drawer-close::before {
  content: "×";
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-group-title {
  margin-top: 8px;
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
  border-bottom: 1px solid var(--rule);
}

.drawer-list {
  display: flex;
  flex-direction: column;
}

.drawer-list a {
  display: block;
  padding: 12px 2px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid var(--rule-soft);
}

.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gap) 56px;
}

.home-main {
  padding-top: 0;
}

.inner-main {
  padding-top: 0;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页标题区 */
.page-header {
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--rule);
}

.page-title {
  font-size: 34px;
  line-height: 1.3;
  color: var(--ink);
}

/* 页脚 */
.site-footer {
  margin-top: 0;
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 26px 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 34px var(--gap) 20px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.footer-intro {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--red);
  border-bottom: 1px solid var(--rule);
}

.footer-col ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col a {
  display: inline-block;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gap) 26px;
  border-top: 1px solid var(--rule);
}

.footer-notice {
  max-width: 640px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.back-to-top {
  display: inline-block;
  padding: 6px 2px;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* --------------------------------------------------------------------------
   components — 通用元件
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.eyebrow-num {
  display: inline-block;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--red);
}

.eyebrow-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--red);
}

.eyebrow-number {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.block-title {
  font-size: 22px;
  line-height: 1.35;
}

.block-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.section-note,
.section-desc,
.section-lead {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.section-head {
  margin-bottom: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  font-size: 14px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 图片与图注 */
figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background: var(--paper-deep);
}

figcaption,
.media-caption,
.figure-caption,
.fig-caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.media-caption,
.figure-caption {
  display: block;
}

/* 元信息行 */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 14px 0 0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.meta-item dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.meta-item dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

.page-meta {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-meta .meta-item {
  display: inline-flex;
  flex-direction: row;
  gap: 6px;
  margin-right: 18px;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 1px 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  border-radius: 3px;
  vertical-align: middle;
}

.tag-red {
  color: #fff;
  background: var(--red);
}

.tag-yellow {
  color: var(--ink);
  background: var(--mustard);
}

.tag-green {
  color: #fff;
  background: var(--pine);
}

.status-tag {
  display: inline-block;
  padding: 1px 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  border-radius: 3px;
}

.status-done {
  color: var(--pine);
  background: rgba(44, 110, 99, 0.12);
}

.status-pending {
  color: var(--muted);
  background: rgba(111, 106, 97, 0.12);
}

/* 表格 */
.table-scroll,
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table,
.data-table,
.topic-table {
  width: 100%;
  min-width: 520px;
  font-size: 14px;
  line-height: 1.7;
  border-top: 2px solid var(--ink);
}

.compare-table caption,
.data-table caption,
.topic-table caption,
.table-caption {
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  text-align: left;
}

.compare-table th,
.data-table th,
.topic-table th {
  position: sticky;
  top: 0;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--ink);
}

.compare-table td,
.data-table td,
.topic-table td {
  padding: 11px 12px;
  vertical-align: top;
  border-bottom: 1px solid var(--rule-soft);
}

.compare-table tbody tr:hover,
.data-table tbody tr:hover,
.topic-table tbody tr:hover {
  background: var(--paper-deep);
}

.cell-in,
.cell-out {
  font-family: var(--mono);
  font-size: 12px;
}

.cell-in {
  color: var(--pine);
}

.cell-out {
  color: var(--muted);
}

.cell-code,
.cell-num,
.cell-range {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.cell-note {
  font-size: 13px;
  color: var(--muted);
}

/* 支持入口条 */
.support-bar,
.support-strip {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.support-grid,
.support-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.support-cell,
.support-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 4px 4px;
}

.support-title,
.support-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.support-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.support-link,
.support-cell a {
  margin-top: 2px;
  font-size: 13px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  align-self: flex-start;
}

.support-link:hover,
.support-cell a:hover,
.support-link:focus-visible,
.support-cell a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 相关入口列表（内页通用） */
.related-entries,
.related-section,
.related-block,
.related-links {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.related-list,
.related-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}

.related-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.related-item a,
.related-name {
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.related-item a:hover,
.related-item a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.related-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  padding: 40px 0 44px;
  border-bottom: 2px solid var(--ink);
}

.hero-lead {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-lead h1 {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-intro {
  max-width: 30em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.hero-entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.entry-card:hover,
.entry-card:focus-visible {
  transform: translateY(-1px);
  background: var(--paper-deep);
  border-color: var(--ink);
  border-left-color: var(--red);
}

.entry-label {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.entry-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-visual {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-figure {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}

.cover-card {
  padding: 18px 18px 16px;
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 4px 4px;
}

.cover-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.cover-title {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.35;
}

.cover-text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.cover-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

.cover-link:hover,
.cover-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 刊物三块主区 */
.press-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.cover-slot,
.track-list,
.editorial {
  min-width: 0;
}

.cover-figure {
  margin-top: 4px;
}

.cover-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
}

.cover-slot .block-title {
  margin-top: 12px;
}

.track-items {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.track-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.track-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
}

.track-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.track-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.track-name:hover,
.track-name:focus-visible {
  color: var(--red);
}

.track-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.track-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.note-item {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--rule);
}

.note-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
}

.note-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
}

.note-sign {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* 公告 */
.notice-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.notice-item {
  padding: 16px 18px;
  background: var(--mustard);
  border-radius: 4px;
}

.notice-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(27, 26, 24, 0.7);
}

.notice-title {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.45;
}

.notice-text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(27, 26, 24, 0.82);
}

/* 频道索引速览 */
.channel-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.channel-rows {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  border-top: 2px solid var(--ink);
}

.channel-row {
  border-bottom: 1px solid var(--rule-soft);
}

.channel-row a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 12px 4px;
  min-height: 44px;
  transition: background 0.16s ease;
}

.channel-row a:hover,
.channel-row a:focus-visible {
  background: var(--paper-deep);
}

.channel-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
}

.channel-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.channel-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.channel-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* 本期专题片单 */
.topic-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.topic-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.topic-card:last-child {
  border-bottom: 0;
}

.topic-figure {
  min-width: 0;
}

.topic-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}

.topic-body {
  min-width: 0;
}

.topic-name {
  font-size: 19px;
  line-height: 1.4;
}

.topic-name a {
  color: var(--ink);
}

.topic-name a:hover,
.topic-name a:focus-visible {
  color: var(--red);
}

.topic-summary {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.topic-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}

.field {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.field-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.field-value {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}

/* 专题成形三步 */
.step-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.step-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 4px 4px;
}

.step-item .step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.step-item .step-name {
  margin-top: 6px;
  font-size: 17px;
}

.step-item .step-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

/* 观看准备三条 */
.prep-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.prep-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.prep-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--paper-deep);
  border-radius: 4px;
}

.prep-item .prep-name {
  font-size: 17px;
}

.prep-item .prep-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

/* 条目分布对照 */
.dist-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.dist-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.dist-bar-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
}

.dist-bar-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.dist-bar {
  height: 12px;
  background: var(--red);
  border-radius: 2px;
  min-width: 6px;
}

.dist-bar-value {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.dist-table {
  margin-top: 24px;
}

/* 疑问应答预览 */
.faq-preview {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule-soft);
}

.faq-question {
  display: block;
  width: 100%;
  padding: 14px 30px 14px 2px;
  min-height: 44px;
  position: relative;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--ink);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--red);
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--red);
}

.faq-answer {
  padding: 0 2px 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
}

.faq-answer[hidden] {
  display: none;
}

.home-main .support-strip {
  padding: 34px 0 0;
}

/* --------------------------------------------------------------------------
   pages — 内页通用骨架
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--rule);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.kicker-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red);
}

.page-summary {
  max-width: 42em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.page-title-block,
.page-head {
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--rule);
}

.page-lede {
  max-width: 42em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.prose-section,
.list-section,
.compare-section,
.rules-section,
.process-section,
.naming-section,
.checklist-section,
.related-section,
.prep-block,
.entry-block,
.misjudge-block,
.slot-block,
.related-block,
.channel-catalog,
.topic-table-section,
.archive-stage,
.corrections,
.qa-switch,
.qa-group,
.qa-correction {
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

.prose-section:last-of-type,
.related-section:last-of-type,
.related-block:last-of-type {
  border-bottom: 0;
}

.prose-body {
  max-width: 42em;
  margin-top: 14px;
}

.prose-body p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.prose-body p + p {
  margin-top: 14px;
}

.media-figure,
.article-figure,
.guide-figure,
.content-media,
.qa-figure {
  margin: 26px 0;
}

.media-figure img,
.article-figure img,
.guide-figure img,
.content-media img,
.qa-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
}

/* 编号清单 */
.numbered-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  border-top: 2px solid var(--ink);
}

.numbered-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.item-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  padding-top: 3px;
}

.item-body {
  min-width: 0;
}

.item-title {
  font-size: 16px;
  line-height: 1.45;
}

.item-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* 早期做法与现在规则对照（div 结构） */
.compare-table[role="table"] {
  display: block;
  min-width: 0;
  border-top: 2px solid var(--ink);
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-head {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--ink);
}

.compare-row {
  border-bottom: 1px solid var(--rule-soft);
}

.compare-cell {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.75;
  min-width: 0;
}

.compare-cell--early {
  border-right: 1px solid var(--rule-soft);
  color: var(--muted);
}

.compare-cell--now {
  color: var(--ink);
}

.compare-head .compare-cell {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--red);
}

/* 制作过程（idea） */
.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.process-step {
  min-width: 0;
  padding: 16px 18px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 4px 4px;
}

.process-step .step-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.process-step h3 {
  margin-top: 6px;
  font-size: 17px;
}

.process-step .step-action {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.step-fields {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 10px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}

.step-fields dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.step-fields dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

/* 标签命名规则 */
.naming-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  border-top: 2px solid var(--ink);
}

.naming-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.naming-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  padding-top: 2px;
}

.naming-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.naming-counter {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* 发布前检查清单 */
.check-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  border-top: 2px solid var(--ink);
}

.check-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.check-box {
  width: 15px;
  height: 15px;
  margin-top: 6px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
}

.check-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.check-standard {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* 双栏布局：主内容 + 右侧栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.layout-aside {
  min-width: 0;
  padding-top: 34px;
}

.layout-shell {
  padding-top: 0;
}

.aside-block {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}

.aside-block:last-child {
  border-bottom: 0;
}

.aside-title {
  font-size: 17px;
  line-height: 1.4;
}

.aside-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.aside-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.aside-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.aside-item:last-child {
  border-bottom: 0;
}

.aside-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.aside-item-desc {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* 系列目录：频道分组 */
.channel-catalog {
  padding-top: 34px;
}

.channel-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.channel-group:last-child {
  border-bottom: 0;
}

.channel-group-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.channel-group-title .channel-num {
  font-size: 12px;
}

.channel-scope {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.channel-topic-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.channel-topic-list li {
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule);
}

.channel-topic-list li:last-child {
  border-bottom: 0;
}

.channel-topic-list a {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.channel-topic-list a:hover,
.channel-topic-list a:focus-visible {
  color: var(--red);
}

/* 系列目录：专题条目表与缩略图 */
.topic-thumb-figure {
  margin: 18px 0 22px;
}

.topic-thumb-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
}

.topic-thumb-second {
  margin-top: 26px;
}

.topic-num {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
  color: var(--red);
}

/* 字段读法 */
.field-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.field-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.field-item:last-child {
  border-bottom: 0;
}

.field-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--red);
}

.field-desc {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
}

.aside-links {
  margin-top: 8px;
}

.aside-links-title {
  font-size: 15px;
  line-height: 1.4;
}

.aside-link-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.aside-link-list li {
  border-bottom: 1px solid var(--rule-soft);
}

.aside-link-list a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.6;
}

/* 更新归档 */
.page-shell {
  padding-top: 0;
}

.archive-stage .section-head {
  margin-bottom: 12px;
}

.archive-stage .eyebrow {
  margin-bottom: 4px;
}

.archive-stage h2 {
  font-size: 20px;
  line-height: 1.4;
}

.index-rows {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}

.index-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.row-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  white-space: nowrap;
}

.row-body {
  min-width: 0;
}

.row-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.row-desc {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.row-anchor {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.corrections-table {
  min-width: 560px;
}

/* 观看准备 */
.prep-block .prep-columns {
  margin-top: 16px;
}

.prep-col {
  min-width: 0;
  padding: 16px 18px;
  background: var(--paper-deep);
  border-radius: 4px;
}

.prep-col .prep-name {
  font-size: 17px;
}

.prep-need {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.prep-fallback {
  margin-top: 10px;
  padding-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  border-top: 1px solid var(--rule);
}

/* 入口识别对照表 */
.entry-block .compare-table {
  min-width: 480px;
}

/* 常见误判与时段建议 */
.misjudge-list,
.slot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.misjudge-item,
.slot-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 4px 4px;
}

.misjudge-name,
.slot-name {
  font-size: 16px;
  line-height: 1.45;
}

.misjudge-why,
.misjudge-order,
.slot-fit,
.slot-warn {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
}

.misjudge-why,
.slot-fit {
  color: var(--ink);
}

.misjudge-order,
.slot-warn {
  color: var(--muted);
}

/* 疑问应答 */
.qa-switch {
  padding-top: 30px;
}

.section-title {
  font-size: 21px;
  line-height: 1.4;
}

.section-title .tag {
  margin-left: 8px;
  font-family: var(--mono);
  vertical-align: middle;
}

.qa-switch-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.qa-switch-btn {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.qa-switch-btn:hover,
.qa-switch-btn:focus-visible {
  border-color: var(--ink);
}

.qa-switch-btn.is-active,
.qa-switch-btn[aria-pressed="true"] {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
}

.qa-switch-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
}

.qa-switch-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.qa-group {
  padding-top: 28px;
}

.qa-group .section-desc {
  margin-top: 6px;
}

.qa-item {
  margin-top: 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
}

.qa-question {
  display: block;
  padding: 14px 40px 14px 16px;
  min-height: 44px;
  position: relative;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}

.qa-question::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--red);
}

.qa-item[open] .qa-question::after {
  content: "−";
}

.qa-question:hover,
.qa-question:focus-visible {
  color: var(--red);
}

.qa-answer {
  padding: 0 16px 16px;
}

.qa-answer p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
}

.qa-answer p + p {
  margin-top: 8px;
}

.qa-answer a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

.qa-answer a:hover,
.qa-answer a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.qa-related {
  font-size: 13px;
  color: var(--muted);
}

/* 校订与反馈说明 */
.qa-correction-steps {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  border-top: 2px solid var(--ink);
}

.qa-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.qa-step .step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  padding-top: 3px;
}

.qa-step .step-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

/* 404 */
.error-main {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 72px;
}

.error-inner {
  text-align: left;
}

.error-title {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.3;
}

.error-lead {
  margin-top: 14px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 4px;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  color: var(--paper);
  background: var(--red);
  border: 1px solid var(--red);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--red);
  border-color: var(--red);
}

.error-help {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.error-help-title {
  font-size: 18px;
  line-height: 1.4;
}

.error-help-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.error-help-list li {
  border-bottom: 1px solid var(--rule-soft);
}

.error-help-list a {
  display: block;
  padding: 11px 0;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.6;
}

/* 滚动出现（仅作增强，不影响初始可见） */
.reveal {
  animation: reveal-in 0.24s ease-out both;
}

@keyframes reveal-in {
  from {
    transform: translateY(6px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
  }

  .entry-card,
  .nav-link,
  .stage-item {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .header-inner {
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .stage-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stage-scope {
    display: none;
  }

  .stage-item {
    padding: 10px 10px;
    min-height: 44px;
    justify-content: center;
  }

  .stage-item:first-child {
    padding-left: 10px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0 34px;
  }

  .hero-lead h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .press-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .press-row .cover-slot,
  .press-row .track-list,
  .press-row .editorial {
    max-width: 640px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .layout-aside {
    padding-top: 0;
    padding-bottom: 10px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .support-grid,
  .support-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .misjudge-list,
  .slot-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .step-list,
  .prep-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .topic-card {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --gap: 18px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 12px var(--gap) 10px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .stage-bar {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 0 var(--gap);
  }

  .stage-item {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-left: 1px solid var(--rule-soft);
  }

  .stage-item:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .stage-name {
    white-space: nowrap;
  }

  .site-main {
    padding-bottom: 40px;
  }

  .breadcrumb {
    padding-top: 14px;
    font-size: 12px;
  }

  .page-title {
    font-size: 25px;
    line-height: 1.35;
  }

  .hero {
    padding: 24px 0 28px;
  }

  .hero-lead h1 {
    font-size: 28px;
    line-height: 1.35;
  }

  .hero-intro {
    font-size: 15px;
  }

  .entry-card {
    padding: 12px 14px;
    min-height: 44px;
  }

  .press-row {
    padding: 30px 0;
  }

  .notice-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .channel-row a {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "num name"
      ". desc";
    gap: 2px 10px;
    padding: 12px 2px;
  }

  .channel-row .channel-num {
    grid-area: num;
  }

  .channel-row .channel-name {
    grid-area: name;
  }

  .channel-row .channel-desc {
    grid-area: desc;
  }

  .channel-row .channel-meta {
    display: none;
  }

  .topic-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .topic-figure img {
    aspect-ratio: 16 / 9;
  }

  .topic-fields {
    gap: 4px 14px;
  }

  .dist-bar-row {
    grid-template-columns: 96px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .dist-bar-label {
    font-size: 12px;
  }

  .numbered-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .naming-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .naming-counter {
    grid-column: 2;
  }

  .check-item {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .check-standard {
    grid-column: 2;
  }

  .index-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .row-anchor {
    grid-column: 2;
  }

  .compare-head,
  .compare-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-cell--early {
    border-right: 0;
    padding-bottom: 2px;
    font-family: var(--mono);
    font-size: 12px;
  }

  .compare-cell--now {
    padding-top: 2px;
  }

  .compare-row {
    padding: 8px 0;
  }

  .qa-switch-btn {
    flex: 1 1 auto;
    padding: 8px 12px;
  }

  .qa-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .support-bar,
  .support-strip {
    padding-left: var(--gap);
    padding-right: var(--gap);
  }

  .error-main {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .error-title {
    font-size: 26px;
  }

  .error-actions a {
    flex: 1 1 auto;
  }
}
