:root {
  --paper: #fbf7f4;
  --panel: #ffffff;
  --clay: #b34a2f;
  --clay-dark: #8f3a24;
  --moss: #2f6b5f;
  --amber: #a8621b;
  --ink: #23201e;
  --ink-soft: #6b625c;
  --line: #e4dbd4;
  --line-strong: #d2c6bd;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Courier New", monospace;
  --container: 1120px;
  --radius: 6px;
}

/* ============ base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  min-width: 320px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--clay-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

.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;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

/* ============ layout: shell ============ */
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

.brand-mark {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: var(--clay);
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px 7px auto auto;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--paper);
}

.brand-tagline {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.brand-tagline::after {
  content: "分区在前 核验在后";
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}

.primary-nav {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.primary-nav ul {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover {
  color: var(--clay);
}

.primary-nav a.is-current {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--clay);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.site-main {
  display: block;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  margin-bottom: 8px;
}

.page-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.page-label,
.page-title-label,
.section-kicker {
  font-size: 13px;
  font-family: var(--mono);
  color: var(--clay);
  letter-spacing: 0;
  margin-bottom: 6px;
}

.page-lead,
.page-lede,
.page-title-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 68ch;
  margin-top: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

/* ============ layout: section heads ============ */
.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.section-head p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 6px;
  max-width: 72ch;
}

/* ============ layout: footer ============ */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.footer-brand {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 0;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: 6px;
}

.footer-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
}

.footer-group h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-group a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--clay);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 80ch;
}

.footer-copy {
  margin-top: 4px;
  font-family: var(--mono);
}

/* ============ components: tags, fields, links ============ */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--moss);
  background: #edf3f0;
  border: 1px solid #cfe0d9;
  border-radius: 4px;
  padding: 2px 8px;
}

.field-line {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.field-name {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
}

.field-name::after {
  content: "：";
}

.link-primary,
.link-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.link-primary {
  background: var(--clay);
  color: #fff;
  border: 1px solid var(--clay);
}

.link-primary:hover {
  background: var(--clay-dark);
  color: #fff;
  border-color: var(--clay-dark);
}

.link-secondary {
  background: var(--panel);
  color: var(--clay);
  border: 1px solid var(--line-strong);
}

.link-secondary:hover {
  border-color: var(--clay);
  color: var(--clay-dark);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clay);
}

.warning-strip {
  border-left: 4px solid var(--amber);
  background: #fdf4e8;
  color: #7d4a13;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============ components: figures ============ */
.hero-figure,
.entry-thumb,
.special-cover,
.step-figure,
.focus-media,
.focus-figure,
.media-figure,
.verify-figure,
.about-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f1e9e3;
}

.hero-figure img,
.entry-thumb img,
.special-cover img,
.step-figure img,
.focus-media img,
.focus-figure img,
.media-figure img,
.verify-figure img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 8px 2px 0;
}

/* ============ components: tables ============ */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.overview-table,
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.overview-table th,
.overview-table td,
.table-scroll th,
.table-scroll td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.overview-table thead th,
.table-scroll thead th {
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink-soft);
  background: #f7f1ec;
  white-space: nowrap;
}

.overview-table tbody th,
.table-scroll tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.overview-table tbody tr:last-child th,
.overview-table tbody tr:last-child td,
.table-scroll tbody tr:last-child th,
.table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

.overview-table tbody tr:hover,
.table-scroll tbody tr:hover {
  background: #faf4ef;
}

.overview-table td a {
  font-weight: 600;
  white-space: nowrap;
}

