/* ============================================================
   每日大赛mrds 交流社区 · 整站样式表
   配色：主色 #0e7c86 / 辅助 #f08c2e / 背景 #f5f7f8
   断点：768px / 1024px
   ============================================================ */

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  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: #22303a;
  background-color: #f5f7f8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0e7c86;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0a5f66;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: #22303a;
}

p {
  margin: 0;
}

/* ============================================================
   Layout · 全站骨架
   ============================================================ */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e6e8;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #0e7c86;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 13px;
  color: #7a8a90;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #44565f;
  border-radius: 6px;
  line-height: 1.4;
}

.nav-list li a:hover {
  color: #0e7c86;
  background-color: #eef5f6;
}

.nav-list li a.is-current {
  color: #0e7c86;
  font-weight: 600;
  background-color: #e3f0f1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  background-color: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background-color: #22303a;
  border-radius: 2px;
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: #22303a;
  border-radius: 2px;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* 主容器 */
.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #7a8a90;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #7a8a90;
}

.breadcrumb a:hover {
  color: #0e7c86;
}

.breadcrumb-sep {
  color: #c3ccd0;
}

.breadcrumb-current {
  color: #44565f;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e6e8;
}

.page-title {
  font-size: 30px;
  font-weight: 800;
  color: #22303a;
  line-height: 1.3;
}

.page-description {
  margin-top: 10px;
  font-size: 16px;
  color: #5a6b73;
  max-width: 720px;
}

/* 页脚 */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e0e6e8;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h2 {
  font-size: 15px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #5a6b73;
}

.footer-col ul li a:hover {
  color: #0e7c86;
}

.footer-about p {
  font-size: 14px;
  color: #5a6b73;
  line-height: 1.7;
}

.footer-about strong {
  display: block;
  font-size: 16px;
  color: #0e7c86;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid #e0e6e8;
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #8a9a9f;
}

/* ============================================================
   Components · 通用组件
   ============================================================ */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: #0e7c86;
  color: #ffffff;
  border-color: #0e7c86;
}

.btn-primary:hover {
  background-color: #0a5f66;
  border-color: #0a5f66;
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #0e7c86;
  border-color: #0e7c86;
}

.btn-secondary:hover {
  background-color: #eef5f6;
  color: #0a5f66;
  border-color: #0a5f66;
}

/* 区块标题 */
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #0e7c86;
}

.title-num {
  color: #0e7c86;
  margin-right: 6px;
}

.section-desc {
  font-size: 15px;
  color: #5a6b73;
  margin-bottom: 20px;
}

/* 侧栏标题 */
.side-title {
  font-size: 17px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 14px;
  padding-left: 12px;
  position: relative;
}

.side-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background-color: #f08c2e;
}

/* 话题标签 */
.topic-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: #0e7c86;
  background-color: #e3f0f1;
  border-radius: 4px;
  line-height: 1.6;
}

/* 回复数 */
.topic-replies {
  font-size: 13px;
  color: #7a8a90;
}

.topic-replies::before {
  content: "回复 ";
}

/* 话题元信息 */
.topic-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

/* 图文容器 */
.content-media {
  margin: 0;
}

.content-media img {
  width: 100%;
  height: auto;
}

.content-media figcaption {
  font-size: 13px;
  color: #7a8a90;
  padding-top: 8px;
  line-height: 1.5;
}

/* 步骤列表 */
.step-list {
  counter-reset: step;
}

.step-list > li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  counter-increment: step;
}

.step-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #0e7c86;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 详情折叠 */
.faq-item {
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  background-color: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #22303a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: #0e7c86;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid #e0e6e8;
}

.faq-item p {
  padding: 14px 18px;
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
}

/* 内容媒体（内页） */
.content-media-inline {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
}

.content-media-inline img {
  width: 100%;
  height: auto;
}

/* ============================================================
   Components · 首页
   ============================================================ */

