/* ==========================================================================
   青果短剧 · 全站样式表
   版本：1.0
   说明：本样式表覆盖首页、内页、404 页全部真实 DOM 结构
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base —— 重置、变量、全局基础
   -------------------------------------------------------------------------- */
:root {
  --c-primary: #F4483C;
  --c-accent: #FFB92E;
  --c-ink: #161A2B;
  --c-text: #3A4258;
  --c-soft: #F6F7FB;
  --c-line: #E3E7EF;
  --c-white: #FFFFFF;
  --c-footer-bg: #1B1F2E;

  --font-base: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --container-width: 1160px;
  --text-max-width: 780px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --font-size-h1: 28px;
  --font-size-h2: 22px;
  --font-size-body: 15.5px;
  --line-height-body: 1.85;

  --header-h: 68px;
  --sidebar-w: 240px;
  --content-w: 780px;
  --layout-gap: 40px;

  --shadow-card: 0 1px 3px rgba(22, 26, 43, 0.05), 0 4px 14px rgba(22, 26, 43, 0.04);
  --shadow-hover: 0 2px 6px rgba(22, 26, 43, 0.07), 0 8px 22px rgba(22, 26, 43, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--c-text);
  background: var(--c-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  color: var(--c-ink);
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0;
}

/* 数字使用 tabular 风格 */
.num,
.stat,
.day-name,
.step-number,
.step-num,
.genre-index,
.special-number,
.slot-number,
.theme-index,
.check-num,
.section-index {
  font-variant-numeric: tabular-nums;
}

/* 通用容器 */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--c-soft);
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* --------------------------------------------------------------------------
   2. Layout —— 页头、页脚、整体网格
   -------------------------------------------------------------------------- */

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(22, 26, 43, 0.07);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌标识 */
.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.2;
}

.brand-tag {
  font-size: 12px;
  color: #8A91A5;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  line-height: 1.4;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-list a:hover {
  color: var(--c-primary);
  background: rgba(244, 72, 60, 0.05);
}

.nav-list a.is-current {
  color: var(--c-primary);
  font-weight: 600;
}

.nav-list a.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-primary);
}

/* 导航中今日推荐按钮（nav-cta） */
.nav-list .nav-cta {
  margin-left: 12px;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(244, 72, 60, 0.18);
}

.nav-list .nav-cta:hover {
  background: #d93a2f;
  color: var(--c-white);
}

.nav-list .nav-cta.is-current {
  color: var(--c-white);
}

.nav-list .nav-cta.is-current::after {
  display: none;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--c-footer-bg);
  color: #A6ADBF;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 360px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-nav ul li,
.footer-help ul li {
  margin-bottom: 6px;
}

.footer-nav a,
.footer-help a {
  font-size: 14px;
  color: #A6ADBF;
  display: inline-block;
  padding: 4px 0;
  min-height: 32px;
  line-height: 1.4;
}

.footer-nav a:hover,
.footer-help a:hover {
  color: var(--c-white);
}

.footer-tip {
  font-size: 12.5px;
  color: #6C7387;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
}

.footer-bottom p {
  max-width: var(--container-width);
  margin: 0 auto;
  font-size: 12.5px;
  color: #6C7387;
}

/* ---------- 内页通用布局骨架 ---------- */
.site-main.inner-main {
  width: 100%;
  background: var(--c-white);
  padding-bottom: 60px;
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 13px;
  color: #8A91A5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #8A91A5;
  transition: color 0.2s;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.breadcrumb-sep {
  color: #C0C5D1;
}

.breadcrumb-current {
  color: var(--c-text);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8px 24px 24px;
}

.page-title {
  font-size: var(--font-size-h1);
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: #5A6278;
  line-height: 1.75;
  max-width: var(--text-max-width);
}

/* ---------- 内页两列布局：侧栏 + 主内容 ---------- */
.sidebar-left {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: var(--layout-gap);
  align-items: start;
}

/* 内页通用侧栏 */
.content-index,
.page-aside,
.aside-nav,
.sidebar,
.guide-sidebar,
.help-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.index-card,
.aside-card,
.sidebar-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.index-heading,
.aside-title,
.sidebar-title,
.sidebar-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line);
}

.index-list li,
.aside-links li,
.aside-list li,
.sidebar-anchor-list li,
.sidebar-links li {
  margin-bottom: 2px;
}

