/* ============================================================
   base — 基础变量、重置、全局排版
   ============================================================ */
:root {
  --color-primary: #2F3E46;
  --color-bg: #F4F1EA;
  --color-accent: #3A5A40;
  --color-warm: #D4A373;
  --color-white: #FFFFFF;
  --color-text: #2F3E46;
  --color-text-light: #5A6B76;
  --color-border: #D8D2C4;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --header-h: 72px;
  --content-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   layout — 全站统一布局骨架
   ============================================================ */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.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-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0;
}

.brand-slogan {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background-color: var(--color-bg);
  color: var(--color-accent);
}

.nav-list a.is-current {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-warm);
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-description {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 720px;
}

/* 页脚 */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 48px;
}

.footer-layout {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links-group h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links-group ul li {
  margin-bottom: 8px;
}

.footer-links-group a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.footer-links-group a:hover {
  color: var(--color-warm);
}

.footer-note p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ============================================================
   components — 通用组件
   ============================================================ */
/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background-color: #2e4a33;
  border-color: #2e4a33;
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 区块标题 */
.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 1.625rem;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.section-title {
  font-size: 1.375rem;
  margin-bottom: 24px;
}

/* 图文容器 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  text-align: center;
  padding: 8px 0;
}

/* 侧栏卡片 */
.sidebar-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h2,
.sidebar-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-links li {
  margin-bottom: 10px;
}

.sidebar-links a {
  font-size: 0.875rem;
  display: inline-block;
  padding: 4px 0;
}

.sidebar-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

/* ============================================================
   components — 首页专属组件
   ============================================================ */
.home-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* hero */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-copy h1 {
  font-size: 2.375rem;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* 频道导航带 */
.channel-nav-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.channel-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tag {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.channel-tag:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* 专题推荐（首页） */
.topics-preview-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.topic-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.topic-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.topic-card-link {
  display: block;
}

.topic-card-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-card-body {
  padding: 20px 24px 24px;
}

.topic-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.topic-card-body p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.more-link {
  text-align: center;
  margin-top: 16px;
}

.more-link a {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* 观看指南入口 */
.guide-entry-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-step {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 16px;
}

.guide-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.guide-step p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.guide-step a {
  font-size: 0.875rem;
  font-weight: 500;
}

/* 内容参考 */
.content-note-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.note-inner {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-warm);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.note-inner h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.note-inner p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================================
   components — 内页通用布局
   ============================================================ */
.layout-shell {
  display: grid;
  gap: 40px;
}

.layout-shell.sidebar-left {
  grid-template-columns: 280px 1fr;
}

.layout-shell.sidebar-right {
  grid-template-columns: 1fr 280px;
}

/* ============================================================
   pages — 频道分类页
   ============================================================ */
.channel-list {
  min-width: 0;
}

.channel-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.channel-media {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.channel-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.channel-content h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.channel-content p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.channel-detail {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  align-self: start;
}

.channel-detail h2 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.channel-detail p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.channel-note-figure {
  margin-top: 16px;
}

.channel-note-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ============================================================
   pages — 专题推荐页
   ============================================================ */
.topic-grid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.topic-card-media {
  overflow: hidden;
}

.topic-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-card-content {
  padding: 20px 24px 24px;
}

.topic-card-content h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.topic-card-content p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.topic-card-content a {
  font-size: 0.875rem;
  font-weight: 500;
}

.topic-detail-entry {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.detail-entry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.detail-entry-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.detail-entry-item p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.topic-tips {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.topic-tips p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

/* ============================================================
   pages — 观看指南页
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  min-width: 0;
}

.main-content {
  min-width: 0;
}

.guide-section {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.guide-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.guide-section p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.guide-figure {
  margin: 20px 0;
}

.guide-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.sidebar-content {
  min-width: 0;
}

/* ============================================================
   pages — 常见问题页
   ============================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.faq-content {
  min-width: 0;
}

.faq-section-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-top: 24px;
}

.faq-content .faq-section-title:first-child {
  padding-top: 0;
}

.faq-list {
  margin-bottom: 32px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  background-color: var(--color-bg);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.faq-sidebar {
  min-width: 0;
}

.sidebar-figure {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sidebar-figure figcaption {
  padding: 12px;
}

/* ============================================================
   pages — 黑色电影推荐页
   ============================================================ */
.content-main {
  min-width: 0;
}

.intro-section {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.intro-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.intro-section p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.media-figure {
  margin-top: 20px;
}

.media-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.film-list-section {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.film-list-section h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.section-note {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.film-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.film-item:last-child {
  border-bottom: none;
}

.film-info h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.film-meta {
  font-size: 0.8125rem;
  color: var(--color-warm);
  font-weight: 600;
  margin-bottom: 8px;
}

.film-info p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.viewing-tips-section {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.viewing-tips-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.viewing-tips-section p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.tips-list {
  margin: 16px 0 20px;
  padding-left: 20px;
}

.tips-list li {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  position: relative;
}

.tips-list li::before {
  content: "·";
  position: absolute;
  left: -16px;
  color: var(--color-warm);
  font-weight: 700;
}

.tips-list strong {
  color: var(--color-text);
}

.content-side {
  min-width: 0;
}

.side-module {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.side-module h2 {
  font-size: 1.0625rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.side-links li {
  margin-bottom: 10px;
}

.side-links a {
  font-size: 0.875rem;
  display: inline-block;
  padding: 4px 0;
}

.side-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

/* ============================================================
   pages — 404 页面
   ============================================================ */
.error-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-content {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-warm);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 1.625rem;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-back-home,
.btn-browse-channels {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-back-home {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn-back-home:hover {
  background-color: #2e4a33;
  border-color: #2e4a33;
  color: var(--color-white);
}

.btn-browse-channels {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-browse-channels:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ============================================================
   responsive — 响应式断点
   ============================================================ */
@media (max-width: 1024px) {
  .hero-section {
    gap: 32px;
    padding: 40px 0 48px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-media img {
    height: 280px;
  }

  .layout-shell.sidebar-left,
  .layout-shell.sidebar-right {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .channel-detail,
  .sidebar-content,
  .faq-sidebar,
  .content-side {
    order: 2;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    min-height: var(--header-h);
    padding: 8px 16px;
    flex-wrap: wrap;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 40px;
  }

  .hero-copy h1 {
    font-size: 1.75rem;
  }

  .hero-media img {
    height: 220px;
  }

  .topic-cards {
    grid-template-columns: 1fr;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .channel-item {
    grid-template-columns: 1fr;
  }

  .channel-media img {
    height: 180px;
  }

  .topic-grid-list {
    grid-template-columns: 1fr;
  }

  .detail-entry-list {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .inner-main {
    padding: 24px 16px 48px;
  }

  .home-main {
    padding: 0 16px 48px;
  }

  .page-header {
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 1.625rem;
  }

  .guide-section,
  .intro-section,
  .film-list-section,
  .viewing-tips-section,
  .topic-detail-entry,
  .topic-tips {
    padding: 24px 20px;
  }

  .media-figure img {
    height: 220px;
  }

  .guide-figure img {
    height: 180px;
  }

  .error-main {
    padding: 48px 16px 64px;
  }

  .error-code {
    font-size: 3.5rem;
  }
}

@media (max-width: 390px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .channel-tag-list {
    gap: 8px;
  }

  .channel-tag {
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .topic-card-body,
  .topic-card-content {
    padding: 16px;
  }

  .footer-layout {
    padding: 0 16px 32px;
  }

  .footer-bottom {
    padding: 16px;
  }

  .error-actions {
    flex-direction: column;
  }

  .btn-back-home,
  .btn-browse-channels {
    width: 100%;
  }

  .faq-item summary {
    padding: 14px 40px 14px 16px;
    font-size: 0.875rem;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }
}

/* ============================================================
   打印样式（可选增强）
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .breadcrumb,
  .sidebar-content,
  .faq-sidebar,
  .content-side {
    display: none;
  }

  body {
    background-color: var(--color-white);
  }

  .inner-main {
    max-width: 100%;
    padding: 0;
  }

  .layout-shell,
  .faq-layout {
    display: block;
  }
}
