/* ============================================================
   哲子哥哥俱乐部 — ZHECLUB
   黑底 × 荧光绿 · 极简终端风
   ============================================================ */
:root {
  --bg: #060807;
  --bg-soft: #0b0e0c;
  --panel: #0e1210;
  --panel-2: #121714;
  --line: #1c221e;
  --line-glow: #1f3a2a;
  --txt: #d7e4dc;
  --txt-dim: #7a8a80;
  --txt-faint: #4a564f;
  --green: #00ff6a;
  --green-soft: rgba(0, 255, 106, 0.12);
  --green-line: rgba(0, 255, 106, 0.35);
  --danger: #ff5c5c;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --sidebar-w: 230px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 900px 500px at 75% -10%, rgba(0, 255, 106, 0.05), transparent 60%),
    linear-gradient(rgba(0, 255, 106, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 106, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
}
::selection { background: var(--green); color: #000; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1f2a24; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-line); }

button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
.hidden { display: none !important; }
.friend-requests.hidden { display: none !important; }

/* 扫描线 */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.35;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.18) 2px 4px);
}
/* 鼠标跟随光晕 */
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(0, 255, 106, 0.055), transparent 65%);
  transform: translate(-50%, -50%); left: -999px; top: -999px; transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------------- 侧边栏 ---------------- */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w); z-index: 100;
  display: flex; flex-direction: column; padding: 28px 20px;
  background: linear-gradient(180deg, rgba(10, 13, 11, 0.92), rgba(6, 8, 7, 0.94));
  border-right: 1px solid var(--line); backdrop-filter: blur(8px);
}
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 4px 6px 26px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-family: var(--mono); font-size: 26px; font-weight: 700;
  color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line);
  text-shadow: 0 0 14px rgba(0, 255, 106, 0.8);
  animation: pulseMark 3.2s ease-in-out infinite;
}
@keyframes pulseMark { 50% { box-shadow: 0 0 18px rgba(0, 255, 106, 0.35); } }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-title, .logo-sub { white-space: nowrap; }
.logo-title { font-weight: 700; letter-spacing: 1px; font-size: 16px; }
.logo-sub { font-family: var(--mono); font-size: 10px; color: var(--txt-faint); letter-spacing: 2px; margin-top: 3px; }

.nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: transparent; border: 1px solid transparent; border-radius: 10px;
  color: var(--txt-dim); font-size: 15px; letter-spacing: 1px;
  transition: all 0.22s ease; position: relative;
}
.nav-item svg { width: 19px; height: 19px; flex: none; }
.nav-code { margin-left: auto; font-family: var(--mono); font-size: 10px; font-style: normal; color: var(--txt-faint); }
.nav-item:hover { color: var(--txt); background: rgba(255, 255, 255, 0.03); }
.nav-item.active {
  color: var(--green); background: var(--green-soft); border-color: var(--green-line);
  box-shadow: inset 3px 0 0 var(--green);
}
.nav-item.active .nav-code { color: var(--green); opacity: 0.7; }

.sidebar-foot { margin-top: auto; }
.user-chip {
  width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 13px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  color: var(--txt-dim); font-size: 13px; text-align: left; transition: all 0.22s;
}
.user-chip:hover { border-color: var(--green-line); color: var(--txt); }
.user-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--txt-faint); flex: none; }
.user-dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); }
.foot-note { font-family: var(--mono); font-size: 9.5px; color: var(--txt-faint); letter-spacing: 1.5px; line-height: 1.8; margin-top: 16px; padding-left: 2px; }

/* ---------------- 主区域 ---------------- */
.main { margin-left: var(--sidebar-w); min-height: 100vh; padding: 46px 56px 140px; position: relative; z-index: 1; }
.page { display: none; max-width: 900px; margin: 0 auto; }
.page.active { display: block; animation: pageIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.page-head h2 { font-size: 30px; letter-spacing: 3px; font-weight: 700; }
.head-sub { font-family: var(--mono); font-size: 12px; color: var(--txt-faint); letter-spacing: 2px; margin-left: 10px; }

/* ---------------- 按钮 ---------------- */
.btn {
  border-radius: 9px; padding: 11px 22px; font-size: 14px; letter-spacing: 1px;
  border: 1px solid var(--line); background: var(--panel); color: var(--txt);
  transition: all 0.2s ease;
}
.btn:hover { border-color: var(--green-line); }
.btn-primary {
  background: var(--green); color: #03130a; border-color: var(--green); font-weight: 700;
  box-shadow: 0 0 0 rgba(0, 255, 106, 0);
}
.btn-primary:hover { box-shadow: 0 0 22px rgba(0, 255, 106, 0.45); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; margin-top: 4px; }

/* ---------------- 首页 Hero（PC 为主，满屏巨字模块） ---------------- */
.hero {
  min-height: calc(100vh - 190px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 0;
}
.hero-tag { font-family: var(--mono); color: var(--green); font-size: 13px; letter-spacing: 4px; margin-bottom: 26px; opacity: 0.85; }
.hero-block {
  border: 1px solid var(--line-glow); border-radius: 20px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 50% 115%, rgba(0, 255, 106, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(10, 14, 12, 0.6), rgba(6, 8, 7, 0.2));
  padding: clamp(48px, 9vh, 96px) clamp(24px, 5vw, 72px);
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 255, 106, 0.05) inset, 0 0 40px rgba(0, 0, 0, 0.4);
}
.hero-block::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 255, 106, 0.028) 3px 6px);
}
.hero-block::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: 62%; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent);
  filter: drop-shadow(0 0 8px var(--green));
}
.hero-title {
  font-size: clamp(28px, 6.2vw, 82px); font-weight: 900;
  letter-spacing: clamp(1px, 0.9vw, 12px);
  line-height: 1.2; color: var(--txt); white-space: nowrap;
  text-shadow: 0 0 18px rgba(0, 255, 106, 0.35), 0 0 60px rgba(0, 255, 106, 0.18);
}
.hero-domain {
  margin-top: clamp(14px, 3vh, 26px);
  font-family: var(--mono); font-size: clamp(14px, 2vw, 26px); font-weight: 600;
  letter-spacing: clamp(6px, 1.6vw, 20px); color: var(--green);
  text-shadow: 0 0 14px rgba(0, 255, 106, 0.7);
}
.caret { color: var(--green); animation: blink 0.9s steps(1) infinite; margin-left: 4px; }
@keyframes blink { 50% { opacity: 0; } }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.hero-stats { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.stat {
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  padding: 14px 24px; min-width: 96px; transition: all 0.22s;
}
.stat:hover { border-color: var(--green-line); transform: translateY(-2px); }
.stat b { font-family: var(--mono); font-size: 24px; color: var(--green); display: block; }
.stat span { font-size: 12px; color: var(--txt-dim); letter-spacing: 2px; }

.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 26px; }
.hero-card {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 24px 22px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px 160px at 20% 0%, var(--green-soft), transparent 70%);
}
.hero-card:hover { transform: translateY(-4px); border-color: var(--green-line); }
.hero-card:hover::after { opacity: 1; }
.hc-code { font-family: var(--mono); font-size: 11px; color: var(--green); opacity: 0.6; }
.hero-card h3 { font-size: 17px; margin: 12px 0 8px; letter-spacing: 1px; }
.hero-card p { color: var(--txt-dim); font-size: 13px; line-height: 1.8; }

