/* ============================================================
   ACE — 计算机爱好者协会 官网设计系统
   Dark / Terminal-inspired / Awwwards-grade
   ============================================================ */

:root {
  --bg: #050507;
  --bg-2: #0a0a10;
  --bg-3: #101018;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --fg: #e8e8ee;
  --fg-dim: #9a9aa8;
  --fg-faint: #55555f;
  --accent: #00ff9d;
  --accent-dim: rgba(0, 255, 157, 0.14);
  --accent-2: #6c5bff;
  --accent-3: #00d0ff;
  --danger: #ff4d6d;
  --font-display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "Noto Sans SC", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.nexus-avatar { position: relative; overflow: hidden; flex-shrink: 0; display: inline-grid; place-items: center; justify-content: center; text-align: center; line-height: 1; letter-spacing: normal; vertical-align: middle; }
.nexus-avatar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; border: 0; }
.nav-cta .nav-avatar { display: inline-grid; width: 28px; height: 28px; border-radius: 8px; background: rgba(0,0,0,.15); }
.nav-user-label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-chip { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-dim); color: var(--accent); font-size: 15px; }
.avatar-fill { width: 100%; height: 100%; border-radius: inherit; }
.avatar-settings { margin-bottom: 20px; }
button { font-family: inherit; cursor: pointer; }

/* ---- 背景纹理 ---- */
.grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 40%, transparent 100%);
}
.noise {
  position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise-shift 0.4s steps(3) infinite;
}
@keyframes noise-shift {
  0% { transform: translate(0,0); }
  33% { transform: translate(-2%,1%); }
  66% { transform: translate(1%,-2%); }
}
#fx-canvas {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}

/* ---- 自定义光标 ---- */
@media (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200;
    border-radius: 50%; transform: translate(-50%, -50%);
  }
  .cursor-dot { width: 6px; height: 6px; background: var(--accent); }
  .cursor-ring {
    width: 34px; height: 34px; border: 1px solid rgba(0,255,157,0.5);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
                border-color 0.25s, background 0.25s;
  }
  .cursor-ring.is-hover {
    width: 56px; height: 56px;
    border-color: var(--accent); background: rgba(0,255,157,0.08);
  }
}

/* ---- 导航 ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(5,5,7,0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 17px;
  letter-spacing: 0.02em;
}
.nav-logo .logo-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--accent); color: #000; border-radius: 8px;
}
.nav-logo .logo-mark svg { width: 18px; height: 18px; }
.nav-logo em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 13.5px; color: var(--fg-dim); padding: 8px 14px;
  border-radius: 8px; font-family: var(--font-mono); letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  background: var(--accent); color: #000; padding: 10px 18px;
  border-radius: 8px; border: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,255,157,0.35); }
.nav-cta svg { width: 15px; height: 15px; }
.nav-toggle { display: none; background: none; border: none; color: var(--fg); }

@media (max-width: 1120px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,5,7,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 15px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta span { display: none; }
}

/* ---- 通用布局 ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.container { padding-inline: clamp(20px, 4vw, 48px); }
.page-main { padding-top: var(--nav-h); }

/* ---- 标题体系 ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.kicker::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.h-display {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 8vw, 110px);
  line-height: 1.02; letter-spacing: -0.03em;
}
.h-xl {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.08; letter-spacing: -0.02em;
}
.h-lg {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.01em; line-height: 1.2;
}
.text-accent { color: var(--accent); }
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
}
.text-dim { color: var(--fg-dim); }
.lede { color: var(--fg-dim); font-size: clamp(16px, 1.5vw, 19px); max-width: 640px; }

/* ---- 页头（子页面）---- */
.page-hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero .h-display { position: relative; z-index: 1; }
.page-hero-bg {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: clamp(120px, 22vw, 320px);
  font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  white-space: nowrap; pointer-events: none; user-select: none;
}