/* 首屏 */
.home-hero {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e6e8;
}

.hero-copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

.hero-copy h1 {
  font-size: 34px;
  font-weight: 800;
  color: #22303a;
  line-height: 1.3;
}

.hero-copy p {
  margin-top: 14px;
  font-size: 17px;
  color: #5a6b73;
  max-width: 640px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-figure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 主视觉配图 */
.content-media-primary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.content-media-primary img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-media-primary figcaption {
  padding: 10px 4px 0;
  font-size: 14px;
  color: #7a8a90;
}

/* 首页三栏布局 */
.home-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.sidebar-left {
  display: block;
}

.home-sidebar {
  min-width: 0;
}

/* 版块索引 */
.board-list {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.board-list h2 {
  font-size: 17px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 14px;
  padding-left: 12px;
  position: relative;
}

.board-list h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background-color: #f08c2e;
}

.board-list ul li {
  border-bottom: 1px solid #f0f3f4;
}

.board-list ul li:last-child {
  border-bottom: none;
}

.board-list ul li a {
  display: block;
  padding: 12px 0;
}

.board-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #22303a;
}

.board-desc {
  display: block;
  font-size: 13px;
  color: #7a8a90;
  margin-top: 2px;
  line-height: 1.5;
}

/* 公告 */
.notice-box {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px;
}

.notice-box h2 {
  font-size: 17px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 14px;
  padding-left: 12px;
  position: relative;
}

.notice-box h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background-color: #f08c2e;
}

.notice-box ul li {
  margin-bottom: 12px;
}

.notice-box ul li:last-child {
  margin-bottom: 0;
}

.notice-box ul li a {
  font-size: 14px;
  color: #44565f;
  line-height: 1.5;
}

.notice-box ul li a:hover {
  color: #0e7c86;
}

/* 中栏 · 热帖 */
.home-main-col {
  min-width: 0;
}

.home-main-col > h2 {
  font-size: 20px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.home-main-col > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #0e7c86;
}

.hot-topics {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 8px 20px;
}

.topic-item {
  padding: 16px 0;
  border-bottom: 1px solid #f0f3f4;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-item h3 a {
  color: #22303a;
}

.topic-item h3 a:hover {
  color: #0e7c86;
}

.topic-excerpt {
  font-size: 14px;
  color: #5a6b73;
  margin-top: 6px;
  line-height: 1.6;
}

.topic-item .topic-tag,
.topic-item .topic-replies {
  margin-top: 8px;
}

.more-link {
  margin-top: 20px;
  text-align: right;
}

.more-link a {
  font-size: 14px;
  font-weight: 600;
}

/* 右栏 · 动态 */
.latest-activity {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.latest-activity h2 {
  font-size: 17px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 14px;
  padding-left: 12px;
  position: relative;
}

.latest-activity h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background-color: #f08c2e;
}

.activity-timeline {
  position: relative;
  padding-left: 18px;
}

.activity-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: #e0e6e8;
}

.activity-timeline li {
  position: relative;
  margin-bottom: 16px;
}

.activity-timeline li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #0e7c86;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #0e7c86;
}

.activity-timeline li:last-child {
  margin-bottom: 0;
}

.activity-timeline a {
  display: block;
  font-size: 14px;
  color: #44565f;
  line-height: 1.5;
}

.activity-timeline a:hover {
  color: #0e7c86;
}

.activity-timeline time {
  display: block;
  font-size: 12px;
  color: #8a9a9f;
  margin-top: 2px;
}

/* 发帖入口 */
.post-entry {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
}

.post-entry h2 {
  font-size: 17px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 10px;
}

.post-entry p {
  font-size: 14px;
  color: #5a6b73;
  margin-bottom: 16px;
  line-height: 1.6;
}

.post-entry .btn {
  width: 100%;
}

