/* =========================================================
   91黑料网 - 整站样式表
   视觉方向：招聘文化风 · 清爽蓝绿 · 编号流程 · 版块卡片
   ========================================================= */

/* =========================================================
   Base
   ========================================================= */
*,
*::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: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2b3a42;
  background: #f5f8fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a3a4f;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e8613c;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.4;
  color: #1a3a4f;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   Layout — 全站统一骨架
   ========================================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e3edf1;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #1a3a4f;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 13px;
  color: #6b7c86;
  letter-spacing: 0.3px;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #3a4f5c;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #e8613c;
  background: #f0f7fa;
}

.nav-list li a.is-current {
  color: #1a3a4f;
  background: #e3edf1;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a3a4f;
  border-radius: 2px;
}

.site-footer {
  background: #1a3a4f;
  color: #c5d4dc;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-slogan {
  font-size: 14px;
  color: #8fb0c0;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #a9c0cc;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-nav ul li,
.footer-updates ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a,
.footer-updates ul li a {
  font-size: 14px;
  color: #a9c0cc;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover,
.footer-updates ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 16px 24px;
  font-size: 13px;
  color: #8fb0c0;
}

/* =========================================================
   Layout — 内页统一结构
   ========================================================= */
.site-inner {
  flex: 1 0 auto;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7c86;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #1a3a4f;
}

.breadcrumb a:hover {
  color: #e8613c;
}

.breadcrumb-sep {
  color: #9ab0bc;
}

.breadcrumb-current {
  color: #6b7c86;
}

.page-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3edf1;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: #4a5f6b;
  max-width: 780px;
  line-height: 1.7;
}

.page-description a {
  color: #e8613c;
  font-weight: 500;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 16px;
}

/* 侧栏在左的布局 */
.sidebar-left {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar-left .guide-nav,
.sidebar-left .sidebar {
  position: sticky;
  top: 88px;
}

/* 侧栏在右的布局 */
.page-layout:not(.sidebar-left) {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

/* =========================================================
   Layout — 首页各区块
   ========================================================= */
.home-main {
  width: 100%;
}

/* 社区摘要条 */
.community-summary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.summary-text h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1a3a4f;
  margin-bottom: 16px;
  line-height: 1.35;
}

.summary-text p {
  font-size: 16px;
  color: #4a5f6b;
  margin-bottom: 14px;
  max-width: 560px;
}

.cta-link {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 28px;
  background: #e8613c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-link:hover {
  background: #d04f2b;
  color: #ffffff;
  transform: translateY(-2px);
}

.summary-media .hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 58, 79, 0.12);
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* 版块地图概览 */
.board-map {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-head {
  margin-bottom: 28px;
  max-width: 720px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 15px;
  color: #5a6e7a;
  line-height: 1.7;
}

.board-table-wrap {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}

.board-table {
  width: 100%;
}

.board-table thead {
  background: #f0f7fa;
}

.board-table th {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1a3a4f;
  text-align: left;
  border-bottom: 2px solid #d7e6ec;
}

.board-table td {
  padding: 14px 20px;
  font-size: 15px;
  color: #3a4f5c;
  border-bottom: 1px solid #eef4f6;
}

.board-table tbody tr:last-child td {
  border-bottom: none;
}

.board-table tbody tr:hover {
  background: #f7fbfc;
}

.board-media {
  margin: 24px 0 28px;
}

.board-media figure {
  border-radius: 8px;
  overflow: hidden;
  background: #eef4f6;
}

.board-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.section-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #e8613c;
  margin-top: 12px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.section-link:hover {
  border-bottom-color: #e8613c;
}

/* 参与步骤 */
.participate-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  background: #f0f7fa;
}

