/* 枫岚庭 · 视觉系统
   深空底 + 玻璃拟态 + 枫红/青绿双色
*/

:root {
  --bg: #06080c;
  --bg-2: #0a0e15;
  --panel: rgba(18, 24, 34, 0.66);
  --panel-solid: #121822;
  --panel-hi: rgba(28, 36, 50, 0.72);
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef7;
  --text-dim: #b3c0d2;
  --muted: #7f8fa6;
  --brand: #ff5c3a;
  --brand-2: #ff8d63;
  --accent: #3ee0b2;
  --accent-dim: rgba(62, 224, 178, 0.15);
  --gold: #f3c76b;
  --danger: #ff5d6c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.4);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 内页（玩法 / 公告 / 蓝图 / 关于 / 个人中心）的统一底图 + 暗纱 */
body.page-bg {
  background-color: #06080c;
  background-image:
    linear-gradient(180deg, rgba(6, 8, 12, 0.72) 0%, rgba(6, 8, 12, 0.46) 30%, rgba(6, 8, 12, 0.8) 100%),
    url("/img/inner.jpg");
  background-size: cover, cover;
  background-position: center, center 42%;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(900px 500px at 12% -8%, rgba(255, 92, 58, 0.12), transparent 65%),
    radial-gradient(800px 460px at 88% 4%, rgba(62, 224, 178, 0.1), transparent 66%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 内页动态光点层（与首页同一套粒子效果） */
#pageMap {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

::selection { background: rgba(255, 92, 58, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #080b10; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#2a3341, #1a2230);
  border-radius: 10px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ================= 导航 ================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 0.35s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 8, 12, 0.78);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: #1b0d06;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(255, 92, 58, 0.32);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
}

.brand-text small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ================= 按钮 ================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.975); }

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #1b0b04;
  box-shadow: 0 10px 30px rgba(255, 92, 58, 0.26);
}

.btn-primary:hover { box-shadow: 0 14px 40px rgba(255, 92, 58, 0.42); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.24); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger {
  background: rgba(255, 93, 108, 0.1);
  border-color: rgba(255, 93, 108, 0.28);
  color: #ff8d99;
}
.btn-danger:hover { background: rgba(255, 93, 108, 0.18); }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

#worldMap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  opacity: 1;
}

/* 场景底图：缓慢推拉，像一段一直在放的空镜 */
.hero-bg {
  position: absolute;
  inset: -7%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: kenburns 42s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  0% { transform: scale(1.04) translate3d(-1.2%, 1%, 0); }
  100% { transform: scale(1.16) translate3d(1.4%, -1.6%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.58) 0%, rgba(6, 8, 12, 0.06) 22%, rgba(6, 8, 12, 0.38) 58%, rgba(6, 8, 12, 0.94) 100%),
    linear-gradient(90deg, rgba(6, 8, 12, 0.8) 0%, rgba(6, 8, 12, 0.18) 52%, rgba(6, 8, 12, 0.46) 100%),
    radial-gradient(1200px 700px at 22% 68%, rgba(255, 92, 58, 0.14), transparent 62%),
    radial-gradient(900px 600px at 82% 30%, rgba(62, 224, 178, 0.1), transparent 64%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.32'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 146px 24px 96px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: breathe 2.4s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.86); }
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(52px, 9vw, 108px);
  line-height: 1.12;
  padding-bottom: 0.06em;
  letter-spacing: 10px;
  font-weight: 800;
  background: linear-gradient(115deg, #ffffff 8%, #ffd7c7 38%, var(--brand) 72%, #ff7a4d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgba(255, 92, 58, 0.22));
}

.hero-sub {
  margin: 0 auto 40px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 54px; }

/* 状态条 */
.status-bar {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(12, 16, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  flex-wrap: wrap;
}

.status-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 26px;
  min-width: 128px;
}

.status-cell + .status-cell { border-left: 1px solid var(--line); }

.status-label { font-size: 11px; letter-spacing: 1.6px; color: var(--muted); text-transform: uppercase; }

.status-value {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-value .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(127, 143, 166, 0.14);
}
.status-value .dot.online { background: var(--accent); box-shadow: 0 0 0 4px rgba(62, 224, 178, 0.16), 0 0 16px rgba(62, 224, 178, 0.5); }
.status-value .dot.offline { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 93, 108, 0.16); }

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
}
.scroll-hint .bar {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
  animation: drop 2.6s ease-in-out infinite;
}
@keyframes drop {
  0% { opacity: 0; transform: translateY(-8px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}

/* ================= 区块 ================= */
.section { padding: 96px 0; position: relative; z-index: 2; }
.section-tight { padding: 64px 0; }

.section-head { margin-bottom: 44px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--brand-2);
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: 2px;
  font-weight: 700;
  line-height: 1.25;
}

.section-desc { margin: 0; max-width: 640px; color: var(--muted); font-size: 15px; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.link-more {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.link-more:hover { color: var(--brand-2); border-bottom-color: rgba(255, 141, 99, 0.4); }

/* 玻璃卡 */
.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), var(--shadow-md);
}

/* 模块网格 */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(28, 36, 50, 0.62), rgba(14, 19, 27, 0.72));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.module::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -30%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 92, 58, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.module:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.module:hover::after { opacity: 1; }

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-2);
  background: rgba(255, 92, 58, 0.1);
  border: 1px solid rgba(255, 92, 58, 0.22);
  margin-bottom: 20px;
}

