/* ==========================================================================
   糖心vlog · 建筑事务所风格全站样式
   基础：暖白底、混凝土灰辅助、墨黑网格线、钢青标注
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base — 重置、变量、字体、基础元素
   -------------------------------------------------------------------------- */

:root {
  --ink: #1A1A1A;
  --warm-white: #F4F1EA;
  --concrete: #E4E1D8;
  --steel: #2F5D66;
  --sand: #C19A6B;
  --white: #FFFFFF;
  --line: 1px solid rgba(26, 26, 26, 0.16);
  --line-strong: 2px solid var(--ink);
  --container: 1200px;
  --read-width: 680px;
  --space: 16px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-title: "Arial Narrow", "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ink);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: 0.06em;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

h3 {
  font-size: 1.125rem;
}

/* 编号类文字使用等宽数字 */
.ch-tag,
.channel-code,
.route-id,
.route-code,
.timeline-type,
.page-number,
.step-number,
.error-code {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Layout — 全站统一骨架：页头、主容器、页脚
   -------------------------------------------------------------------------- */

.site-header {
  background-color: var(--warm-white);
  border-bottom: var(--line-strong);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  flex-shrink: 0;
}

.site-brand a {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}

.site-brand a:hover {
  color: var(--steel);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 6px 14px;
  font-size: 0.9375rem;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  line-height: 1.6;
}

.nav-list li a:hover {
  color: var(--steel);
  border-bottom-color: var(--steel);
}

.nav-list li a.is-current {
  color: var(--steel);
  border-bottom-color: var(--steel);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.print-button {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: transparent;
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.print-button:hover {
  background-color: var(--ink);
  color: var(--warm-white);
}

.site-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.home-main {
  padding-top: 0;
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: var(--line);
}

.breadcrumb a {
  color: var(--steel);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb-sep {
  color: var(--sand);
  font-family: var(--font-mono);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* 内页统一标题区 */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: var(--line-strong);
}

.page-description {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--steel);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.page-title {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.page-lead,
.page-intro {
  font-size: 1.0625rem;
  color: #4a4a4a;
  max-width: var(--read-width);
}

.page-number {
  font-size: 0.875rem;
  color: var(--sand);
  margin-bottom: 8px;
}

/* 页脚 */
.site-footer {
  background-color: var(--concrete);
  border-top: var(--line-strong);
  margin-top: 0;
}

.footer-columns {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: #3a3a3a;
  line-height: 1.6;
}

.footer-col ul li a:hover {
  color: var(--steel);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 32px;
  border-top: var(--line);
  font-size: 0.8125rem;
  color: #5a5a5a;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Components — 通用组件：按钮、频道横条、专题卡、路线卡、时间线、FAQ
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid var(--ink);
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--ink);
  color: var(--warm-white);
}

.btn-primary:hover {
  background-color: var(--steel);
  border-color: var(--steel);
  color: var(--warm-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background-color: var(--concrete);
  color: var(--ink);
}

/* 区块标题 */
.section-title {
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: var(--line-strong);
  position: relative;
}

/* 频道横条（首页） */
.channel-row {
  display: grid;
  grid-template-columns: 100px 180px 1fr 100px;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: var(--line);
  background-color: var(--white);
  transition: background-color 0.2s ease;
}

.channel-row:first-of-type {
  border-top: var(--line);
}

.channel-row:hover {
  background-color: var(--concrete);
}

.ch-tag {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--steel);
  border: 1px solid var(--steel);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  width: fit-content;
}

.channel-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.channel-brief {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.6;
}

.channel-status {
  font-size: 0.8125rem;
  text-align: right;
  white-space: nowrap;
}

.status-active {
  color: var(--steel);
  font-weight: 600;
}

.status-paused {
  color: var(--sand);
  font-weight: 600;
}

/* 专题大卡（首页） */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.topic-card {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.08);
}

.topic-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--concrete);
}

.topic-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 1.25rem;
  margin: 20px 24px 8px;
}

.topic-card p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0 24px 16px;
  flex: 1;
}

