/* ==========================================================================
   番茄影视 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #FBF6EE;
  --paper-deep: #F4ECDF;
  --ink: #211E1B;
  --ink-soft: #4A443D;
  --ink-mute: #6E655B;
  --tomato: #D8452C;
  --tomato-dark: #B4351F;
  --mustard: #E9A93B;
  --mustard-soft: #F6E3BE;
  --green: #1F5C4D;
  --blue: #3A5A78;
  --line: #D9CDBB;
  --line-soft: #E7DDCD;
  --dark: #1B1917;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gap: 40px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

h1 { font-size: 40px; line-height: 1.25; }
h2 { font-size: 22px; line-height: 1.4; }
h3 { font-size: 17px; line-height: 1.5; }

p {
  margin: 0 0 14px;
  max-width: 100%;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--tomato);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .18s ease;
}

a:hover {
  color: var(--tomato-dark);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--tomato);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: var(--tomato);
  color: #FBF6EE;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-item a {
  display: block;
  padding: 6px 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-item a:hover {
  color: var(--tomato);
  text-decoration: none;
}

.nav-item.is-current a {
  color: var(--tomato);
  font-weight: 700;
  border-bottom-color: var(--tomato);
}

.header-cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 18px;
  min-height: 40px;
  border: 1px solid var(--tomato);
  border-radius: var(--radius);
  color: var(--tomato);
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}

.header-cta:hover {
  background-color: var(--tomato);
  color: #FBF6EE;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background-color: var(--paper);
  padding: 20px 24px 40px;
  overflow-y: auto;
}

.mobile-nav-close {
  display: block;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.mobile-nav-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--ink);
  font-size: 16px;
}

.mobile-nav-list a:hover {
  color: var(--tomato);
  text-decoration: none;
}

.site-main {
  display: block;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.home-main {
  padding: 0;
  max-width: 100%;
}

.inner-main {
  min-width: 0;
}

.page-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--gap);
  align-items: start;
}

.breadcrumb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.breadcrumb-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 16px 0 0;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a,
.breadcrumb-current {
  color: var(--ink-mute);
}

.breadcrumb a:hover {
  color: var(--tomato);
}

.breadcrumb-sep {
  color: var(--line);
  margin: 0 6px;
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.page-head {
  margin-bottom: 32px;
}

.page-head .kicker,
.page-head .section-kicker,
.page-head .eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--tomato);
  text-transform: uppercase;
}

.page-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.page-scope,
.page-note,
.page-meta {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
  padding: 10px 14px;
  border-left: 3px solid var(--mustard);
  background-color: var(--mustard-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.site-footer {
  background-color: var(--dark);
  color: #D8CFC2;
  margin-top: 56px;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #FBF6EE;
  margin-bottom: 14px;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #C4B9AA;
  font-size: 14px;
  line-height: 1.6;
}

.footer-list a:hover {
  color: var(--mustard);
  text-decoration: none;
}

.footer-text {
  font-size: 13px;
  line-height: 1.8;
  color: #A99E90;
  margin: 0;
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px 26px;
  border-top: 1px solid #35302B;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: #FBF6EE;
}

.footer-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #A99E90;
}

/* --------------------------------------------------------------------------
   components · 通用元件
   -------------------------------------------------------------------------- */

.kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--tomato);
  text-transform: uppercase;
}

.kicker-light {
  color: var(--mustard);
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-mute);
  margin: 0;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--tomato);
  text-transform: uppercase;
}

.section-intro,
.section-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.link-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--tomato);
  border-bottom: 1px solid transparent;
}

.link-more::after {
  content: " →";
}

.link-more:hover {
  text-decoration: none;
  border-bottom-color: var(--tomato);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  background-color: var(--tomato);
  color: #FBF6EE;
  border-color: var(--tomato);
}

.btn-primary:hover {
  background-color: var(--tomato-dark);
  border-color: var(--tomato-dark);
  color: #FBF6EE;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background-color: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.btn-light {
  background-color: var(--mustard);
  color: var(--dark);
  border-color: var(--mustard);
  align-self: flex-start;
}

