/* ==========================================================================
   时刻美 382230.com — 站点样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版基准
   -------------------------------------------------------------------------- */
:root {
  --paper: #F4F1E8;
  --panel: #ECE7DA;
  --ink: #17202A;
  --ink-soft: #5B6470;
  --night: #111827;
  --accent: #C45A2C;
  --teal: #2F6F6A;
  --amber: #E8B44A;
  --line: #D8D2C3;
  --paper-light: #F7F4EA;
  --radius: 6px;
  --shell: 1180px;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Consolas", "Menlo", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--teal);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
}

button {
  font-family: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--night);
  color: var(--paper-light);
  font-size: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--paper-light);
}

/* --------------------------------------------------------------------------
   2. layout — 外壳、页头、页脚、主内容骨架
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 页头 --- */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--night);
  color: var(--paper-light);
  border-bottom: 1px solid #1f2937;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-light);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--paper-light);
}

.brand-mark {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow: 16px 0 0 var(--amber);
  transform: translateX(-8px);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #cfd6df;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  color: var(--paper-light);
}

.nav-link.is-current {
  color: var(--paper-light);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid #34404f;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--paper-light);
}

.mobile-tabs {
  display: none;
  background: #0c1320;
  border-top: 1px solid #1f2937;
}

.mobile-tabs-list {
  display: flex;
  gap: 2px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-tabs-list::-webkit-scrollbar {
  display: none;
}

.mobile-tab {
  display: inline-block;
  flex: 0 0 auto;
  padding: 12px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #aab4c0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.mobile-tab.is-current {
  color: var(--paper-light);
  border-bottom-color: var(--accent);
}

/* --- 主内容骨架 --- */
.site-main {
  display: block;
}

.inner-main {
  padding: 0 0 8px;
}

.home-main {
  padding: 0;
}

/* --- 页脚 --- */
.site-footer {
  margin-top: 56px;
  background: var(--night);
  color: #c3cbd6;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-col {
  min-width: 0;
}

.footer-brand .brand-footer {
  margin-bottom: 12px;
}

.brand-footer .brand-name {
  font-size: 18px;
}

.footer-slogan {
  margin: 0 0 8px;
  color: var(--paper-light);
  font-size: 14px;
}

.footer-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #8b95a3;
}

.footer-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0;
}

.footer-list {
  display: grid;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  padding: 2px 0;
  color: #c3cbd6;
  font-size: 14px;
}

