/* ==========================================================================
   电影天堂 rmkiw.com - 整站样式表
   高对比无障碍风 · 内容导航工具台
   ========================================================================== */

/* ==========================================================================
   Base - CSS Reset 与全局基础
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #f5f5f5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #004d99;
}

a:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  color: #1a1a1a;
  font-weight: 700;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout - 全站统一骨架（页头 / 页脚 / 布局容器）
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid #1a1a1a;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #1a1a1a;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: #1a1a1a;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-list li a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav-list li a:hover {
  border-bottom-color: #0066cc;
  color: #0066cc;
}

.nav-list li a.is-current {
  border-bottom-color: #0066cc;
  color: #0066cc;
  font-weight: 700;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
  margin-top: 48px;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-col h2 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}

/* 内页统一布局容器 */

.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

/* 侧栏在右侧的页面（guide） */

.sidebar-right {
  grid-template-columns: minmax(0, 1fr) 280px;
}

/* 侧栏在左侧的页面（若存在） */

.sidebar-left {
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar-left .page-layout,
.sidebar-left .layout-shell {
  grid-template-columns: 280px minmax(0, 1fr);
}

/* feedback 页的 layout-shell 内嵌于 main 中 */

.inner-main .layout-shell {
  grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   Components - 面包屑 / 页面标题 / 侧栏 / 标签 / 卡片
   ========================================================================== */

.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #004d99;
}

.breadcrumb-sep {
  color: #999;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #333;
  font-weight: 600;
}

.page-header {
  background-color: #e8e8e8;
  border-left: 4px solid #0066cc;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  color: #333;
  margin-bottom: 0;
  max-width: 720px;
}

/* 侧栏通用 */

.sidebar {
  min-width: 0;
}

.sidebar-block {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-block h2,
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.sidebar-links li,
.sidebar-tag-list li,
.sidebar-list li {
  margin-bottom: 8px;
}

.sidebar-links li a,
.sidebar-tag-list li a,
.sidebar-list li a {
  font-size: 14px;
  color: #0066cc;
  text-decoration: underline;
}

.sidebar-links li a:hover,
.sidebar-tag-list li a:hover,
.sidebar-list li a:hover {
  color: #004d99;
}

.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.sidebar-links li span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}

.sidebar-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tag-list li {
  margin-bottom: 0;
}

.sidebar-tag-list li a {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  color: #1a1a1a;
  min-height: 32px;
}

.sidebar-tag-list li a:hover {
  background-color: #ffcc00;
  border-color: #1a1a1a;
}

.sidebar-more {
  margin-top: 16px;
  font-size: 14px;
}

/* 标签 */

.tag {
  display: inline-block;
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 13px;
  color: #333;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* 文本链接 */

.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: #0066cc;
  text-decoration: underline;
  margin-top: 12px;
}

.text-link:hover {
  color: #004d99;
}

/* ==========================================================================
   Components - 首页模块
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* Hero 首屏 */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 48px 0 40px;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.hero-lead {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.entry-card {
  display: block;
  background-color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  padding: 16px 20px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.entry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.entry-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.entry-desc {
  display: block;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.hero-figure {
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  background-color: #ffffff;
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* 频道快速面板 */

.quick-channels {
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
}

.quick-channels h2 {
  margin-bottom: 8px;
}

.section-intro {
  color: #333;
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 720px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-tile {
  display: block;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px 20px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.channel-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #1a1a1a;
}

.channel-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.channel-example {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* 专题片单精选 */

.specials-preview {
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
}

.specials-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.special-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.special-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.special-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.special-reason {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  flex: 1 0 auto;
  margin-bottom: 8px;
}

/* 观看指南速览 */

.guide-tour {
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.guide-tour .step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px 16px;
}

.guide-tour .step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #1a1a1a;
  color: #ffcc00;
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  text-align: center;
  line-height: 32px;
  margin-bottom: 12px;
}

.guide-tour .step-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.guide-tour .step-item p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

.button-link {
  display: inline-block;
  background-color: #0066cc;
  color: #ffffff;
  border: 2px solid #0066cc;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
}

.button-link:hover {
  background-color: #004d99;
  border-color: #004d99;
  color: #ffffff;
}

/* 作品档案预览 */

.archive-preview {
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
}

.archive-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.archive-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.archive-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.archive-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.archive-type {
  font-size: 13px;
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 6px;
}

.archive-point {
  font-size: 14px;
  color: #333;
  flex: 1 0 auto;
}

/* 首页相关链接 */

.related-links {
  padding: 24px 0;
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.related-links-label {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}

.related-links-item {
  font-size: 14px;
  color: #0066cc;
  text-decoration: underline;
}

.related-links-item:hover {
  color: #004d99;
}

/* ==========================================================================
   Pages - 频道分类页 dytt/channels.html
   ========================================================================== */

.inner-main {
  min-width: 0;
}

.category-block {
  margin-bottom: 40px;
}

.category-block h2 {
  font-size: 24px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.category-desc {
  font-size: 15px;
  color: #333;
  margin-bottom: 20px;
  max-width: 720px;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.genre-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
}

.genre-card-media {
  margin-bottom: 12px;
}

.genre-card-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.genre-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.genre-card p {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.genre-example {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

.region-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.region-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
}

.region-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.region-item p {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.region-example {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

.year-chart {
  display: grid;
  gap: 8px;
}

.year-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 16px;
  align-items: center;
}

.year-label {
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
}

.year-row p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

.category-tips {
  background-color: #fff9e0;
  border: 2px solid #ffcc00;
  border-radius: 6px;
  padding: 20px 24px;
  margin-top: 40px;
}

.category-tips h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.category-tips p {
  font-size: 14px;
  margin-bottom: 8px;
}

.category-tips a {
  margin-right: 16px;
  font-weight: 600;
}

/* ==========================================================================
   Pages - 专题片单页 dytt/specials.html
   ========================================================================== */

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.specials-list {
  margin-bottom: 40px;
}

.special-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.special-item-main {
  min-width: 0;
}

.special-item-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.special-item-reason {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
}

.special-item-reason strong {
  color: #1a1a1a;
}

.special-item-audience {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}

.special-item-audience strong {
  color: #1a1a1a;
}

.special-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.special-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.special-work {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px;
}

.special-work img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}

.special-work-desc {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.special-work-desc strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.special-link {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #0066cc;
  text-decoration: underline;
}

.special-link:hover {
  color: #004d99;
}

.specials-note {
  background-color: #fff9e0;
  border: 2px solid #ffcc00;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.specials-note h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.specials-note p {
  font-size: 14px;
  margin-bottom: 8px;
}

.specials-note a {
  font-weight: 600;
  margin-right: 12px;
}

/* ==========================================================================
   Pages - 观看指南页 dytt/guide.html
   ========================================================================== */

.guide-goals {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 32px;
}

.guide-goals h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.guide-goals > p {
  font-size: 14px;
  color: #333;
  margin-bottom: 16px;
}

.goal-list {
  list-style: disc;
  padding-left: 20px;
}

.goal-list li {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
}

.guide-steps {
  margin-bottom: 40px;
}

.guide-steps > h2 {
  font-size: 24px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.guide-steps > p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.guide-steps .step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.guide-steps .step-number {
  width: 40px;
  height: 40px;
  background-color: #1a1a1a;
  color: #ffcc00;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.step-content a {
  font-weight: 600;
  margin-right: 12px;
}

.check-point {
  background-color: #f0f7ff;
  border-left: 3px solid #0066cc;
  padding: 8px 12px;
  font-size: 14px;
}

.guide-faq {
  margin-bottom: 40px;
}

.guide-faq > h2 {
  font-size: 24px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.guide-faq > p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: #0066cc;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #f8f8f8;
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #333;
}

.faq-item p a {
  font-weight: 600;
}

/* ==========================================================================
   Pages - 作品档案页 dytt/archive.html
   ========================================================================== */

.archive-summary {
  margin-bottom: 40px;
}

.summary-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.summary-media {
  min-width: 0;
}

.summary-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

.summary-media figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  text-align: center;
}

.summary-content h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.meta-line {
  font-size: 15px;
  margin-bottom: 8px;
}

.meta-line strong {
  display: inline-block;
  min-width: 72px;
  color: #1a1a1a;
}

.related-specials {
  margin-bottom: 40px;
}

.related-specials > p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.related-list {
  display: grid;
  gap: 12px;
}

.related-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px 20px;
}

.related-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.related-item h3 a {
  color: #0066cc;
  text-decoration: underline;
}

.related-item p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

.watch-info {
  margin-bottom: 40px;
}

.watch-info h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.entry-status {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
}

.status-label {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-block;
  background-color: #fff3cd;
  border: 1px solid #ffcc00;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #8a6d00;
}

.entry-status > p {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.check-tip {
  background-color: #f0f7ff;
  border-left: 3px solid #0066cc;
  padding: 12px 16px;
  margin-top: 12px;
}

.check-tip strong {
  display: block;
  margin-bottom: 4px;
}

.check-tip a {
  font-weight: 600;
}

/* ==========================================================================
   Pages - 问题反馈页 dytt/feedback.html
   ========================================================================== */

.feedback-scope {
  margin-bottom: 40px;
}

.feedback-scope > h2,
.feedback-process > h2,
.feedback-promise > h2 {
  font-size: 24px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.feedback-scope > p,
.feedback-process > p,
.feedback-promise > p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scope-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
}

.scope-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.scope-item p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
  line-height: 1.6;
}

.feedback-process {
  margin-bottom: 40px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.process-step {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
}

.process-step .step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #1a1a1a;
  color: #ffcc00;
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  text-align: center;
  line-height: 32px;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
  line-height: 1.6;
}

.notice-block {
  background-color: #fff9e0;
  border: 2px solid #ffcc00;
  border-radius: 6px;
  padding: 16px 20px;
}

.notice-block p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

.feedback-promise {
  margin-bottom: 40px;
}

.promise-list {
  margin-bottom: 16px;
}

.promise-list li {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.promise-list li strong {
  color: #1a1a1a;
}

.feedback-media {
  margin-bottom: 40px;
}

.feedback-media img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.feedback-media figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  text-align: center;
}

.support-links {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.support-links h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.support-links > p {
  font-size: 14px;
  color: #333;
  margin-bottom: 16px;
}

.support-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.support-links ul li a {
  display: block;
  padding: 10px 16px;
  background-color: #f0f7ff;
  border: 1px solid #0066cc;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.support-links ul li a:hover {
  background-color: #0066cc;
  color: #ffffff;
}

/* ==========================================================================
   Pages - 404 页面
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  background-color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  padding: 48px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-panel h1 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 16px;
}

.error-panel p {
  font-size: 15px;
  color: #333;
  margin-bottom: 12px;
}

.error-home-link {
  display: inline-block;
  background-color: #0066cc;
  color: #ffffff;
  border: 2px solid #0066cc;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 16px;
  min-height: 44px;
  line-height: 1.4;
}

.error-home-link:hover {
  background-color: #004d99;
  border-color: #004d99;
  color: #ffffff;
}

/* ==========================================================================
   Responsive - 响应式断点
   ========================================================================== */

/* 平板：≤1024px */

@media (max-width: 1024px) {
  .specials-scroll {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-grid,
  .region-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-card {
    grid-template-columns: 220px 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-figure img {
    height: 260px;
  }
}

/* 手机：≤768px */

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0 16px;
    min-height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 8px;
    border-bottom: 1px solid #e0e0e0;
    border-left: 3px solid transparent;
  }

  .nav-list li a.is-current {
    border-left-color: #0066cc;
    border-bottom-color: #e0e0e0;
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 0;
  }

  .sidebar {
    order: 2;
    margin-top: 32px;
  }

  .inner-main {
    order: 1;
  }

  .home-main {
    padding: 0 16px 32px;
  }

  .hero {
    padding: 32px 0 24px;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-figure img {
    height: 200px;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .specials-scroll {
    grid-template-columns: 1fr;
  }

  .archive-cards {
    grid-template-columns: 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .genre-grid,
  .region-list {
    grid-template-columns: 1fr;
  }

  .year-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .special-works {
    grid-template-columns: 1fr;
  }

  .summary-card {
    grid-template-columns: 1fr;
  }

  .summary-media img {
    height: 240px;
  }

  .guide-steps .step-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .support-links ul {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    padding: 16px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .breadcrumb {
    margin-bottom: 12px;
  }

  .page-header {
    padding: 16px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-description {
    font-size: 14px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-panel h1 {
    font-size: 48px;
  }
}

/* 小屏手机：≤390px */

@media (max-width: 390px) {
  .brand-name {
    font-size: 19px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-figure img {
    height: 180px;
  }

  .entry-card {
    padding: 14px 16px;
  }

  .special-card img {
    height: 120px;
  }

  .archive-card img {
    height: 140px;
  }

  .genre-card-media img {
    height: 120px;
  }

  .summary-media img {
    height: 200px;
  }

  .guide-steps .step-item {
    grid-template-columns: 1fr;
  }

  .guide-steps .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .special-item {
    padding: 16px;
  }

  .special-works {
    grid-template-columns: 1fr;
  }

  .scope-item {
    padding: 16px;
  }

  .process-step {
    padding: 16px;
  }

  .footer-columns {
    padding: 24px 16px 16px;
  }
}

/* ==========================================================================
   打印样式（可选基础）
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .related-links,
  .breadcrumb {
    display: none;
  }

  body {
    background-color: #ffffff;
    color: #000000;
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0;
  }

  .page-header {
    background-color: #ffffff;
    border-left: none;
    padding: 0 0 16px;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