.btn-light:hover {
  background-color: #F2BC60;
  border-color: #F2BC60;
  color: var(--dark);
  text-decoration: none;
}

/* 图片容器统一约束 */
.hero-media,
.focus-cover,
.channel-figure,
.topic-media,
.media-figure,
.content-figure,
.page-media,
.editorial-figure {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.hero-media img,
.focus-cover img,
.channel-figure img,
.topic-media img,
.media-figure img,
.content-figure img,
.page-media img,
.editorial-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-caption,
.focus-caption,
.channel-figure figcaption,
.topic-media figcaption,
.media-figure figcaption,
.content-figure figcaption,
.page-media figcaption,
.editorial-figure figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  padding: 8px 2px 0;
}

/* FAQ 折叠 */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 16px 40px 16px 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--tomato);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--tomato);
}

.faq-answer {
  padding: 0 0 18px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 侧栏 */
.page-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aside-block {
  background-color: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}

.aside-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.aside-list li {
  margin-bottom: 8px;
}

.aside-list li:last-child {
  margin-bottom: 0;
}

.aside-list a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 3px 0;
}

.aside-list a:hover {
  color: var(--tomato);
}

.aside-note,
.aside-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 12px 0 0;
}

.aside-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
}

.aside-block-accent {
  background-color: var(--mustard-soft);
  border-color: #E2C88A;
}

/* 相关内容条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.related-links-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

.related-links-item {
  font-size: 14px;
  color: var(--tomato);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main .hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}

.hero-media {
  border: 1px solid var(--line);
}

.hero-media img {
  aspect-ratio: 16 / 11;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-fact {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  min-width: 0;
}

.fact-num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--tomato);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.next-strip {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.next-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  padding: 18px 20px 18px 0;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.next-item:last-child {
  border-right: 0;
}

.next-item:hover {
  text-decoration: none;
  color: var(--tomato);
}

.next-num {
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--mustard);
  line-height: 1.2;
}

.next-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.next-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.channel-directory,
.topic-focus,
.task-panel,
.viewing-brief,
.editorial-standard,
.faq-preview {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px;
  border-bottom: 1px solid var(--line);
}

.channel-list {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.channel-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--mustard);
  line-height: 1.3;
}

.channel-body {
  min-width: 0;
}

.channel-name {
  font-size: 17px;
  margin-bottom: 4px;
}

.channel-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.channel-tag,
.channel-exclude {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}

.channel-tag::before {
  content: "代表专题 · ";
  color: var(--tomato);
}

.channel-exclude::before {
  content: "不覆盖 · ";
  color: var(--tomato);
}

.channel-link {
  align-self: center;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.channel-link::after {
  content: " →";
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: start;
}

.focus-lead {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--paper-deep);
}

.focus-cover {
  border-radius: 0;
}

.focus-cover img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.focus-caption {
  padding: 8px 16px 0;
}

.focus-copy {
  padding: 16px 18px 20px;
}

.focus-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--tomato);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.focus-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.focus-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.focus-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.focus-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.focus-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--green);
  background-color: #E4EDE9;
  border-radius: 4px;
}

.focus-item-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.focus-item-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 0;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.task-col {
  min-width: 0;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.task-num {
  display: inline-block;
  margin-bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background-color: var(--mustard);
  color: var(--dark);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.task-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.task-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.brief-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.brief-item {
  min-width: 0;
  padding: 18px;
  border-left: 3px solid var(--green);
  background-color: var(--paper-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.brief-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--green);
}

.brief-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.entry-band {
  background-color: var(--dark);
  color: #E8DFD3;
}

.entry-band-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-areas:
    "copy points"
    "copy action";
  gap: 16px 40px;
  align-items: start;
}

.entry-band-copy {
  grid-area: copy;
  min-width: 0;
}

.entry-band-copy h2 {
  color: #FBF6EE;
  margin-bottom: 10px;
}

.entry-band-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #C4B9AA;
  margin: 0;
}

.entry-points {
  grid-area: points;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.entry-point {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.entry-num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--mustard);
}

.entry-text {
  font-size: 14px;
  line-height: 1.75;
  color: #E8DFD3;
  margin: 0;
}

.entry-band-inner .btn-light {
  grid-area: action;
  margin-top: 6px;
}

.editorial-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px 32px;
  align-items: start;
}

.editorial-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

.editorial-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.editorial-point {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
  min-width: 0;
}

.point-name {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.editorial-body .link-more {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.faq-preview .faq-more {
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   pages · 内页公共块
   -------------------------------------------------------------------------- */

