/* ============================================================
   每日大赛mrds社区 · 整站样式
   基础色：深海军蓝 #1d3557 / 暖橙 #f4a261 / 浅灰底 #f8f9fa
   ============================================================ */

/* ------------------------------------------------------------
   Base 基础层
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2b2d33;
  background-color: #f8f9fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1d3557;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #f4a261;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: #1d3557;
  line-height: 1.35;
  font-weight: 700;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 23px;
}

h3 {
  font-size: 18px;
}

p {
  color: #2b2d33;
}

/* 视觉辅助 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   Layout 布局层
   ------------------------------------------------------------ */

/* 统一内容宽度 */
.header-inner,
.footer-inner,
.hero-section,
.section-block,
.layout-shell,
.page-layout,
.inner-container,
.related-links {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 页面主体 */
.site-main {
  min-height: 60vh;
}

/* 内页统一骨架 */
.inner-main {
  padding-top: 32px;
  padding-bottom: 56px;
}

/* 内页两栏布局：主内容 + 右侧栏 */
.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

/* 侧栏通用 */
.sidebar,
.sidebar-content,
.rules-sidebar {
  min-width: 0;
}

/* 面包屑 */
.breadcrumb {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: #6c757d;
}

.breadcrumb a:hover {
  color: #1d3557;
}

.breadcrumb-sep {
  color: #adb5bd;
}

.breadcrumb-current {
  color: #1d3557;
  font-weight: 600;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dde0e4;
}

.page-title {
  font-size: 30px;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: #5a6268;
  max-width: 720px;
}

/* ------------------------------------------------------------
   Components 组件层
   ------------------------------------------------------------ */

/* ===== 页头导航 ===== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #dde0e4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #1d3557;
  letter-spacing: 0;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #2b2d33;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background-color: #f1f3f5;
  color: #1d3557;
}

.nav-list a.is-current {
  background-color: #1d3557;
  color: #ffffff;
}

.nav-post-btn {
  background-color: #f4a261 !important;
  color: #1d3557 !important;
  font-weight: 700 !important;
}

.nav-post-btn:hover {
  background-color: #e8924a !important;
  color: #1d3557 !important;
}

/* 汉堡按钮，默认隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1d3557;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== 页脚 ===== */
.site-footer {
  background-color: #1d3557;
  padding: 48px 0 24px;
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-brand p {
  color: #a8b3c5;
  font-size: 15px;
  max-width: 360px;
  line-height: 1.7;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h2 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: #a8b3c5;
  font-size: 14px;
}

.footer-col ul a:hover {
  color: #f4a261;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.footer-bottom p {
  color: #7c8899;
  font-size: 13px;
}

/* ===== 首页首屏 ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-copy h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 18px;
  color: #1d3557;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: #5a6268;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-post-btn {
  display: inline-block;
  background-color: #f4a261;
  color: #1d3557;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: background-color 0.2s ease;
}

.hero-post-btn:hover {
  background-color: #e8924a;
  color: #1d3557;
}

.hero-note {
  font-size: 14px;
  color: #6c757d;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-announce {
  margin-top: 16px;
  background-color: #f1f3f5;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 16px 20px;
}

.hero-announce h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.hero-announce p {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 8px;
}

.hero-announce a {
  font-size: 14px;
  font-weight: 600;
}

/* ===== 通用区块 ===== */
.section-block {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  color: #5a6268;
  font-size: 15px;
  max-width: 720px;
}

.section-more {
  margin-top: 20px;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
}

/* ===== 版块卡片 ===== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-card {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.board-card:hover {
  border-color: #1d3557;
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.08);
}

.board-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.board-card p {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 14px;
}

.topic-count {
  display: inline-block;
  font-size: 13px;
  color: #6c757d;
  background-color: #f1f3f5;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ===== 热帖榜 ===== */
.hot-list-items li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e9ecef;
}

.hot-list-items li:last-child {
  border-bottom: none;
}

.hot-rank {
  font-size: 16px;
  font-weight: 800;
  color: #1d3557;
  width: 28px;
  flex-shrink: 0;
  text-align: center;
}

.hot-list-items li:nth-child(1) .hot-rank,
.hot-list-items li:nth-child(2) .hot-rank,
.hot-list-items li:nth-child(3) .hot-rank {
  color: #f4a261;
}

.hot-list-items li a {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-list-items li a:hover {
  color: #f4a261;
}

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tag-cg {
  background-color: #fff3e0;
  color: #b37400;
}

.tag-xy {
  background-color: #e3f2fd;
  color: #1565c0;
}

.discuss-count {
  font-size: 13px;
  color: #6c757d;
  flex-shrink: 0;
}

.hot-source-note {
  margin-top: 12px;
  font-size: 13px;
  color: #6c757d;
}

/* ===== 双栏精选 ===== */
.dual-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-col {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 24px;
}

.feature-col h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f4a261;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.feature-list span {
  font-size: 13px;
  color: #6c757d;
}

.feature-media {
  margin-top: 16px;
}

.feature-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===== 标签索引 ===== */
.tag-group {
  margin-bottom: 24px;
}

.tag-group h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #1d3557;
  position: sticky;
  top: 76px;
  background-color: #f8f9fa;
  z-index: 5;
  padding: 4px 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 14px;
  color: #2b2d33;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-list a:hover {
  border-color: #f4a261;
  color: #1d3557;
}

/* ===== 新手指南步骤 ===== */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.guide-step {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1d3557;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.guide-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.guide-step p {
  font-size: 14px;
  color: #5a6268;
}

.guide-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* ===== 反馈入口条 ===== */
.feedback-strip {
  background-color: #eef2f7;
  border-radius: 8px;
  padding: 32px;
}

.feedback-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.feedback-content h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.feedback-content p {
  color: #5a6268;
  font-size: 15px;
  max-width: 640px;
}

.feedback-link {
  display: inline-block;
  background-color: #1d3557;
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.feedback-link:hover {
  background-color: #2a4a77;
  color: #ffffff;
}

/* ===== 版块大厅页 ===== */
.section-forums {
  margin-bottom: 32px;
}

.section-forums h2 {
  margin-bottom: 8px;
}

.section-desc {
  color: #5a6268;
  font-size: 15px;
  margin-bottom: 20px;
}

.forum-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-item {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}

.forum-item:hover {
  border-color: #1d3557;
}

.forum-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.forum-desc {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 10px;
}

.forum-meta {
  font-size: 13px;
  color: #6c757d;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tag-link {
  display: inline-block;
  font-size: 12px;
  background-color: #f1f3f5;
  color: #1d3557;
  padding: 3px 10px;
  border-radius: 4px;
}

.forum-figure {
  margin-top: 24px;
}

.forum-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.forum-figure figcaption {
  font-size: 13px;
  color: #6c757d;
  margin-top: 8px;
}

/* 侧栏模块 */
.side-module {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.side-module h2 {
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f4a261;
}

.condition-list li {
  padding: 8px 0;
  font-size: 14px;
  color: #2b2d33;
  border-bottom: 1px solid #e9ecef;
  line-height: 1.6;
}

.condition-list li:last-child {
  border-bottom: none;
}

.side-module > p {
  margin-top: 12px;
  font-size: 14px;
  color: #5a6268;
}

.side-module > p a {
  font-weight: 600;
}

.index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.index-list li {
  flex: 0 0 auto;
}

.index-list a {
  display: inline-block;
  background-color: #f1f3f5;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: #1d3557;
}

.index-list a:hover {
  background-color: #1d3557;
  color: #ffffff;
}

/* ===== 吃瓜话题页 ===== */
.topic-list-section {
  margin-bottom: 24px;
}

.topic-list-section h2 {
  margin-bottom: 8px;
}

.content-media {
  margin: 16px 0;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-media figcaption {
  font-size: 13px;
  color: #6c757d;
  margin-top: 6px;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.topic-item {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}

.topic-item:hover {
  border-color: #1d3557;
}

.topic-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.topic-card h3 a {
  color: #1d3557;
}

.topic-card h3 a:hover {
  color: #f4a261;
}

.topic-excerpt {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 8px;
}

.topic-meta {
  font-size: 13px;
  color: #6c757d;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #dde0e4;
}

.page-current {
  font-size: 14px;
  color: #6c757d;
}

.pagination a {
  display: inline-block;
  background-color: #1d3557;
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 14px;
}

.pagination a:hover {
  background-color: #2a4a77;
  color: #ffffff;
}

/* 吃瓜须知 */
.notice-box {
  background-color: #fff8f0;
  border: 1px solid #f0dcc8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.notice-box h2 {
  font-size: 17px;
  margin-bottom: 12px;
  color: #b37400;
}

.notice-list li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid #f0e0cc;
  color: #5a6268;
}

.notice-list li:last-child {
  border-bottom: none;
}

/* 标签云 */
.tag-cloud {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 20px;
}

.tag-cloud h2 {
  font-size: 17px;
  margin-bottom: 14px;
}

.tag-cloud .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud .tag-list li a {
  display: inline-block;
  background-color: #f1f3f5;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: #1d3557;
}

.tag-cloud .tag-list li a:hover {
  background-color: #1d3557;
  color: #ffffff;
}

/* ===== 校园赛事页 ===== */
.event-type-strip {
  background-color: #ffffff;
  border-bottom: 1px solid #dde0e4;
  padding: 28px 0;
}

.event-type-strip .section-title {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 24px;
  font-size: 20px;
}

.event-type-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.event-type-card {
  background-color: #f8f9fa;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 16px 20px;
}

.event-type-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #1d3557;
}

.event-type-card p {
  font-size: 13px;
  color: #5a6268;
}

.topic-list .topic-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.topic-type {
  display: inline-block;
  font-size: 12px;
  background-color: #e3f2fd;
  color: #1565c0;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  white-space: nowrap;
}

.topic-list .topic-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.topic-media {
  margin-top: 24px;
}

.topic-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.topic-media figcaption {
  font-size: 13px;
  color: #6c757d;
  margin-top: 6px;
}

.pagination-info {
  font-size: 14px;
  color: #6c757d;
}

/* 侧栏 */
.sidebar-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f4a261;
}

.sidebar-block {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-subtitle {
  font-size: 15px;
  margin-bottom: 12px;
  color: #1d3557;
}

.type-index-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.type-index-list li a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: #2b2d33;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.type-index-list li a:hover {
  background-color: #f1f3f5;
  color: #1d3557;
}

/* ===== 新手指南页 ===== */
.guide-paths {
  margin-bottom: 40px;
}

.guide-paths .section-title {
  margin-bottom: 20px;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.path-step {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.path-step .step-num {
  background-color: #f4a261;
}

.path-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.path-step p {
  font-size: 14px;
  color: #5a6268;
}

.guide-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.howto-cards {
  margin-bottom: 40px;
}

.howto-cards .section-title {
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.howto-card {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 24px;
}

.howto-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.howto-card p {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 12px;
}

.howto-card a {
  font-size: 14px;
  font-weight: 600;
}

/* 相关入口 */
.entry-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.entry-link {
  display: block;
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}

.entry-link:hover {
  border-color: #1d3557;
}

.entry-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1d3557;
  margin-bottom: 6px;
}

.entry-desc {
  display: block;
  font-size: 14px;
  color: #5a6268;
}

/* ===== 社区规则页 ===== */
.inner-container {
  margin-bottom: 32px;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.rules-main {
  min-width: 0;
}

.rules-section {
  margin-bottom: 36px;
}

.rules-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f4a261;
}

.section-note {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 16px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-list li {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.7;
}

.rule-list li strong {
  display: block;
  color: #1d3557;
  margin-bottom: 4px;
  font-size: 16px;
}

/* FAQ */
.faq-section details {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-section summary {
  font-size: 15px;
  font-weight: 600;
  color: #1d3557;
  cursor: pointer;
  padding: 4px 0;
}

.faq-section summary::-webkit-details-marker {
  color: #f4a261;
}

.faq-section details p {
  margin-top: 10px;
  font-size: 14px;
  color: #5a6268;
  line-height: 1.7;
}

/* 规则侧栏 */
.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-card h2 {
  font-size: 17px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f4a261;
}

.sidebar-card p {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 12px;
}

.sidebar-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.sidebar-figure figcaption {
  font-size: 13px;
  color: #6c757d;
  margin-top: 6px;
}

.sidebar-links li {
  margin-bottom: 8px;
}

.sidebar-links a {
  font-size: 14px;
  color: #1d3557;
}

.sidebar-links a:hover {
  color: #f4a261;
}

/* ===== 反馈通道页 ===== */
.feedback-types {
  margin-bottom: 40px;
}

.feedback-types h2 {
  margin-bottom: 8px;
}

.section-intro {
  color: #5a6268;
  font-size: 15px;
  margin-bottom: 16px;
}

.feedback-guide-figure {
  margin: 16px 0;
}

.feedback-guide-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.feedback-guide-figure figcaption {
  font-size: 13px;
  color: #6c757d;
  margin-top: 6px;
}

.feedback-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.feedback-type-card {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 24px;
}

.feedback-type-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feedback-type-card p {
  font-size: 14px;
  color: #5a6268;
  margin-bottom: 12px;
}

.feedback-type-card a {
  font-size: 14px;
  font-weight: 600;
}

/* 处理流程 */
.feedback-process {
  margin-bottom: 40px;
}

.feedback-process h2 {
  margin-bottom: 8px;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 20px 24px;
}

.process-step .step-num {
  flex-shrink: 0;
  margin-bottom: 0;
}

.step-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: #5a6268;
}

/* FAQ */
.feedback-faq h2 {
  margin-bottom: 16px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: #1d3557;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  color: #f4a261;
}

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #5a6268;
}

/* ===== 404页 ===== */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-section {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: #1d3557;
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  margin-bottom: 12px;
}

.error-section > p {
  color: #5a6268;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.error-btn-primary {
  display: inline-block;
  background-color: #1d3557;
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 600;
}

.error-btn-primary:hover {
  background-color: #2a4a77;
  color: #ffffff;
}

.error-btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #dde0e4;
  color: #1d3557;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
}

.error-btn-secondary:hover {
  border-color: #1d3557;
}

.error-tip {
  font-size: 14px;
  color: #6c757d;
}

.error-tip a {
  font-weight: 600;
}

/* ===== 相关链接条 ===== */
.related-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dde0e4;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.related-links p {
  font-size: 14px;
  color: #5a6268;
}

.related-links p a {
  color: #1d3557;
  font-weight: 600;
  margin: 0 6px;
}

.related-links p a:hover {
  color: #f4a261;
}

.related-links-label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 600;
}

.related-links-item {
  font-size: 14px;
  color: #1d3557;
  font-weight: 500;
}

.related-links-item:hover {
  color: #f4a261;
}

/* 滚动出现动画（渐进增强，不影响初始可见性） */
@media (prefers-reduced-motion: no-preference) {
  .board-card,
  .guide-step,
  .path-step,
  .howto-card,
  .feedback-type-card,
  .process-step {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .board-card:hover,
  .guide-step:hover,
  .path-step:hover,
  .howto-card:hover,
  .feedback-type-card:hover,
  .process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(29, 53, 87, 0.08);
  }
}

/* ------------------------------------------------------------
   Responsive 响应式
   ------------------------------------------------------------ */

/* 平板 */
@media (max-width: 1024px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-shell,
  .page-layout,
  .rules-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  /* 汉堡按钮显示 */
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #dde0e4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 99;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 首页首屏单列 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  /* 版块卡片单列 */
  .board-grid {
    grid-template-columns: 1fr;
  }

  /* 双栏变单列 */
  .dual-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 步骤条 */
  .guide-steps {
    grid-template-columns: 1fr;
  }

  /* 内页两栏变单列 */
  .layout-shell,
  .page-layout,
  .rules-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 侧栏移到主内容之后 */
  .sidebar,
  .sidebar-content,
  .rules-sidebar {
    order: 2;
  }

  .main-content {
    order: 1;
  }

  /* 页脚 */
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .feedback-content {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 新手指南 */
  .paths-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .entry-links {
    grid-template-columns: 1fr;
  }

  /* 反馈 */
  .feedback-type-grid {
    grid-template-columns: 1fr;
  }

  /* 赛事类型 */
  .event-type-grid {
    grid-template-columns: 1fr;
  }

  /* 面包屑 */
  .breadcrumb {
    font-size: 13px;
  }

  /* 标题字号 */
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .page-title {
    font-size: 26px;
  }

  /* 热帖列表 */
  .hot-list-items li {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hot-list-items li a {
    flex: 1 1 100%;
    white-space: normal;
  }

  /* 容器内边距 */
  .header-inner,
  .footer-inner,
  .hero-section,
  .section-block,
  .layout-shell,
  .page-layout,
  .inner-container,
  .related-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 错误页 */
  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-btn-primary,
  .error-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* 小屏手机 */
@media (max-width: 390px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .topic-item {
    flex-direction: column;
  }

  .topic-type {
    align-self: flex-start;
  }

  .brand-name {
    font-size: 19px;
  }
}

/* 打印 */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .feedback-strip {
    display: none !important;
  }

  body {
    background-color: #ffffff;
    color: #000000;
  }

  .site-main {
    padding: 0;
  }

  a {
    color: #000000;
  }
}
