/* ==========================================================
   糖心御梦子 · 全站样式表
   暗色视频库风 · 近黑底 · 红绿状态色
   ========================================================== */

/* ==========================================================
   01 · Base —— 全局基础
   ========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: #0d0f12;
  color: #e8eaed;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #3e8bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #6ba6ff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #3e8bff;
  outline-offset: 2px;
  border-radius: 4px;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* ==========================================================
   02 · Layout —— 全站布局骨架
   ========================================================== */

.header-shell,
.footer-shell,
.hero-section,
.section-block,
.inner-main,
.error-shell {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- 页头 ---------- */

.site-header {
  background-color: #111418;
  border-bottom: 1px solid #1f242b;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #e8eaed;
}

.brand-link:hover {
  color: #ffffff;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #2a3038;
  border-radius: 6px;
  background-color: #16191f;
  min-height: 44px;
  color: #e8eaed;
  cursor: pointer;
}

.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 2px;
  background-color: #e8eaed;
  position: relative;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: #e8eaed;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-toggle-text {
  font-size: 14px;
  font-weight: 500;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #aeb4bd;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
  line-height: 1.4;
}

.nav-list a:hover {
  color: #ffffff;
  background-color: #1f242b;
}

.nav-list a.is-current {
  color: #ffffff;
  background-color: #1f242b;
  font-weight: 600;
}

.nav-list a.is-current::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background-color: #3e8bff;
  border-radius: 2px;
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  padding-bottom: 4px;
  font-size: 14px;
  color: #8a919c;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #8a919c;
}

.breadcrumb a:hover {
  color: #3e8bff;
}

.breadcrumb-sep {
  color: #4a515a;
  user-select: none;
}

.breadcrumb-current {
  color: #e8eaed;
  font-weight: 500;
}

/* ---------- 内页标题区 ---------- */

.page-header {
  padding: 28px 0 8px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #f2f4f7;
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: #aeb4bd;
  max-width: 760px;
}

/* ---------- 内页主体 ---------- */

.inner-main {
  padding-top: 8px;
  padding-bottom: 64px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  background-color: #111418;
  border-top: 1px solid #1f242b;
  padding-top: 48px;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #f2f4f7;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #8a919c;
  line-height: 1.6;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #e8eaed;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #8a919c;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #3e8bff;
}

.footer-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  border-left: 3px solid #e5484d;
  padding-left: 12px;
}

.footer-bottom {
  border-top: 1px solid #1f242b;
  padding: 20px 0;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: #6b7280;
}

/* ==========================================================
   03 · Components —— 通用组件
   ========================================================== */

/* ---------- 区块标题 ---------- */

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #f2f4f7;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #3e8bff;
  border-radius: 2px;
}

/* ---------- 链接按钮 ---------- */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.btn-primary {
  background-color: #3e8bff;
  color: #ffffff;
  border: 1px solid #3e8bff;
}

.btn-primary:hover {
  background-color: #2f7ae8;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #e8eaed;
  border: 1px solid #3a414b;
}

.btn-secondary:hover {
  border-color: #3e8bff;
  color: #3e8bff;
  transform: translateY(-1px);
}

/* ---------- 更多链接 ---------- */

.more-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #3e8bff;
  padding: 6px 0;
}

.more-link:hover {
  color: #6ba6ff;
}

.more-link::after {
  content: "→";
  margin-left: 6px;
  transition: margin-left 0.2s ease;
}

.more-link:hover::after {
  margin-left: 10px;
}

/* ---------- 折叠问答 ---------- */

.faq-item {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #2a3038;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #e8eaed;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #8a919c;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: #3e8bff;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  color: #aeb4bd;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- 内容图片 ---------- */

.content-media {
  margin: 20px 0;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #1f242b;
}

.content-media figcaption {
  font-size: 13px;
  color: #8a919c;
  margin-top: 8px;
  text-align: center;
}

.content-media-inline {
  max-width: 640px;
}

/* ==========================================================
   04 · Pages —— 首页
   ========================================================== */

/* ---------- Hero 焦点区 ---------- */

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  color: #f2f4f7;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-lead {
  font-size: 17px;
  color: #aeb4bd;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #1f242b;
}

/* ---------- 通用区块间距 ---------- */

.section-block {
  padding-top: 48px;
  padding-bottom: 16px;
}

/* ---------- 频道分类横向片单 ---------- */

.channel-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.channel-card {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
  border-color: #3e8bff;
  transform: translateY(-2px);
}

.channel-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #1f242b;
}

.channel-name {
  font-size: 17px;
  font-weight: 600;
  color: #f2f4f7;
  padding: 16px 16px 4px;
}

