/* ============================================================
   麻豆传媒官网huola · 全站样式表
   极简品牌风：大留白、单一动作色、有限字号层级、清晰分隔线
   ============================================================ */

/* ============================================================
   Base · 基础变量与重置
   ============================================================ */
:root {
  --color-text: #111827;
  --color-bg: #f9fafb;
  --color-card: #ffffff;
  --color-action: #2563eb;
  --color-action-hover: #1d4ed8;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-family: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", sans-serif;
  --container-width: 1160px;
  --header-height: 64px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-action);
  text-decoration: none;
}

a:hover {
  color: var(--color-action-hover);
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  font-weight: 600;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
}

p {
  margin-bottom: 12px;
}

/* 屏幕阅读器专用文本 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 键盘焦点样式 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-action);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Layout · 全站骨架
   ============================================================ */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* 首页主区 */
.home-main {
  width: 100%;
}

/* 内页主区容器 */
.inner-main {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* ============================================================
   Components · 按钮
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-action);
  color: #ffffff;
  border: 1px solid var(--color-action);
}

.btn-primary:hover {
  background-color: var(--color-action-hover);
  border-color: var(--color-action-hover);
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-action);
  border: 1px solid var(--color-action);
}

.btn-ghost:hover {
  background-color: rgba(37, 99, 235, 0.06);
  color: var(--color-action-hover);
  border-color: var(--color-action-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-action);
  border: 1px solid var(--color-action);
}

.btn-outline:hover {
  background-color: rgba(37, 99, 235, 0.06);
  color: var(--color-action-hover);
  border-color: var(--color-action-hover);
}

.btn-secondary {
  background-color: #eef2ff;
  color: var(--color-action);
  border: 1px solid #e0e7ff;
}

.btn-secondary:hover {
  background-color: #e0e7ff;
  color: var(--color-action-hover);
  border-color: #c7d2fe;
}

.btn-header {
  padding: 8px 18px;
  min-height: 40px;
  font-size: 14px;
}

/* ============================================================
   Components · 页头与导航
   ============================================================ */

.site-header {
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.brand-tag {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
  display: none;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1.4;
}

.nav-list > li > a:hover {
  background-color: var(--color-border-light);
  color: var(--color-text);
  text-decoration: none;
}

.nav-list > li > a.is-current {
  color: var(--color-action);
  font-weight: 600;
}

/* 更多下拉菜单 */
.nav-more .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  z-index: 50;
}

.nav-more:hover .dropdown-menu,
.nav-more:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.dropdown-menu li a:hover {
  background-color: var(--color-border-light);
  color: var(--color-text);
  text-decoration: none;
}

.dropdown-menu li a.is-current {
  color: var(--color-action);
  font-weight: 600;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 60;
}

.nav-toggle:hover {
  background-color: var(--color-border-light);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}

.nav-toggle-icon::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 6px;
}

.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;
}

/* ============================================================
   Components · 面包屑
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
  padding: 20px 0 0;
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-action);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--color-muted);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================================
   Components · 页面标题区（内页统一）
   ============================================================ */

.page-header {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 0;
}

/* ============================================================
   Components · 通用区块标题
   ============================================================ */

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.section-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading .section-title {
  margin-bottom: 6px;
}

/* 更多链接 */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-action);
  text-decoration: none;
  padding: 8px 0;
  min-height: 40px;
}

.more-link:hover {
  color: var(--color-action-hover);
  text-decoration: underline;
}

/* ============================================================
   Components · 折叠问答（FAQ）
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item summary:hover {
  background-color: var(--color-border-light);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   Components · 图片容器与媒体
   ============================================================ */