.module h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: 1px; font-weight: 700; }
.module p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.tag-accent { color: #9ff0d8; background: var(--accent-dim); border-color: rgba(62, 224, 178, 0.26); }

/* 公告 */
.news-list { display: flex; flex-direction: column; gap: 14px; }

.news-item {
  display: block;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.news-item:hover {
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--panel-hi);
}

.news-item-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.news-item h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: 0.5px; }
.news-item p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }

.news-meta { display: flex; gap: 16px; font-size: 12px; color: #66748c; letter-spacing: 0.5px; }

.badge {
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.badge-top {
  background: rgba(255, 92, 58, 0.14);
  color: var(--brand-2);
  border: 1px solid rgba(255, 92, 58, 0.3);
}

/* ================= 页面容器 ================= */
.page { padding: 150px 0 100px; position: relative; z-index: 2; }
.page-narrow { max-width: 480px; margin: 0 auto; padding: 130px 24px 90px; position: relative; z-index: 2; }

.page-title { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); letter-spacing: 2px; font-weight: 700; }
.page-sub { margin: 0 0 36px; color: var(--muted); font-size: 14px; }

/* ================= 表单 ================= */
.form-card {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(16, 21, 30, 0.72);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-lg);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase;
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(6, 9, 14, 0.6);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.field input::placeholder { color: #5b6880; }

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(255, 92, 58, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 92, 58, 0.12);
  background: rgba(6, 9, 14, 0.85);
}

.field-row { display: flex; gap: 10px; }
.field-row input { flex: 1; min-width: 0; }

.field-hint { margin: 8px 0 0; font-size: 12px; color: #66748c; line-height: 1.6; }

.form-foot { margin-top: 22px; text-align: center; font-size: 13px; color: var(--muted); }
.form-foot a { color: var(--brand-2); }

.alert {
  display: none;
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.65;
}
.alert.show { display: block; }
.alert-error { background: rgba(255, 93, 108, 0.1); border: 1px solid rgba(255, 93, 108, 0.3); color: #ff9ba5; }
.alert-success { background: rgba(62, 224, 178, 0.1); border: 1px solid rgba(62, 224, 178, 0.28); color: #86ecc9; }

/* ================= 登录页 ================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 24px;
  position: relative;
  overflow: visible;
}

/* 单列布局：标题区在上居中，登录卡在下居中 */
.auth-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

#authMap { position: absolute; inset: 0; width: 100%; height: 100%; }

.auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(1300px 760px at 50% 60%, rgba(6, 8, 12, 0.62), rgba(6, 8, 12, 0) 74%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.42) 0%, rgba(6, 8, 12, 0.14) 28%, rgba(6, 8, 12, 0.3) 70%, rgba(6, 8, 12, 0.72) 100%);
}

.auth-visual-content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.auth-visual-content h2 {
  margin: 0 0 14px;
  font-size: clamp(40px, 5.4vw, 66px);
  letter-spacing: 9px;
  line-height: 1.15;
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff 0%, #fff4ef 30%, #ffcfc0 66%, #ff8f6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 20px rgba(0, 0, 0, 0.65));
}

.auth-visual-content p { margin: 0 auto; max-width: 540px; color: rgba(226, 234, 242, 0.86); font-size: 15px; line-height: 1.85; }

.auth-visual-meta { margin-top: 22px; display: flex; justify-content: center; gap: 52px; flex-wrap: wrap; }
.auth-visual-meta div { font-size: 12px; color: rgba(226, 234, 242, 0.7); letter-spacing: 1.6px; }
.auth-visual-meta strong { display: block; font-size: 24px; color: #fff; letter-spacing: 0; margin-bottom: 4px; }

.auth-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: transparent;
  border-left: none;
  z-index: 3;
  overflow-y: auto;
}

.auth-box {
  width: 100%;
  max-width: 528px;
  padding: 34px 34px 26px;
  border-radius: 24px;
  background: rgba(9, 13, 19, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
}

.auth-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }

.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.tabs button {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.tabs button.active {
  background: linear-gradient(120deg, rgba(255, 92, 58, 0.9), rgba(255, 141, 99, 0.9));
  color: #1b0b04;
  box-shadow: 0 6px 18px rgba(255, 92, 58, 0.25);
}

/* ================= 玩家中心 ================= */
.account-head { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }

.avatar {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 800;
  color: #1b0b04;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 32px rgba(255, 92, 58, 0.3);
  flex-shrink: 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--muted); }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); margin: 32px 0; }

