/* ============================================================
   久久视频 tenaan.com
   纸感目录风 · 全站样式表
   分组：base / layout / components / pages / responsive
   ============================================================ */

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --paper: #F5F1E8;
  --ink: #253428;
  --moss: #6E8A5F;
  --ochre: #B0552C;
  --sand: #D8CFBC;
  --char: #1C221D;
  --paper-soft: #FBF8F1;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, Menlo, Consolas, "Courier New", monospace;
  --container: 1180px;
  --gutter: 24px;
  --text-col: 720px;
  --radius: 4px;
  --line: 1px solid var(--sand);
}

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;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--ochre);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius);
  z-index: 100;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

.mono-tag,
.code-badge,
.badge,
.num-badge,
.entry-num,
.topic-num,
.rule-num,
.section-index,
.section-no,
.section-code,
.checkpoint-no,
.report-no,
.judge-num,
.hero-code,
.kicker,
.eyebrow,
.section-kicker,
.page-kicker,
.toc-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  padding: 2px 9px;
  border: 1px solid var(--sand);
  border-radius: 3px;
  color: var(--moss);
  background: var(--paper-soft);
  margin: 0 6px 6px 0;
}

/* ---------- layout: shell ---------- */
.site-header {
  background: var(--paper);
  border-bottom: var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.brand-sub {
  font-size: 11px;
  color: var(--moss);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}

.nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ochre);
}

.nav-link.is-current {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--ink);
}

.btn-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  background: var(--ochre);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--ochre);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .18s ease, color .18s ease;
}

.btn-command:hover {
  background: #8f4423;
  border-color: #8f4423;
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--paper-soft);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.mobile-menu {
  border-top: var(--line);
  background: var(--paper-soft);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter) 16px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--sand);
}

.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  color: var(--ink);
}

.mobile-nav-list a.is-current {
  color: var(--ochre);
  font-weight: 600;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 64px;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--moss);
  padding: 4px 0 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--moss);
}

.breadcrumb a:hover {
  color: var(--ochre);
}

.breadcrumb-sep {
  color: var(--sand);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 0 0 20px;
  border-bottom: var(--line);
  margin-bottom: 28px;
}

.page-title {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- layout: footer ---------- */
.site-footer {
  background: var(--char);
  color: #cfd4cb;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter) 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: var(--serif);
  font-size: 20px;
  color: #f3efe4;
  margin: 0 0 8px;
}

.footer-intro {
  font-size: 13px;
  line-height: 1.8;
  color: #a7b0a3;
  margin: 0;
}

.footer-title {
  font-size: 14px;
  color: #f3efe4;
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 600;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a,
.footer-text-link {
  font-size: 13px;
  color: #a7b0a3;
  transition: color .18s ease;
}

.footer-list a:hover,
.footer-text-link:hover {
  color: #e8e2d3;
}

.footer-text {
  font-size: 13px;
  color: #a7b0a3;
  line-height: 1.8;
  margin: 0 0 8px;
}

.footer-text-link {
  display: inline-block;
  border-bottom: 1px solid #4a544a;
  padding-bottom: 1px;
}

.footer-bottom {
  border-top: 1px solid #333c33;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer-copy,
.footer-note {
  font-size: 12px;
  color: #8e988a;
  margin: 0;
}

/* ---------- components: shared blocks ---------- */
.section-head {
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.section-desc {
  font-size: 14px;
  color: var(--moss);
  margin: 0;
  max-width: 760px;
}

.section-lead,
.section-intro,
.section-note {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
  max-width: var(--text-col);
}

.section-note {
  font-size: 13px;
  color: var(--moss);
  margin-top: 16px;
}

.section-index,
.section-no,
.section-code {
  font-size: 12px;
  color: var(--ochre);
}

.section {
  margin-bottom: 48px;
}

.section-title + .section-lead,
.section-title + .section-intro {
  margin-top: 6px;
}

/* 手风琴 */
.faq-item {
  border-bottom: var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ochre);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 4px 16px;
  font-size: 15px;
  line-height: 1.85;
  color: #3b4a3d;
}

.faq-answer p {
  margin: 0;
}

/* 表格 */
.table-scroll {
  overflow-x: auto;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  margin: 20px 0;
}

.data-table,
.element-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--moss);
  padding: 12px 16px 0;
}

.data-table th,
.data-table td,
.element-table th,
.element-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sand);
  vertical-align: top;
  line-height: 1.7;
}