.participate-steps .section-head {
  max-width: 720px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.step-item {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.step-item:hover {
  box-shadow: 0 6px 20px rgba(26, 58, 79, 0.08);
  transform: translateY(-3px);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1a3a4f;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: #5a6e7a;
  line-height: 1.6;
}

/* 版块功能对比 */
.board-compare {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.compare-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.compare-item {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 20px 18px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.compare-item:hover {
  box-shadow: 0 4px 16px rgba(26, 58, 79, 0.08);
  transform: translateY(-2px);
}

.compare-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 8px;
}

.compare-item p {
  font-size: 13px;
  color: #5a6e7a;
  line-height: 1.6;
}

/* 最新公告 */
.latest-announcement {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  background: #ffffff;
  border-top: 1px solid #e3edf1;
  border-bottom: 1px solid #e3edf1;
}

.announcement-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.announcement-item {
  background: #f7fbfc;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.25s ease;
}

.announcement-item:hover {
  box-shadow: 0 4px 14px rgba(26, 58, 79, 0.06);
}

.announcement-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.announcement-item p {
  font-size: 14px;
  color: #5a6e7a;
  line-height: 1.7;
  margin-bottom: 14px;
}

.announcement-item a {
  font-size: 14px;
  font-weight: 500;
  color: #e8613c;
}

/* 规则入口 */
.rules-entry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.rules-card {
  background: #1a3a4f;
  border-radius: 8px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.rules-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.rules-card p {
  font-size: 15px;
  color: #a9c0cc;
  max-width: 640px;
}

.rules-card .cta-link {
  margin-top: 0;
  flex-shrink: 0;
  background: #ffffff;
  color: #1a3a4f;
}

.rules-card .cta-link:hover {
  background: #f0f7fa;
  transform: translateY(-2px);
}

/* 首页相关链接 */
.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a3a4f;
}

.related-links-item {
  font-size: 14px;
  color: #3a4f5c;
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 20px;
  padding: 6px 16px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.related-links-item:hover {
  background: #f0f7fa;
  border-color: #1a3a4f;
  color: #1a3a4f;
}

/* =========================================================
   Components — 通用组件
   ========================================================= */
/* 卡片 */
.sidebar-card {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h2 {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 14px;
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card ul li {
  font-size: 14px;
  color: #4a5f6b;
  padding: 6px 0;
  border-bottom: 1px solid #f0f7fa;
}

.sidebar-card ul li:last-child {
  border-bottom: none;
}

.sidebar-card ul li a {
  color: #3a4f5c;
  transition: color 0.2s ease;
}

.sidebar-card ul li a:hover {
  color: #e8613c;
}

.sidebar-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #e8613c;
}

/* 图片容器 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
}

figcaption {
  font-size: 13px;
  color: #6b7c86;
  text-align: center;
  padding: 10px 0 0;
  line-height: 1.5;
}

/* =========================================================
   Pages — 版块地图
   ========================================================= */
.board-table-section {
  margin-bottom: 48px;
}

.table-wrap {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  overflow: hidden;
}

.board-structure {
  margin-bottom: 48px;
}

.board-structure-figure {
  background: #eef4f6;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 20px;
}

.board-structure-figure img {
  border-radius: 6px;
  height: 280px;
  object-fit: cover;
}

.board-structure p {
  font-size: 15px;
  color: #3a4f5c;
  line-height: 1.8;
}

.board-structure p strong {
  color: #1a3a4f;
  font-weight: 600;
}

.board-guide {
  margin-bottom: 40px;
}

.section-lead {
  font-size: 15px;
  color: #5a6e7a;
  margin-bottom: 20px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-item {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.guide-item:hover {
  box-shadow: 0 4px 16px rgba(26, 58, 79, 0.08);
  transform: translateY(-2px);
}

.guide-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.guide-item p {
  font-size: 14px;
  color: #5a6e7a;
  line-height: 1.7;
}

.guide-item p strong {
  color: #1a3a4f;
  font-weight: 600;
}

.related-links .related-list {
  list-style: none;
}

.related-list li {
  margin-bottom: 8px;
}

.related-list li a {
  font-size: 15px;
  color: #1a3a4f;
  border-bottom: 1px solid #e3edf1;
  padding: 8px 0;
  display: block;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.related-list li a:hover {
  color: #e8613c;
  border-bottom-color: #e8613c;
}

/* =========================================================
   Pages — 参与指南
   ========================================================= */
.guide-nav {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 24px;
}

.guide-nav h2 {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 14px;
}

.guide-nav ul {
  list-style: none;
}

.guide-nav ul li {
  margin-bottom: 4px;
}

.guide-nav ul li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #3a4f5c;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.guide-nav ul li a:hover {
  background: #f0f7fa;
  color: #e8613c;
}

.guide-content {
  min-width: 0;
}

/* 指南中的步骤 */
.guide-content .participate-steps {
  padding: 0;
  background: transparent;
  max-width: none;
  margin-bottom: 40px;
}

.guide-content .participate-steps h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 24px;
}

.guide-content .step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border: none;
  border-bottom: 1px solid #e3edf1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guide-content .step-item:hover {
  transform: none;
  box-shadow: none;
}

.guide-content .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #1a3a4f;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  border-radius: 6px;
}

.guide-content .step-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.guide-content .step-body p {
  font-size: 14px;
  color: #4a5f6b;
  line-height: 1.7;
  margin-bottom: 8px;
}

.guide-content .step-body p:last-child {
  margin-bottom: 0;
}

/* 发帖检查清单 */
.checklist {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 40px;
}

.checklist h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.checklist > p {
  font-size: 14px;
  color: #5a6e7a;
  margin-bottom: 18px;
}

.checklist ul {
  list-style: none;
}

.checklist ul li {
  font-size: 14px;
  color: #3a4f5c;
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.6;
}

.checklist ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 12px;
  height: 12px;
  border: 2px solid #1a3a4f;
  border-radius: 3px;
}

.checklist ul li a {
  color: #e8613c;
  font-weight: 500;
}

/* 回复与互动 */
.reply-methods {
  margin-bottom: 40px;
}

.reply-methods h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 12px;
}

.reply-methods > p {
  font-size: 14px;
  color: #5a6e7a;
  margin-bottom: 18px;
}

.reply-methods ul {
  list-style: none;
  margin-bottom: 16px;
}

.reply-methods ul li {
  font-size: 14px;
  color: #3a4f5c;
  padding: 8px 0;
  line-height: 1.7;
}

.reply-methods ul li strong {
  color: #1a3a4f;
  font-weight: 600;
}

.reply-methods p a {
  color: #e8613c;
  font-weight: 500;
}

.guide-media {
  border-radius: 8px;
  overflow: hidden;
  background: #eef4f6;
  margin-top: 24px;
}

.guide-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* =========================================================
   Pages — 社区规则
   ========================================================= */
.layout-shell {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.allowed-denied {
  margin-bottom: 48px;
}

.allowed-denied > h2,
.allowed-denied > p {
  margin-bottom: 16px;
}

.allowed-denied > p {
  font-size: 15px;
  color: #5a6e7a;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

.comparison-col {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid #e3edf1;
}

.comparison-col.allowed {
  border-top: 4px solid #1a3a4f;
}

.comparison-col.denied {
  border-top: 4px solid #e8613c;
}

.comparison-col h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 16px;
}

.comparison-col ul {
  list-style: none;
}

.comparison-col ul li {
  font-size: 14px;
  color: #3a4f5c;
  padding: 8px 0;
  border-bottom: 1px solid #f0f7fa;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.comparison-col ul li:last-child {
  border-bottom: none;
}

.comparison-col.allowed ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a3a4f;
  font-weight: 700;
}

.comparison-col.denied ul li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #e8613c;
  font-weight: 700;
}

.rule-figure {
  background: #eef4f6;
  border-radius: 8px;
  padding: 8px;
  margin-top: 24px;
}

.rule-figure img {
  border-radius: 6px;
  height: 240px;
  object-fit: cover;
}

/* 违规处理 */
.violation {
  margin-bottom: 48px;
}

.violation > h2,
.violation > p {
  margin-bottom: 16px;
}

.violation > p {
  font-size: 15px;
  color: #5a6e7a;
}

.violation-list {
  list-style: none;
  counter-reset: violation-counter;
}

.violation-list li {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 64px;
  counter-increment: violation-counter;
}

.violation-list li::before {
  content: counter(violation-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  background: #f0f7fa;
  color: #1a3a4f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.violation-list li h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 6px;
}

.violation-list li p {
  font-size: 14px;
  color: #5a6e7a;
  line-height: 1.6;
}

/* 举报与申诉 */
.report {
  margin-bottom: 40px;
}

.report > h2,
.report > p {
  margin-bottom: 16px;
}

.report > p {
  font-size: 15px;
  color: #5a6e7a;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.report-item {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 24px;
}

.report-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 12px;
}

.report-item ul {
  list-style: none;
}

.report-item ul li {
  font-size: 14px;
  color: #4a5f6b;
  padding: 6px 0;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.report-item ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #e8613c;
  font-weight: 700;
}

.report-note {
  font-size: 14px;
  color: #6b7c86;
  background: #f7fbfc;
  border-left: 3px solid #1a3a4f;
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  line-height: 1.7;
}

/* 规则侧栏 */
.rules-sidebar {
  position: sticky;
  top: 88px;
}

/* =========================================================
   Pages — 常见问题
   ========================================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f7fa;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #1a3a4f;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #1a3a4f;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: #f7fbfc;
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: #4a5f6b;
  line-height: 1.7;
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 排错步骤 */
.troubleshooting {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
}

.troubleshooting h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 14px;
  color: #5a6e7a;
  margin-bottom: 20px;
}