.channel-tags {
  font-size: 13px;
  color: #8a919c;
  padding: 0 16px 16px;
  line-height: 1.5;
}

/* ---------- 专题片单推荐 ---------- */

.topic-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
  border-color: #3e8bff;
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #1f242b;
}

.topic-name {
  font-size: 17px;
  font-weight: 600;
  color: #f2f4f7;
  padding: 16px 16px 4px;
}

.topic-desc {
  font-size: 14px;
  color: #aeb4bd;
  padding: 0 16px;
  line-height: 1.6;
}

.topic-audience {
  font-size: 13px;
  color: #6b7280;
  padding: 8px 16px 16px;
  line-height: 1.5;
}

.topic-audience::before {
  content: "适合人群 · ";
  color: #3e8bff;
  font-weight: 500;
}

/* ---------- 更新动态时间线 ---------- */

.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.timeline-item {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 20px;
  border-left: 3px solid #46a758;
}

.timeline-date {
  display: inline-block;
  font-family: "SF Mono", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 13px;
  color: #46a758;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-event {
  font-size: 16px;
  font-weight: 600;
  color: #e8eaed;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: #8a919c;
  line-height: 1.6;
}

/* ---------- 双入口条 ---------- */

.entry-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.entry-card {
  display: block;
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.entry-card:hover {
  border-color: #3e8bff;
  transform: translateY(-2px);
}

.entry-card:nth-child(2) {
  border-left: 3px solid #46a758;
}

.entry-title {
  font-size: 18px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 8px;
}

.entry-title::before {
  content: "→ ";
  color: #3e8bff;
}

.entry-card:nth-child(2) .entry-title::before {
  content: "✓ ";
  color: #46a758;
}

.entry-desc {
  font-size: 14px;
  color: #8a919c;
  line-height: 1.6;
}

/* ---------- FAQ 摘选 ---------- */

.faq-preview .faq-item {
  max-width: 100%;
}

/* ==========================================================
   05 · Pages —— 频道分类页
   ========================================================== */

.category-overview,
.channel-group-tags,
.related-topics {
  margin-top: 36px;
}

.table-wrap {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  overflow-x: auto;
}

.category-table {
  min-width: 640px;
}

.category-table th,
.category-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #1f242b;
}

.category-table th {
  font-size: 14px;
  font-weight: 600;
  color: #8a919c;
  background-color: #111418;
  white-space: nowrap;
}

.category-table td {
  font-size: 15px;
  color: #e8eaed;
  line-height: 1.6;
}

.category-table tbody tr:last-child td {
  border-bottom: none;
}

.category-table tbody tr:hover td {
  background-color: #1a1e25;
}

.table-footnote {
  font-size: 13px;
  color: #6b7280;
  margin-top: 12px;
  line-height: 1.6;
}

/* ---------- 分组标签区 ---------- */

.tag-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tag-group {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 20px;
}

.tag-group-title {
  font-size: 16px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1f242b;
}

.tag-group-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid #16191f;
}

.tag-group-list li:last-child {
  border-bottom: none;
}

.tag-channel {
  font-size: 15px;
  font-weight: 600;
  color: #e8eaed;
}

.tag-desc {
  font-size: 13px;
  color: #8a919c;
  line-height: 1.5;
}

/* ---------- 相关专题入口 ---------- */

.topic-link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.topic-link-card {
  display: flex;
  gap: 16px;
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.topic-link-card:hover {
  border-color: #3e8bff;
  transform: translateY(-2px);
}

.topic-card-media {
  flex-shrink: 0;
  width: 120px;
}

.topic-card-media img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.topic-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.topic-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 4px;
}

.topic-card-desc {
  font-size: 13px;
  color: #8a919c;
  line-height: 1.5;
  margin-bottom: 6px;
}

.topic-card-link-text {
  font-size: 13px;
  font-weight: 500;
  color: #3e8bff;
}

.related-topic-note {
  font-size: 14px;
  color: #8a919c;
  margin-top: 20px;
  line-height: 1.7;
}

.related-topic-note a {
  margin: 0 4px;
}

/* ==========================================================
   06 · Pages —— 专题片库页
   ========================================================== */

.topic-directory,
.topic-detail,
.channel-link {
  margin-top: 36px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-grid .topic-card {
  display: flex;
  flex-direction: column;
}

.topic-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #1f242b;
}

.topic-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.topic-info .topic-name {
  padding: 0;
  margin-bottom: 6px;
}

.topic-info .topic-desc {
  padding: 0;
  flex: 1;
}

.topic-info .topic-audience {
  padding: 8px 0 0;
}

/* ---------- 专题详情 ---------- */