/* ================= 蓝图 ================= */
.upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 54px 30px;
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  text-align: center;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: rgba(255, 92, 58, 0.5);
  background: rgba(255, 92, 58, 0.06);
}

.upload-zone.dragover { transform: scale(1.01); }

.upload-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 800;
  color: var(--brand-2);
  background: rgba(255, 92, 58, 0.1);
  border: 1px solid rgba(255, 92, 58, 0.24);
}

.upload-zone h3 { margin: 0; font-size: 16px; font-weight: 600; }
.upload-zone p { margin: 0; font-size: 13px; color: var(--muted); }

.file-list { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }

.file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: background 0.25s, border-color 0.25s;
}
.file-row:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }

.file-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  color: #9ff0d8;
  background: var(--accent-dim);
  border: 1px solid rgba(62, 224, 178, 0.24);
  flex-shrink: 0;
}

.file-main { flex: 1; min-width: 0; }
.file-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { font-size: 12px; color: #66748c; margin-top: 2px; }

.file-actions { display: flex; gap: 8px; flex-shrink: 0; }

.icon-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.icon-btn.danger:hover { background: rgba(255, 93, 108, 0.14); color: #ff9ba5; border-color: rgba(255, 93, 108, 0.3); }

/* ================= 公告详情 ================= */
.article { padding: 150px 0 100px; position: relative; z-index: 2; }
.article h1 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; letter-spacing: 1.5px; }
.article-body {
  padding: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 2;
  color: var(--text-dim);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.back-link:hover { color: var(--brand-2); }

/* ================= 其他 ================= */
.empty {
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 14px;
}

.pager { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 36px; font-size: 13px; color: var(--muted); }

.footer {
  position: relative;
  z-index: 2;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: rgba(5, 7, 10, 0.7);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer a { color: var(--muted); transition: color 0.2s; }
.footer a:hover { color: var(--brand-2); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translate(-50%, 18px);
  padding: 13px 24px;
  border-radius: 999px;
  background: rgba(20, 27, 38, 0.92);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ================= 响应式 ================= */
@media (max-width: 1000px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-panel { border-left: none; min-height: 100vh; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-inner { padding: 120px 20px 60px; }
  .hero h1 { letter-spacing: 5px; }
  .status-bar { width: 100%; }
  .status-cell { flex: 1; min-width: 100px; padding: 13px 18px; }
  .module-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .scroll-hint { display: none; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .form-card { padding: 24px; }
  .status-cell { min-width: 88px; padding: 11px 14px; }
  .status-value { font-size: 15px; }
  .hero-actions .btn { flex: 1; }
  .file-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ================= 个人中心 / 富文本 ================= */
.account-main { flex: 1; min-width: 0; }
.account-main h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.rich-text p {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 2;
}
.rich-text p:last-child { margin-bottom: 0; }
.rich-text strong { color: var(--text); font-weight: 600; }

.upload-zone.busy { pointer-events: none; opacity: 0.65; }

/* 登录页动态地图 */
#authMap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  opacity: 1;
  pointer-events: none;
}

/* 登录页场景底图：铺满整屏，左右同源 */
.auth-bg {
  position: absolute;
  inset: -6%;
  z-index: 0;
  overflow: hidden;
}

.auth-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: kenburnsSoft 40s ease-in-out infinite alternate;
  will-change: transform;
  filter: saturate(1.06) contrast(1.04);
}

@keyframes kenburnsSoft {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.05) translate3d(0, -1.2%, 0); }
}

/* ================= 管理后台 ================= */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(243, 199, 107, 0.08), transparent 65%),
    radial-gradient(800px 600px at 90% 90%, rgba(255, 92, 58, 0.1), transparent 65%),
    var(--bg);
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  padding: 42px 34px 34px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.admin-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  background: rgba(243, 199, 107, 0.08);
  border: 1px solid rgba(243, 199, 107, 0.3);
  border-radius: 999px;
}

.admin-login-card h1 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: 2px;
}

