/* ============================================================
   Gamers 游戏社区 — 深色电竞主题 v3
   更通透的玻璃 + 更干净的配色 + 可拖拽 3D 主视觉
   ============================================================ */

:root {
  --bg: #04050a;
  --bg-soft: #080a12;
  /* 玻璃：更低的不透明度 + 更强的模糊，才透 */
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.20);
  --txt: #f0f3fa;
  --txt-dim: #a2a8c0;
  --txt-faint: #6f7590;
  --blue: #4aa8ff;
  --violet: #a06cff;
  --cyan: #2ad8ef;
  --grad: linear-gradient(120deg, #4aa8ff 0%, #7f74ff 48%, #a06cff 100%);
  --grad-text: linear-gradient(100deg, #7ac8ff, #9a8bff 45%, #c98bff);
  --radius: 18px;
  --display: "Bahnschrift", "Segoe UI Semibold", "Microsoft YaHei", sans-serif;
  --body: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ---------- 背景：两团干净的主光 + 网格 + 极淡噪点 ---------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.bg-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
/* 左上：冷蓝，饱和度高但面积大、透明度低 → 不发灰 */
.bg-aurora span:nth-child(1) {
  width: 780px; height: 780px; top: -320px; left: -200px;
  background: radial-gradient(circle, rgba(40, 120, 255, 0.55), rgba(40, 120, 255, 0.12) 45%, transparent 68%);
  animation: float1 24s ease-in-out infinite;
}
/* 右上：紫 */
.bg-aurora span:nth-child(2) {
  width: 700px; height: 700px; top: -260px; right: -180px;
  background: radial-gradient(circle, rgba(150, 70, 255, 0.5), rgba(150, 70, 255, 0.1) 45%, transparent 68%);
  animation: float2 28s ease-in-out infinite;
}
/* 中部环境光：整页内容区的大范围柔光 */
.bg-aurora span:nth-child(4) {
  width: 1500px; height: 1100px;
  top: 12%; left: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(48% 44% at 42% 38%, rgba(56, 120, 255, 0.26), transparent 72%),
    radial-gradient(44% 40% at 62% 62%, rgba(140, 80, 255, 0.22), transparent 74%);
  filter: blur(120px);
  animation: float4 36s ease-in-out infinite;
}
@keyframes float4 { 50% { transform: translateX(-50%) translate3d(0, -40px, 0) scale(1.05); } }
/* 中下：青，位置压低避免和上面混成灰 */
.bg-aurora span:nth-child(3) {
  width: 620px; height: 620px; bottom: -300px; left: 32%;
  background: radial-gradient(circle, rgba(30, 200, 235, 0.28), transparent 70%);
  animation: float3 32s ease-in-out infinite;
}
@keyframes float1 { 50% { transform: translate3d(70px, 50px, 0) scale(1.08); } }
@keyframes float2 { 50% { transform: translate3d(-60px, 80px, 0) scale(1.06); } }
@keyframes float3 { 50% { transform: translate3d(50px, -60px, 0) scale(1.1); } }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 跟随鼠标的光 */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 700px; height: 700px;
  margin: -350px 0 0 -350px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(70, 140, 255, 0.10), rgba(140, 80, 255, 0.05) 40%, transparent 66%);
  mix-blend-mode: screen;
  transition: opacity 0.4s;
  opacity: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 1180px; max-width: calc(100% - 48px); margin: 0 auto; position: relative; z-index: 1; }