/* ---------------- 论坛 ---------------- */
.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-card {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 22px 24px; cursor: pointer; transition: all 0.22s; position: relative;
}
.post-card:hover { border-color: var(--green-line); transform: translateX(4px); }
.post-card-top { display: flex; align-items: baseline; gap: 12px; }
.post-title { font-size: 17px; font-weight: 700; flex: 1; }
.post-meta { font-family: var(--mono); font-size: 11px; color: var(--txt-faint); white-space: nowrap; }
.post-meta em { color: var(--green); font-style: normal; }
.post-excerpt { color: var(--txt-dim); font-size: 13.5px; line-height: 1.8; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-thumb-row { margin-top: 12px; }
.post-thumb { max-width: 240px; max-height: 150px; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; display: block; }
.post-foot { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--txt-faint); display: flex; gap: 18px; }
.post-del { margin-left: auto; background: none; border: none; color: var(--txt-faint); font-size: 11px; font-family: var(--mono); }
.post-del:hover { color: var(--danger); }

/* 帖子内的图片 */
.detail-img { max-width: 100%; max-height: 480px; border-radius: 10px; border: 1px solid var(--line); margin: 16px 0; cursor: zoom-in; display: block; }

.comment-item { border-top: 1px solid var(--line); padding: 13px 2px; font-size: 13.5px; }
.comment-item:first-child { border-top: none; }
.comment-head { font-family: var(--mono); font-size: 11px; color: var(--txt-faint); margin-bottom: 5px; display: flex; gap: 12px; }
.comment-head em { color: var(--green); font-style: normal; }
.comment-head .post-del { margin-left: auto; }
.comment-body { color: var(--txt); line-height: 1.7; word-break: break-word; }
.comment-input-row { display: flex; gap: 10px; margin-top: 14px; }
.comment-input-row input { flex: 1; }

/* ---------------- 留言墙 ---------------- */
.wall-composer {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 18px 20px; margin-bottom: 24px; transition: border-color 0.25s;
}
.wall-composer:focus-within { border-color: var(--green-line); box-shadow: 0 0 24px rgba(0, 255, 106, 0.08); }
.wall-composer textarea {
  width: 100%; background: transparent; border: none; outline: none; resize: none;
  color: var(--txt); font-size: 14.5px; line-height: 1.8;
}
.wall-composer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.char-count { font-family: var(--mono); font-size: 11px; color: var(--txt-faint); }

.wall-list { columns: 3 240px; column-gap: 14px; }
.wall-card {
  break-inside: avoid; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); padding: 18px 18px 14px; margin-bottom: 14px;
  transition: all 0.22s; position: relative; animation: pageIn 0.4s ease;
}
.wall-card:hover { border-color: var(--green-line); transform: translateY(-2px); }
.wall-text { font-size: 14px; line-height: 1.9; word-break: break-word; }
.wall-foot { display: flex; align-items: center; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--txt-faint); }
.wall-foot em { color: var(--green); font-style: normal; margin-right: 10px; }
.wall-foot .post-del { margin-left: auto; }
.wall-quote { color: var(--green); font-family: var(--mono); font-size: 14px; opacity: 0.5; }