/* ============ components: entry rows (shared) ============ */
.entry-rows {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.entry-row {
  display: grid;
  align-items: center;
  gap: 4px 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  min-height: 44px;
}

.entry-row:last-child {
  border-bottom: 0;
}

.entry-row:hover {
  background: #faf4ef;
}

.entry-row time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.entry-row a {
  font-weight: 600;
}

/* latest page rows: time / channel / type / pos / link */
.entry-list .entry-row {
  grid-template-columns: 96px 108px minmax(0, 1fr) 96px auto;
}

.entry-list .entry-channel,
.entry-list .entry-type,
.entry-list .entry-pos {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.entry-list .entry-type {
  color: var(--moss);
}

.entry-list .entry-row a {
  justify-self: end;
  font-size: 13px;
}

/* channels rows: name / duration / pos / link */
.channel-list .entry-row {
  grid-template-columns: minmax(0, 1fr) 96px 104px auto;
}

.channel-list .entry-name {
  font-weight: 600;
  color: var(--ink);
}

.channel-list .entry-duration,
.channel-list .entry-pos {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.channel-list .entry-link {
  justify-self: end;
  font-size: 13px;
  white-space: nowrap;
}

/* ============ components: related links ============ */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.related-links-label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* ============ pages: index ============ */
.hero-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: stretch;
  padding: 8px 0 32px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--clay);
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.status-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}

.status-summary li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.status-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--moss);
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* reserve the media box so the image cannot shift the focus card on load */
.hero-figure {
  flex: 1 1 auto;
  min-height: 260px;
  aspect-ratio: 16 / 10;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
}

.hero-focus-card {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(35, 32, 30, 0.05);
}

.hero-focus-card h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  margin: 8px 0 6px;
}

.hero-focus-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 4px;
}

.focus-strip {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 0;
}

.entry-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 2px 6px rgba(35, 32, 30, 0.06);
}

.entry-thumb {
  aspect-ratio: 16 / 10;
}

.entry-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
}

.entry-card .tag {
  align-self: flex-start;
}

.entry-card h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.entry-card > p:last-child {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.channel-overview {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.latest-stream {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.stream-main {
  min-width: 0;
}

.stream-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.stream-row {
  display: grid;
  grid-template-columns: 96px auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.stream-row:last-child {
  border-bottom: 0;
}

.stream-row:hover {
  background: #faf4ef;
}

.stream-row time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.stream-row > a {
  font-size: 15px;
  font-weight: 600;
  min-height: 24px;
}

.stream-row .field-line {
  grid-column: 3 / -1;
}

.stream-more {
  margin-top: 14px;
  font-size: 14px;
}

.stream-more a {
  font-weight: 600;
}

.stream-side {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.stream-side h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.recent-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-log li {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}

.recent-log li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.recent-log time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.recent-log p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 2px;
}

.special-pair {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.special-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.special-card .special-cover {
  aspect-ratio: 16 / 9;
}

.special-card .special-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.special-card h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.special-reason {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.special-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: specialitem;
  border-top: 1px dashed var(--line-strong);
  padding-top: 10px;
}

.special-items li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.6;
  counter-increment: specialitem;
}

.special-items li::before {
  content: counter(specialitem, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.ranking-rationale {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.rationale-list {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.rationale-list li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.rationale-list li:last-child {
  border-bottom: 0;
}

.rationale-list .field-name {
  color: var(--ink);
  font-weight: 700;
}

.rationale-more {
  margin-top: 14px;
  font-size: 14px;
}

.rationale-more a {
  font-weight: 600;
}

.precheck-steps {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.precheck-steps .step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.precheck-steps .step-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 0;
}

.precheck-steps .step-figure {
  aspect-ratio: 4 / 3;
}

.precheck-steps .step-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.precheck-steps .step-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.precheck-steps .step-card ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.precheck-steps .step-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.precheck-steps .step-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

.precheck-steps .warning-strip {
  margin-top: 20px;
}

.step-more {
  margin-top: 14px;
  font-size: 14px;
}

.step-more a {
  font-weight: 600;
}

.feedback-entry {
  padding: 32px 0 8px;
}

.feedback-entry .issue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feedback-entry .issue-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.feedback-entry .issue-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.feedback-entry .issue-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.feedback-entry .feedback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 16px;
  font-size: 14px;
}

.feedback-entry .feedback-links a {
  font-weight: 600;
}

/* ============ pages: latest ============ */
.change-summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: 20px 32px;
  align-items: start;
  margin-bottom: 32px;
}

.change-summary h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  grid-column: 1 / -1;
}

.summary-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.summary-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.summary-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.summary-fields dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.summary-fields dd {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.focus-entry {
  margin-bottom: 32px;
}

.focus-entry h2,
.entry-list h2,
.affected-channels h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.focus-entry .focus-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  align-items: start;
}

.focus-media {
  aspect-ratio: 16 / 10;
}

.focus-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
}

.focus-text {
  min-width: 0;
}

.focus-text h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 8px;
}

.focus-text > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.focus-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.focus-fields dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.focus-fields dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2px;
}

.focus-link {
  margin-top: 14px;
  font-size: 14px;
}

.focus-link a {
  font-weight: 600;
}

.entry-list {
  margin-bottom: 32px;
}

.list-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.affected-channels {
  margin-bottom: 8px;
}

.affected-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.affected-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.affected-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.affected-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--moss);
}