.data-table thead th,
.element-table thead th {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  background: #efe9dc;
  font-weight: 600;
}

.data-table tbody th,
.element-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.element-table tbody tr:last-child th,
.element-table tbody tr:last-child td {
  border-bottom: none;
}

/* 延伸入口条 */
.extend-bar,
.next-strip,
.section-more,
.more-links,
.related-bar {
  margin: 40px 0 0;
  padding: 20px 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.extend-label,
.next-label,
.more-links-title,
.section-more-label,
.related-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 12px;
}

.extend-list,
.next-list,
.more-links-list,
.section-more-list,
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.extend-list a,
.next-list a,
.more-link,
.section-more-list a,
.related-list a {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .18s ease, color .18s ease;
}

.extend-list a:hover,
.next-list a:hover,
.more-link:hover,
.section-more-list a:hover,
.related-list a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.extend-list a::before,
.next-list a::before,
.more-link::before,
.section-more-list a::before,
.related-list a::before {
  content: "→ ";
  color: var(--ochre);
}

/* 相关内容条 */
.related-links {
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
}

.related-links-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.related-links-item {
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

/* 页面标题区（内页通用） */
.page-hero,
.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.page-hero-text,
.page-head-text {
  min-width: 0;
}

.page-hero-summary,
.page-summary,
.page-lead,
.page-hero-meta {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 8px 0 0;
}

.page-hero-meta {
  font-size: 13px;
  color: var(--moss);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.page-hero-figure,
.page-hero-media,
.page-head-figure,
.page-head-media {
  margin: 0;
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}

.page-hero-figure img,
.page-hero-media img,
.page-head-figure img,
.page-head-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.figure-caption,
.media-caption,
.page-hero-figure figcaption,
.page-hero-media figcaption,
.page-head-figure figcaption,
.page-head-media figcaption {
  font-size: 12px;
  color: var(--moss);
  padding: 10px 14px;
  border-top: var(--line);
  line-height: 1.6;
}

/* ============================================================
   pages
   ============================================================ */

/* ---------- 首页 ---------- */
.home-main .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
  border-bottom: var(--line);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  font-size: 12px;
  color: var(--ochre);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.2;
  margin: 0 0 18px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #3b4a3d;
  margin: 0 0 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 26px;
  background: var(--ochre);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--ochre);
  transition: background .18s ease;
}

.btn-primary:hover {
  background: #8f4423;
  border-color: #8f4423;
  color: var(--paper);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  transition: background .18s ease, color .18s ease;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  padding-top: 20px;
  border-top: var(--line);
}

.meta-item {
  min-width: 0;
}

.meta-item dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 2px;
}

.meta-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.hero-figure {
  margin: 0;
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-figure .figure-caption {
  font-size: 12px;
  color: var(--moss);
  padding: 10px 14px;
  border-top: var(--line);
}

/* 目录三入口条 */
.entry-strip {
  padding: 40px 0;
  border-bottom: var(--line);
}

.entry-strip .section-title {
  font-size: 18px;
  margin-bottom: 18px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}

.entry-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border-right: var(--line);
  color: var(--ink);
  transition: background .18s ease;
}

.entry-cell:last-child {
  border-right: none;
}

.entry-cell:hover {
  background: #efe9dc;
  color: var(--ink);
}

.entry-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.entry-desc {
  font-size: 13px;
  color: var(--moss);
  line-height: 1.7;
}

.entry-arrow {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ochre);
}

/* 频道矩阵 */
.channel-matrix {
  padding: 48px 0;
  border-bottom: var(--line);
}

.channel-list {
  border-top: var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--ochre);
  border-radius: 3px;
  color: var(--ochre);
  background: transparent;
  font-size: 12px;
}

.channel-main {
  min-width: 0;
}

.channel-name {
  font-size: 18px;
  margin: 0 0 4px;
}

