/* ============ EA量化策略宝库 全局样式（深色量化风） ============ */
:root {
  --bg: #0b0f1a;
  --bg2: #101627;
  --card: #151d33;
  --card-hover: #1a2440;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8ecf5;
  --muted: #8b94ab;
  --gold: #f5c451;
  --gold2: #e8a825;
  --blue: #4f8bff;
  --green: #35c98e;
  --red: #f0546a;
  --grad: linear-gradient(135deg, #f5c451, #e88625);
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(1180px, 92%); margin: 0 auto; }
main { flex: 1; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: 0.5px; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #17120a; font-size: 17px; font-weight: 900;
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: 15px;
  transition: 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-user { display: flex; align-items: center; gap: 12px; }
.btn {
  border: none; border-radius: 9px; padding: 9px 20px; font-size: 14px; font-weight: 600;
  transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-gold { background: var(--grad); color: #17120a; }
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 13px 34px; font-size: 16px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.vip-badge {
  font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px;
  background: var(--grad); color: #17120a;
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 60px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(79, 139, 255, 0.12), transparent),
    radial-gradient(600px 300px at 80% 10%, rgba(245, 196, 81, 0.10), transparent);
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; line-height: 1.25; }
.hero h1 .em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--muted); font-size: 16px; max-width: 640px; margin: 18px auto 30px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-top: 54px;
}
.stat {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 12px;
}
.stat .num { font-size: 28px; font-weight: 900; color: var(--gold); }
.stat .lbl { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ---------- 区块 ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.section-head h2 { font-size: 26px; font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.section-head .more { color: var(--gold); font-size: 14px; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: 0.25s; display: flex; flex-direction: column; gap: 10px; position: relative;
}
.card:hover { background: var(--card-hover); transform: translateY(-3px); border-color: rgba(245, 196, 81, 0.35); }
.card .title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.tag {
  font-size: 11.5px; padding: 2px 9px; border-radius: 20px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.07); color: var(--muted); border: 1px solid var(--line);
}
.tag.mt { color: var(--blue); border-color: rgba(79, 139, 255, 0.4); background: rgba(79, 139, 255, 0.1); }
.tag.risk-low { color: var(--green); border-color: rgba(53, 201, 142, 0.4); background: rgba(53, 201, 142, 0.1); }
.tag.risk-mid { color: var(--gold); border-color: rgba(245, 196, 81, 0.4); background: rgba(245, 196, 81, 0.1); }
.tag.risk-high { color: var(--red); border-color: rgba(240, 84, 106, 0.4); background: rgba(240, 84, 106, 0.1); }
.card .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.card .star { color: var(--gold); font-weight: 700; }
.card .desc {
  color: var(--muted); font-size: 13px; line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); }
.price-vip { color: var(--gold); font-weight: 800; font-size: 15px; }
.price-origin { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-left: 6px; }

/* ---------- VIP ---------- */
.vip-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.benefit .ico { width: 56px; height: 56px; color: var(--gold); margin-bottom: 14px; }
.benefit .ico svg { width: 100%; height: 100%; display: block; }
.benefit h4 { font-size: 16px; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 34px; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; text-align: center; position: relative; transition: 0.25s;
}
.plan:hover { transform: translateY(-4px); }
.plan.rec { border-color: var(--gold); box-shadow: 0 0 40px rgba(245, 196, 81, 0.12); }
.plan .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #17120a; font-size: 12px; font-weight: 800;
  padding: 4px 16px; border-radius: 20px;
}
.plan h3 { font-size: 18px; }
.plan .price { margin: 18px 0 4px; }
.plan .price .cur { font-size: 15px; color: var(--gold); }
.plan .price .val { font-size: 40px; font-weight: 900; color: var(--gold); }
.plan .origin { color: var(--muted); text-decoration: line-through; font-size: 14px; min-height: 20px; }
.plan ul { list-style: none; text-align: left; margin: 20px 0 24px; }
.plan li { color: var(--muted); font-size: 13.5px; padding: 6px 0; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* 滚动购买条 */
.ticker-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); margin: 26px 0; }
.ticker { display: flex; gap: 34px; padding: 11px 0; white-space: nowrap; animation: scroll 40s linear infinite; width: max-content; }
.ticker span { color: var(--muted); font-size: 13px; }
.ticker b { color: var(--gold); font-weight: 600; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 列表页 ---------- */
.page-head { padding: 44px 0 10px; }
.page-head h1 { font-size: 30px; font-weight: 900; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; align-items: center; }
.filters .chip {
  padding: 7px 16px; border-radius: 20px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 13.5px; transition: 0.2s;
}
.filters .chip:hover { color: var(--text); }
.filters .chip.on { background: var(--grad); color: #17120a; border-color: transparent; font-weight: 700; }
.search-box {
  margin-left: auto; display: flex; gap: 8px;
}
.search-box input {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); padding: 9px 14px; font-size: 14px; width: 220px; outline: none;
}
.search-box input:focus { border-color: var(--gold); }
.pager { display: flex; gap: 8px; justify-content: center; margin: 36px 0; }
.pager button {
  min-width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line);
  background: transparent; color: var(--muted);
}
.pager button.on { background: var(--grad); color: #17120a; border: none; font-weight: 800; }

/* ---------- 资源帖子页 ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 22px 0 6px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--line); }

.post { display: grid; grid-template-columns: 1fr 320px; gap: 26px; padding: 14px 0 50px; align-items: start; }
@media (max-width: 920px) { .post { grid-template-columns: 1fr; } }
.post-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 28px; overflow: hidden; }
.post-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 920px) { .post-side { position: static; } }

.post-cover { position: relative; height: 190px; background: linear-gradient(135deg, #1a2236, #0f1626 60%, #1a2a3a); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cover-emoji { font-size: 74px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); z-index: 2; }
.cover-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 196, 81, .22), transparent 70%); top: -120px; right: -60px; }
.cover-foot { position: absolute; left: 22px; bottom: 16px; display: flex; gap: 8px; align-items: center; z-index: 2; }
.cover-type { font-size: 12.5px; color: var(--muted); background: rgba(0, 0, 0, .35); padding: 4px 10px; border-radius: 20px; }

.post-head { padding: 22px 30px 0; }
.post-head h1 { font-size: 25px; line-height: 1.35; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.post-meta .pm { display: flex; align-items: center; gap: 5px; }

.post-author { display: flex; align-items: center; gap: 14px; margin: 18px 30px 0; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #e0851f); color: #1a1206; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pa-info { flex: 1; }
.pa-name { font-weight: 700; font-size: 15px; }
.pa-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.post-section-title { margin: 30px 30px 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.post-body { padding: 14px 30px 0; color: #c6cddc; line-height: 1.95; font-size: 14.5px; }
.post-body h1, .post-body h2, .post-body h3 { color: var(--text); margin: 18px 0 10px; line-height: 1.4; }
.post-body h1 { font-size: 21px; } .post-body h2 { font-size: 18px; } .post-body h3 { font-size: 15.5px; }
.post-body p { margin: 10px 0; }
.post-body ul, .post-body ol { margin: 10px 0; padding-left: 22px; }
.post-body li { margin: 6px 0; }
.post-body code { background: var(--bg2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13px; color: var(--gold); }
.post-body blockquote { margin: 14px 0; padding: 10px 16px; border-left: 3px solid var(--gold); background: var(--bg2); border-radius: 0 8px 8px 0; color: var(--muted); }
.post-body hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.md-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.md-table th, .md-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.md-table th { background: var(--bg2); color: var(--text); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 30px 0; }
@media (max-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot { aspect-ratio: 16 / 10; border-radius: 12px; background: linear-gradient(135deg, #1b2740, #0f1626); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }

.dl-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 30px 0; padding: 18px 20px; background: linear-gradient(135deg, rgba(245, 196, 81, .1), rgba(245, 196, 81, .03)); border: 1px solid rgba(245, 196, 81, .35); border-radius: 14px; flex-wrap: wrap; }
.dl-name { font-weight: 700; font-size: 15px; }
.dl-tag { font-size: 13px; color: var(--muted); margin-top: 4px; }
.dl-tag b { color: var(--gold); }

.comments { padding: 30px 30px 0; }
.cm-title { font-size: 17px; margin-bottom: 6px; }
.cm-count { color: var(--gold); }
.cm-list { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 22px; }
.cm { display: flex; gap: 12px; }
.cm-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.cm-main { flex: 1; }
.cm-top { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.cm-user { font-weight: 600; }
.cm-badge { font-size: 11px; background: var(--gold); color: #1a1206; padding: 1px 7px; border-radius: 10px; font-weight: 700; }
.cm-time { color: var(--muted); font-size: 12px; }
.cm-text { color: #c6cddc; font-size: 14px; line-height: 1.8; margin-top: 4px; white-space: pre-wrap; }
.cm-form { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.cm-form textarea { width: 100%; min-height: 74px; resize: vertical; background: var(--card); border: 1px solid var(--line); border-radius: 9px; color: var(--text); padding: 11px; font-size: 14px; outline: none; font-family: inherit; }
.cm-form textarea:focus { border-color: var(--gold); }
.cm-form-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; flex-wrap: wrap; }
.cm-rule { font-size: 12px; color: var(--muted); }

.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sc-head { font-size: 14px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sc-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13.5px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.sc-row:last-of-type { border-bottom: none; }
.sc-row b { color: var(--text); }
.vip-promo { background: linear-gradient(135deg, rgba(245, 196, 81, .12), rgba(245, 196, 81, .03)); border-color: rgba(245, 196, 81, .3); }
.vp-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.vp-text { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.rel-list { display: flex; flex-direction: column; gap: 6px; }
.rel-mini { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; transition: .15s; }
.rel-mini:hover { background: var(--bg2); }
.rm-emoji { width: 34px; height: 34px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.rm-body { display: flex; flex-direction: column; overflow: hidden; }
.rm-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-meta { font-size: 12px; color: var(--muted); }

.related { padding: 30px 0 60px; }
.related .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .related .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .related .cards { grid-template-columns: 1fr; } }

/* ---------- 登录 ---------- */
.auth-wrap { display: flex; align-items: center; justify-content: center; padding: 70px 0; }
.auth-card { width: min(420px, 92%); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 38px 34px; }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); padding: 11px 14px; font-size: 14px; outline: none; font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.auth-switch a { color: var(--gold); }
.form-err { color: var(--red); font-size: 13px; min-height: 20px; margin-bottom: 8px; }