.content-media {
  margin: 0 0 24px;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.content-media figcaption {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.content-media-inline {
  max-width: 720px;
}

/* ============================================================
   Components · 相关导航卡片
   ============================================================ */

.related-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.related-nav-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.related-nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: block;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: var(--color-action);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.related-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.related-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   Components · 页脚
   ============================================================ */

.site-footer {
  background-color: var(--color-card);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

.footer-brand .footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.footer-brand .footer-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-group ul {
  list-style: none;
}

.footer-group ul li {
  margin-bottom: 8px;
}

.footer-group ul li a {
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: none;
  line-height: 1.5;
  display: inline-block;
  padding: 2px 0;
}

.footer-group ul li a:hover {
  color: var(--color-action);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   Pages · 首页
   ============================================================ */

/* 首屏焦点区 */
.hero-section {
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  padding: 56px 0 64px;
}

.hero-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* 通用 section 间距 */
.home-main .section {
  padding: 56px 0;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.home-main .section + .section {
  border-top: 1px solid var(--color-border);
}

/* 版块目录速览 */
.board-overview {
  background-color: var(--color-bg);
}

.board-group {
  margin-bottom: 40px;
}

.board-group:last-child {
  margin-bottom: 0;
}

.board-group-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}

.board-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.board-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.board-item:hover {
  border-color: var(--color-action);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.board-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.board-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.board-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.board-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* 热门话题与规则摘要双栏 */
.hot-rules {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: start;
}

.hot-topics .topic-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topic-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-item a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 4px;
}

.topic-item a:hover {
  color: var(--color-action);
  text-decoration: none;
}

.topic-meta {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

.rules-summary {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.rules-summary h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.rules-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-action);
}

/* 社区服务条带 */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.service-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-card a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-action);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  min-height: 32px;
}

.service-card a:hover {
  text-decoration: underline;
}

/* 新手指南路径 */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.guide-step {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.guide-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.guide-step p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* FAQ 预览 */
.faq-preview .faq-list {
  margin-bottom: 16px;
  max-width: 720px;
}

/* ============================================================
   Pages · 版块（boards.html）
   ============================================================ */

/* 版块分组筛选 */
.board-filter {
  margin-bottom: 40px;
}

.board-filter-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs li a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--color-muted);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.5;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.filter-tabs li a:hover {
  border-color: var(--color-action);
  color: var(--color-action);
  text-decoration: none;
}

/* 版块行列表 */
.board-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.board-list-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.board-list .board-group {
  margin-bottom: 0;
}

.board-list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.board-item:hover {
  border-color: var(--color-action);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.board-item-media {
  flex-shrink: 0;
  margin: 0;
  width: 120px;
  height: 90px;
}

.board-item-media img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.board-item-content {
  flex: 1;
  min-width: 0;
}

.board-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.board-item-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.board-item-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-action);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  min-height: 32px;
}

.board-item-link:hover {
  text-decoration: underline;
}

/* ============================================================
   Pages · 新手指南（newbie.html）
   ============================================================ */

.guide-path-section {
  margin-bottom: 48px;
}

.guide-path-section .guide-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 16px;
  padding: 24px;
}

.step-visual {
  margin: 0;
}

.step-visual img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.step-content p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.step-content p strong {
  font-weight: 600;
  color: var(--color-text);
}

.faq-preview-section {
  margin-top: 48px;
}

.faq-preview-section .faq-list {
  max-width: 720px;
  margin-bottom: 16px;
}

.faq-more-link {
  font-size: 14px;
  margin-top: 16px;
}

.faq-more-link a {
  color: var(--color-action);
  font-weight: 500;
  text-decoration: none;
}

.faq-more-link a:hover {
  text-decoration: underline;
}

/* ============================================================
   Pages · 热门话题（hot-topics.html）
   ============================================================ */

.layout-shell {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* 话题列表 */
.topic-list-section {
  margin-bottom: 0;
}

.topic-list-section > h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text);
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topic-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-content {
  margin-bottom: 8px;
}

.topic-item .topic-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  margin-bottom: 6px;
}

.topic-item .topic-link:hover {
  color: var(--color-action);
  text-decoration: none;
}

.topic-item .topic-meta {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* 右侧栏 */
.sidebar {
  min-width: 0;
}

.topic-categories {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.topic-categories > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
}

.category-group {
  margin-bottom: 20px;
}

.category-group:last-child {
  margin-bottom: 0;
}

.category-group h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border-light);
  line-height: 1.4;
}

.category-group ul {
  list-style: none;
}

.category-group ul li {
  margin-bottom: 4px;
}

.category-group ul li a {
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: none;
  line-height: 1.5;
  display: inline-block;
  padding: 4px 0;
}

.category-group ul li a:hover {
  color: var(--color-action);
  text-decoration: underline;
}

