/* ============================================================
   BASE — 全局变量、重置、基础排版
   ============================================================ */
:root {
  --bg-page: #0B0F14;
  --bg-block: #101820;
  --bg-elevated: #15202B;
  --bg-hover: #1A2733;
  --accent: #57E6C3;
  --accent-dim: #2F9C86;
  --pixel-pink: #FF7B9C;
  --status-yellow: #FFC857;
  --text-body: #D9E3EA;
  --text-muted: #8FA3B0;
  --border: #2A3B4C;
  --border-light: #35485C;
  --font-mono: "JetBrains Mono", "Courier New", Consolas, monospace;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --header-h: 64px;
  --shell-w: 1080px;
  --content-w: 760px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-mono);
  font-weight: 600;
  line-height: 1.35;
  color: #F0F5F8;
}

h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* 焦点可见性 */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   LAYOUT — 公共外壳、页头、页脚、主容器
   ============================================================ */

/* 站点骨架 */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  background-color: var(--bg-block);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌区 */
.brand-area {
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo:hover {
  text-decoration: none;
}

.logo-pixel {
  width: 28px;
  height: 28px;
  background-color: var(--accent);
  position: relative;
  flex-shrink: 0;
  box-shadow:
    8px 0 0 var(--accent),
    0 8px 0 var(--pixel-pink),
    8px 8px 0 var(--pixel-pink),
    16px 0 0 var(--accent),
    16px 8px 0 var(--accent),
    8px 16px 0 var(--pixel-pink),
    16px 16px 0 var(--pixel-pink);
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0;
}

.brand-name::before {
  content: "91";
  color: var(--accent);
  margin-right: 2px;
}

.brand-name::after {
  content: "传媒";
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover {
  color: var(--accent);
  text-decoration: none;
  border-color: var(--border);
  background-color: var(--bg-hover);
}

.nav-list a.is-current {
  color: var(--accent);
  border-color: var(--accent);
  background-color: rgba(87, 230, 195, 0.08);
}

/* 汉堡按钮 — 桌面隐藏 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-icon {
  width: 20px;
  height: 2px;
  background-color: var(--accent);
  position: relative;
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--accent);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

/* ============================================================
   LAYOUT — 主容器、面包屑、页标题区
   ============================================================ */

.site-main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 24px 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--border-light);
}

.breadcrumb-current {
  color: var(--accent);
}

/* 页标题区 */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: var(--text-muted);
  max-width: var(--content-w);
  line-height: 1.7;
}

/* 通用区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: "▮";
  color: var(--accent);
  font-size: 14px;
}

.section-heading {
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::before {
  content: "▮";
  color: var(--accent);
  font-size: 14px;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: var(--content-w);
}

/* ============================================================
   LAYOUT — 页脚
   ============================================================ */

.site-footer {
  background-color: var(--bg-block);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-shell {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.footer-brand::before {
  content: "91";
  color: var(--accent);
  margin-right: 2px;
}

.footer-brand::after {
  content: "传媒";
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-note {
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.8;
}

/* ============================================================
   COMPONENTS — 通用组件
   ============================================================ */

/* 文本链接 */
.text-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  padding: 6px 0;
  margin-top: 12px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.text-link::after {
  content: " →";
}

/* 相关链接条 */
.related-links {
  margin-top: 48px;
  padding: 24px;
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.related-links-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.related-links-item {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-body);
  padding: 8px 16px;
  margin-right: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-elevated);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* 相关链接（内页） */
.related-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.related-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.related-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-body);
  padding: 10px 20px;
  margin-right: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-elevated);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* 状态表格 */
.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.status-table caption {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  text-align: left;
  padding: 8px 0;
  caption-side: top;
}

.status-table th {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  background-color: var(--bg-elevated);
}

.status-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  vertical-align: top;
}

.status-table tbody tr {
  transition: background-color 0.2s ease;
}

.status-table tbody tr:hover {
  background-color: var(--bg-hover);
}

