/* ==========================================================================
   天美传播 · starstyle-jl.com
   base → layout → components → pages → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background-color: #FBF6ED;
  color: #223A7A;
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: #223A7A;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #223A7A;
  text-decoration: none;
}

a:hover {
  color: #F2793D;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #F2793D;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: #223A7A;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 14px;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. layout：全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 60;
  background-color: #FFFFFF;
  border-bottom: 2px solid #223A7A;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand-mark {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  color: #223A7A;
  white-space: nowrap;
}

.brand-mark::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background-color: #F2793D;
  vertical-align: middle;
}

.primary-nav.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 15px;
  color: #223A7A;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav-link:hover {
  background-color: #F1EADD;
  color: #223A7A;
}

.nav-link.is-current {
  background-color: #223A7A;
  color: #FFFFFF;
  font-weight: 600;
}

.nav-link.is-current:hover {
  background-color: #1A2E62;
  color: #FFFFFF;
}

.nav-note {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 250px;
  padding: 6px 12px;
  background-color: #F3EADB;
  border: 1px solid #E6DECD;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #5A6478;
}

.dot-icon {
  flex: 0 0 auto;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #F2793D;
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 6px;
}

.menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #223A7A;
  border-radius: 1px;
}

.mobile-drawer {
  background-color: #FFFFFF;
  border-top: 1px solid #E6DECD;
  padding: 14px 24px 20px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  padding: 9px 12px;
  background-color: #F3EADB;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6478;
}

.drawer-note .dot-icon {
  margin-top: 8px;
}

.drawer-list {
  display: grid;
  gap: 2px;
}

.drawer-list a {
  display: block;
  padding: 12px 10px;
  border-radius: 6px;
  font-size: 16px;
  color: #223A7A;
  border-bottom: 1px solid #F1EADD;
}

.drawer-list a:hover {
  background-color: #FBF6ED;
}

.site-main {
  display: block;
}

.home-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.page-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.page-layout .inner-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0 6px;
  font-size: 13px;
  color: #5A6478;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: #B9B0A0;
}

.breadcrumb a,
.breadcrumb-current {
  color: #5A6478;
  font-size: 13px;
}

.breadcrumb a:hover {
  color: #F2793D;
}

.breadcrumb-sep {
  color: #B9B0A0;
}

.breadcrumb-current {
  color: #223A7A;
  font-weight: 600;
}

/* 页面标题区 */

.page-header {
  padding: 4px 0 16px;
  border-bottom: 1px solid #E6DECD;
  margin-bottom: 26px;
}

.page-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  color: #223A7A;
}

.page-head {
  padding: 0 0 26px;
}

.page-head .eyebrow,
.page-head .eyebrow-label,
.page-head .page-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  background-color: #F3EADB;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #223A7A;
}

.page-lead {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
  color: #5A6478;
}

/* 页内锚点条 */

.anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anchor-bar ul.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-link,
.anchor-bar a {
  display: inline-block;
  padding: 7px 14px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 999px;
  font-size: 13px;
  color: #223A7A;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.anchor-link:hover,
.anchor-bar a:hover {
  border-color: #F2793D;
  background-color: #FFF6F0;
  color: #223A7A;
}

/* 通用区块标题 */

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.section-title,
.section-intro + h2 {
  font-size: 24px;
  font-weight: 700;
}

.section-head h2::before,
.section-title::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  margin-bottom: 10px;
  background-color: #F2793D;
  border-radius: 2px;
}

.section-intro,
.section-lead,
.section-desc {
  margin-top: 8px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.8;
  color: #5A6478;
}

.inline-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid #F2793D;
  font-size: 14px;
  font-weight: 600;
  color: #223A7A;
}

.inline-link:hover {
  color: #F2793D;
}

/* 页脚 */