.channel-name a {
  color: var(--ink);
}

.channel-name a:hover {
  color: var(--ochre);
}

.channel-tags {
  margin: 0;
  font-size: 0;
}

.channel-desc {
  font-size: 14px;
  color: #3b4a3d;
  margin: 0;
  line-height: 1.75;
}

.channel-link {
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--ochre);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}

.channel-link:hover {
  border-bottom-color: var(--ochre);
}

/* 观看流程四步纵线 */
.flow-section {
  padding: 48px 0;
  border-bottom: var(--line);
}

.flow-list {
  position: relative;
  padding-left: 4px;
}

.flow-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 26px;
  position: relative;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  position: relative;
  z-index: 1;
}

.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--sand);
}

.flow-body {
  min-width: 0;
  padding-top: 4px;
}

.flow-title {
  font-size: 17px;
  margin: 0 0 4px;
}

.flow-text {
  font-size: 14px;
  color: #3b4a3d;
  margin: 0;
  line-height: 1.8;
}

/* 精选推荐 */
.picks-section {
  padding: 48px 0;
  border-bottom: var(--line);
}

.pick-featured {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  margin-bottom: 24px;
}

.pick-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8e1d2;
}

.pick-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pick-body {
  min-width: 0;
}

.pick-title {
  font-size: 22px;
  margin: 6px 0 10px;
}

.pick-title a {
  color: var(--ink);
}

.pick-title a:hover {
  color: var(--ochre);
}

.pick-text {
  font-size: 15px;
  color: #3b4a3d;
  margin: 0 0 12px;
  line-height: 1.8;
}

.pick-meta {
  margin: 0 0 12px;
  font-size: 0;
}

.pick-link {
  font-size: 14px;
  color: var(--ochre);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}

.pick-link:hover {
  border-bottom-color: var(--ochre);
}

.pick-archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pick-item {
  padding: 20px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  min-width: 0;
}

.pick-item-title {
  font-size: 16px;
  margin: 6px 0 8px;
}

.pick-item-title a {
  color: var(--ink);
}

.pick-item-title a:hover {
  color: var(--ochre);
}

.pick-item-text {
  font-size: 14px;
  color: #3b4a3d;
  margin: 0 0 10px;
  line-height: 1.75;
}

.pick-item-meta {
  font-size: 12px;
  color: var(--moss);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin: 0;
}

/* 主题片单导览 */
.topics-section {
  padding: 48px 0;
  border-bottom: var(--line);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  min-width: 0;
}

.topic-name {
  font-size: 19px;
  margin: 6px 0 10px;
}

.topic-name a {
  color: var(--ink);
}

.topic-name a:hover {
  color: var(--ochre);
}

.topic-text {
  font-size: 14px;
  color: #3b4a3d;
  margin: 0 0 12px;
  line-height: 1.8;
}

.topic-points {
  margin: 0 0 12px;
  padding-left: 0;
}

.topic-points li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.topic-points li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--ochre);
  font-weight: 700;
}

.topic-channel {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--moss);
  margin: 0;
}

.topic-channel a {
  color: var(--moss);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 1px;
}

.topic-channel a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

/* 收录范围双列 */
.scope-section {
  padding: 48px 0;
  border-bottom: var(--line);
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.scope-col {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper-soft);
  border: var(--line);
  min-width: 0;
}

.scope-in {
  border-left: 3px solid var(--moss);
}

.scope-out {
  border-left: 3px solid var(--ochre);
}

.scope-col-title {
  font-size: 17px;
  margin: 0 0 12px;
}

.scope-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.scope-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--moss);
}

.scope-out .scope-list li::before {
  color: var(--ochre);
}

.scope-more {
  margin: 20px 0 0;
  font-size: 14px;
}

.scope-more a {
  color: var(--ochre);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}

.scope-more a:hover {
  border-bottom-color: var(--ochre);
}

/* 常见问题预览 */
.faq-section {
  padding: 48px 0;
  border-bottom: var(--line);
}

.faq-list {
  border-top: var(--line);
}

.faq-more {
  margin: 20px 0 0;
  font-size: 14px;
}