.trouble-steps {
  list-style: none;
  counter-reset: trouble-counter;
}

.trouble-steps li {
  padding: 14px 0;
  border-bottom: 1px solid #f0f7fa;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  counter-increment: trouble-counter;
}

.trouble-steps li:last-child {
  border-bottom: none;
}

.trouble-steps .step-label {
  font-size: 13px;
  font-weight: 700;
  color: #e8613c;
  background: #fdf0ec;
  border-radius: 20px;
  padding: 4px 12px;
  text-align: center;
  align-self: start;
  justify-self: start;
}

.trouble-steps li p {
  font-size: 14px;
  color: #3a4f5c;
  line-height: 1.7;
}

.content-media {
  background: #eef4f6;
  border-radius: 8px;
  padding: 8px;
  margin: 20px 0;
}

.content-media img {
  border-radius: 6px;
  height: 220px;
  object-fit: cover;
}

/* FAQ 侧栏 */
.related {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 88px;
}

.related h2 {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 16px;
}

.related-links {
  list-style: none;
}

.related-links li {
  margin-bottom: 12px;
}

.related-links li a {
  display: block;
  padding: 12px 14px;
  border: 1px solid #e3edf1;
  border-radius: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.related-links li a:hover {
  border-color: #1a3a4f;
  background: #f7fbfc;
}

.related-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 4px;
}