.index-list a,
.aside-links a,
.aside-list a,
.sidebar-anchor-list a,
.sidebar-links a {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.index-list a:hover,
.aside-links a:hover,
.aside-list a:hover,
.sidebar-anchor-list a:hover,
.sidebar-links a:hover {
  background: var(--c-soft);
  color: var(--c-primary);
}

.index-list a.is-active,
.aside-links a.is-active,
.aside-list a.is-active,
.sidebar-anchor-list a.is-active,
.sidebar-links a.is-active {
  color: var(--c-primary);
  border-left-color: var(--c-primary);
  background: rgba(244, 72, 60, 0.04);
  font-weight: 500;
}

.aside-note {
  font-size: 12.5px;
  color: #8A91A5;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-line);
  line-height: 1.6;
}

/* 内页主内容区 */
.main-content,
.page-content,
.content-area,
.guide-content,
.help-content {
  min-width: 0;
  min-height: 400px;
}

/* 正文容器宽度约束 */
.main-content > *,
.page-content > *,
.content-area > *,
.guide-content > *,
.help-content > * {
  max-width: var(--text-max-width);
}

/* 各页主内容（genre 页正文直接是 section 序列，用容器统一） */
.genre-guide-block,
.genre-section,
.genre-outro {
  max-width: var(--text-max-width);
}

/* 通用 section 间距 */
.content-section + .content-section,
.guide-section + .guide-section,
.help-section + .help-section {
  margin-top: 48px;
}

/* ---------- 通用 section 标题 ---------- */
.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.section-title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.4;
}

.section-heading p,
.section-desc,
.section-lead {
  font-size: 14.5px;
  color: #5A6278;
  line-height: 1.7;
  margin-top: 6px;
}

/* 带序号的标题行 */
.section-heading-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.section-heading-row h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--c-ink);
}

.section-index,
.genre-index,
.slot-number,
.special-number,
.theme-index,
.step-num,
.check-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-primary);
  background: rgba(244, 72, 60, 0.08);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  line-height: 1.5;
  display: inline-block;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. Components —— 按钮、标签、卡片、步骤、FAQ 等通用组件
   -------------------------------------------------------------------------- */

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  line-height: 1.5;
  min-height: 44px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 2px 8px rgba(244, 72, 60, 0.2);
}

.btn-primary:hover {
  background: #d93a2f;
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(244, 72, 60, 0.28);
}

.btn-secondary {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-line);
}

.btn-secondary:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}

.btn-outline:hover {
  background: rgba(244, 72, 60, 0.06);
  color: var(--c-primary);
}

.btn-light {
  background: var(--c-white);
  color: var(--c-ink);
}

.btn-light:hover {
  background: var(--c-soft);
  color: var(--c-primary);
  transform: translateY(-1px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 600;
  min-height: 36px;
  padding: 4px 0;
}

.btn-text::after {
  content: "→";
  font-size: 15px;
  transition: transform 0.2s;
}

.btn-text:hover::after {
  transform: translateX(3px);
}

/* ---------- 文本链接 ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 500;
  min-height: 36px;
  padding: 2px 0;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.text-link-center {
  display: block;
  text-align: center;
  margin: 20px auto 0;
  width: fit-content;
}

/* ---------- 标签 ---------- */
.meta-tag,
.genre-tag,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  line-height: 1.6;
}

.time-tag {
  background: rgba(255, 185, 46, 0.12);
  color: #b9790a;
}

.genre-tag {
  background: rgba(244, 72, 60, 0.08);
  color: var(--c-primary);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  background: var(--c-soft);
  color: var(--c-text);
  border: 1px solid var(--c-line);
  font-size: 12.5px;
}

/* 题材标签列表（专题页用） */
.genre-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.genre-tag-list li {
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ---------- 图片与图文容器 ---------- */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 12.5px;
  color: #8A91A5;
  line-height: 1.6;
  margin-top: 6px;
}

/* 通用 intro 图文块 */
.intro-block,
.calendar-intro,
.genre-guide-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.intro-figure,
.guide-figure {
  width: 280px;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-soft);
}

.intro-text h2 {
  font-size: var(--font-size-h2);
  color: var(--c-ink);
  margin-bottom: 12px;
}

