/* =========================================================
   小魔推 AI 闪播 · 商家后台（本地复刻）
   设计基准：1920 × 1080 画布自适应缩放
   主色：青 #55efe2 / #73ffe3 ｜ 底色：#0e0e0e
   ========================================================= */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0e0e0e; }
body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: #e8f6f4; -webkit-font-smoothing: antialiased;
}
:root {
  --cyan: #55efe2;
  --cyan-2: #73ffe3;
  --violet: #7c5cff;
  --bg: #0e0e0e;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .1);
  --line-cyan: rgba(85, 239, 226, .25);
  --txt: #e8f6f4;
  --txt-2: rgba(255, 255, 255, .66);
  --txt-3: rgba(255, 255, 255, .4);
  --danger: #f56c6c;
  --warn: #e6a23c;
  --ok: #67c23a;
  --radius: 12px;
}

/* ---------------- 舞台缩放 ---------------- */
#stage {
  position: fixed; inset: 0; background: #0e0e0e;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.canvas {
  width: 1920px; height: 1080px; flex: 0 0 auto;
  position: relative; overflow: hidden; background: #0e0e0e;
  transform-origin: center center;
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(85, 239, 226, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 239, 226, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.glow.a { width: 620px; height: 620px; left: -160px; top: -180px; background: rgba(85, 239, 226, .16); }
.glow.b { width: 560px; height: 560px; right: -150px; bottom: -200px; background: rgba(124, 92, 255, .18); }

/* ---------------- 通用 ---------------- */
.scroll { overflow: auto; }
.scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.scroll::-webkit-scrollbar-thumb { background: rgba(85, 239, 226, .25); border-radius: 8px; }
.scroll::-webkit-scrollbar-track { background: transparent; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative;
}
.card.pad { padding: 22px 24px; }
.card-title { font-size: 18px; font-weight: 600; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.card-title::before { content: ""; width: 3px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet)); }
.muted { color: var(--txt-2); }
.dim { color: var(--txt-3); }
.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .gap24 { gap: 24px; }
.grow { flex: 1; min-width: 0; }