/* 双栏精选 */
.featured-pair {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.featured-col {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 24px;
}

.featured-col h2 {
  font-size: 20px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.featured-col h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #0e7c86;
}

.featured-list li {
  padding: 14px 0;
  border-bottom: 1px solid #f0f3f4;
}

.featured-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.featured-list li:first-child {
  padding-top: 0;
}

.featured-list h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.featured-list h3 a {
  color: #22303a;
}

.featured-list h3 a:hover {
  color: #0e7c86;
}

.featured-list p {
  font-size: 13px;
  color: #7a8a90;
  margin-top: 4px;
  line-height: 1.5;
}

/* 参与路径 */
.join-path {
  background-color: #ffffff;
  border-top: 1px solid #e0e6e8;
  border-bottom: 1px solid #e0e6e8;
  padding: 40px 20px;
}

.join-path h2 {
  max-width: 1200px;
  margin: 0 auto 24px;
  font-size: 22px;
  font-weight: 700;
  color: #22303a;
  padding-left: 14px;
  position: relative;
}

.join-path h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #0e7c86;
}

.path-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path-step {
  background-color: #f5f7f8;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0e7c86;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.path-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 8px;
}

.path-step p {
  font-size: 14px;
  color: #5a6b73;
  line-height: 1.6;
  margin-bottom: 12px;
}

.path-step a {
  font-size: 14px;
  font-weight: 600;
}

/* 指南入口 */
.guide-entry-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  font-size: 14px;
  color: #5a6b73;
  text-align: center;
}

.guide-entry-note a {
  font-weight: 600;
}

/* ============================================================
   Components · 话题广场（topics）
   ============================================================ */
.topic-filter {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 28px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tags li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: #44565f;
  background-color: #f5f7f8;
  border: 1px solid #e0e6e8;
  border-radius: 20px;
  line-height: 1.4;
  min-height: 44px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.filter-tags li a:hover {
  color: #0e7c86;
  border-color: #0e7c86;
  background-color: #eef5f6;
}

.tag-count {
  font-size: 12px;
  color: #7a8a90;
}

.sort-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f3f4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-box label {
  font-size: 14px;
  color: #5a6b73;
}

.sort-box select {
  padding: 8px 12px;
  font-size: 14px;
  color: #22303a;
  border: 1px solid #e0e6e8;
  border-radius: 6px;
  background-color: #ffffff;
  min-height: 44px;
  cursor: pointer;
}

/* 话题列表 */
.topic-list-section {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}

.topic-list {
  display: block;
}

.topic-list .topic-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #f0f3f4;
}

.topic-list .topic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.topic-list .topic-item:first-child {
  padding-top: 0;
}

.topic-content {
  flex: 1;
  min-width: 0;
}

.topic-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-title a {
  color: #22303a;
}

.topic-title a:hover {
  color: #0e7c86;
}

.topic-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
}

.topic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-time {
  font-size: 13px;
  color: #8a9a9f;
}

/* 侧栏 · 版块入口 */
.sidebar-right {
  min-width: 0;
}

.sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 14px;
  padding-left: 12px;
  position: relative;
}

.sidebar-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background-color: #f08c2e;
}

.sidebar-links {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 8px 20px;
}

.sidebar-links li {
  border-bottom: 1px solid #f0f3f4;
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links li a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: #22303a;
}

.sidebar-links li a:hover {
  color: #0e7c86;
}

.sidebar-note {
  margin-top: 16px;
  font-size: 14px;
  color: #5a6b73;
  line-height: 1.6;
}

.sidebar-note a {
  font-weight: 600;
}

/* ============================================================
   Components · 每日大赛mrds（daily）
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.layout-sidebar-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-side {
  min-width: 0;
}

/* 版块说明 */
.intro-block {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}

.intro-block p {
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
}

/* 赛事话题列表 */
.topic-list-section .topic-item {
  padding: 18px 0;
  border-bottom: 1px solid #f0f3f4;
}

.topic-list-section .topic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.topic-list-section .topic-item:first-child {
  padding-top: 0;
}