/* ---------------- 电台 ---------------- */
.radio-now {
  display: flex; align-items: center; gap: 28px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
  padding: 26px 30px; margin-bottom: 24px;
}
.vinyl {
  width: 108px; height: 108px; border-radius: 50%; flex: none; position: relative;
  background: repeating-radial-gradient(circle at 50% 50%, #0a0d0b 0 3px, #101512 3px 6px);
  border: 1px solid var(--line-glow);
  animation: spin 5s linear infinite; animation-play-state: paused;
}
.vinyl.playing { animation-play-state: running; box-shadow: 0 0 34px rgba(0, 255, 106, 0.18); }
.vinyl-center {
  position: absolute; inset: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(0, 255, 106, 0.7);
}
@keyframes spin { to { transform: rotate(360deg); } }
.radio-status { font-family: var(--mono); font-size: 11px; color: var(--green); letter-spacing: 3px; }
.radio-now-info h3 { font-size: 21px; margin: 8px 0 6px; }
.radio-now-info p { color: var(--txt-dim); font-size: 13px; }

.track-list { display: flex; flex-direction: column; gap: 10px; }
.track-item {
  display: flex; align-items: center; gap: 16px; padding: 15px 20px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  cursor: pointer; transition: all 0.2s;
}
.track-item:hover { border-color: var(--green-line); transform: translateX(4px); }
.track-item.playing { border-color: var(--green); background: var(--green-soft); }
.track-no { font-family: var(--mono); font-size: 12px; color: var(--txt-faint); width: 24px; flex: none; }
.track-item.playing .track-no { color: var(--green); }
.track-info { flex: 1; min-width: 0; }
.track-title { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { font-size: 12px; color: var(--txt-dim); margin-top: 3px; }
.track-meta { font-family: var(--mono); font-size: 10.5px; color: var(--txt-faint); white-space: nowrap; }
.track-eq { display: none; gap: 2.5px; align-items: flex-end; height: 14px; }
.track-item.playing .track-eq { display: flex; }
.track-eq i { width: 3px; background: var(--green); animation: eq 0.8s ease-in-out infinite; }
.track-eq i:nth-child(2) { animation-delay: 0.2s; } .track-eq i:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------------- 播放条 ---------------- */
.playerbar {
  position: fixed; bottom: 18px; left: calc(var(--sidebar-w) + 24px); right: 24px; z-index: 200;
  display: flex; align-items: center; gap: 18px; padding: 13px 20px;
  background: rgba(10, 14, 12, 0.92); border: 1px solid var(--green-line); border-radius: 14px;
  backdrop-filter: blur(10px); box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 255, 106, 0.08);
  animation: pageIn 0.4s ease;
}
.playerbar.hidden { display: none; }
.pb-info { min-width: 130px; max-width: 220px; }
.pb-info b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-info span { font-size: 11px; color: var(--txt-dim); }
.pb-controls { display: flex; gap: 6px; align-items: center; }
.pb-controls button { background: none; border: none; color: var(--txt-dim); font-size: 15px; padding: 6px; transition: color 0.2s; }
.pb-controls button:hover { color: var(--green); }
.pb-play {
  width: 36px; height: 36px; border-radius: 50% !important; background: var(--green) !important;
  color: #03130a !important; font-size: 13px !important; display: grid; place-items: center;
}
.pb-progress { flex: 1; height: 5px; background: #1a221d; border-radius: 3px; cursor: pointer; position: relative; }
.pb-bar { height: 100%; width: 0%; background: var(--green); border-radius: 3px; box-shadow: 0 0 8px rgba(0, 255, 106, 0.6); position: relative; }
.pb-bar::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--green); opacity: 0; transition: opacity 0.2s; }
.pb-progress:hover .pb-bar::after { opacity: 1; }
.pb-time { font-family: var(--mono); font-size: 11px; color: var(--txt-faint); white-space: nowrap; }
.pb-close { background: none; border: none; color: var(--txt-faint); padding: 4px; }
.pb-close:hover { color: var(--txt); }

/* ---------------- 弹窗 ---------------- */
.modal {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: rgba(2, 4, 3, 0.78); backdrop-filter: blur(6px); padding: 20px;
}
.modal.hidden { display: none; }
.modal-box {
  width: min(440px, 100%); max-height: 88vh; overflow-y: auto; position: relative;
  background: var(--panel); border: 1px solid var(--line-glow); border-radius: 16px;
  padding: 30px 30px 26px; animation: popIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 255, 106, 0.06);
}
.modal-box-wide { width: min(640px, 100%); }
@keyframes popIn { from { opacity: 0; transform: scale(0.94) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 8px;
  background: none; border: 1px solid var(--line); color: var(--txt-dim); font-size: 12px;
}
.modal-close:hover { color: var(--green); border-color: var(--green-line); }
.modal-title { font-size: 19px; margin-bottom: 8px; letter-spacing: 1px; }
.modal-tip { color: var(--txt-dim); font-size: 12.5px; line-height: 1.9; margin-bottom: 18px; }

.form-row { margin-bottom: 14px; }
.form-row input, .form-row textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--txt); font-size: 14px; outline: none; transition: border-color 0.2s;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 255, 106, 0.08); }
.form-row-code { display: flex; gap: 10px; }
.form-row-code input { flex: 1; }
.form-row-code .btn { white-space: nowrap; }
.form-error { color: var(--danger); font-size: 12.5px; min-height: 18px; margin-bottom: 8px; }
.file-label { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-name { font-family: var(--mono); font-size: 11px; color: var(--txt-faint); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.detail-comment h4 { margin: 22px 0 8px; font-size: 15px; }
#detailBody h3 { font-size: 21px; margin-bottom: 6px; }
#detailBody .post-meta { margin-bottom: 12px; display: block; }
#detailBody .detail-text { color: var(--txt); line-height: 2; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }

/* ---------------- 灯箱 ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 600; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.9); cursor: zoom-out; padding: 30px;
}
.lightbox.hidden { display: none; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 8px; border: 1px solid var(--green-line); }

/* ---------------- Toast ---------------- */
.toasts { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 800; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  padding: 12px 22px; border-radius: 10px; font-size: 13.5px; letter-spacing: 0.5px;
  background: rgba(10, 15, 12, 0.95); border: 1px solid var(--green-line); color: var(--txt);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 255, 106, 0.12);
  animation: toastIn 0.3s ease;
}
.toast.err { border-color: rgba(255, 92, 92, 0.5); color: #ffb3b3; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

.skeleton { color: var(--txt-faint); font-family: var(--mono); font-size: 12px; letter-spacing: 2px; padding: 30px 0; text-align: center; }
.empty { text-align: center; padding: 50px 0; color: var(--txt-faint); }
.empty b { display: block; font-size: 15px; color: var(--txt-dim); margin-bottom: 8px; }

/* ---------------- 好友 ---------------- */
.page-desc { color: var(--txt-dim); font-size: 13.5px; line-height: 1.9; margin: -12px 0 22px; }
.head-count { font-family: var(--mono); font-size: 12px; color: var(--txt-faint); letter-spacing: 1px; }
.sec-title { font-size: 15px; letter-spacing: 1px; margin: 26px 0 14px; }
.sec-title:first-child { margin-top: 0; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.member-card {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 20px; cursor: pointer; transition: all 0.22s; text-align: left;
  display: flex; align-items: center; gap: 14px;
}
.member-card:hover { border-color: var(--green-line); transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4); }
.member-avatar {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--green);
  background: var(--green-soft); border: 1px solid var(--green-line);
}
.member-info { min-width: 0; flex: 1; }
.member-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-sub { font-family: var(--mono); font-size: 10.5px; color: var(--txt-faint); margin-top: 4px; }
.member-card.is-me .member-avatar { background: var(--green); color: #05130b; box-shadow: 0 0 16px rgba(0, 255, 106, 0.4); }
.member-actions { display: flex; flex-direction: column; gap: 6px; }
.chip-btn {
  border: 1px solid var(--green-line); background: var(--green-soft); color: var(--green);
  border-radius: 8px; font-size: 11px; padding: 5px 10px; letter-spacing: 1px; transition: all 0.2s;
  white-space: nowrap;
}
.chip-btn:hover { background: var(--green); color: #05130b; }
.chip-btn.ghost { background: transparent; border-color: var(--line); color: var(--txt-dim); }
.chip-btn.ghost:hover { color: var(--danger); border-color: var(--danger); background: rgba(255, 92, 92, 0.08); }
.chip-btn:disabled { opacity: 0.45; cursor: default; }
.chip-btn:disabled:hover { background: var(--green-soft); color: var(--green); }

/* 好友申请 */
.friend-requests {
  border: 1px solid var(--green-line); border-radius: 14px; background: rgba(0, 255, 106, 0.045);
  padding: 20px 22px; margin-bottom: 10px;
}
.req-list { display: flex; flex-wrap: wrap; gap: 10px; }
.req-card {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  background: var(--panel); border-radius: 10px; padding: 10px 14px; font-size: 13px;
}
.req-card b { font-size: 13.5px; }
.req-card .chip-btn { padding: 4px 10px; }

/* 私信 */
.dm-thread {
  max-height: 46vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); padding: 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px;
}
.dm-msg { max-width: 78%; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.7; word-break: break-word; animation: pageIn 0.25s ease; }
.dm-msg.mine { align-self: flex-end; background: var(--green-soft); border: 1px solid var(--green-line); color: var(--txt); }
.dm-msg.theirs { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); }
.dm-msg-time { font-family: var(--mono); font-size: 9.5px; color: var(--txt-faint); margin-top: 4px; text-align: right; }
.dm-empty { text-align: center; color: var(--txt-faint); font-size: 12.5px; padding: 26px 0; }

/* ---------------- 视觉 ---------------- */
.visual-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.visual-item {
  position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--panel); cursor: zoom-in; aspect-ratio: 4/3; animation: pageIn 0.4s ease;
}
.visual-item img, .visual-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.3s; filter: saturate(0.9); }
.visual-item:hover { border-color: var(--green-line); }
.visual-item:hover img, .visual-item:hover video { transform: scale(1.06); filter: saturate(1.15); }
.visual-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(3, 6, 4, 0.92));
  font-size: 12.5px; color: var(--txt); display: flex; align-items: baseline; gap: 8px;
}
.visual-cap em { font-family: var(--mono); font-size: 10px; color: var(--green); font-style: normal; margin-left: auto; white-space: nowrap; }
.visual-badge {
  position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: 10px;
  background: rgba(3, 6, 4, 0.8); border: 1px solid var(--green-line); color: var(--green);
  border-radius: 6px; padding: 3px 8px; letter-spacing: 1px;
}
.visual-video-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: 34px; color: var(--green); background: linear-gradient(135deg, #0a0f0c, #101814); }
.video-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-glow); background: #000; }
.video-wrap video { width: 100%; max-height: 62vh; display: block; }
.search-result { margin: 4px 0 10px; min-height: 24px; font-size: 13px; color: var(--txt-dim); }
.search-result b { color: var(--green); }

