/* ==========================================================================
   天美影视 · 全站样式表
   档案馆风：米灰底 / 墨绿标题 / 档案棕点缀 / 编号小字 / 日期分组
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base — 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: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #1f1f1f;
  background-color: #f5f1e8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: #2c3b33;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b58b5b;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 700;
  line-height: 1.4;
  color: #2c3b33;
}

p {
  margin-bottom: 0.9em;
}

p:last-child {
  margin-bottom: 0;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  background: #e8dfd0;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.sr-only {
  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: #2c3b33;
  border-bottom: 3px solid #b58b5b;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
  color: #f5f1e8;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: #b58b5b;
  letter-spacing: 0.03em;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #e8dfd0;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-list li a.is-current {
  color: #ffffff;
  background-color: rgba(181, 139, 91, 0.35);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background-color: #f5f1e8;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: #f5f1e8;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 0 0;
  font-size: 13px;
  color: #6b6b6b;
}

.breadcrumb a {
  color: #2c3b33;
}

.breadcrumb a:hover {
  color: #b58b5b;
}

.breadcrumb-sep {
  color: #b58b5b;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #6b6b6b;
}

/* 页面标题区（内页统一） */
.page-header {
  padding: 28px 0 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e8dfd0;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #2c3b33;
}

.page-description {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   Components — 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #2c3b33;
  color: #f5f1e8;
  border: 1px solid #2c3b33;
}

.btn-primary:hover {
  background-color: #3a4d43;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #2c3b33;
  border: 1px solid #b58b5b;
}

.btn-secondary:hover {
  background-color: #b58b5b;
  color: #ffffff;
  transform: translateY(-1px);
}

/* 频道编号标签 */
.channel-code,
.card-code,
.dynamic-code,
.channel-tag,
.archive-code,
.id-sample {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #b58b5b;
  background-color: #e8dfd0;
  border-radius: 3px;
  padding: 2px 8px;
  line-height: 1.6;
}

/* 卡片通用浮起 */
.channel-card,
.video-card,
.topic-card,
.scope-card,
.timeline-item,
.channel-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover,
.video-card:hover,
.topic-card:hover,
.scope-card:hover,
.timeline-item:hover,
.channel-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(44, 59, 51, 0.1);
}

/* 区块标题 */
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #2c3b33;
  margin-bottom: 8px;
}

.section-intro,
.section-desc {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 24px;
  max-width: 780px;
}

/* 相关链接（首页底部） */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid #e8dfd0;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #2c3b33;
  margin-right: 4px;
}

.related-links-item {
  font-size: 14px;
  color: #2c3b33;
  border: 1px solid #e8dfd0;
  border-radius: 4px;
  padding: 6px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.related-links-item:hover {
  border-color: #b58b5b;
  background-color: #e8dfd0;
}

/* --------------------------------------------------------------------------
   Components — 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #2c3b33;
  color: #e8dfd0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f5f1e8;
  margin-bottom: 14px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #c9d4ce;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #b58b5b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #a8b5ae;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Pages — 首页
   -------------------------------------------------------------------------- */
.home-main {
  width: 100%;
}

/* Hero 焦点区 */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #2c3b33;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #4a4a4a;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #e8dfd0;
  box-shadow: 0 4px 16px rgba(44, 59, 51, 0.08);
}

/* 频道索引区 */
.channel-index {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.channel-index h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #2c3b33;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.channel-card {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 20px 16px;
  min-height: 140px;
}

.channel-card .channel-code {
  margin-bottom: 10px;
}

.channel-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #2c3b33;
}

.channel-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #6b6b6b;
  margin: 0;
}

/* 内容瀑布流 */
.content-feed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.content-feed > h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #2c3b33;
}

.feed-date-group {
  margin-bottom: 36px;
}

.date-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #2c3b33;
  background-color: #e8dfd0;
  border-radius: 4px;
  padding: 6px 16px;
  margin-bottom: 16px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