.topic-main h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-main h3 a {
  color: #22303a;
}

.topic-main h3 a:hover {
  color: #0e7c86;
}

.topic-main p {
  font-size: 14px;
  color: #5a6b73;
  margin-top: 6px;
  line-height: 1.6;
}

.list-more {
  margin-top: 20px;
  text-align: right;
}

.list-more a {
  font-size: 14px;
  font-weight: 600;
}

/* 活动信息侧栏 */
.side-card {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.side-card:last-child {
  margin-bottom: 0;
}

.event-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f3f4;
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-item:first-child {
  padding-top: 0;
}

.event-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #22303a;
}

.event-date {
  display: block;
  font-size: 13px;
  color: #0e7c86;
  margin: 4px 0;
}

.event-item p:last-child {
  font-size: 13px;
  color: #7a8a90;
  line-height: 1.5;
}

.schedule-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f3f4;
  font-size: 14px;
  color: #44565f;
  line-height: 1.5;
}

.schedule-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-list li:first-child {
  padding-top: 0;
}

/* 场地信息 */
.side-card .venue-figure {
  margin: 0 0 12px;
  border-radius: 8px;
  overflow: hidden;
}

.side-card .venue-figure img {
  width: 100%;
  height: auto;
}

/* 参与指南 */
.side-card .step-list > li {
  font-size: 14px;
  color: #44565f;
  line-height: 1.6;
}

/* 相关版块 */
.related-blocks {
  background-color: #ffffff;
  border-top: 1px solid #e0e6e8;
  margin-top: 40px;
}

.related-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 20px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-link {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #0e7c86;
  background-color: #eef5f6;
  border: 1px solid #d5e5e7;
  border-radius: 6px;
  min-height: 44px;
  line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-link:hover {
  background-color: #e3f0f1;
  border-color: #0e7c86;
  color: #0a5f66;
}

/* ============================================================
   Components · 吃瓜现场（gossip）
   ============================================================ */
.section-block {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}

.section-intro p {
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
  margin-bottom: 12px;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

/* 吃瓜话题列表 */
.section-topic-list .topic-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #f0f3f4;
}

.section-topic-list .topic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-topic-list .topic-item:first-child {
  padding-top: 0;
}

.topic-media {
  flex-shrink: 0;
  width: 180px;
}

.topic-media figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.topic-media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.topic-body {
  flex: 1;
  min-width: 0;
}

.topic-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-body h3 a {
  color: #22303a;
}

.topic-body h3 a:hover {
  color: #0e7c86;
}

.topic-body p {
  font-size: 14px;
  color: #5a6b73;
  margin-top: 6px;
  line-height: 1.6;
}

.topic-body .topic-meta a {
  font-size: 13px;
  font-weight: 600;
}

/* 相关版块 */
.section-related .related-links p {
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
}

.section-related .related-links a {
  font-weight: 600;
  margin-right: 16px;
}

/* 底部相关内容 */
.related-links-label {
  font-size: 14px;
  color: #5a6b73;
  margin-right: 12px;
}

.related-links-item {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0e7c86;
  margin-right: 16px;
}

.related-links-item:hover {
  color: #0a5f66;
}

/* ============================================================
   Components · 校园集结号（campus）
   ============================================================ */
.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.main-col {
  min-width: 0;
}

.side-col {
  min-width: 0;
}

/* 版块说明 */
.board-intro p {
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
}

/* 作品展示 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.work-card {
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 16px;
  background-color: #fafbfc;
  display: flex;
  flex-direction: column;
}

.work-figure {
  margin: 0 0 14px;
  border-radius: 6px;
  overflow: hidden;
}

.work-figure img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.work-title {
  font-size: 15px;
  font-weight: 600;
  color: #22303a;
  margin-bottom: 6px;
}

.work-desc {
  font-size: 13px;
  color: #5a6b73;
  line-height: 1.6;
  margin-bottom: 10px;
  flex: 1;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
}

/* 讨论帖列表 */
.discussion-list .topic-list li {
  padding: 16px 0;
  border-bottom: 1px solid #f0f3f4;
}

.discussion-list .topic-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.discussion-list .topic-list li:first-child {
  padding-top: 0;
}

.topic-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-title a {
  color: #22303a;
}

.topic-title a:hover {
  color: #0e7c86;
}

.topic-excerpt {
  font-size: 14px;
  color: #5a6b73;
  margin-top: 4px;
  line-height: 1.6;
}

.topic-meta {
  font-size: 13px;
  color: #7a8a90;
}

/* 侧栏 */
.side-block {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.side-block:last-child {
  margin-bottom: 0;
}

/* 日程 */
.schedule-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f3f4;
  align-items: baseline;
}

.schedule-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-item:first-child {
  padding-top: 0;
}

.schedule-date {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0e7c86;
  min-width: 60px;
}

.schedule-content {
  font-size: 14px;
  color: #44565f;
  line-height: 1.5;
}

.side-note {
  margin-top: 14px;
  font-size: 13px;
  color: #7a8a90;
  line-height: 1.6;
}

.side-note a {
  font-weight: 600;
  margin-right: 12px;
}

/* 参赛指南 */
.guide-block .step-list > li {
  font-size: 14px;
  color: #44565f;
  line-height: 1.6;
}

/* ============================================================
   Components · 新手指南（guide）
   ============================================================ */
.guide-section {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 28px;
}

.guide-section > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.guide-section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #0e7c86;
}