.topic-card a {
  display: inline-block;
  margin: 0 24px 24px;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* 路线卡（首页三列） */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route-card {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-id {
  font-size: 0.8125rem;
  color: var(--steel);
  border: 1px solid var(--steel);
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
}

.route-card h3 {
  font-size: 1.125rem;
}

.route-card p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
}

.route-path {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--steel);
  border-top: 1px dashed rgba(47, 93, 102, 0.4);
  padding-top: 12px;
}

.route-note {
  margin-top: 24px;
  padding: 16px 20px;
  background-color: var(--concrete);
  border-left: 4px solid var(--steel);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* 状态时间线（首页） */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: var(--concrete);
}

.timeline-item {
  position: relative;
  padding: 0 0 24px 16px;
  border-left: 2px solid var(--concrete);
  margin-left: 8px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--steel);
  border: 2px solid var(--warm-white);
}

.timeline-type {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--steel);
  background-color: rgba(47, 93, 102, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
}

/* FAQ details 折叠 */
.faq-item {
  background-color: var(--white);
  border: var(--line);
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--steel);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: var(--line);
}

.faq-item .faq-answer {
  padding: 16px 20px;
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  font-weight: 600;
}

/* 反馈入口条 */
.feedback-strip {
  background-color: var(--ink);
  color: var(--warm-white);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-radius: 8px;
}

.feedback-strip p {
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}

.feedback-link {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--warm-white);
  color: var(--ink);
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.feedback-link:hover {
  background-color: var(--sand);
  color: var(--ink);
}

/* 通用相关入口 */
.related-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: var(--line);
}