.intro-text p {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.85;
  margin-bottom: 10px;
}

/* ---------- 步骤条组件（首页 / 指南页） ---------- */
.guide-step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-step {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  min-height: 140px;
  transition: box-shadow 0.25s, transform 0.2s;
}

.guide-step:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.guide-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.guide-step p {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.7;
}

/* ---------- 边界提醒块 ---------- */
.boundary-note {
  background: #FFF8F0;
  border: 1px solid #F5D9B8;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  color: #8A5A2A;
  line-height: 1.7;
}

/* ---------- FAQ 折叠组件 ---------- */
.faq-list {
  border-top: 1px solid var(--c-line);
}

.faq-item {
  border-bottom: 1px solid var(--c-line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 44px 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  position: relative;
  line-height: 1.6;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--c-primary);
  border-radius: var(--radius-sm);
  background: rgba(244, 72, 60, 0.06);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

.faq-item p {
  padding: 0 0 16px;
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.75;
}

/* ---------- 链接卡片（日历页/去向区） ---------- */
.link-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-white);
  min-height: 90px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.link-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.link-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
}

.link-card-desc {
  font-size: 13px;
  color: #8A91A5;
  line-height: 1.6;
}

/* 相关去向卡片（daily 页） */
.related-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: border-color 0.2s, background 0.2s;
}

.related-card:hover {
  border-color: var(--c-primary);
  background: var(--c-white);
}

.related-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
}

.related-desc {
  font-size: 12.5px;
  color: #8A91A5;
  line-height: 1.5;
}

/* 更多去向区（special 页） */
.more-link-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.more-link-group a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.more-link-group a:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-hover);
}

.more-link-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
}

.more-link-desc {
  font-size: 12.5px;
  color: #8A91A5;
  line-height: 1.5;
}

/* 底部相关链接条（special 页） */
.related-links {
  max-width: var(--container-width);
  margin: 32px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.related-links-item {
  font-size: 14px;
  color: var(--c-primary);
  padding: 6px 4px;
  min-height: 32px;
}

.related-links-item:hover {
  text-decoration: underline;
}

/* 指南页相关链接行 */
.related-links-row {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--c-soft);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--c-accent);
}

.related-links-row p {
  font-size: 13.5px;
  color: var(--c-text);
  line-height: 1.7;
}

.related-links-row a {
  color: var(--c-primary);
  font-weight: 500;
}

.related-links-row a:hover {
  text-decoration: underline;
}

/* 指南页继续浏览列表 */
.more-links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.more-links-list a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-ink);
  background: var(--c-white);
  transition: border-color 0.2s, color 0.2s;
}

.more-links-list a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* --------------------------------------------------------------------------
   4. Pages —— 首页各模块
   -------------------------------------------------------------------------- */

/* ---------- 首页主体 ---------- */
.home-main {
  background: var(--c-white);
}

/* ---------- 首屏焦点区 ---------- */
.hero-focus {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: 10px;
}

.hero-note {
  font-size: 13.5px;
  color: #8A91A5;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--c-soft);
  height: 320px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 频道标签入口带 ---------- */
.genre-strip {
  background: var(--c-soft);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 40px 0;
}

.genre-strip .section-heading,
.latest-picks .section-heading,
.calendar-preview .section-heading,
.special-preview .section-heading,
.guide-preview .section-heading {
  max-width: var(--container-width);
  margin: 0 auto 24px;
  padding: 0 24px;
}

.section-heading h2 {
  font-size: var(--font-size-h2);
  color: var(--c-ink);
  margin-bottom: 4px;
}

.section-heading p {
  font-size: 14px;
  color: #5A6278;
}

.genre-tag-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.genre-tag-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.genre-tag-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.genre-tag-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
}

.genre-tag-desc {
  font-size: 12px;
  color: #8A91A5;
  line-height: 1.5;
}

/* ---------- 编辑最新区 ---------- */
.latest-picks {
  padding: 48px 0;
}

.pick-card-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pick-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.2s;
}

.pick-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pick-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.pick-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pick-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.pick-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
  margin-bottom: 8px;
}

.pick-card-body > p {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 12px;
  flex: 1;
}

.pick-card .text-link {
  align-self: flex-start;
}

/* ---------- 观剧日历速览 ---------- */
.calendar-preview {
  background: var(--c-soft);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 40px 0;
}

