/* ==========================================================================
   樱花免费播放剧场 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与基础排版
   -------------------------------------------------------------------------- */
:root {
  --c-primary: #2C3E50;
  --c-primary-soft: #3D5468;
  --c-accent: #E8A0BF;
  --c-accent-deep: #C97FA4;
  --c-bg: #F7F8FA;
  --c-surface: #FFFFFF;
  --c-border: #E1E4E8;
  --c-text: #333333;
  --c-muted: #6B7280;
  --c-line: #D8DCE2;
  --wrap: 1100px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-1: 0 1px 2px rgba(44, 62, 80, .06);
  --shadow-2: 0 6px 18px rgba(44, 62, 80, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .6em;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-primary);
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: .35em;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

a:hover,
a:focus-visible {
  color: var(--c-accent-deep);
}

a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: .55em;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}

time {
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 页头 / 导航 / 主容器 / 页脚骨架
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-primary);
  border-bottom: 3px solid var(--c-accent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 66px;
}

.brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 600;
  color: #FFFFFF;
  padding: 8px 0;
}

.brand:hover,
.brand:focus-visible {
  color: var(--c-accent);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  color: #DCE3EA;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #FFFFFF;
  border-bottom-color: var(--c-accent);
}

.nav-link.is-current {
  color: #FFFFFF;
  border-bottom-color: var(--c-accent);
  font-weight: 600;
}

.header-cta {
  flex: 0 0 auto;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--c-primary);
  background: var(--c-accent);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--c-primary);
  background: #F0BBD1;
}

/* 汉堡按钮：桌面隐藏 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #FFFFFF;
}

.site-main {
  display: block;
}

.home-main,
.inner-main,
.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px 20px 56px;
}

/* 内页统一标题区与面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--c-accent-deep);
}

.breadcrumb-sep {
  color: var(--c-line);
}

.breadcrumb-current {
  color: var(--c-primary);
  font-weight: 600;
}

.page-header,
.page-title {
  margin-bottom: 28px;
}

.page-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}

.page-title {
  margin-bottom: .35em;
  font-size: 32px;
  font-weight: 600;
  color: var(--c-primary);
}

.page-description {
  max-width: 780px;
  margin: 0;
  font-size: 16px;
  color: var(--c-muted);
}

/* 内页通用区块间距 */
.inner-main > section {
  margin-bottom: 44px;
}

.inner-main > section:last-child {
  margin-bottom: 0;
}

.inner-main .section-title {
  margin-bottom: .4em;
}

.section-lead,
.section-intro {
  max-width: 800px;
  color: var(--c-muted);
  margin-bottom: 1.4em;
}

.section-lead a,
.section-intro a {
  color: var(--c-accent-deep);
  border-bottom: 1px solid rgba(201, 127, 164, .4);
}

.section-lead a:hover,
.section-intro a:hover {
  border-bottom-color: var(--c-accent-deep);
}

/* 页脚骨架 */
.site-footer {
  background: var(--c-primary);
  color: #C7D0DA;
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr);
  gap: 36px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 20px 32px;
}

.footer-name {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: .5em;
}

.footer-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 20px;
}

.footer-col-title {
  margin: 0 0 .6em;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: .35em;
}

.footer-links a {
  font-size: 14px;
  color: #C7D0DA;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--c-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-copy,
.footer-note {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: #9FACBA;
}

.footer-copy {
  padding-top: 18px;
}

.footer-note {
  padding-bottom: 22px;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */
.section-head {
  margin-bottom: 20px;
}

.section-head .section-title {
  margin-bottom: .3em;
}

.section-note {
  margin: 0;
  font-size: 15px;
  color: var(--c-muted);
}

.section-note a {
  color: var(--c-accent-deep);
  border-bottom: 1px solid rgba(201, 127, 164, .4);
}

.section-note a:hover {
  border-bottom-color: var(--c-accent-deep);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: #FFFFFF;
  background: var(--c-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #FFFFFF;
  background: var(--c-primary-soft);
}

.btn-ghost {
  color: var(--c-primary);
  background: transparent;
  border-color: var(--c-line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--c-accent-deep);
  border-color: var(--c-accent);
}

/* 表格通用（内页 data-table / structure-table） */
.table-scroll,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table,
.structure-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 15px;
}

.data-table caption,
.structure-table caption,
.table-caption {
  caption-side: top;
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-bottom: 0;
}

.data-table th,
.data-table td,
.structure-table th,
.structure-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}

.data-table thead th,
.structure-table thead th {
  background: #EEF1F5;
  color: var(--c-primary);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--c-primary);
  background: #FAFBFC;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.structure-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.structure-table tbody tr:hover {
  background: #FBFCFD;
}

