/* ============================================================
   圆梦引擎 Dreamart Engine · 本轮 Web 版（app.dreamart.video 原型）
   设计系统：平移自静态站 assets/app.css 的令牌 + 模块组件扩展
   仅用于可点击原型演示；生产栈见 docs/实施蓝图-本轮开发.md（Next.js 15）
   ============================================================ */

:root {
  --bg:        #08080B;
  --bg-soft:   #0D0D11;
  --surface:   #121217;
  --surface-2: #191920;
  --surface-3: #22222C;
  --border:    #26262F;
  --border-hi: #34343F;

  --text:      #ECECEF;
  --text-2:    #A9A9B6;
  --muted:     #6E6E7C;

  --brand:     #3B82F6;
  --brand-2:   #8B5CF6;
  --brand-dim: rgba(59, 130, 246, 0.14);
  --accent:    #2DD4A7;
  --accent-dim:rgba(45, 212, 167, 0.13);
  --warn:      #F5A524;
  --warn-dim:  rgba(245, 165, 36, 0.13);
  --danger:    #F0466E;
  --danger-dim:rgba(240, 70, 110, 0.13);
  --cyan:      #38BDF8;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.34);
  --shadow-lg: 0 24px 70px -18px rgba(0,0,0,.72);

  --nav-h: 62px;
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

::selection { background: rgba(59,130,246,.36); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2A2A34; border-radius: 20px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3A3A46; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1560px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.18; }
h1 { font-size: 42px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }
h4 { font-size: 15px; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }

.mono { font-family: "JetBrains Mono","SF Mono",ui-monospace,Menlo,Consolas,monospace; font-variant-numeric: tabular-nums; }
.t2 { color: var(--text-2); }
.tm { color: var(--muted); }
.grad {
  background: linear-gradient(96deg, #93C5FD 0%, var(--brand) 42%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: rgba(8,8,11,.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-in {
  height: 100%; max-width: 1560px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 26px;
}
.logo { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; overflow: hidden; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.18; }
.logo-text > span:first-child {
  font-size: 15px; letter-spacing: -0.01em;
  background: linear-gradient(96deg, #93C5FD 0%, var(--brand) 42%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-en { font-size: 10.5px; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 3px; margin-left: 6px; }
.nav-links a { padding: 7px 13px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--text-2); transition: .16s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.on { color: var(--text); background: var(--surface-3); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* identity switcher (一账号多身份) */
.id-sw { position: relative; }
.id-sw-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 13px;
  cursor: pointer; font-family: inherit; transition: .16s;
}
.id-sw-btn:hover { border-color: var(--border-hi); }
.id-sw-btn .avatar { width: 24px; height: 24px; font-size: 10px; }
.id-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 248px; z-index: 80;
  background: var(--surface); border: 1px solid var(--border-hi); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 8px; display: none;
}
.id-menu.open { display: block; }
.id-menu .lbl { font-size: 11px; color: var(--muted); padding: 6px 10px 4px; text-transform: uppercase; letter-spacing: .08em; }
.id-opt { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; cursor: pointer; transition:.14s; }
.id-opt:hover { background: var(--surface-2); }
.id-opt.on { background: var(--brand-dim); }
.id-opt .meta b { display: block; font-size: 13.5px; font-weight: 600; }
.id-opt .meta span { font-size: 11.5px; color: var(--muted); }
.id-sep { height: 1px; background: var(--border); margin: 6px 4px; }

.proto-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  background: rgba(245,165,36,.14); border: 1px solid rgba(245,165,36,.4); color: #F6C56B;
  font-size: 11.5px; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 7px; pointer-events: none;
}
.proto-badge .dot { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-dim); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 17px; border-radius: 9px; font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--border-hi); background: var(--surface-2); color: var(--text);
  cursor: pointer; transition: .16s; white-space: nowrap; font-family: inherit;
}
.btn:hover { background: var(--surface-3); border-color: #43434F; }
.btn-primary { background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%); border-color: transparent; color: #fff; box-shadow: 0 4px 18px -3px rgba(59,130,246,.5); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 11px; }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: 7px; }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn-danger { border-color: rgba(240,70,110,.4); color: #F98BA5; background: var(--danger-dim); }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.card-hover { transition: .2s; }
.card-hover:hover { border-color: var(--border-hi); transform: translateY(-2px); box-shadow: var(--shadow); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.panel-head { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.panel-body { padding: 20px; }

/* ---------- chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3.5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
.chip-brand  { background: var(--brand-dim);  border-color: rgba(59,130,246,.32); color: #A5C8FF; }
.chip-accent { background: var(--accent-dim); border-color: rgba(45,212,167,.3);  color: #6EE7C4; }
.chip-warn   { background: var(--warn-dim);   border-color: rgba(245,165,36,.3);  color: #F6C56B; }
.chip-danger { background: var(--danger-dim); border-color: rgba(240,70,110,.3); color: #F98BA5; }
.chip-violet { background: rgba(139,92,246,.14); border-color: rgba(139,92,246,.32); color: #C4B5FD; }

.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--muted); }
.dot-live { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* status badge */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.badge-ok  { background: var(--accent-dim); color: #6EE7C4; }
.badge-warn{ background: var(--warn-dim);   color: #F6C56B; }
.badge-danger{ background: var(--danger-dim); color: #F98BA5; }
.badge-info { background: var(--brand-dim); color: #A5C8FF; }
.badge-mut  { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }

/* ---------- forms ---------- */
.input, .select, .textarea {
  width: 100%; padding: 9px 12px; font-size: 13.5px; font-family: inherit;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 9px; color: var(--text); outline: none; transition: .16s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-dim); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.textarea { resize: vertical; min-height: 84px; line-height: 1.65; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E6E7C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 32px;
}
.label { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-2); margin-bottom: 7px; }
.field { margin-bottom: 17px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); cursor: pointer; transition:.14s; }
.check:hover { border-color: var(--border-hi); }
.check input { margin-top: 3px; accent-color: var(--brand); width: 15px; height: 15px; }
.check.on { border-color: rgba(45,212,167,.45); background: var(--accent-dim); }
.check small { color: var(--muted); font-size: 12px; }

/* ---------- tabs / segmented ---------- */
.tabs { display: inline-flex; gap: 3px; padding: 3px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; }
.tab { padding: 7px 15px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: .16s; border: none; background: transparent; font-family: inherit; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.3); }

/* ---------- table ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.2px; }
.tbl th { text-align: left; padding: 10px 14px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid rgba(38,38,47,.6); vertical-align: middle; }
.tbl tbody tr:hover { background: rgba(255,255,255,.018); }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl .r { text-align: right; }

/* ---------- layout helpers ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wrapflex { display: flex; flex-wrap: wrap; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.page { max-width: 1280px; margin: 0 auto; padding: 30px 28px 90px; }
.page-wide { max-width: 1560px; margin: 0 auto; padding: 30px 28px 90px; }

.stat-v { font-size: 27px; font-weight: 600; letter-spacing: -.03em; }
.stat-l { font-size: 12px; color: var(--muted); }
.kpi { padding: 16px 18px; }
.bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; }

.note { border-left: 2px solid var(--warn); background: var(--warn-dim); padding: 12px 15px; border-radius: 0 10px 10px 0; font-size: 13px; color: #EBD3A3; }
.note-danger { border-left-color: var(--danger); background: var(--danger-dim); color: #F7B7C6; }
.note-ok { border-left-color: var(--accent); background: var(--accent-dim); color: #A5E9D3; }
.note-info { border-left-color: var(--brand); background: var(--brand-dim); color: #B9D3FF; }

.icon { width: 16px; height: 16px; stroke-width: 1.9; flex: none; }
.icon-sm { width: 13px; height: 13px; stroke-width: 2; flex: none; }
.icon-lg { width: 20px; height: 20px; stroke-width: 1.8; flex: none; }

.thumb { aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; position: relative; background: linear-gradient(150deg, #1E1B33, #2A1B3D 50%, #16161F); border: 1px solid var(--border); flex: none; }
.thumb::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,.28), transparent 62%); }
.avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-2)); }

/* ---------- modal & toast ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(4,4,7,.66); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.overlay.open { display: flex; }
.modal { width: 100%; max-width: 540px; max-height: 88vh; overflow: auto; background: var(--surface); border: 1px solid var(--border-hi); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.modal.wide { max-width: 720px; }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-size: 17px; }
.modal-body { padding: 22px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }
.x-btn { background: transparent; border: none; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 7px; display: grid; place-items: center; }
.x-btn:hover { color: var(--text); background: var(--surface-2); }

#toast-wrap { position: fixed; top: 76px; right: 18px; z-index: 120; display: flex; flex-direction: column; gap: 10px; }
.toast { min-width: 240px; max-width: 360px; padding: 12px 15px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border-hi); box-shadow: var(--shadow-lg); font-size: 13px; display: flex; gap: 10px; align-items: flex-start; animation: slideIn .22s ease; }
.toast .ic { flex: none; margin-top: 1px; }
.toast.ok { border-color: rgba(45,212,167,.4); } .toast.ok .ic { color: var(--accent); }
.toast.warn { border-color: rgba(245,165,36,.4); } .toast.warn .ic { color: var(--warn); }
.toast.err { border-color: rgba(240,70,110,.4); } .toast.err .ic { color: var(--danger); }
@keyframes slideIn { from { opacity:0; transform: translateX(14px);} to {opacity:1; transform:none;} }

/* ---------- stepper / wizard ---------- */
.steps { display: flex; gap: 0; align-items: center; }
.steps .s { display: flex; align-items: center; gap: 10px; }
.steps .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--muted); border: 1px solid var(--border); flex: none; }
.steps .s.on .num { background: linear-gradient(140deg,var(--brand),var(--brand-2)); color: #fff; border-color: transparent; }
.steps .s.done .num { background: var(--accent-dim); color: #6EE7C4; border-color: rgba(45,212,167,.35); }
.steps .s .t { font-size: 12.5px; color: var(--muted); }
.steps .s.on .t, .steps .s.done .t { color: var(--text); }
.steps .ln { width: 42px; height: 1px; background: var(--border); margin: 0 10px; }

/* ---------- timeline ---------- */
.tl { position: relative; padding-left: 22px; }
.tl::before { content:''; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.tl .it { position: relative; padding: 0 0 18px; }
.tl .it::before { content:''; position: absolute; left: -19px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); border: 2px solid var(--border-hi); }
.tl .it.ok::before { background: var(--accent); border-color: var(--accent); }
.tl .it.warn::before { background: var(--warn); border-color: var(--warn); }
.tl .it .h { font-size: 13.5px; font-weight: 600; }
.tl .it .d { font-size: 12.5px; color: var(--muted); }

/* ---------- talent card / shelf ---------- */
.tal-card { padding: 0; overflow: hidden; cursor: pointer; }
.tal-ph { aspect-ratio: 1; position: relative; }
.tal-ph .live { position: absolute; top: 12px; left: 12px; }
/* 真人/数字艺人肖像：铺满方形封面，向上偏移保证面部不被裁 */
.tal-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; display: block; }
.tal-ph .tier { position: absolute; left: 12px; bottom: 12px; }
.tal-b { padding: 15px 16px 17px; }
.tal-b h4 { font-size: 15.5px; margin-bottom: 3px; }
.tal-b .sub { font-size: 12px; color: var(--muted); margin-bottom: 11px; }
.tal-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.price { font-size: 15px; font-weight: 600; }
.price small { font-size: 11px; color: var(--muted); font-weight: 500; }

/* filter bar */
.fbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fbar .input, .fbar .select { width: auto; min-width: 150px; }

/* empty state */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { margin-bottom: 14px; opacity: .5; }

/* hero (portal) */
.hero { position: relative; padding: 70px 0 54px; overflow: hidden; }
.hero .glow { width: 560px; height: 560px; background: rgba(139,92,246,.18); top: -260px; right: 6%; }
.hero-in { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { margin: 16px 0 18px; font-size: 46px; }
.hero p { color: var(--text-2); font-size: 17px; line-height: 1.75; max-width: 640px; }
.mod-card { padding: 0; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.mod-card .top { padding: 24px 22px 18px; flex: 1; }
.mod-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.mod-card h3 { font-size: 19px; margin-bottom: 8px; }
.mod-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.mod-card .ft { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-2); }

.flash-ok { border-color: rgba(45,212,167,.45) !important; box-shadow: 0 0 0 3px var(--accent-dim); }

footer.ft { border-top: 1px solid var(--border); padding: 44px 0 38px; margin-top: 70px; }
.ft-bottom { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; }
.ft-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ft-bottom span { color: var(--muted); font-size: 12.5px; }

@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2,1fr);} .g3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  h1 { font-size: 32px; } h2 { font-size: 23px; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .wrap, .wrap-wide, .nav-in, .page, .page-wide { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 34px; }
}

/* ---------- 登录态：消息通知铃铛 + 下拉 ---------- */
.bell { position: relative; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); cursor: pointer; transition: .16s; }
.bell:hover { color: var(--text); border-color: var(--border-hi); }
.bell .unread { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.notif-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 348px; z-index: 85; background: var(--surface); border: 1px solid var(--border-hi); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; display: none; max-height: 72vh; overflow: auto; }
.notif-menu.open { display: block; }
.notif-menu .lbl { font-size: 11px; color: var(--muted); padding: 6px 10px 8px; text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; }
.notif-item { display: flex; gap: 11px; padding: 11px 10px; border-radius: 9px; transition: .14s; }
.notif-item:hover { background: var(--surface-2); }
.notif-item .nic { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--brand-dim); color: #A5C8FF; }
.notif-item .nt { font-size: 13px; font-weight: 600; }
.notif-item .ns { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.notif-item .ns a { color: var(--brand); }
.notif-empty { padding: 26px 14px; text-align: center; color: var(--muted); font-size: 13px; }
.id-menu .id-opt.danger { color: #F98BA5; }

/* ---------- 登录页 ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; position: relative; overflow: hidden; }
.login-wrap .glow { width: 520px; height: 520px; background: rgba(139,92,246,.16); top: -260px; }
.login-card { width: 100%; max-width: 440px; position: relative; z-index: 1; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.role-pick .rp { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); cursor: pointer; transition: .16s; text-align: center; }
.role-pick .rp:hover { border-color: var(--border-hi); }
.role-pick .rp.on { border-color: var(--brand); background: var(--brand-dim); box-shadow: 0 0 0 3px var(--brand-dim); }
.role-pick .rp .ric { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin: 0 auto 10px; }
.role-pick .rp b { font-size: 14px; }
.role-pick .rp span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.code-row { display: flex; gap: 10px; }
.code-row .input { flex: 1; }
.code-row .btn { flex: none; white-space: nowrap; }
.divider-txt { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 18px 0; }
.divider-txt::before, .divider-txt::after { content: ""; height: 1px; background: var(--border); flex: 1; }