.guide-section > p {
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
  margin-bottom: 20px;
}

.guide-list > li {
  position: relative;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid #f0f3f4;
  counter-increment: guide;
}

.guide-list {
  counter-reset: guide;
}

.guide-list > li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #0e7c86;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-list > li:last-child {
  border-bottom: none;
}

.guide-list h3 {
  font-size: 15px;
  font-weight: 600;
  color: #22303a;
  margin-bottom: 4px;
}

.guide-list p {
  font-size: 14px;
  color: #5a6b73;
  line-height: 1.6;
}

/* FAQ 列表 */
.faq-list {
  margin-top: 4px;
}

/* 相关入口 */
.guide-links {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 20px 28px;
}

.guide-links p {
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
}

.guide-links a {
  font-weight: 600;
  margin-right: 16px;
}

/* ============================================================
   Components · 意见反馈（feedback）
   ============================================================ */
.main-content {
  min-width: 0;
}

.feedback-intro {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}

.feedback-intro h2 {
  font-size: 20px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.feedback-intro h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #0e7c86;
}

.feedback-intro p {
  font-size: 15px;
  color: #44565f;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feedback-intro p:last-of-type {
  margin-bottom: 0;
}

.feedback-intro .content-media-inline {
  margin-bottom: 16px;
}

/* 反馈方式 */
.feedback-steps {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 24px;
}

.feedback-steps h2 {
  font-size: 20px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.feedback-steps h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #0e7c86;
}

.step-item {
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #0e7c86;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #22303a;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: #5a6b73;
  line-height: 1.6;
}

.step-content a {
  font-weight: 600;
}