/* ---------- 玻璃卡：透、亮边、无脏灰 ---------- */
.glass {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028) 42%, rgba(255, 255, 255, 0.045));
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 -1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 70px -34px rgba(0, 0, 0, 0.95);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.08) 34%, rgba(120, 170, 255, 0.42) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* 玻璃卡：跟随光标的高光 */
.stat, .board, .server-card { position: relative; overflow: hidden; }
.stat::after, .board::after, .server-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.stat:hover::after, .board:hover::after, .server-card:hover::after { opacity: 1; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  background: rgba(4, 5, 10, 0.55);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled {
  background: rgba(4, 5, 10, 0.82);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 1);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 160, 255, 0.6) 35%, rgba(175, 110, 255, 0.5) 65%, transparent);
  opacity: 0.8;
}
.nav { height: 80px; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-icon {
  width: 48px; height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(90, 140, 255, 0.6));
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-icon { transform: rotate(-8deg) scale(1.06); }
.brand .name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand .name em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--txt-dim);
  font-size: 14.5px;
  transition: 0.2s;
}
.nav-links a:hover { color: var(--txt); background: rgba(255, 255, 255, 0.07); }
.nav-links a.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 13px;
  width: 210px;
  color: var(--txt-faint);
  font-size: 13.5px;
  backdrop-filter: blur(12px);
}
.search svg { flex-shrink: 0; opacity: 0.7; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px;
  padding: 11px 19px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
  color: var(--txt);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.13); border-color: var(--line-strong); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 12px 34px -10px rgba(96, 130, 255, 0.7);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 18px 44px -12px rgba(96, 130, 255, 0.85); }
.btn-primary:hover::after { transform: translateX(120%); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 54px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--txt-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-family: var(--display);
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: -1.4px;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(120, 150, 255, 0.35));
}
.hero p.lead {
  color: var(--txt-dim);
  font-size: 16.5px;
  max-width: 470px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 3D 舞台（可拖拽旋转） ---------- */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}
.stage {
  position: relative;
  width: 600px;
  height: 600px;
  perspective: 1500px;
  perspective-origin: 50% 45%;
  touch-action: none;
  cursor: grab;
}
.stage.dragging { cursor: grabbing; }
.stage-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
/* 各层：不同 Z 距离，旋转时产生真实视差 */
.layer { position: absolute; transform-style: preserve-3d; }
.layer-glow {
  width: 620px; height: 620px;
  left: 0; top: 0;
  background:
    radial-gradient(46% 42% at 50% 44%, rgba(70, 140, 255, 0.42), transparent 72%),
    radial-gradient(40% 38% at 62% 58%, rgba(150, 80, 255, 0.32), transparent 74%);
  filter: blur(70px);
  transform: translateZ(-140px);
  opacity: 0.9;
}
/* 挤出层：叠若干张，旋转时形成厚度 */
.layer-chip { backface-visibility: hidden; }
.layer-logo.extrude { pointer-events: none; }

.layer-logo {
  width: 600px;
  left: 0; top: 40px;
  transform: translateZ(60px);
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, 0.85));
}
.layer-chip {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #cfe2ff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 12px 30px -14px rgba(70, 120, 255, 0.9);
  white-space: nowrap;
}
.layer-chip.c1 { left: 10px; top: 96px; transform: translateZ(150px); }
.layer-chip.c2 { right: 6px; top: 300px; transform: translateZ(200px); }
.layer-chip.c3 { left: 40px; bottom: 70px; transform: translateZ(110px); }
.drag-hint {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--txt-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0.75;
}
.drag-hint svg { width: 14px; height: 14px; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 78px;
}
.stat {
  padding: 22px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 40px 70px -34px rgba(70, 120, 255, 0.6); }
.stat .label { font-size: 12.5px; color: var(--txt-faint); letter-spacing: 1.2px; margin-bottom: 6px; }
.stat .value {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .value span { font-size: 13px; color: var(--txt-faint); font-weight: 400; -webkit-text-fill-color: var(--txt-faint); }

/* ---------- 区块 ---------- */
.section { margin-bottom: 78px; position: relative; }
/* 玻璃背后的一团光：只放一团、颜色纯，避免混成灰 */
.section::before, .stats-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 600px;
  height: 440px;
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
  left: -170px;
  top: -40px;
  background: radial-gradient(circle, rgba(40, 120, 255, 0.6), transparent 68%);
}
.section:nth-of-type(even)::before {
  left: auto;
  right: -170px;
  background: radial-gradient(circle, rgba(150, 70, 255, 0.55), transparent 68%);
}
.stats-wrap { position: relative; z-index: 1; }
.stats-wrap::before {
  left: 26%;
  top: -40px;
  width: 700px;
  height: 320px;
  background: radial-gradient(circle, rgba(110, 90, 255, 0.5), transparent 70%);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex; align-items: center; gap: 12px;
}
.section-head h2::before {
  content: "";
  width: 4px; height: 22px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(92, 150, 255, 0.9);
}
.section-head .more { font-size: 13.5px; color: var(--txt-dim); transition: 0.2s; }
.section-head .more:hover { color: var(--blue); }