.inner-main section {
  margin-bottom: 40px;
}

.inner-main section:last-child {
  margin-bottom: 0;
}

.inner-main h2 {
  margin-bottom: 10px;
}

/* 内页频道 / 目录行（题材图谱、本季专题） */
.channel-overview .channel-list,
.topic-catalog .catalog-list {
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.channel-overview .channel-row,
.topic-catalog .catalog-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.topic-catalog .catalog-body {
  min-width: 0;
}

.topic-catalog .catalog-name {
  font-size: 17px;
  margin-bottom: 4px;
}

.topic-catalog .catalog-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--blue);
  background-color: #E3E9EF;
  border-radius: 4px;
}

.topic-catalog .catalog-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.topic-catalog .catalog-link {
  align-self: center;
  font-size: 14px;
  white-space: nowrap;
}

.topic-catalog .catalog-link::after {
  content: " →";
}

/* 表格通用 */
.topic-table,
.dimension-table,
.data-table {
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.topic-table caption,
.dimension-table caption,
.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--ink-mute);
  padding: 0 0 8px;
}

.topic-table th,
.topic-table td,
.dimension-table th,
.dimension-table td,
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.topic-table thead th,
.dimension-table thead th,
.data-table thead th {
  background-color: var(--paper-deep);
  font-weight: 700;
  color: var(--ink);
}

.topic-table tbody th,
.dimension-table tbody th,
.data-table tbody th {
  font-weight: 500;
  color: var(--ink);
  background-color: #F7F0E4;
  white-space: normal;
}

.topic-table tbody tr:last-child th,
.topic-table tbody tr:last-child td,
.dimension-table tbody tr:last-child th,
.dimension-table tbody tr:last-child td,
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages · 题材图谱
   -------------------------------------------------------------------------- */