/* 侧栏 FAQ */
.faq-sidebar-list li {
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.faq-sidebar-list li:last-child {
  margin-bottom: 0;
}

.faq-sidebar-list li a {
  font-size: 15px;
  font-weight: 600;
  color: #22303a;
  display: block;
  margin-bottom: 4px;
}

.faq-sidebar-list li a:hover {
  color: #0e7c86;
}

.faq-sidebar-list li p {
  font-size: 13px;
  color: #7a8a90;
  line-height: 1.6;
}

/* ============================================================
   Components · 404 页面
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.error-panel {
  max-width: 520px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #e0e6e8;
  border-radius: 8px;
  padding: 40px;
}

.error-code {
  font-size: 64px;
  font-weight: 800;
  color: #0e7c86;
  line-height: 1;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: #22303a;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5a6b73;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.error-help {
  font-size: 14px;
  color: #7a8a90;
  line-height: 1.6;
}

.error-help a {
  font-weight: 600;
  margin-right: 12px;
}

/* ============================================================
   Responsive · 断点
   ============================================================ */

/* 平板 1024px */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 16px;
  }

  .home-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
  }

  .sidebar-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .sidebar-right .latest-activity,
  .sidebar-right .post-entry {
    margin-bottom: 0;
  }

  .layout-sidebar-right {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .inner-main {
    padding: 28px 16px 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* 手机 768px */
@media (max-width: 768px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e6e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 14px 12px;
    font-size: 16px;
    border-bottom: 1px solid #f0f3f4;
    border-radius: 0;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  /* 首页 */
  .hero-copy {
    padding: 32px 16px 24px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-figure {
    padding: 0 16px 28px;
  }

  .content-media-primary {
    padding: 0 16px 28px;
  }

  .home-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }

  .sidebar-right {
    grid-column: auto;
    display: block;
  }

  .sidebar-right .latest-activity {
    margin-bottom: 20px;
  }

  .featured-pair {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px 32px;
  }

  .join-path {
    padding: 32px 16px;
  }

  .path-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-entry-note {
    padding: 20px 16px 32px;
  }

  /* 内页 */
  .inner-main {
    padding: 24px 16px 40px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  /* 话题广场 */
  .topic-list .topic-item {
    flex-direction: column;
    gap: 12px;
  }

  .topic-thumb {
    width: 100%;
    height: 160px;
  }

  .filter-tags {
    gap: 8px;
  }

  .filter-tags li a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .sort-box {
    flex-wrap: wrap;
  }

  .sort-box select {
    flex: 1;
    min-width: 0;
  }

  /* 每日大赛 */
  .layout-sidebar-right {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .content-side {
    margin-top: 28px;
  }

  /* 吃瓜现场 */
  .section-topic-list .topic-item {
    flex-direction: column;
    gap: 12px;
  }

  .topic-media {
    width: 100%;
  }

  .topic-media img {
    height: 160px;
  }

  /* 校园集结号 */
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .side-col {
    margin-top: 28px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-figure img {
    height: 180px;
  }

  /* 新手指南 */
  .guide-section {
    padding: 20px;
  }

  .guide-section > h2 {
    font-size: 20px;
  }

  /* 反馈 */
  .feedback-intro,
  .feedback-steps {
    padding: 20px;
  }

  .sidebar-right .faq-sidebar-list {
    margin-top: 28px;
  }

  /* 404 */
  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 48px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 20px;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 14px;
  }
}

/* 小屏手机 390px */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .featured-col {
    padding: 20px;
  }

  .path-step {
    padding: 20px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-link {
    width: 100%;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   动效 · 滚动出现（不影响初始可见性）
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .topic-item,
  .work-card,
  .path-step,
  .featured-col,
  .side-card,
  .side-block {
    animation: fadeInUp 0.4s ease both;
  }

  .topic-item:nth-child(2),
  .work-card:nth-child(2),
  .path-step:nth-child(2) {
    animation-delay: 0.05s;
  }

  .topic-item:nth-child(3),
  .work-card:nth-child(3),
  .path-step:nth-child(3) {
    animation-delay: 0.1s;
  }

  .topic-item:nth-child(4),
  .work-card:nth-child(4) {
    animation-delay: 0.15s;
  }

  .topic-item:nth-child(5) {
    animation-delay: 0.2s;
  }

  .topic-item:nth-child(6) {
    animation-delay: 0.25s;
  }

  .topic-item:nth-child(7) {
    animation-delay: 0.3s;
  }

  .topic-item:nth-child(8) {
    animation-delay: 0.35s;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