.feed-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.video-card {
  display: flex;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 12px;
  align-items: flex-start;
}

.video-card img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.video-card .card-code {
  margin-bottom: 6px;
}

.video-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #2c3b33;
  line-height: 1.5;
}

.card-tag {
  font-size: 12px;
  color: #b58b5b;
  background-color: #f5f1e8;
  border-radius: 3px;
  padding: 2px 8px;
  display: inline-block;
}

/* 频道动态 */
.update-dynamics {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.update-dynamics h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #2c3b33;
}

.dynamics-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e8dfd0;
}

.dynamics-list li:last-child {
  border-bottom: none;
}

.dynamic-code {
  flex-shrink: 0;
}

.dynamics-list time {
  font-size: 13px;
  color: #8a8a8a;
  flex-shrink: 0;
  min-width: 80px;
}

.dynamics-list p {
  font-size: 15px;
  color: #1f1f1f;
  margin: 0;
}

/* 指南步骤条（首页） */
.guide-brief {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.guide-brief h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #2c3b33;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 24px 20px;
}

.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #b58b5b;
  background-color: #e8dfd0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 12px;
}

.step-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #2c3b33;
}

.step-item p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0;
}

.step-item p a {
  font-weight: 600;
  color: #2c3b33;
  border-bottom: 1px solid #b58b5b;
}

.step-item p a:hover {
  color: #b58b5b;
}

/* 专题回顾 */
.topic-review {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}

.topic-review h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #2c3b33;
}

.topic-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  overflow: hidden;
}

.topic-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 18px;
  margin: 16px 16px 8px;
  color: #2c3b33;
}

.topic-card p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0 16px 16px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages — 频道名录 tmys/channels.html
   -------------------------------------------------------------------------- */
.channel-list {
  padding: 32px 0 16px;
}

.channel-item {
  display: flex;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.channel-media {
  flex-shrink: 0;
  width: 200px;
}

.channel-media img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
}

.channel-info {
  flex: 1;
  min-width: 0;
}

.channel-info .channel-code {
  margin-bottom: 8px;
}

.channel-name {
  font-size: 20px;
  margin-bottom: 8px;
  color: #2c3b33;
}

.channel-scope {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2c3b33;
  border-bottom: 1px solid #b58b5b;
}

.channel-link:hover {
  color: #b58b5b;
}

/* 频道使用说明 */
.channel-usage {
  padding: 32px 0;
}

.usage-text {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 20px;
  max-width: 780px;
}

.usage-steps {
  counter-reset: usage-step;
  padding: 0;
}

.usage-steps li {
  counter-increment: usage-step;
  position: relative;
  padding: 10px 0 10px 44px;
  font-size: 15px;
  color: #1f1f1f;
  border-bottom: 1px solid #e8dfd0;
  max-width: 640px;
}

.usage-steps li:last-child {
  border-bottom: none;
}

.usage-steps li::before {
  content: counter(usage-step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e8dfd0;
  color: #b58b5b;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
}

/* 相关栏目入口（频道页 aside） */
.related-links .related-title {
  font-size: 20px;
  margin-bottom: 14px;
  color: #2c3b33;
}

.related-links ul li {
  margin-bottom: 8px;
}

.related-links ul li a {
  font-size: 15px;
  color: #2c3b33;
  border-bottom: 1px solid #e8dfd0;
}

.related-links ul li a:hover {
  color: #b58b5b;
  border-color: #b58b5b;
}

/* --------------------------------------------------------------------------
   Pages — 播放日历 tmys/schedule.html
   -------------------------------------------------------------------------- */
.timeline-section {
  padding: 32px 0 16px;
}

.timeline-group {
  margin-bottom: 32px;
}

.date-label {
  font-size: 17px;
  font-weight: 600;
  color: #2c3b33;
  background-color: #e8dfd0;
  border-radius: 4px;
  padding: 6px 16px;
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 14px;
  align-items: flex-start;
}

.item-media {
  flex-shrink: 0;
  width: 140px;
}

.item-media img {
  width: 140px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
}

.item-content {
  flex: 1;
  min-width: 0;
}

.item-content .channel-tag {
  margin-bottom: 6px;
}

.item-content h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #2c3b33;
}