/* 状态标签 */
.status-badge,
.status-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
}

.status-wip,
.status-tag-processing {
  color: var(--status-yellow);
  border-color: var(--status-yellow);
  background-color: rgba(255, 200, 87, 0.08);
}

.status-review,
.status-tag-review {
  color: var(--pixel-pink);
  border-color: var(--pixel-pink);
  background-color: rgba(255, 123, 156, 0.08);
}

.status-tag-archived {
  color: var(--accent);
  border-color: var(--accent);
  background-color: rgba(87, 230, 195, 0.08);
}

/* 步骤条（首页） */
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  counter-reset: step;
}

.step-item {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-page);
  background-color: var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 步骤卡片（提问指南） */
.step-card {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.step-card:hover {
  border-color: var(--accent);
}

.step-card .step-num {
  margin-bottom: 12px;
}

.step-card .step-title {
  margin-bottom: 8px;
}

.step-card .step-desc {
  margin-bottom: 0;
}

/* 步骤网格（提问指南） */
.submit-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

/* 步骤网格（待解决） */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.process-step:hover {
  border-color: var(--accent);
}

.process-step h3 {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 问题分类卡（首页） */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  display: block;
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.problem-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.problem-card:hover .card-title {
  color: var(--accent);
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 分类卡片（问题分类页） */
.category-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-card {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.category-card:hover {
  border-color: var(--accent);
}

.category-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.category-card-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-card-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.category-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.category-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pixel-pink);
  padding: 2px 10px;
  border: 1px solid var(--pixel-pink);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 123, 156, 0.06);
}

/* 分类详情块 */
.category-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.category-block-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.category-block-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.question-list {
  list-style: none;
}

.question-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.question-item:last-child {
  border-bottom: none;
}

.question-name {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.question-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.question-answer a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.question-answer a:hover {
  color: #FFFFFF;
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* 问答条目 */
.qa-list {
  list-style: none;
}

.qa-item {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
}

.qa-item:hover {
  border-color: var(--border-light);
}

.qa-question {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.qa-answer {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

.qa-answer p {
  margin-bottom: 12px;
}

.qa-answer p:last-child {
  margin-bottom: 0;
}

.qa-answer a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.qa-answer a:hover {
  color: #FFFFFF;
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.qa-link {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.qa-link a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.qa-link a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.qa-link a::after {
  content: " →";
}

/* 边界提示 */
.boundary-note {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--status-yellow);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-muted);
}

.boundary-note p {
  margin-bottom: 8px;
}

.boundary-note p:last-child {
  margin-bottom: 0;
}

.boundary-note a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.boundary-note a:hover {
  color: #FFFFFF;
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.boundary-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--status-yellow);
  margin-bottom: 10px;
}

/* 提交引导 */
.submit-guide {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-body);
}

.submit-guide a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.submit-guide a:hover {
  color: #FFFFFF;
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* 反馈卡片 */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feedback-card {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.feedback-card:hover {
  border-color: var(--accent);
}

.feedback-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.feedback-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.feedback-tip {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.feedback-tip a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.feedback-tip a:hover {
  color: #FFFFFF;
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* 偏好卡片 */
.prefs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pref-card {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.pref-card:hover {
  border-color: var(--accent);
}

.pref-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.pref-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 信息要求清单 */
.requirements-list {
  list-style: none;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.requirement-item:last-child {
  border-bottom: none;
}

.requirement-tag {
  flex-shrink: 0;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 2px 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background-color: rgba(87, 230, 195, 0.06);
  white-space: nowrap;
}

.requirement-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

/* 规范条目 */
.rules-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rule-item {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}

.rule-item:hover {
  border-color: var(--accent);
}

.rule-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.rule-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 禁止行为清单 */
.prohibited {
  margin-top: 48px;
}

.prohibited-lead {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 20px;
}

.prohibited-list {
  list-style: none;
  counter-reset: prohibited;
}

.prohibited-list li {
  position: relative;
  padding: 14px 0 14px 44px;
  font-size: 15px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  counter-increment: prohibited;
  line-height: 1.6;
}

.prohibited-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--pixel-pink);
  border: 1px solid var(--pixel-pink);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 123, 156, 0.06);
}

/* 站点地图 */
.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.map-group {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.group-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.map-list {
  list-style: none;
}

.map-item {
  margin-bottom: 16px;
}

.map-item:last-child {
  margin-bottom: 0;
}

.map-item a {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.map-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.map-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.map-note {
  margin-top: 32px;
  padding: 16px 20px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-muted);
}

/* 相关链接列表（提问指南） */
.related-list {
  list-style: none;
}

.related-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.related-list li:last-child {
  border-bottom: none;
}

.related-list a {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.related-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.related-list .related-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 图片与图表容器 */
.content-media,
.page-figure,
.qa-visual,
.status-visual,
.step-figure,
.map-figure,
.rule-visual {
  margin: 0;
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.content-media img,
.page-figure img,
.qa-visual img,
.status-visual img,
.step-figure img,
.map-figure img,
.rule-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-elevated);
  line-height: 1.5;
}

/* ============================================================
   PAGES — 首页
   ============================================================ */

/* 首屏焦点区 */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px 0 40px;
  align-items: start;
}

.hero-text {
  padding-right: 8px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-title::after {
  content: "▌";
  color: var(--accent);
  margin-left: 4px;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.content-media-primary {
  margin-bottom: 20px;
}

.content-media-primary img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-slogan {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* 热门入口列表 */
.hero-list {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.hero-list .section-title {
  margin-bottom: 16px;
}

.entry-list {
  list-style: none;
}

.entry-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.entry-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.entry-thumb {
  flex-shrink: 0;
  width: 96px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin: 0;
  background-color: var(--bg-elevated);
}

.entry-thumb img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.entry-info {
  flex: 1;
  min-width: 0;
}

.entry-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--pixel-pink);
  padding: 1px 8px;
  border: 1px solid var(--pixel-pink);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background-color: rgba(255, 123, 156, 0.06);
}

.entry-link {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.entry-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.entry-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* 首页各区块间距 */
.problem-cards,
.status-preview,
.qa-preview,
.guide-steps {
  margin-top: 48px;
}

/* 待解决清单摘要 */
.status-preview .status-table {
  margin-bottom: 8px;
}

/* 首页相关链接 */
.home-main .related-links {
  margin-top: 48px;
}

/* ============================================================
   PAGES — 内页
   ============================================================ */

/* 问题分类页 */
.category-grid {
  margin-bottom: 24px;
}

.category-details {
  margin-top: 8px;
}

/* 待解决页 */
.status-overview {
  margin-bottom: 32px;
}

.status-overview p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 12px;
}

.status-table-wrap {
  margin-bottom: 48px;
}

.status-table-wrap .status-table {
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.process-steps {
  margin-bottom: 48px;
}

.process-intro {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.status-visual {
  margin-bottom: 48px;
}

/* 热门回答页 */
.qa-visual {
  margin-bottom: 40px;
}

.qa-list .qa-item {
  margin-bottom: 24px;
}

/* 提问指南页 */
.submit-steps-section,
.requirements-section,
.feedback-section,
.prefs-section {
  margin-bottom: 48px;
}

.step-visual-wrap {
  margin-top: 32px;
}

/* 社区规范页 */
.positioning {
  margin-bottom: 48px;
}

.positioning-body p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 16px;
  max-width: var(--content-w);
}

.rules {
  margin-bottom: 48px;
}

.rule-visual {
  margin-top: 40px;
}

/* 站点地图页 */
.sitemap-groups {
  margin-bottom: 32px;
}

.map-figure {
  margin-bottom: 32px;
}

/* ============================================================
   PAGES — 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: var(--bg-block);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 4px 4px 0 rgba(87, 230, 195, 0.2);
}

.error-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.error-btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg-page);
  background-color: var(--accent);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #FFFFFF;
  text-decoration: none;
}

.error-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.error-links p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.error-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.error-links a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.error-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — 响应式
   ============================================================ */

/* 平板与窄桌面 */
@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prefs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sitemap-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 手机端 */
@media (max-width: 768px) {
  .header-shell {
    padding: 0 16px;
    height: 56px;
  }

  .brand-name {
    font-size: 18px;
  }

  .logo-pixel {
    width: 24px;
    height: 24px;
    box-shadow:
      6px 0 0 var(--accent),
      0 6px 0 var(--pixel-pink),
      6px 6px 0 var(--pixel-pink),
      12px 0 0 var(--accent),
      12px 6px 0 var(--accent),
      6px 12px 0 var(--pixel-pink),
      12px 12px 0 var(--pixel-pink);
  }

  /* 汉堡按钮 */
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 110;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background-color: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background-color: var(--bg-block);
    border-bottom: 1px solid var(--border);
    z-index: 105;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .nav-list a.is-current {
    border-color: var(--accent);
  }

  /* 主容器 */
  .home-main,
  .inner-main {
    padding: 16px 16px 48px;
  }

  .page-title,
  .hero-title {
    font-size: 26px;
  }

  /* 首屏 */
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 32px;
  }

  .hero-text {
    padding-right: 0;
  }

  /* 首页区块 */
  .problem-cards,
  .status-preview,
  .qa-preview,
  .guide-steps {
    margin-top: 40px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .submit-steps-grid,
  .process-steps-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .prefs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rules-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 表格横向滚动保护 */
  .status-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .status-table {
    min-width: 560px;
  }

  .status-preview .status-table-wrap {
    overflow-x: auto;
  }

  .status-preview .status-table {
    min-width: 480px;
  }

  /* 页脚 */
  .footer-shell {
    padding: 32px 16px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 面包屑 */
  .breadcrumb {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
  }

  /* 问题分类 */
  .category-block {
    margin-top: 32px;
    padding-top: 24px;
  }

  /* 站点地图 */
  .sitemap-groups {
    grid-template-columns: 1fr;
  }

  /* 404 */
  .error-main {
    padding: 48px 16px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-links ul {
    gap: 16px;
    flex-direction: column;
  }

  /* 入口条目 */
  .entry-item {
    flex-direction: row;
  }

  .entry-thumb {
    width: 80px;
  }

  .entry-thumb img {
    width: 80px;
    height: 56px;
  }

  /* 要求清单 */
  .requirement-item {
    flex-direction: column;
    gap: 8px;
  }
}

/* 小手机 */
@media (max-width: 390px) {
  .hero-title,
  .page-title {
    font-size: 24px;
  }

  .section-title,
  .section-heading {
    font-size: 19px;
  }

  .entry-item {
    flex-direction: column;
    gap: 10px;
  }

  .entry-thumb {
    width: 100%;
  }

  .entry-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .related-links {
    padding: 16px;
  }

  .related-links-item {
    display: block;
    margin-right: 0;
  }

  .qa-item {
    padding: 18px;
  }

  .status-table th,
  .status-table td {
    padding: 10px 12px;
  }
}

/* 滚动出现动画 — 仅作为增强，不阻塞初始可见性 */
@media (prefers-reduced-motion: no-preference) {
  .hero-text,
  .hero-list,
  .cards-grid .problem-card,
  .status-preview,
  .qa-preview,
  .guide-steps {
    animation: fade-in 0.4s ease both;
  }

  .cards-grid .problem-card:nth-child(2) { animation-delay: 0.05s; }
  .cards-grid .problem-card:nth-child(3) { animation-delay: 0.1s; }
  .cards-grid .problem-card:nth-child(4) { animation-delay: 0.15s; }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-title::after {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