/* 规则提醒 */
.rules-reminder {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.rules-reminder h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.rules-reminder p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.rules-reminder .btn {
  width: 100%;
}

/* ============================================================
   Pages · 社区规则（rules.html）
   ============================================================ */

.page-container {
  width: 100%;
}

.with-aside {
  grid-template-columns: 1fr 300px;
}

.content-primary {
  min-width: 0;
}

.content-aside {
  min-width: 0;
}

/* 场景式规则 */
.rules-scene {
  margin-bottom: 48px;
}

.rules-scene > .section-title {
  margin-bottom: 24px;
}

.rule-scene-block {
  margin-bottom: 32px;
}

.scene-head {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}

.rule-list {
  list-style: none;
}

.rule-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid var(--color-border-light);
}

.rule-list li:last-child {
  border-bottom: none;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-action);
}

/* 规则阅读提示 */
.rule-reading-tip {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  align-items: start;
}

.rule-figure {
  margin: 0;
}

.rule-figure img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.rule-figure figcaption {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.tip-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.tip-content p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* 侧栏卡片 */
.aside-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.aside-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.aside-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.feedback-card .btn {
  width: 100%;
  margin-bottom: 8px;
}

.aside-note {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

.aside-note a {
  color: var(--color-action);
  font-size: 13px;
}

.aside-links {
  list-style: none;
}

.aside-links li {
  margin-bottom: 4px;
}

.aside-links li a {
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: none;
  line-height: 1.5;
  display: inline-block;
  padding: 4px 0;
}

.aside-links li a:hover {
  color: var(--color-action);
  text-decoration: underline;
}

/* ============================================================
   Pages · 版主介绍（mods.html）
   ============================================================ */

.role-list {
  margin-bottom: 48px;
}

.role-list > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.role-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.role-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.role-item p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.role-item p:last-child {
  margin-bottom: 0;
}

/* 反馈处理路径 */
.feedback-path {
  margin-bottom: 48px;
}

.feedback-path > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.step-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.step-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.step-item p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.feedback-note {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.feedback-link {
  font-size: 14px;
}

.feedback-link a {
  color: var(--color-action);
  font-weight: 500;
  text-decoration: none;
}

.feedback-link a:hover {
  text-decoration: underline;
}

/* 相关导航（mods 页） */
.mods-page .related-nav {
  margin-top: 48px;
}

.related-nav > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.related-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.related-nav ul li a {
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: none;
  line-height: 1.5;
  display: inline-block;
  padding: 6px 0;
}

.related-nav ul li a:hover {
  color: var(--color-action);
  text-decoration: underline;
}

.mods-figure {
  margin: 32px 0 0;
  max-width: 400px;
}

.mods-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.mods-figure figcaption {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   Pages · 常见问题（faq.html）
   ============================================================ */

.page-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

.sidebar-left {
  grid-template-columns: 260px 1fr;
}

/* 场景目录侧栏 */
.aside-scene-nav {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.aside-scene-nav > h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.scene-nav-list {
  list-style: none;
  margin-bottom: 16px;
}

.scene-nav-list li {
  margin-bottom: 4px;
}

.scene-nav-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.scene-nav-list li a:hover {
  background-color: var(--color-border-light);
  color: var(--color-action);
  text-decoration: none;
}

.aside-note {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.aside-note a {
  color: var(--color-action);
  font-size: 13px;
}

/* FAQ 内容区 */
.faq-content-wrap {
  min-width: 0;
}

.faq-scene {
  margin-bottom: 40px;
}

.faq-scene > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

/* 未解决反馈卡 */
.faq-unresolved-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
}

.faq-unresolved-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.faq-unresolved-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.faq-unresolved-card p a {
  color: var(--color-action);
  font-size: 14px;
}

.faq-unresolved-card .btn {
  margin-top: 4px;
}

/* 相关网格 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* 底部相关链接 */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.related-links-label {
  font-size: 14px;
  color: var(--color-muted);
  margin-right: 8px;
}

.related-links-item {
  font-size: 14px;
  color: var(--color-action);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.related-links-item:hover {
  background-color: var(--color-border-light);
  text-decoration: underline;
}

/* FAQ 图片辅助容器（用于视觉平衡） */
.faq-image-helper {
  display: none;
}

/* ============================================================
   Pages · 意见反馈（feedback.html）
   ============================================================ */

.feedback-scope {
  margin-bottom: 48px;
}

.feedback-scope > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.feedback-scope > p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 720px;
}

.scope-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.scope-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid var(--color-border-light);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-action);
}

.scope-list li strong {
  font-weight: 600;
  color: var(--color-text);
}

/* 反馈处理流程 */
.feedback-process {
  margin-bottom: 48px;
}

.feedback-process > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.feedback-process > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 720px;
}

.process-steps {
  list-style: none;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.process-steps li {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  counter-increment: step-counter;
  position: relative;
}

.process-steps li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-action);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-steps li h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.process-steps li p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 提交前检查清单 */
.prep-check {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 48px;
}

.prep-check > h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.prep-check > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  margin-bottom: 16px;
}

.check-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  padding: 8px 0 8px 28px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--color-action);
  font-weight: 600;
  font-size: 15px;
}

