:root {
  --m-bg: #070a12;
  --m-panel: #0e1421;
  --m-panel2: #121a2b;
  --m-line: #1e2a41;
  --m-text: #e6edf8;
  --m-muted: #7f8da8;
  --m-accent: #38bdf8;
  --m-blue: #4f8cff;
  --m-gold: #fbbf24;
  --m-green: #22c55e;
  --m-red: #ef4444;
  --m-radius: 16px;
  --m-font: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--m-bg); color: var(--m-text); font-family: var(--m-font); font-size: 13px; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
.hidden { display: none !important; }
.m-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.m-logo { display: inline-flex; align-items: center; gap: 10px; }
.m-logo img { width: 36px; height: 36px; border-radius: 9px; }
.m-logo b { display: block; font-size: 15px; letter-spacing: .5px; }
.m-logo em { display: block; font-style: normal; font-size: 8px; color: var(--m-muted); letter-spacing: 2px; margin-top: 2px; }
.m-logo.small img { width: 30px; height: 30px; }
.m-hint { color: var(--m-muted); font-size: 11.5px; line-height: 1.7; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 38px; padding: 0 18px; border-radius: 9px; border: 1px solid var(--m-line); background: var(--m-panel2); color: #cbd8ea; font-size: 12.5px; cursor: pointer; transition: .18s; }
.m-btn:hover { border-color: #334a6e; color: #fff; }
.m-btn.primary { background: linear-gradient(135deg, #4f8cff, #2fd3e8); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 8px 22px rgba(56, 189, 248, .2); }
.m-btn.primary:hover { filter: brightness(1.05); }
.m-btn.gold { background: linear-gradient(135deg, #f59e0b, #fbbf24); border-color: transparent; color: #1f2937; font-weight: 600; }
.m-btn.ghost { background: transparent; }
.m-btn.danger { border-color: rgba(239,68,68,.4); color: #fca5a5; }
.m-btn.sm { height: 30px; padding: 0 12px; font-size: 11px; border-radius: 7px; }
.m-btn.block { width: 100%; height: 44px; font-size: 14px; letter-spacing: 2px; }
.m-btn:disabled { opacity: .55; cursor: not-allowed; }
.m-input, .m-field input, .m-field textarea { width: 100%; border: 1px solid var(--m-line); border-radius: 9px; background: rgba(9,13,23,.6); color: var(--m-text); padding: 10px 12px; font-size: 12.5px; outline: 0; }
.m-input:focus, .m-field input:focus, .m-field textarea:focus { border-color: rgba(56,189,248,.6); box-shadow: 0 0 0 3px rgba(56,189,248,.1); }
.m-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.m-field > span { font-size: 11.5px; color: #9fb0c8; }
.m-field > span em { font-style: normal; color: var(--m-muted); font-size: 10.5px; }
.m-err { min-height: 18px; color: #fca5a5; font-size: 11.5px; margin-bottom: 6px; }

/* auth */
.m-auth { min-height: 100vh; background: radial-gradient(900px 500px at 20% 10%, rgba(56,189,248,.12), transparent 60%), #05080f; }
.m-auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.m-auth-brand { position: relative; overflow: hidden; padding: 46px 56px; display: flex; flex-direction: column; background: radial-gradient(800px 500px at 80% 20%, rgba(79,140,255,.22), transparent 65%), linear-gradient(150deg, #0a1224, #070b14 70%); border-right: 1px solid var(--m-line); }
.m-auth-brand .m-logo { position: relative; z-index: 2; }
.m-auth-copy { position: relative; z-index: 2; margin: auto 0; }
.m-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border: 1px solid rgba(56,189,248,.3); background: rgba(56,189,248,.08); color: #7dd3fc; border-radius: 999px; font-size: 10.5px; letter-spacing: 1px; }
.m-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 8px #22d3ee; }
.m-auth-copy h1 { margin: 22px 0 14px; font-size: 42px; line-height: 1.25; letter-spacing: 1px; }
.m-auth-copy h1 span { background: linear-gradient(90deg, #7dd3fc, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-auth-copy p { max-width: 430px; color: var(--m-muted); font-size: 14px; line-height: 1.9; margin: 0 0 26px; }
.m-features { display: flex; flex-direction: column; gap: 10px; }
.m-features div { display: flex; align-items: center; gap: 9px; color: #b9c8dd; font-size: 12.5px; }
.m-features span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.2); color: #7dd3fc; font-size: 12px; }
.m-auth-foot { position: relative; z-index: 2; color: #5c6a83; font-size: 10.5px; }
.m-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(56,189,248,.12); }
.m-orb.o1 { width: 520px; height: 520px; right: -160px; top: -120px; }
.m-orb.o2 { width: 340px; height: 340px; right: -60px; bottom: -80px; border-color: rgba(129,140,248,.15); }
.m-auth-panel { display: grid; place-items: center; padding: 40px 24px; }
.m-auth-card { width: min(410px, 100%); background: rgba(14,20,33,.92); border: 1px solid var(--m-line); border-radius: 18px; padding: 30px 30px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.m-auth-card h2 { margin: 22px 0 6px; font-size: 24px; }
.m-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: #0a101c; border: 1px solid var(--m-line); margin: 20px 0 18px; }
.m-auth-tabs button { height: 34px; border: 0; border-radius: 7px; background: none; color: var(--m-muted); font-size: 12.5px; cursor: pointer; }
.m-auth-tabs button.active { background: linear-gradient(135deg, rgba(79,140,255,.3), rgba(34,211,238,.2)); color: #e0f2fe; font-weight: 600; }
.m-demo { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--m-line); color: #667791; font-size: 10.5px; line-height: 2; }
.m-demo button { border: 0; background: none; color: #7dd3fc; cursor: pointer; font-size: 10.5px; padding: 0 2px; }
.m-back { display: block; margin-top: 14px; color: #667791; font-size: 11px; }
.m-back:hover { color: #bae6fd; }

/* account */
.m-topbar { height: 64px; position: sticky; top: 0; z-index: 30; background: rgba(9,13,23,.9); border-bottom: 1px solid rgba(30,42,65,.7); backdrop-filter: blur(14px); }
.m-topbar .m-container { height: 100%; display: flex; align-items: center; gap: 26px; }
.m-nav { display: flex; gap: 4px; flex: 1; }
.m-nav a { padding: 7px 13px; border-radius: 8px; color: #93a3ba; font-size: 12.5px; }
.m-nav a:hover { color: #e0f2fe; background: rgba(56,189,248,.06); }
.m-nav a.active { color: #bae6fd; background: rgba(56,189,248,.1); }
.m-account-page { padding: 26px 0 50px; min-height: calc(100vh - 130px); }
.m-account-hero { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--m-line); border-radius: 18px; background: radial-gradient(600px 200px at 20% 0%, rgba(56,189,248,.1), transparent 65%), var(--m-panel); }
.m-avatar { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #4f8cff, #22d3ee); color: #fff; font-size: 26px; font-weight: 700; overflow: hidden; flex: 0 0 auto; }
.m-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-account-id { flex: 1; min-width: 0; }
.m-account-id h1 { margin: 0; font-size: 22px; }
.m-account-id p { margin: 5px 0 0; color: var(--m-muted); font-size: 11.5px; }
.m-vip-card { min-width: 210px; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(251,191,36,.3); background: linear-gradient(135deg, rgba(251,191,36,.16), rgba(245,158,11,.06)); color: #fde68a; font-size: 12px; line-height: 1.7; }
.m-vip-card b { display: block; font-size: 14px; color: #fcd34d; }
.m-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 18px 0; padding-bottom: 4px; border-bottom: 1px solid var(--m-line); }
.m-tabs button { flex: 0 0 auto; border: 0; background: none; color: #8595ad; font-size: 12.5px; padding: 10px 14px; border-bottom: 2px solid transparent; cursor: pointer; }
.m-tabs button.active { color: #e0f2fe; border-bottom-color: #38bdf8; font-weight: 600; }
.m-panel { min-height: 220px; }
.m-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.m-stat { padding: 15px 16px; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-panel); }
.m-stat b { display: block; font-size: 23px; color: #e0f2fe; font-variant-numeric: tabular-nums; }
.m-stat span { display: block; color: var(--m-muted); font-size: 10.5px; margin-top: 4px; }
.m-two-col { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 12px; margin-top: 14px; }
.m-side { border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-panel); overflow: hidden; }
.m-side-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid rgba(30,42,65,.7); font-size: 13px; font-weight: 600; }
.m-side-head span { font-size: 8.5px; letter-spacing: 2px; color: #5c6a83; font-weight: 400; }
.m-side-head a { font-size: 10.5px; color: #7dd3fc; }
.m-benefits { padding: 10px 15px 14px; }
.m-benefit { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: #b9c8dd; font-size: 12px; }
.m-benefit::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,197,94,.14); color: #4ade80; font-size: 10px; }
.m-points { padding: 14px 15px; }
.m-points-row { display: flex; align-items: baseline; gap: 6px; }
.m-points-row b { font-size: 27px; color: #fcd34d; }
.m-points-row span { color: var(--m-muted); font-size: 10.5px; }
.m-points .m-hint { margin-top: 5px; }
.m-inline { display: flex; gap: 6px; margin-top: 10px; }
.m-inline .m-input { height: 32px; padding: 0 10px; font-size: 11px; }
.m-recent { padding: 6px 15px 12px; }
.m-recent-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(30,42,65,.7); font-size: 11.5px; }
.m-recent-item:last-child { border-bottom: 0; }
.m-recent-item span { color: var(--m-muted); font-size: 10.5px; }
.m-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.m-section-head h2 { margin: 0; font-size: 19px; }
.m-section-head p { margin: 4px 0 0; color: var(--m-muted); font-size: 11.5px; }
.m-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.m-plan { position: relative; padding: 22px 20px; border: 1px solid var(--m-line); border-radius: 14px; background: linear-gradient(160deg, rgba(79,140,255,.1), transparent 60%), var(--m-panel); }
.m-plan.hot { border-color: rgba(251,191,36,.45); background: linear-gradient(160deg, rgba(251,191,36,.12), transparent 60%), var(--m-panel); }
.m-plan .badge { position: absolute; right: 14px; top: 14px; font-size: 8.5px; letter-spacing: 1px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(56,189,248,.3); color: #7dd3fc; }
.m-plan h3 { margin: 0 0 8px; font-size: 16px; }
.m-plan .price { font-size: 30px; font-weight: 700; color: #e0f2fe; }
.m-plan .price small { font-size: 12px; color: var(--m-muted); font-weight: 400; }
.m-plan ul { margin: 12px 0 16px; padding-left: 16px; color: #9fb0c8; font-size: 11.5px; line-height: 1.9; }
.m-plan .m-btn { width: 100%; }
.m-exchange-summary { display: flex; gap: 16px; align-items: center; padding: 12px 16px; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-panel); font-size: 12px; margin-bottom: 12px; }
.m-exchange-summary b { color: #fcd34d; }
.m-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.m-chip { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--m-line); background: var(--m-panel2); color: #9fb0c8; font-size: 11px; cursor: pointer; }
.m-chip.active { border-color: rgba(56,189,248,.4); background: rgba(56,189,248,.12); color: #bae6fd; }
.m-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.m-product { border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-panel); overflow: hidden; display: flex; flex-direction: column; }
.m-product .ph { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, rgba(79,140,255,.18), rgba(34,211,238,.08)); color: #7dd3fc; font-size: 24px; }
.m-product .pb { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.m-product .pb b { font-size: 12.5px; }
.m-product .pb span { color: var(--m-muted); font-size: 10.5px; }
.m-product .pb .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 7px; }
.m-product .pb .row em { font-style: normal; color: #fcd34d; font-weight: 600; }
.m-history-grid, .m-fav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.m-hitem, .m-fitem { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-panel); }
.m-hitem .lg, .m-fitem .lg { width: 64px; height: 46px; border-radius: 8px; background: #0a101c; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--m-line); }
.m-hitem .lg img, .m-fitem .lg img { width: 100%; height: 100%; object-fit: contain; }
.m-hitem .info, .m-fitem .info { flex: 1; min-width: 0; }
.m-hitem b, .m-fitem b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-hitem span, .m-fitem span { display: block; color: var(--m-muted); font-size: 10.5px; margin-top: 3px; }
.m-hitem .ops, .m-fitem .ops { display: flex; gap: 5px; }
.m-pager { display: flex; justify-content: center; gap: 8px; margin-top: 16px; align-items: center; color: var(--m-muted); font-size: 11.5px; }
.m-table-wrap { overflow-x: auto; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-panel); }
.m-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.m-table th { text-align: left; padding: 11px 14px; color: #8595ad; font-weight: 500; font-size: 10.5px; letter-spacing: .5px; border-bottom: 1px solid var(--m-line); background: rgba(18,26,43,.5); }
.m-table td { padding: 11px 14px; border-bottom: 1px solid rgba(30,42,65,.55); color: #cbd8ea; }
.m-table tr:last-child td { border-bottom: 0; }
.m-empty { text-align: center; color: var(--m-muted); padding: 26px 12px !important; }
.m-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; border: 1px solid var(--m-line); }
.m-tag.green { color: #86efac; border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.1); }
.m-tag.gold { color: #fcd34d; border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.1); }
.m-tag.gray { color: #94a3b8; }
.m-tag.red { color: #fca5a5; border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.1); }
.m-settings-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.m-form { padding: 16px; }
.m-form .m-btn { width: 100%; }
.m-footer { border-top: 1px solid var(--m-line); padding: 20px 0 26px; color: #5c6a83; font-size: 10.5px; }
.m-footer .m-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.m-toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(10px); background: rgba(15,23,42,.96); border: 1px solid var(--m-line); color: #e2e8f0; padding: 9px 16px; border-radius: 10px; font-size: 12px; opacity: 0; pointer-events: none; transition: .2s; z-index: 80; }
.m-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .m-auth-wrap { grid-template-columns: 1fr; }
  .m-auth-brand { display: none; }
  .m-auth-panel { min-height: 100vh; }
  .m-two-col { grid-template-columns: 1fr 1fr; }
  .m-two-col > .m-side:last-child { grid-column: 1 / -1; }
  .m-plan-grid, .m-product-grid { grid-template-columns: repeat(2, 1fr); }
  .m-nav { display: none; }
  .m-account-hero { flex-wrap: wrap; }
  .m-vip-card { min-width: 0; width: 100%; }
}
@media (max-width: 640px) {
  .m-container { width: calc(100% - 24px); }
  .m-auth-card { padding: 24px 20px; }
  .m-stat-grid, .m-two-col, .m-history-grid, .m-fav-grid, .m-settings-grid, .m-plan-grid, .m-product-grid { grid-template-columns: 1fr; }
  .m-account-hero { padding: 18px; }
  .m-account-id h1 { font-size: 19px; }
  .m-tabs button { padding: 9px 10px; font-size: 11.5px; }
  .m-table th, .m-table td { padding: 9px 10px; }
}

/* ============================================================
   会员中心：后台同款浅色布局
   ============================================================ */
body.m-account {
  --m-bg: #f5f7fb;
  --m-panel: rgba(255, 255, 255, .86);
  --m-panel2: #f6f9ff;
  --m-line: #e6ecf6;
  --m-text: #1f2937;
  --m-muted: #7d8799;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(79,140,255,.12), transparent 60%),
    radial-gradient(800px 420px at 100% 0%, rgba(34,211,238,.10), transparent 60%),
    #f5f7fb;
  color: var(--m-text);
}
body.m-account::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 12% 24%, rgba(79,140,255,.10) 0 2px, transparent 3px), radial-gradient(circle at 78% 64%, rgba(34,211,238,.10) 0 2px, transparent 3px);
  background-size: 180px 180px, 240px 240px;
  opacity: .6;
}
body.m-account .m-topbar { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--m-line); backdrop-filter: blur(14px); }
body.m-account .m-topbar .m-container { position: relative; z-index: 2; }
body.m-account .m-logo b { color: #1f2937; }
body.m-account .m-logo em { color: var(--m-muted); }
body.m-account .m-nav a { color: #5b667c; }
body.m-account .m-nav a:hover { color: #2563eb; background: #eef4ff; }
body.m-account .m-nav a.active { color: #2563eb; background: #eaf2ff; }
body.m-account .m-account-page { position: relative; z-index: 1; padding: 22px 0 48px; }
body.m-account .m-account-shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 18px; align-items: start; }
body.m-account .m-sidebar {
  position: sticky; top: 86px;
  background: var(--m-panel);
  border: 1px solid var(--m-line);
  border-radius: 16px;
  padding: 16px 12px 12px;
  box-shadow: 0 14px 34px rgba(29,58,110,.08);
  backdrop-filter: blur(18px);
}
body.m-account .m-profile-mini { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--m-line); }
body.m-account .m-profile-mini .m-avatar { width: 46px; height: 46px; font-size: 18px; }
body.m-account .m-profile-text { min-width: 0; }
body.m-account .m-profile-text b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.m-account .m-profile-text span { display: block; font-size: 10px; color: var(--m-muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.m-account .m-side-nav { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; }
body.m-account .m-side-nav button {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 12px;
  border: 0; border-radius: 9px; background: none; color: #5b667c;
  font-size: 12.5px; text-align: left; cursor: pointer; transition: .18s;
}
body.m-account .m-side-nav button i { font-style: normal; width: 18px; text-align: center; color: #94a3b8; font-size: 13px; }
body.m-account .m-side-nav button:hover { background: #f1f6ff; color: #2563eb; }
body.m-account .m-side-nav button.active { background: linear-gradient(135deg, #4f8cff, #2fd3e8); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(59,130,246,.22); }
body.m-account .m-side-nav button.active i { color: #fff; }
body.m-account .m-side-foot { display: flex; flex-direction: column; gap: 7px; padding-top: 12px; border-top: 1px solid var(--m-line); }
body.m-account .m-side-link { font-size: 11px; color: #7d8799; padding: 4px 6px; }
body.m-account .m-side-link:hover { color: #2563eb; }
body.m-account .m-account-main { min-width: 0; }
body.m-account .m-account-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; margin-bottom: 14px;
  background: var(--m-panel); border: 1px solid var(--m-line); border-radius: 16px;
  box-shadow: 0 14px 34px rgba(29,58,110,.07); backdrop-filter: blur(18px);
}
body.m-account .m-account-head h1 { margin: 0; font-size: 20px; letter-spacing: .3px; }
body.m-account .m-account-head p { margin: 4px 0 0; color: var(--m-muted); font-size: 11.5px; }
body.m-account .m-vip-card { background: linear-gradient(135deg, rgba(251,191,36,.16), rgba(245,158,11,.05)); border-color: rgba(251,191,36,.35); color: #a16207; }
body.m-account .m-vip-card b { color: #b45309; }
body.m-account .m-panel { min-height: 0; }
body.m-account .m-stat-grid { gap: 12px; }
body.m-account .m-stat { background: var(--m-panel); border: 1px solid var(--m-line); box-shadow: 0 12px 28px rgba(29,58,110,.06); backdrop-filter: blur(16px); }
body.m-account .m-stat b { color: #2563eb; }
body.m-account .m-two-col { gap: 12px; }
body.m-account .m-side { background: var(--m-panel); border: 1px solid var(--m-line); box-shadow: 0 12px 28px rgba(29,58,110,.06); backdrop-filter: blur(16px); }
body.m-account .m-side-head { color: #1f2937; border-bottom-color: var(--m-line); }
body.m-account .m-side-head span { color: #94a3b8; }
body.m-account .m-benefit { color: #4b5563; }
body.m-account .m-hint { color: var(--m-muted); }
body.m-account .m-recent-item { border-bottom-color: var(--m-line); color: #374151; }
body.m-account .m-recent-item span { color: var(--m-muted); }
body.m-account .m-section-head h2 { color: #1f2937; }
body.m-account .m-plan { background: linear-gradient(160deg, rgba(79,140,255,.08), transparent 60%), var(--m-panel); border-color: var(--m-line); box-shadow: 0 12px 28px rgba(29,58,110,.06); }
body.m-account .m-plan.hot { background: linear-gradient(160deg, rgba(251,191,36,.12), transparent 60%), var(--m-panel); }
body.m-account .m-plan .price { color: #1f2937; }
body.m-account .m-plan ul { color: #5b667c; }
body.m-account .m-exchange-summary { background: var(--m-panel); border-color: var(--m-line); }
body.m-account .m-chip { background: #fff; border-color: var(--m-line); color: #5b667c; }
body.m-account .m-chip.active { background: #eaf2ff; border-color: #bcd4ff; color: #2563eb; }
body.m-account .m-product { background: var(--m-panel); border-color: var(--m-line); box-shadow: 0 10px 24px rgba(29,58,110,.05); }
body.m-account .m-product .ph { background: linear-gradient(135deg, rgba(79,140,255,.12), rgba(34,211,238,.08)); color: #4b7bec; }
body.m-account .m-hitem, body.m-account .m-fitem { background: var(--m-panel); border-color: var(--m-line); box-shadow: 0 10px 24px rgba(29,58,110,.05); }
body.m-account .m-hitem span, body.m-account .m-fitem span { color: var(--m-muted); }
body.m-account .m-table-wrap { background: var(--m-panel); border-color: var(--m-line); }
body.m-account .m-table th { background: #f7f9fd; color: #7d8799; border-bottom-color: var(--m-line); }
body.m-account .m-table td { color: #374151; border-bottom-color: #eef3fa; }
body.m-account .m-field > span { color: #5b667c; }
body.m-account .m-input, body.m-account .m-field input, body.m-account .m-field textarea { background: #fff; border-color: var(--m-line); color: #1f2937; }
body.m-account .m-btn { background: #fff; border-color: var(--m-line); color: #4b5563; }
body.m-account .m-btn:hover { border-color: #c7d9f5; color: #2563eb; }
body.m-account .m-footer { color: #94a3b8; border-top-color: var(--m-line); }
@media (max-width: 900px) {
  body.m-account .m-account-shell { grid-template-columns: 1fr; }
  body.m-account .m-sidebar { position: static; }
  body.m-account .m-side-nav { flex-direction: row; overflow-x: auto; padding: 8px 0; }
  body.m-account .m-side-nav button { flex: 0 0 auto; width: auto; white-space: nowrap; padding: 8px 12px; }
  body.m-account .m-side-foot { flex-direction: row; }
  body.m-account .m-profile-mini { padding-bottom: 10px; }
}
/* ============ 登录 / 注册 · 后台浅色 UI ============ */
.m-auth-light {
  min-height: 100vh;
  margin: 0;
  color: #1f2d45;
  background: linear-gradient(145deg, #eef5ff 0%, #f8fbff 48%, #e8f3ff 100%);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.m-auth-light-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.m-auth-light-bg i { position: absolute; display: block; border-radius: 50%; filter: blur(10px); opacity: .65; }
.m-auth-light-bg .g1 { width: 520px; height: 520px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(79,140,255,.22), transparent 68%); }
.m-auth-light-bg .g2 { width: 620px; height: 620px; right: -220px; top: 8%; background: radial-gradient(circle, rgba(47,211,232,.17), transparent 68%); }
.m-auth-light-bg .g3 { width: 460px; height: 460px; left: 32%; bottom: -240px; background: radial-gradient(circle, rgba(129,140,248,.14), transparent 70%); }
.m-auth-light-top {
  position: relative; z-index: 3; max-width: 1240px; margin: 0 auto;
  height: 78px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between;
}
.m-auth-light .m-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #17253c; }
.m-auth-light .m-logo img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 8px 18px rgba(59,116,232,.18); }
.m-auth-light .m-logo b { display: block; font-size: 17px; letter-spacing: .2px; }
.m-auth-light .m-logo em { display: block; margin-top: 2px; font-style: normal; font-size: 9px; letter-spacing: 2px; color: #94a8c2; }
.m-auth-light-home { color: #64748b; font-size: 12px; text-decoration: none; padding: 8px 14px; border-radius: 9px; border: 1px solid #dce8f8; background: rgba(255,255,255,.7); }
.m-auth-light-home:hover { color: #2f6fe4; border-color: #bcd4f5; background: #fff; }
.m-auth-light-main { position: relative; z-index: 2; min-height: calc(100vh - 78px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 20px 42px; }
.m-auth-light-card {
  width: min(438px, 100%);
  padding: 30px 32px 24px;
  border: 1px solid rgba(217, 230, 247, .95);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 28px 70px rgba(43, 84, 145, .14), 0 2px 0 rgba(255,255,255,.8) inset;
  backdrop-filter: blur(22px);
}
.m-auth-light-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #eef4fc; }
.m-auth-light-mark { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #4f8cff, #2fd3e8); box-shadow: 0 10px 24px rgba(59,140,255,.28); }
.m-auth-light-brand h1 { margin: 0; font-size: 19px; letter-spacing: .2px; color: #16243b; }
.m-auth-light-brand p { margin: 4px 0 0; color: #8da2bd; font-size: 11px; letter-spacing: .4px; }
.m-auth-light-card h2 { margin: 22px 0 6px; font-size: 24px; letter-spacing: .4px; color: #16243b; }
.m-auth-light-hint { margin: 0 0 18px; color: #8b9db6; font-size: 12px; line-height: 1.7; }
.m-auth-light .m-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 11px; background: #f1f6fd; border: 1px solid #e7eff9; margin: 0 0 18px; }
.m-auth-light .m-auth-tabs button { height: 36px; border: 0; border-radius: 8px; background: none; color: #7b8da7; font-size: 12.5px; cursor: pointer; transition: .18s; }
.m-auth-light .m-auth-tabs button:hover { color: #2f6fe4; }
.m-auth-light .m-auth-tabs button.active { background: #fff; color: #2f6fe4; font-weight: 600; box-shadow: 0 3px 10px rgba(64,110,180,.12); }
.m-auth-light .m-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.m-auth-light .m-field > span { font-size: 11.5px; color: #6f829d; font-weight: 500; }
.m-auth-light .m-field > span em { font-style: normal; color: #a9b8ca; font-weight: 400; }
.m-auth-light .m-field input {
  width: 100%; height: 43px; padding: 0 13px; border-radius: 10px;
  border: 1px solid #dce7f5; background: #fbfdff; color: #1d2b44; font-size: 13px; outline: 0; transition: .18s;
}
.m-auth-light .m-field input::placeholder { color: #b1bfd1; }
.m-auth-light .m-field input:focus { border-color: #7fb0f7; background: #fff; box-shadow: 0 0 0 4px rgba(79,140,255,.1); }
.m-auth-light .m-err { min-height: 18px; color: #e05b5b; font-size: 11.5px; margin: 0 0 6px; }
.m-auth-light .m-btn { height: 44px; border: 1px solid #dce7f5; border-radius: 10px; background: #fff; color: #4b5f7a; font-size: 12.5px; }
.m-auth-light .m-btn.primary { border-color: transparent; background: linear-gradient(135deg, #4f8cff, #2fc7e8); color: #fff; font-size: 14px; letter-spacing: 2px; font-weight: 600; box-shadow: 0 12px 26px rgba(59,140,255,.24); }
.m-auth-light .m-btn.primary:hover { filter: brightness(1.04); }
.m-auth-light .m-btn.block { width: 100%; height: 46px; }
.m-auth-light .m-demo { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e4edf8; color: #93a4ba; font-size: 10.5px; line-height: 2; }
.m-auth-light .m-demo button { border: 0; background: none; color: #2f80ed; cursor: pointer; font-size: 10.5px; padding: 0 2px; }
.m-auth-light .m-back { display: block; margin-top: 12px; color: #94a6bd; font-size: 11px; text-decoration: none; }
.m-auth-light .m-back:hover { color: #2f6fe4; }
.m-auth-light-foot { margin: 18px 0 0; color: #9aabc0; font-size: 10.5px; letter-spacing: .3px; }
.m-auth-light-foot span { color: #7d90a9; }
@media (max-width: 560px) {
  .m-auth-light-top { height: 66px; padding: 0 16px; }
  .m-auth-light .m-logo b { font-size: 15px; }
  .m-auth-light-main { padding: 8px 12px 30px; min-height: calc(100vh - 66px); }
  .m-auth-light-card { padding: 24px 20px 20px; border-radius: 18px; }
  .m-auth-light-card h2 { font-size: 21px; }
}