.related-desc {
  display: block;
  font-size: 13px;
  color: #6b7c86;
  line-height: 1.5;
}

.related-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e3edf1;
}

.related-note p {
  font-size: 13px;
  color: #6b7c86;
  line-height: 1.6;
  margin-bottom: 8px;
}

.related-note p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Pages — 更新记录
   ========================================================= */
.recent-summary {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 40px;
}

.recent-summary h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 16px;
}

.recent-summary .content-media {
  margin: 16px 0;
}

.recent-summary > p {
  font-size: 15px;
  color: #4a5f6b;
  line-height: 1.7;
}

.timeline {
  margin-bottom: 40px;
}

.timeline > h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: #e3edf1;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  text-align: right;
  padding-top: 4px;
}

.timeline-version {
  display: inline-block;
  background: #f0f7fa;
  color: #1a3a4f;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.timeline-body {
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 20px 24px;
}

.timeline-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.timeline-body ul {
  list-style: none;
}

.timeline-body ul li {
  font-size: 14px;
  color: #4a5f6b;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.timeline-body ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #e8613c;
  font-weight: 700;
}

.update-note {
  background: #f7fbfc;
  border-left: 3px solid #1a3a4f;
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
}

.update-note h2 {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a4f;
  margin-bottom: 10px;
}