/* 图片容器统一约束 */
.hero-media img,
.channel-media img,
.topic-media img,
.channel-figure img,
.field-figure img,
.section-figure img,
.feedback-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #E7EAEE;
  border-radius: var(--radius-sm);
}

/* 通用列表（scope-list / boundary-list / next-list / related-list） */
.scope-list,
.boundary-list,
.next-list,
.related-list {
  margin: 0;
  padding-left: 1.15em;
}

.scope-list li,
.boundary-list li {
  margin-bottom: .4em;
}

/* 通用“更多”链接行 */
.fields-more,
.path-more,
.advice-next,
.section-more,
.feedback-note {
  margin: 18px 0 0;
  font-size: 15px;
}

.fields-more a,
.path-more a,
.advice-next a,
.section-more a,
.feedback-note a {
  color: var(--c-accent-deep);
  margin-right: 18px;
  border-bottom: 1px solid rgba(201, 127, 164, .4);
}

.fields-more a:last-child,
.path-more a:last-child,
.advice-next a:last-child,
.section-more a:last-child,
.feedback-note a:last-child {
  margin-right: 0;
}

.fields-more a:hover,
.path-more a:hover,
.advice-next a:hover,
.section-more a:hover,
.feedback-note a:hover {
  border-bottom-color: var(--c-accent-deep);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.hero {
  margin-bottom: 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 .8em;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent-deep);
  text-transform: uppercase;
}

.hero-title {
  font-size: 32px;
  margin-bottom: .5em;
}

.hero-lead {
  max-width: 560px;
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 1.6em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  aspect-ratio: 4 / 3;
}

.hero-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.entry-item {
  margin: 0;
}

.entry-link {
  display: block;
  height: 100%;
  padding: 18px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}

.entry-link:hover,
.entry-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.entry-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: .35em;
}

.entry-desc {
  display: block;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.65;
}

/* 题材频道方向总览 */
.channels {
  margin-bottom: 52px;
}

.channel-table {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) minmax(0, 1.6fr) minmax(0, 1.4fr) 96px;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
}

.channel-row:last-child {
  border-bottom: 0;
}

.channel-head {
  background: #EEF1F5;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
}

.channel-cell {
  min-width: 0;
  font-size: 15px;
}

.channel-head .channel-cell {
  font-weight: 600;
}

.channel-row:not(.channel-head):hover {
  background: #FBFCFD;
}

.channel-row .col-name {
  font-weight: 600;
  color: var(--c-primary);
}

.channel-row .col-tone,
.channel-row .col-fit {
  color: var(--c-muted);
  font-size: 14px;
}

.channel-row .col-more a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--c-primary);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}

.channel-row .col-more a:hover,
.channel-row .col-more a:focus-visible {
  color: var(--c-accent-deep);
  border-color: var(--c-accent);
}

.channel-media {
  margin-top: 22px;
}

.channel-media img {
  aspect-ratio: 21 / 9;
}

/* 本期专题片单速览 */
.topics {
  margin-bottom: 52px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}

.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.topic-card .topic-media {
  margin: -20px -20px 16px;
}

.topic-card .topic-media img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius) var(--radius) 0 0;
}

.topic-name {
  font-size: 19px;
  margin-bottom: .4em;
}

