/* ==========================================================================
   飘花电影网手机版 · 全站样式表
   结构：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 基础重置与全局排版
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f7f9;
  color: #1f2328;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
figcaption,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2f6f6a;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #235652;
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid #2f6f6a;
  outline-offset: 2px;
}

/* 数字与编号使用等宽字体，保证目录对齐 */
.hero-panel .panel-value,
.step-item .step-index,
.order-item .order-index,
.lookup-path .step-item .step-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架（页头 / 导航 / 主容器 / 页脚）
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部信息条（首页与字段页共用两种 class 名） */
.top-bar,
.topbar {
  background: #eef1f4;
  border-bottom: 1px solid #d8dde3;
}

.top-bar .top-bar-text,
.topbar .topbar-text {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #5b6472;
}

/* 页头：品牌 + 主导航 */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #d8dde3;
}

.site-header .brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #1f2328;
}

.site-header .brand:hover,
.site-header .brand:focus-visible {
  color: #1f2328;
  text-decoration: none;
}

.site-header .brand-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.site-header .brand-slogan {
  font-size: 13px;
  line-height: 1.6;
  color: #5b6472;
}

.site-nav {
  margin-left: auto;
}

.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-link {
  display: inline-block;
  padding: 8px 12px;
  min-height: 44px;
  line-height: 28px;
  font-size: 15px;
  color: #1f2328;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  background: #eef1f4;
  border-bottom-color: #2f6f6a;
  color: #1f2328;
  text-decoration: none;
}

.site-nav .nav-link.is-current {
  color: #2f6f6a;
  font-weight: 600;
  border-bottom-color: #2f6f6a;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 15px;
  color: #1f2328;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

/* 主内容容器 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main,
.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.inner-main {
  padding-top: 20px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #5b6472;
  padding: 4px 0 12px;
}

.breadcrumb .breadcrumb-sep {
  color: #8b939f;
}

.breadcrumb .breadcrumb-current {
  color: #5b6472;
}

/* 内页标题区 */
.page-header {
  padding: 8px 0 24px;
  border-bottom: 1px solid #d8dde3;
  margin-bottom: 28px;
}

.page-header .page-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2328;
}

.page-header .page-description {
  margin-top: 10px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: #5b6472;
}

/* 页脚 */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #d8dde3;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(140px, 1fr));
  gap: 28px 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 24px;
}

.footer-brand .footer-brand-name {
  font-size: 17px;
  font-weight: 600;
  color: #1f2328;
}

.footer-brand .footer-brand-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

.footer-group .footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2328;
  padding-bottom: 8px;
  border-bottom: 1px solid #d8dde3;
  margin-bottom: 10px;
}

.footer-group .footer-list li {
  margin-bottom: 6px;
}

.footer-group .footer-list a {
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

.footer-group .footer-list a:hover,
.footer-group .footer-list a:focus-visible {
  color: #2f6f6a;
}

.footer-bottom {
  border-top: 1px solid #d8dde3;
}

.footer-bottom .footer-note,
.footer-bottom .footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6472;
}

.footer-bottom .footer-copy {
  padding-top: 4px;
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

/* 区块与标题层级 */
.section {
  padding: 32px 0;
  border-top: 1px solid #d8dde3;
}

.section:first-of-type {
  border-top: 0;
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.section-desc,
.section-lead,
.section-text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.75;
  color: #3c434d;
}

.section-desc {
  color: #5b6472;
}

.section-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

.sub-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
  margin-bottom: 10px;
}

.section-foot {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.text-link {
  font-size: 15px;
  color: #2f6f6a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 6px;
  border: 1px solid transparent;
}

.btn-primary {
  background: #2f6f6a;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #235652;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background: #ffffff;
  color: #1f2328;
  border-color: #d8dde3;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #eef1f4;
  color: #1f2328;
  text-decoration: none;
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #ffffff;
}

.data-table {
  min-width: 560px;
  font-size: 14px;
  line-height: 1.6;
}

.data-table .table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: #5b6472;
  border-bottom: 1px solid #d8dde3;
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 10px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d8dde3;
}

.data-table thead th {
  background: #eef1f4;
  font-weight: 600;
  color: #1f2328;
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 600;
  color: #1f2328;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #f6f7f9;
}

/* 侧栏通用块 */
.sidebar,
.layout-aside,
.content-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar .sidebar-block,
.layout-aside .aside-block,
.content-side .side-block,
.content-column .side-block {
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  padding: 16px 18px;
}

.sidebar .sidebar-title,
.layout-aside .aside-title,
.content-side .side-title,
.content-column .side-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
  padding-bottom: 8px;
  border-bottom: 1px solid #d8dde3;
  margin-bottom: 10px;
}

.content-side .side-desc,
.layout-aside .aside-text {
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
  margin-bottom: 10px;
}

.sidebar .sidebar-list li,
.layout-aside .aside-list li,
.content-side .side-list li,
.content-column .side-list li {
  margin-bottom: 6px;
}

.sidebar .sidebar-list a,
.layout-aside .aside-list a,
.content-side .side-list a,
.content-column .side-list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #2f6f6a;
}