/* ---------- MC 服务器卡 ---------- */
.server-card {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(58, 160, 255, 0.16), rgba(160, 108, 255, 0.12) 60%, rgba(255, 255, 255, 0.05));
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.server-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 46px 80px -36px rgba(90, 130, 255, 0.65); }
.server-card .ico {
  width: 62px; height: 62px;
  border-radius: 17px;
  background: var(--grad);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 16px 36px -8px rgba(90, 140, 255, 0.85);
  flex-shrink: 0;
}
.server-info { position: relative; z-index: 1; transform: translateZ(18px); }
.server-info .title { font-family: var(--display); font-size: 19px; font-weight: 700; margin-bottom: 5px; }
.server-info .title .badge {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 2px 9px;
  border-radius: 999px;
  margin-left: 10px;
  background: rgba(42, 216, 239, 0.16);
  color: var(--cyan);
  border: 1px solid rgba(42, 216, 239, 0.4);
  box-shadow: 0 0 20px -4px rgba(42, 216, 239, 0.8);
  vertical-align: 2px;
}
.server-info .ip {
  font-family: "Consolas", ui-monospace, monospace;
  font-size: 15px;
  color: var(--txt-dim);
  letter-spacing: 0.5px;
}
.server-info .ip b { color: var(--txt); font-weight: 600; }
.server-meta { margin-left: auto; display: flex; align-items: center; gap: 28px; position: relative; z-index: 1; transform: translateZ(26px); }
.server-meta .num { text-align: center; }
.server-meta .num b { font-family: var(--display); font-size: 23px; display: block; }
.server-meta .num span { font-size: 12px; color: var(--txt-faint); }
.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--txt);
  padding: 11px 17px;
  border-radius: 11px;
  font-size: 13.5px;
  cursor: pointer;
  transition: 0.22s;
  font-family: var(--body);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.copy-btn.done { border-color: rgba(42, 216, 239, 0.6); color: var(--cyan); box-shadow: 0 0 24px -6px rgba(42, 216, 239, 0.9); }

