/* ==========================================================================
   17吃瓜 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --bg: #F5F1E8;
  --green: #1E4A41;
  --green-soft: #2F6B5C;
  --terracotta: #C86B45;
  --card: #FFFFFF;
  --line: #DCD4C4;
  --ink: #1B2521;
  --ink-soft: #5A6560;
  --footer-bg: #12201C;
  --shell: 1180px;
  --narrow: 820px;
  --radius: 8px;
  --radius-sm: 6px;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  color: var(--green);
  line-height: 1.3;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--green-soft);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--terracotta);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background-color: var(--green);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   layout
   -------------------------------------------------------------------------- */

.site-header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--green);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--green);
}

.brand-name {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.site-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.site-nav a {
  display: inline-block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--green-soft);
}

.site-nav a.is-current {
  color: var(--green);
  font-weight: 600;
  border-bottom-color: var(--terracotta);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--green);
}

.mobile-nav {
  display: none;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.mobile-nav a.is-current {
  color: var(--green);
  font-weight: 600;
}

.site-main {
  display: block;
}

.home-main {
  padding-bottom: 24px;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--green);
}

.page-head {
  padding: 18px 0 0;
}

.page-lead {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-top: 32px;
}

.layout-main,
.main-column {
  min-width: 0;
}

.layout-aside,
.side-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.narrow-shell {
  max-width: var(--narrow);
  margin: 0 auto;
}

.site-footer {
  background-color: var(--footer-bg);
  color: #C9D3CE;
  font-size: 14px;
  line-height: 1.75;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-name {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #F5F1E8;
}

.footer-slogan {
  margin: 0;
  color: #9DB0A8;
}

.footer-desc {
  margin: 6px 0 0;
  color: #9DB0A8;
}

.footer-nav-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #F5F1E8;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: #C9D3CE;
}

.footer-nav a:hover {
  color: #F5F1E8;
}

.footer-boundary p,
.footer-maintain p {
  margin: 0;
  color: #9DB0A8;
}

.footer-maintain a {
  color: #E0A986;
}

.footer-maintain a:hover {
  color: #F5F1E8;
}

.footer-bottom {
  border-top: 1px solid #253530;
}

.footer-bottom p {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: #7E918A;
}

/* --------------------------------------------------------------------------
   components
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--green-soft);
  color: #fff;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--green);
  color: var(--green);
}

.btn-ghost:hover {
  background-color: var(--green);
  color: #fff;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
  font-size: 26px;
  font-weight: 600;
}

.section-desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 68ch;
}

.section-intro {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-note {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.section-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.section-more:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* 筛选条：频道索引 / 专题片单 */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  padding: 12px 16px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: 76px;
  z-index: 40;
}

.filter-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter-tags a:hover {
  border-color: var(--green);
  color: var(--green);
}

.filter-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--green);
  background-color: var(--bg);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
}

.filter-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px 24px 28px;
  background-color: var(--card);
  border-top: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -8px 24px rgba(18, 32, 28, 0.12);
}

.filter-drawer-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}

.filter-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.filter-drawer a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.filter-drawer-close {
  width: 100%;
  min-height: 44px;
  padding: 10px;
  font-size: 15px;
  color: var(--green);
  background-color: var(--bg);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
}

/* 紧凑条目行：首页专题焦点 */
.topic-focus-main .compact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0 20px;
  border-top: 1px solid var(--line);
}

.topic-focus-main .compact-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.topic-focus-main .compact-item .item-no {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--terracotta);
}

.topic-focus-main .compact-item .item-body {
  min-width: 0;
}