.detail-block {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.detail-title {
  font-size: 18px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 10px;
}

.detail-text {
  font-size: 15px;
  color: #aeb4bd;
  line-height: 1.7;
  margin-bottom: 10px;
}

.detail-text:last-child {
  margin-bottom: 0;
}

.detail-block .tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  padding: 0;
  background: none;
  border: none;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #3e8bff;
  background-color: #1a1e25;
  border: 1px solid #2a3038;
  border-radius: 4px;
  padding: 4px 10px;
}

/* ---------- 相关频道链接 ---------- */

.section-note {
  font-size: 15px;
  color: #aeb4bd;
  margin-bottom: 16px;
}

.channel-link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.channel-link-list a {
  display: block;
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #e8eaed;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.channel-link-list a:hover {
  border-color: #3e8bff;
  color: #3e8bff;
}

.topic-library-page .more-link {
  color: #8a919c;
  font-size: 14px;
  margin-right: 16px;
}

.topic-library-page .more-link:hover {
  color: #3e8bff;
}

/* ==========================================================
   07 · Pages —— 观看指南页
   ========================================================== */

.guide-steps-section,
.step-detail-section,
.check-tips-section,
.related-links-section {
  margin-top: 36px;
}

.section-desc {
  font-size: 15px;
  color: #aeb4bd;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 720px;
}

/* ---------- 四步流程条 ---------- */

.steps-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.step-item {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: border-color 0.2s ease;
}

.step-item:hover {
  border-color: #3e8bff;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #3e8bff;
  border-radius: 50%;
  margin-bottom: 12px;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}

.step-name {
  font-size: 16px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 6px;
}

.step-brief {
  font-size: 13px;
  color: #8a919c;
  line-height: 1.5;
}

/* ---------- 步骤详细说明 ---------- */

.step-detail-item {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.step-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: #3e8bff;
  border-radius: 50%;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  flex-shrink: 0;
}

.step-detail-title {
  font-size: 17px;
  font-weight: 600;
  color: #f2f4f7;
}

.step-detail-item p {
  font-size: 15px;
  color: #aeb4bd;
  line-height: 1.7;
  margin-bottom: 8px;
}

.step-detail-item p:last-child {
  margin-bottom: 0;
}

.step-detail-item a {
  font-weight: 500;
}

/* ---------- 入口判断提示 ---------- */

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tip-card {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 20px;
  border-top: 3px solid #46a758;
}

.tip-title {
  font-size: 15px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 14px;
  color: #8a919c;
  line-height: 1.6;
}

/* ---------- 相关链接 ---------- */

.related-link-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-link-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-link-item:hover {
  border-color: #3e8bff;
  transform: translateY(-2px);
}

.related-link-name {
  font-size: 16px;
  font-weight: 600;
  color: #f2f4f7;
}

.related-link-desc {
  font-size: 13px;
  color: #8a919c;
  line-height: 1.5;
}

/* ==========================================================
   08 · Pages —— 入口核验页
   ========================================================== */

.check-intro,
.check-table-section,
.conclusion-section,
.advice-section,
.related-links {
  margin-top: 36px;
}

.check-intro-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.check-intro-figure {
  margin: 0;
}

.check-intro-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #1f242b;
}

.check-intro-text {
  font-size: 15px;
  color: #aeb4bd;
  line-height: 1.7;
}

/* ---------- 核验清单表格 ---------- */

.check-table-wrap {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  overflow-x: auto;
}

.check-table {
  min-width: 640px;
}

.check-table th,
.check-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #1f242b;
}

.check-table th {
  font-size: 14px;
  font-weight: 600;
  color: #8a919c;
  background-color: #111418;
  white-space: nowrap;
}

.check-table td {
  font-size: 14px;
  color: #e8eaed;
  line-height: 1.6;
}

.check-table tbody tr:last-child td {
  border-bottom: none;
}

.check-table tbody tr:hover td {
  background-color: #1a1e25;
}

/* ---------- 结论说明 ---------- */

.conclusion-content {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid #46a758;
}

.conclusion-text {
  font-size: 15px;
  color: #aeb4bd;
  line-height: 1.7;
  margin-bottom: 16px;
}

.conclusion-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.conclusion-item {
  background-color: #111418;
  border-radius: 6px;
  padding: 16px;
}

.conclusion-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 6px;
}

.conclusion-item-text {
  font-size: 13px;
  color: #8a919c;
  line-height: 1.5;
}

/* ---------- 处理建议 ---------- */

.advice-content {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid #e5484d;
}

.advice-list {
  counter-reset: advice;
}

.advice-item {
  position: relative;
  padding: 12px 0 12px 48px;
  border-bottom: 1px solid #1f242b;
}

