/* ============================================================
   zgtwsp.com · 大象短剧 整站样式表
   视觉方向：创意工作室风 / 编辑底稿式
   基础色：暖底墨字 + 橙红点缀
   ============================================================ */

/* ------------------------------------------------------------
   Base · 基础变量与元素级样式
   ------------------------------------------------------------ */
:root {
  --bg-page: #F5F1E8;
  --bg-card: #FFFFFF;
  --bg-soft: #EDE7DA;
  --bg-deep: #201D18;
  --text-ink: #201D18;
  --text-strong: #000000;
  --text-sub: #3A362E;
  --text-faint: #6B655A;
  --accent: #DD4B22;
  --accent-dark: #B83A18;
  --line: #D8D0BF;
  --line-light: #E5DECF;
  --radius: 6px;
  --container: 1160px;
  --reading: 820px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 4px rgba(32, 29, 24, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-ink);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

body.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

h1, h2, h3, h4 {
  color: var(--text-ink);
  line-height: 1.35;
  font-weight: 700;
}

h1 {
  font-size: 38px;
  font-weight: 750;
  letter-spacing: 0;
}

h2 {
  font-size: 23px;
  font-weight: 650;
}

h3 {
  font-size: 17px;
  font-weight: 650;
}

p {
  color: var(--text-sub);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding-left: 0;
  list-style: none;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-faint);
  margin-top: 8px;
}

::selection {
  background: rgba(221, 75, 34, 0.2);
}

.site-main {
  flex: 1 0 auto;
}

/* ------------------------------------------------------------
   Layout · 全站共用容器与页头骨架
   ------------------------------------------------------------ */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.header-top,
.header-bottom,
.site-main > section,
.site-main > div,
.site-main > nav,
.site-main > figure,
.footer-statement,
.footer-columns,
.footer-bottom {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.header-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.site-brand {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
}

.site-brand a {
  color: var(--text-ink);
  text-decoration: none;
}

.site-brand a:hover {
  color: var(--accent);
}

.site-slogan {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  line-height: 1.4;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-list a:hover {
  color: var(--accent);
}

.nav-list a.is-current {
  color: var(--text-ink);
  border-bottom-color: var(--accent);
}

/* ------------------------------------------------------------
   Layout · 内页统一外壳
   ------------------------------------------------------------ */
.site-main.inner-main {
  padding-top: 32px;
  padding-bottom: 72px;
}

.inner-main > .breadcrumb,
.inner-main > .page-header {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-layout {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.page-layout .main-content {
  min-width: 0;
}

.inner-main > .breadcrumb,
.page-layout .breadcrumb {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-faint);
  margin: 0 2px;
}

.breadcrumb-current {
  color: var(--text-faint);
}

.inner-main > .page-header,
.page-layout .page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: 36px;
  font-weight: 750;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
  max-width: 760px;
}

/* ------------------------------------------------------------
   Components · 首页 首屏与频道清单
   ------------------------------------------------------------ */
.hero-position {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 52px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 40px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 18px;
  max-width: 620px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 14px;
  max-width: 600px;
}

.hero-note {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-faint);
  margin-bottom: 26px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: var(--text-ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(221, 75, 34, 0.04);
}

.content-media {
  margin: 0;
}

.content-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-media figcaption {
  text-align: right;
}

.hero-content-preview {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line-light);
}

.preview-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.preview-item {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.preview-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.preview-item h2 {
  font-size: 19px;
  margin-bottom: 4px;
}

.preview-item h2 a {
  color: var(--text-ink);
}

.preview-item h2 a:hover {
  color: var(--accent);
}

.preview-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-faint);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
  padding-top: 16px;
  padding-bottom: 56px;
}

.catalog-main {
  min-width: 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 26px;
  font-weight: 750;
  margin-bottom: 6px;
}

.section-heading p {
  font-size: 15px;
  color: var(--text-faint);
}

.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.catalog-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.catalog-filter a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-item {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-item:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.catalog-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.catalog-item-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-ink);
}

.catalog-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(221, 75, 34, 0.08);
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.catalog-item > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.catalog-item > a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  min-height: 32px;
}

.reading-context-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.context-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
}

.context-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-soft);
}

.context-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.task-exit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 64px;
}

.exit-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exit-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.exit-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.exit-card p {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 14px;
  line-height: 1.8;
}

.exit-card a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  font-weight: 650;
}

/* ------------------------------------------------------------
   Components · 类型底稿页
   ------------------------------------------------------------ */
.type-groups {
  margin-bottom: 36px;
}

.type-groups > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.type-groups > p {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 28px;
}

.group-item {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.group-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.group-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.type-signal-figure {
  margin-bottom: 40px;
}

.type-signal-figure img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.type-signal-figure figcaption {
  text-align: right;
}

.type-quick-card {
  margin-bottom: 48px;
}

.type-quick-card > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.type-quick-card > p {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.tag-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tag-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s ease;
}

.tag-card:hover {
  border-color: var(--line);
}

.tag-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-ink);
}

