:root {
  --el-color-primary: var(--cyan);
}
html, body, #app { height: 100%; margin: 0; }
body {
  font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 登录页 · 浅钢渐变 + 青光晕（对齐 mech-theme / 销售平台） */
.login-wrap {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(900px 500px at 75% -10%, rgba(35,195,223,.18), transparent 60%),
              radial-gradient(800px 420px at 15% 110%, rgba(10,126,150,.10), transparent 55%),
              linear-gradient(155deg, #dbe2ec 0%, #d0d9e5 45%, #c7d1de 100%);
}
.login-card { width: 380px; border-radius: 14px; }
.login-brand { font-size: 26px; font-weight: 700; color: var(--cyan); text-align: center; letter-spacing: 3px; }
.login-sub { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 24px; }
.login-error { color: var(--red); font-size: 13px; margin-top: 12px; min-height: 18px; }

/* 主框架 */
.layout { height: 100%; }
.aside { background: #fff; overflow-x: hidden; border-right: 1px solid var(--line); }
.logo {
  height: 56px; line-height: 56px; text-align: center;
  color: var(--ink); font-weight: 700; letter-spacing: 2px; font-size: 17px;
  border-bottom: 1px solid var(--line);
}
/* 侧边菜单：立体按钮，按下回弹 */
.aside .el-menu { border-right: none; background: transparent; padding: 8px 8px; }
.aside .el-menu-item {
height: 44px; line-height: 44px; margin: 8px 8px; border-radius: 11px;
  background: var(--plate); color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 3px 0 rgba(34,54,76,.10), 0 4px 10px rgba(34,54,76,.06);
  transition: transform .1s ease, box-shadow .1s ease, background .15s ease, color .15s ease;
}
.aside .el-menu-item:hover { background: var(--cyan-soft); color: var(--ink); transform: translateY(-1px); }
.aside .el-menu-item:active { transform: translateY(3px); box-shadow: 0 0 0 rgba(34,54,76,.12); }
.aside .el-menu-item.is-active {
  background: linear-gradient(180deg, #12a3c0 0%, var(--cyan) 55%, var(--cyan-d) 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 0 #064f61, 0 5px 12px rgba(10,126,150,.35);
}
.aside .el-menu-item.is-active:active { transform: translateY(3px); box-shadow: 0 0 0 rgba(10,126,150,.3); }
.header {
  background: #fff; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.header-right { display: flex; align-items: center; color: #555; font-size: 14px; }
.header-user { cursor: pointer; display: inline-flex; align-items: center; outline: none; }
.header-user:hover { color: var(--cyan-d); }
.main { background: transparent; padding: 20px; }
.tip { color: var(--muted); font-size: 13px; line-height: 1.9; }
.bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.sub-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }

/* ===== 消息中心 ===== */
.im-wrap {
  height: calc(100vh - var(--tg-beian-h, 0px) - 96px); display: flex; background: #fff;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
}
.im-sider { width: 300px; border-right: 1px solid #eee; display: flex; flex-direction: column; }
.im-toolbar { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); }
.conv-list { flex: 1; overflow-y: auto; }
.conv-item { display: flex; align-items: center; gap: 10px; padding: 12px 12px; cursor: pointer; border-bottom: 1px solid var(--plate); }
.conv-item:hover { background: var(--plate); }
.conv-item.on { background: var(--cyan-soft); }
.conv-mid { flex: 1; min-width: 0; }
.conv-name { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.tag-user { font-size: 11px; color: var(--cyan-d); border: 1px solid #b5d8e0; border-radius: 4px; padding: 0 4px; font-weight: 400; }
.conv-preview { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.conv-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.conv-time { font-size: 11px; color: var(--muted); }
.conv-badge { min-width: 17px; height: 17px; line-height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; text-align: center; }
.im-chat { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chat-header { height: 50px; line-height: 50px; padding: 0 20px; font-weight: 600;
  border-bottom: 1px solid var(--line); color: var(--ink); }
.chat-extra { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; background: var(--plate); border-bottom: 1px solid var(--line); }
.extra-item { display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; width: 66px; }
.extra-ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--cyan);
  font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 1px solid var(--line); transition: .15s; }
.extra-item:hover .extra-ic { background: var(--cyan); color: #fff; }
.extra-tx { font-size: 12px; color: var(--ink-2); }
/* 输入框容器：＋在框内左下，圆形发送在右下 */
.text-box { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 8px 12px; }
.text-box .el-textarea__inner { border: none !important; box-shadow: none !important;
padding: 4px 4px; resize: none; background: transparent; }
.input-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.plus-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--plate); color: var(--cyan);
  font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; }
.plus-btn.on, .plus-btn:hover { background: var(--cyan); color: #fff; }
.send-circle { width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: #fff;
  font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.send-circle:hover { background: var(--cyan-d); }
.msg-list { flex: 1; overflow-y: auto; padding: 16px; background: var(--plate); }
.msg-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.msg-row.mine { flex-direction: row-reverse; }
.bubble { max-width: 62%; padding: 8px 12px; border-radius: 10px; background: #fff; font-size: 14px; line-height: 1.5; color: #333; word-break: break-word; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.msg-row.mine .bubble { background: var(--cyan); color: #fff; }
.chat-input { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.chat-img { width: 200px; height: 150px; border-radius: 8px; display: block; cursor: zoom-in; }
.chat-video { width: 240px; max-height: 320px; border-radius: 10px; background: #000; display: block; }
.file-card { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 210px; }
.file-card:hover { opacity: .85; }
.file-badge { width: 42px; height: 42px; flex: none; border-radius: 9px; background: var(--cyan); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.file-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file-meta b { font-size: 13px; color: inherit; font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.file-meta small { font-size: 11px; color: inherit; opacity: .7; }
.staff-pick { max-height: 420px; overflow-y: auto; }
.staff-item { display: flex; align-items: center; gap: 10px; padding: 8px 8px; cursor: pointer; border-bottom: 1px solid var(--plate); }
.staff-item:hover { background: var(--plate); }
.sp-name { flex: 1; font-size: 14px; }
.sp-role { font-size: 12px; color: var(--muted); }

/* ===== 改地址审核 ===== */
.ac-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ac-meta { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.ac-compare { display: flex; align-items: stretch; gap: 12px; }
.ac-col { flex: 1; border-radius: 10px; padding: 16px; font-size: 14px; line-height: 1.8; word-break: break-word; }
.ac-col.old { background: var(--plate); color: var(--ink-2); }
.ac-col.new { background: var(--cyan-soft); color: var(--ink); }
.ac-col-title { font-weight: 700; margin-bottom: 8px; }
.ac-arrow { display: flex; align-items: center; color: var(--cyan-d); font-size: 22px; }
.ac-reject-reason { margin-top: 12px; color: var(--red); font-size: 13px; }

/* ===== 通话浮层 ===== */
.call-overlay { position: fixed; inset: 0; z-index: 3000;
  background: linear-gradient(160deg, #2a2622, #14110e); display: flex; flex-direction: column; }
.cv-remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.cv-local { position: absolute; right: 16px; top: 60px; width: 110px; height: 160px; object-fit: cover;
  border-radius: 12px; background: #222; z-index: 2; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.cv-mask { position: absolute; left: 0; right: 0; top: 40%; text-align: center; color: #fff; font-size: 15px; z-index: 3; }
.cv-bg { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.cv-avatar { width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-d));
  display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 600;
  box-shadow: 0 8px 30px rgba(122,74,36,.5); }
.cv-name { font-size: 22px; margin-top: 20px; font-weight: 600; }
.cv-sub { margin-top: 12px; font-size: 15px; opacity: .8; }
.cv-actions { display: flex; justify-content: center; gap: 48px; padding: 0 20px 48px; z-index: 5; }
.cv-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.cv-btn-ic { width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #fff; }
.cv-btn.accept .cv-btn-ic { background: var(--green); }
.cv-btn.reject .cv-btn-ic { background: var(--red); }
.cv-btn.ctrl .cv-btn-ic { background: rgba(255,255,255,.18); }
.cv-btn.ctrl.off .cv-btn-ic { background: rgba(255,255,255,.35); }
.cv-btn-tx { color: #fff; font-size: 13px; }

/* ============ 通用筛选/分页 ============ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filter-bar .f-portal { width: 150px; }
.filter-bar .f-status { width: 140px; }
.filter-bar .f-no { width: 180px; }
.filter-bar .f-phone { width: 170px; }
.filter-bar .f-date { width: 260px; }
.pager { display: flex; justify-content: flex-end; margin-top: 16px; }
.fx-hint { margin-left: 12px; color: var(--muted); font-size: 12px; }

/* ============ 订单/售后 详情抽屉 ============ */
.od-wrap { padding: 0 4px; }
.od-sub { font-size: 15px; font-weight: 600; color: var(--cyan); margin: 20px 0 12px;
  padding-left: 8px; border-left: 3px solid var(--cyan-d); }
.od-item { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--plate);
  border-radius: 6px; margin-bottom: 8px; }
.od-img { width: 48px; height: 48px; border-radius: 6px; background: #eee; flex: none; }
.od-info { flex: 1; min-width: 0; font-size: 13px; }
.od-sku { color: var(--muted); font-size: 14px; margin-top: 2px; }
.od-qty { color: #666; font-size: 13px; }
.od-price { width: 70px; text-align: right; font-size: 13px; color: var(--cyan-d); }
.od-ship { padding: 8px 12px; background: var(--plate); border-radius: 6px; font-size: 13px; margin-bottom: 8px; }
.od-remark { display: flex; gap: 10px; align-items: flex-start; }
.od-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.od-shipbtn { width: 100%; margin-top: 12px; }

/* 发货弹窗：商品勾选 */
.ship-items { display: flex; flex-direction: column; gap: 6px; width: 100%;
padding: 12px 12px; background: var(--plate); border: 1px solid var(--line); border-radius: 6px; }
.ship-item-ck { height: auto; margin-right: 0; white-space: normal; }
.ship-empty { color: #909399; font-size: 13px; }

/* ============ 运费模板 ============ */
.ship-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.ship-tip { color: var(--muted); font-size: 13px; }
.rule-head { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 8px;
  font-weight: 600; color: var(--cyan); }
.rule-col-tx { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.rule-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.rule-row .rr-region { flex: 1; min-width: 180px; }
.rule-row .el-input-number { width: 108px; }

/* ============ 物流查询 ============ */
.exp-q { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.exp-q .eq-com { width: 240px; }
.exp-q .eq-num { width: 200px; }
.exp-q .eq-phone { width: 200px; }
.exp-rhead { display: flex; justify-content: space-between; align-items: center; }

/* ============ 快捷时间 / 支付方式筛选 ============ */
.quick-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.qb-label { color: var(--muted); font-size: 13px; }
.filter-bar .f-pay { width: 140px; }

/* ============ 水擎学院（两馆制） ============ */
/* —— 学院首页 —— */
.acd-home-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.acd-home-title { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: 2px; }
.acd-home-sub { font-size: 12.4px; color: var(--muted); margin-top: 5px; }
.acd-home-stat { font-size: 12.5px; color: var(--cyan); background: #ffffff;
border: 1px solid var(--line); border-radius: 20px; padding: 8px 16px; flex: none; }
.acd-halls { display: flex; gap: 18px; }
.acd-hall { flex: 1; background: #ffffff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.acd-hall:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(90,60,25,.13); }
.acd-hall-band { height: 86px; position: relative; padding: 16px 20px; overflow: hidden; }
.acd-hall-band.sys { background: linear-gradient(135deg, var(--cyan), var(--cyan-d)); }
.acd-hall-band.cx { background: linear-gradient(135deg, var(--ink), var(--ink-2)); }
.acd-hall-band::after { content: ''; position: absolute; right: -30px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); }
.acd-hall-badge { width: 46px; height: 46px; border-radius: 12px; float: left;
  display: flex; align-items: center; justify-content: center; font-size: 22px; }
.acd-hall-badge.sys { background: rgba(255,255,255,.2); color: #ffffff; }
.acd-hall-badge.cx { background: var(--red); color: #ffffff;
  font-family: KaiTi, STKaiti, '楷体', serif; font-size: 24px; }
.acd-hall-name { font-size: 17px; font-weight: 700; color: #ffffff; margin-left: 60px; padding-top: 2px; }
.acd-hall-name.cx-name { font-family: KaiTi, STKaiti, '楷体', serif; letter-spacing: 3px; }
.acd-hall-en { font-size: 10px; color: rgba(255,246,232,.75); letter-spacing: 2px; margin-left: 60px; margin-top: 3px; }
.acd-hall-chip { position: absolute; right: 14px; top: 14px; z-index: 1;
  font-size: 11px; color: #ffffff; border: 1px solid rgba(255,255,255,.55);
border-radius: 20px; padding: 4px 12px; background: rgba(255,255,255,.14); }
.acd-hall-body { padding: 16px 20px 20px; }
.acd-hall-desc { font-size: 12px; color: var(--ink-2); line-height: 1.8; min-height: 44px; }
.acd-hall-stats { display: flex; gap: 26px; margin: 12px 0 16px; }
.acd-stat .v { font-size: 16px; font-weight: 700; }
.acd-stat .v.sys { color: var(--cyan); }
.acd-stat .v.cx { color: var(--orange-d); }
.acd-stat .l { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.acd-hall-btn { height: 36px; line-height: 36px; text-align: center; border-radius: 9px;
  font-size: 13px; font-weight: 600; }
.acd-hall-btn.sys { background: linear-gradient(135deg, var(--cyan), var(--cyan-d)); color: #fff; }
.acd-hall-btn.cx { border: 1.5px solid var(--cyan-d); color: var(--orange-d); background: var(--orange-soft); }
.acd-recent { margin-top: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.acd-recent-tag { background: linear-gradient(135deg, var(--cyan), var(--cyan-d)); color: #fff;
font-size: 11px; border-radius: 5px; padding: 4px 8px; flex: none; }
.acd-recent-title { color: var(--ink); font-weight: 600; }
.acd-recent-more { margin-left: auto; color: var(--cyan-d); cursor: pointer; font-size: 12.5px; flex: none; }

/* —— 内页框架 —— */
.acd-inner { display: flex; gap: 16px; align-items: flex-start; }
.acd-side { width: 218px; flex: none; background: var(--plate); border: 1px solid var(--line);
border-radius: 14px; padding: 12px 12px; }
.acd-side.cx { width: 172px; }
.acd-back { font-size: 12.5px; color: var(--muted); cursor: pointer; padding: 4px 8px 12px; }
.acd-back:hover { color: var(--cyan-d); }
.acd-group-head { display: flex; justify-content: space-between; align-items: center;
font-size: 12px; font-weight: 700; color: var(--cyan); padding: 12px 8px 8px; }
.acd-group-head .n { color: var(--cyan-d); font-weight: 600; }
.acd-lesson { display: flex; align-items: center; gap: 8px; padding: 8px 8px;
  border-radius: 8px; cursor: pointer; font-size: 12.5px; color: var(--ink-2);
  border-left: 3px solid transparent; }
.acd-lesson:hover { background: var(--plate); }
.acd-lesson.on { background: var(--cyan-soft); color: var(--cyan); font-weight: 600; }
.acd-lnum { width: 17px; height: 17px; flex: none; border-radius: 50%;
  background: var(--line); color: var(--muted); font-size: 10.5px;
  display: flex; align-items: center; justify-content: center; }
.acd-lesson.read .acd-lnum { background: var(--green); color: #fff; }
.acd-lesson.on .acd-lnum { background: var(--cyan-d); color: #fff; }
.acd-ltitle { line-height: 1.45; }

/* —— 系统馆阅读区 —— */
.acd-read { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px;
padding: 24px 28px; min-height: 560px; }
.acd-crumb { font-size: 11.5px; color: var(--muted); }
.acd-rtitle { font-size: 19px; font-weight: 700; color: var(--ink); margin: 8px 0 8px; }
.acd-rtitle.cx { font-family: KaiTi, STKaiti, '楷体', serif; color: var(--ink); letter-spacing: 1px; }
.acd-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted);
padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.acd-finish { margin-left: auto; border: 1px solid var(--line); border-radius: 16px;
  padding: 4px 12px; cursor: pointer; color: var(--muted); font-size: 12px; user-select: none; }
.acd-finish:hover { border-color: var(--cyan-d); color: var(--cyan-d); }
.acd-finish.on { background: var(--green); border-color: var(--green); color: #fff; }
.acd-sec { display: flex; gap: 16px; margin-bottom: 14px; }
.acd-tag { width: 64px; flex: none; height: 26px; line-height: 26px; text-align: center;
  border-radius: 6px; background: var(--cyan-soft); color: var(--cyan); font-size: 12px; font-weight: 700; }
.acd-tag.red { background: var(--red); color: #ffffff; }
.acd-tag.cx { font-family: KaiTi, STKaiti, '楷体', serif; font-size: 14px; }
.acd-sec-body { flex: 1; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.acd-sec-body p { margin: 0; }
.acd-sec-body ul { margin: 0; padding-left: 18px; }
.acd-sec-body li { margin: 4px 0; }
.acd-sec-body ul.steps { counter-reset: step; padding-left: 4px; list-style: none; }
.acd-sec-body ul.steps li { position: relative; padding-left: 24px; margin: 6px 0; }
.acd-sec-body ul.steps li::before { counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cyan-d); color: #fff; font-size: 10.5px; line-height: 16px; text-align: center; }
.acd-sec-body b { color: var(--cyan-d); }
.acd-casebox { background: var(--orange-soft); border: 1px solid var(--line); border-radius: 10px;
padding: 12px 16px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.acd-pn { display: flex; justify-content: space-between; align-items: center; gap: 12px;
margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.acd-pn.cx { border-top-style: dashed; }
.acd-pn-btn { font-size: 12.5px; color: var(--cyan); border: 1px solid var(--line);
border-radius: 9px; padding: 8px 16px; cursor: pointer; background: #ffffff; }
.acd-pn-btn:hover { border-color: var(--cyan-d); }
.acd-pn-btn.next { border-color: var(--cyan-d); background: var(--orange-soft); font-weight: 600; }
.acd-pn-pos { font-family: KaiTi, STKaiti, '楷体', serif; font-size: 13px; color: var(--muted); letter-spacing: 2px; }

/* —— 沉香馆书卷 —— */
.acd-pian { padding: 12px 8px 8px; }
.acd-pian-name { font-family: KaiTi, STKaiti, '楷体', serif; font-size: 15px;
  font-weight: 700; color: var(--red); letter-spacing: 1px; }
.acd-pian-sub { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.acd-lesson.cx.on { background: var(--cyan-soft); border-left-color: var(--red); color: var(--cyan); }
.acd-cnum { width: 17px; height: 17px; flex: none; border-radius: 50%;
  background: var(--line); color: var(--muted); font-size: 10.5px;
  display: flex; align-items: center; justify-content: center; }
.acd-lesson.cx.read .acd-cnum { background: var(--green); color: #fff; }
.acd-lesson.cx.on .acd-cnum { background: var(--red); color: #fff; }
.acd-scroll { flex: 1; background: var(--plate); border: 1px solid var(--line);
border-radius: 16px; padding: 14px; }
.acd-scroll-in { background: #ffffff; border: 1px solid var(--line); border-radius: 10px;
  padding: 24px 28px; min-height: 540px; }
.acd-cx-head { display: flex; gap: 16px; align-items: flex-start;
padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.acd-seal { width: 40px; height: 40px; flex: none; background: var(--red); color: #ffffff;
  font-family: KaiTi, STKaiti, '楷体', serif; font-size: 19px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-3deg); box-shadow: 0 2px 6px rgba(158,43,31,.3); }
.acd-say { background: var(--cyan-soft); border-radius: 10px; padding: 12px 16px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-top: 8px; }
.acd-say-label { font-size: 11px; font-weight: 700; color: var(--red); margin-bottom: 4px; letter-spacing: 1px; }

/* ============ 全局按钮：按下回弹 ============ */
.el-button, button, .el-radio-button__inner,
.el-pagination .el-pager li, .el-pagination button {
  transition: transform .1s ease, box-shadow .1s ease, background .15s ease;
}
.el-button:active, button:active, .el-radio-button__inner:active,
.el-pagination .el-pager li:active, .el-pagination button:active {
  transform: translateY(1px) scale(.96);
}
.el-button:active { box-shadow: none; }
/* 可点击图标 / 卡片（按下轻微回弹） */
.kk-icon:active, .od-item:active, .acd-lesson:active { transform: scale(.97); }

/* ============ 同比 / 环比 ============ */
.cmp-box { background: var(--plate); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.cmp-title { color: var(--muted); font-size: 13px; }
.cmp-cur { font-size: 28px; font-weight: 700; color: var(--cyan); margin: 8px 0 12px; }
.cmp-rates { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.cmp-rates b { font-size: 14px; }
.rate-up { color: var(--green); }
.rate-down { color: var(--red); }

/* ============ 商品管理 · 列表 ============ */
.table-card .table-toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.goods-cell { display: flex; gap: 10px; align-items: center; }
.goods-thumb { width: 52px; height: 52px; border-radius: 7px; background: #eee; flex: none; border: 1px solid #eee; }
.goods-meta { min-width: 0; }
.goods-name { font-size: 14px; color: #333; font-weight: 600; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.goods-sub { font-size: 14px; color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

/* ============ 商品发布 / 编辑 ============ */
.product-edit .edit-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.product-edit .edit-head h2 { font-size: 19px; color: var(--ink); margin: 0; }
.edit-card { margin-bottom: 16px; border-radius: 10px; }
.card-head-flex { display: flex; align-items: center; justify-content: space-between; }

/* 图片上传位 */
.img-list { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.img-box { position: relative; border-radius: 8px; overflow: hidden; background: #eee; border: 1px solid var(--line); }
.img-box img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.main-box { width: 92px; height: 92px; }
.detail-box { width: 90px; height: 120px; }
.upload-slot { display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1.5px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 12px;
  cursor: pointer; background: var(--plate); }
.upload-slot:hover { border-color: var(--cyan); color: var(--cyan); background: var(--plate); }
.main-slot { width: 92px; height: 92px; }
.detail-slot { width: 90px; height: 120px; }
.upload-slot .plus { font-size: 24px; line-height: 1; }
.img-tag { position: absolute; left: 0; top: 0; background: var(--cyan); color: #fff;
font-size: 10px; padding: 4px 4px; border-bottom-right-radius: 6px; }
.img-del { position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; line-height: 16px;
  text-align: center; background: rgba(0,0,0,.55); color: #fff; border-radius: 50%; font-size: 13px; cursor: pointer; }
.img-del:hover { background: var(--red); }

/* 规格定义 */
.spec-rows { background: var(--plate); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 14px; }
.spec-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.spec-level { width: 46px; height: 28px; line-height: 28px; text-align: center; background: var(--cyan);
  color: #fff; border-radius: 6px; font-size: 12px; flex: none; }
.spec-values { flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; min-width: 260px;
border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; min-height: 42px; }
.batch-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
  color: var(--ink-2); font-size: 13px; }
.sku-img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; display: block; }
.sku-img-slot { width: 54px; height: 54px; line-height: 50px; text-align: center; border: 1.5px dashed var(--line);
  border-radius: 6px; color: var(--muted); font-size: 22px; cursor: pointer; background: var(--plate); }
.sku-img-slot:hover { border-color: var(--cyan); color: var(--cyan); }

/* 底部操作条 */
.edit-footer { display: flex; justify-content: flex-end; gap: 12px; background: #fff;
border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 20px;
  position: sticky; bottom: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }

/* 阶梯价弹窗 */
.ladder-tip { color: var(--muted); font-size: 12.5px; margin-bottom: 12px; line-height: 1.6; }
.ladder-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; color: #555; }

/* 规格值圆形加号：紧跟最后一个标签，随标签往后流动 */
.value-add-btn { width: 24px; height: 24px; line-height: 22px; text-align: center; border-radius: 50%;
  background: var(--cyan); color: #fff; font-size: 18px; cursor: pointer; flex: none; margin-left: 4px;
  box-shadow: 0 2px 5px rgba(122,74,36,.35); transition: transform .1s; }
.value-add-btn:active { transform: scale(.88); }

/* 批量规格图 */
.batch-img-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
background: var(--plate); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; }
.bi-label { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.sku-img-slot.bi-slot { width: 42px; height: 42px; line-height: 38px; font-size: 20px; }
.by-value-list { display: flex; flex-wrap: wrap; gap: 8px; }
.by-value-row { display: flex; align-items: center; gap: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.bv-name { font-size: 12.5px; color: var(--ink); max-width: 120px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sku-img-slot.bv-slot { width: 40px; height: 40px; line-height: 36px; font-size: 18px; }

/* 图片可拖拽排序（PC 后台） */
.img-box { cursor: grab; }
.img-box:active { cursor: grabbing; }

/* ============ 店铺管理 / 会员中心 ============ */
.panel { margin-bottom: 16px; }
.bar-head { display: flex; justify-content: space-between; align-items: center; }
.size-tip { margin-top: 4px; }

/* 客服图标编辑 */
.cs-edit { display: flex; gap: 20px; align-items: center; }
.cs-preview { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--cyan); display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); }
.cs-preview img { width: 100%; height: 100%; object-fit: cover; }
.cs-default { color: #fff; font-size: 14px; letter-spacing: 2px; }
.cs-meta { flex: 1; }

/* 轮播缩略图 / 弹窗上传 */
.banner-thumb { width: 130px; height: 62px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
.dlg-upload { display: flex; align-items: center; gap: 14px; }
.dlg-thumb { width: 200px; height: 96px; border-radius: 8px; border: 1.5px dashed var(--line); overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: var(--plate); color: var(--muted); font-size: 13px; }
.dlg-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 用户列表单元格 */
.user-cell { display: flex; align-items: center; gap: 10px; }
.uname { font-size: 13px; color: #333; line-height: 1.3; }
.usub { font-size: 11.5px; color: var(--muted); }

/* 用户详情 */
.ud-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 14px;
  background: var(--plate); border-radius: 10px; }
.ud-avatar { background: var(--line); flex: none; }
.ud-form { margin-top: 4px; }

/* ============ 图片裁剪压缩器 ============ */
.crop-mask { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 100000;
  display: flex; align-items: center; justify-content: center; }
.crop-dialog { background: #fff; border-radius: 14px; padding: 20px 24px; width: 560px;
  box-shadow: 0 18px 60px rgba(0,0,0,.3); }
.crop-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 16px; }
.crop-stage { margin: 0 auto; border-radius: 8px; overflow: hidden; position: relative;
  border: 2px solid var(--line); background: var(--plate); cursor: grab; touch-action: none; }
.crop-stage.grabbing { cursor: grabbing; }
.crop-stage canvas { display: block; }
.crop-ctrl { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; }
.crop-zbtn { width: 34px; height: 32px; border: 1px solid var(--line); background: var(--plate);
  border-radius: 8px; font-size: 18px; cursor: pointer; color: var(--cyan); line-height: 1; }
.crop-zbtn:active { transform: translateY(1px); }
.crop-range { flex: 1; accent-color: var(--cyan); cursor: pointer; }
.crop-hint { font-size: 12px; color: var(--muted); white-space: nowrap; }
.crop-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.crop-btns button { padding: 8px 20px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 14px; }
.crop-btns .crop-primary { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.crop-btns button:active { transform: translateY(1px); }

/* ============ 抽奖（大转盘 / 九宫格） ============ */
.lt-hint { color: var(--muted); font-size: 12px; margin-left: 12px; }
.lt-prize-img { width: 46px; height: 46px; border-radius: 8px; border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  overflow: hidden; background: var(--plate); margin: 0 auto; }
.lt-prize-img img { width: 100%; height: 100%; object-fit: cover; }
.lt-prize-img span { color: var(--muted); font-size: 20px; }
.lt-add-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.lt-probsum { font-size: 13px; color: var(--green); }
.lt-probsum.bad { color: var(--red); }
.pm-toolbar { display: flex; align-items: center; justify-content: space-between; }

/* ============ 积分裂变 ============ */
.fs-card { background: linear-gradient(135deg, var(--plate), var(--plate)); border: 1px solid var(--line);
border-radius: 10px; padding: 16px 12px; text-align: center; }
.fs-num { font-size: 24px; font-weight: bold; color: var(--cyan); font-family: "Microsoft YaHei", sans-serif; }
.fs-cap { font-size: 12px; color: var(--muted); margin-top: 4px; }
.fs-sec { color: var(--cyan); font-size: 15px; margin: 8px 0 12px; padding-left: 8px;
  border-left: 3px solid var(--cyan-d); }
.fs-tip { color: var(--muted); font-size: 12px; margin-left: 12px; }
.fs-sub { display: block; color: var(--muted); font-size: 12px; }

/* 满额促销：阶梯 / 赠品布局 */
.dlg-hint { color: var(--muted); font-size: 12px; margin-left: 8px; }
.lad-wrap { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.lad-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gift-wrap { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.gift-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px; background: var(--plate); border-radius: 7px; }
.gift-row .el-input-number { width: 120px; }

/* 通用商品 / 分类选择弹窗 */
.pk-body { display: flex; gap: 12px; }
.pk-left { width: 210px; display: flex; flex-direction: column; gap: 8px; }
.pk-cate-cur { font-size: 13px; color: var(--ink-2); cursor: pointer; padding: 4px 8px; border-radius: 5px; }
.pk-cate-cur:hover { background: var(--plate); }
.pk-dot { color: var(--cyan-d); margin-left: 8px; }
.pk-tree { flex: 1; overflow: auto; max-height: 360px; }
.pk-right { flex: 1; min-width: 0; }
.pk-prod { display: flex; align-items: center; gap: 8px; }
.pk-img { width: 40px; height: 40px; object-fit: cover; border-radius: 5px; background: #eee; }
.pk-noimg { width: 40px; height: 40px; line-height: 40px; text-align: center; background: var(--plate); color: var(--muted); font-size: 11px; border-radius: 5px; }
.pk-prod-meta { min-width: 0; }
.pk-name { font-size: 13px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.pk-cate { font-size: 11px; color: var(--muted); }
.pk-row-on > td { background-color: var(--cyan-soft) !important; }
.pk-sku { margin-top: 12px; padding: 8px 10px; background: var(--plate); border-radius: 6px; }
.pk-sku-title { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.pk-sum { margin-top: 8px; font-size: 12px; color: var(--cyan-d); }

/* 资金账务 */
.fin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fin-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--cyan);
border-radius: 8px; padding: 16px 20px; box-shadow: 0 1px 3px rgba(90,70,40,.05); }
.fc-label { font-size: 13px; color: var(--muted); }
.fc-value { font-size: 26px; font-weight: 700; margin-top: 8px; }
.fc-sub { font-size: 12px; color: var(--muted); margin-top: 8px; }
.fin-tip { margin-top: 12px; font-size: 12px; color: var(--muted); background: var(--plate);
border-radius: 6px; padding: 12px 12px; line-height: 1.6; }
@media (max-width: 1200px) { .fin-cards { grid-template-columns: repeat(2, 1fr); } }

/* 系统参数 */
.cfg-head { font-size: 13px; color: var(--muted); background: var(--plate); border-radius: 6px;
padding: 12px 16px; margin-bottom: 14px; line-height: 1.6; }
.cfg-group { margin-bottom: 16px; }
.cfg-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.cfg-form .el-form-item { margin-bottom: 16px; }
.cfg-num { width: 220px; }
.cfg-remark { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.cfg-actions { text-align: right; padding: 12px 0 32px; }
@media (max-width: 1200px) { .cfg-form { grid-template-columns: 1fr; } }

/* ========== 营销中心·精致功能导航 ========== */
.mk2-panel { padding: 20px 24px; }
.mk2-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.mk2-group { margin-bottom: 24px; }
.mk2-gtitle { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700;
  color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.mk2-bar { width: 4px; height: 15px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
.mk2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.mk2-bottom { display: grid; grid-template-columns: 2fr 3fr; gap: 14px; }
.mk2-bcol { margin-bottom: 0; min-width: 0; }
.mk2-bcol .mk2-grid { gap: 14px; }
.mk2-bcol:first-child .mk2-grid { grid-template-columns: repeat(2, 1fr); }
.mk2-bcol:last-child .mk2-grid { grid-template-columns: repeat(3, 1fr); }
.mk2-tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px;
padding: 16px 16px; display: flex; align-items: center; gap: 11px; cursor: pointer; overflow: hidden;
  box-shadow: 0 2px 8px rgba(90,60,30,.06); user-select: none;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.mk2-tile:hover { transform: translateY(-2px); border-color: var(--cyan);
  box-shadow: 0 10px 22px rgba(34,54,76,.12); }
.mk2-tile:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(90,60,30,.08); }
.mk2-strip { position: absolute; left: 0; top: 0; height: 3px; width: 100%; }
.mk2-badge { position: absolute; right: 10px; top: 10px; min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: 10px; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,.12); }
.mk2-ic { width: 40px; height: 40px; border-radius: 10px; font-size: 21px; line-height: 40px;
  text-align: center; flex-shrink: 0; }
.mk2-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-right: 20px; }
.mk2-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.mk2-desc { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 底部卡片与上方方格同尺寸：横向布局、等宽等高，不做竖排特殊处理 */
/* 返回条 */
.mk-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2);
cursor: pointer; padding: 4px 0 12px; font-weight: 600; }
.mk-back span { font-size: 20px; line-height: 1; }
.mk-back:hover { color: var(--cyan-d); }
@media (max-width: 1400px){
  .mk2-grid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* ===== 商品手机端预览 ===== */
.pv-pointer { cursor: pointer; }
.pv-dlg.el-dialog { background: transparent !important; box-shadow: none !important;
  width: fit-content !important; max-width: none !important;
  margin-left: auto !important; margin-right: 30px !important; --el-dialog-margin-top: 5vh; }
.pv-dlg .el-dialog__header { display: none; }
.pv-dlg .el-dialog__body { padding: 0; }
.el-overlay:has(.pv-dlg) { background: transparent !important; }
.pv-phone { position: relative; width: 400px; height: min(884px,92vh); background: #fff;
  border-radius: 48px; border: 10px solid #1c1c1e; box-shadow: 0 24px 60px rgba(0,0,0,.28);
  display: flex; flex-direction: column; overflow: hidden; }
.pv-status { flex-shrink: 0; height: 34px; display: flex; align-items: center; justify-content: space-between;
padding: 0 24px; font-size: 12px; color: #111; position: relative; }
.pv-island { position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 96px; height: 22px; background: #111; border-radius: 12px; }
.pv-bats { font-size: 10px; }
.pv-topbar { flex-shrink: 0; height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; border-bottom: 1px solid var(--plate); }
.pv-back { font-size: 22px; color: #fff; cursor: pointer; width: 30px; height: 30px; line-height: 28px;
  text-align: center; background: rgba(0,0,0,.28); border-radius: 50%; }
.pv-dot { letter-spacing: 2px; color: #555; font-weight: 700; }
.pv-screen { flex: 1; overflow-y: auto; background: #fff; }
.pv-swiper { width: 100%; }
.pv-swiper-img { width: 100%; height: 380px; object-fit: cover; display: block; }
.pv-noimg { height: 380px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: var(--plate); }
.pv-info { padding: 12px 16px 4px; }
.pv-price-row { display: flex; align-items: baseline; justify-content: space-between; }
.pv-price { color: var(--cyan-d); font-size: 30px; font-weight: 800; }
.pv-empty { color: var(--muted); }
.pv-sold { font-size: 12px; color: var(--muted); }
.pv-title { font-size: 18px; font-weight: 700; color: #222; margin-top: 6px; line-height: 1.4; }
.pv-tags { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.pv-tag { font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); background: var(--plate);
border-radius: 4px; padding: 4px 8px; }
.pv-spec { display: flex; align-items: center; gap: 10px; margin: 12px 16px; padding: 12px;
  background: var(--plate); border-radius: 10px; font-size: 13px; }
.pv-spec-label { color: #333; font-weight: 600; }
.pv-spec-val { color: var(--muted); flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pv-arrow { width: 26px; height: 26px; line-height: 24px; text-align: center; flex-shrink: 0;
  background: var(--line); color: var(--muted); font-size: 20px; border-radius: 6px; font-weight: 500; }
.pv-detail-head { font-size: 14px; font-weight: 700; color: #333; padding: 12px 16px; text-align: center; }
.pv-detail-img { display: block; width: 100%; height: auto; }
.pv-nodetail { text-align: center; color: var(--muted); font-size: 13px; padding: 32px 0; }
.pv-end { text-align: center; color: var(--muted); font-size: 12px; padding: 16px 0 24px; }
.pv-action { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 8px 12px 16px;
  background: #fff; border-top: 1px solid var(--line); }
.pv-ico { width: 46px; text-align: center; font-size: 10px; color: #555; cursor: pointer; }
.pv-ico span { display: block; font-size: 18px; margin-bottom: 4px; }
.pv-btn { flex: 1; height: 40px; border-radius: 20px; color: #fff; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pv-add { background: var(--orange); }
.pv-buy { background: var(--cyan); }

/* ===== 会员等级：成长轴 + 权益卡 ===== */
.lv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lv-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
  background: linear-gradient(135deg,var(--plate),var(--plate)); border: 1px solid var(--line); border-radius: 14px;
padding: 24px 20px; margin-bottom: 16px; min-height: 120px; }
.lvt-node { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lvt-badge { width: 58px; height: 58px; border-radius: 50%; color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(122,74,36,.28);
  border: 3px solid #fff; }
.lvt-name { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.lvt-sep { color: var(--orange); font-size: 22px; font-weight: 700; margin: 20px 8px 0; }
.lv-empty { color: var(--muted); font-size: 14px; }
.lv-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 16px; }
.lv-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s; }
.lv-card:hover { box-shadow: 0 12px 28px rgba(10,126,150,.12); transform: translateY(-2px); }
.lvc-top { display: flex; align-items: center; gap: 10px; }
.lvc-badge { width: 44px; height: 44px; border-radius: 12px; color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lvc-titles { flex: 1; min-width: 0; }
.lvc-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.lvc-code { font-size: 11px; color: var(--muted); margin-top: 4px; }
.lvc-cond { display: flex; gap: 12px; background: var(--plate); border-radius: 10px; padding: 10px; }
.lvc-citem { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--muted); }
.lvc-citem b { font-size: 15px; color: var(--cyan); }
.lvc-rights { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-2); }
.lvc-rt { display: flex; align-items: center; gap: 8px; }
.lvc-check { color: var(--green); font-weight: 700; }
.lvc-ops { display: flex; justify-content: flex-end; gap: 6px; border-top: 1px dashed var(--line); padding-top: 8px; }

/* ===== 会员客户：概览卡 + 客户名片 ===== */
.cm-overview { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 14px; }
.cmo-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px;
  display: flex; flex-direction: column; gap: 6px; }
.cmo-num { font-size: 28px; font-weight: 800; color: var(--cyan); line-height: 1; }
.cmo-na { color: var(--muted); }
.cmo-label { font-size: 13px; color: var(--muted); }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 14px;
margin-top: 16px; min-height: 120px; }
.cm-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cm-card:hover { border-color: var(--cyan); box-shadow: 0 12px 26px rgba(10,126,150,.12); transform: translateY(-2px); }
.cmc-top { display: flex; align-items: center; gap: 10px; }
.cmc-id { flex: 1; min-width: 0; }
.cmc-name { font-size: 14px; font-weight: 700; color: var(--ink); display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap; }
.cmc-portal { font-size: 10px; padding: 4px 8px; border-radius: 4px; font-weight: 600; }
.cmc-ret { background: #e3f5ec; color: var(--green); }
.cmc-pur { background: var(--orange-soft); color: var(--orange-d); }
.cmc-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.cmc-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.cmc-on { background: var(--green); }
.cmc-off { background: var(--line); }
.cmc-phone { font-size: 13px; color: var(--ink-2); background: var(--plate); border-radius: 8px; padding: 8px 12px; }
.cmc-stats { display: flex; gap: 10px; }
.cmcs-item { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cmcs-item b { font-size: 16px; color: var(--cyan); }
.cmcs-item span { font-size: 11px; color: var(--muted); }
.cm-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }
@media (max-width:1100px) { .cm-overview { grid-template-columns: repeat(2,1fr); } }

/* ===== 分销看板：统计卡 + 团队树 + 佣金/提现 ===== */
.ds-stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-bottom: 14px; }
.dss-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px;
  display: flex; align-items: center; gap: 12px; }
.dss-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0; }
.dss-b1 .dss-ico { background: var(--cyan-soft); } .dss-b2 .dss-ico { background: var(--orange-soft); }
.dss-b3 .dss-ico { background: var(--blue-soft); } .dss-b4 .dss-ico { background: var(--violet-soft); }
.dss-b5 .dss-ico { background: #e3f5ec; }
.dss-num { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.dss-label { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ds-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ds-tb-btns { display: flex; gap: 8px; }
.ds-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 14px; }
.ds-tree, .ds-side { display: flex; flex-direction: column; min-width: 0; }
.ds-panel-head { font-size: 13px; font-weight: 700; color: var(--ink); padding: 12px 12px; background: var(--plate);
  border: 1px solid var(--line); border-bottom: none; border-radius: 10px 10px 0 0; display: flex;
  align-items: center; justify-content: space-between; }
.ds-tree-scroll { border: 1px solid var(--line); border-radius: 0 0 10px 10px; max-height: 440px; overflow: auto;
  background: #fff; }
.dst-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dst-row:hover { background: var(--plate); }
.dst-arrow { width: 18px; flex-shrink: 0; text-align: center; color: var(--muted); cursor: pointer; font-size: 10px; }
.dst-leaf { color: var(--line); font-size: 8px; }
.dst-ava { flex-shrink: 0; }
.dst-name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dst-tag { flex-shrink: 0; transform: scale(.9); }
.dst-meta { margin-left: auto; font-size: 11px; color: var(--muted); white-space: nowrap; padding-right: 8px; }
.ds-summini { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 12px; }
.dsm-item { background: linear-gradient(135deg,var(--plate),var(--plate)); border: 1px solid var(--line); border-radius: 12px;
padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.dsm-item b { font-size: 17px; color: var(--cyan); }
.dsm-item span { font-size: 11px; color: var(--muted); }
.ds-pending { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ds-pending .el-table { border: 1px solid var(--line); border-top: none; }
.ds-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 32px 0; }
@media (max-width:1200px) {
  .ds-stats { grid-template-columns: repeat(3,1fr); }
  .ds-body { grid-template-columns: 1fr; }
}

/* ========== 数据中心 · 多维网格看板 ========== */
.db-bar { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line);
border-radius:12px; padding:12px 16px; margin-bottom:14px; }
.db-win { display:flex; gap:6px; }
.db-win button { border:1px solid var(--line); background:var(--plate); color:var(--ink-2); font-size:13px;
padding:8px 16px; border-radius:8px; cursor:pointer; transition:.14s; }
.db-win button:hover { border-color:var(--cyan); color:var(--cyan); }
.db-win button.on { background:var(--cyan); border-color:var(--cyan); color:#fff; }
.db-period { width:136px; }
.db-bar-right { margin-left:auto; }

.db-kpi { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-bottom:14px; }
.db-kpi-card { display:flex; gap:12px; background:#fff; border:1px solid var(--line); border-radius:12px;
padding:16px; transition:.16s; }
.db-kpi-card:hover { box-shadow:0 8px 22px rgba(90,60,30,.08); transform:translateY(-1px); }
.db-kpi-ic { flex:none; width:44px; height:44px; border-radius:12px; background:var(--cyan-soft); color:var(--cyan-d);
  display:flex; align-items:center; justify-content:center; }
.db-kpi-main { min-width:0; flex:1; }
.db-kpi-name { font-size:12.5px; color:var(--muted); }
.db-kpi-val { font-size:21px; font-weight:700; color:var(--ink); line-height:1.3; white-space:nowrap; }
.db-kpi-rates { display:flex; gap:12px; margin-top:4px; flex-wrap:wrap; }
.db-rate { font-size:11px; color:var(--muted); display:inline-flex; align-items:center; }
.db-rate .app-icon { color:var(--muted); }
.db-rate b { font-weight:600; }
.rate-up { color:var(--orange-d); }
.rate-down { color:var(--green); }
.rate-flat { color:var(--muted); }
.db-na { font-size:11px; color:var(--muted); margin-top:4px; }

.db-card { background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; height:100%; }
.db-card-h { display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--line); }
.db-card-bar { width:4px; height:15px; border-radius:2px; background:var(--cyan-d); }
.db-card-h b { font-size:14.5px; color:var(--ink); }
.db-card-sub { font-size:11.5px; color:var(--muted); margin-left:auto; }
.db-card-b { padding:12px 12px; }
.db-empty { text-align:center; color:var(--muted); font-size:12.5px; padding:60px 0; }

.db-bars { padding:8px 8px; }
.db-pro { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.db-pro-l { width:46px; font-size:12px; color:var(--ink-2); flex:none; }
.db-pro-track { flex:1; height:9px; background:var(--plate); border-radius:6px; overflow:hidden; }
.db-pro-fill { height:100%; border-radius:6px; transition:width .5s; }
.db-pro-v { width:44px; text-align:right; font-size:12px; color:var(--cyan); flex:none; }
.db-pro-sum { font-size:11px; color:var(--muted); margin-top:8px; }

.db-region { padding:12px 8px; }
.db-reg { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.db-reg-l { width:44px; font-size:12px; color:var(--ink-2); flex:none; }
.db-reg-track { flex:1; height:9px; background:var(--plate); border-radius:6px; overflow:hidden; }
.db-reg-fill { height:100%; border-radius:6px; background:linear-gradient(90deg,var(--orange),var(--cyan-d)); transition:width .5s; }
.db-reg-v { width:44px; text-align:right; font-size:12px; color:var(--cyan); flex:none; }

@media (max-width:1400px) { .db-kpi { grid-template-columns:repeat(3,1fr); } }

/* ========== 客服中心 · 三栏 ========== */
.cs-wrap { display:flex; gap:12px; height:calc(100vh - var(--tg-beian-h, 0px) - 112px); min-height:560px; }

.cs-sider { width:268px; flex:none; background:#fff; border:1px solid var(--line); border-radius:12px;
  display:flex; flex-direction:column; overflow:hidden; }
.cs-toolbar { display:flex; gap:8px; padding:12px; }
.cs-start { flex:none; background:var(--cyan); border-color:var(--cyan); color:#fff; }
.cs-start:hover { background:var(--cyan-d); border-color:var(--cyan-d); color:#fff; }
.cs-tabs { display:flex; gap:4px; padding:0 12px; border-bottom:1px solid var(--line); }
.cs-tabs span { padding:8px 12px; font-size:13px; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; }
.cs-tabs span.on { color:var(--cyan); border-bottom-color:var(--cyan-d); font-weight:600; }
.cs-tabs i { font-style:normal; color:var(--orange-d); }
.cs-conv-list { flex:1; overflow-y:auto; padding:8px; }
.cs-conv { display:flex; gap:10px; padding:8px; border-radius:10px; cursor:pointer; }
.cs-conv:hover { background:var(--plate); }
.cs-conv.on { background:var(--cyan-soft); }
.cs-conv-mid { flex:1; min-width:0; }
.cs-conv-name { font-size:13.5px; color:var(--ink); font-weight:600; display:flex; align-items:center; gap:6px; }
.cs-conv-preview { font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:4px; }
.cs-conv-right { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex:none; }
.cs-conv-time { font-size:11px; color:var(--muted); }
.cs-badge { background:var(--orange-d); color:#fff; font-size:11px; min-width:17px; height:17px; line-height:17px;
text-align:center; border-radius:9px; padding:0 4px; }
.cs-tag { font-size:10px; padding:4px 4px; border-radius:4px; font-weight:400; }
.cs-tag-user { background:var(--cyan-soft); color:var(--cyan-d); }
.cs-tag-staff { background:var(--plate); color:var(--muted); }
.cs-conv-empty { text-align:center; color:var(--muted); font-size:12.5px; padding:40px 0; }

.cs-chat { flex:1; min-width:0; background:#fff; border:1px solid var(--line); border-radius:12px;
  display:flex; flex-direction:column; overflow:hidden; position:relative; }
.cs-chat-h { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid var(--line); }
.cs-chat-who { display:flex; align-items:center; gap:10px; }
.cs-chat-name { font-size:14.5px; font-weight:700; color:var(--ink); }
.cs-chat-sub { font-size:11.5px; color:var(--muted); margin-top:4px; }
.cs-chat-ops { display:flex; gap:8px; }
.cs-msg-list { flex:1; overflow-y:auto; padding:16px; background:var(--plate); }
.cs-sys { text-align:center; font-size:12px; color:var(--muted); background:var(--plate); border-radius:6px;
padding:4px 12px; margin:10px auto; width:fit-content; max-width:80%; }
.cs-msg-row { display:flex; gap:8px; margin-bottom:16px; }
.cs-msg-row.mine { flex-direction:row-reverse; }
.cs-bubble { max-width:66%; }
.cs-msg-row:not(.mine) .cs-bubble { background:#fff; border:1px solid var(--line); color:var(--ink);
padding:8px 12px; border-radius:4px 12px 12px 12px; font-size:13.5px; word-break:break-word; }
.cs-msg-row.mine .cs-bubble { background:var(--cyan); color:#fff; padding:8px 12px;
  border-radius:12px 4px 12px 12px; font-size:13.5px; word-break:break-word; }
.cs-img { width:220px; height:160px; border-radius:8px; display:block; }
.cs-video { width:260px; max-width:100%; border-radius:8px; }
.cs-file { display:flex; gap:10px; align-items:center; text-decoration:none; min-width:220px; }
.cs-file-badge { width:40px; height:40px; background:rgba(10,126,150,.15); color:var(--cyan-d); border-radius:8px;
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; flex:none; }
.mine .cs-file-badge { background:rgba(255,255,255,.2); color:#fff; }
.cs-file-meta { display:flex; flex-direction:column; }
.cs-file-meta b { font-size:13px; } .cs-file-meta small { font-size:11px; opacity:.7; }

.cs-goods { display:flex; gap:10px; min-width:230px; }
.cs-goods img { width:64px; height:64px; border-radius:8px; object-fit:cover; flex:none; background:var(--plate); }
.cs-goods-info { display:flex; flex-direction:column; justify-content:center; min-width:0; }
.cs-goods-info b { font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cs-goods-price { color:var(--orange); font-size:14px; font-weight:700; margin-top:4px; }
.mine .cs-goods-price { color:#ffd9b8; }
.cs-order { display:flex; gap:10px; align-items:center; min-width:230px; }
.cs-order .app-icon { color:var(--cyan-d); flex:none; }
.mine .cs-order .app-icon { color:#ffd9b8; }
.cs-order-info { display:flex; flex-direction:column; }
.cs-order-info b { font-size:14px; } .cs-order-info small { font-size:11.5px; opacity:.75; margin-top:3px; }

.cs-reply-pop { position:absolute; right:16px; bottom:150px; width:300px; background:#fff;
border:1px solid var(--line); border-radius:10px; box-shadow:0 10px 30px rgba(34,54,76,.12); padding:8px; z-index:20; }
.cs-reply-item { padding:8px 12px; font-size:12.5px; color:var(--ink-2); border-radius:7px; cursor:pointer; line-height:1.5; }
.cs-reply-item:hover { background:var(--plate); color:var(--cyan); }

.cs-input { border-top:1px solid var(--line); padding:8px 16px 12px; }
.cs-quick { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.cs-quick-btn { display:inline-flex; align-items:center; color:var(--muted); font-size:12.5px; padding:4px 8px;
  border-radius:7px; cursor:pointer; }
.cs-quick-btn:hover { background:var(--plate); color:var(--cyan); }
.cs-text-box { display:flex; gap:10px; align-items:flex-end; }
.cs-send { background:var(--cyan); border-color:var(--cyan); height:40px; }
.cs-send:hover { background:var(--cyan-d); border-color:var(--cyan-d); }

.cs-profile { width:300px; flex:none; background:#fff; border:1px solid var(--line); border-radius:12px;
  overflow-y:auto; }
.cp-head { text-align:center; padding:20px 16px 16px; background:linear-gradient(180deg,var(--plate),#fff); }
.cp-name { font-size:16px; font-weight:700; color:var(--ink); margin-top:8px; }
.cp-level { display:inline-block; margin-top:8px; background:var(--cyan); color:#fff; font-size:11px;
padding:4px 12px; border-radius:10px; }
.cp-phone { font-size:12px; color:var(--muted); margin-top:8px; }
.cp-tags { display:flex; flex-wrap:wrap; gap:6px; padding:12px 16px; border-top:1px solid var(--line); }
.cp-tag { font-size:11px; background:var(--cyan-soft); color:var(--cyan-d); padding:4px 8px; border-radius:6px; }
.cp-tag i { font-style:normal; margin-left:4px; cursor:pointer; color:var(--muted); }
.cp-tag-add { background:#fff; border:1px dashed var(--line); color:var(--muted); cursor:pointer; }
.cp-rows { padding:4px 16px; }
.cp-row { display:flex; justify-content:space-between; font-size:12.5px; padding:8px 0; color:var(--muted); }
.cp-row b { color:var(--ink-2); font-weight:600; }
.cp-stats { display:flex; gap:8px; padding:12px 16px; }
.cp-stat { flex:1; text-align:center; background:var(--plate); border-radius:9px; padding:12px 4px; }
.cp-stat b { display:block; font-size:14px; color:var(--cyan); white-space:nowrap; }
.cp-stat span { font-size:11px; color:var(--muted); }
.cp-block { padding:8px 16px; border-top:1px solid var(--line); }
.cp-block-h { font-size:13px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.cp-order { display:flex; align-items:center; gap:8px; padding:8px 0; }
.cp-order .app-icon { color:var(--muted); flex:none; }
.cp-order-mid { flex:1; display:flex; flex-direction:column; }
.cp-order-mid small { font-size:11.5px; color:var(--ink-2); }
.cp-order-status { font-size:10px; color:var(--muted); }
.cp-order-amt { font-size:12.5px; color:var(--cyan); }
.cp-mini-empty { font-size:12px; color:var(--muted); padding:12px 0; text-align:center; }
.cp-addr { padding:8px 0; }
.cp-addr-l { font-size:12.5px; color:var(--ink-2); font-weight:600; }
.cp-default { font-style:normal; background:var(--cyan-soft); color:var(--cyan-d); font-size:10px; padding:4px 4px; border-radius:4px; margin-left:6px; }
.cp-addr-d { font-size:11.5px; color:var(--muted); margin-top:4px; line-height:1.5; }
.cp-foot { display:flex; gap:8px; padding:12px 16px; border-top:1px solid var(--line); position:sticky; bottom:0; background:#fff; }
.cp-foot .el-button { flex:1; }

.cs-staff { max-height:420px; overflow-y:auto; }
.cs-staff-item { display:flex; align-items:center; gap:10px; padding:8px; border-radius:9px; cursor:pointer; }
.cs-staff-item:hover { background:var(--plate); }
.cs-staff-name { font-size:13.5px; color:var(--ink); }
.cs-staff-role { margin-left:auto; font-size:11.5px; color:var(--muted); }
.cs-pick-order { display:flex; align-items:center; gap:10px; padding:12px 8px; border-radius:9px; cursor:pointer; }
.cs-pick-order:hover { background:var(--plate); }
.cs-pick-mid { flex:1; display:flex; flex-direction:column; }
.cs-pick-mid b { font-size:13px; } .cs-pick-mid small { font-size:11.5px; color:var(--muted); }
.cs-tag-edit { min-height:40px; display:flex; flex-wrap:wrap; gap:6px; }

/* ============ 内容中心（图文/短视频/直播） ct- ============ */
.ct-cover { width: 64px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--plate); display: block; flex: none; }
.ct-cover.v { width: 40px; height: 64px; }
.ct-cover-ph { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; border: 1px dashed var(--line); }
.ct-title { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-sub { color: var(--muted); font-size: 12px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
.ct-preview { border: 1px solid var(--line); border-radius: 8px; padding: 16px; max-height: 380px; overflow: auto; background: #ffffff; line-height: 1.8; }
.ct-preview img { max-width: 100%; }
.ct-video-box { width: 100%; max-width: 420px; border-radius: 8px; background: #000; display: block; }
.ct-stream { font-family: Consolas, monospace; font-size: 12px; background: var(--plate); border: 1px solid var(--line);
border-radius: 6px; padding: 8px 12px; word-break: break-all; margin-bottom: 10px; color: var(--ink-2); }
.ct-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- 水擎号：左编辑 + 右预览双栏 ---- */
.ct-editor { display: flex; gap: 26px; align-items: flex-start; }
.ct-edit-col { flex: 1; min-width: 0; }
.ct-prev-col { width: 400px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px;
position: sticky; top: 0; padding: 8px 0 12px; }
.ct-prev-empty { width: 375px; height: 560px; border: 1.5px dashed var(--line); border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; line-height: 2; text-align: center; background: var(--plate); }
.ct-editor-dlg .el-dialog__body { padding-top: 8px; }

/* 手机框（公众号图文预览） */
.ct-phone { width: 375px; height: 660px; background: #fff; border: 10px solid #23201c; border-radius: 40px;
  overflow: hidden; position: relative; box-shadow: 0 16px 44px rgba(60, 42, 20, .22); flex: none; }
.ct-phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 150px; height: 24px;
  background: #23201c; border-radius: 0 0 16px 16px; z-index: 3; }
.ct-phone-statusbar { height: 40px; display: flex; justify-content: space-between; align-items: center;
padding: 8px 24px 0; font-size: 12px; color: #333; font-weight: 600; background: #fff; }
.ct-phone-nav { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px;
  font-weight: 700; color: #333; border-bottom: 1px solid var(--line); background: #fff; }
.ct-phone-scroll { height: calc(100% - 84px); overflow-y: auto; padding: 20px 20px 32px; background: #fff; }
.ct-phone-scroll::-webkit-scrollbar { width: 0; }
.ct-art-title { font-size: 19px; font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.ct-art-meta { font-size: 12.5px; color: var(--muted); margin: 8px 0 16px; }
.ct-art-cover { width: 100%; border-radius: 8px; margin-bottom: 16px; display: block; }
.ct-art-body { font-size: 15px; line-height: 1.9; color: var(--ink-2); word-break: break-word; }
.ct-art-body img, .ct-art-body video { max-width: 100%; border-radius: 6px; }
.ct-art-foot { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* 手机框（竖版短视频预览） */
.ct-phone-video { background: #000; }
.ct-phone-video video { width: 100%; height: calc(100% - 44px); object-fit: contain; margin-top: 40px; display: block; }
.ct-phone-vtitle { position: absolute; bottom: 14px; left: 14px; right: 14px; color: #fff; font-size: 13.5px;
  font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 横版/方形视频预览 */
.ct-vwide { width: 100%; background: #000; border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(60, 42, 20, .18); }
.ct-vwide video { width: 100%; display: block; max-height: 420px; }
.ct-vwide-title { background: #fff; padding: 12px 16px; font-size: 14px; font-weight: 600; color: #1a1a1a; }
.ct-vmeta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* 直播数据看板 */
.ct-lstats { display: flex; gap: 12px; }
.ct-lstat { flex: 1; background: var(--plate); border: 1px solid var(--line); border-radius: 10px;
padding: 20px 8px; text-align: center; }
.ct-lstat b { display: block; font-size: 22px; color: var(--cyan); font-weight: 700; }
.ct-lstat span { font-size: 12px; color: var(--muted); }
.ct-explain-radio { margin-right: 0; }

/* 直播评论流 / 问题提炼 / 红包 / 福袋 */
.ct-comments { max-height: 380px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; }
.ct-comment { padding: 12px 12px; border-bottom: 1px solid var(--line); }
.ct-comment:last-child { border-bottom: 0; }
.ct-comment.blocked { background: #fbe9e8; opacity: .75; }
.ct-comment-head { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.ct-comment-head b { color: var(--cyan); }
.ct-comment-time { color: var(--muted); font-size: 12px; flex: 1; }
.ct-comment-body { margin-top: 4px; font-size: 14px; line-height: 1.6; word-break: break-all; }
.ct-comment-reply { margin-top: 8px; padding: 8px 10px; background: var(--orange-soft); border-left: 3px solid var(--yellow);
  border-radius: 0 6px 6px 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ct-insight-title { font-weight: 700; color: var(--cyan); margin: 16px 0 8px; font-size: 14px; }
.ct-intent-row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.ct-intent-cat { width: 80px; flex-shrink: 0; font-size: 13px; color: var(--ink-2); }
.ct-hotwords { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-qline { padding: 8px 12px; background: var(--plate); border-radius: 6px; margin-bottom: 6px;
  font-size: 13px; color: var(--ink-2); }
.ct-qline.improve { background: var(--orange-soft); border-left: 3px solid var(--yellow); }
.ct-lucky-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 160px; overflow-y: auto; }
.ct-rp-item { border: 1px solid var(--line); border-radius: 8px; padding: 12px 12px; margin-bottom: 10px; }
.ct-rp-head { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.ct-rp-head b { color: var(--cyan); }
.ct-rp-logs { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ct-rp-log { font-size: 12px; color: var(--muted); }