.channel-figure {
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.channel-figure img {
  aspect-ratio: 16 / 8;
}

.channel-boundary .boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.boundary-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.boundary-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.boundary-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.channel-cross .cross-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.cross-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cross-step-num {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: var(--mustard);
  color: var(--dark);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.cross-step h3 {
  font-size: 16px;
  margin-bottom: 2px;
}

.cross-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.channel-topic-map .topic-table {
  margin-top: 6px;
}

.channel-method p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 本季专题
   -------------------------------------------------------------------------- */

.topic-detail {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.topic-detail:last-of-type {
  border-bottom: 0;
}

.topic-media {
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.topic-media img {
  aspect-ratio: 16 / 8;
}

.topic-detail-head {
  margin-bottom: 14px;
}

.topic-detail-head h2 {
  font-size: 22px;
}

.topic-reason h3,
.topic-items h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--tomato);
  margin-bottom: 6px;
}

.topic-reason {
  margin-bottom: 16px;
}

.topic-reason p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.topic-items {
  margin-bottom: 14px;
}

.item-list {
  border-top: 1px solid var(--line);
}

.item-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.item-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.topic-order {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding: 10px 14px;
  background-color: var(--paper-deep);
  border-left: 3px solid var(--mustard);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}

.order-advice .advice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.advice-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.advice-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.advice-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.topic-lifecycle .lifecycle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.lifecycle-item {
  min-width: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background-color: var(--paper-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.lifecycle-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.lifecycle-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.lifecycle-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.lifecycle-note a + a {
  margin-left: 12px;
}

/* --------------------------------------------------------------------------
   pages · 观看说明
   -------------------------------------------------------------------------- */

.media-figure {
  margin-bottom: 32px;
  border: 1px solid var(--line);
}

.media-figure img {
  aspect-ratio: 16 / 8;
}

.device-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.device-tab {
  min-height: 44px;
  padding: 8px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background-color: var(--paper);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.device-tab:last-child {
  border-right: 0;
}

.device-tab:hover {
  color: var(--tomato);
}

.device-tab.is-active {
  background-color: var(--tomato);
  color: #FBF6EE;
  font-weight: 700;
}

.device-panel {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.device-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.dimension-table {
  margin-top: 6px;
}

.save-section > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.save-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.save-step {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.step-no {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 4px;
  background-color: var(--mustard);
  color: var(--dark);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.save-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.save-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.prompt-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.prompt-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.prompt-tag {
  display: inline-block;
  padding: 1px 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--green);
  background-color: #E4EDE9;
  border-radius: 4px;
  justify-self: start;
}

.prompt-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.related-list li {
  min-width: 0;
}

.related-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.related-list a:hover {
  color: var(--tomato);
  border-color: var(--tomato);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   pages · 入口识别
   -------------------------------------------------------------------------- */

.content-block {
  margin-bottom: 40px;
}

.content-block > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.content-figure {
  margin: 18px 0;
  border: 1px solid var(--line);
}

.content-figure img {
  aspect-ratio: 16 / 8;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.step-index,
.step-num {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: var(--tomato);
  color: #FBF6EE;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.step-body {
  min-width: 0;
}

.step-body h3,
.step-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.step-body p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  min-width: 520px;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.feedback-step {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.feedback-index {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 4px;
  background-color: var(--mustard);
  color: var(--dark);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.feedback-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feedback-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.record-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.record-item {
  min-width: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background-color: var(--paper-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.record-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.record-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 选片标准
   -------------------------------------------------------------------------- */

.dim-list {
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.dim-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dim-index {
  grid-row: 1 / span 3;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: var(--blue);
  color: #FBF6EE;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.dim-body {
  min-width: 0;
}

.dim-body h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.dim-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.dim-body p:last-child {
  margin-bottom: 0;
}

.dim-counter {
  font-size: 13px;
  color: var(--ink-mute);
  padding-left: 10px;
  border-left: 2px solid var(--line);
}

.editorial-figure {
  margin: 0 0 18px;
  border: 1px solid var(--line);
}

.editorial-figure img {
  aspect-ratio: 16 / 8;
}

.editorial-rank > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.change-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.change-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.change-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.change-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.correction-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.correction-item {
  min-width: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  background-color: var(--paper-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.correction-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.correction-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.correction-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
  padding: 10px 14px;
  border-left: 3px solid var(--mustard);
  background-color: var(--mustard-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* --------------------------------------------------------------------------
   pages · 常见问题
   -------------------------------------------------------------------------- */

.page-media {
  margin-bottom: 32px;
  border: 1px solid var(--line);
}

.page-media img {
  aspect-ratio: 16 / 8;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group .section-title,
.correct-steps .section-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.correct-steps .step-item {
  grid-template-columns: 44px minmax(0, 1fr);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  padding: 56px 24px 72px;
}

.error-block {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.error-code {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--mustard);
  margin: 0 0 12px;
}

.error-title {
  font-size: 32px;
  margin-bottom: 14px;
}

.error-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.error-home,
.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--paper-deep);
}

.error-home {
  background-color: var(--tomato);
  border-color: var(--tomato);
  color: #FBF6EE;
}

.error-home:hover {
  background-color: var(--tomato-dark);
  border-color: var(--tomato-dark);
  color: #FBF6EE;
  text-decoration: none;
}

.error-link:hover {
  color: var(--tomato);
  border-color: var(--tomato);
  text-decoration: none;
}

.error-hint {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.error-hint-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.error-hint-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.error-hint-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--mustard);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .header-inner {
    gap: 16px;
  }

  .nav-item a {
    padding: 6px 7px;
    font-size: 14px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }

  .hero-inner {
    gap: 28px;
  }

  .focus-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .editorial-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-body .link-more {
    grid-column: auto;
  }

  .task-grid,
  .brief-list,
  .boundary-list,
  .advice-list,
  .lifecycle-list,
  .save-steps,
  .feedback-steps,
  .change-grid,
  .correction-types,
  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  h1,
  .page-title,
  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  h2,
  .faq-group .section-title,
  .correct-steps .section-title,
  .topic-detail-head h2 {
    font-size: 19px;
  }

  body {
    font-size: 15.5px;
    line-height: 1.75;
  }

  /* 页头：桌面导航收起，汉堡按钮显示 */
  .header-inner {
    padding: 0 18px;
    min-height: 64px;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .nav-list {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
  }

  .nav-toggle {
    display: flex;
  }

  /* 布局 */
  .site-main {
    padding: 0 18px;
  }

  .home-main {
    padding: 0;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 0 18px 40px;
  }

  .page-aside {
    gap: 20px;
  }

  .breadcrumb-inner {
    padding: 0 18px;
  }

  .breadcrumb-list {
    padding-top: 12px;
  }

  .page-header {
    padding: 14px 0 12px;
    margin-bottom: 20px;
  }

  .page-head {
    margin-bottom: 26px;
  }

  .page-lead {
    font-size: 15.5px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 32px 18px 24px;
  }

  .footer-bottom {
    padding: 16px 18px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* 首页首屏：图在上，文字在下 */
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 24px 18px 32px;
  }

  .hero-media {
    order: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-title {
    margin-bottom: 12px;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  /* 下一屏预告条 */
  .next-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 18px;
  }

  .next-item {
    padding: 14px 14px 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .next-item:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .next-item:last-child {
    border-bottom: 0;
    grid-column: 1 / -1;
  }

  /* 首页区块 */
  .channel-directory,
  .topic-focus,
  .task-panel,
  .viewing-brief,
  .editorial-standard,
  .faq-preview {
    padding: 32px 18px;
  }

  .channel-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 16px 0;
  }

  .channel-num {
    font-size: 18px;
  }

  .channel-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }

  .task-grid,
  .brief-list,
  .boundary-list,
  .advice-list,
  .lifecycle-list,
  .save-steps,
  .feedback-steps,
  .change-grid,
  .correction-types,
  .related-list,
  .record-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-band-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "points"
      "action";
    padding: 30px 18px;
    gap: 18px;
  }

  .entry-band-inner .btn-light {
    justify-self: start;
    margin-top: 0;
  }

  /* 内页目录行 */
  .channel-overview .channel-row,
  .topic-catalog .catalog-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px 0;
  }

  .channel-overview .channel-link,
  .topic-catalog .catalog-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }

  /* 表格改为横向可滚动容器，避免撑破视口 */
  .topic-table,
  .dimension-table,
  .data-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
  }

  .topic-table caption,
  .dimension-table caption,
  .data-table caption {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .topic-table thead,
  .topic-table tbody,
  .dimension-table thead,
  .dimension-table tbody,
  .data-table thead,
  .data-table tbody {
    display: table;
    width: 100%;
    min-width: 520px;
    table-layout: fixed;
  }

  .topic-table tr,
  .dimension-table tr,
  .data-table tr {
    display: table-row;
  }

  .topic-table th,
  .topic-table td,
  .dimension-table th,
  .dimension-table td,
  .data-table th,
  .data-table td {
    display: table-cell;
    padding: 9px 10px;
    font-size: 13.5px;
  }

  .data-table {
    min-width: 0;
  }

  /* 观看说明 */
  .device-tabs {
    display: flex;
    width: 100%;
  }

  .device-tab {
    flex: 1 1 0;
    padding: 8px 6px;
    font-size: 13.5px;
  }

  .prompt-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  /* 步骤块 */
  .cross-step,
  .step-item,
  .dim-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .cross-step-num,
  .step-index,
  .step-num,
  .dim-index {
    width: 28px;
    height: 28px;
    font-size: 14px;
    line-height: 28px;
  }

  /* 404 */
  .error-main {
    padding: 40px 18px 56px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-hint {
    padding: 18px;
  }

  .related-links {
    margin-top: 26px;
  }
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .next-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-item {
    border-right: 0;
    padding-right: 0;
  }

  .next-item:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .device-tabs {
    flex-wrap: wrap;
  }

  .device-tab {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .device-tab:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
