/* ==========================================================================
   枫岚庭 · 精细化视觉层
   在 style.css 之后加载，只做质感与层次升级，不改布局结构。
   原则：深空底 / 单像素描边 / 分层阴影 / 克制的品牌色 / 精密排版
   ========================================================================== */

:root {
  --bg: #05070a;
  --bg-2: #080b11;
  --panel: rgba(16, 21, 30, 0.62);
  --panel-solid: #0e131b;
  --panel-hi: rgba(26, 33, 46, 0.74);
  --line: rgba(255, 255, 255, 0.055);
  --line-strong: rgba(255, 255, 255, 0.11);
  --text: #edf2fa;
  --text-dim: #a9b7ca;
  --muted: #75839a;
  --brand: #ff5c3a;
  --brand-2: #ff9268;
  --accent: #3ee0b2;
  --gold: #f0c979;
  --radius: 20px;
  --radius-sm: 12px;
  --ring: 0 0 0 3px rgba(255, 92, 58, 0.26);
  --hair: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 18px 42px -18px rgba(0, 0, 0, 0.72);
  --shadow-lg: 0 36px 90px -28px rgba(0, 0, 0, 0.8), 0 8px 26px -12px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础：底色、网格、焦点环 ---------- */

body {
  background-color: var(--bg);
  letter-spacing: 0.012em;
}

/* 细网格底纹，只在页面顶部微弱可见，压住纯色的“平” */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(85% 62% at 50% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(85% 62% at 50% 0%, #000 0%, transparent 74%);
  opacity: 0.55;
}

h1, h2, h3, h4 {
  letter-spacing: -0.006em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.status-value,
.news-meta,
.thread-time,
.reply-time,
.admin-table td,
.bp-table td,
.admin-stat,
.time,
.mono {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

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

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #070a0e; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#242c38, #161d27);
  border-radius: 9px;
  border: 2px solid #070a0e;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(#323c4b, #1d2531); }

/* ---------- 导航 ---------- */

.nav {
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.9);
}

.nav-inner { padding: 13px 34px; gap: 32px; }

.brand-mark {
  border-radius: 13px;
  background: linear-gradient(150deg, #ff8a64, #ff5c3a 58%, #e8401f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 8px 22px -8px rgba(255, 92, 58, 0.7);
  color: #1a0a04;
}

.brand-text { letter-spacing: 1.5px; }
.brand-text small { letter-spacing: 2.6px; font-size: 9px; color: #6c7a90; }

.nav-links { gap: 4px; font-size: 13.5px; }

.nav-links a {
  padding: 8px 13px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  color: #8695ab;
  transition: color 0.22s, background 0.22s, box-shadow 0.22s;
}

.nav-links a::after { display: none; }

.nav-links a:hover {
  color: #eaf0f8;
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a.active {
  color: #fff;
  background: rgba(255, 92, 58, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 58, 0.2);
}

/* ---------- 按钮 ---------- */

.btn {
  border-radius: 12px;
  letter-spacing: 0.02em;
  font-weight: 600;
  transition: transform 0.22s var(--ease), box-shadow 0.3s, background 0.24s, border-color 0.24s, filter 0.24s;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a52 0%, #ff5c3a 52%, #ef4526 100%);
  color: #170802;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(120, 30, 10, 0.35),
    0 12px 28px -12px rgba(255, 92, 58, 0.75);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 16px 36px -12px rgba(255, 92, 58, 0.85);
  transform: translateY(-1px);
}

/* 光扫：hover 时一道高光从左侧划过 */
.btn-primary::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 40%;
  height: 180%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.btn-primary:hover::after { opacity: 1; animation: shine 0.75s var(--ease); }

@keyframes shine {
  0% { left: -60%; }
  100% { left: 130%; }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.032);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4ecf7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.062);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 15px; font-size: 12.5px; border-radius: 10px; }

.btn-danger {
  background: rgba(255, 93, 108, 0.08);
  border-color: rgba(255, 93, 108, 0.24);
  color: #ff9aa4;
}
.btn-danger:hover { background: rgba(255, 93, 108, 0.16); border-color: rgba(255, 93, 108, 0.38); }

/* ---------- HERO ---------- */

.hero-inner { padding: 152px 24px 104px; }

.hero-tag {
  gap: 10px;
  padding: 7px 17px;
  margin-bottom: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 10px 26px -18px rgba(0, 0, 0, 0.9);
  font-size: 11.5px;
  letter-spacing: 2.4px;
  color: #c2cfdf;
}

.hero h1 {
  letter-spacing: 0.035em;
  font-weight: 800;
  background: linear-gradient(112deg, #ffffff 6%, #ffe2d6 34%, #ff8b65 66%, #ff5c3a 96%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 18px 50px rgba(255, 92, 58, 0.26));
}

.hero-sub {
  font-size: 15.5px;
  line-height: 1.92;
  color: #b6c4d6;
  max-width: 600px;
}

.hero-actions { gap: 12px; margin-bottom: 50px; }
.hero-actions .btn { padding: 13px 26px; font-size: 14px; }

/* 状态条：整条玻璃 + 单格 hover */
.status-bar {
  background: linear-gradient(180deg, rgba(20, 27, 38, 0.68), rgba(8, 12, 18, 0.72));
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 50px -26px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.status-cell {
  padding: 16px 28px;
  min-width: 132px;
  transition: background 0.25s;
}
.status-cell:hover { background: rgba(255, 255, 255, 0.035); }

.status-cell + .status-cell { border-left: 1px solid rgba(255, 255, 255, 0.06); }

.status-label {
  font-size: 10px;
  letter-spacing: 2.2px;
  color: #6f7e94;
  font-weight: 600;
}

.status-value { font-size: 18px; font-weight: 700; letter-spacing: 0.2px; }

/* 滚动提示更细 */
.scroll-hint { letter-spacing: 3.6px; font-size: 10px; color: #5f6d82; }
.scroll-hint .bar { height: 52px; }

/* ---------- 区块 ---------- */

.section { padding: 104px 0; }
.section-tight { padding: 68px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: 4.4px;
  color: #ff9d7c;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.section-title {
  font-size: clamp(27px, 3.4vw, 40px);
  letter-spacing: -0.012em;
  font-weight: 750;
  line-height: 1.18;
}

.section-desc { color: #7f8da3; font-size: 14.5px; line-height: 1.8; }
.section-head { margin-bottom: 48px; }
.section-head-row { margin-bottom: 44px; }

.link-more {
  font-size: 12.5px;
  letter-spacing: 0.6px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.22s, border-color 0.22s;
}
.link-more:hover { border-bottom-color: rgba(255, 146, 104, 0.5); }

/* ---------- 卡片质感 ---------- */

.glass {
  border-radius: var(--radius);
  border-color: rgba(255, 255, 255, 0.06);
  background: var(--panel);
  box-shadow: var(--hair), var(--shadow-md);
}

.module {
  padding: 32px 30px 30px;
  border-radius: var(--radius);
  border-color: rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(130% 100% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 46%),
    linear-gradient(168deg, rgba(25, 32, 44, 0.66), rgba(10, 14, 20, 0.84));
  box-shadow: var(--hair), 0 20px 44px -26px rgba(0, 0, 0, 0.75);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

/* 卡片顶沿一道极细的品牌光，hover 才亮 */
.module::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 146, 104, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

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

.module:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    var(--hair),
    0 34px 66px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 92, 58, 0.08);
}

.module-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #ffb79c;
  background: linear-gradient(150deg, rgba(255, 92, 58, 0.16), rgba(255, 92, 58, 0.04));
  border-color: rgba(255, 146, 104, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 22px -14px rgba(255, 92, 58, 0.7);
  margin-bottom: 22px;
}

.module h3 { font-size: 17.5px; letter-spacing: 0.01em; margin-bottom: 11px; }
.module p { color: #8492a7; font-size: 13.5px; line-height: 1.85; }

.tag-row { gap: 6px; }
.tag {
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #a3b1c4;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.07);
}
.tag-accent {
  color: #8fe9cf;
  background: rgba(62, 224, 178, 0.09);
  border-color: rgba(62, 224, 178, 0.22);
}

/* ---------- 公告卡 ---------- */

.news-item {
  position: relative;
  padding: 24px 28px;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(20, 26, 36, 0.6), rgba(10, 14, 20, 0.72));
  box-shadow: var(--hair), var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(255, 92, 58, 0.1));
  opacity: 0;
  transform: scaleY(0.3);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.news-item:hover::before { opacity: 1; transform: scaleY(1); }

.news-item:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(26, 33, 45, 0.7), rgba(13, 18, 25, 0.8));
  box-shadow: var(--hair), var(--shadow-md);
}

.news-item h3 { font-size: 16.5px; letter-spacing: 0.005em; }
.news-item p { color: #8391a6; font-size: 13.5px; }
.news-meta { font-size: 11.5px; color: #64748a; letter-spacing: 0.04em; }

.badge {
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.badge-top {
  background: rgba(255, 92, 58, 0.12);
  border-color: rgba(255, 92, 58, 0.26);
  color: #ffa183;
}

/* ---------- 页容器 / 标题 ---------- */

.page { padding: 156px 0 104px; }

.page-title {
  font-size: clamp(27px, 3.2vw, 36px);
  letter-spacing: -0.008em;
  font-weight: 750;
}
.page-sub { color: #7d8ba1; font-size: 14px; margin-bottom: 38px; }

/* ---------- 表单 ---------- */

.form-card {
  padding: 32px;
  border-radius: var(--radius);
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 26, 36, 0.66), rgba(10, 14, 20, 0.78));
  box-shadow: var(--hair), var(--shadow-lg);
}

.field { margin-bottom: 18px; }

.field label {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #7c8a9f;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input, .field textarea, .field select {
  padding: 12px 15px;
  border-radius: 11px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 12, 0.72);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  transition: border-color 0.24s, box-shadow 0.24s, background 0.24s;
}

.field input::placeholder, .field textarea::placeholder { color: #55627a; }

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(255, 92, 58, 0.5);
  background: rgba(5, 8, 12, 0.9);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(255, 92, 58, 0.13);
}

.field-hint { font-size: 11.5px; color: #6b7a91; letter-spacing: 0.02em; }

.form-foot { font-size: 12.5px; color: #7b899e; }

.alert { border-radius: 11px; font-size: 13px; }

/* ---------- 登录 / 注册 ---------- */

.auth-box, .auth-panel, .admin-login-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--hair), var(--shadow-lg);
}

.auth-shell { animation: rise 0.7s var(--ease) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 论坛 ---------- */

.board-card {
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.58), rgba(9, 13, 19, 0.7));
  box-shadow: var(--hair), var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.board-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.board-card.active {
  background: linear-gradient(180deg, rgba(255, 92, 58, 0.1), rgba(12, 16, 24, 0.8));
  border-color: rgba(255, 92, 58, 0.3);
  box-shadow: var(--hair), 0 16px 36px -22px rgba(255, 92, 58, 0.6);
}

.thread {
  border-radius: 15px;
  border-color: rgba(255, 255, 255, 0.058);
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.55), rgba(9, 13, 19, 0.68));
  box-shadow: var(--hair), var(--shadow-sm);
  transition: border-color 0.28s, background 0.28s, transform 0.28s var(--ease);
}

.thread:hover {
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(23, 30, 41, 0.62), rgba(11, 15, 22, 0.75));
  transform: translateY(-1px);
}

.thread-avatar {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(255, 92, 58, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.thread-floor {
  border-radius: 6px;
  font-size: 10.5px;
  letter-spacing: 1px;
  padding: 1px 7px;
  color: #93a1b5;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thread-author { letter-spacing: 0.01em; }

.thread-reply-btn {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #97a5b9;
  font-size: 12px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.thread-reply-btn:hover {
  color: #ffb59c;
  background: rgba(255, 92, 58, 0.09);
  border-color: rgba(255, 92, 58, 0.26);
}

.thread-replies { gap: 0; }

.reply-item {
  border-radius: 0;
  border: none;
  border-left: 2px solid rgba(255, 92, 58, 0.22);
  background: rgba(255, 255, 255, 0.018);
  padding: 10px 14px;
  margin-left: 6px;
}

.reply-item + .reply-item { margin-top: 6px; }

.reply-editor { border-radius: 12px; border-color: rgba(255, 255, 255, 0.08); }
.reply-editor textarea:focus { box-shadow: 0 0 0 3px rgba(255, 92, 58, 0.13); }

/* 蓝图表格 */
.bp-table th {
  font-size: 10.5px !important;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #7b8a9f !important;
  font-weight: 600;
  background: rgba(8, 11, 16, 0.9);
}

.bp-table td { font-size: 13px; color: #a7b4c7; }
.bp-table tr:hover td { background: rgba(255, 255, 255, 0.028); }

/* ---------- 管理后台 ---------- */

.admin-side {
  background:
    linear-gradient(180deg, rgba(11, 15, 22, 0.94), rgba(8, 11, 16, 0.94));
  border-right-color: rgba(255, 255, 255, 0.06);
  box-shadow: 24px 0 60px -50px rgba(0, 0, 0, 0.9);
}

.admin-side-nav a { font-size: 13px; letter-spacing: 0.02em; }

.admin-side-nav a.active {
  position: relative;
  background: rgba(255, 92, 58, 0.09);
  color: #ffab8e;
  box-shadow: inset 0 0 0 1px rgba(255, 92, 58, 0.18);
}
.admin-side-nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.admin-head h1 { font-size: 22px; letter-spacing: -0.01em; font-weight: 750; }

.admin-stat {
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(24, 31, 42, 0.6), rgba(10, 14, 20, 0.72));
  box-shadow: var(--hair), var(--shadow-sm);
  border-radius: 14px;
  transition: border-color 0.28s, transform 0.28s var(--ease);
}
.admin-stat:hover { border-color: rgba(255, 255, 255, 0.13); transform: translateY(-2px); }

.admin-table {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(10, 14, 20, 0.6);
  box-shadow: var(--hair), var(--shadow-sm);
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: #7b8a9f;
  background: rgba(9, 13, 19, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-table td { font-size: 13px; color: #a8b5c8; }
.admin-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.012); }
.admin-table tr:hover td { background: rgba(255, 92, 58, 0.045); }
.admin-table .cell-title { color: #eaf0f8; }

/* 后台操作小按钮 */
.admin-table .btn,
.admin-table button {
  border-radius: 8px;
}

/* ---------- 空态 ---------- */

.empty {
  padding: 44px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.014);
  color: #6f7e94;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---------- 页脚 ---------- */

.footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(6, 9, 13, 0.5), rgba(4, 6, 9, 0.9));
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 146, 104, 0.35), transparent);
}

.footer-inner { font-size: 12.5px; color: #6c7a90; letter-spacing: 0.03em; }
.footer a { color: #7c8ba0; }
.footer a:hover { color: #ffa88a; }

/* ---------- 细节 ---------- */

.section-title, .page-title, .admin-head h1 { font-feature-settings: "ss01"; }

/* 小屏：收紧内边距，避免导航挤压 */
@media (max-width: 860px) {
  .nav-inner { padding: 12px 20px; gap: 18px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 7px 9px; font-size: 12.5px; }
  .hero-inner { padding: 132px 20px 92px; }
  .section { padding: 76px 0; }
  .module { padding: 26px 24px; }
}

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

/* ============================================================
   第二层：结构级细节（页头分隔 / 玻璃卡 / 登录卡 / 输入框）
   ============================================================ */

/* 内页页头：标题下一条渐隐细线，收住视线 */
.page .section-head {
  position: relative;
  padding-bottom: 26px;
  margin-bottom: 46px;
}

.page .section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(440px, 92%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 62%, transparent);
}

.page .section-title { font-weight: 800; letter-spacing: -0.012em; }
.page .section-desc { max-width: 660px; }

/* 玻璃卡：从“半透明块”变成有厚度的一层 */
.glass {
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.6), rgba(9, 12, 18, 0.74));
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 54px -34px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

/* 个人中心的卡片：顶部一道极淡光 + 卡片标题分隔 */
.account-main .glass {
  position: relative;
  overflow: hidden;
}

.account-main .glass::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  pointer-events: none;
}

.account-main .glass h3 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 14px;
  letter-spacing: 0.02em;
}

.account-main .glass .btn-primary { min-width: 92px; }

/* 账号头部卡 */
.account-head {
  background: linear-gradient(160deg, rgba(26, 33, 46, 0.62), rgba(10, 14, 20, 0.8));
  border-color: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 56px -36px rgba(0, 0, 0, 0.9);
}

.avatar {
  border-radius: 16px;
  background: linear-gradient(150deg, #ff8a64, #ff5c3a 60%, #e8401f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 28px -14px rgba(255, 92, 58, 0.8);
  color: #1a0803;
}

.account-meta span, .account-meta .tag {
  border-radius: 8px;
}

/* 输入框：改浅玻璃，去掉“纯黑洞” */
.field input, .field textarea, .field select {
  background: rgba(255, 255, 255, 0.038);
  border-color: rgba(255, 255, 255, 0.082);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: #e9eff8;
}

.field input:hover, .field textarea:hover, .field select:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.field input:focus, .field textarea:focus, .field select:focus {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 146, 104, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 92, 58, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* 登录页标题：收紧字距、抬高亮度 */
.auth-visual-content h2 {
  letter-spacing: 0.06em;
  font-weight: 800;
  background: linear-gradient(112deg, #ffffff 8%, #fff4ee 40%, #ffc4ac 72%, #ff8f6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.55));
}

.auth-visual-content p { color: rgba(234, 241, 249, 0.9); }

.auth-visual-meta { gap: 58px; margin-top: 26px; }
.auth-visual-meta div { font-size: 10.5px; letter-spacing: 2.2px; color: #8c9bb0; font-weight: 600; }
.auth-visual-meta strong { font-size: 26px; margin-bottom: 6px; letter-spacing: 0.01em; }

/* 登录卡：顶部细光 + 更深的外投影 */
.auth-box {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.74), rgba(7, 10, 15, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 44px 110px -36px rgba(0, 0, 0, 0.92);
}

.auth-box::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

.auth-logo .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.auth-logo { margin-bottom: 22px; }

/* 分段切换：更像控件而不是两颗按钮 */
.tabs {
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.032);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.55);
}

.tabs button { font-size: 13px; letter-spacing: 0.08em; color: #8b9ab0; }

.tabs button.active {
  background: linear-gradient(135deg, #ff8a63, #ff5c3a 72%);
  color: #1a0803;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 20px -10px rgba(255, 92, 58, 0.85);
}

/* 空态：更轻的框、更多留白 */
.empty {
  padding: 58px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.004));
  color: #77859a;
  font-size: 12.5px;
}

/* 论坛板块卡：选中态改为克制的描边 + 左上微光 */
.board-card.active {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 92, 58, 0.13), transparent 55%),
    linear-gradient(180deg, rgba(20, 26, 35, 0.62), rgba(10, 14, 20, 0.78));
  border-color: rgba(255, 92, 58, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px -26px rgba(255, 92, 58, 0.55);
}

/* 页脚：字更清 */
.footer-inner { color: #75839a; }
.footer-inner a { color: #8b99ad; }

/* 首页标题：字重再压一点，边缘更实 */
.hero h1 {
  font-weight: 850;
  letter-spacing: 0.03em;
}
/* ============================================================
   第三层：数据密度与控件精度（后台数字 / 搜索 / 上传区 / 切换器）
   ============================================================ */

/* 登录页标题更实，状态数字更大 */
.auth-visual-content h2 {
  background: linear-gradient(112deg, #ffffff 0%, #ffffff 46%, #ffe8dd 68%, #ffb9a1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.auth-visual-meta strong { font-size: 30px; font-weight: 700; }
.auth-visual-meta div { color: #93a2b6; letter-spacing: 2.4px; }

/* 切换器：选中态用浅橙底 + 亮橙字，和主按钮区分开 */
.tabs button.active {
  background: rgba(255, 92, 58, 0.15);
  color: #ffb199;
  box-shadow: inset 0 0 0 1px rgba(255, 92, 58, 0.3), 0 6px 16px -10px rgba(255, 92, 58, 0.7);
}

/* 后台：数字排版 */
.admin-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
}

.admin-stat span {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #7e8ca1;
  text-transform: uppercase;
}

.admin-stat-grid { gap: 12px; }

/* 后台主区顶部一层极淡品牌光，压掉死黑 */
.admin-main {
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(255, 92, 58, 0.07), transparent 70%),
    radial-gradient(700px 400px at 92% -6%, rgba(62, 224, 178, 0.05), transparent 70%);
}

.admin-main h2 { font-size: 15px; letter-spacing: 0.1em; font-weight: 600; color: #dfe7f2; }

/* 后台侧栏：底部信息与按钮更沉 */
.admin-side-foot { font-size: 12px; color: #78869b; }
.admin-side-foot .btn { justify-content: center; }

/* 论坛：搜索条 */
.bp-searchbar {
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.24s, box-shadow 0.24s, background 0.24s;
}

.bp-searchbar:focus-within {
  border-color: rgba(255, 146, 104, 0.45);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 92, 58, 0.12);
}

.bp-searchbar input {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 9px 4px;
  font-size: 13.5px;
  color: #e9eff8;
}

.bp-searchbar input::placeholder { color: #63718a; }
.bp-searchbar input:focus { outline: none; box-shadow: none; }
.bp-searchbar .btn { border-radius: 999px; }

/* 蓝图表 */
.bp-thead { background: rgba(9, 13, 19, 0.94); }
.bp-thead > *, .bp-table .bp-thead * { font-size: 10.5px; letter-spacing: 1.6px; color: #7b8a9f; font-weight: 600; }
.bp-tbody > * { font-size: 13px; color: #a7b4c7; }

/* 上传区 */
.upload-zone {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255, 92, 58, 0.06), transparent 70%),
    rgba(255, 255, 255, 0.018);
  transition: border-color 0.28s, background 0.28s, box-shadow 0.28s;
}

.upload-zone:hover, .upload-zone.drag {
  border-color: rgba(255, 146, 104, 0.5);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255, 92, 58, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(255, 92, 58, 0.1);
}

.upload-icon {
  color: #ff9d7c;
  filter: drop-shadow(0 6px 18px rgba(255, 92, 58, 0.4));
}

.upload-hint { font-size: 12px; color: #6f7d92; line-height: 1.8; }

/* 论坛说明条 */
.forum-tip {
  font-size: 12px;
  color: #708096;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

/* 发帖卡与上传卡 */
.post-editor, .upload-card {
  border-color: rgba(255, 255, 255, 0.075);
  background: linear-gradient(180deg, rgba(21, 27, 37, 0.62), rgba(9, 13, 19, 0.76));
}

/* 板块卡选中态再收一点 */
.board-card.active {
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(255, 92, 58, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(21, 27, 36, 0.62), rgba(10, 14, 20, 0.78));
  border-color: rgba(255, 92, 58, 0.22);
}

.board-icon { color: #ff9f80; }
.board-name { font-size: 16px; font-weight: 700; letter-spacing: 0.01em; }
.board-sub, .board-desc { font-size: 12px; color: #77869b; }
.board-count { font-size: 11.5px; color: #7e8ca1; letter-spacing: 0.06em; }

/* 论坛列表头行 */
.board-bar-left, .board-bar-right { font-size: 12.5px; color: #7f8da3; }
/* ============================================================
   第四层：对比度与留白微调
   ============================================================ */

/* 登录页：把标题区的背景压下去，白字才立得住 */
.auth-page::after {
  background:
    radial-gradient(1180px 620px at 50% 32%, rgba(6, 8, 12, 0.74), rgba(6, 8, 12, 0) 72%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.52) 0%, rgba(6, 8, 12, 0.16) 30%, rgba(6, 8, 12, 0.34) 70%, rgba(6, 8, 12, 0.8) 100%);
}

.auth-visual-content h2 {
  background: linear-gradient(114deg, #ffffff 0%, #ffffff 58%, #ffe6da 80%, #ffc9b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55)) drop-shadow(0 18px 46px rgba(0, 0, 0, 0.45));
}

/* 首页主标题：先和背景分开，再留一层暖光 */
.hero h1 {
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.42)) drop-shadow(0 20px 54px rgba(255, 92, 58, 0.22));
}

.hero-sub { margin-top: 6px; }

/* 后台标题：加一道短竖条，字号提到 17 */
.admin-main h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px !important;
  letter-spacing: 0.04em !important;
  font-weight: 650 !important;
  color: #e6edf6 !important;
}

.admin-main h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(255, 92, 58, 0.25));
  flex: none;
}

.admin-stat {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(28, 35, 47, 0.6), rgba(10, 14, 20, 0.74));
}

.admin-stat strong { font-size: 31px; font-weight: 700; letter-spacing: -0.015em; }

/* 后台顶部光再明显一点 */
.admin-main {
  background:
    radial-gradient(1100px 520px at 10% -10%, rgba(255, 92, 58, 0.1), transparent 68%),
    radial-gradient(820px 460px at 95% -8%, rgba(62, 224, 178, 0.07), transparent 68%);
}

/* 论坛：搜索与表格之间的呼吸 */
.bp-search { margin-bottom: 14px; }
.bp-searchbar { padding: 6px 8px 6px 18px; }
.bp-searchbar input { font-size: 13px; }

/* 蓝图表格头：统一成中性灰蓝，去掉默认的青绿色 */
.bp-table .bp-thead th,
.bp-table th {
  color: #8091a6 !important;
  background: rgba(9, 13, 19, 0.92);
}

/* 内页描述文字不要太散 */
.page .section-desc { color: #8090a6; }

/* 论坛板块卡：图标与标题对齐更紧 */
.board-card-top { gap: 8px; }
/* ============================================================
   修订：搜索条尺寸 / 登录标题纯白 / 切换器对比 / 板块卡收敛
   ============================================================ */

/* .bp-search 是 input 本身，margin 必须归零，否则会顶歪整条 */
.bp-search {
  margin: 0 !important;
  padding: 10px 6px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.bp-searchbar {
  display: flex;
  align-items: center;
  padding: 6px 14px 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.062);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 22px -16px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* 搜索条左侧留白，占位符从 18px 起排 */
.bp-searchbar { padding-left: 20px; }

/* 登录/注册标题：主体纯白，只在末端带一点暖 */
.auth-visual-content h2 {
  background: linear-gradient(178deg, #ffffff 0%, #ffffff 86%, #ffe4d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 16px 44px rgba(0, 0, 0, 0.4));
}

/* 切换器选中态：明确但不抢主按钮 */
.tabs button.active {
  background: rgba(255, 92, 58, 0.22);
  color: #ffc6b4;
  box-shadow: inset 0 0 0 1px rgba(255, 92, 58, 0.45), 0 6px 16px -10px rgba(255, 92, 58, 0.8);
}

/* 板块卡选中：只留边缘与极淡底色，不再是一层红雾 */
.board-card.active {
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.66), rgba(10, 14, 20, 0.8));
  border-color: rgba(255, 92, 58, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 58, 0.08), 0 16px 34px -24px rgba(255, 92, 58, 0.5);
}
/* ============================================================
   修订二：标题阴影穿透 / 搜索条 / 标签
   ============================================================ */

/* 关键：父级 .auth-visual-content 的 text-shadow 会透过透明填充字形显示，
   导致标题发灰。这里显式关掉，只保留 drop-shadow。 */
.auth-visual-content h2 {
  text-shadow: none !important;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 84%, #ffe7dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

/* 搜索条：改成实心控件，不再是一层薄雾 */
.bp-searchbar {
  background: rgba(13, 18, 25, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 26px -20px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.bp-searchbar:focus-within {
  background: rgba(16, 22, 30, 0.86);
  border-color: rgba(255, 146, 104, 0.42);
}

/* 标签文字提亮一档 */
.tag { color: #adbbcd; }
.module p { color: #8b99ad; }
/* ============================================================
   修订三：404 独立处理 / 关于页信息行 / 登录卡说明文字
   ============================================================ */

/* 404 等无底图页：关掉 auth 遮罩，否则会出现一条边界明显的暗带 */
.auth-plain::after { display: none; }
.auth-plain { min-height: 100vh; }

.auth-plain .auth-box {
  background: linear-gradient(180deg, rgba(20, 26, 36, 0.7), rgba(8, 11, 16, 0.82));
}

/* 关于页信息行：不再每行一块黑，改为卡片内的分隔线 */
.info-row {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important;
  padding: 16px 2px !important;
}

.info-row:last-child { border-bottom: none !important; }

.info-row span:first-child { color: #8492a7; font-size: 13px; letter-spacing: 0.04em; }
.info-row span:last-child { color: #e7effa; font-size: 13.5px; font-weight: 600; }

/* 登录卡底部说明：抬到能读的清 */
.auth-box small,
.auth-box .auth-legal,
.auth-box .auth-note {
  color: #7c8ba1;
  font-size: 12px;
  line-height: 1.8;
}
/* ============================================================
   站点图标面板（后台）
   ============================================================ */

.site-icon-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }

.site-icon-preview {
  width: 112px;
  height: 112px;
  flex: none;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 30px -22px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.site-icon-preview img { max-width: 100%; max-height: 100%; display: block; }

.site-icon-form { flex: 1; min-width: 280px; }

.site-icon-desc {
  margin: 0 0 16px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.85;
  color: #8493a8;
}

.site-icon-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.site-icon-actions input[type="file"] {
  max-width: 250px;
  padding: 7px 12px;
  font-size: 12.5px;
  color: #9aa8bd;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
}

.site-icon-actions input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #dfe8f4;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.site-icon-hint { margin-top: 12px; font-size: 12.5px; color: #7f8ea4; }
.site-icon-hint strong { color: #e8f0fa; font-weight: 600; }
/* ================= 自定义头像 / 顶栏用户胶囊 / 每日签到（2026-11-19） ================= */

/* ---- 顶栏用户 ---- */
.nav-user {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 13px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #dfe7f2; text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.nav-user:hover {
  border-color: rgba(255, 92, 58, 0.42);
  background: rgba(255, 92, 58, 0.09);
  transform: translateY(-1px);
}
.nav-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  font-size: 12px; font-weight: 800; color: #1a0803;
  background: linear-gradient(150deg, #ff8a64, #ff5c3a 62%, #e8401f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 16px -8px rgba(255, 92, 58, 0.9);
  flex: 0 0 28px;
}
.nav-avatar.has-img { background: #0d1219; }
.nav-avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-nick {
  font-size: 12.5px; font-weight: 600; letter-spacing: .4px;
  max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- 个人中心头像 ---- */
.avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; }
.avatar { width: 84px; height: 84px; border-radius: 22px; overflow: hidden; }
.avatar.has-img { background: #0b1017; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-tools { display: flex; gap: 6px; justify-content: center; }
.avatar-btn {
  padding: 5px 11px; border-radius: 9px; cursor: pointer;
  font-size: 11.5px; font-weight: 600; letter-spacing: .5px;
  color: #ffb9a3; background: rgba(255, 92, 58, 0.1);
  border: 1px solid rgba(255, 92, 58, 0.32);
  transition: background .18s ease, color .18s ease;
}
.avatar-btn:hover { background: rgba(255, 92, 58, 0.2); color: #fff; }
.avatar-btn-ghost { color: #8b98ad; background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.09); }
.avatar-btn-ghost:hover { color: #dfe7f2; background: rgba(255, 255, 255, 0.07); }

/* ---- 签到卡 ---- */
.sign-card { display: flex; flex-direction: column; gap: 20px; }
.sign-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.sign-title { margin: 0 0 7px; font-size: 16px; font-weight: 700; letter-spacing: 1px; color: #eaf0f8; }
.sign-desc { margin: 0; font-size: 12.5px; color: #7c8ba3; line-height: 1.75; }
.sign-balance { display: flex; align-items: baseline; gap: 7px; flex: 0 0 auto; }
.sign-balance-num {
  font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1;
  background: linear-gradient(160deg, #ffd9a0, #ff8a64 55%, #ff5c3a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sign-balance-unit { font-size: 11.5px; letter-spacing: 1.4px; color: #7b8a9f; }
.sign-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sign-stat {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
}
.sign-stat b { font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; color: #eaf0f8; line-height: 1.1; }
.sign-stat span { font-size: 10.5px; letter-spacing: 1.4px; color: #7b8a9f; }
.sign-btn { align-self: flex-start; min-width: 220px; }
.sign-btn:disabled { opacity: .55; cursor: default; }
.sign-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.sign-day {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 11px 0; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.018);
  font-size: 10.5px; letter-spacing: .6px; color: #74839a;
}
.sign-day i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.13); }
.sign-day.is-on {
  border-color: rgba(255, 92, 58, 0.38);
  background: rgba(255, 92, 58, 0.09);
  color: #ffb9a3;
}
.sign-day.is-on i { background: #ff5c3a; box-shadow: 0 0 10px rgba(255, 92, 58, 0.85); }
.sign-day.is-today { border-color: rgba(255, 255, 255, 0.16); }

/* ---- 论坛 / 蓝图头像 ---- */
.thread-avatar.has-img {
  padding: 0 !important;
  overflow: hidden;
  background: #0b1017 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.thread-avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reply-head { align-items: center; }
.thread-avatar-sm {
  flex: 0 0 22px; width: 22px; height: 22px;
  border-radius: 50%; font-size: 11px; border-width: 1px;
}
.bp-author { display: flex; align-items: center; gap: 8px; overflow: hidden; }
.bp-avatar {
  width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex: 0 0 20px;
  background: #111722; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.bp-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-author-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 720px) {
  .nav-nick { display: none; }
  .sign-top { flex-direction: column; }
  .sign-calendar { grid-template-columns: repeat(4, 1fr); }
}
/* ---- 后台用户列表：头像 + 枫灵 ---- */
.user-cell { display: flex; align-items: center; gap: 9px; }
.user-avatar {
  width: 24px; height: 24px; border-radius: 50%; overflow: hidden; flex: 0 0 24px;
  background: #111722; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-avatar.is-fallback {
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #1a0803;
  background: linear-gradient(150deg, #ff8a64, #ff5c3a 62%, #e8401f);
}
.cell-fengling {
  font-variant-numeric: tabular-nums;
  font-weight: 700; color: #ffb9a3;
  white-space: nowrap;
}
/* ================= 次数限制 / 验证码 / 绑定兑换（2026-11-19） ================= */

.card-head-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.limit-hint {
  font-size: 11.5px; letter-spacing: .5px; color: #7b8a9f;
  line-height: 1.6; margin: 0;
}
.limit-hint.is-out { color: #ff8a7a; }
.field-hint { margin: 8px 0 0; font-size: 11.5px; color: #6f7d92; line-height: 1.6; }

.code-row { display: flex; gap: 10px; align-items: center; }
.code-row input { flex: 1 1 auto; min-width: 0; letter-spacing: 2px; }
.code-row .btn { flex: 0 0 auto; white-space: nowrap; }

/* ---- 绑定 / 兑换卡片 ---- */
.bind-card { display: flex; flex-direction: column; gap: 22px; }
.bind-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.bind-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: 1px; color: #eaf0f8; }
.bind-desc { margin: 0; font-size: 12.5px; line-height: 1.8; color: #7c8ba3; max-width: 720px; }
.bind-state {
  flex: 0 0 auto; padding: 6px 13px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 1px;
  color: #8b98ad; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bind-state.is-bound {
  color: #7ef0c8; background: rgba(62, 224, 178, 0.1);
  border-color: rgba(62, 224, 178, 0.34);
}

.bind-form { display: flex; align-items: flex-end; gap: 14px; }
.bind-form .field { flex: 1 1 auto; margin: 0; }

.bind-bound {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: 14px;
  border: 1px solid rgba(62, 224, 178, 0.22);
  background: rgba(62, 224, 178, 0.055);
}
.bind-bound-label { font-size: 10.5px; letter-spacing: 1.6px; color: #7ef0c8; }
.bind-bound b { font-size: 17px; font-weight: 700; letter-spacing: .5px; color: #eaf0f8; }
.bind-bound-hint { font-size: 11.5px; color: #7b8a9f; }

.exchange-row { display: flex; align-items: flex-end; gap: 14px; margin-top: 18px; }
.exchange-field { flex: 0 1 320px; margin: 0; }

.rebind-box {
  margin-top: 22px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.018);
}
.rebind-title { margin: 0 0 12px; font-size: 12px; letter-spacing: 1.4px; color: #9aa8bd; }
.rebind-row { display: flex; gap: 10px; flex-wrap: wrap; }
.rebind-row input {
  flex: 1 1 160px; min-width: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 9, 14, 0.6);
  color: #eaf0f8;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.rebind-row input::placeholder { color: #5b6880; }
.rebind-row input:focus {
  outline: none;
  border-color: rgba(255, 92, 58, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 92, 58, 0.12);
  background: rgba(6, 9, 14, 0.85);
}
[hidden] { display: none !important; }
.rebind-row .btn { flex: 0 0 auto; }

.exchange-list { margin-top: 4px; }
.exchange-list-title {
  margin: 0 0 10px; font-size: 10.5px; letter-spacing: 1.6px; color: #7b8a9f;
}
.exchange-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font-size: 12.5px; color: #a7b4c7;
}
.exchange-item:last-child { border-bottom: 0; }
.exchange-state { font-size: 10.5px; letter-spacing: 1px; padding: 2px 8px; border-radius: 999px; }
.exchange-state.is-ok { color: #7ef0c8; background: rgba(62, 224, 178, 0.12); }
.exchange-state.is-fail { color: #ff9b8c; background: rgba(255, 92, 58, 0.12); }
.exchange-amount { font-weight: 700; color: #eaf0f8; font-variant-numeric: tabular-nums; }
.exchange-id { color: #9aa8bd; }
.exchange-time { margin-left: auto; color: #6f7d92; font-size: 11.5px; }

/* ---- 后台换绑申请 ---- */
.bind-req-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bind-arrow { color: #ff8a64; font-weight: 700; }
.bind-req-status { font-size: 10.5px; letter-spacing: 1px; padding: 2px 8px; border-radius: 999px; }
.bind-req-status.is-pending { color: #f3c76b; background: rgba(243, 199, 107, 0.12); }
.bind-req-status.is-approved { color: #7ef0c8; background: rgba(62, 224, 178, 0.12); }
.bind-req-status.is-rejected { color: #ff9b8c; background: rgba(255, 92, 58, 0.12); }

@media (max-width: 720px) {
  .bind-head { flex-direction: column; gap: 12px; }
  .bind-form, .exchange-row { flex-direction: column; align-items: stretch; }
  .exchange-field { flex: 1 1 auto; }
}
/* ---- 底图（装饰元素）不参与鼠标事件，避免右键弹出"图像另存为/复制图像" ---- */
.hero-bg, .auth-bg { pointer-events: none; }
/* ---- 关于页 · 新人指引 ---- */
.guide-head { margin: 0 0 18px; }
.guide-head .eyebrow { display: block; font-size: 10.5px; letter-spacing: 2.4px; color: #ff8a64; margin-bottom: 10px; }
.guide-head h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: 1px; color: #eaf0f8; }
.guide-head p { margin: 0; font-size: 12.5px; line-height: 1.9; color: #7c8ba3; max-width: 640px; }

.guide-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.guide-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22, 29, 42, 0.55), rgba(10, 14, 20, 0.62));
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.guide-card:hover { border-color: rgba(255, 92, 58, 0.28); }
.guide-card[open] { border-color: rgba(255, 92, 58, 0.34); background: linear-gradient(180deg, rgba(26, 33, 46, 0.7), rgba(10, 14, 20, 0.7)); }

.guide-card > summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 12px;
  padding: 15px 20px;
  outline: none;
}
.guide-card > summary::-webkit-details-marker { display: none; }
.guide-idx {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px; letter-spacing: 1px; color: #ff8a64;
  border: 1px solid rgba(255, 92, 58, 0.3); border-radius: 8px;
  width: 32px; height: 26px; display: flex; align-items: center; justify-content: center;
}
.guide-title { font-size: 14.5px; font-weight: 700; letter-spacing: .6px; color: #eaf0f8; display: block; }
.guide-sub { display: block; margin-top: 5px; font-size: 11px; letter-spacing: .5px; color: #6f7d92; }
.guide-chev {
  width: 0; height: 0; justify-self: end;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6f7d92;
  font-size: 0;
  transition: transform .25s, border-top-color .25s;
}
.guide-card[open] .guide-chev { transform: rotate(180deg); border-top-color: #ff8a64; }

.guide-body {
  padding: 6px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 16px;
}
.guide-item h4 {
  margin: 0 0 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  color: #c8d8ee; text-transform: none;
  display: flex; align-items: center; gap: 8px;
}
.guide-item h4::before {
  content: '';
  width: 3px; height: 12px; border-radius: 2px;
  background: linear-gradient(180deg, #ff8a64, #ff5c3a);
  flex: 0 0 auto;
}
.guide-item ul { margin: 0; padding-left: 12px; display: grid; gap: 7px; }
.guide-item li { font-size: 12.5px; line-height: 1.85; color: #93a3b8; }
.guide-item li::marker { color: rgba(255, 138, 100, 0.55); }

.gcmd {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-style: normal; font-size: 12px;
  color: #ffb199; background: rgba(255, 92, 58, 0.1);
  border: 1px solid rgba(255, 92, 58, 0.18);
  border-radius: 6px; padding: 1px 6px; margin: 0 1px;
  white-space: nowrap;
}
.gnote { color: #f3c76b; }

@media (max-width: 720px) {
  .guide-card > summary { grid-template-columns: 34px 1fr 16px; padding: 13px 14px; gap: 10px; }
  .guide-body { padding: 4px 14px 16px; }
}
/* ================= 首页 · 进服方式 ================= */

.join-section { padding-bottom: 110px; }

.join-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* 左：连接卡 */
.join-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 146, 104, 0.10), transparent 54%),
    linear-gradient(166deg, rgba(26, 33, 45, 0.70), rgba(9, 13, 19, 0.92));
  box-shadow: var(--hair), 0 28px 64px -34px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition: border-color 0.35s var(--ease);
}
.join-card:hover { border-color: rgba(255, 255, 255, 0.13); }
.join-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 58, 0.22), transparent 70%);
  pointer-events: none;
}

.join-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.join-flag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: #8fe9cf;
  text-transform: uppercase;
}
.join-flag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ee0b2;
  box-shadow: 0 0 0 4px rgba(62, 224, 178, 0.10);
}
.join-badge {
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 3px 9px;
  border-radius: 999px;
  color: #ffb79c;
  background: rgba(255, 92, 58, 0.10);
  border: 1px solid rgba(255, 146, 104, 0.26);
}

.join-ip-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.join-ip-block { min-width: 0; }
.join-ip-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #6d7b91;
  margin-bottom: 10px;
}
.join-ip {
  margin: 0;
  font-size: clamp(29px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  background: linear-gradient(96deg, #ffffff 8%, #ffd9c9 52%, #ff8f68 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.join-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffc7b2;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 146, 104, 0.24);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.join-copy:hover {
  background: rgba(255, 92, 58, 0.12);
  border-color: rgba(255, 146, 104, 0.45);
}
.join-copy:active { transform: scale(0.98); }
.join-copy-ico { font-size: 12px; opacity: 0.8; }

.join-alt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0 18px;
  font-size: 12.5px;
  color: #8492a7;
}
.join-alt strong { color: #dbe6f3; font-weight: 650; letter-spacing: 0.02em; }
.join-alt-tip {
  margin-left: auto;
  font-size: 11px;
  color: #5f6d82;
  letter-spacing: 0.04em;
}

.join-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.join-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(8, 12, 18, 0.78);
}
.join-meta-cell span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #6d7b91;
  text-transform: uppercase;
}
.join-meta-cell strong { font-size: 13px; font-weight: 650; color: #e7effa; }

/* 右：三步 */
.join-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.join-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 19px 22px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(24, 31, 42, 0.55), rgba(10, 14, 20, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.055);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.join-step:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}
.join-step-num {
  flex: none;
  padding-top: 2px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #ff9d7c;
  font-variant-numeric: tabular-nums;
}
.join-step h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 650;
  color: #e7effa;
  letter-spacing: 0.01em;
}
.join-step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #8492a7;
}

@media (max-width: 880px) {
  .join-wrap { grid-template-columns: 1fr; }
  .join-card { padding: 24px 22px 20px; }
  .join-ip-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .join-copy { width: 100%; justify-content: center; }
  .join-alt { flex-wrap: wrap; }
  .join-alt-tip { margin-left: 0; flex-basis: 100%; }
}

/* ================= 首页：首屏即内容 ================= */

/* hero 不再占满整屏，缩到六成高，下面直接接公告 + 进服 */
.hero { min-height: 60vh; }
.hero-inner { padding: 104px 24px 56px; }
.hero-sub { margin-bottom: 28px; }
.hero-actions { margin-bottom: 30px; }

.home-hub { padding: 42px 0 96px; }

.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.hub-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 2px;
}
.hub-head-text { display: flex; flex-direction: column; gap: 7px; }
.hub-title {
  margin: 0;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.hub-note {
  font-size: 11px;
  color: #5f6d82;
  letter-spacing: 0.06em;
  padding-bottom: 4px;
}

/* 窄列里的公告卡与进服卡收紧一点 */
.hub-col .news-item { padding: 18px 20px; }
.hub-col .news-item h3 { font-size: 15.5px; }
.hub-col .news-item p { font-size: 12.8px; line-height: 1.72; margin-bottom: 10px; }
.hub-col .news-meta { font-size: 11px; }

.hub-col .join-card { padding: 24px 26px 20px; }
.hub-col .join-card-top { margin-bottom: 20px; }
.hub-col .join-ip { font-size: clamp(27px, 2.6vw, 36px); }
.hub-col .join-alt { padding: 13px 0 15px; }
.hub-col .join-step { padding: 14px 18px; gap: 14px; }
.hub-col .join-step h4 { font-size: 13.8px; margin-bottom: 4px; }
.hub-col .join-step p { font-size: 12px; line-height: 1.7; }

@media (max-width: 880px) {
  .hero { min-height: 54vh; }
  .hero-inner { padding: 92px 20px 44px; }
  .home-hub { padding: 30px 0 76px; }
  .hub-grid { grid-template-columns: 1fr; gap: 28px; }
  .hub-title { font-size: 21px; }
  .hub-note { display: none; }
}

/* 首屏再压一档：公告 + 进服尽量整块进第一屏 */
.hero { min-height: 54vh; }
.hero-inner { padding: 92px 24px 44px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: 8px; margin-bottom: 16px; }
.hero-tag { margin-bottom: 18px; padding: 6px 14px; }
.hero-sub { margin-bottom: 22px; font-size: 15.5px; }
.hero-actions { margin-bottom: 26px; }
.hero-actions .btn { padding: 12px 22px; font-size: 13.5px; }

@media (max-width: 880px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 82px 20px 36px; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); letter-spacing: 4px; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
}

/* hero 底部往页面底色淡出，避免底图边缘一刀切 */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(6, 8, 12, 0), rgba(6, 8, 12, 0.86) 62%, #06080c 100%);
}
/* 三步进服改为整行横排，左右两列高度对齐 */
.hub-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}
.hub-steps .join-step { padding: 18px 20px; gap: 13px; }
.hub-steps .join-step h4 { font-size: 13.8px; }
.hub-steps .join-step p { font-size: 12.2px; line-height: 1.7; }

@media (max-width: 880px) {
  .hub-steps { grid-template-columns: 1fr; gap: 10px; }
}
/* ============ 首页 hero：整张图完整显示，不再裁切 ============ */
/* 底图换成 1920×823（2.33:1）超宽版，容器高度按同比例走 */
.hero-bg { inset: 0; }
.hero-bg img {
  transform: none;
  animation: none;
  object-fit: cover;
}
.hero { min-height: clamp(540px, 42.9vw, 1000px); }

/* 底部过渡收窄，不压到画面主体 */
.hero::after {
  height: 56px;
  background: linear-gradient(to bottom, rgba(6, 8, 12, 0), rgba(6, 8, 12, 0.72) 78%, #06080c);
}

@media (max-width: 880px) {
  /* 竖屏放不下 2.33:1 的全景，这里退回裁切 */
  .hero { min-height: 58vh; }
  .hero-bg img { object-fit: cover; }
}
/* ============ 首页底图：整页固定，只有内容往上滑 ============ */

/* 背景层钉死在视口，不参与滚动 */
.hero-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #06080c;
}

/* 留白处用同一张图放大模糊铺底，避免出现黑边 */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url("/img/hero.jpg") center / cover no-repeat;
  filter: blur(32px) brightness(0.36) saturate(1.05);
  transform: scale(1.06);
}

/* 清晰的整张图：contain 完整显示，不裁切 */
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 46%;
  transform: none;
  animation: none;
}

/* 暗罩与颗粒也铺满整屏并固定 */
.hero-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* hero 变成透明占位，高度按图片比例 */
.hero {
  position: relative;
  background: transparent;
  overflow: visible;
}
.hero::after { display: none; }

/* 内容层压在背景之上 */
.home-hub { position: relative; z-index: 3; }
.footer { z-index: 4; }

@media (max-width: 880px) {
  .hero-bg img { object-position: center 50%; }
  .hero { min-height: 58vh; }
}

/* 清晰图上下边缘渐隐，和模糊铺底自然接上，去掉硬边 */
.hero-bg img {
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 2%, #000 14%, #000 88%, rgba(0,0,0,0) 99%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 2%, #000 14%, #000 88%, rgba(0,0,0,0) 99%);
}
.hero-bg::before { filter: blur(34px) brightness(0.3) saturate(1.0); }

/* 内容区半透明深色底，压住亮部保证文字可读 */
.home-hub {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.5) 0%, rgba(6, 8, 12, 0.72) 38%, rgba(6, 8, 12, 0.9) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* 页脚也压暗 */
.footer {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.9), rgba(6, 8, 12, 0.98));
}
/* 顶部/底部做深色渐入，中间保持清晰画面 */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(6, 8, 12, 0.86) 0%,
      rgba(6, 8, 12, 0.42) 7%,
      rgba(6, 8, 12, 0.06) 15%,
      rgba(6, 8, 12, 0) 30%,
      rgba(6, 8, 12, 0) 68%,
      rgba(6, 8, 12, 0.5) 84%,
      rgba(6, 8, 12, 0.88) 95%,
      #06080c 100%);
}
/* 内容区透明度微调，兼顾透出底图与文字可读 */
.home-hub {
  background: linear-gradient(180deg,
    rgba(6, 8, 12, 0.62) 0%,
    rgba(6, 8, 12, 0.8) 34%,
    rgba(6, 8, 12, 0.92) 100%);
}
/* ===== 首页 hero 点阵光环（dotring.js） ===== */
#dotRing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  pointer-events: none;
  opacity: 0.92;
}

@media (max-width: 880px) {
  /* 手机上无鼠标交互，且会压住首屏文案，直接隐藏 */
  #dotRing { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #dotRing { display: none; }
}
/* ===== 首页底图视频（hero-loop.mp4） ===== */
/* 和静态图同一套规则：整张完整显示、不裁切、上下边缘渐隐接模糊铺底 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 46%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 2%, #000 14%, #000 88%, rgba(0,0,0,0) 99%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 2%, #000 14%, #000 88%, rgba(0,0,0,0) 99%);
  pointer-events: none;
}

/* 手机上省流量、省电，退回静态图 */
@media (max-width: 880px) {
  .hero-video { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
/* ===== 内容区遮罩调薄，让底图视频在整页都能透出来 ===== */
.home-hub {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.18) 0%, rgba(6, 8, 12, 0.32) 30%, rgba(6, 8, 12, 0.5) 100%);
  backdrop-filter: blur(5px) saturate(1.05);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
}

.footer {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.46), rgba(6, 8, 12, 0.68));
}
/* ===== 全站视频底图（sitebg.js 注入） ===== */
/* 内页原来的固定背景图让位给视频，只留深色底兜底 */
body.page-bg {
  background-image: none;
  background-color: #06080c;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.site-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

/* 暗罩保证正文可读，同时留出画面细节 */
.site-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6, 8, 12, 0.66) 0%,
      rgba(6, 8, 12, 0.44) 24%,
      rgba(6, 8, 12, 0.52) 62%,
      rgba(6, 8, 12, 0.8) 100%);
}

/* 手机 / 省流 / 减弱动效：退回静态底图 */
@media (max-width: 880px) {
  .site-bg { display: none; }
  body.page-bg {
    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");
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg { display: none; }
  body.page-bg {
    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");
  }
}

/* 视频加载失败时的兜底 */
body.page-bg.no-site-video {
  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");
}
/* ===== 底图清晰度：去掉内容区的强模糊，只保留极轻的柔化 ===== */
.home-hub {
  backdrop-filter: blur(1.5px) saturate(1.06);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.06);
}

/* 内页暗罩整体压深一档，保证正文可读同时仍看得见画面 */
.site-bg-veil {
  background:
    linear-gradient(180deg,
      rgba(6, 8, 12, 0.74) 0%,
      rgba(6, 8, 12, 0.56) 22%,
      rgba(6, 8, 12, 0.6) 62%,
      rgba(6, 8, 12, 0.82) 100%);
}
/* ===== 视频铺满整屏，去掉留白处那张不动的静态模糊图 ===== */
.hero-video {
  object-fit: cover;
  object-position: center 46%;
  -webkit-mask-image: none;
  mask-image: none;
}

/* 留白区不再垫静态图（原来视频上下渐隐时会露出它，看起来像一张图钉在那里） */
.hero-bg::before {
  background: #06080c;
  filter: none;
  transform: none;
}

/* ===== 首屏更紧凑：公告 / 进服紧贴状态条 ===== */
.hero { min-height: clamp(500px, 32vw, 620px); }
.hero-inner { padding-bottom: 22px; }
.home-hub { padding-top: 14px; }

@media (max-width: 880px) {
  .hero { min-height: auto; }
  .hero-inner { padding-bottom: 18px; }
  .home-hub { padding-top: 12px; }
}
/* ===== 内页暗罩与首页 veil 降一档：4K 视频已偏暗，恢复通透感 ===== */
.site-bg-veil {
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(6, 8, 12, 0.0) 0%, rgba(6, 8, 12, 0.42) 62%, rgba(6, 8, 12, 0.70) 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.56) 0%, rgba(6, 8, 12, 0.30) 34%, rgba(6, 8, 12, 0.34) 66%, rgba(6, 8, 12, 0.66) 100%);
}
.hero-veil { background: radial-gradient(110% 80% at 50% 30%, rgba(6,8,12,0.06) 0%, rgba(6,8,12,0.28) 62%, rgba(6,8,12,0.62) 100%); }
/* ===== 亮背景下的文字对比度保护 ===== */
.hero h1 {
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.45);
}
.hero-sub, .hero-tag {
  color: #eaf1f8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 34px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.85);
}
.hub-title, .hub-note, .hub-label {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}
/* 文字带下方一点柔光暗底，保证可读同时不压画面 */
.hero-inner {
  position: relative;
}
.hero-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1180px, 92vw);
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(6, 8, 12, 0.42) 0%, rgba(6, 8, 12, 0.26) 52%, rgba(6, 8, 12, 0) 100%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
}
.hero-inner { z-index: 4; }
.hero-inner::after { z-index: -1; }
/* 撤销 hero-inner 伪元素暗底（会盖住标题渐变文字），改用纯文字阴影 */
.hero-inner::after { display: none; }
.hero h1 { text-shadow: 0 4px 22px rgba(0, 0, 0, 0.42), 0 1px 3px rgba(0, 0, 0, 0.35); }
/* 渐变文字不能用 text-shadow（透明填充会让阴影透出来变灰），改用 drop-shadow */
.hero h1 {
  text-shadow: none !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.38)) drop-shadow(0 14px 40px rgba(255, 92, 58, 0.26));
}
.hero-sub {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
}
/* ===== 首屏标题上下留白加大，给点阵让出空间 ===== */
.hero { min-height: clamp(540px, 34vw, 660px); }
.hero-inner { padding-top: 68px; }
.hero-tag { margin-bottom: 42px; }
.hero h1 { margin-bottom: 46px; }

@media (max-width: 880px) {
  .hero-inner { padding-top: 60px; }
  .hero-tag { margin-bottom: 26px; }
  .hero h1 { margin-bottom: 32px; }
}

/* ===== 主标题字号放大 ===== */
.hero { min-height: clamp(580px, 36vw, 720px); }
.hero h1 { font-size: clamp(46px, 7.6vw, 108px); letter-spacing: 10px; margin-bottom: 40px; }
.hero-inner { padding-top: 64px; }

@media (max-width: 880px) {
  .hero h1 { font-size: clamp(42px, 11.5vw, 72px); letter-spacing: 5px; margin-bottom: 30px; }
}

/* ===== 标题与下方内容再拉开一点 ===== */
.hero { min-height: clamp(600px, 37vw, 740px); }
.hero h1 { margin-bottom: 54px; }
.hero-inner { padding-top: 60px; }

/* ===== 点阵画布下探到 hub 上方，让半圆弧能落到板块边框之上 ===== */
#dotRing { height: calc(100% + 26px); }

/* ===== 点阵提到文字上层，形状不被大标题切掉 ===== */
#dotRing { z-index: 5; }

/* ===== 点阵层级：底图之上、文字内容之下；画布下探，形状可更大 ===== */
#dotRing { z-index: 1; height: calc(100% + 300px); }
.hero-inner { position: relative; z-index: 2; }
.hero .status-bar { position: relative; z-index: 3; }

/* ---------- 字段级实时校验提示 ---------- */
.field-hint.err { color: #ff8b96; }
.field input.bad, .field textarea.bad { border-color: rgba(255, 93, 108, .55); }
.field input.bad:focus { box-shadow: 0 0 0 3px rgba(255, 93, 108, .12); }

/* ---------- 后台侧栏待审批徽标 ---------- */
.side-badge {
  display: inline-block; min-width: 16px; padding: 0 4px; margin-left: 6px;
  border-radius: 9px; background: #e2544a; color: #fff;
  font-size: 11px; line-height: 16px; text-align: center; vertical-align: middle;
}