/* ---------------- 按钮 ---------------- */
.btn {
  height: 40px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06); color: var(--txt); font-size: 14px; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: all .2s ease; white-space: nowrap;
}
.btn:hover { border-color: var(--line-cyan); background: rgba(85, 239, 226, .08); color: #fff; }
.btn.primary {
  border: none; color: #052a28; font-weight: 600;
  background: linear-gradient(90deg, #55efe2, #6ce9f0 45%, #a48bff);
  box-shadow: 0 8px 24px -10px rgba(85, 239, 226, .8);
}
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.btn.text { border: none; background: transparent; color: var(--cyan); padding: 0 6px; height: 28px; }
.btn.text:hover { color: #fff; }
.btn.danger { color: #ff8f8f; }
.btn.danger:hover { background: rgba(245, 108, 108, .12); border-color: rgba(245, 108, 108, .4); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------------- 表单 ---------------- */
.input, .select, .textarea {
  width: 100%; height: 40px; padding: 0 14px; border-radius: 8px; color: var(--txt);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  font-size: 14px; font-family: inherit; outline: none; transition: all .2s ease;
}
.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, .3); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(85, 239, 226, .12); }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23ffffff88' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.select option { background: #141618; color: #fff; }
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 13px; color: var(--txt-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------------- 标签 ---------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: 6px; font-size: 12px; border: 1px solid transparent; white-space: nowrap;
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag.ok { color: #7ee7a8; background: rgba(103, 194, 58, .12); border-color: rgba(103, 194, 58, .3); }
.tag.wait { color: #f3c37a; background: rgba(230, 162, 60, .12); border-color: rgba(230, 162, 60, .3); }
.tag.fail { color: #ff9a9a; background: rgba(245, 108, 108, .12); border-color: rgba(245, 108, 108, .3); }
.tag.info { color: #8fb6ff; background: rgba(64, 158, 255, .12); border-color: rgba(64, 158, 255, .3); }
.tag.cyan { color: var(--cyan); background: rgba(85, 239, 226, .1); border-color: var(--line-cyan); }

/* ---------------- 表格 ---------------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.tb { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tb th {
  height: 48px; padding: 0 16px; text-align: left; font-weight: 500; color: var(--txt-2);
  background: rgba(255, 255, 255, .045); font-size: 13px; letter-spacing: .3px; white-space: nowrap;
}
table.tb td { height: 56px; padding: 0 16px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--txt); }
table.tb tbody tr { transition: background .18s ease; }
table.tb tbody tr:hover { background: rgba(85, 239, 226, .05); }
table.tb td.ellipsis { max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { padding: 70px 0; text-align: center; color: var(--txt-3); font-size: 14px; }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 18px; }
.pager .total { margin-right: auto; color: var(--txt-3); font-size: 13px; }
.pager button {
  min-width: 34px; height: 34px; padding: 0 10px; border-radius: 7px; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--txt-2); font-size: 13px;
}
.pager button.active { background: rgba(85, 239, 226, .16); border-color: var(--cyan); color: var(--cyan); }
.pager button[disabled] { opacity: .35; cursor: not-allowed; }

/* ---------------- 弹窗 ---------------- */
.mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); z-index: 60; display: flex; align-items: center; justify-content: center; }
.modal {
  width: 640px; max-height: 78%; display: flex; flex-direction: column;
  background: #101115; border: 1px solid rgba(115, 255, 227, .22); border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(82, 240, 226, .35); overflow: hidden;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid rgba(115, 255, 227, .12); font-size: 17px; font-weight: 600; }
.modal-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.modal-foot { padding: 16px 26px 22px; display: flex; justify-content: flex-end; gap: 12px; }
.icon-btn { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: var(--txt-3); border: 1px solid transparent; background: transparent; font-size: 16px; }
.icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.toast {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%); z-index: 200;
  padding: 12px 22px; border-radius: 10px; font-size: 14px;
  background: rgba(16, 17, 21, .96); border: 1px solid var(--line-cyan); color: #dffdf9;
  box-shadow: 0 18px 40px -16px rgba(85, 239, 226, .6);
}
.toast.error { border-color: rgba(245, 108, 108, .5); color: #ffd9d9; }

/* =========================================================
   登录页
   ========================================================= */
.login-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 56px; }
.login-left {
  width: 640px; height: 460px; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(85, 239, 226, .1), rgba(124, 92, 255, .08) 60%, rgba(255, 255, 255, .02));
  border: 1px solid var(--line-cyan);
}
.login-left .brand {
  position: absolute; top: 26px; left: 26px; display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
}
.login-left .brand em { font-style: normal; color: var(--cyan); }
.login-left .brand span { font-size: 11px; color: #d6c4ff; background: rgba(124, 92, 255, .28); padding: 3px 7px; border-radius: 5px; letter-spacing: 1px; }
.radar { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); width: 380px; height: 380px; }
.radar .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(85, 239, 226, .22); }
.radar .ring:nth-child(2) { inset: 40px; border-color: rgba(85, 239, 226, .16); }
.radar .ring:nth-child(3) { inset: 82px; border-color: rgba(85, 239, 226, .12); }
.radar .core {
  position: absolute; inset: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 239, 226, .35), rgba(85, 239, 226, .04) 70%);
  border: 1px solid rgba(85, 239, 226, .35); display: grid; place-items: center; font-size: 13px; color: var(--cyan); letter-spacing: 2px;
}
.radar .sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(85, 239, 226, .34), transparent 32%);
  animation: spin 6s linear infinite;
}
.radar .dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.login-left .cap { position: absolute; left: 30px; bottom: 24px; font-size: 13px; color: var(--txt-2); letter-spacing: .5px; }
.login-left .dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.login-left .dots i { width: 16px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.login-left .dots i.on { background: var(--cyan); width: 22px; }

.login-card {
  width: 420px; padding: 34px 34px 30px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 24, 26, .96), rgba(14, 16, 18, .96));
  border: 1px solid rgba(115, 255, 227, .28);
  box-shadow: 0 30px 90px -24px rgba(82, 240, 226, .45), inset 0 0 60px rgba(85, 239, 226, .05);
}
.login-card h1 { font-size: 22px; margin: 0 0 8px; letter-spacing: 1px; }
.login-card h1 em { font-style: normal; color: var(--cyan); }
.login-card .sub { font-size: 12.5px; color: var(--txt-3); margin-bottom: 26px; letter-spacing: .5px; }
.login-field { position: relative; margin-bottom: 16px; }
.login-field .ico { position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; color: var(--txt-3); }
.login-field input {
  width: 100%; height: 46px; padding: 0 44px; border-radius: 9px; font-size: 14px; color: #fff;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .13); outline: none;
}
.login-field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(85, 239, 226, .12); }
.login-field input::placeholder { color: rgba(255, 255, 255, .28); }
.login-field .eye { position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; color: var(--txt-3); cursor: pointer; }
.login-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--txt-3); margin: 4px 0 20px; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; font-size: 10px; color: #052a28; }
.checkbox.on i { background: var(--cyan); border-color: var(--cyan); }
.login-btn {
  width: 100%; height: 46px; border: none; border-radius: 9px; cursor: pointer; font-size: 15px; font-weight: 600;
  color: #04292a; letter-spacing: 2px;
  background: linear-gradient(90deg, #55efe2, #7ff2ea 40%, #b39bff);
  box-shadow: 0 14px 34px -14px rgba(85, 239, 226, .9);
}
.login-btn:hover { filter: brightness(1.05); }
.login-tip { margin-top: 16px; font-size: 11.5px; color: var(--txt-3); line-height: 1.7; }
.login-copy { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .22); letter-spacing: .5px; }