.sidebar .sidebar-list a:hover,
.layout-aside .aside-list a:hover,
.content-side .side-list a:hover,
.content-column .side-list a:hover,
.sidebar .sidebar-list a:focus-visible,
.layout-aside .aside-list a:focus-visible,
.content-side .side-list a:focus-visible,
.content-column .side-list a:focus-visible {
  color: #235652;
}

.content-column .side-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6472;
}

/* 图片与图注 */
figure {
  margin: 0;
}

figcaption,
.figure-caption,
.media-caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #5b6472;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

/* 首屏定位区 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px 32px;
  padding: 36px 0 32px;
}

.hero .hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero .hero-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2328;
}

.hero .hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #3c434d;
}

.hero .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero .hero-point {
  padding: 5px 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #235652;
  background: #eef1f4;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero .hero-figure {
  margin: 0;
}

.hero .hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #eef1f4;
}

/* 目录预览面板 */
.hero-panel {
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  padding: 16px 18px;
  align-self: start;
}

.hero-panel .panel-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
  padding-bottom: 8px;
  border-bottom: 1px solid #d8dde3;
  margin-bottom: 10px;
}

.hero-panel .panel-list {
  display: flex;
  flex-direction: column;
}

.hero-panel .panel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #d8dde3;
}

.hero-panel .panel-row:last-child {
  border-bottom: 0;
}

.hero-panel .panel-key {
  font-size: 14px;
  line-height: 1.6;
  color: #5b6472;
}

.hero-panel .panel-value {
  font-size: 14px;
  line-height: 1.6;
  color: #1f2328;
  text-align: right;
}

/* 专题片单速览 */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.playlist-grid .playlist-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  padding: 18px;
}

.playlist-grid .playlist-card:hover {
  background: #fbfcfd;
  border-bottom-color: #2f6f6a;
}

.playlist-grid .playlist-card .card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.playlist-grid .playlist-card .card-scope {
  font-size: 14px;
  line-height: 1.7;
  color: #3c434d;
}

.playlist-grid .playlist-card .card-pick {
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

.playlist-grid .playlist-card .card-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 14px;
  color: #2f6f6a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 条目字段与收录边界摘要 */
.fields-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 28px;
  align-items: start;
}

.fields-layout .fields-col {
  min-width: 0;
}

.fields-layout .fields-col .table-wrap {
  margin-top: 4px;
}

.fields-layout .boundary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.fields-layout .boundary-item {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #3c434d;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-left: 3px solid #2f6f6a;
  border-radius: 6px;
}

/* 查阅路径三步说明（首页） */
.section-path .step-list {
  display: grid;
  gap: 12px;
}

.section-path .step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
}

.section-path .step-item .step-index {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: #235652;
  background: #eef1f4;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.section-path .step-item .step-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.section-path .step-item .step-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #3c434d;
}

/* 站内页面索引 */
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.index-grid .index-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
}

.index-grid .index-col .index-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.index-grid .index-col .index-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

.index-grid .index-col .index-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 14px;
  color: #2f6f6a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 站点视觉说明 */
.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px 28px;
  align-items: start;
}

.visual-grid .visual-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #eef1f4;
}

.visual-grid .visual-text {
  min-width: 0;
}

.visual-grid .visual-text .visual-para {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.75;
  color: #3c434d;
}

/* --------------------------------------------------------------------------
   pages · 内页通用两栏布局
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.page-layout .content-column,
.page-layout .layout-main,
.page-layout .main-content,
.page-layout .content-main {
  min-width: 0;
}

.page-layout .content-column .section,
.page-layout .layout-main .section,
.page-layout .main-content .content-block,
.page-layout .content-main .section {
  padding: 28px 0;
}

.page-layout .content-column .section:first-child,
.page-layout .layout-main .section:first-child,
.page-layout .main-content .content-block:first-child,
.page-layout .content-main .section:first-child {
  padding-top: 0;
}

.page-layout .content-column .section:last-child,
.page-layout .layout-main .section:last-child,
.page-layout .main-content .content-block:last-child,
.page-layout .content-main .section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-layout .content-block {
  padding: 28px 0;
  border-top: 1px solid #d8dde3;
}

.page-layout .content-block:first-child {
  padding-top: 0;
  border-top: 0;
}

/* 频道方向页：划分依据图 */
.section-basis .section-figure {
  margin-top: 16px;
}

.section-basis .section-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #eef1f4;
}

/* 频道方向页：辅助栏小表 */
.content-column .side-block .mini-table {
  min-width: 0;
  font-size: 13px;
}

.content-column .side-block .mini-table th,
.content-column .side-block .mini-table td {
  padding: 6px 10px;
}

/* 专题片单页：主题说明图 */
.section-playlist-intro .media-figure {
  margin-top: 16px;
}

.section-playlist-intro .media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #eef1f4;
}

/* 专题片单页：片单对照卡 */
.section-playlist-compare .playlist-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.section-playlist-compare .playlist-cards .playlist-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  padding: 18px;
}