.item-content p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0;
}

/* 排期说明 */
.schedule-note {
  padding: 32px 0;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  margin-top: 24px;
  padding: 28px 24px;
}

.schedule-note h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #2c3b33;
}

.schedule-note p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Pages — 历史资料 tmys/archive.html
   -------------------------------------------------------------------------- */
.period-groups {
  padding: 32px 0 16px;
}

.period-group {
  margin-bottom: 36px;
}

.period-label {
  font-size: 17px;
  font-weight: 600;
  color: #2c3b33;
  background-color: #e8dfd0;
  border-radius: 4px;
  padding: 6px 16px;
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

.archive-list {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 8px 0;
}

.archive-item {
  display: flex;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #e8dfd0;
  align-items: flex-start;
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-code {
  flex-shrink: 0;
  margin-top: 2px;
}

.archive-info {
  flex: 1;
  min-width: 0;
}

.archive-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #2c3b33;
}

.archive-info p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0;
}

/* 使用说明 */
.archive-usage {
  padding: 32px 0;
}

.archive-usage p {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 12px;
  max-width: 780px;
}

.archive-usage code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  background: #e8dfd0;
  padding: 2px 6px;
  border-radius: 3px;
}

.archive-figure {
  margin-top: 20px;
  max-width: 640px;
}

.archive-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e8dfd0;
}

.archive-figure figcaption {
  font-size: 13px;
  color: #8a8a8a;
  margin-top: 8px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Pages — 观看指南 tmys/guide.html
   -------------------------------------------------------------------------- */

/* 定义句 */
.page-description {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 860px;
}

/* 观看步骤 */
.guide-steps {
  padding: 32px 0 16px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guide-steps .step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 12px;
}

.guide-steps .step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 15px;
  margin-bottom: 0;
}

.guide-steps .step-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #2c3b33;
}

.guide-steps .step-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
  margin: 0 0 8px;
  min-width: 220px;
}

.guide-steps .step-item a {
  font-size: 14px;
  font-weight: 600;
  color: #2c3b33;
  border-bottom: 1px solid #b58b5b;
}

.guide-steps .step-item a:hover {
  color: #b58b5b;
}

/* 任务示例 */
.task-example {
  padding: 32px 0;
}

.task-demo {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 24px;
  max-width: 780px;
}

.task-desc {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 16px;
}

.task-path {
  counter-reset: task-step;
  padding: 0;
  margin-bottom: 16px;
}

.task-path li {
  counter-increment: task-step;
  position: relative;
  padding: 8px 0 8px 40px;
  font-size: 15px;
  color: #1f1f1f;
  border-bottom: 1px dashed #e8dfd0;
}

.task-path li:last-child {
  border-bottom: none;
}

.task-path li::before {
  content: counter(task-step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e8dfd0;
  color: #b58b5b;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
}

.task-path li a {
  font-weight: 600;
  color: #2c3b33;
  border-bottom: 1px solid #b58b5b;
}

.task-path li a:hover {
  color: #b58b5b;
}

.task-result {
  font-size: 14px;
  color: #4a4a4a;
  background-color: #f5f1e8;
  border-left: 3px solid #b58b5b;
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
}

/* 界面预览 */
.interface-preview {
  padding: 32px 0;
}

.preview-media {
  margin-bottom: 24px;
}

.preview-figure {
  max-width: 780px;
}

.preview-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e8dfd0;
}

.preview-figure figcaption {
  font-size: 13px;
  color: #8a8a8a;
  margin-top: 8px;
  text-align: center;
}

.preview-notes {
  max-width: 780px;
}

.preview-notes h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #2c3b33;
}

.preview-notes ul {
  padding: 0;
}