.site-footer {
  background-color: #F3EADB;
  border-top: 1px solid #E6DECD;
  padding: 40px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.footer-group {
  min-width: 0;
}

.footer-brand {
  font-size: 17px;
  font-weight: 800;
  color: #223A7A;
}

.footer-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #5A6478;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #223A7A;
}

.footer-list {
  display: grid;
  gap: 8px;
}

.footer-list a {
  font-size: 14px;
  color: #5A6478;
}

.footer-list a:hover {
  color: #F2793D;
}

.footer-boundary {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 26px;
  border-top: 1px solid #E6DECD;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

/* --------------------------------------------------------------------------
   3. components：通用按钮、徽标、卡片、表格
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background-color: #F2793D;
  border-color: #F2793D;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #DA6528;
  border-color: #DA6528;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #223A7A;
  border-color: #223A7A;
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #1A2E62;
  border-color: #1A2E62;
  color: #FFFFFF;
}

.btn-ghost {
  background-color: #FFFFFF;
  border-color: #E6DECD;
  color: #223A7A;
}

.btn-ghost:hover {
  border-color: #223A7A;
  background-color: #FBF6ED;
  color: #223A7A;
}

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.badge-self {
  background-color: #E7F4EE;
  color: #1F7A52;
}

.badge-site {
  background-color: #E7F4EE;
  color: #1F7A52;
}

.badge-green {
  background-color: #E7F4EE;
  color: #1F7A52;
}

.badge-rose {
  background-color: #FBE9EE;
  color: #A83552;
}

.tag-row,
.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag,
.channel-tags li {
  padding: 2px 9px;
  background-color: #F3EADB;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #5A6478;
}

/* 数字列等宽 */

.topic-table,
.catalog-table,
.sequence-table,
.compare-grid,
.compare-num,
.entry-duration,
.format-meta,
.info-value {
  font-variant-numeric: tabular-nums;
}

/* 表格通用 */

.topic-table-wrap,
.table-wrap,
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.topic-table,
.catalog-table,
.sequence-table {
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  font-size: 14px;
}

.topic-table th,
.catalog-table th,
.sequence-table th {
  padding: 11px 12px;
  background-color: #223A7A;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.topic-table td,
.catalog-table td,
.sequence-table td {
  padding: 11px 12px;
  border-top: 1px solid #E6DECD;
  color: #3A4560;
  vertical-align: top;
  line-height: 1.7;
}

.topic-table tbody tr:nth-child(even),
.catalog-table tbody tr:nth-child(even),
.sequence-table tbody tr:nth-child(even) {
  background-color: #FDFAF4;
}

/* 交叉入口 */

.cross-links {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #E6DECD;
}

.cross-links h2,
.cross-links-title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
}

.cross-links-grid,
.cross-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cross-card {
  display: block;
  padding: 16px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.cross-card:hover {
  border-color: #223A7A;
  transform: translateY(-2px);
}

.cross-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #223A7A;
}

.cross-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.cross-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cross-list li a {
  display: block;
  padding: 16px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease;
}

.cross-list li a:hover {
  border-color: #223A7A;
}

.cross-links-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cross-link-card a {
  display: block;
  padding: 16px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease;
}

.cross-link-card a:hover {
  border-color: #223A7A;
}

.cross-link-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #223A7A;
}

.cross-link-text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

/* --------------------------------------------------------------------------
   4. pages
   -------------------------------------------------------------------------- */

/* ---------- 首页 ---------- */

.home-main > section + section,
.home-main > figure + section {
  margin-top: 52px;
}

.hero {
  padding: 34px 0 0;
}

.hero-panel {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  padding: 3px 12px;
  background-color: #F3EADB;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #223A7A;
}