.faq-more a {
  color: var(--ochre);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}

.faq-more a:hover {
  border-bottom-color: var(--ochre);
}

/* 反馈入口条 */
.feedback-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  margin-top: 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.feedback-copy {
  min-width: 0;
}

.feedback-bar .section-title {
  color: var(--paper);
  font-size: 20px;
  margin: 0 0 8px;
}

.feedback-text {
  font-size: 14px;
  color: #c7cec4;
  margin: 0;
  line-height: 1.8;
}

.feedback-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.feedback-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--paper);
  border: 1px solid #56655a;
  border-radius: var(--radius);
  transition: background .18s ease, border-color .18s ease;
}

.feedback-link:hover {
  background: #2f4033;
  border-color: var(--ochre);
  color: var(--paper);
}

/* ---------- 频道索引 ---------- */
.section-basis .basis-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.basis-item {
  padding: 18px 20px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  min-width: 0;
}

.anchor-bar {
  margin: 0 0 32px;
  padding: 14px 0;
  border-top: var(--line);
  border-bottom: var(--line);
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--sand);
  border-radius: 3px;
  background: var(--paper-soft);
  transition: border-color .18s ease, color .18s ease;
}

.anchor-link:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

.section-channels .channel-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: var(--line);
  align-items: start;
}

.section-channels .channel-row:last-child {
  border-bottom: none;
}

.channel-row-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}

.code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--ochre);
  border-radius: 3px;
  color: var(--ochre);
  font-size: 12px;
}

.section-channels .channel-name {
  font-size: 20px;
  margin: 0;
}

.channel-row-body {
  min-width: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.section-channels .channel-desc {
  font-size: 15px;
  color: #3b4a3d;
  line-height: 1.85;
  margin: 0 0 12px;
}

.channel-scene-list {
  margin: 0 0 12px;
}

.channel-scene-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.channel-scene-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--ochre);
  font-weight: 700;
}

.section-map .section-lead {
  margin-bottom: 8px;
}

.section-judge .judge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 20px 0;
}

.judge-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  min-width: 0;
}

.judge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--moss);
  border-radius: 50%;
  color: var(--moss);
  font-size: 12px;
}

/* ---------- 精选推荐 ---------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.page-primary {
  min-width: 0;
}

.page-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.aside-block {
  padding: 20px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.aside-title {
  font-size: 15px;
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 600;
}

.aside-list li {
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--sand);
  padding-bottom: 6px;
}

.aside-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.aside-list a {
  font-size: 13px;
  color: var(--ink);
}

.aside-list a:hover {
  color: var(--ochre);
}

.aside-text {
  font-size: 13px;
  color: var(--moss);
  line-height: 1.8;
  margin: 0;
}

.page-picks .page-hero {
  margin-bottom: 40px;
}

.page-picks .criteria-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
}

.criteria-item {
  padding: 20px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  min-width: 0;
}

.pick-entry {
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  margin-bottom: 16px;
}

.entry-num {
  margin: 0 0 6px;
  color: var(--ochre);
}

.pick-entry h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.entry-reason {
  font-size: 15px;
  color: #3b4a3d;
  line-height: 1.85;
  margin: 0 0 10px;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 0;
}

.mapping-list {
  margin: 16px 0;
}

.mapping-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.mapping-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--moss);
}

/* ---------- 主题片单 ---------- */
.block-rules .rule-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
}

.rule-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px 20px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  min-width: 0;
}

.rule-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ochre);
  border-radius: 50%;
  color: var(--ochre);
  font-size: 12px;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.block-topics .topic-card {
  background: var(--paper-soft);
}

.topic-desc {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.8;
  margin: 0 0 12px;
}