.footer-list a:hover {
  color: var(--paper-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid #1f2937;
  font-size: 13px;
  color: #8b95a3;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-note {
  color: #6f7a88;
}

/* --------------------------------------------------------------------------
   3. components — 通用组件（面包屑、标题区、按钮、链接、像素分隔线等）
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--accent);
}

.page-header {
  padding: 4px 0 14px;
}

.page-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.page-code,
.terminal-code,
.console-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
}

.console-block {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.page-lead {
  max-width: 62ch;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.pixel-divider {
  height: 4px;
  margin: 20px 0 4px;
  border: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0,
    var(--line) 4px,
    transparent 4px,
    transparent 10px
  );
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--paper-light);
}

.btn-primary:hover {
  background: #a94a20;
  color: var(--paper-light);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-height: 32px;
}

.text-link::after {
  content: "→";
  font-size: 13px;
}

.text-link:hover {
  color: var(--teal);
}

.section-more {
  margin: 18px 0 0;
}

.section-intro {
  max-width: 68ch;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.section-tail {
  margin: 20px 0 0;
}

/* --- 内页两栏骨架：主内容在前、aside 在后 --- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 320px);
  gap: 40px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 24px;
}

.page-primary,
.page-main,
.page-content {
  min-width: 0;
}

.page-aside {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.aside-card {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0;
}

.aside-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-list li {
  position: relative;
  padding-left: 14px;
}

.aside-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.aside-list a {
  color: var(--ink);
}

.aside-list a:hover {
  color: var(--accent);
}

.aside-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-card-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.aside-links,
.aside-link-list {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.aside-links a,
.aside-link-list a {
  display: inline-block;
  padding: 3px 0;
  color: var(--ink);
}

.aside-links a:hover,
.aside-link-list a:hover {
  color: var(--accent);
}

.aside-checklist {
  display: grid;
  gap: 8px;
  counter-reset: aside-check;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.aside-checklist li {
  position: relative;
  padding-left: 26px;
  counter-increment: aside-check;
}

.aside-checklist li::before {
  content: counter(aside-check, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

/* --- 内容区块通用 --- */
.section,
.content-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.section:first-child,
.content-section:first-child {
  border-top: 0;
}

.section-title,
.content-section > h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.content-section > h2 {
  margin-bottom: 10px;
}

/* --- 步骤列表通用（作用域限定） --- */
.step-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step-item {
  min-width: 0;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.step-item p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.step-item p:last-child {
  margin-bottom: 0;
}

/* 编号胶囊：不同模块作用域分别定义 */
.step-item .step-no,
.step-item .step-num,
.step-item .step-index {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--paper-light);
  background: var(--teal);
  border-radius: 3px;
}

/* --- 相关链接列表 --- */
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.related-links li {
  min-width: 0;
}

.related-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- 图片容器通用约束 --- */
.page-figure,
.page-media,
.page-hero-media,
.hero-figure,
.feature-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-figure img,
.page-media img,
.page-hero-media img,
.hero-figure img,
.feature-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-figure figcaption,
.page-media figcaption,
.media-caption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   4. pages — 各页面业务模块（仅限页内，不覆盖全局骨架）
   -------------------------------------------------------------------------- */

/* --- 首页 hero 时刻调度台 --- */
.hero-console {
  padding: 40px 0 44px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.hero-intro {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.hero-intro h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.3;
  color: var(--ink);
}

.hero-lead {
  margin: 0 auto 22px;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hero-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.hero-clock {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-clock-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
}

.clock-list {
  display: grid;
  gap: 10px;
}

.clock-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 10px 12px;
  background: var(--panel);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
}

.clock-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  grid-row: span 2;
  align-self: start;
  padding-top: 2px;
}

.clock-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.clock-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --- 首页区块标题 --- */
.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --- 首页时段索引行列表 --- */
.slot-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.slot-row {
  display: grid;
  grid-template-columns: 56px minmax(90px, 120px) minmax(0, 1fr) minmax(160px, 220px) 96px;
  gap: 16px;
  align-items: center;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.slot-row:hover {
  background: var(--panel);
  border-left-color: var(--accent);
}

.slot-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
}

.slot-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.slot-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.slot-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slot-channels a {
  display: inline-block;
  padding: 2px 8px;
  font-size: 13px;
  color: var(--teal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.slot-channels a:hover {
  border-color: var(--teal);
  color: var(--accent);
}

.slot-link {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.slot-link::after {
  content: "→";
  margin-left: 4px;
}

/* --- 首页频道总览 --- */
.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.channel-tag:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.channel-rows {
  display: grid;
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 56px minmax(90px, 130px) minmax(0, 1fr) minmax(96px, 130px) 96px;
  gap: 16px;
  align-items: center;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.channel-row:hover {
  background: var(--panel);
  border-left-color: var(--accent);
}

.channel-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
}

.channel-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.channel-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.channel-link {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.channel-link::after {
  content: "→";
  margin-left: 4px;
}

/* --- 首页专题主推 --- */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.feature-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.feature-main {
  min-width: 0;
}

.feature-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
}

.feature-name {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.feature-desc {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.feature-meta {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.feature-sub-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-sub {
  min-width: 0;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-sub-num {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.feature-sub-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.feature-sub-desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 首页观看准备四步 --- */
.prep-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.prep-step {
  min-width: 0;
  padding: 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
}

.prep-num {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-light);
  background: var(--teal);
  padding: 1px 8px;
  border-radius: 3px;
}

.prep-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.prep-desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 首页入口辨识摘要 --- */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.entry-col {
  min-width: 0;
  padding: 18px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
}

.entry-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.entry-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 首页编辑边界摘要 --- */
.boundary-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-main {
  min-width: 0;
}

.boundary-main h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--ink);
}

.boundary-main p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.boundary-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.boundary-list li {
  position: relative;
  padding-left: 16px;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.boundary-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.boundary-link {
  display: block;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-link:hover {
  border-color: var(--accent);
}

.boundary-link-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.boundary-link-desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --- 内页标题区 / 主视觉（moments、playlist、channels、about 等） --- */
.page-hero,
.page-head {
  padding: 6px 0 20px;
}

.page-hero .shell {
  padding-left: 0;
  padding-right: 0;
}

.page-hero-inner {
  margin-bottom: 16px;
}

.page-media,
.page-hero-media,
.page-figure {
  margin-top: 6px;
}

.page-figure figcaption {
  padding: 10px 14px;
}

/* --- moments：时段锚点标签条 --- */
.period-anchor-bar {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.period-anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.period-anchor {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.period-anchor:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.period-catalog {
  margin-bottom: 28px;
}

.period-group {
  margin-top: 24px;
  scroll-margin-top: 90px;
}

.period-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.period-tag {
  display: inline-block;
  padding: 1px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper-light);
  background: var(--teal);
  border-radius: 3px;
}

.period-desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.topic-rows {
  display: grid;
  border-top: 1px solid var(--line);
}

.topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.topic-row:hover {
  background: var(--panel);
  border-left-color: var(--accent);
}

.topic-row .topic-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
}

.topic-row .topic-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.topic-row .topic-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.topic-row .topic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.topic-row .topic-meta a {
  color: var(--accent);
}

.topic-row .topic-body {
  display: grid;
  gap: 4px;
}

.meta-label {
  color: var(--teal);
}

.reading-order .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.reading-order .step-no {
  margin-bottom: 0;
  align-self: start;
}

.reading-order .step-body {
  min-width: 0;
}

.reading-order .step-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.reading-order .step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --- channels：分类筛选与频道字段行 --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper-light);
}

.channel-group {
  margin-top: 22px;
  scroll-margin-top: 90px;
}

.group-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.channel-group .channel-rows {
  border-top: 1px solid var(--line);
}

.channel-group .channel-row {
  grid-template-columns: 52px minmax(90px, 130px) minmax(0, 1fr) minmax(88px, 120px) minmax(0, 150px) 72px;
}

.channel-group .channel-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
}

.channel-group .channel-direction,
.channel-group .channel-topic {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-group .channel-topic a {
  color: var(--accent);
}

.channel-group .channel-enter {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.channel-group .channel-enter::after {
  content: "→";
  margin-left: 4px;
}

/* --- playlist：字段表与示例条目 --- */
.field-table {
  width: 100%;
  margin-bottom: 8px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.field-table th,
.field-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.field-table thead th {
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.field-table tbody tr:hover {
  background: #efeadc;
}

.field-table .col-num {
  width: 56px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.field-table .col-name {
  width: 22%;
  font-weight: 700;
  color: var(--ink);
}

.field-table .col-desc {
  color: var(--ink-soft);
  line-height: 1.7;
}

.sample-item {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
}

.sample-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.sample-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.sample-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.sample-fields {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
  font-size: 15px;
}

.sample-fields dt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
}

.sample-fields dd {
  margin: 0;
  line-height: 1.7;
  color: var(--ink-soft);
}

.sample-fields dd a {
  color: var(--accent);
}

.sample-fields dd a:hover {
  color: var(--teal);
}

/* playlist 阅读顺序四步：编号 + 标题 + 说明，纵向堆叠 */
#reading-order .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
}

#reading-order .step-num {
  margin-bottom: 0;
  grid-row: span 2;
}

#reading-order .step-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

#reading-order .step-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- viewing-prep：检查表、设备卡、侧栏清单 --- */
.check-table {
  width: 100%;
  margin-bottom: 8px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.check-table th,
.check-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.check-table thead th {
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

.check-table tbody tr:last-child td {
  border-bottom: 0;
}

.check-table tbody tr:hover {
  background: #efeadc;
}

.check-table .check-name {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.device-card {
  min-width: 0;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
}

.device-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.device-list {
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.device-list li {
  position: relative;
  padding-left: 14px;
}

.device-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--amber);
}

#privacy-volume .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
}

#privacy-volume .step-index {
  margin-bottom: 0;
  grid-row: span 2;
}

#privacy-volume .step-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

#privacy-volume .step-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- entry-check：三步核对、误认对照、处理路径、相关列表 --- */
.layout-main-aside {
  padding-top: 8px;
}

#three-steps .step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
}

#three-steps .step-num {
  margin-bottom: 0;
  grid-row: span 4;
}

#three-steps .step-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

#three-steps .step-desc,
#three-steps .step-check,
#three-steps .step-pass {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

#three-steps .step-check {
  color: var(--ink);
}

#three-steps .step-pass {
  padding-top: 2px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}

.compare-list {
  display: grid;
  gap: 14px;
}

.compare-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.compare-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.compare-desc {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.compare-fix {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--teal);
}

.path-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.path-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
}

.path-num {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.path-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.path-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-item {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-item a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.related-item a:hover {
  color: var(--accent);
}

.related-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --- boundaries：反馈类型、边界、整理清单、FAQ --- */
.feedback-list,
.prepare-list {
  display: grid;
  gap: 12px;
}

.feedback-item,
.prepare-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
}

.feedback-item .item-index,
.prepare-item .item-index {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 2px;
}

.feedback-item h3,
.prepare-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.feedback-item p,
.prepare-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.scope-list {
  display: grid;
  gap: 10px;
}

.scope-item {
  padding: 12px 16px;
  background: #f0ece0;
  border: 1px solid var(--line);
  border-left: 3px solid #b23a2a;
  border-radius: var(--radius);
}

.scope-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.scope-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --- about：栏目关系表、编辑原则、边界 --- */
#structure .field-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

#structure .field-row {
  display: grid;
  grid-template-columns: 88px minmax(90px, 130px) minmax(0, 1.4fr) minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

#structure .field-row:last-child {
  border-bottom: 0;
}

#structure .field-row:hover {
  background: #efeadc;
}

#structure .field-row-head {
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

#structure .field-cell {
  min-width: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

#structure .field-cell-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

#structure .field-cell-name {
  font-weight: 700;
  color: var(--ink);
}