.related-links h2 {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.related-links p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.related-links-item {
  display: inline-block;
  margin-right: 24px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.related-links-label {
  display: block;
  font-size: 0.875rem;
  color: var(--sand);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Pages — 首页
   -------------------------------------------------------------------------- */

/* 顶部工具栏 */
.top-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  border-bottom: var(--line);
  font-size: 0.8125rem;
  color: #5a5a5a;
  flex-wrap: wrap;
}

.toolbar-scope {
  flex: 1;
  min-width: 200px;
}

.toolbar-note {
  color: var(--sand);
  white-space: nowrap;
}

/* Hero 首屏 */
.hero-section {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: 0.05em;
}

.hero-position {
  font-size: 1.125rem;
  color: #4a4a4a;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-figure {
  aspect-ratio: 4 / 3;
  background-color: var(--concrete);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 频道网络索引区块 */
.channel-index,
.featured-topics,
.route-workbench,
.status-timeline,
.faq-brief {
  padding: 48px 0;
  border-top: var(--line);
}

/* 首页 FAQ 纪要 */
.faq-item p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
}

.faq-item a {
  font-weight: 600;
}

.faq-more {
  margin-top: 16px;
  font-size: 0.9375rem;
}

.faq-more a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Pages — 频道分类页 channels
   -------------------------------------------------------------------------- */

.network-diagram {
  margin-bottom: 48px;
}

.diagram-conclusion {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
  padding: 16px 20px;
  background-color: var(--concrete);
  border-left: 4px solid var(--steel);
}

.network-figure {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.network-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.network-figure figcaption {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: #5a5a5a;
  border-top: var(--line);
}

.diagram-note {
  font-size: 0.8125rem;
  color: var(--sand);
  line-height: 1.6;
  padding: 12px 20px;
  border-left: 3px solid var(--sand);
}

/* 频道条目列表 */
.channel-item {
  padding: 28px 24px;
  border-bottom: var(--line);
  background-color: var(--white);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 24px;
  transition: background-color 0.2s ease;
}

.channel-item:first-of-type {
  border-top: var(--line);
}

.channel-item:hover {
  background-color: var(--concrete);
}

.channel-code {
  grid-row: 1 / 3;
  font-size: 1rem;
  color: var(--steel);
  border: 1px solid var(--steel);
  border-radius: 4px;
  padding: 6px 10px;
  width: fit-content;
  height: fit-content;
  margin-top: 4px;
}

.channel-name {
  font-size: 1.25rem;
  font-weight: 600;
}

.channel-desc {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tag-list li {
  font-size: 0.8125rem;
  background-color: rgba(47, 93, 102, 0.1);
  color: var(--steel);
  padding: 4px 10px;
  border-radius: 4px;
}

.channel-direction {
  font-size: 0.875rem;
  color: #5a5a5a;
  line-height: 1.6;
  grid-column: 2;
}

/* 进入频道路径 */
.path-item {
  padding: 20px 24px;
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
}

.path-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.path-item p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
}

.path-item p a {
  font-weight: 600;
  margin-right: 16px;
}

/* --------------------------------------------------------------------------
   Pages — 观看路线页 routes
   -------------------------------------------------------------------------- */

.route-console {
  margin-bottom: 48px;
}

.section-intro {
  font-size: 0.9375rem;
  color: #4a4a4a;
  margin-bottom: 24px;
  max-width: var(--read-width);
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.route-card {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.route-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.route-card.is-active .route-card-head {
  border-bottom-color: var(--line);
}

.route-code {
  font-size: 0.875rem;
  color: var(--steel);
  border: 1px solid var(--steel);
  border-radius: 4px;
  padding: 2px 10px;
}

.route-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.route-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-card-body p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
}

.route-card-body p strong {
  display: inline-block;
  min-width: 72px;
  color: var(--ink);
  font-weight: 600;
  margin-right: 8px;
}

.route-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.route-recommendation {
  margin-top: 24px;
  padding: 16px 24px;
  background-color: var(--concrete);
  border-left: 4px solid var(--sand);
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.7;
}

.route-recommendation strong {
  color: var(--steel);
}

/* 路线关系说明 */
.route-relation {
  margin-bottom: 48px;
}

.relation-content p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: var(--read-width);
}

.relation-figure {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0 12px;
}

.relation-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.relation-figure figcaption {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: #5a5a5a;
  border-top: var(--line);
}

.figure-note {
  font-size: 0.8125rem;
  color: var(--sand);
  padding: 8px 20px;
  border-left: 3px solid var(--sand);
}

/* 对照矩阵表 */
.matrix-scroll {
  overflow-x: auto;
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 600px;
}

.matrix-table th,
.matrix-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: var(--line);
}

.matrix-table thead th {
  font-weight: 600;
  color: var(--steel);
  background-color: var(--concrete);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.matrix-table thead th:first-child {
  color: var(--ink);
}

.matrix-table tbody tr:last-child th,
.matrix-table tbody tr:last-child td {
  border-bottom: none;
}

.matrix-table tbody th {
  font-weight: 600;
  font-size: 0.9375rem;
}

.matrix-table td {
  text-align: center;
  color: var(--steel);
  font-family: var(--font-mono);
  font-weight: 700;
}

.matrix-table td::before {
  content: "●";
  font-size: 0.75rem;
}

.matrix-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.875rem;
  color: #5a5a5a;
}

.matrix-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--steel);
}

/* 下一步入口 */
.next-steps {
  margin-top: 48px;
}

.next-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.next-link {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.next-link:hover {
  background-color: var(--ink);
  color: var(--warm-white);
}

/* --------------------------------------------------------------------------
   Pages — 观看指南页 guide
   -------------------------------------------------------------------------- */

.guide-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: var(--line);
}

.guide-section:last-of-type {
  border-bottom: none;
}

.guide-section h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.guide-section > p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: var(--read-width);
}

.guide-note {
  background-color: var(--concrete);
  border-left: 4px solid var(--steel);
  padding: 16px 20px;
  margin-top: 16px;
  border-radius: 0 6px 6px 0;
}