/* ---------- 板块（3D 倾斜卡） ---------- */
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1500px; position: relative; }
.boards::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 12%;
  top: -30px;
  width: 760px;
  height: 380px;
  filter: blur(90px);
  opacity: 0.6;
  pointer-events: none;
  background: radial-gradient(circle, rgba(80, 150, 255, 0.65), transparent 70%);
}
.board {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.board:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 46px 80px -32px rgba(70, 120, 255, 0.65),
    0 0 0 1px rgba(120, 160, 255, 0.3);
}
.board .bico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(74, 168, 255, 0.28), rgba(160, 108, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #b6d4ff;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 26px -12px rgba(70, 120, 255, 1);
  transform: translateZ(28px);
}
.board .bico svg { width: 22px; height: 22px; }
.board > div { transform: translateZ(22px); }
.board .bname { font-family: var(--display); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.board .bdesc { font-size: 12.5px; color: var(--txt-faint); }
.board .bmeta {
  margin-left: auto;
  text-align: right;
  font-size: 12px;
  color: var(--txt-faint);
  flex-shrink: 0;
}
.board .bmeta b { display: block; font-family: var(--display); font-size: 16px; color: var(--txt-dim); }

/* ---------- 最新主题 ---------- */
.threads { overflow: hidden; position: relative; }
.thread {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}
.thread:last-child { border-bottom: 0; }
.thread:hover { background: rgba(255, 255, 255, 0.045); }
.avatar {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 8px 18px -10px rgba(0, 0, 0, 0.9);
}
.thread .tmain { min-width: 0; flex: 1; }
.thread .ttitle {
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
  transition: color 0.2s;
}
.thread .ttitle:hover { color: var(--blue); }
.thread .tmeta { font-size: 12px; color: var(--txt-faint); display: flex; gap: 12px; }
.tag {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
}
.tag-hot { background: rgba(255, 92, 92, 0.16); color: #ff9b9b; border-color: rgba(255, 92, 92, 0.3); }
.tag-new { background: rgba(74, 168, 255, 0.16); color: #8cc8ff; border-color: rgba(74, 168, 255, 0.32); }
.tag-ann { background: rgba(160, 108, 255, 0.18); color: #cfa6ff; border-color: rgba(160, 108, 255, 0.34); }
.thread .treply {
  font-size: 12.5px;
  color: var(--txt-faint);
  text-align: right;
  flex-shrink: 0;
  width: 84px;
}
.thread .treply b { color: var(--txt-dim); font-family: var(--display); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--txt-faint);
}
.footer-inner .fbrand { display: flex; align-items: center; gap: 10px; }
.footer-inner .fbrand img { width: 30px; height: 30px; object-fit: contain; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--txt-dim); }

/* ---------- 进场动画 ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}
.enter { opacity: 0; animation: riseIn 0.9s var(--ease) forwards; }
.hero .kicker.enter { animation-delay: 0.05s; }
.hero h1.enter { animation-delay: 0.16s; }
.hero p.enter { animation-delay: 0.3s; }
.hero-cta.enter { animation-delay: 0.42s; }
.hero-art.enter { animation: scaleIn 1.1s var(--ease) 0.2s forwards; opacity: 0; }
.stats .stat.enter:nth-child(1) { animation-delay: 0.5s; }
.stats .stat.enter:nth-child(2) { animation-delay: 0.58s; }
.stats .stat.enter:nth-child(3) { animation-delay: 0.66s; }
.stats .stat.enter:nth-child(4) { animation-delay: 0.74s; }

/* 滚动进场 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .stage { width: 520px; height: 520px; }
  .layer-logo { width: 520px; left: 0; top: 40px; }
  .layer-glow { width: 420px; height: 420px; left: 50px; top: 50px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  .hero h1 { font-size: 48px; }
  .hero-art { min-height: 460px; }
  .stage { width: 420px; height: 420px; }
  .layer-logo { width: 420px; top: 30px; }
  .layer-glow { width: 340px; height: 340px; left: 40px; top: 40px; }
  .layer-chip { display: none; }
  .boards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .search { display: none; }
  .server-card { flex-wrap: wrap; }
  .server-meta { margin-left: 0; width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 30px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 15px; }
  .hero-art { min-height: 360px; }
  .stage { width: 320px; height: 320px; }
  .layer-logo { width: 320px; top: 20px; }
  .layer-glow { width: 260px; height: 260px; left: 30px; top: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .boards { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .enter, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   点击反馈
   ============================================================ */
.btn, .board, .stat, .server-card, .thread, .copy-btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(160, 200, 255, 0.28) 40%, rgba(255, 255, 255, 0) 72%);
  animation: rippleOut 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  mix-blend-mode: screen;
}
@keyframes rippleOut {
  to { transform: scale(1); opacity: 0; }
}
/* 按压：不打断 tilt 的 transform，改用亮度和内阴影 */
.pressed { filter: brightness(1.22); }
.btn:active, .copy-btn:active { transform: translateY(1px) scale(0.985); }

/* ============================================================
   论坛列表页
   ============================================================ */