/* ---------- 用户中心 ---------- */
.user-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 40px 0 60px; align-items: start; }
@media (max-width: 800px) { .user-grid { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); }
.status-pill { font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.st-paid { background: rgba(53, 201, 142, 0.15); color: var(--green); }
.st-pending { background: rgba(245, 196, 81, 0.15); color: var(--gold); }
.st-cancelled, .st-refunded, .st-banned { background: rgba(240, 84, 106, 0.15); color: var(--red); }
.st-active { background: rgba(53, 201, 142, 0.15); color: var(--green); }
.switches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.switch-row { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.switch-row .ico { font-size: 18px; }
.switch-row .lab { font-weight: 600; }
.switch-row .hint { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.hint { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
@media (max-width: 640px) { .switches { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0; margin-top: 40px; }
footer .inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
footer .links { display: flex; gap: 18px; }
footer a:hover { color: var(--gold); }
.risk-note { margin-top: 14px; color: #5b647a; font-size: 12px; line-height: 1.7; }

/* ---------- Toast / 弹窗 ---------- */
.toast {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--gold); color: var(--text);
  border-radius: 10px; padding: 12px 24px; font-size: 14px; z-index: 999;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); opacity: 0; transition: 0.3s; pointer-events: none;
}
.toast.show { opacity: 1; }
.modal-mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 200;
  display: none; align-items: center; justify-content: center;
}
.modal-mask.show { display: flex; }
.modal {
  width: min(430px, 92%); background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px;
}
.modal h3 { margin-bottom: 16px; }
.pay-banner {
  margin: 18px auto 0; max-width: 820px; text-align: center;
  background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold); padding: 10px 16px; border-radius: 10px; font-size: 13px; line-height: 1.6;
}
.pay-qr {
  width: 170px; height: 170px; margin: 16px auto; border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center; color: #333; font-size: 12px; text-align: center;
  line-height: 1.6;
}
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 4px; }
.pay-method {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; cursor: pointer; color: var(--text); font-size: 15px;
  transition: border-color .15s, background .15s;
}
.pay-method:hover { border-color: var(--gold); background: rgba(245,196,81,0.08); }
.pay-method .pm-ico { font-size: 22px; }
.pay-method .pm-label { flex: 1; text-align: left; font-weight: 600; }
.pay-method .pm-arrow { color: var(--muted); font-size: 20px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }

/* ============ 社区交流区 ============ */
.community-layout { display: grid; grid-template-columns: 230px 1fr 280px; gap: 22px; padding: 28px 0 60px; align-items: start; }
@media (max-width: 1040px) { .community-layout { grid-template-columns: 1fr; } .community-left, .community-right { order: 2; } }
.community-sidebar-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.community-sidebar-title { font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; font-weight: 600; }
.community-category-list { display: flex; flex-direction: column; gap: 4px; }
.community-category-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; cursor: pointer; font-size: 14px; color: var(--text); transition: .15s; }
.community-category-item:hover { background: rgba(245,196,81,0.08); }
.community-category-item.active { background: rgba(245,196,81,0.14); color: var(--gold); font-weight: 600; }
.community-category-dot { font-size: 16px; }
.community-category-item .cc-name { flex: 1; }
.community-category-item .cc-count { font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.05); padding: 1px 8px; border-radius: 20px; }
.community-stats-row { display: flex; justify-content: space-between; }
.community-stat-item { text-align: center; flex: 1; }
.community-stat-num { font-size: 20px; font-weight: 700; color: var(--gold); }
.community-stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.community-notice { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.community-hot { display: flex; flex-direction: column; gap: 10px; }
.community-hot-item { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text); padding: 6px 4px; border-radius: 8px; transition: .15s; }
.community-hot-item:hover { background: rgba(245,196,81,0.08); color: var(--gold); }
.community-hot-item .ch-likes { color: var(--muted); font-size: 12px; flex-shrink: 0; }
.community-hot-item .ch-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.community-main-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.community-main-title { font-size: 22px; }
.community-sort-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.community-sort-tabs { display: flex; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.community-sort-tab { font-size: 13px; padding: 6px 14px; border-radius: 8px; cursor: pointer; color: var(--muted); }
.community-sort-tab.active { background: var(--gold); color: #1a1206; font-weight: 600; }
.community-search { flex: 1; min-width: 160px; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; color: var(--text); font-size: 13px; outline: none; }
.community-search:focus { border-color: var(--gold); }

.community-topic-list { display: flex; flex-direction: column; gap: 10px; }
.community-topic-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: .15s; }
.community-topic-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.ct-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #e08a2b); color: #1a1206; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-avatar.lg { width: 50px; height: 50px; font-size: 18px; }
.ct-body { flex: 1; min-width: 0; }
.ct-title-row { display: flex; align-items: center; gap: 8px; }
.ct-pin { font-size: 11px; background: var(--red); color: #fff; padding: 1px 7px; border-radius: 5px; flex-shrink: 0; }
.ct-lock { font-size: 11px; background: rgba(255,255,255,0.1); color: var(--muted); padding: 1px 7px; border-radius: 5px; flex-shrink: 0; }
.ct-title { font-size: 16px; font-weight: 600; color: var(--text); }
.ct-excerpt { font-size: 13px; color: var(--muted); margin: 6px 0 10px; line-height: 1.6; }
.ct-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.ct-meta .ct-author { color: var(--gold); }
.ct-meta .ct-board { background: rgba(245,196,81,0.1); color: var(--gold); padding: 1px 8px; border-radius: 20px; }

.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 22px; }
.pager .pg { background: var(--card); border: 1px solid var(--line); color: var(--text); padding: 7px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.pager .pg:disabled { opacity: .4; cursor: not-allowed; }
.pager .pg-info { font-size: 13px; color: var(--muted); }

/* 主题详情页 */
.cth-wrap { max-width: 980px; margin: 0 auto; padding-bottom: 60px; }
.cth-wrap .cth-card { margin-top: 16px; }
.cth-related { margin-top: 28px; }
.cth-related-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.cth-related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cth-related-item { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color .15s, transform .15s; }
.cth-related-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.cth-related-name { font-size: 13.5px; font-weight: 600; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cth-related-meta { font-size: 12px; color: var(--muted); }
@media (max-width: 800px) { .cth-related-list { grid-template-columns: 1fr; } }
.cth-breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.cth-breadcrumb a { color: var(--muted); }
.cth-breadcrumb a:hover { color: var(--gold); }
.cth-layout { padding-top: 16px; }
.cth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cth-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cth-title { font-size: 23px; }
.cth-author { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.cth-author-name { font-weight: 600; font-size: 15px; }
.cth-author-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.role-admin { font-size: 11px; background: var(--red); color: #fff; padding: 1px 6px; border-radius: 5px; margin-left: 4px; }
.cth-like { margin-left: auto; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--muted); padding: 7px 16px; border-radius: 20px; cursor: pointer; font-size: 13px; transition: .15s; }
.cth-like:hover, .cth-like.on { color: var(--gold); border-color: var(--gold); background: rgba(245,196,81,0.1); }
.cth-like.sm { margin-left: 0; padding: 4px 12px; font-size: 12px; }
.cth-content { font-size: 14.5px; line-height: 1.85; color: #d6dcea; }
.cth-content h1, .cth-content h2, .cth-content h3 { color: var(--text); margin: 18px 0 10px; }
.cth-content p { margin: 10px 0; }
.cth-content blockquote { border-left: 3px solid var(--gold); padding-left: 14px; color: var(--muted); margin: 12px 0; }
.cth-replies-head { font-size: 15px; font-weight: 600; margin: 26px 0 12px; }
.cth-replies { display: flex; flex-direction: column; gap: 12px; }
.cth-reply { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cth-reply-body { flex: 1; min-width: 0; }
.cth-reply-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cth-reply-name { font-weight: 600; font-size: 14px; }
.cth-reply-time { font-size: 12px; color: var(--muted); }
.cth-reply-content { font-size: 14px; line-height: 1.7; color: #d6dcea; white-space: pre-wrap; }
.cth-reply-foot { margin-top: 8px; }
.cth-reply-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.cth-reply-box textarea { width: 100%; min-height: 90px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: var(--text); font-size: 14px; outline: none; resize: vertical; font-family: inherit; }
.cth-reply-box textarea:focus { border-color: var(--gold); }
.cth-reply-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 12px; }
.cth-tip { font-size: 12px; color: var(--muted); }
.cth-login-hint { text-align: center; color: var(--muted); padding: 18px; font-size: 14px; }
.cth-login-hint a { color: var(--gold); }
.cth-info-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.cth-info-row:last-child { border-bottom: none; }
.cth-info-row span { color: var(--muted); }

/* 发布新话题 */
.cn-wrap { max-width: 820px; margin: 0 auto; padding: 30px 0 60px; }
.cn-title { font-size: 24px; }
.cn-back { display: inline-block; margin: 8px 0 18px; color: var(--muted); font-size: 13px; }
.cn-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cn-label { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 8px; }
.cn-label:first-child { margin-top: 0; }
.cn-input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 14px; outline: none; font-family: inherit; }
.cn-input:focus { border-color: var(--gold); }
.cn-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .cn-editor { grid-template-columns: 1fr; } }
.cn-textarea { min-height: 280px; resize: vertical; line-height: 1.7; }
.cn-preview { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 13.5px; line-height: 1.7; color: #d6dcea; overflow: auto; max-height: 420px; }
.cn-preview-tip { color: var(--muted); }
.cn-preview h1, .cn-preview h2, .cn-preview h3 { color: var(--text); margin: 12px 0 6px; }
.cn-preview p { margin: 8px 0; }
.cn-preview blockquote { border-left: 3px solid var(--gold); padding-left: 12px; color: var(--muted); margin: 10px 0; }
.cn-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 20px; }

/* ============ 社区模块增强 ============ */
.community-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 40px 0 8px; flex-wrap: wrap; }
.community-hero-title { font-size: 28px; font-weight: 900; }
.community-hero-sub { color: var(--muted); margin-top: 6px; font-size: 14px; }

/* 头像 */
.ct-avatar { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #3a3320, #221c10); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.ct-avatar.lg { width: 50px; height: 50px; font-size: 20px; }

/* 主题卡片 */
.community-topic-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: .15s; }
.community-topic-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.ct-body { flex: 1; min-width: 0; }
.ct-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-title { font-size: 16px; font-weight: 600; color: var(--text); }
.ct-pin { background: var(--gold); color: #1a1206; font-size: 11px; padding: 1px 7px; border-radius: 6px; font-weight: 700; }
.ct-hot { background: rgba(255, 90, 90, .15); color: #ff7a7a; font-size: 11px; padding: 1px 7px; border-radius: 6px; font-weight: 700; }
.ct-excerpt { color: var(--muted); font-size: 13px; margin: 7px 0 10px; line-height: 1.6; }
.ct-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.ct-meta .ct-board { background: rgba(245, 196, 81, .1); color: var(--gold); padding: 1px 8px; border-radius: 6px; }
.ct-meta .ct-author { color: var(--text); }

/* 详情页：隐藏内容 */
.cth-lock { margin: 18px 0; background: repeating-linear-gradient(45deg, #1c1810, #1c1810 10px, #211b12 10px, #211b12 20px); border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.cth-lock-ic { font-size: 30px; }
.cth-lock-title { font-weight: 700; margin-top: 8px; color: var(--text); }
.cth-lock-sub { color: var(--muted); margin-top: 6px; font-size: 13px; }
.cth-lock-sub a { color: var(--gold); }
.cth-hidden { margin: 18px 0; border: 1px solid rgba(245, 196, 81, .3); background: rgba(245, 196, 81, .05); border-radius: var(--radius); padding: 16px 18px; }
.cth-hidden-head { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.cth-hidden-body { font-size: 14px; line-height: 1.8; color: #d6dcea; }

/* 回复工具栏 & emoji */
.cth-reply-tools { display: flex; gap: 8px; margin-bottom: 10px; }
.cth-tool { background: var(--bg); border: 1px solid var(--line); color: var(--muted); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: .15s; }
.cth-tool:hover { color: var(--gold); border-color: var(--gold); }
.emoji-panel.cth-emoji { margin-bottom: 10px; position: relative; }

/* markdown 图片 */
.md-img { max-width: 100%; border-radius: 10px; margin: 10px 0; border: 1px solid var(--line); display: block; }

/* 发布页工具栏 */
.cn-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.cn-tool { background: var(--bg); border: 1px solid var(--line); color: var(--muted); padding: 7px 14px; border-radius: 9px; cursor: pointer; font-size: 13px; transition: .15s; }
.cn-tool:hover, .cn-tool.on { color: var(--gold); border-color: var(--gold); background: rgba(245, 196, 81, .08); }

/* 表情面板 */
.emoji-panel { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 12px; max-width: 420px; }
.emoji-item { text-align: center; font-size: 20px; padding: 4px; border-radius: 6px; cursor: pointer; }
.emoji-item:hover { background: rgba(245, 196, 81, .12); }
.cn-emoji-box[hidden] { display: none; }

/* 图片缩略图 */
.cn-imgs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cn-img { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.cn-img img { width: 100%; height: 100%; object-fit: cover; }
.cn-img-x { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border: none; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.cn-img-x:hover { background: #e5484d; }

/* 附件 */
.cn-attachs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cn-attach { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: 13px; }
.cn-attach-ic { font-size: 16px; }
.cn-attach-name { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn-attach-size { color: var(--muted); font-size: 12px; }
.cn-attach-x { border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; }
.cn-attach-x:hover { color: #e5484d; }

/* 隐藏内容区 */
.cn-hide-box { margin-top: 16px; background: rgba(245, 196, 81, .04); border: 1px solid rgba(245, 196, 81, .25); border-radius: 12px; padding: 16px; }
.cn-hide-note { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.cn-hide-box[hidden] { display: none; }

/* 后台统计卡片 */
.comm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 26px; }
.comm-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.comm-stat-n { font-size: 24px; font-weight: 800; color: var(--gold); }
.comm-stat-l { font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) { .comm-stats { grid-template-columns: repeat(2, 1fr); } }

/* 后台模态 */
.amodal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.amodal { width: 440px; max-width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.amodal h3 { margin-bottom: 16px; font-size: 18px; }
.am-label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.am-input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; color: var(--text); font-size: 14px; outline: none; font-family: inherit; }
.am-input:focus { border-color: var(--gold); }
.am-input[type=number] { width: 120px; }
.am-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.st-lock { color: var(--gold); cursor: help; }

/* 详情页回复框微调 */
.cth-reply-box textarea { width: 100%; min-height: 90px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: var(--text); font-size: 14px; outline: none; resize: vertical; font-family: inherit; }
.cth-reply-box textarea:focus { border-color: var(--gold); }

/* ===================== 导航用户下拉 ===================== */
.nav-udrop { position: relative; }
.nav-uname { display: flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 5px; color: var(--text); cursor: pointer; font-size: 14px; transition: border-color .15s; }
.nav-uname:hover { border-color: var(--gold); }
.nav-uavatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; color: #17120a; }
.nav-ucaret { font-size: 10px; color: var(--muted); transition: transform .15s; }
.nav-udrop.open .nav-ucaret { transform: rotate(180deg); }
.nav-umenu { position: absolute; right: 0; top: calc(100% + 10px); width: 220px; background: var(--panel, #161311); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s; z-index: 200; }
.nav-udrop.open .nav-umenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-umenu-head { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.nav-umenu-name { font-weight: 800; font-size: 14px; }
.nav-umenu-mail { font-size: 12px; color: var(--muted); margin-top: 2px; word-break: break-all; }
.nav-umenu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 13.5px; text-decoration: none; }
.nav-umenu a:hover { background: rgba(255,255,255,.06); color: var(--gold); }
.nav-umenu a.danger:hover { color: #ff7a6b; }
.nav-umenu .mi { width: 18px; text-align: center; }
.nav-umenu-div { height: 1px; background: var(--line); margin: 6px 4px; }
.nav-umenu-tag { margin-left: auto; font-size: 11px; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 1px 7px; }

/* ===================== 用户中心 / 创作者中心 ===================== */
.uc-wrap, .cr-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 22px; padding: 30px 0 50px; align-items: start; }
.uc-side { position: sticky; top: 84px; }
.uc-profile { background: var(--card, #14110f); border: 1px solid var(--line); border-radius: 16px; padding: 24px 16px 18px; text-align: center; margin-bottom: 14px; }
.uc-avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--grad); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; color: #17120a; }
.uc-uname { font-weight: 800; font-size: 16px; }
.uc-umail { font-size: 12px; color: var(--muted); margin-top: 3px; word-break: break-all; }
.uc-menu { background: var(--card, #14110f); border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.uc-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; color: var(--text); font-size: 14px; cursor: pointer; text-decoration: none; }
.uc-menu a:hover { background: rgba(255,255,255,.05); }
.uc-menu a.on { background: rgba(212,175,55,.12); color: var(--gold); font-weight: 700; }
.uc-menu .mi { width: 20px; text-align: center; }
.uc-menu-link { border-top: 1px solid var(--line); margin-top: 6px; color: var(--muted) !important; }
.uc-main { min-width: 0; }
.uc-panel { background: var(--card, #14110f); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.uc-title { font-size: 20px; margin: 0 0 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.uc-sub { font-size: 13px; color: var(--muted); font-weight: 400; }
.uc-sub-title { font-size: 16px; margin: 26px 0 12px; }
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.uc-stat { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; text-align: center; }
.uc-stat .v { font-size: 19px; font-weight: 900; }
.uc-stat .l { font-size: 12px; color: var(--muted); margin-top: 5px; }
.uc-stat.gold { border-color: rgba(212,175,55,.5); background: rgba(212,175,55,.07); }
.uc-stat.gold .v { color: var(--gold); }
.uc-secure { margin-top: 6px; }
.uc-secure-head { font-weight: 800; margin-bottom: 12px; }
.uc-secure-items { display: grid; gap: 10px; }
.uc-si { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.uc-si b { margin-left: auto; font-size: 13px; }
.uc-si b.ok { color: #52c47b; }
.uc-si b.warn { color: #e0a13c; }
.uc-si a { color: var(--gold); font-size: 13px; margin-left: 10px; }
.uc-set-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; background: var(--bg); }
.uc-set-card.danger { border-color: rgba(255,110,90,.35); }
.uc-set-head { display: flex; gap: 12px; align-items: flex-start; }
.uc-set-head .ic { font-size: 22px; margin-top: 1px; }
.uc-set-head b { font-size: 15px; }
.uc-set-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.uc-set-body { margin-top: 14px; padding-left: 34px; max-width: 420px; }
.uc-code-row { display: flex; gap: 10px; margin-bottom: 12px; }
.uc-code-row input { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); outline: none; }
.uc-code-row input:focus { border-color: var(--gold); }
.uc-ok-tag { color: #52c47b; font-weight: 700; }
.uc-warn-tag { color: #e0a13c; font-weight: 700; }

/* ---- 创作者落地页 ---- */
.cr-hero { text-align: center; padding: 60px 0 30px; }
.cr-hero-badge { display: inline-block; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 5px 16px; font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }
.cr-hero h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.25; margin: 0 0 16px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 15px; line-height: 1.8; }
.cr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0 22px; }
.cr-step { background: var(--card, #14110f); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; }
.cr-step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #17120a; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cr-step b { font-size: 15px; }
.cr-step p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.cr-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.cr-benefit { text-align: center; border: 1px solid rgba(212,175,55,.4); background: rgba(212,175,55,.06); border-radius: 14px; padding: 22px; }
.cr-benefit .v { font-size: 30px; font-weight: 900; color: var(--gold); }
.cr-benefit .l { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cr-apply-wrap { max-width: 520px; margin: 0 auto 60px; text-align: center; }
.cr-apply-form { background: var(--card, #14110f); border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-align: left; }
.cr-apply-form .btn { width: 100%; margin-top: 6px; }
.cr-apply-note { background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.4); border-radius: 12px; padding: 16px 18px; font-size: 14px; }
.cr-apply-note.warn { border-color: rgba(255,150,90,.45); background: rgba(255,150,90,.07); margin-bottom: 14px; }
.cr-up-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cr-file-row { display: flex; align-items: center; gap: 12px; }
.cr-file-name { font-size: 13px; color: var(--muted); }
.cr-share-note { background: rgba(212,175,55,.07); border: 1px dashed rgba(212,175,55,.45); border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.cr-share-note b { color: var(--gold); }
.cr-reject { font-size: 12px; color: #ff8a76; margin-top: 4px; }
.cr-badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: #c0392b; color: #fff; font-size: 11px; text-align: center; }

@media (max-width: 900px) {
  .uc-wrap, .cr-wrap { grid-template-columns: 1fr; }
  .uc-side { position: static; }
  .uc-stats { grid-template-columns: repeat(2, 1fr); }
  .cr-steps { grid-template-columns: repeat(2, 1fr); }
  .cr-benefits { grid-template-columns: 1fr; }
  .cr-up-grid { grid-template-columns: 1fr; }
  .uc-set-body { padding-left: 0; }
}

/* ===== 导航搜索 ===== */
.nav-search { position: relative; margin-left: auto; width: 230px; }
.nav-search input { width: 100%; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: inherit; font-size: 13px; outline: none; transition: border .15s; }
.nav-search input:focus { border-color: rgba(245,196,81,.55); }
.nav-search input::placeholder { color: var(--muted); }
.nav-search-drop { position: absolute; top: calc(100% + 8px); left: 0; width: 320px; max-height: 420px; overflow: auto; background: var(--card, #151d33); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s; z-index: 210; }
.nav-search-drop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.ns-group { font-size: 12px; color: var(--muted); padding: 8px 10px 4px; }
.ns-item { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; }
.ns-item:hover { background: rgba(245,196,81,.1); }
.ns-name { display: block; font-size: 13px; font-weight: 600; }
.ns-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ===== 通知铃铛 ===== */
.nav-bell { position: relative; }
.nav-bell-btn { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; font-size: 15px; line-height: 1; }
.nav-bell-btn:hover { border-color: rgba(245,196,81,.55); }
.nav-bell-badge { position: absolute; top: -5px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #c0392b; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav-ndrop { position: absolute; right: -60px; top: calc(100% + 12px); width: 340px; background: var(--card, #151d33); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s; z-index: 220; }
.nav-ndrop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-ndrop-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.nav-ndrop-head a { font-size: 12px; color: var(--gold); text-decoration: none; font-weight: 400; }
.nav-nlist { max-height: 400px; overflow: auto; padding: 6px; }
.nav-nitem { display: flex; gap: 10px; padding: 10px; border-radius: 10px; text-decoration: none; color: inherit; position: relative; }
.nav-nitem:hover { background: rgba(245,196,81,.08); }
.nav-nitem.unread { background: rgba(245,196,81,.05); }
.ni-icon { font-size: 18px; flex: none; }
.ni-body { min-width: 0; }
.ni-title { display: block; font-size: 13px; font-weight: 700; }
.ni-text { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.ni-time { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; opacity: .8; }
.ni-dot { position: absolute; right: 10px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: #c0392b; }
.nav-nempty { padding: 26px 10px; text-align: center; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .nav-search { display: none; }
  .nav-ndrop { right: -10px; width: min(320px, 92vw); }
}
