/* ==========================================================================
   光棍在线影院 · micuia.cn
   全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base · 基础重置与全局变量
   ========================================================================== */

:root {
  --ink: #1f3a3d;
  --ink-soft: #33565a;
  --accent: #e08a3c;
  --accent-deep: #c9711f;
  --paper: #f7f4ee;
  --card: #ffffff;
  --muted: #4a5a5c;
  --line: #d9d2c6;
  --line-soft: #e8e2d8;
  --footer-bg: #1c3235;
  --footer-ink: #cbd6d4;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-card: 0 1px 2px rgba(31, 58, 61, 0.06);
  --shadow-lift: 0 6px 16px rgba(31, 58, 61, 0.12);
  --wrap: 1120px;
  --gap: 24px;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: #3a4a4c;
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

ul,
ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   layout · 站点骨架：页头 / 导航 / 主容器 / 页脚
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--card);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 24px;
  min-height: 66px;
}

.brand {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--accent-deep);
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 15px;
  min-height: 44px;
  line-height: 28px;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent-deep);
  background: #faf6ef;
}

.nav-list a.is-current {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.site-main {
  display: block;
}

.home-main {
  padding-bottom: 8px;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent-deep);
}

.breadcrumb-sep {
  color: #b3aca0;
}

.breadcrumb-current {
  color: var(--ink-soft);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 700;
}

.page-description {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* 页脚 */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 42px 24px 30px;
}

.footer-brand {
  margin-bottom: 10px;
  color: #f2ece1;
  font-size: 18px;
  font-weight: 700;
}

.footer-desc {
  margin: 0;
  color: #a9b8b6;
  line-height: 1.7;
}

.footer-heading {
  margin-bottom: 12px;
  color: #f2ece1;
  font-size: 15px;
  font-weight: 600;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  display: inline-block;
  padding: 3px 0;
  color: #a9b8b6;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #2d4749;
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px 26px;
}

.footer-boundary {
  margin-bottom: 8px;
  color: #8fa3a1;
  font-size: 13px;
  line-height: 1.7;
}

.footer-copy {
  margin: 0;
  color: #7d918f;
  font-size: 13px;
}

/* ==========================================================================
   components · 通用组件
   ========================================================================== */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-deep);
  color: #ffffff;
}