.page-head { padding: 46px 0 26px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--txt-faint); margin-bottom: 18px; }
.crumb a:hover { color: var(--txt-dim); }
.crumb span { opacity: 0.5; }
.page-head h1 {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.page-head h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-head p { color: var(--txt-dim); font-size: 15px; max-width: 620px; }

.forum-layout {
  display: grid;
  grid-template-columns: 1fr 318px;
  gap: 22px;
  align-items: start;
  margin-bottom: 72px;
}

/* 版块面板 */
.board-panel { margin-bottom: 16px; overflow: hidden; }
.bp-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}
.bp-name { font-family: var(--display); font-size: 17px; font-weight: 700; }
.bp-sub { font-size: 12px; color: var(--txt-faint); margin-top: 1px; }
.bp-meta { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--txt-faint); }
.bp-meta b { color: var(--txt-dim); font-family: var(--display); font-size: 14px; }
.bp-post {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 20px -10px rgba(90, 130, 255, 0.9);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.bp-post:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 12px 26px -10px rgba(90, 130, 255, 1); }

.bp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 0.18s;
}
.bp-row:hover { background: rgba(255, 255, 255, 0.035); }
.bp-row .ttl { flex: 1; min-width: 0; }
.bp-row .ttl a {
  font-size: 14px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  transition: color 0.18s;
}
.bp-row .ttl a:hover { color: var(--blue); }
.bp-row .meta { font-size: 11.5px; color: var(--txt-faint); margin-top: 2px; display: flex; gap: 10px; }
.bp-row .who { width: 96px; font-size: 12px; color: var(--txt-faint); text-align: right; flex-shrink: 0; }
.bp-row .rp { width: 66px; text-align: right; font-size: 12.5px; color: var(--txt-faint); flex-shrink: 0; }
.bp-row .rp b { color: var(--txt-dim); font-family: var(--display); }

/* 侧栏 */
.side-card { padding: 18px 20px; margin-bottom: 16px; }
.side-title {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.side-title::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(92, 150, 255, 0.9);
}
.stat-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--txt-dim);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-line:last-child { border-bottom: 0; }
.stat-line b { font-family: var(--display); color: var(--txt); }
.user-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.user-grid span {
  aspect-ratio: 1;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--txt-dim);
  transition: 0.18s;
}
.tag-chip:hover { background: rgba(255, 255, 255, 0.12); color: var(--txt); }

@media (max-width: 1100px) {
  .forum-layout { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 32px; }
}

/* 首屏进场（无开场动画时直接播放） */
.js .enter { animation-play-state: running; }
/* ============================================================
   组队开黑页 / 赞助区
   ============================================================ */
.qq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.qq-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.qq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 34px 60px -32px rgba(60, 160, 255, 0.6);
}
.qq-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #12b7f5, #2ad8ef);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 24px -12px rgba(20, 180, 240, 0.9);
}
.qq-ico.violet { background: linear-gradient(135deg, #7f74ff, #a06cff); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 24px -12px rgba(140, 110, 255, 0.9); }
.qq-ico.green { background: linear-gradient(135deg, #10b981, #2ad8ef); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 24px -12px rgba(20, 200, 160, 0.9); }
.qq-info { min-width: 0; }
.qq-name { font-family: var(--display); font-size: 15px; font-weight: 700; }
.qq-num {
  font-family: "Consolas", ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--txt-faint);
  margin-top: 2px;
  white-space: nowrap;
}
.qq-join {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--line-strong);
  transition: 0.2s;
}
.qq-join:hover { background: rgba(255,255,255,0.18); }

.team-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--txt-dim);
  transition: 0.2s;
}
.chip:hover { background: rgba(255, 255, 255, 0.1); color: var(--txt); }
.chip.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 24px -12px rgba(90, 130, 255, 0.9);
}

