/* ============================================================
   星枢AI 个人中心 wode.css（深色玻璃风，自包含）
   ============================================================ */
:root {
  --wd-bg: #0f0f12;
  --wd-panel: rgba(255, 255, 255, 0.035);
  --wd-panel-border: rgba(255, 255, 255, 0.08);
  --wd-text: #e8edf2;
  --wd-text-dim: #9aa4b2;
  --wd-text-faint: #6b7585;
  --wd-cyan: #22d3ee;
  --wd-violet: #8b5cf6;
  --wd-radius: 14px;
}

.page-body { background: var(--wd-bg); color: var(--wd-text); min-height: 100vh; }
.page-body .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }

.wd-wrap { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 22px; padding: 96px 28px 56px; max-width: 1280px; margin: 0 auto; align-items: start; }

/* ---------- 侧边栏 ---------- */
.wd-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.wd-usercard { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--wd-panel-border); background: var(--wd-panel); border-radius: var(--wd-radius); position: relative; }
.wd-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #04121a; background: linear-gradient(135deg, var(--wd-cyan), #60a5fa); }
.wd-uinfo { min-width: 0; display: flex; flex-direction: column; }
.wd-uinfo strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-uinfo span { font-size: 12px; color: var(--wd-text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-badge { position: absolute; top: 12px; right: 12px; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; color: var(--wd-cyan); border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .08); }

.wd-nav { display: flex; flex-direction: column; gap: 3px; padding: 8px; border: 1px solid var(--wd-panel-border); background: var(--wd-panel); border-radius: var(--wd-radius); }
.wd-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--wd-text-dim); font-size: 14px; cursor: pointer; transition: .18s; user-select: none; }
.wd-nav a span { width: 18px; text-align: center; color: var(--wd-text-faint); font-size: 13px; }
.wd-nav a:hover { color: var(--wd-text); background: rgba(255, 255, 255, .04); }
.wd-nav a.active { color: var(--wd-cyan); background: rgba(34, 211, 238, .1); }
.wd-nav a.active span { color: var(--wd-cyan); }
.wd-gowork { text-align: center; padding: 11px; border-radius: 10px; font-size: 13.5px; color: #04121a; font-weight: 600; background: linear-gradient(135deg, var(--wd-cyan), #38bdf8); }

/* ---------- 主区 ---------- */
.wd-main { min-width: 0; }
.wd-pane { display: none; animation: wdFade .25s ease; }
.wd-pane.active { display: block; }
@keyframes wdFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wd-h2 { font-size: 21px; margin: 2px 0 16px; font-weight: 700; }

.wd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.wd-stat { padding: 16px; border: 1px solid var(--wd-panel-border); background: var(--wd-panel); border-radius: var(--wd-radius); display: flex; flex-direction: column; gap: 6px; position: relative; }
.wd-stat span { font-size: 12.5px; color: var(--wd-text-dim); }
.wd-stat strong { font-size: 26px; font-weight: 750; color: #fff; line-height: 1.1; }
.wd-stat em { font-style: normal; font-size: 12px; color: var(--wd-text-faint); }
.wd-stat .wd-mini { position: absolute; right: 12px; bottom: 12px; }

.wd-panel { border: 1px solid var(--wd-panel-border); background: var(--wd-panel); border-radius: var(--wd-radius); padding: 16px 18px; margin-bottom: 16px; }
.wd-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }
.wd-panel-head h3 { font-size: 15px; font-weight: 650; margin: 0; }
.wd-tip { font-size: 12.5px; color: var(--wd-text-faint); margin: 0 0 10px; line-height: 1.7; }

.wd-balancebar { padding: 13px 18px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; color: var(--wd-text-dim); border: 1px solid rgba(34, 211, 238, .2); background: linear-gradient(120deg, rgba(34, 211, 238, .08), rgba(139, 92, 246, .05)); }
.wd-balancebar strong { color: var(--wd-cyan); font-size: 17px; margin: 0 2px; }

/* ---------- 表格 ---------- */
.wd-table { width: 100%; font-size: 13px; }
.wd-row { display: grid; align-items: center; gap: 10px; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.wd-row.head { color: var(--wd-text-faint); font-size: 12px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.wd-row:last-child { border-bottom: none; }
.wd-cell { min-width: 0; }
.wd-cell.muted { color: var(--wd-text-dim); }
.wd-cell.num { font-variant-numeric: tabular-nums; }
.wd-pos { color: #34d399; }
.wd-neg { color: #fb7185; }
.wd-tag { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: var(--wd-text-dim); }
.wd-tag.ok { color: #34d399; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.wd-tag.wait { color: #fbbf24; border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.wd-tag.bad { color: #fb7185; border-color: rgba(251,113,133,.35); background: rgba(251,113,133,.08); }
.wd-empty { padding: 34px 0; text-align: center; color: var(--wd-text-faint); font-size: 13px; }

/* ---------- 充值档 ---------- */
.wd-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.wd-plan { position: relative; text-align: left; padding: 16px; border-radius: 12px; border: 1px solid var(--wd-panel-border); background: rgba(255,255,255,.02); cursor: pointer; transition: .18s; color: var(--wd-text); }
.wd-plan:hover { border-color: rgba(34,211,238,.5); transform: translateY(-2px); }
.wd-plan.hot { border-color: var(--wd-panel-border); background: rgba(255,255,255,.02); }
.wd-plan.selected { border-color: rgba(34,211,238,.85); background: linear-gradient(180deg,rgba(34,211,238,.16),rgba(34,211,238,.05)); box-shadow: 0 0 0 1px rgba(34,211,238,.4),0 0 18px rgba(34,211,238,.25); transform: translateY(-2px); }
.wd-plan .pname { font-size: 14.5px; font-weight: 650; }
.wd-plan .pprice { font-size: 24px; font-weight: 750; color: var(--wd-cyan); margin: 6px 0 2px; }
.wd-plan .pprice small { font-size: 12px; color: var(--wd-text-faint); font-weight: 400; }
.wd-plan .pquota { font-size: 12.5px; color: var(--wd-text-dim); }
.wd-plan .pbonus { font-size: 12px; color: #fbbf24; margin-top: 3px; }
.wd-plan .ptag { position: absolute; top: 10px; right: 10px; font-size: 10.5px; padding: 2px 7px; border-radius: 6px; color: #04121a; background: var(--wd-cyan); font-weight: 600; }

.wd-redeem { display: flex; gap: 10px; }
.wd-redeem input { flex: 1; }

/* ---------- 表单 ---------- */
.wd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wd-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--wd-text-dim); }
.wd-form label.wd-full { grid-column: 1 / -1; }
.wd-form input, .wd-form select, .wd-form textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--wd-text);
  background: rgba(0,0,0,.25); border: 1px solid var(--wd-panel-border); outline: none; font-family: inherit;
}
.wd-form textarea { resize: vertical; }
.wd-form input:focus, .wd-form select:focus, .wd-form textarea:focus { border-color: rgba(34,211,238,.5); }
.wd-form button { grid-column: 1 / -1; justify-self: start; }
.wd-redeem input, .wd-invite-link input { padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--wd-text); background: rgba(0,0,0,.25); border: 1px solid var(--wd-panel-border); outline: none; }

.wd-mini { font-size: 12px; padding: 4px 10px; border-radius: 7px; cursor: pointer; color: var(--wd-cyan); border: 1px solid rgba(34,211,238,.35); background: rgba(34,211,238,.08); }
.wd-mini:hover { background: rgba(34,211,238,.16); }
.wd-keycell { display: flex; align-items: center; gap: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }

/* ---------- 邀请 ---------- */
.wd-invitebox { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; padding: 18px; border-radius: var(--wd-radius); border: 1px solid rgba(34,211,238,.22); background: linear-gradient(120deg, rgba(34,211,238,.09), rgba(139,92,246,.06)); margin-bottom: 16px; }
.wd-invite-main p { margin: 0 0 14px; font-size: 13.5px; color: var(--wd-text-dim); line-height: 1.8; }
.wd-invite-main strong { color: var(--wd-cyan); }
.wd-invite-link { display: flex; gap: 9px; margin-bottom: 10px; }
.wd-invite-link input { flex: 1; }
.wd-invite-code { font-size: 13px; color: var(--wd-text-dim); }
.wd-invite-code strong { color: #fff; font-size: 15px; letter-spacing: 1px; }
.wd-invite-stats { display: flex; flex-direction: column; gap: 12px; justify-content: center; border-left: 1px solid rgba(255,255,255,.08); padding-left: 18px; }
.wd-invite-stats div { display: flex; justify-content: space-between; font-size: 13px; color: var(--wd-text-dim); }
.wd-invite-stats strong { color: #fff; font-size: 17px; }

/* ---------- 支付弹窗 ---------- */
.wd-paycard { width: 420px; max-width: 92vw; }
.wd-payinfo { background: rgba(0,0,0,.25); border-radius: 10px; padding: 13px; font-size: 13.5px; line-height: 1.9; margin: 12px 0; }
.wd-paymethods { display: flex; gap: 18px; margin-bottom: 10px; }
.wd-paymethods label { display: flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; }
#payConfirm { width: 100%; margin-top: 6px; }

/* ---------- 新增：我的作品/历史/收藏 ---------- */
.wd-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.wd-work-empty { grid-column: 1/-1; text-align: center; padding: 40px; color: var(--wd-text-dim); font-size: 14px; }
.wd-work-card { background: rgba(255,255,255,.04); border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform .2s; }
.wd-work-card:hover { transform: translateY(-2px); }
.wd-work-thumb { height: 120px; background: linear-gradient(135deg, #1e293b, #334155); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.wd-work-info { padding: 10px; }
.wd-work-info strong { display: block; font-size: 13px; color: #fff; margin-bottom: 4px; }
.wd-work-info span { font-size: 11px; color: var(--wd-text-dim); }

/* ---------- 新增：会员等级 ---------- */
.wd-vip-card { background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(217,119,6,.05)); border: 1px solid rgba(251,191,36,.3); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.wd-vip-current { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.wd-vip-badge { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #fbbf24, #d97706); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.wd-vip-current strong { font-size: 18px; color: #fbbf24; display: block; margin-bottom: 4px; }
.wd-vip-current p { margin: 0; font-size: 13px; color: var(--wd-text-dim); }
.wd-vip-progress { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.wd-vip-fill { height: 100%; background: linear-gradient(90deg, #fbbf24, #f59e0b); border-radius: 4px; }
.wd-priv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.wd-priv-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd5e1; padding: 8px 12px; background: rgba(255,255,255,.03); border-radius: 8px; }
.wd-priv-item span { color: #22d3ee; font-weight: bold; }

/* ---------- 新增：消息通知 ---------- */
.wd-msg-list { display: flex; flex-direction: column; gap: 12px; }
.wd-msg-item { display: flex; gap: 12px; padding: 14px; background: rgba(255,255,255,.03); border-radius: 10px; }
.wd-msg-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; margin-top: 6px; flex-shrink: 0; }
.wd-msg-dot.read { background: #475569; }
.wd-msg-content strong { display: block; font-size: 14px; color: #fff; margin-bottom: 4px; }
.wd-msg-content p { margin: 0 0 6px; font-size: 13px; color: #94a3b8; line-height: 1.5; }
.wd-msg-content span { font-size: 11px; color: #64748b; }

/* ---------- 新增：帮助中心 ---------- */
.wd-faq-list { display: flex; flex-direction: column; gap: 16px; }
.wd-faq-item { padding: 14px; background: rgba(255,255,255,.03); border-radius: 10px; }
.wd-faq-item strong { display: block; font-size: 14px; color: #22d3ee; margin-bottom: 8px; }
.wd-faq-item p { margin: 0; font-size: 13px; color: #94a3b8; line-height: 1.7; }

/* ---------- 新增：退出登录 ---------- */
.wd-logout { color: #ef4444 !important; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.06); padding-top: 12px !important; }
.wd-logout:hover { background: rgba(239,68,68,.1) !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .wd-wrap { grid-template-columns: 1fr; }
  .wd-side { position: static; }
  .wd-nav { flex-direction: row; flex-wrap: wrap; }
  .wd-nav a { flex: 1 1 auto; }
  .wd-stats { grid-template-columns: repeat(2, 1fr); }
  .wd-plans { grid-template-columns: 1fr; }
  .wd-form { grid-template-columns: 1fr; }
  .wd-invitebox { grid-template-columns: 1fr; }
  .wd-invite-stats { border-left: none; padding-left: 0; }
}

/* ================= 任务12：参考式个人中心两栏布局 ================= */
.uc-body { background: #0a0d14; color: #e6e9f0; }
.uc-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px;
  max-width: 1520px; margin: 0 auto; padding: 86px 28px 60px;
}
/* 顶栏 */
.uc-topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.uc-back {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #22d3ee; font-size: 22px; line-height: 1; text-decoration: none;
  border: 1px solid rgba(34,211,238,.25);
}
.uc-back:hover { background: rgba(34,211,238,.14); }
.uc-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.uc-works-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.uc-wtabs { display: inline-flex; background: rgba(255,255,255,.05); border-radius: 9px; padding: 3px; gap: 2px; }
.uc-wtabs button {
  border: 0; background: transparent; color: #aab2c5; padding: 6px 14px; border-radius: 7px;
  cursor: pointer; font-size: 13px; transition: .16s;
}
.uc-wtabs button.active { background: linear-gradient(135deg,#1fb6c4,#1794a8); color: #fff; }
.uc-ghost {
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #c8cedd;
  padding: 7px 12px; border-radius: 9px; font-size: 13px; cursor: pointer;
}
.uc-ghost:hover { border-color: rgba(34,211,238,.4); color: #22d3ee; }
.uc-warn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(90deg, rgba(245,185,66,.16), rgba(245,185,66,.06));
  border: 1px solid rgba(245,185,66,.35); color: #f0c873; font-size: 13px;
  padding: 9px 14px; border-radius: 10px; margin-bottom: 16px;
}
.uc-warn strong { color: #ffd98a; }
.uc-warn i { font-style: normal; cursor: pointer; opacity: .7; font-size: 15px; }
.uc-stage .wd-pane { animation: ucFade .22s ease both; }
@keyframes ucFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 右栏卡片 */
.uc-right { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; align-self: start; width: 100%; min-width: 0; }
.uc-card { width: 100%; box-sizing: border-box;
  background: linear-gradient(180deg, rgba(22,25,34,.92), rgba(16,19,27,.92));
  border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 16px;
}
.uc-card-h { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.uc-id { font-size: 12px; color: #8b93a7; font-weight: 400; display: inline-flex; align-items: center; gap: 5px; }
.uc-id b { color: #c8cedd; font-weight: 500; }
.uc-copyid { cursor: pointer; color: #22d3ee; font-style: normal; }
.uc-me { display: flex; align-items: center; gap: 12px; }
.uc-avatar {
  width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(34,211,238,.5);
  background: linear-gradient(135deg,#22d3ee,#6366f1); color: #fff; font-size: 24px; font-weight: 700;
  cursor: pointer; padding: 0; background-size: cover; background-position: center; position: relative; flex-shrink: 0;
  transition: .18s;
}
.uc-avatar:hover { box-shadow: 0 0 0 4px rgba(34,211,238,.18); transform: scale(1.04); }
.uc-avatar::after {
  content: "换"; position: absolute; right: -2px; bottom: -2px; font-size: 10px; font-style: normal;
  background: #1794a8; color: #fff; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid #0d1018; opacity: 0; transition: .18s;
}
.uc-avatar:hover::after { opacity: 1; }
.uc-me-main { min-width: 0; }
.uc-nick-row { display: flex; align-items: center; gap: 7px; }
.uc-nick-row strong { font-size: 16px; }
.uc-edit-nick { color: #8b93a7; font-style: normal; font-size: 12px; cursor: pointer; }
.uc-edit-nick:hover { color: #22d3ee; }
.uc-leveltag {
  display: inline-block; margin-top: 5px; font-size: 12px; padding: 2px 10px; border-radius: 999px;
  border: 1px solid #f5b942; color: #f5b942; background: rgba(245,185,66,.08);
}
.uc-balance { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; color: #aab2c5; }
.uc-balance-v { color: #22d3ee; font-weight: 700; }
.uc-acct-toggle {
  width: 100%; margin-top: 12px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.25); color: #22d3ee;
  padding: 10px 13px; border-radius: 11px; cursor: pointer; font-size: 13.5px;
}
.uc-acct-toggle.is-open { background: rgba(34,211,238,.18); }
.uc-acct-toggle em { font-style: normal; font-size: 12px; opacity: .85; }
.uc-acct { margin-top: 12px; animation: ucFade .2s ease both; }
.uc-storage {
  border: 1px solid rgba(255,255,255,.1); border-radius: 13px; padding: 14px; margin-bottom: 12px;
  background: rgba(255,255,255,.03);
}
.uc-storage-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.uc-tag-gray { font-size: 12px; color: #aab2c5; border: 1px solid rgba(255,255,255,.18); padding: 2px 10px; border-radius: 999px; }
.uc-storage-desc { font-size: 12.5px; color: #9aa2b5; line-height: 1.6; margin: 0 0 10px; }
.uc-line { display: flex; justify-content: space-between; font-size: 13px; color: #aab2c5; padding: 4px 0; }
.uc-autopay { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #9aa2b5; margin: 8px 0; cursor: pointer; }
.uc-switch { width: 34px; height: 19px; border-radius: 999px; background: #3a3f4d; position: relative; transition: .18s; flex-shrink: 0; }
.uc-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #c8cedd; transition: .18s; }
.uc-autopay.on .uc-switch { background: #1794a8; }
.uc-autopay.on .uc-switch::after { left: 17px; background: #fff; }
.uc-open-storage {
  width: 100%; margin-top: 8px; padding: 10px; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(135deg,#1fb6c4,#157e90); color: #fff; font-weight: 700;
}
.uc-acct-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.06); }
.uc-acct-row .uc-k { color: #8b93a7; font-size: 13px; width: 64px; flex-shrink: 0; }
.uc-acct-row .uc-v { flex: 1; font-size: 14px; }
.uc-line-btn {
  border: 1px solid rgba(34,211,238,.4); background: transparent; color: #22d3ee; border-radius: 9px;
  padding: 5px 14px; font-size: 13px; cursor: pointer;
}
.uc-line-btn:hover { background: rgba(34,211,238,.12); }
.uc-delete { margin-top: 6px; margin-left: auto; display: block; background: none; border: 0; color: #8b93a7; text-decoration: underline; font-size: 12.5px; cursor: pointer; }
.uc-delete:hover { color: #ef5f6b; }

/* 其他功能网格 */
.uc-func-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uc-func-grid button {
  display: flex; align-items: center; gap: 9px; text-align: left; cursor: pointer;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 10px;
  transition: .16s;
}
.uc-func-grid button:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); border-color: color-mix(in srgb, var(--fc) 55%, transparent); }
.uc-func-grid i {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; font-style: normal; font-size: 15px;
  display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 18%, transparent);
  color: var(--fc);
}
.uc-func-grid span { display: flex; flex-direction: column; min-width: 0; }
.uc-func-grid b { font-size: 13px; font-weight: 600; }
.uc-func-grid small { font-size: 10.5px; color: #8b93a7; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-logout {
  width: 100%; margin-top: 14px; padding: 11px; border-radius: 11px; cursor: pointer;
  background: rgba(239,95,107,.1); border: 1px solid rgba(239,95,107,.35); color: #ef5f6b; font-weight: 600;
}
.uc-logout:hover { background: rgba(239,95,107,.2); }
.uc-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 16px); z-index: 100000;
  background: rgba(20,22,30,.96); border: 1px solid rgba(34,211,238,.35); color: #eaf6ff;
  padding: 10px 20px; border-radius: 10px; font-size: 13.5px; opacity: 0; transition: .22s; max-width: 80vw;
}
.uc-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1100px) {
  .uc-layout, body.uc-body .uc-layout { grid-template-columns: minmax(0,1fr) !important; padding-left: 16px; padding-right: 16px; }
  .uc-right { position: static; width: 100%; max-width: 100%; margin: 0 auto; }
  .uc-card { width: 100%; max-width: 100%; box-sizing: border-box; }
}
/* “其他功能”卡片：高度严格贴合内容、紧凑不臃肿，宽度填满右栏，杜绝底部多余空白/被拉伸溢出 */
.uc-func-card { display: flex; flex-direction: column; height: auto; flex: 0 0 auto; align-self: stretch; }
.uc-func-grid { width: 100%; align-content: start; }
.uc-func-grid button { min-height: 0; padding: 9px 10px; box-sizing: border-box; }
.uc-func-grid i { width: 30px; height: 30px; }
.uc-func-card .uc-logout { align-self: stretch; margin-top: 12px; }

/* ============================================================
   个人中心 1:1 对齐参考站（c2）——2026-09-07
   无站内顶栏 / 宽右栏 / ID青色胶囊 / 功能钮彩色左边框+圆形彩图标 / 空状态居中
   ============================================================ */
/* 1. 个人中心页隐藏全局站内顶栏，内容上移，与参考站一致 */
body.uc-body .site-header { display: none !important; }
body.uc-body .uc-layout { padding-top: 26px; grid-template-columns: minmax(0, 1fr) 438px; gap: 24px; }

/* 2. 右栏卡片：参考站略亮于页面的深灰面板 */
.uc-card {
  background: #16181d;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; padding: 18px;
}

/* 3. ID 青色胶囊 + 复制图标（参考站右上 ID: xxx [⧉]） */
.uc-id {
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.28);
  color: #67e8f9 !important;
  padding: 3px 9px 3px 10px; border-radius: 999px; font-size: 12px; gap: 6px;
}
.uc-id b { color: #67e8f9 !important; font-weight: 600; }
.uc-copyid { cursor: pointer; opacity: .8; font-style: normal; font-size: 11px; transition: .15s; }
.uc-copyid:hover { opacity: 1; }

/* 4. 头像与昵称区 */
.uc-avatar { width: 56px; height: 56px; }
.uc-nick-row strong { font-size: 17px; font-weight: 700; }
/* 会员标签：参考站为中性灰色“普通用户”小胶囊 */
.uc-leveltag {
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
  color: #aab2c5 !important; padding: 2px 11px; font-size: 12px; border-radius: 999px;
}

/* 5. 其他功能：彩色左边框 + 圆形彩色图标（参考站样式） */
.uc-func-grid { gap: 12px; }
.uc-func-grid button {
  position: relative; gap: 11px; padding: 11px 12px; min-height: 62px;
  background: #1b1e24; border: 1px solid rgba(255,255,255,.05);
  border-left: 3px solid var(--fc);            /* 彩色左边框 */
  border-radius: 11px; overflow: hidden;
}
.uc-func-grid button:hover {
  background: #22262d; transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  border-left: 3px solid var(--fc);
}
.uc-func-grid i {
  width: 40px; height: 40px; border-radius: 50%;   /* 圆形彩图标 */
  font-size: 17px;
  background: color-mix(in srgb, var(--fc) 16%, transparent) !important;
  color: var(--fc) !important;
  border: 1px solid color-mix(in srgb, var(--fc) 30%, transparent);
}
.uc-func-grid b { font-size: 13.5px; font-weight: 600; color: #e8ebf2; }
.uc-func-grid small { font-size: 11px; color: #8b93a7; }

/* 6. 空状态：去掉外框/底，居中“邮箱插画 + 暂无作品”（参考站无方框） */
.wd-work-empty, .wd-empty {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  padding: 70px 20px !important; color: #8b93a7;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.wd-work-empty::before, .wd-empty::before {
  content: "📭"; font-size: 46px; opacity: .55; filter: grayscale(.2);
}

/* 7. 退出登录按钮（参考站暗红描边） */
.uc-logout { border-radius: 10px; padding: 12px; margin-top: 16px; }

/* ===== 浅色模式对应覆盖 ===== */
html[data-theme="light"] body.uc-body .uc-card { background:#ffffff; border:1px solid #eceef4; box-shadow:0 8px 26px rgba(30,42,80,.06); }
html[data-theme="light"] .uc-func-grid button { background:#f7f8fc; border:1px solid #eceef4; border-left:3px solid var(--fc); }
html[data-theme="light"] .uc-func-grid button:hover { background:#eef2f9; }
html[data-theme="light"] .uc-func-grid b { color:#1c2233; }
html[data-theme="light"] .uc-func-grid small { color:#7a8398; }
html[data-theme="light"] .uc-nick-row strong { color:#1c2233; }
html[data-theme="light"] .uc-leveltag { background:#f1f3f8; border-color:#e3e7f0; color:#64748b !important; }
html[data-theme="light"] .wd-work-empty, html[data-theme="light"] .wd-empty { color:#94a0b6; }


/* #26 在线充值 / 消费记录 子标签 */
.wd-bsubtabs{display:flex;gap:10px;margin:4px 0 16px}
.wd-bsubtab{border:1px solid var(--wd-panel-border);background:rgba(255,255,255,.03);color:var(--wd-text-dim);border-radius:999px;padding:9px 20px;font-size:13.5px;cursor:pointer;transition:.16s;font-family:inherit}
.wd-bsubtab:hover{border-color:rgba(34,211,238,.5);color:var(--wd-cyan)}
.wd-bsubtab.on{color:#04121a;font-weight:700;border-color:transparent;background:linear-gradient(135deg,#22d3ee,#7c83ff)}
.wd-bsub[hidden]{display:none}
html[data-theme=light] .wd-bsubtab{background:#f4f7fc;color:#52607a;border-color:#dde5f0}