.topic-sub {
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 8px;
  font-weight: 600;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.reason-item {
  padding: 20px;
  border-left: 2px solid var(--ochre);
  background: var(--paper-soft);
  min-width: 0;
}

.reason-title {
  font-size: 16px;
  margin: 0 0 6px;
}

.reason-text {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.8;
  margin: 0;
}

.coop-list {
  margin-top: 16px;
}

.coop-item {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}

.coop-item:last-child {
  border-bottom: none;
}

.coop-item strong {
  font-weight: 600;
  color: var(--ink);
}

.coop-item a {
  color: var(--ochre);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}

.coop-item a:hover {
  border-bottom-color: var(--ochre);
}

.section-extend {
  margin-top: 40px;
}

/* ---------- 观看指南 ---------- */
.toc-strip {
  margin: 0 0 40px;
  padding: 16px 0;
  border-top: var(--line);
  border-bottom: var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.toc-label {
  margin: 0;
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toc-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--sand);
  border-radius: 3px;
  background: var(--paper-soft);
  transition: border-color .18s ease, color .18s ease;
}

.toc-list a:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

.guide-steps,
.guide-pair,
.guide-elements,
.guide-faq {
  margin-bottom: 48px;
}

.step-line {
  margin-top: 20px;
}

.step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 24px;
  position: relative;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  position: relative;
  z-index: 1;
}

.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--sand);
}

.step-body {
  min-width: 0;
  padding-top: 4px;
}

.step-title {
  font-size: 17px;
  margin: 0 0 4px;
}

.step-text {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.8;
  margin: 0;
}

.pair-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.pair-col {
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  min-width: 0;
}

.pair-title {
  font-size: 17px;
  margin: 0 0 8px;
}

.pair-text {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.85;
  margin: 0 0 12px;
}

.pair-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.pair-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--ochre);
  font-weight: 700;
}

.guide-faq .faq-item {
  border-bottom: var(--line);
}

.guide-faq .faq-item:first-of-type {
  border-top: var(--line);
}

/* ---------- 入口核验 ---------- */
.checkpoints .checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.checkpoint-item {
  padding: 22px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  min-width: 0;
}

.checkpoint-no {
  margin: 0 0 6px;
  color: var(--ochre);
}

.checkpoint-name {
  font-size: 17px;
  margin: 0 0 8px;
}

.checkpoint-desc {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.8;
  margin: 0 0 8px;
}

.checkpoint-judge {
  font-size: 13px;
  color: var(--moss);
  line-height: 1.75;
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--sand);
}

.anomaly-table {
  min-width: 640px;
}

.report-list {
  margin-top: 20px;
}

.report-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: var(--line);
}

.report-item:last-child {
  border-bottom: none;
}

.report-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border: 1px solid var(--ochre);
  border-radius: 3px;
  color: var(--ochre);
  font-size: 12px;
}

.report-body {
  min-width: 0;
}

.report-name {
  font-size: 16px;
  margin: 0 0 4px;
}

.report-body p {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.8;
  margin: 0;
}

.boundary-box {
  margin-top: 20px;
  padding: 24px;
  border: var(--line);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.boundary-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.boundary-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ochre);
}

.boundary-note {
  font-size: 14px;
  color: var(--moss);
  line-height: 1.85;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--sand);
}

.boundary-note a {
  color: var(--ochre);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}

.boundary-note a:hover {
  border-bottom-color: var(--ochre);
}

/* ---------- 整理范围 ---------- */
.page-body {
  max-width: var(--text-col);
}

.scope-principles,
.scope-maintain,
.scope-exclude,
.scope-correct {
  margin-bottom: 48px;
}

.principle-list {
  margin-top: 20px;
  counter-reset: principle;
}

.principle-item {
  padding: 18px 0;
  border-bottom: var(--line);
  counter-increment: principle;
}

.principle-item:first-child {
  border-top: var(--line);
}