.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 13px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 34px 60px -32px rgba(70, 120, 255, 0.6);
}
.team-game {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 12px 26px -14px rgba(0,0,0,0.9);
}
.team-body { flex: 1; min-width: 0; }
.team-title { font-size: 15.5px; font-weight: 600; margin-bottom: 5px; }
.team-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--txt-faint); }
.team-slot { text-align: center; flex-shrink: 0; padding: 0 6px; }
.team-slot b { display: block; font-family: var(--display); font-size: 19px; }
.team-slot span { font-size: 11.5px; color: var(--txt-faint); }
.team-join {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 26px -12px rgba(90, 130, 255, 0.9);
  transition: transform 0.2s var(--ease);
}
.team-join:hover { transform: translateY(-1px); }

/* 赞助 */
.sponsor-wrap {
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(140deg, rgba(58, 160, 255, 0.14), rgba(160, 108, 255, 0.12) 60%, rgba(255,255,255,0.04));
}
.sponsor-wrap h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sponsor-wrap h2::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(92, 150, 255, 0.9);
}
.sponsor-desc { font-size: 13.5px; color: var(--txt-dim); line-height: 1.75; margin-bottom: 18px; }
.sponsor-perks { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--txt-faint); }
.sponsor-perks span { display: flex; align-items: center; gap: 6px; }
.sponsor-perks i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  display: inline-block;
}
.sponsor-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.tier {
  text-align: center;
  padding: 14px 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  transition: 0.22s;
}
.tier:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--line-strong); transform: translateY(-2px); }
.tier b { display: block; font-family: var(--display); font-size: 20px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier span { font-size: 11.5px; color: var(--txt-faint); }
.sponsor-actions { display: flex; gap: 10px; }
.sponsor-actions a { flex: 1; text-align: center; padding: 11px 0; border-radius: 11px; font-size: 13.5px; font-weight: 600; }
.pay-wechat { background: linear-gradient(135deg, #07c160, #12b7a0); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset; }
.pay-alipay { background: linear-gradient(135deg, #1677ff, #4aa8ff); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset; }
.sponsor-note { margin-top: 12px; font-size: 11.5px; color: var(--txt-faint); }

@media (max-width: 1024px) {
  .qq-grid { grid-template-columns: 1fr; }
  .sponsor-wrap { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================================
   MC 服务器页 / 资源库
   ============================================================ */
.mc-hero {
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-bottom: 26px;
  background: linear-gradient(140deg, rgba(58, 160, 255, 0.16), rgba(160, 108, 255, 0.13) 60%, rgba(255,255,255,0.04));
}
.mc-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2ad8ef;
  box-shadow: 0 0 14px #2ad8ef;
  animation: pulse 2s infinite;
}
.mc-ip-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mc-ip {
  font-family: "Consolas", ui-monospace, monospace;
  font-size: 16px;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 11px;
  letter-spacing: 0.4px;
}
.mc-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 30px; text-align: center; }
.mc-stats b { display: block; font-family: var(--display); font-size: 24px; }
.mc-stats span { font-size: 12px; color: var(--txt-faint); }

.connect-steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset;
}
.step div { font-size: 14px; }
.step small { display: block; color: var(--txt-faint); font-size: 12.5px; margin-top: 3px; }

.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.player {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  font-size: 13.5px;
}
.player .pv {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.rules { margin: 0; padding-left: 20px; color: var(--txt-dim); font-size: 14px; line-height: 2; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}
.faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--blue); margin-bottom: 8px; }
.faq p { font-size: 13.5px; color: var(--txt-dim); line-height: 1.8; }

/* 资源库 */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.res-card { overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.res-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 40px 70px -34px rgba(80, 120, 255, 0.6); }
.res-cover {
  height: 108px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
}
.res-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 5, 10, 0.55));
}
.res-body { padding: 14px 16px 16px; }
.res-title { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; line-height: 1.45; }
.res-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--txt-faint); margin-bottom: 12px; }
.res-foot { display: flex; align-items: center; justify-content: space-between; }
.dl-count { font-size: 12px; color: var(--txt-faint); }
.dl-btn {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 8px 20px -12px rgba(90, 130, 255, 0.9);
  transition: transform 0.2s var(--ease);
}
.dl-btn:hover { transform: translateY(-1px); }
.res-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }

@media (max-width: 1100px) {
  .res-layout { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-hero { grid-template-columns: 1fr; }
  .mc-stats { justify-content: start; }
}
@media (max-width: 640px) {
  .res-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   帖子详情页
   ============================================================ */
.thread-head { padding: 34px 0 22px; }
.thread-title {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin: 14px 0 12px;
}
.thread-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--txt-faint); align-items: center; }
.thread-actions { margin-left: auto; display: flex; gap: 8px; }
.mini-btn {
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--txt-dim);
  transition: 0.2s;
}
.mini-btn:hover { background: rgba(255, 255, 255, 0.12); color: var(--txt); }

.post {
  display: flex;
  margin-bottom: 14px;
  overflow: hidden;
}
.post-author {
  width: 172px;
  flex-shrink: 0;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}
.post-avatar {
  width: 56px; height: 56px;
  border-radius: 16px;
  margin: 0 auto 10px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 12px 26px -14px rgba(0,0,0,0.9);
}
.post-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.post-rank { font-size: 11.5px; color: var(--txt-faint); margin-bottom: 10px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.post-tags span {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--txt-faint);
}
.post-main { flex: 1; min-width: 0; padding: 18px 24px 22px; }
.post-head { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--txt-faint); margin-bottom: 14px; }
.post-head .floor { color: var(--blue); font-weight: 600; }
.post-content { font-size: 14.5px; line-height: 1.95; color: #d8dcea; }
.post-content p { margin-bottom: 12px; }
.post-content p:last-child { margin-bottom: 0; }
.post-content code {
  font-family: "Consolas", ui-monospace, monospace;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 5px;
  color: #9fd0ff;
}
.quote {
  margin: 14px 0;
  padding: 12px 16px;
  border-radius: 11px;
  border-left: 3px solid var(--blue);
  background: rgba(74, 168, 255, 0.08);
  font-size: 13.5px;
  color: var(--txt-dim);
}
.post-foot { display: flex; gap: 14px; margin-top: 16px; font-size: 12px; color: var(--txt-faint); }
.post-foot a:hover { color: var(--txt-dim); }

.reply-box { padding: 20px 22px; margin-top: 18px; }
.reply-box textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--txt);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.7;
  outline: none;
  transition: border-color 0.2s;
}
.reply-box textarea:focus { border-color: rgba(120, 160, 255, 0.55); }
.reply-tools { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.reply-tools .send { margin-left: auto; }

.pager { display: flex; gap: 8px; justify-content: center; margin: 26px 0 60px; }
.pager a {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--txt-dim);
  transition: 0.2s;
}
.pager a:hover { background: rgba(255, 255, 255, 0.1); color: var(--txt); }
.pager a.on { background: var(--grad); border-color: transparent; color: #fff; }

@media (max-width: 900px) {
  .post { flex-direction: column; }
  .post-author { width: 100%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 12px; text-align: left; }
  .post-avatar { margin: 0; }
  .post-tags { justify-content: flex-start; }
  .thread-actions { margin-left: 0; }
}

/* ============================================================
   空状态（没有数据的版本）
   ============================================================ */
.empty-card {
  border-style: dashed !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}
.empty-card .server-info .title { color: var(--txt-dim); }
.empty-card .server-info .ip { color: var(--txt-faint); font-family: var(--body); font-size: 13.5px; }
.empty-card .copy-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.empty-card .bico { opacity: 0.55; }
.empty-card .bmeta b { color: var(--txt-faint); }

.empty-panel { padding: 0; }
.empty-state {
  padding: 54px 20px 58px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty-state svg {
  width: 44px;
  height: 44px;
  color: rgba(150, 180, 255, 0.5);
  margin-bottom: 4px;
}
.es-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--txt-dim);
}
.es-desc { font-size: 13.5px; color: var(--txt-faint); }
.es-btn { margin-top: 10px; }