/* ---------------- 团队关系网 ---------------- */
.team-wrap { position: relative; }
.team-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.team-title { font-size: 19px; letter-spacing: 1px; }
.team-head .page-desc { margin: 8px 0 0; }
.graph-stage {
  position: relative; height: 480px; border: 1px solid var(--line-glow); border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 255, 106, 0.04), transparent 70%),
    linear-gradient(rgba(0, 255, 106, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 106, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 34px 34px, 34px 34px;
  overflow: hidden; margin-bottom: 22px; user-select: none; touch-action: none;
}
.graph-edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph-edges line { stroke: rgba(0, 255, 106, 0.28); stroke-width: 1.2; }
.graph-edges line.edge-extra { stroke: rgba(0, 255, 106, 0.16); stroke-dasharray: 4 5; }
.graph-edges text { fill: var(--txt-faint); font-size: 10px; font-family: var(--mono); letter-spacing: 1px; }
.graph-edges text.edge-label { fill: var(--txt-faint); }
.graph-edges text.group-label { fill: var(--green); opacity: 0.65; font-size: 11px; letter-spacing: 3px; }

/* 整张网随鼠标悬停轻微震颤 */
.graph-net { position: absolute; inset: 0; }
.graph-stage:hover .graph-net { animation: netTremble 2.2s ease-in-out infinite; }
@keyframes netTremble {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(1px, -1px) rotate(0.15deg); }
  40% { transform: translate(-1px, 1px) rotate(-0.15deg); }
  60% { transform: translate(1px, 1px) rotate(0.1deg); }
  80% { transform: translate(-1px, -1px) rotate(-0.1deg); }
}

/* 悬停的节点：放大 + 抖动 */
.gnode { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column;
  align-items: center; gap: 8px; cursor: pointer; z-index: 5; }
.gnode-dot {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  font-family: var(--mono); font-weight: 700; font-size: 20px; color: #04130a;
  border: 2px solid var(--node-color, var(--green));
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--node-color, #00ff6a) 85%, white 15%), var(--node-color, #00ff6a) 70%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--node-color, #00ff6a) 45%, transparent), 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.gnode:hover { z-index: 8; }
.gnode:hover .gnode-dot { transform: scale(1.22); animation: nodeShake 0.5s ease-in-out; }
@keyframes nodeShake {
  0%, 100% { translate: 0 0; }
  20% { translate: -3px 0; }
  40% { translate: 3px 0; }
  60% { translate: -2px 1px; }
  80% { translate: 2px -1px; }
}
.gnode-dot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gnode.center .gnode-dot { width: 78px; height: 78px; font-size: 26px; }
.gnode-name { font-size: 12px; color: var(--txt); background: rgba(4, 7, 5, 0.75); padding: 2px 10px; border-radius: 8px; border: 1px solid var(--line); white-space: nowrap; }
.gnode.center .gnode-name { color: var(--green); border-color: var(--green-line); }

.team-inspector {
  position: absolute; top: 14px; right: 14px; width: min(280px, 80%);
  background: rgba(8, 12, 10, 0.96); border: 1px solid var(--green-line); border-radius: 14px;
  padding: 24px 22px; z-index: 20; animation: popIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}
.team-inspector .modal-close { position: absolute; top: 10px; right: 10px; }
.inspector-avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  font-family: var(--mono); font-size: 20px; font-weight: 700; color: #04130a; margin-bottom: 12px;
}
.inspector-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-inspector h3 { font-size: 18px; }
.insp-role { font-family: var(--mono); font-size: 11px; color: var(--green); letter-spacing: 2px; margin: 6px 0 12px; }
.insp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.insp-tags span { font-size: 11px; border: 1px solid var(--line); color: var(--txt-dim); border-radius: 6px; padding: 3px 9px; }
.insp-bio { font-size: 12.5px; color: var(--txt-dim); line-height: 1.9; }
.insp-links { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--txt-faint); }
.insp-links div { margin-top: 4px; }