.preview-notes ul li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
}

.preview-notes ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #b58b5b;
}

.preview-notes ul li strong {
  color: #2c3b33;
  font-weight: 600;
}

/* 编号复制 */
.id-copy {
  padding: 32px 0;
}

.copy-intro {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 16px;
  max-width: 780px;
}

.copy-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 16px 20px;
  max-width: 780px;
  margin-bottom: 20px;
}

.id-sample {
  font-size: 16px;
  font-weight: 700;
  color: #2c3b33;
  background-color: #e8dfd0;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #f5f1e8;
  background-color: #2c3b33;
  border: 1px solid #2c3b33;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.copy-btn:hover {
  background-color: #3a4d43;
}

.copy-btn.copied {
  background-color: #b58b5b;
  border-color: #b58b5b;
}

.id-rules {
  padding: 0;
  max-width: 780px;
}

.id-rules li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
}

.id-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #b58b5b;
}

.id-rules li strong {
  color: #2c3b33;
  font-weight: 600;
}

/* 入口核验 */
.entry-check {
  padding: 32px 0;
}

.entry-intro {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 20px;
  max-width: 780px;
}

.entry-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  max-width: 780px;
}

.entry-type {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 20px;
}

.entry-type h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #2c3b33;
}

.entry-type p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
  margin: 0;
}

.entry-note {
  font-size: 14px;
  color: #4a4a4a;
  max-width: 780px;
}

.entry-note a {
  font-weight: 600;
  color: #2c3b33;
  border-bottom: 1px solid #b58b5b;
}

.entry-note a:hover {
  color: #b58b5b;
}

/* 指南页相关链接 */
.guide-page-related {
  padding: 24px 0;
}

.guide-page-related h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #2c3b33;
}

.guide-page-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-page-related ul li a {
  display: inline-block;
  font-size: 14px;
  color: #2c3b33;
  border: 1px solid #e8dfd0;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #ffffff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.guide-page-related ul li a:hover {
  border-color: #b58b5b;
  background-color: #e8dfd0;
}

/* --------------------------------------------------------------------------
   Pages — 常见问题 tmys/faq.html
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 32px 0 16px;
}

.content-media {
  margin-bottom: 28px;
}

.content-media-inline {
  max-width: 780px;
}

.content-media-inline img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e8dfd0;
}

.content-media-inline figcaption {
  font-size: 13px;
  color: #8a8a8a;
  margin-top: 8px;
  text-align: center;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #2c3b33;
  cursor: pointer;
  position: relative;
  list-style: none;
  padding-right: 44px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #b58b5b;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #f5f1e8;
}

.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid #e8dfd0;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-top: 14px;
}

.faq-answer p:first-child {
  margin-top: 14px;
}

.faq-answer a {
  font-weight: 600;
  color: #2c3b33;
  border-bottom: 1px solid #b58b5b;
}

.faq-answer a:hover {
  color: #b58b5b;
}

/* 关联术语 */
.related-terms {
  padding: 32px 0;
}

.term-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.term-item {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 16px 20px;
}

.term-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #b58b5b;
  background-color: #e8dfd0;
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.term-desc {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0;
}

.related-terms .related-links {
  padding: 16px 0;
  margin-top: 0;
}

.related-terms .related-links p {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.related-terms .related-links a {
  font-weight: 600;
  color: #2c3b33;
  border-bottom: 1px solid #b58b5b;
}

.related-terms .related-links a:hover {
  color: #b58b5b;
}

/* --------------------------------------------------------------------------
   Pages — 问题反馈 tmys/feedback.html
   -------------------------------------------------------------------------- */
.section-block {
  padding: 32px 0 8px;
}

.feedback-scope .section-intro {
  margin-bottom: 20px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scope-card {
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 20px;
}

.scope-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #2c3b33;
}

.scope-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4a4a4a;
  margin: 0;
}

/* 准备信息 */
.preparation > p {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 16px;
  max-width: 780px;
}