.guide-note p {
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 标签图例 */
.guide-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.tag-item {
  background-color: var(--white);
  border: var(--line);
  border-radius: 6px;
  padding: 16px 20px;
}

.tag-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--steel);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tag-item p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 入口核验流程 */
.verify-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.verify-steps li {
  background-color: var(--white);
  border: var(--line);
  border-radius: 6px;
  padding: 20px;
  position: relative;
}

.verify-steps li::before {
  content: attr(data-step);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--steel);
  margin-bottom: 8px;
  font-weight: 700;
}

.verify-steps li p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 频道状态表 */
.status-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9375rem;
}

.status-table th,
.status-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: var(--line);
}

.status-table thead th {
  background-color: var(--concrete);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.status-table tbody tr:last-child td {
  border-bottom: none;
}

.status-table td:first-child {
  font-weight: 600;
  color: var(--steel);
  font-family: var(--font-mono);
}

/* 使用限制列表 */
.limit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.limit-list li {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

.limit-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sand);
  font-family: var(--font-mono);
}

/* 指南页链接对 */
.link-pair {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.link-pair a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--steel);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--steel);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.link-pair a:hover {
  background-color: var(--steel);
  color: var(--warm-white);
}

/* 指南页辅助图 */
.guide-figure {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: #5a5a5a;
  border-top: var(--line);
}

/* --------------------------------------------------------------------------
   Pages — 常见问题页 faq
   -------------------------------------------------------------------------- */

/* 自助排查提示带 */
.self-check-strip {
  background-color: var(--concrete);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.self-check-strip .section-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.self-check-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: center;
}

.self-check-text p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 8px;
}

.self-check-text p:last-child {
  margin-bottom: 0;
}