.topic-scope,
.topic-range {
  font-size: 15px;
  color: var(--c-text);
  margin-bottom: .6em;
}

.topic-meta,
.topic-count {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 1em;
}

.topic-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-accent-deep);
  border-bottom: 1px solid rgba(201, 127, 164, .45);
}

.topic-link:hover,
.topic-link:focus-visible {
  border-bottom-color: var(--c-accent-deep);
}

.topics .topic-media {
  margin-top: 22px;
}

.topics .topic-media img {
  aspect-ratio: 21 / 9;
}

/* 条目字段与收录边界摘要 */
.fields {
  margin-bottom: 52px;
}

.field-table {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(120px, .9fr) minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: start;
  padding: 13px 20px;
  border-bottom: 1px solid var(--c-border);
}

.field-row:last-child {
  border-bottom: 0;
}

.field-head {
  background: #EEF1F5;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
}

.field-cell {
  min-width: 0;
  font-size: 14px;
  line-height: 1.65;
}

.field-row .col-field {
  font-weight: 600;
  color: var(--c-primary);
}

.field-row .col-mean,
.field-row .col-sample {
  color: var(--c-text);
}

.field-row .col-edge {
  color: var(--c-muted);
}

.field-row:not(.field-head):hover {
  background: #FBFCFD;
}

/* 查阅路径三步概览 */
.path {
  margin-bottom: 52px;
}

.path-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: path-step;
}

.path-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "index name"
    "index desc"
    "index check";
  gap: 4px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}

.path-step:first-child {
  border-top: 1px solid var(--c-border);
}

.path-index {
  grid-area: index;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-primary);
  background: #EEF1F5;
  border-radius: 50%;
}

.path-name {
  grid-area: name;
  font-size: 18px;
  margin: 0;
}

.path-desc {
  grid-area: desc;
  margin: 0;
  color: var(--c-text);
}

.path-check {
  grid-area: check;
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

/* 站内收录范围调整记录 */
.updates {
  margin-bottom: 0;
}

.update-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-item {
  display: grid;
  grid-template-columns: 120px 110px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}

.update-item:first-child {
  border-top: 1px solid var(--c-border);
}

.update-date {
  font-size: 14px;
  color: var(--c-muted);
}

.update-type {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--c-accent-deep);
  background: rgba(232, 160, 191, .16);
  border-radius: 999px;
  justify-self: start;
}

.update-text {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   pages · 题材频道
   -------------------------------------------------------------------------- */
.page-pindao .channel-table {
  margin-bottom: 0;
}

.channel-details .channel-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-border);
}

.channel-details .channel-block:first-of-type {
  border-top: 1px solid var(--c-border);
}

.channel-name {
  font-size: 21px;
  margin-bottom: .5em;
}

.channel-figure {
  margin: 0 0 16px;
  max-width: 560px;
}

.channel-figure img {
  aspect-ratio: 16 / 9;
}

.channel-orientation {
  max-width: 760px;
  margin-bottom: 1em;
}

.channel-scope {
  max-width: 760px;
  margin-bottom: 1em;
}

.scope-label {
  margin: 0 0 .4em;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
}

.channel-scope .scope-list {
  color: var(--c-muted);
  font-size: 15px;
}