.admin-login-card > p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px 1fr;
}

.admin-side {
  border-right: 1px solid var(--line);
  background: rgba(10, 14, 21, 0.9);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-side-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side-nav a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.admin-side-nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.admin-side-nav a.active { background: rgba(255, 92, 58, 0.1); color: var(--brand-2); }

.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--muted); }

.admin-main { padding: 32px 36px 80px; }

.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head h1 { margin: 0; font-size: 24px; letter-spacing: 2px; }

.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.admin-stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.admin-stat strong { display: block; font-size: 24px; letter-spacing: 1px; }
.admin-stat span { font-size: 11.5px; letter-spacing: 1.6px; color: var(--muted); text-transform: uppercase; }

.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-tab:hover { color: var(--text); border-color: var(--line-strong); }
.admin-tab.active { color: var(--text); border-color: rgba(255, 92, 58, 0.45); background: rgba(255, 92, 58, 0.1); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.admin-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255, 255, 255, 0.03); }
.admin-table .cell-title { color: var(--text); font-weight: 600; }
.admin-table .cell-clamp { max-width: 380px; line-height: 1.7; word-break: break-word; }

.admin-empty { padding: 34px; text-align: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }

.admin-editor {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 92, 58, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 92, 58, 0.05);
}
.admin-editor[hidden] { display: none; }
.admin-editor .row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(8, 11, 16, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.8;
  resize: vertical;
}
.admin-textarea:focus { outline: none; border-color: rgba(255, 92, 58, 0.5); }

.admin-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.admin-actions .btn { white-space: nowrap; }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .admin-side-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-main { padding: 24px 18px 60px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================= 论坛 ================= */
.forum-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  margin-bottom: 26px;
}

.forum-tab {
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.forum-tab:hover { color: var(--text); }

.forum-tab.active {
  background: linear-gradient(120deg, rgba(255, 92, 58, 0.92), rgba(255, 141, 99, 0.92));
  color: #1b0b04;
  box-shadow: 0 8px 22px rgba(255, 92, 58, 0.26);
}

.forum-pane { display: none; }
.forum-pane.active { display: block; }

.forum-compose { padding: 22px 22px 16px; }

.forum-compose textarea {
  width: 100%;
  min-height: 104px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.75;
  resize: vertical;
  box-sizing: border-box;
}

.forum-compose textarea:focus {
  outline: none;
  border-color: rgba(255, 92, 58, 0.5);
}

.forum-compose-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.msg-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }

.msg-item {
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(12, 16, 24, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.msg-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.msg-author { font-size: 14px; font-weight: 600; color: var(--text); }
.msg-time { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }

.msg-body {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
  white-space: pre-wrap;
  word-break: break-word;
}

.bp-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.bp-search {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.bp-search::placeholder { color: var(--muted); }
.bp-search:focus { outline: none; border-color: rgba(255, 92, 58, 0.5); }

.bp-count { font-size: 12.5px; color: var(--muted); letter-spacing: 0.5px; }

.upload-card { padding: 24px; }

.upload-name-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.upload-name-row input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.upload-name-row input::placeholder { color: var(--muted); }
.upload-name-row input:focus { outline: none; border-color: rgba(255, 92, 58, 0.5); }

.upload-hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.4px;
}

@media (max-width: 640px) {
  .forum-tab { padding: 9px 18px; font-size: 13px; }
  .upload-name-row input { min-width: 100%; }
}

/* ================= 论坛 v2：板块卡 / 楼层 / 蓝图表格 ================= */
.forum-boards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.board-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px 15px;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  background: rgba(10, 14, 21, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s, background 0.3s, transform 0.25s var(--ease);
}

.board-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }

.board-card.active {
  border-color: rgba(255, 92, 58, 0.5);
  background: linear-gradient(140deg, rgba(255, 92, 58, 0.14), rgba(10, 14, 21, 0.62) 62%);
  box-shadow: 0 16px 40px rgba(255, 92, 58, 0.12);
}

.board-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.board-icon {
  font-size: 11px;
  letter-spacing: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--brand-2);
  border: 1px solid rgba(255, 92, 58, 0.3);
  background: rgba(255, 92, 58, 0.1);
}

.board-count { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }
.board-name { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.board-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.board-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 2px 0 14px;
}

.board-title { font-size: 15px; font-weight: 700; letter-spacing: 0.5px; }
.board-sub { font-size: 12.5px; color: var(--muted); margin-left: 10px; letter-spacing: 0.4px; }

.post-editor {
  display: none;
  padding: 18px 20px 14px;
  margin-bottom: 16px;
}

.post-editor.is-open {
  display: block;
  animation: fbFade 0.3s var(--ease);
}

@keyframes fbFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.post-editor textarea,
.reply-editor textarea {
  width: 100%;
  min-height: 96px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.75;
  resize: vertical;
}

.post-editor textarea:focus,
.reply-editor textarea:focus { outline: none; border-color: rgba(255, 92, 58, 0.5); }

.post-editor-foot,
.reply-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.post-count { font-size: 12.5px; color: var(--muted); }
.post-editor-actions { display: flex; gap: 8px; }

.thread-list { display: flex; flex-direction: column; gap: 10px; }

.thread {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(9, 12, 19, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s;
}

.thread:hover { border-color: var(--line-strong); }

.thread-avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.thread-main { flex: 1; min-width: 0; }

.thread-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.thread-author { font-size: 14px; font-weight: 600; color: var(--text); }

.thread-floor {
  font-size: 11.5px;
  letter-spacing: 0.5px;
  padding: 1px 7px;
  border-radius: 6px;
  color: var(--brand-2);
  background: rgba(255, 92, 58, 0.1);
  border: 1px solid rgba(255, 92, 58, 0.24);
}

.thread-time { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: 0.4px; }

.thread-body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-dim);
  white-space: pre-wrap;
  word-break: break-word;
}

.thread-foot { margin-top: 12px; }

.thread-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.thread-reply-btn:hover {
  color: var(--brand-2);
  border-color: rgba(255, 92, 58, 0.45);
  background: rgba(255, 92, 58, 0.1);
}