/* ---------------- 关于我们 ---------------- */
.about-wrap { display: flex; flex-direction: column; gap: 16px; }
.about-block {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 28px 30px;
  transition: border-color 0.25s;
}
.about-block:hover { border-color: var(--line-glow); }
.about-block h3 { font-size: 19px; margin: 10px 0 12px; letter-spacing: 1px; }
.about-block p { color: var(--txt-dim); font-size: 14px; line-height: 2; }
.about-block p b { color: var(--green); }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.about-list li { color: var(--txt-dim); font-size: 14px; line-height: 1.9; padding-left: 18px; position: relative; }
.about-list li::before { content: "▸"; position: absolute; left: 0; color: var(--green); }
.about-list b { color: var(--txt); margin-right: 6px; }
.about-contact { background: linear-gradient(135deg, rgba(0, 255, 106, 0.06), rgba(10, 14, 12, 0.9)); border-color: var(--line-glow); }
.about-fine { font-size: 12.5px !important; color: var(--txt-faint) !important; margin-top: 8px; }

/* ---------------- 加入我们 · 大标语 ---------------- */
.join-hero {
  margin-top: 26px; padding: 74px 30px 66px; text-align: center; cursor: pointer;
  border: 1px solid var(--green-line); border-radius: 20px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(0, 255, 106, 0.1), transparent 70%),
    linear-gradient(rgba(0, 255, 106, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 106, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.join-hero::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  filter: blur(1px);
}
.join-hero:hover { border-color: var(--green); box-shadow: 0 0 60px rgba(0, 255, 106, 0.12); }
.join-title {
  font-size: clamp(44px, 6.4vw, 88px); font-weight: 900; letter-spacing: clamp(4px, 1.2vw, 16px);
  color: var(--txt); line-height: 1.1;
  text-shadow: 0 0 18px rgba(0, 255, 106, 0.35), 0 0 60px rgba(0, 255, 106, 0.18);
}
.join-sub {
  font-family: var(--mono); color: var(--green); font-size: clamp(13px, 1.6vw, 20px);
  letter-spacing: 6px; margin-top: 16px;
  text-shadow: 0 0 12px rgba(0, 255, 106, 0.5);
}
.join-cta {
  display: inline-block; margin-top: 28px; font-size: 13.5px; color: var(--txt-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 24px;
  transition: all 0.25s;
}
.join-hero:hover .join-cta { color: var(--green); border-color: var(--green-line); box-shadow: 0 0 18px rgba(0, 255, 106, 0.15); }

/* ---------------- 首页背景电台挂件 ---------------- */
.ambient-chip {
  position: fixed; right: 24px; left: auto; bottom: 92px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: rgba(6, 10, 8, 0.88); border: 1px solid var(--green-line); border-radius: 999px;
  padding: 8px 16px 8px 8px; backdrop-filter: blur(8px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  animation: pageIn 0.4s ease;
}
.ambient-chip button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--green-line);
  background: var(--green-soft); color: var(--green); font-size: 12px;
  display: grid; place-items: center;
}
.ambient-chip button:hover { background: var(--green); color: #05130b; }
.ambient-chip span {
  font-family: var(--mono); font-size: 11.5px; color: var(--txt-dim);
  max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------------- 登录弹窗（双通道） ---------------- */
.auth-tabs {
  display: flex; gap: 8px; margin: -6px 0 18px; padding: 4px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02);
}
.auth-tab {
  flex: 1; padding: 9px 0; font-size: 13px; letter-spacing: 1px;
  color: var(--txt-dim); background: transparent; border: none; border-radius: 7px;
  transition: all 0.18s;
}
.auth-tab:hover { color: var(--txt); }
.auth-tab.active {
  color: #05130b; background: var(--green); font-weight: 600;
  box-shadow: 0 0 14px rgba(0, 255, 106, 0.35);
}
.auth-alt { margin-top: 14px; font-size: 12.5px; color: var(--txt-faint); text-align: center; }
.auth-alt a { color: var(--green); text-decoration: none; }
.auth-alt a:hover { text-shadow: 0 0 10px rgba(0, 255, 106, 0.6); }

/* ---------------- 管理员 ---------------- */
.admin-badge {
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  color: #05130b; background: var(--green); border-radius: 6px;
  padding: 2px 7px; margin-left: 8px; box-shadow: 0 0 12px rgba(0, 255, 106, 0.4);
}
.visual-del {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
  border-radius: 50%; border: 1px solid var(--green-line); z-index: 6;
  background: rgba(6, 10, 8, 0.82); color: var(--green); font-size: 12px;
  display: grid; place-items: center; transition: all 0.18s;
}
.visual-del:hover { background: var(--green); color: #05130b; transform: scale(1.1); }

/* ---------------- 团队编辑器（管理员） ---------------- */
.modal-box-wide { width: min(700px, 94vw); max-height: 88vh; overflow-y: auto; }
.team-member-list { display: flex; flex-direction: column; gap: 6px; }
.tm-group-name {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--green);
  padding: 10px 4px 2px; border-bottom: 1px dashed var(--line); margin-bottom: 2px;
  display: flex; justify-content: space-between; gap: 10px;
}
.tm-group-name span { color: var(--txt-faint); font-size: 10px; letter-spacing: 0; }
.tm-row {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02);
}
.tm-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 700;
  color: #05130b; background: var(--green-soft);
}
.tm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tm-name { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-center {
  font-family: var(--mono); font-size: 9px; color: var(--green);
  border: 1px solid var(--green-line); border-radius: 5px; padding: 1px 5px;
}
.tm-role { font-size: 11.5px; color: var(--txt-faint); margin-right: auto; white-space: nowrap; }
.tm-rel { font-family: var(--mono); font-size: 11px; color: var(--green); white-space: nowrap; }
.tm-static { font-size: 10px; color: var(--txt-faint); white-space: nowrap; }
.team-check {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--txt-dim);
  padding: 2px 2px 10px; cursor: pointer;
}
.team-check input { accent-color: var(--green); }
.team-edge-add { display: grid; grid-template-columns: 1fr 110px 1fr auto; gap: 8px; margin-top: 12px; }
.team-edge-add select, .team-edge-add input {
  background: #0b100d; border: 1px solid var(--line); border-radius: 8px;
  color: var(--txt); padding: 9px 10px; font-size: 12.5px;
}
.team-edge-add select:focus, .team-edge-add input:focus { outline: none; border-color: var(--green-line); }
.mf-avatar-preview {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--green-line);
}
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------------- 移动端 ---------------- */
@media (max-width: 860px) {
  .nav-item { font-size: 10px; padding: 6px 2px; }
  .sidebar {
    top: auto; bottom: 0; right: 0; width: 100%; flex-direction: row; align-items: center;
    padding: 8px 12px; border-right: none; border-top: 1px solid var(--line); gap: 4px;
  }
  .logo { display: none; }
  .nav { flex-direction: row; flex: 1; gap: 2px; }
  .nav-item { flex-direction: column; gap: 3px; padding: 7px 4px; font-size: 11px; flex: 1; border-radius: 9px; }
  .nav-item svg { width: 18px; height: 18px; }
  .nav-code { display: none; }
  .nav-item.active { box-shadow: none; }
  .sidebar-foot { display: none; }
  .main { margin-left: 0; padding: 24px 18px 130px; }
  .page-head h2 { font-size: 24px; }
  .hero { padding-top: 20px; }
  .wall-list { columns: 1; }
  .playerbar { left: 12px; right: 12px; bottom: 76px; gap: 10px; padding: 10px 14px; }
  .ambient-chip { right: 12px; bottom: 150px; }
  .ambient-chip span { max-width: 130px; }
  .pb-info { min-width: 0; max-width: 100px; }
  .pb-time { display: none; }
  .radio-now { flex-direction: column; text-align: center; }
  .hero-actions { flex-wrap: wrap; }
}