.channel-fit {
  max-width: 760px;
  margin: 0;
  font-size: 15px;
  color: var(--c-muted);
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.advice-item {
  padding: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.advice-title {
  font-size: 18px;
  margin-bottom: .5em;
}

.advice-scene,
.advice-channel,
.advice-reason {
  font-size: 15px;
  margin-bottom: .6em;
}

.advice-scene {
  color: var(--c-text);
}

.advice-channel {
  color: var(--c-muted);
}

.advice-channel a {
  color: var(--c-accent-deep);
  border-bottom: 1px solid rgba(201, 127, 164, .45);
}

.advice-reason {
  margin-bottom: 0;
  color: var(--c-muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */
.topic-list .topic-grid {
  margin-bottom: 8px;
}

.scope-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--c-border);
}

.scope-item:first-of-type {
  border-top: 1px solid var(--c-border);
}

.scope-name {
  font-size: 20px;
  margin-bottom: .45em;
}

.scope-desc {
  max-width: 760px;
  margin-bottom: .8em;
}

.topic-scope .scope-list,
.scope-item .scope-list {
  max-width: 760px;
  font-size: 15px;
  color: var(--c-muted);
  margin-bottom: .8em;
}

.scope-count {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

.topic-structure .structure-table {
  margin-bottom: 0;
}

.next-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-item {
  margin: 0;
}

.next-item a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--c-primary);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}

.next-item a:hover,
.next-item a:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

/* --------------------------------------------------------------------------
   pages · 条目字段说明
   -------------------------------------------------------------------------- */
.field-figure {
  margin: 0 0 22px;
  max-width: 720px;
}

.field-figure img {
  aspect-ratio: 16 / 9;
}

.field-figure-caption {
  font-size: 14px;
  color: var(--c-muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-item {
  padding: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.value-name {
  font-size: 18px;
  margin-bottom: .45em;
}

.value-range {
  margin-bottom: .6em;
  font-size: 14px;
  color: var(--c-accent-deep);
  font-weight: 600;
}

.value-desc {
  margin: 0;
  font-size: 15px;
  color: var(--c-muted);
}

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.boundary-col {
  padding: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.boundary-in {
  border-top: 3px solid var(--c-accent);
}

.boundary-out {
  border-top: 3px solid var(--c-primary-soft);
}

.boundary-title {
  font-size: 18px;
  margin-bottom: .7em;
}

.boundary-list {
  margin: 0;
  padding-left: 1.15em;
  font-size: 15px;
  color: var(--c-text);
}

.boundary-list li {
  margin-bottom: .5em;
}

/* --------------------------------------------------------------------------
   pages · 查阅路径指引
   -------------------------------------------------------------------------- */
.section-figure {
  margin: 0 0 22px;
  max-width: 720px;
}

.section-figure img {
  aspect-ratio: 16 / 9;
}

.prep-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prep;
}

.prep-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}

.prep-item:first-child {
  border-top: 1px solid var(--c-border);
}

.prep-name,
.prep-title {
  font-size: 18px;
  margin-bottom: .4em;
}

.prep-desc {
  margin-bottom: .5em;
  font-size: 15px;
}

.prep-check,
.prep-use {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "index name"
    "index desc"
    "index result";
  gap: 4px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}

.step-item:first-child {
  border-top: 1px solid var(--c-border);
}

.step-index {
  grid-area: index;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--c-primary);
  border-radius: 50%;
}

.step-name {
  grid-area: name;
  font-size: 18px;
  margin: 0;
}

.step-desc {
  grid-area: desc;
  margin: 0;
  color: var(--c-text);
}

.step-desc a {
  color: var(--c-accent-deep);
  border-bottom: 1px solid rgba(201, 127, 164, .45);
}

.step-result {
  grid-area: result;
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.checkpoint-col {
  padding: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.checkpoint-name {
  font-size: 18px;
  margin-bottom: .45em;
}

.checkpoint-desc {
  margin-bottom: .6em;
  font-size: 15px;
}

.checkpoint-pass {
  margin-bottom: .6em;
  font-size: 14px;
  color: var(--c-accent-deep);
  font-weight: 600;
}

.checkpoint-next {
  margin: 0;
  font-size: 14px;
}

.checkpoint-next a {
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
}

.checkpoint-next a:hover,
.checkpoint-next a:focus-visible {
  color: var(--c-accent-deep);
  border-bottom-color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   pages · 更正与反馈
   -------------------------------------------------------------------------- */
.update-log .update-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-log .update-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
}

.update-log .update-item:first-child {
  border-top: 1px solid var(--c-border);
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 .5em;
  font-size: 14px;
  color: var(--c-muted);
}

.update-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--c-accent-deep);
  background: rgba(232, 160, 191, .16);
  border-radius: 999px;
}

.update-heading {
  font-size: 18px;
  margin-bottom: .4em;
}

.update-body {
  max-width: 780px;
  margin: 0;
  font-size: 15px;
  color: var(--c-text);
}

.feedback-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feedback-type {
  padding: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.feedback-type-title {
  font-size: 18px;
  margin-bottom: .45em;
}

.feedback-type-scene {
  margin-bottom: .6em;
  font-size: 15px;
}

.feedback-type-prep {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

.feedback-figure {
  margin: 0 0 22px;
  max-width: 720px;
}

.feedback-figure img {
  aspect-ratio: 16 / 9;
}

.feedback-prep .prep-list {
  margin-bottom: 0;
}

.related-links {
  margin-top: 44px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-item {
  margin: 0;
}

.related-item a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--c-primary);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius-sm);
}

.related-item a:hover,
.related-item a:focus-visible {
  color: var(--c-accent-deep);
  border-color: var(--c-accent);
  border-left-color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  padding-top: 48px;
}

.error-hero {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 36px;
}

.error-code {
  margin: 0 0 .3em;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-accent);
}

.error-hero h1 {
  font-size: 30px;
  margin-bottom: .5em;
}

.error-lead {
  max-width: 620px;
  color: var(--c-muted);
  margin-bottom: 1.4em;
}

.error-home-link {
  display: inline-block;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--c-primary);
  border-radius: var(--radius-sm);
}