.reply-badge {
  min-width: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 92, 58, 0.85);
  color: #1b0b04;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.thread-replies { display: flex; flex-direction: column; margin-top: 10px; }

.reply-item {
  padding: 9px 0 9px 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.reply-item:last-child { margin-bottom: 0; }

.reply-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.reply-author { font-size: 12.5px; font-weight: 600; color: var(--brand-2); }
.reply-time { margin-left: auto; font-size: 11.5px; color: var(--muted); }

.reply-body {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-dim);
  white-space: pre-wrap;
  word-break: break-word;
}

.reply-editor {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  animation: fbFade 0.25s var(--ease);
}

.reply-to { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.reply-editor textarea { min-height: 78px; font-size: 14px; }

.bp-searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bp-searchbar .bp-search { flex: 1; }

.upload-card { display: none; margin-bottom: 16px; }
.upload-card.is-open { display: block; animation: fbFade 0.3s var(--ease); }

.bp-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(9, 12, 19, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bp-thead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 90px 130px 150px;
  gap: 12px;
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.bp-tbody { display: flex; flex-direction: column; }

.bp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 90px 130px 150px;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}

.bp-row:last-child { border-bottom: none; }
.bp-row:hover { background: rgba(255, 255, 255, 0.045); }

.bp-cell { min-width: 0; font-size: 13px; color: var(--text-dim); }
.bp-name-cell { display: flex; align-items: center; gap: 10px; }

.bp-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-mine {
  flex: 0 0 auto;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(62, 224, 178, 0.28);
}

.bp-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-size, .bp-time { font-size: 12.5px; color: var(--muted); }
.bp-act { display: flex; gap: 8px; justify-content: flex-end; }

.forum-tip {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.9;
  color: #5f6d84;
}

@media (max-width: 760px) {
  .forum-boards { grid-template-columns: 1fr; }
  .bp-thead { display: none; }
  .bp-row { grid-template-columns: 1fr; gap: 5px; padding: 14px 16px; }
  .bp-author, .bp-size, .bp-time { font-size: 12px; }
  .bp-act { justify-content: flex-start; margin-top: 6px; }
  .thread { padding: 16px; gap: 10px; }
  .thread-avatar { flex: 0 0 34px; width: 34px; height: 34px; font-size: 14px; }
}

/* ================= 内页底栏贴底 ================= */
body.page-bg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-bg main { flex: 1 0 auto; }

/* ================= 玩法：可点标签 + 展开说明 ================= */
.tag-btn {
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.tag-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.tag-btn.is-active {
  color: #9ff0d8;
  background: var(--accent-dim);
  border-color: rgba(62, 224, 178, 0.34);
}

.module-detail {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  border-left: 2px solid rgba(62, 224, 178, 0.45);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dim);
  animation: fbFade 0.25s var(--ease);
}

.module-detail strong {
  color: var(--accent);
  font-weight: 600;
  margin-right: 7px;
}

/* ================= 后台用户管理 ================= */
.tag.is-danger { color: #ff9ba5; background: rgba(255, 93, 108, 0.12); border-color: rgba(255, 93, 108, 0.32); }
.tag.is-warn { color: #f3c76b; background: rgba(243, 199, 107, 0.1); border-color: rgba(243, 199, 107, 0.3); }

.user-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions-wrap { flex-wrap: wrap; }


/* ================= 公告 mod 附件 ================= */
.badge-mod {
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.32);
}

.mod-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 140, 90, 0.28);
  background: linear-gradient(180deg, rgba(255, 140, 90, 0.10), rgba(255, 140, 90, 0.03));
}

.mod-badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffb08a;
  background: rgba(255, 140, 90, 0.14);
  border: 1px solid rgba(255, 140, 90, 0.32);
}

.mod-main { flex: 1 1 auto; min-width: 0; }
.mod-name { font-size: 14.5px; font-weight: 600; word-break: break-all; }
.mod-meta { margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.mod-card .btn { flex: 0 0 auto; }