/* ---- 按钮 ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  padding: 14px 26px; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,255,157,0.35); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-sm { padding: 9px 16px; font-size: 12.5px; border-radius: 8px; }

/* ---- 卡片 ---- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: clamp(22px, 3vw, 32px);
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,255,157,0.35); background: var(--surface-2); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(0,255,157,0.07), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(0,255,157,0.25);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--fg-dim); font-size: 14.5px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- 标签 / 徽章 ---- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--fg-dim);
}
.tag.tag-accent { border-color: rgba(0,255,157,0.4); color: var(--accent); background: var(--accent-dim); }
.tag.tag-violet { border-color: rgba(108,91,255,0.5); color: #a99cff; background: rgba(108,91,255,0.12); }
.tag.tag-cyan { border-color: rgba(0,208,255,0.4); color: var(--accent-3); background: rgba(0,208,255,0.1); }
.tag svg { width: 12px; height: 12px; }

/* ---- 跑马灯 ---- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; user-select: none;
}
.marquee-track {
  display: inline-flex; gap: 48px; padding-right: 48px;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono); font-size: 15px; color: var(--fg-faint);
  letter-spacing: 0.08em;
}
.marquee-track .sep { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- 终端窗口 ---- */
.terminal {
  background: #08080d; border: 1px solid var(--line-strong);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  font-family: var(--font-mono); font-size: 13.5px;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .dot:nth-child(1) { background: #ff5f57; }
.terminal-bar .dot:nth-child(2) { background: #febc2e; }
.terminal-bar .dot:nth-child(3) { background: #28c840; }
.terminal-bar .title { margin-left: 10px; color: var(--fg-faint); font-size: 12px; }
.terminal-body { padding: 20px 22px; line-height: 1.9; color: #b8ffd9; }
.terminal-body .prompt { color: var(--accent); }
.terminal-body .cmd { color: var(--fg); }
.terminal-body .out { color: var(--fg-dim); }
.terminal-body .caret {
  display: inline-block; width: 8px; height: 16px; background: var(--accent);
  vertical-align: -2px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---- 数据统计条 ---- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.stat-cell {
  padding: clamp(24px, 3vw, 40px); text-align: left;
  border-right: 1px solid var(--line); background: var(--surface);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px);
  font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.stat-label { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-dim); margin-top: 10px; letter-spacing: 0.08em; }
@media (max-width: 800px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---- 列表条目（新闻/文章）---- */
.list-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}
.list-item:hover { background: var(--surface); padding-left: 20px; }
.list-item .date { font-family: var(--font-mono); font-size: 13px; color: var(--fg-faint); }
.list-item .title { font-family: var(--font-display); font-size: clamp(17px, 2vw, 21px); font-weight: 600; }
.list-item .title:hover { color: var(--accent); }
.list-item .arrow { color: var(--fg-faint); transition: transform 0.25s var(--ease-out), color 0.25s; }
.list-item:hover .arrow { transform: translateX(6px); color: var(--accent); }
@media (max-width: 640px) {
  .list-item { grid-template-columns: 1fr auto; }
  .list-item .date { grid-column: 1 / -1; }
}

/* ---- 表单 ---- */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.08em; color: var(--fg-dim); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 13px 16px; color: var(--fg);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,255,157,0.12);
}

/* ---- 滚动入场动画 ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .noise { animation: none; }
}

/* ---- 页脚 ---- */
.footer {
  border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 120px);
  padding: clamp(48px, 6vw, 80px) 0 32px;
  background: linear-gradient(180deg, transparent, rgba(0,255,157,0.03));
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer h4 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: var(--fg-dim); margin-bottom: 18px; text-transform: uppercase; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--fg-dim); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer-brand p { color: var(--fg-dim); font-size: 14px; max-width: 320px; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-faint);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 10px;
  display: grid; place-items: center; color: var(--fg-dim);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Markdown 正文 ---- */
.prose { max-width: 760px; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 2em 0 0.7em; line-height: 1.25; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h1 { font-size: 34px; } .prose h2 { font-size: 26px; } .prose h3 { font-size: 20px; }
.prose h4 { font-size: 18px; } .prose h5 { font-size: 16px; } .prose h6 { font-size: 15px; }
.prose p { margin: 1em 0; color: #c9c9d4; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(0,255,157,0.4); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 1em 0; color: #c9c9d4; }
.prose li { margin: 0.4em 0; }
.prose code {
  font-family: var(--font-mono); font-size: 0.88em;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 6px; color: var(--accent-3);
}
.prose pre {
  background: #08080d; border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 20px 22px; overflow-x: auto; margin: 1.4em 0;
}
.prose pre code { background: none; border: none; padding: 0; color: #b8ffd9; font-size: 13.5px; line-height: 1.8; }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 20px;
  margin: 1.4em 0; color: var(--fg-dim); font-style: italic;
}
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 10px 14px; text-align: left; }
.prose th { background: var(--surface-2); font-family: var(--font-mono); font-size: 13px; }

/* ---- 面包屑 ---- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-faint);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 13px; height: 13px; }

/* ---- 辅助 ---- */
.mono { font-family: var(--font-mono); }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: 12px; } .gap-3 { gap: 20px; } .flex-wrap { flex-wrap: wrap; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(36px, 5vw, 64px); gap: 24px; flex-wrap: wrap; }

/* ---- 通用轮播（配合 main.js 的 nexusCarousel）---- */
.carousel { position: relative; outline: none; }
.carousel:focus-visible .carousel-viewport { box-shadow: 0 0 0 3px rgba(0,255,157,0.25); border-radius: 20px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; align-items: stretch; transition: transform 0.65s var(--ease-out); will-change: transform; }
.carousel-slide { flex: 0 0 100%; min-width: 0; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.carousel.is-single .carousel-nav { display: none; }
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
  background: var(--line-strong); transition: width 0.3s var(--ease-out), background 0.3s;
}
.carousel-dot:hover { background: var(--fg-dim); }
.carousel-dot.active { width: 28px; background: var(--accent); box-shadow: 0 0 12px rgba(0,255,157,0.5); }
.carousel-arrow {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--fg-dim);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-counter { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--fg-faint); }
.carousel-pause { border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; background: var(--surface); color: var(--fg-dim); font: inherit; font-size: 12px; cursor: pointer; }
.carousel-nav { flex-wrap: wrap; }
.carousel-dots { flex-wrap: wrap; justify-content: center; max-width: 65%; }
.carousel-slide > article, .carousel-slide > .feature-event { height: 100%; box-sizing: border-box; }
[hidden] { display: none !important; }
.live-status { color: var(--fg-faint); font-size: 12px; margin: 12px 0; }
.form-note { color: var(--fg-dim); font-size: 13px; margin: 10px 0; }
.form-feedback { min-height: 1.5em; font-size: 13px; color: var(--accent); margin-top: 10px; }
.form-feedback.is-error { color: var(--danger); }
.content-wrap { overflow-wrap: anywhere; white-space: pre-wrap; }
.member-count { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; margin-top: 16px; }
.member-count svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262f; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