.hero-panel h1 {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-lead {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: #5A6478;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  text-align: left;
}

.fact-cell {
  display: block;
  padding: 12px 14px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.fact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #F2793D;
}

.fact-text {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: #3A4560;
}

.hero-visual {
  margin-top: 34px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E6DECD;
  background-color: #EFE7D8;
}

.hero-caption {
  margin-top: 10px;
  padding: 9px 14px;
  background-color: #F3EADB;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

/* 频道目录速览 */

.channel-overview .channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-overview .channel-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.channel-overview .channel-card:hover {
  border-color: #223A7A;
  transform: translateY(-2px);
}

.channel-overview .channel-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background-color: #EFE7D8;
}

.channel-name {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}

.channel-scope {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.channel-overview .card-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #223A7A;
}

.channel-overview .card-link::after {
  content: " →";
  color: #F2793D;
}

.channel-overview .card-link:hover {
  color: #F2793D;
}

.channel-overview .channel-card-lead {
  grid-column: span 2;
}

.channel-overview .channel-card-lead img {
  aspect-ratio: 16 / 8;
}

.channel-overview .channel-card-lead .channel-name {
  font-size: 21px;
}

/* 本期专题片单 */

.topic-feature .topic-table {
  min-width: 620px;
}

.topic-feature .col-seq {
  width: 62px;
  text-align: center;
}

.topic-feature .col-duration {
  width: 130px;
  white-space: nowrap;
}

.topic-feature .col-channel {
  width: 120px;
  white-space: nowrap;
}

.topic-feature .col-seq {
  font-weight: 700;
  color: #F2793D;
}

.topic-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

/* 观看准备与入口核验 */

.prepare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.prepare-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prepare-steps .step-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.prepare-steps .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  background-color: #F2793D;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.prepare-steps .step-title {
  font-size: 16px;
  font-weight: 700;
}

.prepare-steps .step-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.prepare-steps .badge-self {
  align-self: flex-start;
  margin-top: 10px;
}