.topic-focus-main .compact-item .item-title {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.topic-focus-main .compact-item .item-desc {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
}

.topic-focus-main .compact-item .item-channel {
  display: inline-block;
  margin-top: 2px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 22px;
  color: var(--green-soft);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* 目录摘要列表：首页侧栏 */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
}

.toc-item {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.toc-item a {
  display: block;
  color: var(--ink);
}

.toc-item a:hover {
  color: var(--green-soft);
}

/* 侧栏通用块 */
.aside-block {
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-block h2 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 600;
}

.aside-intro,
.aside-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.aside-ordered {
  counter-reset: aside-step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-ordered > li {
  counter-increment: aside-step;
  position: relative;
  padding-left: 30px;
}

.aside-ordered > li::before {
  content: counter(aside-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: 50%;
}

.aside-item-title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.aside-item-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.aside-link:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.aside-link-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-links a {
  display: inline-block;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.aside-links a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* 紧凑条目行：频道索引 */
.entry-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.entry-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.entry-index {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--terracotta);
}

.entry-body {
  min-width: 0;
}

.entry-title {
  display: block;
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.entry-desc {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.entry-channel {
  display: inline-block;
  margin-top: 6px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 22px;
  color: var(--green-soft);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* 相关入口带 */
.related-strip {
  margin-top: 48px;
  padding: 24px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-strip h2 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 600;
}

.related-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.related-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--green);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.related-strip a:hover {
  border-color: var(--green);
}

/* 相关链接列表：观看路径 / 入口核验 */
.related-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-links a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.related-links a:hover {
  color: var(--green);
}

/* --------------------------------------------------------------------------
   pages · index
   -------------------------------------------------------------------------- */

/* 首屏 */
.hero-step-banner {
  background-color: #EFEADF;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.hero-copy h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--green);
}

.hero-lead {
  margin: 16px 0 24px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 46ch;
}

.hero-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-bottom: 26px;
}

.hero-step {
  padding: 14px 16px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-step .step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.hero-step .step-name {
  margin: 4px 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
}

.hero-step .step-desc {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-step .step-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.hero-step .step-link:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 频道速览 */
.channel-glance {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 8px;
}

.channel-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.channel-card:hover {
  border-color: var(--green);
}

.channel-card-wide {
  grid-column: span 2;
  background-color: #EFEADF;
}

.channel-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
}

.channel-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  flex-grow: 1;
}

.card-link {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.card-link:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* 专题焦点：主栏 + 侧栏 */
.topic-focus-layout {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.topic-focus-main {
  min-width: 0;
}

.focus-topic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.focus-cover {
  min-width: 0;
}

.focus-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.focus-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.focus-tag {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.focus-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
}

.focus-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.focus-body .btn {
  align-self: flex-start;
  margin-top: 18px;
}

.topic-focus-aside {
  min-width: 0;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.topic-focus-aside h2 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
}

/* 观看路径四步 */
.watch-path-steps {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.path-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.path-no {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.2;
  color: var(--terracotta);
}

.path-body {
  min-width: 0;
}

.path-title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
  color: var(--green);
}

.path-do {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.path-out {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 编目记录摘要 */
.catalog-log-preview {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.log-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.log-block {
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
}

.log-no {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.log-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
}

.log-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 入口核验提示带 */
.verify-strip {
  margin-top: 56px;
  background-color: #EFEADF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.verify-strip-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 28px;
  align-items: center;
}

.verify-strip-text h2 {
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 600;
}

.verify-strip-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.verify-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verify-point {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.verify-no {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

/* 内容边界窄段 */
.boundary-note {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding: 0 24px;
}

.boundary-note p {
  margin: 0;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-note a {
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

/* --------------------------------------------------------------------------
   pages · channels
   -------------------------------------------------------------------------- */

.page-head-inner {
  max-width: 72ch;
}

.focus-channel {
  margin-bottom: 40px;
}

.focus-channel h2 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 600;
}

.focus-media {
  margin: 0 0 20px;
}

.focus-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.focus-body h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.focus-body > p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.channel-groups > h2 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 600;
}

.channel-group {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 140px;
}

.channel-group h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
}

.group-note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · topics
   -------------------------------------------------------------------------- */

.page-head-body {
  max-width: 72ch;
}

.topic-focus {
  margin-bottom: 44px;
  scroll-margin-top: 140px;
}

.topic-focus-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.topic-cover {
  min-width: 0;
}

.topic-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.topic-focus-info {
  min-width: 0;
}

.topic-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
}

.topic-meta dt {
  color: var(--ink-soft);
}

.topic-meta dd {
  margin: 0;
  color: var(--ink);
}

.topic-catalog {
  counter-reset: topic-entry;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.topic-catalog li {
  counter-increment: topic-entry;
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.topic-catalog li::before {
  content: counter(topic-entry, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.topic-focus-link {
  margin: 0;
}

.topic-focus-link a {
  display: inline-block;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background-color: var(--green);
  border-radius: var(--radius-sm);
}

.topic-focus-link a:hover {
  background-color: var(--green-soft);
  color: #fff;
}

.topic-list > .section-head {
  margin-bottom: 16px;
}

.topic-list > .section-head h2 {
  font-size: 26px;
  font-weight: 600;
}

.topic-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  margin-bottom: 16px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 140px;
  transition: border-color 0.2s ease;
}

.topic-card:hover {
  border-color: var(--green);
}

.topic-card-cover {
  min-width: 0;
}

.topic-card-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.topic-card-body {
  min-width: 0;
}

.topic-card-body h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
  color: var(--green);
}

.topic-card-desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.topic-card-catalog {
  margin: 0 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topic-card-catalog li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.topic-card-link {
  margin: 0;
}

.topic-card-link a {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.topic-card-link a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.usage-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.usage-item h3 {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}

.usage-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.usage-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.usage-tips li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.usage-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--terracotta);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   pages · guide
   -------------------------------------------------------------------------- */

.path-steps {
  padding-top: 32px;
}

.path-steps > h2,
.step-notes > h2,
.faq-section > h2,
.related-strip > h2 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 600;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.step-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step-index {
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1.2;
  color: var(--terracotta);
}

.step-body {
  min-width: 0;
}

.step-body h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
  color: var(--green);
}

.step-do {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.step-do a {
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.step-do a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.step-out {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.step-notes {
  padding-top: 48px;
}

.notes-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 20px;
}

.notes-media {
  min-width: 0;
}

.notes-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.notes-body {
  min-width: 0;
}

.notes-body > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notes-list li {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.notes-list strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--green);
}

.faq-section {
  padding-top: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--terracotta);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 18px 16px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.guide-related {
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   pages · archive
   -------------------------------------------------------------------------- */

.layout-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.catalog-rules h2,
.batch-log h2,
.category-map h2,
.related-entry h2 {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 600;
}

.rule-list {
  counter-reset: rule;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  counter-increment: rule;
  position: relative;
  padding: 16px 18px 16px 56px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rule-item::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--terracotta);
}

.rule-name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
}

.rule-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.batch-log {
  margin-top: 44px;
}

.batch-figure {
  margin: 0 0 20px;
}

.batch-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.batch-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 22px;
  border-left: 2px solid var(--line);
}

.batch-item {
  position: relative;
  padding: 0 0 22px 12px;
}

.batch-item:last-child {
  padding-bottom: 0;
}

.batch-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--bg);
  border: 2px solid var(--green);
  border-radius: 50%;
}

.batch-no {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.batch-scope {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
}

.batch-result {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.category-map {
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-map h2 {
  font-size: 19px;
}

.map-list {
  margin: 0;
}

.map-list dt {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.map-list dt:first-child {
  margin-top: 0;
}

.map-list dd {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.related-entry {
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-entry h2 {
  font-size: 19px;
}

.related-entry .entry-list {
  border-top: none;
}

.related-entry .entry-row {
  grid-template-columns: minmax(0, 1fr);
  padding: 10px 0;
}

.related-entry .entry-title {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   pages · verify
   -------------------------------------------------------------------------- */

.check-block h2,
.abnormal-block h2,
.boundary-block h2,
.report-checklist h2,
.aside-related h2 {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 600;
}

.check-list {
  counter-reset: check;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-item {
  counter-increment: check;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-index {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--terracotta);
}

.check-index::before {
  content: "0" counter(check);
}

.check-body {
  min-width: 0;
}

.check-body h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
}

.check-body p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.check-body p:last-child {
  margin-bottom: 0;
}

.abnormal-block {
  margin-top: 44px;
}

.abnormal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.abnormal-item {
  padding: 18px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.abnormal-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
}

.abnormal-symptom,
.abnormal-reason,
.abnormal-action {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.abnormal-symptom {
  color: var(--ink);
}

.abnormal-action {
  margin-bottom: 0;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.boundary-block {
  margin-top: 44px;
  padding: 20px;
  background-color: #EFEADF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-block h2 {
  font-size: 20px;
}

.boundary-block p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.boundary-block p:last-child {
  margin-bottom: 0;
}

.report-checklist {
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.report-checklist h2 {
  font-size: 19px;
}

.checklist-intro {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.checklist-items {
  counter-reset: checklist;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-items li {
  counter-increment: checklist;
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.checklist-items li::before {
  content: counter(checklist) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
}

.checklist-items code {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 1px 5px;
  color: var(--green);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.checklist-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-related {
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-related h2 {
  font-size: 19px;
}

.aside-figure {
  margin: 0;
}

.aside-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   pages · about
   -------------------------------------------------------------------------- */

.about-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
  padding-top: 24px;
}

.page-head-text {
  min-width: 0;
}

.page-head-media {
  min-width: 0;
}

.page-head-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-body {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 8px 0 0;
}

.about-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.about-section h2 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 600;
}

.about-section > p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.scope-list,
.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.scope-list li,
.boundary-list li {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.scope-list strong,
.boundary-list strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--green);
}

.term-list {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
}

.term-list dt {
  padding-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}

.term-list dd {
  margin: 4px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.maintain-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.text-link:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.error-intro {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--terracotta);
}

.error-intro h1 {
  font-size: 40px;
  font-weight: 600;
  color: var(--green);
}

.error-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.error-actions {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.error-actions h2,
.error-note h2 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
}

.error-actions-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.error-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error-link-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 16px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.error-link-list a {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}

.error-link-list a:hover {
  color: var(--terracotta);
}

.error-link-list span {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-note {
  padding: 32px 0 0;
}

.error-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 24px 44px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }

  .channel-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-card-wide {
    grid-column: span 2;
  }

  .topic-focus-layout,
  .page-layout,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .log-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .verify-strip-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .verify-strip-inner > .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .topic-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 12px 18px;
    gap: 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-slogan {
    font-size: 12px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
    background-color: var(--bg);
    border-top: 1px solid var(--line);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .inner-main {
    padding: 0 18px 48px;
  }

  .page-title {
    font-size: 28px;
  }

  .breadcrumb {
    padding-top: 16px;
    font-size: 13px;
  }

  .page-header {
    padding: 12px 0 8px;
  }

  .page-head {
    padding-top: 14px;
  }

  .page-lead {
    font-size: 15px;
  }

  .page-layout,
  .topic-focus-layout,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 24px;
  }

  .layout-shell {
    padding: 24px 18px 48px;
  }

  .layout-aside,
  .side-column {
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
    margin: 12px 0 20px;
  }

  .hero-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .channel-glance,
  .topic-focus-layout,
  .watch-path-steps,
  .catalog-log-preview {
    padding-left: 18px;
    padding-right: 18px;
  }

  .channel-glance,
  .watch-path-steps,
  .catalog-log-preview {
    padding-top: 40px;
  }

  .topic-focus-layout {
    padding-top: 36px;
  }

  .channel-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-card-wide {
    grid-column: span 1;
  }

  .section-head h2,
  .path-steps > h2,
  .step-notes > h2,
  .faq-section > h2,
  .related-strip > h2,
  .catalog-rules h2,
  .batch-log h2,
  .check-block h2,
  .abnormal-block h2,
  .boundary-block h2,
  .about-section h2 {
    font-size: 21px;
  }

  .focus-topic {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .focus-title {
    font-size: 20px;
  }

  .path-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .path-no {
    font-size: 22px;
  }

  .log-blocks {
    grid-template-columns: minmax(0, 1fr);
  }

  .verify-strip {
    margin-top: 40px;
  }

  .verify-strip-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 26px 18px;
  }

  .verify-strip-inner > .btn {
    grid-column: auto;
    justify-self: stretch;
  }

  .boundary-note {
    margin-top: 28px;
    padding: 0 18px;
  }

  .filter-bar {
    position: static;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 12px;
  }

  .filter-tags {
    display: none;
  }

  .filter-label {
    flex: 1 1 auto;
  }

  .filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topic-focus-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .topic-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .topic-card-cover img {
    aspect-ratio: 16 / 9;
  }

  .notes-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .notes-media img {
    aspect-ratio: 16 / 9;
  }

  .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .step-index {
    font-size: 20px;
  }

  .abnormal-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .check-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
  }

  .about-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .about-section {
    padding: 24px 0;
  }

  .error-main {
    padding: 40px 18px 48px;
  }

  .error-intro h1 {
    font-size: 28px;
  }

  .related-strip {
    margin-top: 36px;
    padding: 18px;
  }

  .related-strip ul {
    flex-direction: column;
  }

  .related-strip a {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 36px 18px 24px;
  }

  .footer-bottom p {
    padding: 14px 18px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 32px 16px 36px;
  }

  .hero-copy h1 {
    font-size: 25px;
  }

  .channel-glance,
  .topic-focus-layout,
  .watch-path-steps,
  .catalog-log-preview,
  .boundary-note {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inner-main {
    padding: 0 16px 40px;
  }

  .layout-shell {
    padding: 22px 16px 40px;
  }

  .hero-step {
    padding: 12px 14px;
  }

  .focus-topic,
  .topic-focus-body,
  .topic-card {
    padding: 14px;
  }

  .aside-block,
  .category-map,
  .related-entry,
  .report-checklist,
  .aside-related,
  .topic-focus-aside,
  .boundary-block {
    padding: 16px;
  }

  .error-main {
    padding: 32px 16px 40px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-bottom p {
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