.update-note p {
  font-size: 14px;
  color: #4a5f6b;
  line-height: 1.7;
}

.update-note p a {
  color: #e8613c;
  font-weight: 500;
}

/* =========================================================
   Pages — 关于本站
   ========================================================= */
.sidebar .sidebar-card {
  background: #f0f7fa;
}

.sidebar-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 14px;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  font-size: 14px;
  color: #3a4f5c;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 58, 79, 0.1);
  line-height: 1.6;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #e8613c;
}

.content {
  min-width: 0;
}

.about-section {
  margin-bottom: 40px;
}

.about-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 14px;
}

.about-section p {
  font-size: 15px;
  color: #3a4f5c;
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-figure {
  background: #eef4f6;
  border-radius: 8px;
  padding: 8px;
  margin: 20px 0;
}

.about-figure img {
  border-radius: 6px;
  height: 240px;
  object-fit: cover;
}

.principle-list {
  list-style: none;
  margin: 16px 0;
}

.principle-list li {
  font-size: 14px;
  color: #3a4f5c;
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.7;
}

.principle-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a3a4f;
  font-weight: 700;
}

/* =========================================================
   Pages — 404
   ========================================================= */
.site-error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.error-panel {
  max-width: 560px;
  width: 100%;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e3edf1;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 64px;
  font-weight: 800;
  color: #1a3a4f;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1a3a4f;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5a6e7a;
  margin-bottom: 24px;
  line-height: 1.7;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #e8613c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.error-btn:hover {
  background: #d04f2b;
  color: #ffffff;
  transform: translateY(-2px);
}

.error-help {
  font-size: 14px;
  color: #6b7c86;
  line-height: 1.6;
}

/* =========================================================
   Responsive — 平板与手机
   ========================================================= */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .compare-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-shell {
    grid-template-columns: 1fr;
  }

  .rules-sidebar {
    position: static;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .related {
    position: static;
  }

  .sidebar-left {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e3edf1;
    box-shadow: 0 8px 16px rgba(26, 58, 79, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .brand-slogan {
    display: none;
  }

  .inner-main {
    padding: 20px 16px 48px;
  }

  .page-title {
    font-size: 24px;
  }

  .community-summary {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 16px 32px;
  }

  .summary-text h1 {
    font-size: 26px;
  }

  .hero-figure img {
    height: 220px;
  }

  .board-map,
  .participate-steps,
  .board-compare,
  .latest-announcement,
  .rules-entry {
    padding: 32px 16px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .announcement-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .compare-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .rules-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }

  .rules-card .cta-link {
    margin-top: 0;
  }

  .related-links {
    padding: 0 16px 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 16px 24px;
  }

  /* 内页侧栏布局切换 */
  .sidebar-left {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar-left .guide-nav,
  .sidebar-left .sidebar {
    position: static;
    order: 2;
  }

  .sidebar-left .guide-content,
  .sidebar-left .content {
    order: 1;
  }

  .page-layout:not(.sidebar-left) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .layout-shell {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  /* 表格横向滚动 */
  .table-wrap,
  .board-table-wrap {
    overflow-x: auto;
  }

  .board-table {
    min-width: 560px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-item::before {
    display: none;
  }

  .timeline-marker {
    text-align: left;
  }

  .trouble-steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trouble-steps .step-label {
    justify-self: start;
  }

  .board-structure-figure img,
  .rule-figure img,
  .content-media img,
  .guide-media img,
  .about-figure img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .compare-list {
    grid-template-columns: 1fr;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .announcement-list {
    grid-template-columns: 1fr;
  }

  .step-item {
    padding: 20px 16px;
  }

  .announcement-item {
    padding: 20px 16px;
  }

  .comparison-col {
    padding: 20px 16px;
  }

  .timeline-body {
    padding: 16px;
  }

  .checklist {
    padding: 20px 16px;
  }

  .troubleshooting {
    padding: 20px 16px;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 48px;
  }

  .page-description {
    font-size: 15px;
  }
}