.prepare-check {
  padding: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.aside-title {
  font-size: 18px;
  font-weight: 700;
}

.prepare-check .check-card {
  padding: 12px 0;
  border-bottom: 1px solid #F1EADD;
}

.prepare-check .check-card:last-of-type {
  border-bottom: 0;
}

.check-name {
  font-size: 15px;
  font-weight: 700;
  color: #223A7A;
}

.check-standard {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #3A4560;
}

.check-fallback {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

/* 常看条目与纠错入口 */

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.entry-items {
  display: grid;
  gap: 10px;
}

.entry-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 14px 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease;
}

.entry-item:hover {
  border-color: #223A7A;
}

.entry-link {
  font-size: 15px;
  font-weight: 700;
  color: #223A7A;
}

.entry-topic {
  font-size: 13px;
  color: #5A6478;
}

.entry-duration {
  margin-left: auto;
  font-size: 13px;
  color: #F2793D;
  font-weight: 600;
  white-space: nowrap;
}

.entry-aside {
  padding: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.entry-aside .report-card {
  padding: 12px 0;
  border-bottom: 1px solid #F1EADD;
}

.entry-aside .report-card:last-of-type {
  border-bottom: 0;
}

.report-name {
  font-size: 15px;
  font-weight: 700;
  color: #223A7A;
}

.report-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

/* ---------- 视频总目录 ---------- */

.field-notes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.field-notes .field-card {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.field-notes .field-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.field-notes .field-card p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.field-sample {
  padding: 6px 10px;
  background-color: #FBF6ED;
  border-radius: 4px;
  font-size: 13px;
  color: #3A4560 !important;
}

.by-channel,
.by-format,
.sort-help,
.field-notes {
  margin-top: 44px;
}

.by-channel h2,
.by-format h2,
.sort-help h2,
.field-notes h2 {
  font-size: 24px;
  font-weight: 700;
}

.channel-group {
  margin-top: 26px;
}

.group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.group-scope {
  font-size: 13px;
  font-weight: 400;
  color: #5A6478;
}

.catalog-table {
  min-width: 640px;
}

.catalog-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.catalog-table .num {
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  color: #F2793D;
}

.sort-btn {
  padding: 0;
  background: none;
  border: 0;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sort-btn::after {
  content: " ⇅";
  opacity: 0.7;
}

.sort-btn:hover {
  color: #FFD9C4;
}

.by-format .format-figure {
  margin-top: 18px;
}

.by-format .format-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E6DECD;
  background-color: #EFE7D8;
}

.format-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.format-group {
  margin-top: 18px;
  padding: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.format-title {
  font-size: 17px;
  font-weight: 700;
}

.format-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.format-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.format-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 9px 12px;
  background-color: #FBF6ED;
  border-radius: 6px;
}

.format-list li a {
  font-size: 14px;
  font-weight: 600;
  color: #223A7A;
}

.format-meta {
  font-size: 13px;
  color: #5A6478;
  white-space: nowrap;
}

.sort-help-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 14px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.sort-state {
  font-size: 14px;
  font-weight: 600;
  color: #223A7A;
}

.sort-note {
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #E6DECD;
}

.related-links-label {
  font-size: 13px;
  font-weight: 700;
  color: #5A6478;
}

.related-links-item {
  font-size: 14px;
  font-weight: 600;
  color: #223A7A;
  border-bottom: 1px solid #F2793D;
}

/* ---------- 频道筛选 ---------- */

.divide-basis,
.channel-grid,
.channel-detail,
.channel-path {
  margin-top: 44px;
}

.divide-basis h2,
.channel-grid h2,
.channel-detail h2,
.channel-path h2 {
  font-size: 24px;
  font-weight: 700;
}

.basis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.basis-card {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.basis-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.basis-standard {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #3A4560;
}

.basis-counter {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #E6DECD;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.channel-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.channel-grid-inner .channel-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.channel-grid-inner .channel-card:hover {
  border-color: #223A7A;
  transform: translateY(-2px);
}

.channel-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background-color: #EFE7D8;
}

.channel-grid-inner .channel-card h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}

.channel-grid-inner .channel-card .channel-scope {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.channel-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #223A7A;
}

.channel-link::after {
  content: " →";
  color: #F2793D;
}

.channel-link:hover {
  color: #F2793D;
}

.channel-card-featured {
  grid-column: span 2;
}

.channel-card-featured .channel-figure img {
  aspect-ratio: 16 / 8;
}

.channel-card-featured h3 {
  font-size: 21px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 8px 24px;
  padding: 14px 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.detail-name h3 {
  font-size: 16px;
  font-weight: 700;
}

.detail-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 9px;
  background-color: #F3EADB;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #5A6478;
}

.detail-fields {
  display: grid;
  gap: 6px;
}

.detail-field {
  font-size: 14px;
  line-height: 1.75;
  color: #5A6478;
}

.detail-field .field-label {
  display: inline-block;
  margin-right: 8px;
  font-weight: 700;
  color: #223A7A;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.path-step {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.path-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  background-color: #223A7A;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.path-step h3 {
  font-size: 16px;
  font-weight: 700;
}

.path-step p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

/* ---------- 专题详情 ---------- */

.topic-visual {
  margin-bottom: 30px;
}

.topic-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E6DECD;
  background-color: #EFE7D8;
}

.topic-visual figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 32px;
  align-items: start;
}

.main-column {
  min-width: 0;
}

.main-column > section + section {
  margin-top: 36px;
}

.main-column h2 {
  font-size: 24px;
  font-weight: 700;
}

.main-column h2::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  margin-bottom: 10px;
  background-color: #F2793D;
  border-radius: 2px;
}

.editorial p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: #3A4560;
}

.editorial h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
}

.standard-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.standard-list li {
  padding: 10px 14px;
  background-color: #FFFFFF;
  border-left: 3px solid #F2793D;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.75;
  color: #3A4560;
}

.standard-list strong {
  display: block;
  font-weight: 700;
  color: #223A7A;
}

.sequence-table {
  margin-top: 16px;
  min-width: 560px;
}

.sequence-table .col-index {
  width: 56px;
  text-align: center;
}