.calendar-preview-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calendar-preview-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color 0.2s;
}

.calendar-preview-item:hover {
  border-color: var(--c-primary);
}

.preview-day {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  background: rgba(244, 72, 60, 0.08);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.preview-direction {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.calendar-preview-item p {
  font-size: 13.5px;
  color: #5A6278;
  line-height: 1.6;
}

/* ---------- 专题片单预告区 ---------- */
.special-preview {
  padding: 48px 0;
}

.special-preview-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.special-preview-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.2s;
}

.special-preview-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.special-preview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.special-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.special-number {
  align-self: flex-start;
  margin-bottom: 10px;
  font-size: 12px;
}

.special-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.special-card-body p {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.special-card-body .btn-text {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- 观看指南三步条 ---------- */
.guide-preview {
  background: var(--c-soft);
  border-top: 1px solid var(--c-line);
  padding: 48px 0;
}

.guide-preview .guide-step-row {
  max-width: var(--container-width);
  margin: 0 auto 24px;
  padding: 0 24px;
}

.guide-preview > .btn-outline {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* ---------- 帮助入口窄条 ---------- */
.help-entry {
  padding: 0;
}

.help-entry-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.help-entry-text h2 {
  font-size: var(--font-size-h2);
  color: var(--c-ink);
  margin-bottom: 6px;
}

.help-entry-text p {
  font-size: 14.5px;
  color: #5A6278;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Pages —— 内页各模块
   -------------------------------------------------------------------------- */

/* ===== 题材目录页 genre ===== */
.genre-guide-block {
  margin-bottom: 48px;
}

.genre-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
  scroll-margin-top: 90px;
}

.genre-section:last-of-type {
  border-bottom: none;
}

.genre-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.genre-section-head h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
}

.genre-tone {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--c-accent);
}

.genre-fields {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}

.field-row:last-child {
  border-bottom: none;
}

.field-row:nth-child(odd) {
  background: var(--c-soft);
}

.field-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-ink);
}

.field-row p {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.7;
}

.genre-next {
  margin-top: 18px;
  font-size: 14px;
  color: #5A6278;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.genre-next a {
  color: var(--c-primary);
  font-weight: 500;
  display: inline-block;
  padding: 2px 0;
}

.genre-next a:hover {
  text-decoration: underline;
}

.genre-outro {
  margin-top: 48px;
  padding: 24px;
  background: var(--c-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
}

.genre-outro h2 {
  font-size: 18px;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.genre-outro p {
  font-size: 14.5px;
  color: var(--c-text);
  margin-bottom: 8px;
}

.genre-outro a {
  color: var(--c-primary);
  font-weight: 500;
}

/* ===== 今日推荐页 daily ===== */
.intro-block {
  margin-bottom: 44px;
}

.time-slot {
  margin-bottom: 44px;
  scroll-margin-top: 90px;
}

.slot-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.slot-head-text {
  flex: 1;
}

.slot-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.4;
}

.slot-time {
  font-size: 13.5px;
  color: #8A91A5;
  margin-top: 4px;
}

.slot-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.slot-figure {
  width: 240px;
  height: 150px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-soft);
}

.slot-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-desc {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.75;
  margin-bottom: 12px;
}

.slot-info .tag-row {
  margin-bottom: 12px;
}

.slot-tip {
  font-size: 13px;
  color: #8A91A5;
  background: var(--c-soft);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
  margin-bottom: 10px;
}

.slot-info .text-link {
  margin-top: 4px;
}

/* 首集判断清单 */
.checklist-block {
  margin-top: 48px;
  padding: 28px;
  background: var(--c-soft);
  border-radius: var(--radius-md);
}

.checklist-intro {
  font-size: 14px;
  color: #5A6278;
  margin: 8px 0 20px;
}

.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.check-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.check-text {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.7;
}

/* 相关栏目 */
.related-links {
  margin-top: 48px;
}

.related-links h2 {
  font-size: var(--font-size-h2);
  color: var(--c-ink);
  margin-bottom: 16px;
}

/* ===== 观剧日历页 calendar ===== */
.calendar-intro {
  margin-bottom: 36px;
}

.week-schedule {
  margin-bottom: 40px;
}

.day-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 120px;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-line);
  scroll-margin-top: 90px;
  transition: background 0.2s;
}