#structure .field-cell-link a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

#structure .field-cell-link a:hover {
  color: var(--teal);
}

.principle-list {
  display: grid;
  gap: 12px;
}

.principle-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
}

.principle-num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 2px;
}

.principle-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.principle-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

#scope .boundary-list {
  display: grid;
  gap: 10px;
}

#scope .boundary-item {
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

#scope .boundary-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

#scope .boundary-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 404 --- */
.error-main {
  padding: 56px 0 48px;
}

.error-panel {
  max-width: 720px;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
}

.error-panel h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.3;
  color: var(--ink);
}

.error-lead {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-tip {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.error-guide {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.error-guide h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.error-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.error-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   5. responsive — 1024px / 720px 断点
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    gap: 28px;
  }

  .hero-intro h1 {
    font-size: 34px;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 22px;
  }

  .slot-row {
    grid-template-columns: 48px minmax(80px, 110px) minmax(0, 1fr) minmax(140px, 190px) 84px;
    gap: 12px;
  }

  .channel-row {
    grid-template-columns: 48px minmax(80px, 110px) minmax(0, 1fr) minmax(84px, 110px) 84px;
    gap: 12px;
  }

  .channel-group .channel-row {
    grid-template-columns: 44px minmax(80px, 110px) minmax(0, 1fr) minmax(78px, 100px) minmax(0, 130px) 64px;
    gap: 10px;
  }

  .prep-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
  }

  #structure .field-row {
    grid-template-columns: 78px minmax(84px, 110px) minmax(0, 1.3fr) minmax(0, 1fr) 76px;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .shell {
    padding: 0 16px;
  }

  /* --- 页头：汉堡按钮 + 收起列表 --- */
  .header-inner {
    min-height: 56px;
    gap: 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--night);
    border-bottom: 1px solid #1f2937;
    box-shadow: 0 12px 24px rgba(10, 16, 26, 0.35);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 8px 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 12px;
    font-size: 15px;
    border-bottom: 1px solid #1f2937;
    border-left: 2px solid transparent;
  }

  .nav-link.is-current {
    border-bottom-color: #1f2937;
    border-left-color: var(--accent);
  }

  .mobile-tabs {
    display: block;
  }

  /* --- 页面标题与骨架 --- */
  .page-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .page-header {
    padding: 2px 0 10px;
  }

  .page-code,
  .terminal-code,
  .console-code {
    font-size: 12px;
  }

  .page-lead {
    font-size: 15px;
  }

  .breadcrumb {
    min-height: 36px;
    font-size: 12px;
    padding: 10px 0;
  }

  /* --- 两栏转单栏，主内容在前 --- */
  .page-layout {
    display: block;
    padding-top: 4px;
    padding-bottom: 16px;
  }

  .page-primary,
  .page-main,
  .page-content {
    margin-bottom: 24px;
  }

  .page-aside {
    display: grid;
    gap: 16px;
  }

  .section,
  .content-section {
    padding: 22px 0;
  }

  .section-title,
  .content-section > h2 {
    font-size: 22px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  /* --- 首页 hero --- */
  .hero-console {
    padding: 28px 0 32px;
  }

  .hero-intro {
    margin-bottom: 22px;
    text-align: left;
  }

  .hero-intro h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .clock-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  /* --- 首页行列表转纵向 --- */
  .slot-row,
  .channel-row,
  .channel-group .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 10px;
  }

  .slot-num,
  .channel-num,
  .channel-group .channel-no {
    font-size: 12px;
  }

  .slot-link,
  .channel-link,
  .channel-group .channel-enter {
    justify-self: start;
  }

  .channel-time {
    font-size: 12px;
  }

  /* --- 首页专题主推 --- */
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .feature-sub-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* --- 首页步骤与摘要 --- */
  .prep-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .boundary-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px 18px;
  }

  /* --- 内页模块 --- */
  .period-anchor-list {
    gap: 6px;
  }

  .period-anchor,
  .filter-tab,
  .channel-tag {
    min-height: 40px;
  }

  .topic-row {
    padding: 12px 10px;
  }

  .field-table,
  .check-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .field-table thead,
  .field-table tbody,
  .check-table thead,
  .check-table tbody {
    display: table;
    width: 100%;
    min-width: 460px;
  }

  .field-table .col-name {
    width: 30%;
  }

  .sample-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .sample-fields dt {
    margin-top: 6px;
  }

  .device-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-links {
    grid-template-columns: minmax(0, 1fr);
  }

  #structure .field-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 6px 10px;
    padding: 12px 10px;
  }

  #structure .field-row-head {
    display: none;
  }

  #structure .field-cell-rel,
  #structure .field-cell-task {
    grid-column: 1 / -1;
  }

  #structure .field-cell-link {
    grid-column: 1 / -1;
  }

  #three-steps .step-item,
  #privacy-volume .step-item,
  #reading-order .step-item {
    grid-template-columns: minmax(0, 1fr);
  }

  #three-steps .step-num,
  #privacy-volume .step-index,
  #reading-order .step-num {
    grid-row: auto;
    justify-self: start;
  }

  .reading-order .step-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .reading-order .step-no {
    grid-row: span 2;
  }

  /* --- 404 --- */
  .error-main {
    padding: 32px 0 28px;
  }

  .error-panel {
    padding: 22px 18px;
  }

  .error-panel h1 {
    font-size: 26px;
  }

  .error-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* --- 页脚 --- */
  .site-footer {
    margin-top: 36px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
    padding-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