.sequence-table .col-duration {
  width: 120px;
  white-space: nowrap;
}

.sequence-table .col-item img {
  width: 96px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #EFE7D8;
}

.sequence-table .col-item {
  min-width: 200px;
}

.sequence-table .col-index {
  font-weight: 700;
  color: #F2793D;
}

.table-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.way-card {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.way-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.way-card p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.way-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.way-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #3A4560;
}

.way-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2E9E6B;
}

.notes > p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A4560;
}

.note-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.note-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 12px 14px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: #3A4560;
}

.note-tag {
  flex: 0 0 auto;
  padding: 2px 9px;
  background-color: #FBE9EE;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #A83552;
}

.note-tail {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #5A6478;
}

.note-tail a {
  font-weight: 600;
  color: #223A7A;
  border-bottom: 1px solid #F2793D;
}

.topic-info {
  padding: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.topic-info h2 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.info-card {
  padding: 10px 0;
  border-bottom: 1px solid #F1EADD;
}

.info-card:last-child {
  border-bottom: 0;
}

.info-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5A6478;
}

.info-value {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 600;
  color: #223A7A;
  line-height: 1.6;
}

/* ---------- 频道对照 ---------- */

.dimensions,
.compare-table,
.reading,
.next {
  margin-top: 44px;
}

.dimensions h2,
.compare-table h2,
.reading h2,
.next h2 {
  font-size: 24px;
  font-weight: 700;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.dimension-card {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.dimension-name {
  font-size: 16px;
  font-weight: 700;
}

.dimension-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.compare-scroll {
  margin-top: 18px;
}

.compare-grid {
  min-width: 720px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  font-size: 14px;
}

.compare-grid th,
.compare-grid td {
  padding: 12px 14px;
  border-bottom: 1px solid #E6DECD;
  border-right: 1px solid #F1EADD;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.compare-grid th:last-child,
.compare-grid td:last-child {
  border-right: 0;
}

.compare-grid tbody tr:last-child th,
.compare-grid tbody tr:last-child td {
  border-bottom: 0;
}

.compare-corner {
  width: 140px;
  background-color: #223A7A;
  color: #FFFFFF;
  font-size: 13px;
}

.compare-col-head {
  background-color: #223A7A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
}

.compare-figure {
  margin-bottom: 8px;
}

.compare-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background-color: #EFE7D8;
}

.compare-channel-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.compare-dim {
  width: 140px;
  background-color: #FBF6ED;
  color: #223A7A;
  font-size: 14px;
  font-weight: 700;
}

.compare-num {
  color: #3A4560;
}

.reading-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid #E6DECD;
}

.reading-item {
  padding: 14px 0;
  border-bottom: 1px solid #E6DECD;
}

.reading-head {
  font-size: 16px;
  font-weight: 700;
}

.reading-body {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: #5A6478;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.next-card {
  display: block;
  padding: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.next-card:hover {
  border-color: #223A7A;
  transform: translateY(-2px);
}

.next-card-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #F2793D;
}

.next-card-title {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
}

.next-card-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

/* ---------- 观看准备 ---------- */

.flow-overview,
.steps,
.blockers,
.next {
  margin-top: 44px;
}

.flow-overview h2,
.steps h2,
.blockers h2,
.next h2 {
  font-size: 24px;
  font-weight: 700;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  overflow: hidden;
}

.flow-cell {
  padding: 14px 16px;
  border-right: 1px solid #E6DECD;
}

.flow-cell:last-child {
  border-right: 0;
}

.flow-cell .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: #F2793D;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.flow-cell h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}

.owner-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.owner-site {
  background-color: #E7F4EE;
  color: #1F7A52;
}

.owner-visitor {
  background-color: #F3EADB;
  color: #5A6478;
}

.steps .step-card {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) minmax(180px, 240px);
  gap: 20px;
  margin-top: 14px;
  padding: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.step-side {
  min-width: 0;
}

.step-side .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  background-color: #F2793D;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.step-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background-color: #EFE7D8;
}