.tag-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.reading-note {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 32px;
}

.reading-note h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.reading-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.reading-note p:last-child {
  margin-bottom: 0;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.related-link {
  flex: 1 1 260px;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-link:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.related-link-label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 4px;
}

.related-link:hover .related-link-label {
  color: var(--accent);
}

.related-link-desc {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-faint);
}

/* ------------------------------------------------------------
   Components · 入口核验页
   ------------------------------------------------------------ */
.conclusion-card {
  margin-bottom: 44px;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.section-title {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 18px;
}

.conclusion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.conclusion-item {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
}

.conclusion-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-ink);
}

.conclusion-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.channel-comparison,
.check-steps {
  margin-bottom: 48px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 18px;
  max-width: 720px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-light);
}

.comparison-table thead th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text-ink);
  white-space: nowrap;
  font-size: 14px;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th {
  font-weight: 650;
  color: var(--text-ink);
  white-space: nowrap;
  width: 120px;
  background: rgba(245, 241, 232, 0.4);
}

.comparison-table td {
  color: var(--text-sub);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  position: relative;
  transition: border-color 0.2s ease;
}

.step-card:hover {
  border-color: var(--line);
}

.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.check-image-figure {
  margin: 40px 0;
}

.check-image-figure img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.check-image-figure figcaption {
  text-align: right;
}

.boundary-note {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 8px;
}

.boundary-note .section-title {
  margin-bottom: 10px;
}

.boundary-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.boundary-note p:last-child {
  margin-bottom: 0;
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  flex: 1 1 300px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.related-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.related-card p {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.75;
  margin-bottom: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 650;
}

/* ------------------------------------------------------------
   Components · 观剧提醒页
   ------------------------------------------------------------ */
.warning-list {
  margin-bottom: 44px;
}

.warning-list > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.warning-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}

.warning-item:hover {
  border-color: var(--line);
}

.warning-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(221, 75, 34, 0.1);
  color: var(--accent);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
}

.warning-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.warning-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.warning-image-line {
  margin: 40px 0;
}

.warning-figure img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.warning-figure figcaption {
  text-align: right;
}

.feedback-note {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 8px 0 44px;
}

.feedback-note h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feedback-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.feedback-note p:last-child {
  margin-bottom: 0;
}

.feedback-note a {
  font-weight: 650;
}

/* ------------------------------------------------------------
   Components · 专题拆解页
   ------------------------------------------------------------ */
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 44px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.result-item {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.result-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent);
}

.result-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.comparison-section {
  margin-bottom: 44px;
}

.section-note {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.comparison-figure {
  margin: 40px 0;
}

.comparison-figure img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.comparison-figure figcaption {
  text-align: right;
}

.scene-advice {
  margin-bottom: 40px;
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.advice-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.2s ease;
}

.advice-card:hover {
  border-color: var(--line);
}

.advice-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.advice-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.advice-link-line {
  margin-top: 20px;
  font-size: 15px;
}

.advice-link-line a {
  font-weight: 650;
}

.related-links .related-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  flex-basis: 100%;
}

.related-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.related-links ul li {
  flex: 1 1 300px;
}

.related-links ul a {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links ul a:hover {
  border-color: var(--line);
  color: var(--accent);
}

/* ------------------------------------------------------------
   Components · 词义签页
   ------------------------------------------------------------ */
.term-group {
  margin-bottom: 44px;
}

.term-group > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.group-intro {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 20px;
  max-width: 680px;
}

.term-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.term-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.term-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.term-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-ink);
}

.term-card h3::before {
  content: "签";
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(221, 75, 34, 0.1);
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 8px;
  vertical-align: 2px;
}

.term-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.term-image-note {
  margin: 36px 0;
}

.term-image-note img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.term-image-note figcaption {
  text-align: right;
}

.main-content .related-links {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 40px;
}

.main-content .related-links h2 {
  display: block;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.main-content .related-links > p {
  display: block;
  font-size: 14px;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-list li {
  margin: 0;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 16px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.link-list a:hover {
  background: rgba(221, 75, 34, 0.1);
  color: var(--accent);
}

.reading-note-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
}

.aside-card h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-soft);
}

.aside-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.aside-card p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   Components · 疑问笺页
   ------------------------------------------------------------ */
.faq-group {
  margin-bottom: 48px;
  max-width: var(--reading);
}

.faq-group .section-title {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 18px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-sub);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
  background: rgba(221, 75, 34, 0.1);
  color: var(--accent);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px 22px;
  border-top: 1px solid var(--line-light);
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
  margin-top: 14px;
}

.faq-answer a {
  font-weight: 650;
}

.faq-image-note {
  max-width: var(--reading);
  margin: 16px 0 0;
}