/* =========================================================
   应用外壳
   ========================================================= */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; }
.hd {
  height: 64px; flex: 0 0 64px; display: flex; align-items: center; padding: 0 32px;
  border-bottom: 1px solid var(--line); background: rgba(14, 14, 14, .82); backdrop-filter: blur(10px); z-index: 20;
}
.hd .logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 12px; line-height: 1.15; text-align: center; color: #04292a; background: linear-gradient(135deg, #55efe2, #a48bff); letter-spacing: 0; padding: 0 3px; }
.hd .tabs { display: flex; gap: 30px; margin-left: 44px; height: 100%; }
.hd .tab { display: flex; align-items: center; height: 100%; font-size: 16px; color: #71717a; cursor: pointer; position: relative; transition: color .25s ease; }
.hd .tab:hover { color: #cfd6d5; }
.hd .tab.on { color: #fff; }
.hd .tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 12px var(--cyan); }
.hd .spacer { flex: 1; }
.wallet { display: flex; align-items: center; gap: 10px; }
.chip { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: 13px; color: var(--txt-2); }
.chip b { color: var(--cyan); font-weight: 600; font-size: 14px; }
.user { display: flex; align-items: center; gap: 10px; padding-left: 18px; margin-left: 6px; border-left: 1px solid var(--line); cursor: pointer; position: relative; }
.user .avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(85, 239, 226, .5); display: grid; place-items: center; font-size: 14px; color: var(--cyan); background: rgba(85, 239, 226, .1); }
.user .name { font-size: 14px; color: #fff; }
.user .role { font-size: 11.5px; color: var(--txt-3); }
.user-menu {
  position: absolute; top: 56px; right: 0; width: 300px; padding: 14px; border-radius: 12px; z-index: 90;
  background: #101115; border: 1px solid rgba(115, 255, 227, .22); box-shadow: 0 16px 40px -10px rgba(82, 240, 226, .4);
}
.user-menu .u-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px; }
.user-menu .u-head .avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(85, 239, 226, .5); display: grid; place-items: center; color: var(--cyan); background: rgba(85, 239, 226, .1); }
.user-menu .u-phone { font-size: 15px; color: #fff; }
.user-menu .u-co { font-size: 12px; color: var(--txt-3); margin-top: 4px; }
.user-menu .u-line { height: 1px; background: rgba(255, 255, 255, .07); margin: 4px 0 8px; }
.user-menu .u-act { display: flex; gap: 8px; }
.user-menu .u-act div { flex: 1; height: 70px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-size: 13px; color: var(--txt-2); cursor: pointer; transition: all .18s ease; }
.user-menu .u-act div:hover { background: rgba(85, 239, 226, .09); color: var(--cyan); }

.body { flex: 1; display: flex; min-height: 0; }

/* ---------------- 侧栏 ---------------- */
.side { width: 256px; flex: 0 0 256px; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: rgba(255, 255, 255, .012); }
.side .side-top { height: 22px; display: flex; align-items: center; justify-content: flex-end; padding-right: 20px; }
.side .collapse { cursor: pointer; color: var(--txt-3); font-size: 15px; }
.side .side-top .collapse:hover { color: var(--cyan); }
.side .menu { flex: 1; overflow-y: auto; padding-bottom: 24px; }
.side .menu::-webkit-scrollbar { width: 4px; }
.side .menu::-webkit-scrollbar-thumb { background: rgba(85, 239, 226, .2); border-radius: 4px; }
.grp { margin-bottom: 18px; }
.grp-t { padding: 10px 20px; font-size: 13px; letter-spacing: 1.5px; color: rgba(255, 255, 255, .34); display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; }
.grp-t .ar { font-size: 10px; transition: transform .25s ease; }
.grp-t.closed .ar { transform: rotate(-90deg); }
.mi { padding: 12px 35px; display: flex; align-items: center; gap: 9px; cursor: pointer; position: relative; font-size: 14px; color: rgba(255, 255, 255, .62); transition: all .2s ease; }
.mi .ico { width: 18px; height: 18px; display: grid; place-items: center; font-size: 13px; color: rgba(255, 255, 255, .42); }
.mi:hover { color: #fff; background: rgba(255, 255, 255, .035); }
.mi.on { color: var(--cyan); font-weight: 500; background: linear-gradient(90deg, rgba(85, 239, 226, .14), transparent); }
.mi.on .ico { color: var(--cyan); }
.mi.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.mi.sub { padding-left: 62px; font-size: 13.5px; }
.mi .badge { margin-left: auto; font-size: 10px; padding: 1px 6px; border-radius: 20px; background: rgba(85, 239, 226, .16); color: var(--cyan); }
.side .help { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0; font-size: 13px; color: var(--txt-2); cursor: pointer; border-top: 1px solid var(--line); }
.side .help:hover { color: var(--cyan); }

/* ---------------- 内容区 ---------------- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.crumb { height: 56px; flex: 0 0 56px; display: flex; align-items: center; gap: 10px; padding: 0 32px; font-size: 13px; color: var(--txt-3); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.crumb b { color: #fff; font-weight: 500; font-size: 15px; }
.crumb .sep { opacity: .4; }
.view { flex: 1; overflow-y: auto; padding: 24px 32px 40px; }
.view::-webkit-scrollbar { width: 8px; }
.view::-webkit-scrollbar-thumb { background: rgba(85, 239, 226, .22); border-radius: 8px; }

/* ---------------- 首页 ---------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(85, 239, 226, .22), transparent 70%); }
.stat .k { font-size: 13px; color: var(--txt-2); }
.stat .v { font-size: 32px; font-weight: 700; margin: 10px 0 8px; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: 12px; }
.stat .d.up { color: #7ee7a8; } .stat .d.down { color: #ff9a9a; }
.panels { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 20px; }
.legend { display: flex; gap: 18px; font-size: 12px; color: var(--txt-2); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); font-size: 13.5px; }
.rank-row:last-child { border: none; }
.rank-row .no { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, .07); color: var(--txt-2); }
.rank-row:nth-child(1) .no { background: rgba(85, 239, 226, .2); color: var(--cyan); }
.rank-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), #a48bff); }

/* ---------------- 列表页 ---------------- */
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .input, .toolbar .select { width: 220px; height: 38px; }
.toolbar .search { width: 300px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pill { height: 34px; padding: 0 18px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .14); color: var(--txt-2); font-size: 13.5px; display: inline-flex; align-items: center; cursor: pointer; transition: all .2s ease; }
.pill.on { border-color: var(--cyan); color: var(--cyan); background: rgba(85, 239, 226, .1); }

/* ---------------- 运营台 ---------------- */
.ops { display: grid; grid-template-columns: 420px 1fr; gap: 20px; height: 100%; min-height: 0; }
.preview { border-radius: var(--radius); border: 1px solid var(--line); background: #0b0c0d; overflow: hidden; display: flex; flex-direction: column; }
.preview .pv-top { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--txt-2); }
.dot3 { display: flex; gap: 5px; } .dot3 i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.pv-stage { flex: 1; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(85, 239, 226, .1), transparent 62%); }
.pv-avatar { width: 220px; height: 300px; border-radius: 18px; border: 1px solid rgba(85, 239, 226, .3); background: linear-gradient(180deg, rgba(85, 239, 226, .16), rgba(124, 92, 255, .1)); display: grid; place-items: center; position: relative; overflow: hidden; }
.pv-avatar span { font-size: 12px; color: var(--cyan); letter-spacing: 2px; }
.pv-console { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; max-height: 180px; overflow-y: auto; font-size: 12.5px; }
.pv-line { display: flex; gap: 8px; color: var(--txt-3); }
.pv-line b { color: var(--cyan); font-weight: 500; }
.steps { display: flex; gap: 10px; margin-bottom: 16px; }
.step { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.step.on { background: linear-gradient(90deg, var(--cyan), #a48bff); box-shadow: 0 0 10px rgba(85, 239, 226, .5); }
.kv { display: flex; justify-content: space-between; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.kv span { color: var(--txt-3); }
.switch { width: 40px; height: 22px; border-radius: 20px; background: rgba(255, 255, 255, .14); position: relative; cursor: pointer; transition: background .2s ease; flex: 0 0 40px; }
.switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s ease; }
.switch.on { background: linear-gradient(90deg, var(--cyan), #7ff2ea); }
.switch.on i { left: 21px; }

/* ---------------- 网格卡片（素材/AI 工具） ---------------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .035); padding: 20px; cursor: pointer; transition: all .22s ease; }
.tile:hover { border-color: var(--line-cyan); transform: translateY(-2px); box-shadow: 0 18px 34px -22px rgba(85, 239, 226, .9); }
.tile .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: rgba(85, 239, 226, .12); color: var(--cyan); margin-bottom: 14px; }
.tile h4 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.tile p { margin: 0; font-size: 12.5px; color: var(--txt-3); line-height: 1.6; }

/* 画布固定 1920，不使用视口断点 */