.self-check-figure {
  background-color: var(--white);
  border: var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.self-check-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.self-check-figure figcaption {
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #5a5a5a;
  border-top: var(--line);
}

/* 侧栏 + 主内容布局 */
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.sidebar-left {
  grid-template-columns: 240px 1fr;
}

.sidebar-left .faq-toc {
  order: 1;
}

.sidebar-left .faq-groups {
  order: 2;
}

.faq-toc {
  position: sticky;
  top: 80px;
  align-self: start;
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  padding: 20px;
}

.toc-title {
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: var(--line);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9375rem;
  color: var(--ink);
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toc-list a:hover {
  background-color: var(--concrete);
  color: var(--steel);
}

/* 分组问答 */
.faq-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-size: 1.125rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: var(--line);
  color: var(--ink);
}

.faq-group .faq-item summary {
  font-size: 0.9375rem;
}

.faq-group .faq-item .faq-answer {
  font-size: 0.875rem;
}

/* 未解决引导条 */
.unresolved-guide {
  margin-top: 40px;
  background-color: var(--ink);
  border-radius: 8px;
  padding: 32px;
}

.unresolved-guide .section-title {
  color: var(--warm-white);
  border-bottom-color: rgba(244, 241, 234, 0.3);
}

.unresolved-content p {
  font-size: 0.9375rem;
  color: #d0cdc4;
  line-height: 1.7;
  margin-bottom: 12px;
}

.unresolved-content a {
  color: var(--sand);
  font-weight: 600;
  text-decoration: underline;
}

.unresolved-content a:hover {
  color: var(--warm-white);
}

/* --------------------------------------------------------------------------
   Pages — 反馈建议页 feedback
   -------------------------------------------------------------------------- */

.feedback-types,
.feedback-prepare,
.feedback-process,
.feedback-boundary {
  margin-bottom: 48px;
}

.feedback-types h2,
.feedback-prepare h2,
.feedback-process h2,
.feedback-boundary h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.section-note {
  font-size: 0.9375rem;
  color: #5a5a5a;
  margin-bottom: 24px;
  max-width: var(--read-width);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.type-item {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  padding: 20px 24px;
}

.type-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  color: var(--steel);
}

.type-item p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 准备清单 */
.prepare-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.prepare-list li {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  padding: 20px 24px;
}

.prepare-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.prepare-list li p:last-child {
  font-size: 0.875rem;
  color: #5a5a5a;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 处理流程 */
.process-figure {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.process-figure img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

.process-figure figcaption {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: #5a5a5a;
  border-top: var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-step {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  padding: 24px;
}

.step-number {
  font-size: 0.8125rem;
  color: var(--steel);
  margin-bottom: 12px;
  display: block;
}

.process-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 边界列表 */
.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.boundary-list li {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

.boundary-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--sand);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* 反馈页相关入口 */
.related-card {
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.related-label {
  font-size: 0.8125rem;
  color: var(--sand);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.related-card p:last-child {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
}

.related-card a {
  font-weight: 600;
  margin-right: 16px;
}

/* --------------------------------------------------------------------------
   Pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-panel {
  text-align: center;
  max-width: 560px;
  background-color: var(--white);
  border: var(--line);
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 3rem;
  color: var(--steel);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.error-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-link:hover {
  background-color: var(--ink);
  color: var(--warm-white);
}

.error-note {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Responsive — 移动端 768px 断点
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  /* 页头 */
  .header-inner {
    height: auto;
    min-height: 64px;
    padding: 8px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .site-brand a {
    font-size: 1.125rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .print-button {
    order: 1;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0;
    border-top: var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  }

  .nav-list li a.is-current {
    border-bottom-color: var(--steel);
  }

  /* 主容器 */
  .site-main,
  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 面包屑 */
  .breadcrumb {
    margin-bottom: 16px;
  }

  /* 标题区 */
  .page-header {
    margin-bottom: 24px;
  }

  .page-title,
  .hero-text h1 {
    font-size: 1.75rem;
  }

  /* 页脚 */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 首页 */
  .top-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .hero-text {
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  /* 频道横条 */
  .channel-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .channel-status {
    text-align: left;
  }

  /* 专题卡 */
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 路线卡 */
  .route-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 反馈入口条 */
  .feedback-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  /* 频道页 */
  .channel-item {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 8px;
  }

  .channel-code {
    grid-row: auto;
  }

  .channel-direction {
    grid-column: 1;
  }

  /* 路线页 */
  .route-card-head {
    padding: 14px 16px;
  }

  .route-card-body {
    padding: 16px;
  }

  .matrix-table {
    min-width: 520px;
  }

  /* 指南页 */
  .guide-tag-grid {
    grid-template-columns: 1fr;
  }

  .verify-steps {
    grid-template-columns: 1fr;
  }

  .status-table {
    font-size: 0.875rem;
  }

  .status-table th,
  .status-table td {
    padding: 10px 12px;
  }

  /* FAQ 页 */
  .self-check-content {
    grid-template-columns: 1fr;
  }

  .page-layout,
  .sidebar-left {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-toc {
    position: static;
    order: 1 !important;
  }

  .faq-groups {
    order: 2 !important;
  }

  .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .toc-list li {
    flex: 1 1 auto;
  }

  .toc-list a {
    padding: 8px 12px;
    white-space: nowrap;
  }

  /* 反馈页 */
  .type-grid,
  .prepare-list {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  /* 404 */
  .error-main {
    padding: 48px 16px;
  }

  .error-panel {
    padding: 32px 24px;
  }
}

/* --------------------------------------------------------------------------
   Print — 打印样式
   -------------------------------------------------------------------------- */

@media print {
  .site-header {
    position: static;
  }

  .nav-toggle,
  .print-button,
  .nav-list,
  .breadcrumb,
  .feedback-strip,
  .next-steps,
  .related-links,
  .unresolved-guide,
  .error-actions {
    display: none !important;
  }

  .site-main,
  .home-main,
  .inner-main {
    padding: 0;
    max-width: 100%;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-figure,
  .network-figure,
  .relation-figure,
  .self-check-figure,
  .process-figure,
  .guide-figure {
    break-inside: avoid;
  }

  .topic-grid,
  .route-grid,
  .type-grid,
  .prepare-list,
  .process-steps,
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    border-top: 1px solid var(--ink);
  }

  .footer-bottom {
    border-top: none;
  }
}