.section-playlist-compare .playlist-cards .playlist-card .playlist-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.section-playlist-compare .playlist-cards .playlist-card .playlist-card-scope {
  font-size: 14px;
  line-height: 1.7;
  color: #3c434d;
}

.section-playlist-compare .playlist-cards .playlist-card .playlist-card-pick {
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

.section-playlist-compare .playlist-cards .playlist-card .playlist-card-note {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6472;
  padding-top: 8px;
  border-top: 1px dashed #d8dde3;
}

.section-playlist-compare .playlist-cards .playlist-card .playlist-card-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 14px;
  color: #2f6f6a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 专题片单页：查看顺序 */
.section-playlist-order .order-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.section-playlist-order .order-list .order-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
}

.section-playlist-order .order-list .order-item .order-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: #235652;
  background: #eef1f4;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.section-playlist-order .order-list .order-item .order-body {
  min-width: 0;
}

.section-playlist-order .order-list .order-item .order-body .order-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.section-playlist-order .order-list .order-item .order-body .order-text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.75;
  color: #3c434d;
}

/* 条目字段页：字段规范 */
.field-rules-block .rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.field-rules-block .rule-list .rule-item {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
}

.field-rules-block .rule-list .rule-item .rule-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.field-rules-block .rule-list .rule-item .rule-text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.75;
  color: #3c434d;
}

/* 条目字段页：缺失阅读建议 */
.field-missing-block .tips-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.field-missing-block .tips-list .tips-item {
  padding: 10px 14px 10px 34px;
  position: relative;
  font-size: 15px;
  line-height: 1.75;
  color: #3c434d;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.field-missing-block .tips-list .tips-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 20px;
  width: 8px;
  height: 8px;
  background: #2f6f6a;
  border-radius: 2px;
}

.field-missing-block .section-tail {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
}

/* 条目字段页：术语与锚点列表 */
.sidebar .sidebar-block .term-list,
.content-column .side-block .anchor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar .sidebar-block .term-list .term-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2328;
}

.sidebar .sidebar-block .term-list .term-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

/* 查阅路径页：目的与判断点表 */
.section-purpose .purpose-table {
  min-width: 560px;
  margin-top: 16px;
}

/* 查阅路径页：手机端注意事项 */
.section-mobile .note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.section-mobile .note-list .note-item {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.75;
  color: #3c434d;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.section-mobile .note-list .note-item strong {
  color: #1f2328;
}

/* 查阅路径页：辅助栏锚点 */
.content-side .side-block .side-anchor {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: #2f6f6a;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 56px;
}

.error-main .error-box {
  max-width: 720px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
}

.error-main .error-box h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2328;
}

.error-main .error-box .error-text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
  color: #3c434d;
}

.error-main .error-box .error-tip {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #5b6472;
}

.error-main .error-box .error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.error-main .error-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #d8dde3;
}

.error-main .error-links h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2328;
}

.error-main .error-links .error-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.error-main .error-links .error-link-list a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: #2f6f6a;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
}

.error-main .error-links .error-link-list a:hover,
.error-main .error-links .error-link-list a:focus-visible {
  background: #eef1f4;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   responsive · 断点适配（900px / 560px）
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .site-header {
    padding: 14px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    flex-basis: 100%;
    margin-left: 0;
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 6px 0;
    border-top: 1px solid #d8dde3;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-link {
    display: block;
    width: 100%;
    padding: 12px 8px;
    border-bottom: 1px solid #eef1f4;
    border-radius: 0;
  }

  .site-nav .nav-link:hover,
  .site-nav .nav-link:focus-visible,
  .site-nav .nav-link.is-current {
    border-bottom-color: #eef1f4;
  }

  .site-nav .nav-link.is-current {
    border-left: 3px solid #2f6f6a;
    padding-left: 12px;
  }

  .home-main,
  .inner-main {
    padding: 0 16px 44px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0 24px;
  }

  .hero .hero-title {
    font-size: 26px;
  }

  .page-header .page-title {
    font-size: 24px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .fields-layout,
  .visual-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .playlist-grid,
  .section-playlist-compare .playlist-cards,
  .index-grid,
  .field-rules-block .rule-list,
  .error-main .error-links .error-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding: 28px 16px 20px;
  }

  .footer-inner .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom .footer-note,
  .footer-bottom .footer-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .error-main {
    padding: 32px 16px 44px;
  }

  .error-main .error-box {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .top-bar .top-bar-text,
  .topbar .topbar-text {
    padding: 8px 16px;
  }

  .hero .hero-title {
    font-size: 23px;
  }

  .page-header .page-title {
    font-size: 22px;
  }

  .playlist-grid,
  .section-playlist-compare .playlist-cards,
  .index-grid,
  .field-rules-block .rule-list,
  .error-main .error-links .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-path .step-item,
  .section-playlist-order .order-list .order-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 12px 14px;
  }

  .section-path .step-item .step-index,
  .section-playlist-order .order-list .order-item .order-index {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner .footer-brand {
    grid-column: auto;
  }

  .data-table {
    min-width: 480px;
  }

  .section-purpose .purpose-table {
    min-width: 480px;
  }
}