.day-row:hover {
  background: var(--c-soft);
}

.day-row:first-of-type {
  border-top: 1px solid var(--c-line);
}

.day-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.day-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
}

.day-tag {
  display: inline-block;
  width: fit-content;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 185, 46, 0.15);
  color: #b9790a;
  font-size: 12px;
  font-weight: 500;
}

.day-detail p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 2px;
}

.day-genre {
  font-weight: 600;
  color: var(--c-ink);
}

.day-scene,
.day-length {
  color: var(--c-text);
}

.day-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.day-link a {
  font-size: 13px;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
}

.day-link a:hover {
  text-decoration: underline;
}

/* 边界说明 */
.boundary-note {
  margin-top: 32px;
}

/* ===== 专题片单页 special ===== */
.intro-block {
  margin-bottom: 44px;
}

.theme-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.theme-block {
  scroll-margin-top: 90px;
}

.theme-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.theme-head-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
}

.theme-head-text p {
  font-size: 14px;
  color: #8A91A5;
  margin-top: 2px;
}

.theme-figure {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.theme-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 16px 0 6px;
}

.theme-body p {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.theme-body .genre-tag-list {
  margin: 12px 0 14px;
}

.theme-body .text-link {
  display: inline-block;
  margin-top: 4px;
}

/* 组合过程说明 */
.process-block {
  margin-top: 56px;
  padding: 28px;
  background: var(--c-soft);
  border-radius: var(--radius-md);
}

.process-block h2 {
  font-size: var(--font-size-h2);
  color: var(--c-ink);
  margin-bottom: 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  counter-reset: process;
}

.process-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.step-num {
  flex-shrink: 0;
}

.step-content p {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.7;
}

/* ===== 观看指南页 guide ===== */
.container {
  max-width: 100%;
}

.guide-intro-block {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 44px;
  background: var(--c-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}

.intro-media {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-section {
  margin-bottom: 48px;
  scroll-margin-top: 90px;
}

.guide-section .section-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.step-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 20px;
  min-height: 140px;
}

.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.75;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: border-color 0.2s;
}

.step-item:hover {
  border-color: var(--c-primary);
}

.step-item .step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.step-item p {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.7;
}

/* 警惕提醒 */
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.alert-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FFF8F0;
  border: 1px solid #F5D9B8;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.alert-mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.alert-item p {
  font-size: 14.5px;
  color: #5A4A2A;
  line-height: 1.7;
}

/* ===== 帮助与版权页 help ===== */
.help-section {
  scroll-margin-top: 90px;
}

.boundary-intro p {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.help-figure {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
}

.help-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boundary-note {
  margin-top: 16px;
}

/* 术语表 */
.term-list {
  margin-top: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.term-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}

.term-row:last-child {
  border-bottom: none;
}

.term-row:nth-child(odd) {
  background: var(--c-soft);
}

.term-row dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
}

.term-row dd {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.7;
  margin: 0;
}