.affected-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============ pages: channels ============ */
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.channel-aside {
  position: sticky;
  top: 132px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.aside-title {
  font-size: 14px;
  font-family: var(--mono);
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 10px;
}

.channel-filter {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-filter a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

.channel-filter a:hover {
  background: #faf4ef;
}

.channel-filter a.is-active {
  border-left-color: var(--clay);
  background: #faf4ef;
}

.channel-filter-name {
  font-size: 14px;
  font-weight: 600;
}

.channel-filter a.is-active .channel-filter-name {
  font-weight: 700;
  color: var(--clay);
}

.channel-filter-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.aside-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.channel-main {
  min-width: 0;
}

.channel-focus {
  margin-bottom: 32px;
}

.channel-focus h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.channel-focus .focus-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  align-items: start;
}

.focus-figure {
  aspect-ratio: 16 / 10;
}

.focus-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
}

.focus-body {
  min-width: 0;
}

.entry-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--moss);
  margin-bottom: 6px;
}

.focus-name {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 10px;
}

.focus-body .focus-fields {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.focus-reason {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 10px;
}

.channel-list {
  margin-bottom: 32px;
}

.channel-list h2,
.scope-notes h2,
.channel-cross h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-lede {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.scope-notes {
  margin-bottom: 32px;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.scope-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.scope-in h3 {
  color: var(--moss);
}

.scope-out h3 {
  color: var(--amber);
}

.scope-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scope-col li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.scope-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.scope-in li::before {
  background: var(--moss);
}

.scope-out li::before {
  background: var(--amber);
}

.scope-tip {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.scope-tip a {
  font-weight: 600;
}

.channel-cross {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.cross-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.cross-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

/* ============ pages: specials ============ */
.special-intro {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 32px;
}

.special-intro h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.special-intro p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 72ch;
}

.special-intro p + p {
  margin-top: 8px;
}

.special-note {
  border-left: 3px solid var(--moss);
  padding-left: 12px;
  font-family: var(--mono);
  font-size: 13px;
}

.special-list {
  margin-bottom: 32px;
}

.special-list > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.special-item {
  display: grid;
  grid-template-columns: 44px 220px minmax(0, 1fr);
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.special-item-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.special-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--clay);
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}

.special-name {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  writing-mode: horizontal-tb;
}

.special-item .special-cover {
  aspect-ratio: 4 / 3;
}

.special-item .special-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.special-body {
  min-width: 0;
}

.special-body .special-reason {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.special-body .special-reason strong {
  color: var(--ink);
}

.special-entries {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  counter-reset: specialentry;
}

.special-entries li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.65;
  counter-increment: specialentry;
}

.special-entries li::before {
  content: counter(specialentry, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.special-link-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.special-channel-map {
  margin-bottom: 8px;
}

.special-channel-map h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.map-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.map-column {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.map-column h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--moss);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.map-column ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.map-column li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.map-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.special-list + .related-links h2,
.related-links h2 {
  font-size: 14px;
  font-family: var(--mono);
  color: var(--ink-soft);
  font-weight: 700;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

/* ============ pages: ranking ============ */
.layout-shell.sidebar-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}

.content-main {
  min-width: 0;
}

.content-main .breadcrumb {
  padding-top: 0;
}

.ranking-fields {
  margin-bottom: 32px;
}

.ranking-fields h2,
.editing-boundary h2,
.channel-diff h2,
.update-time h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.field-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.field-row:last-child {
  border-bottom: 0;
}

.field-row:hover {
  background: #faf4ef;
}

.field-row .field-name {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.field-row .field-name::after {
  content: "";
}

.field-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.editing-boundary {
  margin-bottom: 32px;
}

.editing-boundary > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.editing-boundary .boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.boundary-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--moss);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.boundary-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.boundary-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.boundary-note {
  margin-top: 14px;
  border-left: 3px solid var(--amber);
  padding: 8px 12px;
  background: #fdf4e8;
  font-size: 13px;
  line-height: 1.7;
  color: #7d4a13;
  border-radius: 0 4px 4px 0;
}

.channel-diff {
  margin-bottom: 32px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.diff-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.diff-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.diff-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.diff-card .diff-field {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--moss);
}

.update-time {
  margin-bottom: 8px;
}

.update-time p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 72ch;
}

.update-time p + p {
  margin-top: 6px;
}

.media-figure {
  margin-top: 16px;
  aspect-ratio: 16 / 9;
}

.media-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.ranking-aside {
  position: sticky;
  top: 132px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.ranking-aside h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.aside-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-links {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}

.aside-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

/* ============ pages: checklist ============ */
.precheck-intro {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 32px;
}

.precheck-intro h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.precheck-intro p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 72ch;
}

.precheck-intro p + p {
  margin-top: 8px;
}

.precheck-scope {
  border-left: 3px solid var(--moss);
  padding-left: 12px;
  font-family: var(--mono);
  font-size: 13px;
}

.step-grid {
  margin-bottom: 32px;
}

.step-grid > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-list .step-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 0;
}

.step-list .step-figure {
  aspect-ratio: 4 / 3;
}

.step-list .step-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.step-list .step-card h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.step-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-items li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.step-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

.inner-main > .warning-strip {
  margin-bottom: 32px;
}

.warning-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.failure-order {
  margin-bottom: 32px;
}

.failure-order h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.failure-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.failure-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.failure-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--clay);
}

.failure-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.failure-step .failure-result {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--moss);
}

