/* 教培直播云系统 · 深色科技风 */
:root {
  --bg: #080A11;
  --bg2: #0C1018;
  --card: #111725;
  --card2: #161E2E;
  --line: rgba(255, 255, 255, .075);
  --line2: rgba(255, 255, 255, .14);
  --txt: #E9EEF8;
  --dim: #8A94A8;
  --acc: #2FD3C0;
  --acc2: #7C6CF6;
  --ok: #34D399;
  --warn: #F5B84B;
  --bad: #F2555A;
  --r: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  padding-bottom: env(safe-area-inset-bottom);
}
body::before {
  content: "";
  position: fixed;
  top: -20%; left: 50%;
  width: 900px; height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(47, 211, 192, .13), rgba(124, 108, 246, .09) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
button { font-family: inherit; font-size: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
b, strong { font-weight: 500; }
.dim { color: var(--dim); }
.ok { color: var(--ok); }
.ta-r { text-align: right; }

/* ---------- 引导 ---------- */
.boot { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.boot-logo { font-size: 18px; letter-spacing: 2px; background: linear-gradient(135deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.boot-tip { color: var(--dim); font-size: 13px; }

/* ---------- 顶部 ---------- */
.banner {
  position: sticky; top: 0; z-index: 40;
  height: 30px; line-height: 30px;
  text-align: center; font-size: 12px; letter-spacing: .3px;
  color: #F8DFA8;
  background: linear-gradient(90deg, rgba(245, 184, 75, .16), rgba(245, 184, 75, .07));
  border-bottom: 1px solid rgba(245, 184, 75, .22);
  backdrop-filter: blur(8px);
}
.topbar {
  position: sticky; top: 30px; z-index: 39;
  display: flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 16px;
  background: rgba(8, 10, 17, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: .4px; white-space: nowrap; }
.logo {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 13px; color: #04120F;
  background: linear-gradient(135deg, var(--acc), #3EA8F5);
}
.nav { display: none; gap: 4px; margin-left: 10px; }
.nav-item {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 13px; border-radius: 9px;
  color: var(--dim); font-size: 13.5px;
  transition: .16s;
}
.nav-item i { font-style: normal; font-size: 12px; opacity: .8; }
.nav-item.on { color: var(--txt); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line2); }
.nav-item:hover { color: var(--txt); }
.user { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
  background: linear-gradient(135deg, rgba(47, 211, 192, .3), rgba(124, 108, 246, .3));
  box-shadow: inset 0 0 0 1px var(--line2);
}
.u-info { display: none; line-height: 1.25; }
.u-info b { display: block; font-size: 13px; }
.u-info span { font-size: 11px; color: var(--dim); }

/* ---------- 内容 ---------- */
.content { position: relative; z-index: 1; padding: 16px 14px 156px; max-width: 1180px; margin: 0 auto; }
.page-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.page-hd h1 { font-size: 19px; letter-spacing: .2px; }
.page-hd p { margin: 4px 0 0; font-size: 12px; }
.hd-note { display: none; font-size: 11.5px; }

/* ---------- KPI ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 12px; }
.kpi {
  position: relative; overflow: hidden;
  padding: 13px 13px 12px;
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid var(--line);
}
.kpi::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 211, 192, .5), transparent);
  opacity: .45;
}
.kpi-k { font-size: 11.5px; color: var(--dim); letter-spacing: .3px; }
.kpi-v { margin-top: 6px; font-size: 23px; font-weight: 500; letter-spacing: -.5px; }
.kpi-v i { font-style: normal; font-size: 11px; color: var(--dim); margin-left: 3px; font-weight: 400; }
.kpi-s { margin-top: 4px; font-size: 11px; color: var(--dim); }
.kpi.warn .kpi-v { color: var(--warn); }
.kpi.ok .kpi-v { color: var(--ok); }

/* ---------- 卡片 ---------- */
.card {
  background: linear-gradient(170deg, rgba(22, 30, 46, .9), rgba(17, 23, 37, .9));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 12px;
}
.card.no-pad { padding: 0; overflow: hidden; }
.card-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-hd h2 { font-size: 14px; }
.card-hd .dim { font-size: 11px; }
.card-foot { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--dim); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* ---------- 达标榜 ---------- */
.rank-list { display: flex; flex-direction: column; gap: 2px; }
.rank-row {
  display: grid; grid-template-columns: 20px 1fr auto;
  gap: 10px; align-items: center;
  width: 100%; text-align: left;
  padding: 9px 6px; border-radius: 10px;
  transition: background .15s;
}
.rank-row:hover { background: rgba(255, 255, 255, .04); }
.rk-no { font-size: 11px; color: var(--dim); text-align: center; }
.rk-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.rk-name { font-size: 13.5px; }
.rk-campus { font-size: 11px; color: var(--dim); }
.rk-bar { position: relative; height: 5px; margin-top: 7px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: visible; }
.rk-fill { height: 100%; border-radius: 3px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.rk-fill.ok { background: linear-gradient(90deg, #1FA97F, var(--ok)); }
.rk-fill.mid { background: linear-gradient(90deg, #C08A2A, var(--warn)); }
.rk-fill.bad { background: linear-gradient(90deg, #A83B41, var(--bad)); }
.rk-pace { position: absolute; top: -3px; width: 1px; height: 11px; background: rgba(255, 255, 255, .3); }
.rk-num { display: flex; align-items: baseline; gap: 3px; }
.rk-num b { font-size: 15px; }
.rk-num span { font-size: 11px; color: var(--dim); }
.rk-num em { font-style: normal; font-size: 10.5px; margin-left: 4px; }
.rk-num em.ok { color: var(--ok); }
.rk-num em.mid { color: var(--warn); }
.rk-num em.bad { color: var(--bad); }

/* ---------- 漏斗 ---------- */
.funnel { display: flex; flex-direction: column; gap: 11px; }
.fn-row { display: grid; grid-template-columns: 34px 1fr 44px 40px; gap: 9px; align-items: center; }
.fn-label { font-size: 12px; color: var(--dim); }
.fn-track { height: 16px; border-radius: 5px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.fn-fill { height: 100%; border-radius: 5px; opacity: .85; }
.fn-val { font-size: 13px; text-align: right; }
.fn-rate { font-size: 11px; color: var(--dim); text-align: right; }
.fn-foot { margin-top: 2px; font-size: 11.5px; color: var(--dim); }
.fn-foot b { color: var(--txt); }
.fn-insight { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.ins-hd { font-size: 11.5px; color: var(--acc); letter-spacing: .4px; }
.ins { display: flex; gap: 8px; font-size: 12px; color: #BCC6D6; line-height: 1.55; }
.ins i {
  flex: 0 0 5px; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%;
  background: var(--warn); box-shadow: 0 0 0 3px rgba(245, 184, 75, .12);
}

/* ---------- 横向条 ---------- */
.hbars { display: flex; flex-direction: column; gap: 10px; }
.hbar-row { display: grid; grid-template-columns: 88px 1fr 62px; gap: 9px; align-items: center; }
.hbar-name { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, rgba(47, 211, 192, .55), var(--acc)); }
.hbar-val { font-size: 12px; text-align: right; }

/* ---------- 图表 ---------- */
.chart { width: 100%; height: 150px; display: block; }

/* ---------- 过滤 ---------- */
.filter-bar { display: flex; flex-direction: column; gap: 9px; margin-bottom: 11px; }
.filter-row { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.mini-sel {
  height: 30px; padding: 0 9px; border-radius: 9px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  color: var(--dim); font-family: inherit; font-size: 12px;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6B7688 50%), linear-gradient(135deg, #6B7688 50%, transparent 50%);
  background-position: right 12px top 13px, right 7px top 13px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 22px;
}
.chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; height: 30px; padding: 0 13px; border-radius: 15px;
  font-size: 12.5px; color: var(--dim);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.chip.on { color: #04120F; background: linear-gradient(135deg, var(--acc), #3EA8F5); border-color: transparent; }
.search {
  flex: 1; min-width: 132px; height: 34px; padding: 0 12px;
  border-radius: 9px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035); color: var(--txt);
  font-family: inherit; font-size: 13px; outline: none;
}
.search::placeholder { color: #5E6879; }
.search:focus { border-color: rgba(47, 211, 192, .45); }

/* ---------- 客资列表 ---------- */
.lead-list { display: flex; flex-direction: column; gap: 8px; }
.lead-card {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 12px 13px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line);
  transition: .15s;
}
.lead-card:hover { border-color: var(--line2); background: var(--card2); }
.lc-l { min-width: 0; flex: 1; }
.lc-name { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.lc-meta { margin-top: 3px; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-r { font-size: 14px; white-space: nowrap; }
.load-more { display: flex; justify-content: center; margin-top: 12px; }
.empty { padding: 34px 0; text-align: center; color: var(--dim); font-size: 13px; }
.empty.sm { padding: 18px 0; font-size: 12px; }

/* ---------- 徽标 ---------- */
.badge {
  display: inline-block; height: 20px; line-height: 19px;
  padding: 0 7px; border-radius: 6px;
  font-size: 10.5px; letter-spacing: .2px; white-space: nowrap;
  border: 1px solid transparent;
}
.st-pending { color: #F5B84B; background: rgba(245, 184, 75, .1); border-color: rgba(245, 184, 75, .25); }
.st-contacted { color: #67B4F5; background: rgba(103, 180, 245, .1); border-color: rgba(103, 180, 245, .25); }
.st-scheduled { color: #A79BF9; background: rgba(167, 155, 249, .1); border-color: rgba(167, 155, 249, .25); }
.st-dealt { color: #34D399; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .25); }
.st-invalid { color: #7C8699; background: rgba(124, 134, 153, .1); border-color: rgba(124, 134, 153, .25); }
.badge-warn { color: var(--warn); background: rgba(245, 184, 75, .08); border-color: rgba(245, 184, 75, .22); }
.badge-demo { color: var(--acc); background: rgba(47, 211, 192, .1); border-color: rgba(47, 211, 192, .25); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 12.5px; }
.tbl th {
  position: sticky; top: 0; z-index: 1;
  padding: 11px 10px; text-align: left; font-weight: 400; font-size: 11.5px;
  color: var(--dim); background: #0E1521; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl th.ta-r, .tbl td.ta-r { text-align: right; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .045); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .022); }
.row-warn td:first-child { box-shadow: inset 2px 0 0 var(--warn); }
.link { color: var(--acc); font-size: 12.5px; }

/* ---------- 按钮 ---------- */
.btn-primary {
  height: 42px; padding: 0 22px; border-radius: 11px;
  font-size: 14px; color: #04120F; font-weight: 500;
  background: linear-gradient(135deg, var(--acc), #3EA8F5);
}
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  height: 36px; padding: 0 15px; border-radius: 10px;
  font-size: 13px; color: var(--txt);
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .04);
}
.page-cta { display: flex; justify-content: center; margin: 18px 0 4px; }

/* ---------- 弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: 100%; max-width: 520px;
  max-height: 88vh; display: flex; flex-direction: column;
  background: #0F1521; border: 1px solid var(--line2);
  border-radius: 18px 18px 0 0;
  animation: up .22s cubic-bezier(.2, .8, .2, 1);
}
@keyframes up { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-hd { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 16px 10px; border-bottom: 1px solid var(--line); }
.modal-hd h3 { font-size: 16px; }
.modal-hd p { margin: 3px 0 0; font-size: 12px; }
.close { font-size: 22px; line-height: 1; color: var(--dim); padding: 0 4px; }
.modal-bd { padding: 14px 16px; overflow-y: auto; }
.modal-ft { display: flex; gap: 9px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.modal-ft .btn-primary { flex: 1; }
.modal-ft .btn-ghost { flex: 0 0 84px; }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.kv { display: flex; flex-direction: column; gap: 2px; }
.kv-k { font-size: 11px; color: var(--dim); }
.kv-v { font-size: 13px; }
.tl-h { margin: 18px 0 10px; font-size: 13px; color: var(--dim); }
.timeline { position: relative; padding-left: 16px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line2); }
.tl-item { position: relative; padding-bottom: 14px; }
.tl-dot { position: absolute; left: -16px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #4A5568; box-shadow: 0 0 0 3px #0F1521; }
.tl-dot.ok { background: var(--ok); }
.tl-top { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; }
.tl-top .dim { font-size: 11px; }
.tl-txt { margin-top: 3px; font-size: 13px; color: #C6CFDF; }
.tl-st { margin-top: 5px; font-size: 11px; color: var(--acc); }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(10, 13, 20, .94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tabbar .nav-item { flex: 1; flex-direction: column; gap: 2px; height: 46px; font-size: 10.5px; border-radius: 10px; }
.tabbar .nav-item i { font-size: 15px; }
.tabbar .nav-item.on { background: none; box-shadow: none; color: var(--acc); }
.tabbar .nav-item.on i { opacity: 1; }

/* ---------- 演示 CTA ---------- */
.demo-cta {
  position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 49;
  display: flex; justify-content: center; padding: 14px 14px 10px;
  background: linear-gradient(to top, rgba(8, 10, 17, .97) 35%, rgba(8, 10, 17, 0));
  pointer-events: none;
}
.cta-btn {
  pointer-events: auto;
  height: 40px; padding: 0 24px; border-radius: 20px;
  font-size: 13.5px; color: #04120F; font-weight: 500;
  background: linear-gradient(135deg, var(--acc), #3EA8F5);
  box-shadow: 0 8px 26px rgba(47, 211, 192, .28);
}

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 120px; z-index: 200;
  transform: translate(-50%, 10px);
  padding: 10px 18px; border-radius: 10px;
  font-size: 13px; color: var(--txt);
  background: rgba(28, 36, 52, .96);
  border: 1px solid var(--line2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none;
  transition: .2s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 桌面端 ---------- */
@media (min-width: 860px) {
  .nav { display: flex; }
  .tabbar { display: none; }
  .u-info { display: block; }
  .hd-note { display: block; }
  .content { padding: 24px 28px 120px; }
  .page-hd h1 { font-size: 22px; }
  .kpi-grid { grid-template-columns: repeat(6, 1fr); gap: 11px; }
  .kpi-v { font-size: 24px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .filter-bar { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .filter-row { flex: 1; }
  .search { max-width: 240px; }
  .lead-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .modal { align-items: center; }
  .modal-card { border-radius: 18px; max-height: 84vh; }
  .demo-cta { left: auto; right: 28px; bottom: 24px; justify-content: flex-end; background: none; padding: 0; }
  .banner { position: sticky; }
}

/* ================= 登录 / 申请 / 认领 ================= */
.auth-wrap {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  padding: 28px 16px calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(120% 80% at 50% 0%, rgba(47, 211, 192, .10), transparent 60%), var(--bg);
}
.auth-card {
  width: 100%; max-width: 400px;
  background: linear-gradient(170deg, rgba(22, 30, 46, .96), rgba(15, 21, 34, .96));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.brand-lg { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.brand-lg .logo {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 600; color: #04120F;
  background: linear-gradient(135deg, var(--acc), #3EA8F5);
}
.brand-lg b { display: block; font-size: 15px; letter-spacing: .2px; }
.brand-lg em { display: block; margin-top: 3px; font-size: 11.5px; font-style: normal; color: var(--dim); }
.auth-h2 { font-size: 17px; margin: 2px 0 6px; }
.auth-p { font-size: 12.5px; line-height: 1.65; margin: 0 0 14px; }
.auth-links { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--dim); }
.auth-links a { color: var(--acc); text-decoration: none; }
.auth-links span { margin: 0 7px; opacity: .4; }
.auth-bottom { font-size: 12.5px; }
.auth-bottom a { color: var(--dim); text-decoration: none; border-bottom: 1px dashed var(--line2); padding-bottom: 2px; }
.auth-foot { margin-top: 14px; text-align: center; font-size: 12.5px; }
.auth-foot a { color: var(--dim); }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.field label i { color: var(--bad); font-style: normal; }
.input {
  width: 100%; height: 42px; padding: 0 12px; border-radius: 11px;
  font-size: 14px; color: var(--txt); font-family: inherit;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line2); outline: none;
  appearance: none; -webkit-appearance: none;
}
.input:focus { border-color: rgba(47, 211, 192, .55); background: rgba(47, 211, 192, .06); }
select.input { padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea.input { height: auto; padding: 10px 12px; line-height: 1.6; }
.field-err { min-height: 15px; font-size: 11.5px; color: var(--bad); padding-top: 4px; }
.row-gap { display: flex; gap: 8px; }
.row-gap .input { flex: 1; }
.row-gap .btn-ghost { flex: 0 0 auto; height: 42px; white-space: nowrap; }
.btn-primary.w-full, .btn-ghost.w-full, .btn-text.w-full { width: 100%; margin-top: 6px; }
.mt8 { margin-top: 8px !important; }
.btn-text { height: 36px; border: 0; background: none; color: var(--dim); font-size: 12.5px; font-family: inherit; }
.btn-ghost.sm, .btn-primary.sm { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 9px; }
.btn-ghost.danger { color: var(--bad); border-color: rgba(242, 85, 90, .35); }
.alert-box { margin: 10px 0; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.55; }
.alert-box.bad { color: #FFC9CB; background: rgba(242, 85, 90, .12); border: 1px solid rgba(242, 85, 90, .28); }
.alert-box.ok { color: #BFEFD9; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .28); }
.banner.bad { color: #FFD3D4; background: linear-gradient(90deg, rgba(242, 85, 90, .22), rgba(242, 85, 90, .1)); border-bottom-color: rgba(242, 85, 90, .3); }
.banner.warn { color: #FBE6BC; background: linear-gradient(90deg, rgba(245, 184, 75, .22), rgba(245, 184, 75, .1)); }

/* ================= 表单 / 设置 ================= */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.card .card-hd.pad { padding: 13px 14px 10px; }
.card-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.switch-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 12px; }
.sw { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--txt); }
.sw input { width: 17px; height: 17px; accent-color: #2FD3C0; }
.hint { padding: 10px 14px; font-size: 11.5px; line-height: 1.65; color: var(--dim); border-top: 1px solid var(--line); }
.nowrap { white-space: nowrap; }

/* ================= 主播进度卡 ================= */
.progress-card { padding: 16px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pc-k { font-size: 12px; color: var(--dim); }
.pc-v { margin: 4px 0 2px; font-size: 15px; color: var(--txt); }
.pc-v b { font-size: 30px; font-weight: 600; letter-spacing: -.5px; }
.pc-v span { margin-left: 4px; font-size: 12.5px; color: var(--dim); }
.pc-sub { font-size: 12px; color: var(--dim); }
.pc-sub b.bad { color: var(--bad); }
.pc-ring {
  width: 74px; height: 74px; flex: 0 0 74px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--acc) var(--p, 0%), rgba(255, 255, 255, .07) 0);
  position: relative;
}
.pc-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #101728; }
.pc-ring span { position: relative; font-size: 15px; font-weight: 600; color: var(--acc); }
.pc-bar { height: 6px; margin: 14px 0 10px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.pc-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--acc), #3EA8F5); }
.pc-foot { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11.5px; color: var(--dim); }
.pc-foot b { color: var(--txt); }
.pc-foot b.bad { color: var(--bad); }

/* ================= 场次弹层内提示 ================= */
.dur-preview { margin-top: 2px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; color: #BFEFD9; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .24); }
.dur-preview b { color: #EAFBF3; }
.dur-preview.warn { color: #FBE6BC; background: rgba(245, 184, 75, .12); border-color: rgba(245, 184, 75, .3); }
.dur-preview.warn b { color: #FFF3D8; }
.fu-add { display: flex; gap: 8px; margin-top: 10px; }
.fu-add .input { flex: 1; }
.fu-add .btn-primary { flex: 0 0 auto; height: 42px; padding: 0 16px; }
.timeline-wrap { max-height: 260px; overflow: auto; }

@media (min-width: 720px) {
  .auth-card { padding: 26px 24px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .wide { grid-column: 1 / -1; }
}

/* 顶栏与横幅不重叠：横幅随页滚走，顶栏吸附顶端（原来按 30px 偏移，无横幅时会压住标题） */
.banner { position: relative; }
.topbar { top: 0; }
.admin-tbl { min-width: 520px; }
.admin-tbl td { vertical-align: top; }
.admin-tbl .sm { margin-top: 3px; }
.admin-tbl { min-width: 420px; }
.act-col { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.hd-actions { display: flex; gap: 8px; align-items: center; }
.code-big { font-size: 22px; letter-spacing: 3px; color: var(--acc); font-weight: 600; }

/* ================= 主播管理（花名册） ================= */
.roster-tbl { min-width: 720px; }
.roster-tbl td { vertical-align: middle; }
.op-row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.op-row .link { padding: 0; background: none; border: 0; cursor: pointer; }
.link.danger { color: var(--bad); }
.row-off td { opacity: .5; }
.row-off td:first-child { box-shadow: inset 2px 0 0 #6B7688; }
.tbl td .sm { margin-top: 2px; font-size: 11px; }