.preparation-list {
  padding: 0;
  max-width: 780px;
}

.preparation-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 15px;
  color: #1f1f1f;
  border-bottom: 1px solid #e8dfd0;
  line-height: 1.7;
}

.preparation-list li:last-child {
  border-bottom: none;
}

.preparation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #b58b5b;
}

.preparation-list li strong {
  color: #2c3b33;
  font-weight: 600;
}

/* 处理流程 */
.procedure > p {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 20px;
  max-width: 780px;
}

.procedure-steps {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.procedure-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 12px;
  max-width: 780px;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e8dfd0;
  color: #b58b5b;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #2c3b33;
}

.step-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #4a4a4a;
  margin: 0;
}

/* 相关链接 */
.feedback-related {
  padding: 24px 0;
}

.feedback-related h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #2c3b33;
}

.feedback-related > p {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 14px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-list li a {
  display: inline-block;
  font-size: 14px;
  color: #2c3b33;
  border: 1px solid #e8dfd0;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #ffffff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.related-list li a:hover {
  border-color: #b58b5b;
  background-color: #e8dfd0;
}

/* 反馈页配图 */
.feedback-figure {
  max-width: 640px;
  margin: 24px 0 0;
}

.feedback-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e8dfd0;
}

.feedback-figure figcaption {
  font-size: 13px;
  color: #8a8a8a;
  margin-top: 8px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  min-height: 60vh;
}

.error-panel {
  text-align: center;
  max-width: 560px;
  background-color: #ffffff;
  border: 1px solid #e8dfd0;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #b58b5b;
  line-height: 1;
  margin-bottom: 16px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

.error-panel h1 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #2c3b33;
}

.error-desc {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.error-help {
  font-size: 13px;
  color: #8a8a8a;
}

/* --------------------------------------------------------------------------
   Responsive — 响应式
   -------------------------------------------------------------------------- */

/* 平板（≤1024px） */
@media (max-width: 1024px) {
  .channel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .channel-item {
    flex-direction: column;
  }

  .channel-media,
  .channel-media img {
    width: 100%;
    height: auto;
    max-height: 180px;
  }
}

/* 手机（≤768px） */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    min-height: 56px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #2c3b33;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid #b58b5b;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .page-header {
    padding: 20px 0 24px;
  }

  .page-title {
    font-size: 28px;
  }

  .page-description {
    font-size: 15px;
  }

  /* 首页 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .channel-index,
  .content-feed,
  .update-dynamics,
  .guide-brief,
  .topic-review {
    padding: 32px 16px;
  }

  .channel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feed-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .video-card {
    flex-direction: column;
  }

  .video-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .topic-horizontal {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dynamics-list li {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .dynamics-list time {
    min-width: 0;
  }

  /* 频道名录 */
  .channel-item {
    padding: 16px;
  }

  .channel-media img {
    aspect-ratio: 16 / 10;
  }

  /* 播放日历 */
  .timeline-item {
    flex-direction: column;
    gap: 12px;
  }

  .item-media,
  .item-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  /* 历史资料 */
  .archive-item {
    flex-direction: column;
    gap: 8px;
  }

  /* 观看指南 */
  .guide-steps .step-item {
    flex-direction: column;
    gap: 12px;
  }

  .entry-types {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* FAQ */
  .term-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 反馈 */
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .procedure-steps li {
    flex-direction: column;
    gap: 12px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 404 */
  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }
}

/* 小屏手机（≤480px） */
@media (max-width: 480px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 24px;
  }

  .channel-card {
    min-height: 0;
  }
}

/* --------------------------------------------------------------------------
   Animation — 动效（仅增强，不影响初始可见性）
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .channel-card,
  .video-card,
  .topic-card,
  .scope-card,
  .timeline-item,
  .channel-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .faq-item summary {
    transition: background-color 0.2s ease;
  }

  .copy-btn {
    transition: background-color 0.2s ease;
  }
}

@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;
  }
}