.faq-block {
  margin-bottom: 8px;
}

.faq-block h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
  list-style: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  top: 24px;
}

.faq-item summary:hover {
  background: #faf4ef;
}

.faq-item p {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 72ch;
}

/* ============ pages: feedback ============ */
.issue-grid > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.issue-grid .issue-grid-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.issue-grid .issue-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
}

.issue-grid .issue-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.issue-symptom {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.issue-hint {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.verify-path {
  margin: 32px 0;
}

.verify-path h2,
.describe-info h2,
.out-of-scope h2,
.feedback-links h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.verify-figure {
  margin-bottom: 16px;
  aspect-ratio: 16 / 7;
}

.verify-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 7;
}

.verify-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.verify-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.verify-table caption {
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.verify-table th,
.verify-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.verify-table thead th {
  font-size: 13px;
  font-family: var(--mono);
  background: #f7f1ec;
  color: var(--ink-soft);
  white-space: nowrap;
}

.verify-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.verify-table tbody tr:last-child th,
.verify-table tbody tr:last-child td {
  border-bottom: 0;
}

.verify-table tbody tr:hover {
  background: #faf4ef;
}

.describe-info {
  margin-bottom: 32px;
}

.describe-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.describe-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.describe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.describe-list strong {
  color: var(--ink);
}

.describe-example {
  margin-top: 12px;
  border-left: 3px solid var(--moss);
  padding: 10px 14px;
  background: #edf3f0;
  border-radius: 0 4px 4px 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #234f46;
}

.out-of-scope {
  margin-bottom: 32px;
}

.out-of-scope-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.out-of-scope-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.out-of-scope-col li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.out-of-scope-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.feedback-links {
  margin-bottom: 8px;
}

.feedback-links .link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.feedback-links .link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

/* ============ pages: about ============ */
.about-intro {
  margin-bottom: 32px;
}

.about-intro h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-media {
  margin-bottom: 14px;
  aspect-ratio: 16 / 6;
}

.about-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 6;
}

.about-intro > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 72ch;
}