.prep-check > p:last-child {
  margin-bottom: 0;
}

.prep-check > p a {
  color: var(--color-action);
  font-weight: 500;
}

/* 相关导航（feedback 页） */
.feedback-page .related-nav {
  margin-top: 48px;
}

.feedback-page .related-nav ul {
  grid-template-columns: repeat(3, 1fr);
}

/* 反馈配图 */
.feedback-figure {
  margin: 32px 0 0;
  max-width: 480px;
}

.feedback-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.feedback-figure figcaption {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   Pages · 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-section {
  max-width: 520px;
  text-align: center;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-action);
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.error-help {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.error-help a {
  color: var(--color-action);
}

/* ============================================================
   Responsive · 响应式断点（768px）
   ============================================================ */

@media (max-width: 768px) {
  /* 全局容器收缩 */
  .inner-main {
    padding: 0 16px 56px;
  }

  .header-inner {
    padding: 0 16px;
    height: 56px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-tag {
    display: none;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
  }

  .nav-list {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background-color: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    display: none;
    z-index: 90;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list > li > a {
    display: block;
    padding: 12px 8px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  /* 下拉菜单在移动端内联展开 */
  .nav-more .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }

  .nav-more:hover .dropdown-menu,
  .nav-more:focus-within .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px 8px;
    font-size: 14px;
  }

  /* 隐藏页头 CTA 按钮（移动端保留汉堡菜单） */
  .btn-header {
    display: none;
  }

  /* 面包屑 */
  .breadcrumb {
    padding-top: 16px;
    font-size: 13px;
  }

  /* 页面标题区 */
  .page-header {
    padding: 20px 0 24px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  /* 首页首屏 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 16px 48px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    order: -1;
  }

  /* 首页 section */
  .home-main .section {
    padding: 40px 16px;
  }

  .board-row {
    grid-template-columns: 1fr;
  }

  .hot-rules {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  /* 内页布局 */
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .with-aside {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .content-aside {
    order: 2;
  }

  .sidebar-left {
    grid-template-columns: 1fr;
  }

  .sidebar-left .aside-scene-nav {
    position: static;
    order: 2;
  }

  .sidebar-left .faq-content-wrap {
    order: 1;
  }

  /* 版块行列表 */
  .board-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .board-item-media {
    width: 100%;
    height: auto;
  }

  .board-item-media img {
    width: 100%;
    height: 160px;
  }

  /* 新手指南步骤 */
  .guide-path-section .guide-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-visual {
    width: 100%;
  }

  .step-visual img {
    width: 100%;
    height: 160px;
  }

  /* 规则阅读提示 */
  .rule-reading-tip {
    grid-template-columns: 1fr;
  }

  .rule-figure {
    width: 100%;
  }

  .rule-figure img {
    width: 100%;
    height: 180px;
  }

  /* 角色网格 */
  .role-grid {
    grid-template-columns: 1fr;
  }

  .feedback-steps {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  /* 相关导航卡片 */
  .related-nav-cards {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-group h4 {
    margin-bottom: 8px;
  }

  .footer-bottom p {
    padding: 12px 16px;
    font-size: 12px;
  }

  /* 404 */
  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   Responsive · 平板适配（769px - 1024px）
   ============================================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  .inner-main {
    padding: 0 20px 64px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .hero-section {
    padding-left: 20px;
    padding-right: 20px;
    gap: 32px;
  }

  .home-main .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .layout-shell {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }

  .with-aside {
    grid-template-columns: 1fr 260px;
  }

  .sidebar-left {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }

  .guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .board-row {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-bottom p {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============================================================
   Responsive · 滚动出现动画（不阻塞初始可见性）
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .home-main .section,
  .inner-main .section,
  .inner-main section,
  .inner-main .board-group,
  .inner-main .guide-step,
  .inner-main .role-item,
  .inner-main .step-item,
  .inner-main .process-steps li,
  .inner-main .related-card,
  .inner-main .aside-card {
    animation: fadeInUp 0.4s ease both;
  }

  .home-main .section:nth-child(2),
  .inner-main .section:nth-child(2),
  .inner-main .board-group:nth-child(2),
  .inner-main .guide-step:nth-child(2),
  .inner-main .role-item:nth-child(2),
  .inner-main .step-item:nth-child(2),
  .inner-main .process-steps li:nth-child(2),
  .inner-main .related-card:nth-child(2),
  .inner-main .aside-card:nth-child(2) {
    animation-delay: 0.05s;
  }

  .home-main .section:nth-child(3),
  .inner-main .section:nth-child(3),
  .inner-main .board-group:nth-child(3),
  .inner-main .guide-step:nth-child(3),
  .inner-main .role-item:nth-child(3),
  .inner-main .step-item:nth-child(3),
  .inner-main .process-steps li:nth-child(3),
  .inner-main .related-card:nth-child(3),
  .inner-main .aside-card:nth-child(3) {
    animation-delay: 0.1s;
  }

  .home-main .section:nth-child(4),
  .inner-main .section:nth-child(4),
  .inner-main .board-group:nth-child(4),
  .inner-main .guide-step:nth-child(4),
  .inner-main .role-item:nth-child(4),
  .inner-main .step-item:nth-child(4),
  .inner-main .process-steps li:nth-child(4),
  .inner-main .related-card:nth-child(4),
  .inner-main .aside-card:nth-child(4) {
    animation-delay: 0.15s;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ============================================================
   Accessibility · 可访问性增强
   ============================================================ */

@media (hover: hover) {
  .board-item:hover,
  .related-card:hover,
  .role-item:hover,
  .step-item:hover,
  .service-card:hover {
    border-color: var(--color-action);
  }
}

/* 确保文本对比度达标 */
.topic-meta,
.board-desc,
.page-description,
.section-desc,
.footer-desc,
.aside-note,
.faq-item p,
.rule-list li,
.scope-list li,
.check-list li {
  color: var(--color-muted);
}

/* 触摸目标 ≥ 44px */
.nav-list > li > a,
.dropdown-menu li a,
.filter-tabs li a,
.footer-group ul li a,
.related-links-item,
.scene-nav-list li a,
.category-group ul li a,
.aside-links li a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* 行内链接保持正常行高 */
.footer-group ul li a,
.related-links-item,
.scene-nav-list li a,
.category-group ul li a,
.aside-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* ============================================================
   页面级 body 类（仅用于标识，不覆盖全局样式）
   ============================================================ */

.site-home .hero-section {
  background-color: var(--color-card);
}

.site-inner .page-header {
  background-color: transparent;
}

.page-boards .board-filter {
  background-color: transparent;
}

.page-faq .aside-scene-nav {
  background-color: var(--color-card);
}

.page-feedback .feedback-scope {
  background-color: transparent;
}

.page-hot-topics .topic-list-section {
  background-color: transparent;
}

.page-mods .role-list {
  background-color: transparent;
}

.page-newbie .guide-path-section {
  background-color: transparent;
}

.page-rules .rules-scene {
  background-color: transparent;
}

/* ============================================================
   Print · 打印样式（可选）
   ============================================================ */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .btn-header,
  .related-nav,
  .aside-scene-nav,
  .content-aside,
  .sidebar,
  .breadcrumb {
    display: none !important;
  }

  .site-main {
    padding: 0;
  }

  .inner-main {
    max-width: 100%;
    padding: 0;
  }

  body {
    background-color: #ffffff;
    color: #000000;
  }
}