.error-home-link:hover,
.error-home-link:focus-visible {
  color: #FFFFFF;
  background: var(--c-primary-soft);
}

.error-next {
  margin-bottom: 36px;
}

.error-next-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-next-item {
  margin: 0;
  padding: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.error-next-item h3 {
  font-size: 18px;
  margin-bottom: .4em;
}

.error-next-item p {
  font-size: 15px;
  color: var(--c-muted);
  margin-bottom: .8em;
}

.error-next-item a {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-accent-deep);
  border-bottom: 1px solid rgba(201, 127, 164, .45);
}

.error-help {
  padding: 22px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
}

.error-help h2 {
  font-size: 20px;
  margin-bottom: .5em;
}

.error-help p {
  max-width: 720px;
  color: var(--c-muted);
  margin-bottom: .8em;
}

.error-help a {
  color: var(--c-accent-deep);
  border-bottom: 1px solid rgba(201, 127, 164, .45);
}

/* --------------------------------------------------------------------------
   responsive · 移动端与窄屏适配
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
    min-height: 0;
  }

  .brand {
    flex: 1 1 auto;
    font-size: 17px;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .header-cta {
    order: 3;
    padding: 8px 12px;
    font-size: 13px;
  }

  .site-nav {
    order: 4;
    flex: 1 0 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .nav-link.is-current {
    border-bottom-color: var(--c-accent);
  }

  .home-main,
  .inner-main,
  .error-main {
    padding: 24px 16px 44px;
  }

  .page-title,
  .hero-title {
    font-size: 26px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-media {
    order: -1;
  }

  .hero-entries {
    grid-template-columns: 1fr;
  }

  .channel-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }

  .channel-head {
    display: none;
  }

  .channel-row .col-name {
    font-size: 16px;
  }

  .channel-row .col-more a {
    padding: 8px 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .field-head {
    display: none;
  }

  .field-row .col-field {
    font-size: 15px;
  }

  .topic-grid,
  .advice-list,
  .value-grid,
  .checkpoint-grid,
  .feedback-type-grid,
  .error-next-list {
    grid-template-columns: 1fr;
  }

  .next-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-columns {
    grid-template-columns: 1fr;
  }

  .path-step,
  .step-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 2px 14px;
  }

  .path-index,
  .step-index {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .update-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
}

@media (max-width: 480px) {
  .next-list {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .btn,
  .error-home-link {
    display: block;
    text-align: center;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
/* 桌面端导航按钮不显示 */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
  }
}