.field-table {
  margin-bottom: 32px;
}

.field-table h2,
.editorial-principles h2,
.boundary-list h2,
.revision-log h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.section-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 72ch;
}

.table-scroll table caption {
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.editorial-principles {
  margin-bottom: 32px;
}

.principles-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.principles-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.principles-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--moss);
}

.principles-col ol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: principle;
}

.principles-col li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  counter-increment: principle;
}

.principles-col li::before {
  content: counter(principle) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.boundary-list {
  margin-bottom: 32px;
}

.boundary-items {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.boundary-items li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.boundary-items li:last-child {
  border-bottom: 0;
}

.boundary-items strong {
  color: var(--ink);
  margin-right: 6px;
}

.revision-log {
  margin-bottom: 32px;
}

.revision-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.revision-items li {
  display: grid;
  grid-template-columns: 110px 140px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.revision-items li:last-child {
  border-bottom: 0;
}

.revision-items time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.revision-page {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--clay);
}

.revision-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  min-width: 0;
}

.about-related {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.about-related h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-related > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.about-related .related-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.about-related .related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

/* ============ pages: 404 ============ */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.error-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--clay);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}

.error-code {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--clay);
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 8px;
}

.error-hint {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--clay);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.error-btn:hover {
  border-color: var(--clay);
}

.error-btn-primary {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.error-btn-primary:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  color: #fff;
}