/* 反馈说明 */
.feedback-block {
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.feedback-block p {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.feedback-block p:last-child {
  margin-bottom: 0;
}

.feedback-block a {
  color: var(--c-primary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   6. Pages —— 404 页
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: var(--c-white);
  padding: 60px 24px;
}

.error-panel {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.error-help {
  font-size: 13px;
  color: #8A91A5;
  margin-top: 20px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Responsive —— 移动端适配（断点 768px）
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .genre-tag-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-focus {
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .slot-body {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .slot-figure {
    width: 200px;
  }
}

@media (max-width: 768px) {
  /* ---------- 页头移动端 ---------- */
  .header-inner {
    height: auto;
    min-height: var(--header-h);
    flex-wrap: wrap;
    padding: 8px 16px;
    gap: 8px;
  }

  .brand-link {
    margin-right: auto;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid var(--c-line);
    width: 100%;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 14px 12px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .nav-list a.is-current::after {
    left: 12px;
    right: auto;
    width: 24px;
  }

  .nav-list .nav-cta {
    margin: 8px 0 0;
    text-align: center;
    border-radius: var(--radius-pill);
  }

  /* 汉堡按钮动画状态 */
  .nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ---------- 页脚移动端 ---------- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 20px 28px;
  }

  .footer-bottom {
    padding: 14px 20px;
    text-align: center;
  }

  /* ---------- 首页模块移动端 ---------- */
  .hero-focus {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px;
  }

  .hero-media {
    height: 220px;
  }

  .hero-title {
    font-size: 26px;
  }

  .genre-strip,
  .calendar-preview {
    padding: 32px 0;
  }

  .genre-strip .section-heading,
  .latest-picks .section-heading,
  .calendar-preview .section-heading,
  .special-preview .section-heading,
  .guide-preview .section-heading {
    padding: 0 20px;
  }

  .genre-tag-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 20px;
  }

  .genre-tag-card {
    padding: 14px 12px;
  }

  .latest-picks,
  .special-preview,
  .guide-preview {
    padding: 36px 0;
  }

  .pick-card-grid,
  .calendar-preview-grid,
  .special-preview-grid,
  .guide-step-row {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
  }

  .guide-step-row {
    gap: 12px;
  }

  .special-preview-card img {
    height: 180px;
  }

  .help-entry-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 20px;
  }

  .guide-preview > .btn-outline {
    margin-left: 20px;
    margin-right: 20px;
  }

  /* ---------- 内页通用移动端 ---------- */
  .site-main.inner-main {
    padding-bottom: 40px;
  }

  .breadcrumb {
    padding: 16px 20px 0;
  }

  .page-header {
    padding: 4px 20px 20px;
  }

  .page-title {
    font-size: 24px;
  }

  /* 侧栏布局：移动端侧栏置顶为横向滚动目录 */
  .sidebar-left {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .content-index,
  .page-aside,
  .aside-nav,
  .sidebar,
  .guide-sidebar,
  .help-sidebar {
    position: static;
    order: 0;
    width: 100%;
    padding: 16px 20px 0;
  }

  .index-card,
  .aside-card,
  .sidebar-card {
    padding: 0;
    border: none;
    background: transparent;
  }

  .index-heading,
  .aside-title,
  .sidebar-title,
  .sidebar-heading {
    display: none;
  }

  .index-list,
  .aside-links,
  .aside-list,
  .sidebar-anchor-list,
  .sidebar-links {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .index-list li,
  .aside-links li,
  .aside-list li,
  .sidebar-anchor-list li,
  .sidebar-links li {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .index-list a,
  .aside-links a,
  .aside-list a,
  .sidebar-anchor-list a,
  .sidebar-links a {
    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-pill);
    border-left: 1px solid var(--c-line);
    background: var(--c-white);
  }

  .index-list a.is-active,
  .aside-links a.is-active,
  .aside-list a.is-active,
  .sidebar-anchor-list a.is-active,
  .sidebar-links a.is-active {
    background: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
  }

  .aside-note {
    display: none;
  }

  /* 正文区移动端 */
  .main-content,
  .page-content,
  .content-area,
  .guide-content,
  .help-content {
    padding: 24px 20px 0;
  }

  /* 图文 intro 块 */
  .intro-block,
  .calendar-intro,
  .genre-guide-block {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .intro-figure,
  .guide-figure {
    width: 100%;
    height: 180px;
  }

  .intro-text h2 {
    font-size: 20px;
  }

  /* 字段行 */
  .field-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
  }

  .term-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
  }

  /* 时段推荐卡 */
  .slot-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .slot-figure {
    width: 100%;
    height: 160px;
  }

  .slot-head {
    align-items: flex-start;
  }

  /* 星期表 */
  .day-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .day-label {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .day-link {
    flex-direction: row;
    gap: 16px;
  }

  /* 专题块 */
  .theme-figure {
    height: 180px;
  }

  .theme-head {
    align-items: flex-start;
  }

  /* 指南 intro */
  .guide-intro-block {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .intro-media {
    height: 160px;
  }

  /* 步骤网格 */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  /* 链接卡片 */
  .link-group,
  .related-row,
  .more-link-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .more-links-list {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* 超小屏 390px 保护 */
@media (max-width: 400px) {
  .genre-tag-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   8. Accessibility & Motion —— 可访问性与动效
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .guide-step:hover,
  .pick-card:hover,
  .special-preview-card:hover,
  .link-card:hover,
  .related-card:hover {
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

@media (hover: none) {
  .guide-step:hover,
  .pick-card:hover,
  .special-preview-card:hover,
  .link-card:hover,
  .related-card:hover {
    transform: none;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