/* ============ 周边模块 ============ */
.merch-hero {
  padding: 72px 0 48px;
  text-align: center;
  border-bottom: 1px solid rgba(0,255,106,.12);
  margin-bottom: 40px;
}
.merch-title {
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--fg, #eafff2);
  text-shadow: 0 0 30px rgba(0,255,106,.25);
  margin: 0;
}
.merch-title em {
  font-style: italic;
  color: #00ff6a;
  text-shadow: 0 0 24px rgba(0,255,106,.6), 0 0 60px rgba(0,255,106,.25);
}
.merch-sub {
  margin-top: 18px;
  letter-spacing: 6px;
  color: rgba(0,255,106,.5);
  font-size: 13px;
}
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}
.merch-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: rgba(234,255,242,.4);
  letter-spacing: 2px;
}
.merch-card {
  border: 1px solid rgba(0,255,106,.18);
  background: rgba(0,255,106,.03);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.merch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,106,.55);
  box-shadow: 0 8px 32px rgba(0,255,106,.12);
}
.merch-img {
  aspect-ratio: 1 / 1;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.merch-img img { width: 100%; height: 100%; object-fit: cover; }
.merch-ph {
  font-size: 44px;
  font-weight: 900;
  color: rgba(0,255,106,.35);
  letter-spacing: 4px;
}
.merch-info { padding: 16px 18px 18px; }
.merch-name { margin: 0 0 8px; font-size: 17px; color: var(--fg, #eafff2); }
.merch-desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(234,255,242,.55);
  min-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.merch-meta { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.merch-price { color: #00ff6a; font-size: 22px; font-weight: 800; text-shadow: 0 0 14px rgba(0,255,106,.4); }
.merch-date { font-size: 11px; color: rgba(234,255,242,.35); letter-spacing: 1px; }
.merch-admin { display: flex; gap: 10px; margin-top: 10px; }
.merch-admin button {
  flex: 1;
  background: none;
  border: 1px solid rgba(0,255,106,.25);
  color: rgba(0,255,106,.7);
  border-radius: 8px;
  padding: 5px 0;
  font-size: 12px;
  cursor: pointer;
  transition: all .15s ease;
}
.merch-admin button:hover { border-color: #00ff6a; color: #00ff6a; }
.merch-admin .merch-del { border-color: rgba(255,80,80,.3); color: rgba(255,110,110,.75); }
.merch-admin .merch-del:hover { border-color: #ff6e6e; color: #ff6e6e; }
.modal-box-pay { text-align: center; }
.pay-qr {
  width: 260px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0,255,106,.4);
  box-shadow: 0 0 30px rgba(0,255,106,.2);
  margin: 12px auto 8px;
  display: block;
}
.pay-tip { font-size: 12px; color: rgba(234,255,242,.45); letter-spacing: 1px; margin: 10px 0 0; }

/* ============ 商品详情放大层 ============ */
.modal-zoom { z-index: 60; }
.merch-detail-box {
  max-width: 860px;
  width: min(860px, 92vw);
  animation: merchZoomIn .22s cubic-bezier(.2, 1.4, .4, 1);
  transform-origin: center;
}
@keyframes merchZoomIn {
  from { transform: scale(.82); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.merch-detail-layout { display: flex; gap: 26px; margin-top: 14px; }
.merch-detail-img {
  flex: 0 0 46%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid rgba(0,255,106,.25);
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.merch-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.merch-detail-side { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.merch-detail-name {
  margin: 10px 0 12px;
  font-size: 26px;
  color: var(--fg, #eafff2);
  text-shadow: 0 0 16px rgba(0,255,106,.25);
}
.merch-detail-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(234,255,242,.6);
  flex: 1;
  overflow-y: auto;
  max-height: 220px;
  white-space: pre-wrap;
}
@media (max-width: 640px) {
  .merch-detail-layout { flex-direction: column; }
  .merch-detail-img { flex: none; width: 100%; }
}

/* ============ 个人主页 ============ */
.profile-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 0 32px;
  border-bottom: 1px solid rgba(0,255,106,.12);
  margin-bottom: 28px;
}
.profile-avatar-btn {
  position: relative;
  width: 128px; height: 128px;
  border-radius: 50%;
  border: 2px solid rgba(0,255,106,.5);
  background: rgba(0,255,106,.06);
  cursor: pointer;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 24px rgba(0,255,106,.18);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.profile-avatar-btn:hover { border-color: #00ff6a; box-shadow: 0 0 34px rgba(0,255,106,.35); }
.profile-avatar-txt {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; font-weight: 900;
  color: #00ff6a;
}
.profile-avatar-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-edit {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 4px 0;
  font-size: 11px;
  text-align: center;
  background: rgba(0,0,0,.65);
  color: #00ff6a;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity .15s ease;
}
.profile-avatar-btn:hover .profile-avatar-edit { opacity: 1; }
.profile-hero-info { min-width: 0; }
.profile-nick {
  margin: 0 0 6px;
  font-size: 34px;
  color: var(--fg, #eafff2);
  text-shadow: 0 0 20px rgba(0,255,106,.25);
  word-break: break-all;
}
.profile-sig-view {
  margin: 0 0 14px;
  color: rgba(234,255,242,.55);
  font-size: 14px;
  line-height: 1.6;
}
.profile-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.profile-chip {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(234,255,242,.45);
  border: 1px solid rgba(234,255,242,.14);
  border-radius: 999px;
  padding: 3px 12px;
}
.profile-form {
  max-width: 560px;
  margin-bottom: 32px;
}
.pf-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(0,255,106,.55);
  margin-bottom: 6px;
}

.member-avatar { overflow: hidden; }
.member-avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* 登录面板底部链接 */
.auth-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,255,106,.18);
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
}
.auth-foot a { color: rgba(0,255,106,.75); text-decoration: none; }
.auth-foot a:hover { color: #00ff6a; text-shadow: 0 0 10px rgba(0,255,106,.5); }
.af-sep { color: rgba(234,255,242,.25); margin: 0 10px; }

/* ============ 未读消息角标 + 更大的好友卡片 ============ */
.nav-item { position: relative; }
.nav-badge {
  position: absolute;
  top: 8px; right: 12px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  font-family: var(--mono, monospace);
  box-shadow: 0 0 10px rgba(255, 77, 79, 0.55);
  pointer-events: none;
}
.member-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.member-card { padding: 22px; gap: 16px; position: relative; }
.member-avatar {
  width: 56px; height: 56px; border-radius: 14px;
  font-size: 22px;
}
.member-name { font-size: 16.5px; }
.member-sub { font-size: 11px; }
.msg-badge {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  font-family: var(--mono, monospace);
  box-shadow: 0 0 12px rgba(255, 77, 79, 0.6);
  z-index: 2;
  pointer-events: none;
}

/* ============ 点赞 + 我收到的消息 ============ */
.like-btn {
  background: none;
  border: none;
  color: rgba(234,255,242,.55);
  font-size: 13px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 999px;
  transition: all .15s ease;
  font-family: inherit;
}
.like-btn:hover { color: #ff6e6e; background: rgba(255,110,110,.08); }
.like-btn.liked { color: #ff5252; text-shadow: 0 0 10px rgba(255,82,82,.45); }
.like-btn.big {
  font-size: 14px;
  border: 1px solid rgba(255,110,110,.25);
  padding: 6px 16px;
  margin-bottom: 10px;
}
.like-btn.big.liked { border-color: rgba(255,82,82,.5); }
.post-foot { display: flex; align-items: center; gap: 14px; }
.detail-likes { margin-top: 16px; }
.detail-likers { font-size: 12px; color: rgba(234,255,242,.45); margin-left: 10px; }
.notif-list { display: flex; flex-direction: column; gap: 10px; }
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,255,106,.12);
  border-radius: 12px;
  background: rgba(0,255,106,.02);
}
.notif-item.unread {
  border-color: rgba(0,255,106,.4);
  background: rgba(0,255,106,.06);
  box-shadow: 0 0 14px rgba(0,255,106,.08);
}
.notif-ico { flex: none; font-size: 16px; }
.notif-body { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.6; color: rgba(234,255,242,.75); }
.notif-body b { color: #00ff6a; }
.notif-body em { font-style: normal; color: rgba(234,255,242,.9); }
.notif-text { font-size: 12.5px; color: rgba(234,255,242,.5); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif-time { flex: none; font-size: 11px; color: rgba(234,255,242,.3); font-family: var(--mono, monospace); }

/* ============ LOGO 体系 ============ */
.logo-mark { padding: 0; overflow: hidden; }
.logo-mark img {
  width: 26px; height: 26px; object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 60, 50, 0.55));
}
/* 首页主 logo */
.hero-logo {
  display: flex; justify-content: center;
  margin-bottom: clamp(18px, 3vh, 30px);
  animation: heroLogoLift 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) both, heroLogoFloat 4.6s ease-in-out 0.9s infinite;
  will-change: transform;
}
.hero-logo img {
  height: clamp(96px, 13vw, 148px); width: auto;
  filter: drop-shadow(0 0 22px rgba(0, 255, 106, 0.22)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}
@keyframes heroLogoLift {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* 漂浮：明显上下起伏 + 轻微左右倾摆 */
@keyframes heroLogoFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-13px) rotate(-1.6deg); }
  50%  { transform: translateY(-22px) rotate(0deg); }
  75%  { transform: translateY(-11px) rotate(1.6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
/* 光晕呼吸，跟漂浮同频 */
@keyframes heroLogoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 22px rgba(0, 255, 106, 0.2)) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(0, 255, 106, 0.4)) drop-shadow(0 22px 34px rgba(0, 0, 0, 0.8));
  }
}
/* 关于我们页 logo */
.page-head-left { display: flex; align-items: center; gap: 16px; }
.about-logo {
  height: 58px; width: auto;
  filter: drop-shadow(0 0 14px rgba(0, 255, 106, 0.18));
}
/* 登录弹窗 logo */
.auth-logo {
  display: block; height: 84px; width: auto; margin: 2px auto 14px;
  filter: drop-shadow(0 0 16px rgba(0, 255, 106, 0.18));
}
@media (max-width: 720px) {
  .hero-logo img { height: 86px; }
  .about-logo { height: 44px; }
  .auth-logo { height: 68px; }
}

/* ============ LOGO 微调 ============ */
/* 侧边栏：镂空红线眼镜单体（源自 logo 的红色眼镜，去掉底框只留红色描边） */
.logo-mark {
  width: 56px; height: 44px;
  background: none; border: none; padding: 0; box-shadow: none;
  border-radius: 0; overflow: visible;
  display: flex; align-items: center; justify-content: center;
  animation: none;
}
.logo-mark img {
  width: 56px; height: auto; max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(255, 60, 50, 0.6)) drop-shadow(0 0 18px rgba(255, 60, 50, 0.25));
  animation: markGlow 3.6s ease-in-out infinite;
}
@keyframes markGlow {
  50% { filter: drop-shadow(0 0 12px rgba(255, 70, 55, 0.95)) drop-shadow(0 0 26px rgba(255, 60, 50, 0.45)); }
}
.hero-block {
  padding: clamp(38px, 6vh, 64px) clamp(24px, 5vw, 72px) clamp(38px, 6vh, 64px);
  min-height: clamp(520px, 64vh, 680px);
  display: flex; flex-direction: column; justify-content: center;
}
/* logo 完整置于标题下面一层：放大、居中、只上下轻微浮动 */
.hero-emblem {
  position: absolute; left: 50%; top: calc(50% - 26px); transform: translate(-50%, -50%);
  width: clamp(300px, 27vw, 380px);
  z-index: 0; pointer-events: none;
}
.hero-emblem img {
  display: block; width: 100%; height: auto;
  animation: emblemBob 5.2s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(0, 255, 106, 0.16));
}
.hero-tag {
  /* 完整 logo 垫底后中间会被 logo 自带文字占满，把这行小标语挪到面板顶部做角标 */
  position: absolute; left: 0; right: 0; top: clamp(18px, 3vh, 30px);
  margin: 0; z-index: 2;
  text-shadow: 0 0 3px #050706, 0 0 8px #050706, 0 0 14px #050706;
}
.hero-title, .hero-domain { position: relative; z-index: 1; }
.hero-domain { text-shadow: 0 0 3px #050706, 0 0 9px #050706, 0 0 16px #050706, 0 0 14px rgba(0, 255, 106, 0.7); }
.join-sub { text-shadow: 0 0 3px #050706, 0 0 9px #050706, 0 0 16px #050706, 0 0 12px rgba(0, 255, 106, 0.45); }
@keyframes emblemBob {
  0%, 100% { transform: translateY(-9px); }
  50% { transform: translateY(9px); }
}
@media (max-width: 720px) {
  .hero-block { min-height: clamp(400px, 58vh, 520px); }
  .hero-emblem { width: 220px; }
  .hero-title { font-size: 34px; letter-spacing: 2px; }
  .join-hero { min-height: clamp(400px, 52vh, 480px); }
}
/* 关于我们页 · 加入我们：同样的「完整 logo 垫底 + 标题压上」 */
.join-hero { display: flex; flex-direction: column; justify-content: center; min-height: clamp(540px, 62vh, 640px); padding-bottom: 74px; }
.join-emblem {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(300px, 30vw, 440px); z-index: 0; pointer-events: none;
}
.join-emblem img {
  display: block; width: 100%; height: auto;
  animation: emblemBob 5.8s ease-in-out infinite;
}
.join-title, .join-sub, .join-cta { position: relative; z-index: 1; }
/* logo 完整垫底后 CTA 落在人物脸上，加半透明底保证可读 */
.join-cta { align-self: center; background: rgba(5, 7, 6, 0.72); color: rgba(234, 255, 242, 0.88); }
.join-title { margin: 0; }
@media (max-width: 720px) {
  .join-hero { min-height: 520px; padding-bottom: 52px; }
  .join-emblem { width: 232px; }
}
.auth-logo { height: 104px; }

/* 尊重系统"减少动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-logo img,
  .logo-mark img { animation: none !important; }
}

/* ============================================================
   邀请码管理（「我的」页 · 管理员）
   ============================================================ */
.invite-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  max-height: 320px;
  overflow-y: auto;
}
.invite-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line, rgba(255, 255, 255, .12));
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
}
.invite-item.used { opacity: .45; }
.invite-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--accent, #9be15d);
  flex: 0 0 auto;
}
.invite-meta {
  flex: 1 1 auto;
  font-size: 12px;
  opacity: .6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.invite-copy,
.invite-revoke {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line, rgba(255, 255, 255, .18));
  color: inherit;
  transition: .18s;
}
.invite-copy:hover { border-color: var(--accent, #9be15d); color: var(--accent, #9be15d); }
.invite-revoke:hover { border-color: #ff6b6b; color: #ff6b6b; }

@media (max-width: 720px) {
  .invite-item { flex-wrap: wrap; gap: 8px; }
  .invite-meta { flex-basis: 100%; order: 3; }
}

/* ============================================================
   全站页脚（ICP 备案号 + 版权）
   备案要求：首页底部中间位置展示备案号并链接 beian.miit.gov.cn
   ============================================================ */
.site-foot {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 24px 32px;
  border-top: 1px solid var(--line);
  /* 三段等分：中间列恒定在页面正中（备案要求） */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--txt-faint);
}
.site-foot-brand { justify-self: start; opacity: .8; }
.site-foot-icp { justify-self: center; }
.site-foot-year { justify-self: end; opacity: .5; }
.site-foot-icp {
  color: var(--txt-faint);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color .18s, border-color .18s;
}
.site-foot-icp:hover { color: var(--txt); border-bottom-color: currentColor; }

@media (max-width: 720px) {
  .site-foot {
    grid-template-columns: 1fr;
    justify-items: center;
    font-size: 11px;
    gap: 6px;
    padding: 20px 16px 26px;
  }
  .site-foot-brand, .site-foot-icp, .site-foot-year { justify-self: center; }
}