.step-figure figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #5A6478;
}

.step-body {
  min-width: 0;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 700;
}

.step-body p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A4560;
}

.step-meta {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.meta-block {
  padding: 10px 12px;
  background-color: #FBF6ED;
  border-radius: 6px;
}

.meta-block h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5A6478;
}

.meta-block p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #3A4560;
}

.meta-block .owner-badge {
  margin-top: 0;
}

.blocker-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.blocker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 24px;
  padding: 14px 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.blocker-desc h3 {
  font-size: 16px;
  font-weight: 700;
}

.blocker-desc p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.blocker-fix p {
  font-size: 14px;
  line-height: 1.7;
  color: #3A4560;
}

.blocker-avoid {
  margin-top: 6px;
  padding-left: 10px;
  border-left: 3px solid #D24F6E;
  color: #A83552 !important;
}

/* ---------- 帮助与纠错 ---------- */

.faq,
.report,
.scope,
.unresolved {
  margin-top: 44px;
}

.faq h2,
.report h2,
.scope h2,
.unresolved h2 {
  font-size: 24px;
  font-weight: 700;
}

.faq-group {
  margin-top: 22px;
}

.faq-group h3 {
  font-size: 18px;
  font-weight: 700;
}

.group-note {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

.faq-item {
  margin-top: 10px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #223A7A;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  color: #F2793D;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #FBF6ED;
}

.faq-item > p {
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #5A6478;
  border-top: 1px solid #F1EADD;
  padding-top: 12px;
}

.faq-item > p a {
  font-weight: 600;
  color: #223A7A;
  border-bottom: 1px solid #F2793D;
}

.report-visual {
  margin-top: 18px;
}

.report-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E6DECD;
  background-color: #EFE7D8;
}

.report-visual figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.report-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.report-fields .field-card {
  padding: 14px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.report-fields .field-card h3 {
  font-size: 15px;
  font-weight: 700;
}

.field-what,
.field-how,
.field-miss,
.field-sample {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6478;
}

.field-what {
  font-weight: 600;
  color: #3A4560;
}

.field-miss {
  color: #A83552;
}

.report-fields .field-sample {
  padding: 6px 8px;
  background-color: #FBF6ED;
  border-radius: 4px;
  color: #3A4560;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.scope-col {
  padding: 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.scope-col h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.scope-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.scope-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #3A4560;
}

.scope-accept .scope-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2E9E6B;
  font-weight: 700;
}

.scope-reject .scope-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #D24F6E;
  font-weight: 700;
}

.next-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.entry-card {
  display: block;
  padding: 16px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.entry-card:hover {
  border-color: #223A7A;
  transform: translateY(-2px);
}

.entry-card .entry-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #223A7A;
}

.entry-card .entry-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