.btn-ghost {
  border: 1px solid var(--ink-soft);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* 区块标题组 */
.section-head {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-title {
  margin-bottom: 10px;
  font-size: 22px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section-foot {
  margin: 22px 0 0;
  font-size: 15px;
}

.section-foot a {
  font-weight: 600;
}

/* 字段语义表格 */
.field-table {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.field-table caption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  caption-side: top;
}

.field-table th,
.field-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.field-table thead th {
  background: #f2ede4;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: none;
}

.field-table tbody tr:hover {
  background: #fbf8f2;
}

/* 更新记录时间列表 */
.update-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.update-item:last-child {
  border-bottom: none;
}

.update-date {
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.update-text {
  margin: 0;
  color: #3a4a4c;
}

/* 编号步骤（首页查阅路径） */
.path-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: path;
}

.path-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "index title"
    "index text";
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.path-step:last-child {
  border-bottom: none;
}

.path-step .step-index {
  grid-area: index;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2ede4;
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 700;
}

.path-step .step-title {
  grid-area: title;
  margin: 0;
  font-size: 17px;
}

.path-step p {
  grid-area: text;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* 站内反馈说明块 */
.feedback-note {
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.feedback-title {
  margin-bottom: 8px;
  font-size: 17px;
}

/* 图片容器统一约束 */
.hero-media,
.playlist-media,
.channel-media,
.field-figure,
.guide-figure,
.boundary-figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ece6db;
}

.hero-media img,
.playlist-media img,
.channel-media img,
.field-figure img,
.guide-figure img,
.boundary-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

/* 首屏 */
.hero {
  padding: 48px 0 44px;
  background: var(--card);
  border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-text {
  max-width: 560px;
}

.hero-kicker {
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.3;
}

.hero-desc {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero-points {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;
  color: #3a4a4c;
  font-size: 15px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  aspect-ratio: 4 / 3;
}

/* 题材频道方向总览 */
.channels {
  padding: 52px 0;
}

.channels .section-head,
.playlists .section-head,
.fields .section-head,
.path .section-head,
.updates .section-head {
  max-width: var(--wrap);
  padding: 0 24px;
  text-align: left;
}

.channel-rows {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}

.channel-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(0, 0.85fr) 128px;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.channel-row:first-child {
  border-top: 1px solid var(--line-soft);
}

.channel-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.channel-intent {
  margin: 0;
  color: #3a4a4c;
  font-size: 15px;
}

.channel-audience {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.channel-link {
  justify-self: end;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.channels .section-foot,
.playlists .section-foot,
.fields .section-foot,
.path .section-foot,
.updates .section-foot {
  max-width: var(--wrap);
  margin: 22px auto 0;
  padding: 0 24px;
}

/* 本期专题片单速览 */
.playlists {
  padding: 52px 0;
  background: var(--card);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.playlist-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.playlist-card:hover,
.playlist-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.playlist-media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.playlist-media img {
  border-radius: 0;
}

.playlist-title {
  margin: 16px 18px 8px;
  font-size: 18px;
}

.playlist-scope {
  margin: 0 18px 8px;
  color: #3a4a4c;
  font-size: 15px;
}

.playlist-channel {
  margin: 0 18px 8px;
  color: var(--muted);
  font-size: 14px;
}

.playlist-link {
  margin: auto 18px 18px;
  padding-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

/* 条目字段与收录边界摘要 */
.fields {
  padding: 52px 0;
}

.fields .field-table {
  max-width: calc(var(--wrap) - 48px);
  margin: 0 auto;
}

/* 查阅路径三步概览 */
.path {
  padding: 52px 0;
  background: var(--card);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.path .path-steps {
  max-width: calc(var(--wrap) - 48px);
  margin: 0 auto;
}

/* 站内更新记录与反馈入口 */
.updates {
  padding: 52px 0 56px;
}

.updates .update-list,
.updates .feedback-note {
  max-width: calc(var(--wrap) - 48px);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   pages · 题材频道页
   ========================================================================== */

.channel-list {
  margin-bottom: 44px;
}

.channel-list > h2 {
  margin-bottom: 8px;
}

.channel-list > .section-lead {
  margin-bottom: 22px;
}

.channel-list .channel-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding: 24px 0;
}

.channel-list .channel-row:first-of-type {
  border-top: 1px solid var(--line-soft);
}

.channel-list .channel-media {
  aspect-ratio: 16 / 10;
}

.channel-list .channel-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.channel-list .channel-name {
  margin-bottom: 2px;
}

.channel-list .channel-tone {
  margin: 0;
  color: #3a4a4c;
  font-size: 15px;
}

.channel-list .channel-audience {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.channel-list .channel-extra {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.channel-list .channel-link {
  align-self: flex-start;
  justify-self: start;
  margin-top: 6px;
}

/* 频道补充说明卡片 */
.channel-notes {
  margin-bottom: 44px;
}

.channel-notes > h2 {
  margin-bottom: 8px;
}

.channel-notes > .section-lead {
  margin-bottom: 22px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.note-card {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.note-title {
  margin-bottom: 8px;
  font-size: 16px;
}

.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* 频道衔接方式 */
.channel-link > h2 {
  margin-bottom: 8px;
}

.channel-link > .section-lead {
  margin-bottom: 20px;
}

.link-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: linkstep;
}

.link-step {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: linkstep;
}

.link-step h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.link-step h3::before {
  content: counter(linkstep) ".";
  margin-right: 6px;
  color: var(--accent-deep);
  font-weight: 700;
}

.link-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.channel-tail {
  margin: 0;
  font-size: 15px;
}

/* ==========================================================================
   pages · 专题片单页
   ========================================================================== */

.playlist-grid-section {
  margin-bottom: 46px;
}

.playlist-grid-section > .section-title {
  margin-bottom: 8px;
}

.playlist-grid-section > .section-lead {
  margin-bottom: 22px;
}

.playlist-grid-section .playlist-grid {
  max-width: none;
  margin: 0;
  padding: 0;
}

.playlist-grid-section .playlist-card {
  background: var(--card);
}

.playlist-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.playlist-body .playlist-title {
  margin: 16px 18px 8px;
}

.playlist-body .playlist-scope {
  margin: 0 18px 8px;
}

.playlist-body .playlist-channel {
  margin: 0 18px 8px;
}

.playlist-body .playlist-link {
  margin: auto 18px 18px;
}

/* 片单与频道对应表 */
.playlist-map-section {
  margin-bottom: 46px;
}

.playlist-map-section > .section-title {
  margin-bottom: 8px;
}

.playlist-map-section > .section-lead {
  margin-bottom: 22px;
}

.playlist-map {
  display: grid;
  gap: 12px;
}

.map-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.map-cell {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-name {
  margin: 0 0 6px;
  font-size: 16px;
}

.map-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.playlist-map-note {
  margin: 18px 0 0;
  font-size: 15px;
}

/* 片单内条目排列顺序 */
.playlist-order-section > .section-title {
  margin-bottom: 8px;
}

.playlist-order-section > .section-lead {
  margin-bottom: 22px;
}

.order-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: order;
}

.order-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "index name"
    "index text";
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  counter-increment: order;
}

.order-item:first-child {
  border-top: 1px solid var(--line-soft);
}

.order-item .order-index {
  grid-area: index;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2ede4;
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 700;
}

.order-item .order-name {
  grid-area: name;
  margin: 0;
  font-size: 17px;
}

.order-item .order-text {
  grid-area: text;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.order-note {
  margin: 18px 0 0;
  font-size: 15px;
}

/* ==========================================================================
   pages · 条目字段说明页
   ========================================================================== */

.section {
  margin-bottom: 46px;
}

.section > h2 {
  margin-bottom: 8px;
}

.section > .section-lead {
  margin-bottom: 22px;
}

.field-figure {
  margin-bottom: 24px;
  aspect-ratio: 16 / 7;
}

.field-missing-section .rule-item {
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field-missing-section .rule-item:last-child {
  margin-bottom: 0;
}

.rule-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.rule-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.field-usage-section .usage-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.field-usage-section .usage-item:first-of-type {
  border-top: 1px solid var(--line-soft);
}

.usage-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.usage-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   pages · 观看指南页
   ========================================================================== */

.page-layout.layout-shell {
  display: grid;
  gap: 40px;
}

.guide-steps,
.guide-check,
.guide-back,
.guide-faq {
  margin-bottom: 40px;
}

.guide-steps > h2,
.guide-check > h2,
.guide-back > h2,
.guide-faq > h2 {
  margin-bottom: 8px;
}

.guide-steps > .section-lead,
.guide-check > .section-lead,
.guide-back > .section-lead,
.guide-faq > .section-lead {
  margin-bottom: 20px;
}

.guide-figure {
  margin-bottom: 24px;
  aspect-ratio: 16 / 7;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.step-item:first-child {
  border-top: 1px solid var(--line-soft);
}

.step-item .step-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2ede4;
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 700;
}

.step-body h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.check-list,
.back-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-item,
.back-item {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-item h3,
.back-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.check-item p,
.back-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.guide-note {
  margin: 20px 0 0;
  font-size: 15px;
}

/* FAQ 折叠 */
.guide-faq .faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.guide-faq .faq-item:first-of-type {
  border-top: 1px solid var(--line-soft);
}

.faq-item summary {
  position: relative;
  padding: 15px 32px 15px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-deep);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   pages · 收录边界与反馈页
   ========================================================================== */

.boundary-scope,
.boundary-updates,
.boundary-feedback {
  margin-bottom: 40px;
}

.boundary-scope > h2,
.boundary-updates > h2,
.boundary-feedback > h2 {
  margin-bottom: 8px;
}

.boundary-scope > .section-lead,
.boundary-updates > .section-lead,
.boundary-feedback > .section-lead {
  margin-bottom: 20px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.scope-block {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-block h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.scope-block p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.scope-block p:last-child {
  margin-bottom: 0;
}

.boundary-figure {
  aspect-ratio: 16 / 7;
}

.boundary-updates .update-item {
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas:
    "date title"
    "date text";
}

.boundary-updates .update-item time {
  grid-area: date;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.boundary-updates .update-item h3 {
  grid-area: title;
  margin: 0 0 4px;
  font-size: 16px;
}

.boundary-updates .update-item p {
  grid-area: text;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.feedback-step {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback-step h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.feedback-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feedback-note {
  font-size: 15px;
}

/* 侧栏 */
.content-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-block {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  margin-bottom: 10px;
  font-size: 16px;
}

.aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-list li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.aside-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.aside-list a {
  color: var(--ink-soft);
}

.aside-list a:hover,
.aside-list a:focus-visible {
  color: var(--accent-deep);
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 72px;
}

.error-panel {
  max-width: 640px;
  margin-bottom: 44px;
}

.error-code {
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 600;
}

.error-panel h1 {
  margin-bottom: 14px;
  font-size: 30px;
}

.error-text {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
}

.error-action {
  margin: 0;
}

.error-links h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-link-list li {
  margin: 0;
}

.error-link-list a {
  display: block;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 15px;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.error-link-list a:hover,
.error-link-list a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ==========================================================================
   responsive · 断点 960px / 640px
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    justify-content: flex-start;
    min-height: 62px;
  }

  .brand {
    position: static;
    transform: none;
    font-size: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px 16px 14px;
    background: var(--card);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-card);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 10px 12px;
    font-size: 15px;
  }

  .nav-list a.is-current {
    background: #faf6ef;
    box-shadow: none;
  }

  .hero {
    padding: 36px 0 34px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-text {
    max-width: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .channel-row {
    grid-template-columns: 130px minmax(0, 1fr) minmax(0, 0.9fr) 110px;
    gap: 16px;
  }

  .playlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-list .channel-row {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .map-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .page-layout.layout-shell {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15.5px;
  }

  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 17px; }

  .header-inner {
    padding: 12px 16px;
  }

  .brand {
    font-size: 17px;
  }

  .site-nav {
    padding: 6px 12px 12px;
  }

  .inner-main {
    padding: 20px 16px 44px;
  }

  .page-header {
    margin-bottom: 26px;
    padding-bottom: 18px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .hero {
    padding: 28px 0 30px;
  }

  .hero-inner {
    padding: 0 16px;
    gap: 22px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
  }

  .channels,
  .playlists,
  .fields,
  .path,
  .updates {
    padding: 38px 0;
  }

  .channels .section-head,
  .playlists .section-head,
  .fields .section-head,
  .path .section-head,
  .updates .section-head,
  .channel-rows,
  .channels .section-foot,
  .playlists .section-foot,
  .fields .section-foot,
  .path .section-foot,
  .updates .section-foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .playlist-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 16px;
    gap: 18px;
  }

  .fields .field-table,
  .path .path-steps,
  .updates .update-list,
  .updates .feedback-note {
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 0;
  }

  .channel-row .channel-link {
    justify-self: start;
    margin-top: 4px;
  }

  .field-table {
    font-size: 14px;
  }

  .field-table th,
  .field-table td {
    padding: 10px 12px;
  }

  .field-table thead th,
  .field-table tbody th {
    white-space: normal;
  }

  .update-item,
  .boundary-updates .update-item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "date"
      "title"
      "text";
    gap: 4px;
  }

  .boundary-updates .update-item time {
    margin-bottom: 2px;
  }

  .path-step,
  .order-item,
  .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .path-step .step-index,
  .order-item .order-index,
  .step-item .step-index {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .channel-list .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .channel-list .channel-media {
    aspect-ratio: 16 / 9;
  }

  .notes-grid,
  .link-steps,
  .check-list,
  .back-list,
  .scope-grid,
  .feedback-steps,
  .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-figure,
  .guide-figure,
  .boundary-figure {
    aspect-ratio: 16 / 9;
  }

  .error-main {
    padding: 44px 16px 52px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 34px 16px 24px;
  }

  .footer-bottom {
    padding: 16px 16px 22px;
  }
}