.advice-item:last-child {
  border-bottom: none;
}

.advice-item::before {
  counter-increment: advice;
  content: counter(advice);
  position: absolute;
  left: 0;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  color: #e5484d;
  background-color: #1f242b;
  border-radius: 50%;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}

.advice-item-title {
  font-size: 15px;
  font-weight: 600;
  color: #f2f4f7;
  margin-bottom: 4px;
}

.advice-item-text {
  font-size: 14px;
  color: #8a919c;
  line-height: 1.6;
}

.advice-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 16px;
  line-height: 1.6;
}

/* ---------- 相关链接 ---------- */

.related-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-link-card:hover {
  border-color: #3e8bff;
  transform: translateY(-2px);
}

.related-link-title {
  font-size: 16px;
  font-weight: 600;
  color: #f2f4f7;
}

/* ==========================================================
   09 · Pages —— 常见问题页
   ========================================================== */

.group-tabs,
.faq-list,
.feedback-note {
  margin-top: 36px;
}

.group-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.group-tab {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #8a919c;
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 20px;
  padding: 8px 18px;
  cursor: default;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.group-tab.is-active {
  color: #ffffff;
  background-color: #1f242b;
  border-color: #3e8bff;
  font-weight: 600;
}

/* ---------- 分组问答 ---------- */

.faq-group {
  margin-bottom: 28px;
}

.faq-group .section-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.faq-list .faq-answer {
  padding: 0 20px 16px;
}

.faq-list .faq-answer p {
  margin-bottom: 8px;
}

/* ---------- 反馈说明 ---------- */

.feedback-content {
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 8px;
  padding: 24px;
}

.feedback-content p {
  font-size: 15px;
  color: #aeb4bd;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feedback-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 16px 0;
}

.feedback-list li {
  font-size: 14px;
  color: #8a919c;
  padding: 6px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.feedback-list li::before {
  content: "·";
  color: #3e8bff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.feedback-list strong {
  color: #e8eaed;
  font-weight: 600;
  margin-right: 4px;
}

/* ---------- 底部相关内容链接 ---------- */

.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #1f242b;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #8a919c;
}

.related-links-item {
  font-size: 14px;
  font-weight: 500;
  color: #3e8bff;
  padding: 6px 12px;
  background-color: #16191f;
  border: 1px solid #1f242b;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.related-links-item:hover {
  border-color: #3e8bff;
}

/* ==========================================================
   10 · Pages —— 404 页面
   ========================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-shell {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #3e8bff;
  line-height: 1;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  margin-bottom: 16px;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  color: #f2f4f7;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: #aeb4bd;
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background-color: #3e8bff;
  border-radius: 6px;
  margin-bottom: 32px;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #2f7ae8;
  color: #ffffff;
}

.error-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.error-links a {
  font-size: 14px;
  font-weight: 500;
  color: #8a919c;
  padding: 8px 0;
}

.error-links a:hover {
  color: #3e8bff;
}

/* ==========================================================
   11 · Responsive —— 响应式
   ========================================================== */

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .hero-title {
    font-size: 32px;
  }

  .channel-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-list {
    grid-template-columns: 1fr;
  }

  .tag-groups {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .conclusion-list {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .check-intro-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-shell {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #111418;
    border-top: 1px solid #1f242b;
    padding: 8px 0;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav-list a.is-current::after {
    display: none;
  }

  .hero-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .section-block {
    padding-top: 36px;
  }

  .channel-card-grid {
    grid-template-columns: 1fr;
  }

  .topic-card-grid {
    grid-template-columns: 1fr;
  }

  .entry-card-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding-top: 20px;
  }

  .page-title {
    font-size: 26px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .steps-bar {
    grid-template-columns: 1fr;
  }

  .related-link-list {
    grid-template-columns: 1fr;
  }

  .related-links-grid {
    grid-template-columns: 1fr;
  }

  .topic-link-cards {
    grid-template-columns: 1fr;
  }

  .channel-link-list {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feedback-list {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .header-shell,
  .footer-shell,
  .hero-section,
  .section-block,
  .inner-main,
  .page-header,
  .error-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .topic-link-card {
    flex-direction: column;
  }

  .topic-card-media {
    width: 100%;
  }

  .topic-card-media img {
    width: 100%;
    height: 160px;
  }

  .timeline-item {
    padding: 16px;
  }

  .entry-card {
    padding: 20px;
  }

  .detail-block {
    padding: 18px;
  }

  .step-detail-item {
    padding: 18px;
  }

  .conclusion-content,
  .advice-content,
  .feedback-content {
    padding: 18px;
  }

  .group-tab {
    padding: 8px 14px;
    font-size: 13px;
  }
}