.faq-image-note img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.faq-image-note figcaption {
  text-align: right;
}

/* ------------------------------------------------------------
   Components · 404 错误页
   ------------------------------------------------------------ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1 0 auto;
}

.error-panel {
  max-width: 620px;
  width: 100%;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 52px 40px;
  box-shadow: var(--shadow);
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 28px;
  font-weight: 750;
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.error-home-link,
.error-actions a:not(.error-home-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.error-home-link {
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
}

.error-home-link:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #FFFFFF;
}

.error-actions a:not(.error-home-link) {
  background: transparent;
  color: var(--text-ink);
  border: 1px solid var(--line);
}

.error-actions a:not(.error-home-link):hover {
  border-color: var(--accent);
  color: var(--accent);
}

.error-tip {
  font-size: 13px;
  color: var(--text-faint);
}

/* ------------------------------------------------------------
   Components · 全站页脚
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg-deep);
  color: #F5F1E8;
  margin-top: auto;
}

.footer-statement {
  padding-top: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-statement p {
  font-size: 14px;
  line-height: 1.8;
  color: #B8B0A2;
  max-width: 800px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 32px;
}

.footer-col h2 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #B8B0A2;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #8F887C;
}

.footer-bottom p {
  font-size: 13px;
  color: #8F887C;
}

.footer-feedback-note {
  font-size: 13px;
  color: #8F887C;
  max-width: 640px;
}

.footer-feedback-note a {
  color: #D8D0BF;
  text-decoration: underline;
}

.footer-feedback-note a:hover {
  color: #FFFFFF;
}

/* ------------------------------------------------------------
   Animations · 滚动入场动效（增强，不影响初始可见性）
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

/* ------------------------------------------------------------
   Responsive · 响应式适配
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero-position {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
  }
  .catalog-layout {
    gap: 32px;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 32px;
  }
  .page-title {
    font-size: 30px;
  }
  .hero-copy h1 {
    font-size: 34px;
  }
  .hero-position {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }
  .content-media-primary {
    order: 2;
  }
  .hero-content-preview {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .reading-context-aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .page-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .reading-note-aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 14px;
    padding-bottom: 10px;
  }
  .header-bottom {
    position: relative;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 12px;
    top: 4px;
    z-index: 5;
  }
  .site-nav {
    width: 100%;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 12px 0;
  }
  .nav-list.is-open {
    display: flex;
  }
  .nav-list a {
    padding: 14px 8px;
    border-bottom: 0;
    border-left: 3px solid transparent;
    font-size: 16px;
  }
  .nav-list a.is-current {
    border-left-color: var(--accent);
    background: rgba(221, 75, 34, 0.04);
  }
  .hero-position {
    padding-top: 32px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  .task-exit {
    grid-template-columns: 1fr;
  }
  .tag-card-list {
    grid-template-columns: 1fr;
  }
  .conclusion-grid {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
  .advice-grid {
    grid-template-columns: 1fr;
  }
  .term-card-list {
    grid-template-columns: 1fr;
  }
  .related-links {
    flex-direction: column;
    align-items: stretch;
  }
  .related-link {
    flex-basis: auto;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .error-panel {
    padding: 40px 24px;
  }
  .error-code {
    font-size: 56px;
  }
  .reading-context-aside {
    grid-template-columns: 1fr;
  }
  .reading-note-aside {
    grid-template-columns: 1fr;
  }
  .warning-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }
  .warning-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .faq-item summary {
    padding: 16px 16px;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 16px 16px 16px;
  }
}

@media (max-width: 480px) {
  .header-top,
  .header-bottom,
  .site-main > section,
  .site-main > div,
  .site-main > nav,
  .site-main > figure,
  .footer-statement,
  .footer-columns,
  .footer-bottom,
  .inner-main > .breadcrumb,
  .inner-main > .page-header,
  .page-layout {
    padding-left: 16px;
    padding-right: 16px;
  }
  h1 {
    font-size: 28px;
  }
  .page-title {
    font-size: 26px;
  }
  .hero-copy h1 {
    font-size: 29px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-note {
    font-size: 14px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .catalog-item {
    padding: 16px 16px;
  }
  .catalog-item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .catalog-tag {
    margin-bottom: 2px;
  }
  .exit-card {
    padding: 22px 20px;
  }
  .conclusion-card {
    padding: 22px 18px;
  }
  .result-card {
    padding: 22px 18px;
  }
  .table-scroll,
  .table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 12px;
    font-size: 13px;
  }
  .feedback-note {
    padding: 22px 18px;
  }
  .boundary-note {
    padding: 22px 18px;
  }
  .reading-note {
    padding: 20px 18px;
  }
  .error-panel {
    padding: 36px 18px;
  }
  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .error-home-link,
  .error-actions a:not(.error-home-link) {
    width: 100%;
  }
  .nav-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