.principle-name {
  font-size: 17px;
  margin: 0 0 4px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.principle-name::before {
  content: counter(principle, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
}

.principle-desc {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.85;
  margin: 0 0 0 26px;
}

.maintain-list {
  margin-top: 20px;
}

.maintain-item {
  padding: 16px 0;
  border-bottom: var(--line);
}

.maintain-item:first-child {
  border-top: var(--line);
}

.maintain-name {
  font-size: 16px;
  margin: 0 0 4px;
}

.maintain-desc {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.85;
  margin: 0;
}

.exclude-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.exclude-col {
  padding: 22px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  min-width: 0;
}

.exclude-heading {
  font-size: 16px;
  margin: 0 0 10px;
}

.exclude-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.exclude-list li::before {
  content: "×";
  position: absolute;
  left: 2px;
  color: var(--ochre);
  font-weight: 700;
}

.correct-list {
  margin-top: 20px;
}

.correct-item {
  padding: 16px 0;
  border-bottom: var(--line);
}

.correct-item:first-child {
  border-top: var(--line);
}

.correct-name {
  font-size: 16px;
  margin: 0 0 4px;
}

.correct-desc {
  font-size: 14px;
  color: #3b4a3d;
  line-height: 1.85;
  margin: 0;
}

.correct-desc a {
  color: var(--ochre);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}

.correct-desc a:hover {
  border-bottom-color: var(--ochre);
}

/* ---------- 404 ---------- */
.error-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px var(--gutter) 96px;
}

.error-inner {
  text-align: left;
}

.error-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ochre);
  margin: 0 0 12px;
}

.error-title {
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.25;
  margin: 0 0 16px;
}

.error-text {
  font-size: 16px;
  color: #3b4a3d;
  line-height: 1.85;
  margin: 0 0 20px;
}

.error-list {
  margin: 0 0 28px;
  padding: 20px 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.error-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.error-list li:last-child {
  margin-bottom: 0;
}

.error-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--ochre);
  font-weight: 700;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 960px) {
  .header-inner {
    min-height: 64px;
    gap: 16px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-command {
    margin-left: auto;
  }

  .home-main .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 0 48px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-cell {
    border-right: none;
    border-bottom: var(--line);
  }

  .entry-cell:last-child {
    border-bottom: none;
  }

  .channel-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px 16px;
  }

  .channel-row .channel-desc {
    grid-column: 1 / -1;
  }

  .channel-row .channel-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pick-featured {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pick-archive,
  .topic-grid,
  .basis-list,
  .page-picks .criteria-list,
  .block-rules .rule-list,
  .topic-list,
  .reason-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-columns,
  .pair-columns,
  .checkpoint-grid,
  .exclude-columns,
  .section-judge .judge-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-aside {
    position: static;
  }

  .page-hero,
  .page-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .page-hero-figure,
  .page-hero-media,
  .page-head-figure,
  .page-head-media {
    max-width: 520px;
  }

  .feedback-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px 24px;
  }

  .section-channels .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .channel-row-head {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    row-gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .btn-command {
    order: 2;
    margin-left: 0;
    min-height: 40px;
    padding: 6px 14px;
    font-size: 13px;
  }

  .menu-toggle {
    order: 3;
  }

  .home-main .hero {
    padding: 28px 0 36px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    min-height: 48px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .entry-strip,
  .channel-matrix,
  .flow-section,
  .picks-section,
  .topics-section,
  .scope-section,
  .faq-section {
    padding: 32px 0;
  }

  .section {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 20px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .badge {
    justify-self: start;
  }

  .flow-step,
  .step-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .flow-dot,
  .step-dot {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .flow-step:not(:last-child)::before,
  .step-item:not(:last-child)::before {
    left: 17px;
    top: 36px;
  }

  .pick-featured {
    padding: 18px;
  }

  .pick-item,
  .topic-card,
  .scope-col,
  .page-picks .pick-entry,
  .checkpoint-item,
  .pair-col,
  .exclude-col,
  .reason-item,
  .basis-item,
  .criteria-item {
    padding: 18px;
  }

  .feedback-bar {
    padding: 22px 18px;
  }

  .feedback-actions {
    align-items: stretch;
  }

  .feedback-link {
    justify-content: center;
  }

  .page-hero-summary,
  .page-summary,
  .page-lead {
    font-size: 15px;
  }

  .toc-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .toc-list {
    width: 100%;
  }

  .toc-list a {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

  .anchor-list {
    gap: 6px;
  }

  .anchor-link {
    font-size: 12px;
    padding: 4px 10px;
  }

  .principle-desc {
    margin-left: 0;
  }

  .report-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .judge-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .error-main {
    padding: 48px var(--gutter) 64px;
  }

  .extend-bar,
  .next-strip,
  .section-more,
  .more-links,
  .related-bar {
    padding: 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