.error-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ============ responsive ============ */
@media (max-width: 960px) {
  .header-top {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    border-top: 1px solid var(--line);
  }

  .primary-nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 12px 12px;
  }

  .primary-nav ul.is-open {
    display: flex;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    width: 100%;
    min-height: 48px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .primary-nav a.is-current {
    border-bottom-color: var(--clay);
  }

  .home-main,
  .inner-main {
    padding: 20px 20px 48px;
  }

  .hero-workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-figure {
    min-height: 0;
  }

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-grid .entry-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 16px;
    align-items: start;
  }

  .focus-grid .entry-card:last-child .entry-thumb {
    grid-row: 1 / 5;
  }

  .latest-stream {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .special-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .precheck-steps .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .precheck-steps .step-grid .step-card:last-child {
    grid-column: 1 / -1;
  }

  .feedback-entry .issue-grid,
  .issue-grid .issue-grid-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .channel-aside {
    position: static;
    padding: 10px;
  }

  .channel-filter {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .channel-filter li {
    flex: 0 0 auto;
  }

  .channel-filter a {
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 4px 4px 0 0;
    padding: 8px 12px;
    min-width: 132px;
  }

  .channel-filter a.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--clay);
  }

  .aside-note {
    margin-top: 8px;
  }

  .layout-shell.sidebar-right {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ranking-aside {
    position: static;
  }

  .editing-boundary .boundary-list,
  .diff-grid,
  .failure-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editing-boundary .boundary-list .boundary-item:last-child,
  .diff-grid .diff-card:last-child,
  .failure-list .failure-step:last-child {
    grid-column: 1 / -1;
  }

  .special-item {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .special-item-head {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .special-item .special-cover {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .special-item .special-cover img {
    aspect-ratio: 16 / 9;
  }

  .special-body {
    grid-column: 1 / -1;
  }

  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-grid .map-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
  }

  .footer-nav .footer-group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body.site-body {
    font-size: 15px;
  }

  .header-top {
    padding: 10px 16px;
  }

  .brand-tagline {
    font-size: 16px;
  }

  .brand-tagline::after {
    font-size: 11px;
  }

  .home-main,
  .inner-main {
    padding: 16px 16px 40px;
  }

  .breadcrumb {
    justify-content: flex-start;
    font-size: 12px;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .page-title {
    font-size: 24px;
    line-height: 1.35;
  }

  .page-lead,
  .page-lede,
  .page-title-lead {
    font-size: 15px;
    padding-bottom: 16px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .link-primary,
  .link-secondary {
    justify-content: center;
    width: 100%;
  }

  .hero-figure {
    aspect-ratio: 16 / 9;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .focus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .focus-grid .entry-card:last-child {
    display: flex;
    flex-direction: column;
  }

  .focus-grid .entry-card:last-child .entry-thumb {
    grid-row: auto;
  }

  .entry-thumb {
    aspect-ratio: 16 / 9;
  }

  .entry-thumb img {
    aspect-ratio: 16 / 9;
  }

  .stream-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 12px 14px;
  }

  .stream-row time {
    grid-column: 1 / -1;
  }

  .stream-row .field-line {
    grid-column: 1 / -1;
  }

  .special-card h3 {
    font-size: 17px;
  }

  .precheck-steps .step-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .precheck-steps .step-grid .step-card:last-child {
    grid-column: auto;
  }

  .feedback-entry .issue-grid,
  .issue-grid .issue-grid-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-entry .feedback-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .change-summary {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .summary-fields {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 28px;
  }

  .focus-entry .focus-card,
  .channel-focus .focus-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .focus-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-list .entry-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    padding: 12px 14px;
  }

  .entry-list .entry-row time {
    grid-column: 1 / -1;
  }

  .entry-list .entry-channel {
    grid-column: 1;
  }

  .entry-list .entry-type {
    grid-column: 2;
    justify-self: end;
  }

  .entry-list .entry-pos {
    grid-column: 1 / -1;
  }

  .entry-list .entry-row a {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 32px;
  }

  .channel-list .entry-row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 14px;
  }

  .channel-list .entry-name {
    grid-column: 1 / -1;
  }

  .channel-list .entry-duration {
    grid-column: 1;
  }

  .channel-list .entry-pos {
    grid-column: 2;
    justify-self: end;
  }

  .channel-list .entry-link {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 32px;
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-item {
    padding: 14px;
    gap: 12px;
  }

  .special-name {
    font-size: 16px;
  }

  .map-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-grid .map-column:last-child {
    grid-column: auto;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 14px;
  }

  .editing-boundary .boundary-list,
  .diff-grid,
  .failure-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .editing-boundary .boundary-list .boundary-item:last-child,
  .diff-grid .diff-card:last-child,
  .failure-list .failure-step:last-child {
    grid-column: auto;
  }

  .faq-item summary {
    font-size: 14px;
    padding: 12px 40px 12px 14px;
  }

  .faq-item p {
    padding: 0 14px 14px;
  }

  .out-of-scope-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .principles-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media {
    aspect-ratio: 16 / 9;
  }

  .about-media img {
    aspect-ratio: 16 / 9;
  }

  .revision-items li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 12px 14px;
  }

  .overview-table th,
  .overview-table td,
  .table-scroll th,
  .table-scroll td,
  .verify-table th,
  .verify-table td {
    padding: 10px 12px;
  }

  .footer-brand {
    padding: 24px 16px 0;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 16px 8px;
  }

  .footer-nav .footer-group:last-child {
    grid-column: auto;
  }

  .footer-group ul {
    gap: 0;
  }

  .footer-group a {
    padding: 8px 0;
  }

  .footer-bottom {
    padding: 16px 16px 28px;
  }

  .error-main {
    padding: 32px 16px 48px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-btn {
    justify-content: center;
  }

  .related-links {
    gap: 4px 16px;
  }
}