/* ---------- 404 ---------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.error-panel {
  max-width: 640px;
  padding: 28px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F2793D;
}

.error-title {
  margin-top: 8px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
}

.error-lead {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #5A6478;
}

.error-panel .btn {
  margin-top: 20px;
}

.error-routes {
  margin-top: 40px;
}

.error-routes h2 {
  font-size: 22px;
  font-weight: 700;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.error-route-item {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E6DECD;
  border-radius: 8px;
}

.error-route-item a {
  font-size: 16px;
  font-weight: 700;
  color: #223A7A;
  border-bottom: 1px solid #F2793D;
}

.error-route-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6478;
}

/* --------------------------------------------------------------------------
   5. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .header-inner,
  .home-main,
  .inner-main,
  .page-layout,
  .footer-inner,
  .footer-boundary,
  .error-main {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .primary-nav.site-nav {
    display: none;
  }

  .nav-note {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-list {
    gap: 0;
  }

  .page-title {
    font-size: 30px;
  }

  .hero-panel h1 {
    font-size: 30px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-overview .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-overview .channel-card-lead {
    grid-column: span 2;
  }

  .prepare-layout,
  .entry-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .prepare-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-card-featured {
    grid-column: span 2;
  }

  .basis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps .step-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .step-side {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .step-side .step-num {
    margin-bottom: 0;
  }

  .step-figure {
    flex: 1 1 auto;
    max-width: 280px;
  }

  .step-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-cell {
    border-bottom: 1px solid #E6DECD;
  }

  .flow-cell:nth-child(2n) {
    border-right: 0;
  }

  .flow-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .report-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-mark {
    font-size: 18px;
  }

  .mobile-drawer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-main,
  .inner-main,
  .page-layout,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 48px;
  }

  .footer-inner,
  .footer-boundary {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-panel h1 {
    font-size: 26px;
  }

  .page-head .page-lead,
  .hero-lead,
  .section-intro,
  .section-lead,
  .section-desc {
    font-size: 14px;
  }

  .anchor-bar,
  .anchor-bar ul.anchor-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .anchor-link,
  .anchor-bar a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .home-main > section + section,
  .home-main > figure + section {
    margin-top: 38px;
  }

  .section-head h2,
  .section-title,
  .by-channel h2,
  .by-format h2,
  .sort-help h2,
  .field-notes h2,
  .divide-basis h2,
  .channel-grid h2,
  .channel-detail h2,
  .channel-path h2,
  .main-column h2,
  .dimensions h2,
  .compare-table h2,
  .reading h2,
  .next h2,
  .flow-overview h2,
  .steps h2,
  .blockers h2,
  .faq h2,
  .report h2,
  .scope h2,
  .unresolved h2 {
    font-size: 20px;
  }

  .channel-overview .channel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-overview .channel-card-lead {
    grid-column: span 1;
  }

  .prepare-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 首页专题表改为条目卡 */

  .topic-feature .topic-table-wrap {
    overflow: visible;
  }

  .topic-feature .topic-table {
    min-width: 0;
    border: 0;
    background-color: transparent;
  }

  .topic-feature .topic-table thead {
    display: none;
  }

  .topic-feature .topic-table tbody,
  .topic-feature .topic-table tr,
  .topic-feature .topic-table td {
    display: block;
    width: auto;
  }

  .topic-feature .topic-table tr {
    margin-bottom: 10px;
    padding: 12px 14px;
    background-color: #FFFFFF;
    border: 1px solid #E6DECD;
    border-radius: 8px;
  }

  .topic-feature .topic-table td {
    padding: 2px 0;
    border: 0;
    font-size: 14px;
  }

  .topic-feature .topic-table td.col-seq {
    display: inline-block;
    margin-right: 8px;
    width: auto;
    font-size: 13px;
    font-weight: 700;
    color: #F2793D;
  }

  .topic-feature .topic-table td.col-item {
    display: inline-block;
    width: auto;
    font-weight: 700;
    color: #223A7A;
  }

  .topic-feature .topic-table td.col-duration,
  .topic-feature .topic-table td.col-channel {
    display: inline-block;
    width: auto;
    margin-right: 12px;
    font-size: 13px;
    color: #5A6478;
  }

  .entry-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .entry-duration {
    margin-left: 0;
  }

  /* 目录字段说明 */

  .field-notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 目录表改为字段卡 */

  .by-channel .table-wrap {
    overflow: visible;
  }

  .catalog-table {
    min-width: 0;
    border: 0;
    background-color: transparent;
  }

  .catalog-table thead {
    display: none;
  }

  .catalog-table tbody,
  .catalog-table tr,
  .catalog-table td {
    display: block;
    width: auto;
  }

  .catalog-table tr {
    margin-bottom: 10px;
    padding: 12px 14px;
    background-color: #FFFFFF;
    border: 1px solid #E6DECD;
    border-radius: 8px;
  }

  .catalog-table tr:nth-child(even) {
    background-color: #FFFFFF;
  }

  .catalog-table td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 4px 0;
    border: 0;
    font-size: 14px;
  }

  .catalog-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #5A6478;
    font-size: 13px;
  }

  .catalog-table .num {
    text-align: left;
  }

  .by-format .format-figure img {
    aspect-ratio: 4 / 3;
  }

  .format-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 频道筛选 */

  .basis-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-grid-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-card-featured {
    grid-column: span 1;
  }

  .detail-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .path-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 专题详情 */

  .topic-visual img {
    aspect-ratio: 4 / 3;
  }

  .sequence-table {
    min-width: 0;
    border: 0;
    background-color: transparent;
  }

  .sequence-table thead {
    display: none;
  }

  .sequence-table tbody,
  .sequence-table tr,
  .sequence-table td {
    display: block;
    width: auto;
  }

  .sequence-table tr {
    margin-bottom: 10px;
    padding: 12px 14px;
    background-color: #FFFFFF;
    border: 1px solid #E6DECD;
    border-radius: 8px;
  }

  .sequence-table tr:nth-child(even) {
    background-color: #FFFFFF;
  }

  .sequence-table td {
    padding: 4px 0;
    border: 0;
    font-size: 14px;
  }

  .sequence-table td.col-index {
    display: inline-block;
    margin-right: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #F2793D;
  }

  .sequence-table td.col-item {
    display: block;
    min-width: 0;
  }

  .sequence-table td.col-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 8px;
  }

  .sequence-table td.col-duration {
    display: inline-block;
    margin-right: 12px;
    font-size: 13px;
    color: #5A6478;
  }

  .ways-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .note-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 频道对照 */

  .dimension-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-scroll {
    overflow: visible;
  }

  .compare-grid {
    min-width: 0;
    border: 0;
    background-color: transparent;
  }

  .compare-grid thead {
    display: none;
  }

  .compare-grid tbody,
  .compare-grid tr,
  .compare-grid th,
  .compare-grid td {
    display: block;
    width: auto;
  }

  .compare-grid tbody tr {
    margin-bottom: 12px;
    padding: 12px 14px;
    background-color: #FFFFFF;
    border: 1px solid #E6DECD;
    border-radius: 8px;
  }

  .compare-grid tbody th.compare-dim {
    padding: 0 0 6px;
    background-color: transparent;
    border: 0;
    font-size: 15px;
  }

  .compare-grid tbody td {
    padding: 4px 0;
    border: 0;
    font-size: 14px;
  }

  .compare-grid tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #5A6478;
  }

  .compare-figure img {
    aspect-ratio: 16 / 9;
  }

  .next-grid,
  .next-entries {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 观看准备 */

  .flow-strip {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }

  .flow-cell {
    flex: 0 0 68%;
    border-right: 1px solid #E6DECD;
    border-bottom: 0;
  }

  .flow-cell:nth-child(2n) {
    border-right: 1px solid #E6DECD;
  }

  .flow-cell:last-child {
    border-right: 0;
  }

  .steps .step-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-side {
    flex-direction: column;
  }

  .step-figure {
    max-width: 100%;
    width: 100%;
  }

  .step-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .blocker-row {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 帮助与纠错 */

  .report-visual img {
    aspect-ratio: 4 / 3;
  }

  .report-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 交叉入口 */

  .cross-links-grid,
  .cross-grid,
  .cross-list,
  .cross-links-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 404 */

  .error-panel {
    padding: 20px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-route-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 页脚 */

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .footer-title {
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .channel-overview .channel-card,
  .channel-grid-inner .channel-card,
  .cross-card,
  .next-card,
  .entry-card {
    transition: none;
    transform: none;
  }

  .channel-overview .channel-card:hover,
  .channel-grid-inner .channel-card:hover,
  .cross-card:hover,
  .next-card:hover,
  .entry-card:hover {
    transform: none;
  }
}
