/* ============================================================
   TJ-LIVE V2 · 新增组件层
   说明：static/style.css 为 V1.0 既有样式（保留，兼容编辑器 / 观众端 / 旧模板），
   本文件只补 V2 新信息架构需要的组件，不改动既有类名，避免影响观众端。
   ============================================================ */

/* ---------- 房间工作区：身份条 ---------- */
.room-head{background:#fff;border:1px solid var(--border);border-radius:12px;
  box-shadow:0 1px 2px rgba(15,23,42,.04);padding:16px 20px;margin-bottom:14px}
.room-head .rh-top{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}
.room-head .rh-title{font-size:19px;font-weight:650;letter-spacing:-.01em;line-height:1.3}
.room-head .rh-url{display:flex;align-items:center;gap:8px;margin-top:7px;flex-wrap:wrap}
.room-head .rh-url code{background:#f8fafc;border:1px solid #eef2f7;border-radius:6px;
  padding:2px 8px;font-size:12.5px;color:#334155}
.room-head .rh-actions{display:flex;gap:8px;flex-wrap:wrap}
.room-head .rh-states{display:flex;gap:8px;flex-wrap:wrap;align-items:center;
  margin-top:13px;padding-top:13px;border-top:1px solid #eef2f7}

/* ---------- 房间工作区：子导航 ---------- */
.subnav{display:flex;gap:2px;background:#fff;border:1px solid var(--border);
  border-radius:12px;padding:5px;margin-bottom:16px;overflow-x:auto;
  box-shadow:0 1px 2px rgba(15,23,42,.04)}
.subnav a{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:8px;
  color:#64748b;font-size:13.5px;white-space:nowrap;text-decoration:none}
.subnav a:hover{background:#f6f8fb;color:var(--text);text-decoration:none}
.subnav a.active{background:#eff4ff;color:#2563eb;font-weight:550}
.subnav a .num{width:17px;height:17px;border-radius:50%;border:1.4px solid currentColor;
  font-size:10px;display:inline-grid;place-items:center;opacity:.8;flex:0 0 17px}
.subnav a.done .num{background:#0f766e;border-color:#0f766e;color:#fff;opacity:1}

/* ---------- 开播准备：进度环与清单 ---------- */
.progress{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ring{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;flex:0 0 58px;
  background:conic-gradient(#2563eb calc(var(--p) * 1%), #e8eef8 0)}
.ring span{width:46px;height:46px;border-radius:50%;background:#fff;display:grid;
  place-items:center;font-size:12.5px;font-weight:700}
.check-group{border:1px solid #eef2f7;border-radius:10px;margin-bottom:12px;overflow:hidden;
  background:#fff}
.check-group > .cg-head{display:flex;align-items:center;gap:8px;padding:10px 14px;
  background:#fbfcfe;border-bottom:1px solid #eef2f7;font-size:12.5px;color:#64748b;
  font-weight:600}
.check-group > .cg-head .cnt{margin-left:auto;font-weight:500;color:#94a3b8}
.check{display:flex;align-items:center;gap:11px;padding:12px 14px;
  border-bottom:1px solid #eef2f7}
.check:last-child{border-bottom:none}
.check .mk{width:19px;height:19px;border-radius:50%;flex:0 0 19px;display:grid;
  place-items:center;font-size:11px;border:1.5px solid #cbd5e1;color:#94a3b8;background:#fff}
.check.ok .mk{background:#0f766e;border-color:#0f766e;color:#fff}
.check.todo .mk{border-color:#d97706;color:#b45309}
.check.hold .mk{border-color:#cbd5e1;background:#f1f5f9;color:#94a3b8}
.check .what{flex:1;min-width:0}
.check .what b{font-weight:600;font-size:13.5px}
.check .what small{display:block;color:#64748b;font-size:12.5px;margin-top:1px}
.check .who{font-size:11.5px;color:#94a3b8;white-space:nowrap}

/* ---------- 状态 / 待办 / 统计 ---------- */
.tag-dot::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;
  display:inline-block;margin-right:1px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}
.stat-box{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px 18px;
  box-shadow:0 1px 2px rgba(15,23,42,.04);text-decoration:none;color:inherit;display:block;
  transition:border-color .12s,transform .12s}
.stat-box:hover{border-color:#c7d2fe;transform:translateY(-1px);text-decoration:none}
.stat-box .n{font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.stat-box .l{font-size:12.5px;color:#64748b;margin-top:4px}
.stat-box.warn .n{color:#b45309}
.stat-box.bad .n{color:#b91c1c}
.stat-box.on{border-color:#93c5fd;background:#f8fbff}

.todo-group{border:1px solid #eef2f7;border-radius:10px;overflow:hidden;margin-bottom:10px;
  background:#fff}
.todo-group > summary{display:flex;align-items:center;gap:10px;padding:11px 14px;cursor:pointer;
  list-style:none;font-size:13.5px;background:#fff}
.todo-group > summary::-webkit-details-marker{display:none}
.todo-group > summary:hover{background:#fbfcfe}
.todo-group .pill{width:8px;height:8px;border-radius:50%;flex:0 0 8px}
.todo-group .pill.err{background:#dc2626}
.todo-group .pill.warn{background:#d97706}
.todo-group .pill.ok{background:#059669}
.todo-group .cnt{margin-left:auto;color:#64748b;font-size:12.5px}
.todo-group .body{padding:6px 14px 12px;font-size:13px;color:#64748b;
  border-top:1px solid #eef2f7}
.todo-group .body ul{margin:6px 0 0;padding-left:18px}
.todo-group .body li{margin-bottom:4px}

/* ---------- 时间线 / 键值 / 分页 ---------- */
.timeline{list-style:none;margin:0;padding:0}
.timeline li{position:relative;padding:0 0 14px 18px;font-size:13px;
  border-left:1px solid #eef2f7;margin-left:5px}
.timeline li:last-child{border-left-color:transparent;padding-bottom:0}
.timeline li::before{content:"";position:absolute;left:-4.5px;top:5px;width:8px;height:8px;
  border-radius:50%;background:#cbd5e1;border:2px solid #fff}
.timeline li.err::before{background:#dc2626}
.timeline li .t{color:#64748b;font-size:12px}

.kv{display:grid;grid-template-columns:104px 1fr;gap:8px 12px;font-size:13.5px;margin:0}
.kv dt{color:#64748b;font-size:12.5px}
.kv dd{margin:0}

.pager{display:flex;gap:6px;align-items:center;justify-content:flex-end;padding:12px 4px 0;
  font-size:13px}
.pager a,.pager span.cur{border:1px solid var(--border);background:#fff;border-radius:7px;
  padding:5px 10px;font-size:12.5px;color:#64748b;text-decoration:none}
.pager span.cur{background:#2563eb;border-color:#2563eb;color:#fff}

/* ---------- 提示条补充 ---------- */
.alert{display:flex;gap:10px;padding:11px 14px;border-radius:9px;font-size:13px;
  border:1px solid;margin-bottom:14px;align-items:flex-start}
.alert-warn{background:#fffbeb;border-color:#fcd34d;color:#92400e}
.alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}
.alert .ic{flex:0 0 16px;margin-top:1px}

/* ---------- 空状态三分法（未开始 / 未就绪 / 故障）---------- */
.empty{text-align:center;padding:28px 18px;border:1px dashed #e2e8f0;border-radius:10px;
  background:#fbfcfe;color:#64748b}
.empty .em-ico{font-size:22px;line-height:1;margin-bottom:8px}
.empty p{margin:0 0 10px;font-size:13.5px}
.empty p:last-child{margin-bottom:0}
.empty.err{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.empty.warn{border-color:#fcd34d;background:#fffbeb;color:#92400e}

/* ---------- 权限选择卡 ---------- */
.radio-card{display:flex;gap:11px;padding:13px 15px;border:1.5px solid var(--border);
  border-radius:9px;margin-bottom:10px;cursor:pointer;background:#fff}
.radio-card.on{border-color:#2563eb;background:#eff4ff}
.radio-card input{margin-top:3px}
.radio-card .t{font-weight:600;font-size:13.5px}
.radio-card .d{color:#64748b;font-size:12.5px;margin-top:2px}

/* ---------- 状态解释浮层 ---------- */
.pop{position:absolute;z-index:80;width:290px;background:#fff;border:1px solid var(--border);
  border-radius:11px;box-shadow:0 12px 32px rgba(15,23,42,.16);padding:14px 16px;text-align:left;
  font-size:12.5px;line-height:1.6}
.pop h4{font-size:13px;margin:0 0 9px;display:flex;align-items:center;gap:7px}
.pop dl{display:grid;grid-template-columns:68px 1fr;gap:6px 10px;margin:0 0 10px}
.pop dt{color:#64748b}
.pop dd{margin:0}
.pop .foot{border-top:1px solid #eef2f7;padding-top:9px}
button.tag{cursor:pointer;font-family:inherit;border-width:1px}
button.tag:hover{filter:brightness(.97)}

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .room-head .rh-states{overflow-x:auto}
}
@media (max-width:760px){
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .kv{grid-template-columns:86px 1fr}
}

/* ---------- 侧栏当前直播间 ---------- */
.side-room{padding:2px 12px 8px}
.side-room-name{display:block;font-size:12.5px;color:#93a4bd;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}

/* ---------- 观看页编辑器（wangEditor v5 容器）---------- */
.we-editor-host{border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff}
.we-editor-toolbar{border-bottom:1px solid #eef2f7;background:#fbfcfe}
.we-editor-body{min-height:180px}
.we-editor-body .w-e-text-container{min-height:180px}

/* ---------- 移动端导航修复（P1-9）----------
   旧样式在 <=900px 把 .side-item span 设为 display:none，导致侧栏只剩无标签空图标；
   这里强制保留文字，并改成横向可滚动的顶栏。 */
@media (max-width: 900px) {
  .sidebar .side-item span { display: inline !important; }
  .sidebar .side-group { display: none; }
  .sidebar .side-nav { overflow-x: auto; overflow-y: hidden; }
  .sidebar .side-item { white-space: nowrap; }
  .sidebar .side-room { display: none; }
}

/* ==========================================================================
   直播间卡片网格（V3）
   依据：保利威直播列表实测 —— 0 个 <table>，统一 337×189 的 16:9 封面卡片。
   目标：一眼看出"这是哪场活动"，并让手机端自然换行（表格只能横向滚动）。
   ========================================================================== */
.room-cards{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(272px, 1fr));
  gap:16px;
}

.room-card{
  border:1px solid var(--line, #e2e8f0);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  display:flex;flex-direction:column;
  transition:box-shadow .16s, border-color .16s, transform .06s;
}
.room-card:hover{box-shadow:0 6px 20px rgba(15,23,42,.10); border-color:#cbd5e1}
.room-card:active{transform:translateY(1px)}

/* 封面 16:9 */
.room-card__cover{
  position:relative;display:block;
  aspect-ratio:16/9;
  background:linear-gradient(150deg,#16386e,#0b1a33);
  overflow:hidden;
}
.room-card__cover img{
  width:100%;height:100%;object-fit:cover;display:block;
}
/* 无封面兜底：名称首字 + 渐变，不用随机图（避免误导"这就是活动画面"） */
.room-card__ph{
  position:absolute;inset:0;
  display:grid;place-items:center;
  font-size:34px;font-weight:700;color:rgba(255,255,255,.92);
  letter-spacing:.02em;
}
.room-card__live{
  position:absolute;top:8px;left:8px;
}
.room-card__warn{
  position:absolute;top:8px;right:8px;
  background:#b45309;color:#fff;
  font-size:11.5px;font-weight:600;
  border-radius:6px;padding:2px 7px;
}

.room-card__body{
  padding:12px 13px 13px;
  display:flex;flex-direction:column;gap:8px;
  flex:1 1 auto;
}
.room-card__name{
  font-size:14.5px;font-weight:650;line-height:1.4;color:#0f172a;
  text-decoration:none;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.8em;
}
.room-card__name:hover{color:#1d4ed8;text-decoration:none}

.room-card__meta{
  display:flex;align-items:center;flex-wrap:wrap;gap:5px;
  font-size:12.5px;color:#64748b;
}
.room-card__meta .dot{color:#cbd5e1}
.room-card__meta .mono{font-variant-numeric:tabular-nums;letter-spacing:.02em}

.room-card__tags{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;
}
.room-card__pv{
  margin-left:auto;font-size:12.5px;color:#64748b;
  font-variant-numeric:tabular-nums;
}

.room-card__ops{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  margin-top:auto;padding-top:2px;
}
.room-card__ops .btn{min-height:32px}

@media (max-width:640px){
  .room-cards{grid-template-columns:1fr;gap:12px}
  .room-card__ops .btn{min-height:40px;flex:1 1 auto;justify-content:center}
}

/* ---- 9 组子导航（V3）：建设中项带小圆点提示 ---- */
.subnav a.soon{color:#64748b}
.subnav a.soon .soon-dot{
  display:inline-block;width:5px;height:5px;border-radius:50%;
  background:#f59e0b;margin-left:5px;vertical-align:middle;
}
.subnav a.active .soon-dot{background:#fff}
.subnav-q{
  margin:-6px 0 14px;font-size:12.5px;color:#64748b;
  padding-left:2px;
}
@media (max-width:720px){
  .subnav{flex-wrap:wrap}
  .subnav a{flex:0 0 auto}
}

/* 手机端：9 项不换行堆 3 排（占 120px 高），改成横向滑动条 */
@media (max-width:720px){
  .subnav{
    flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .subnav::-webkit-scrollbar{display:none}
  .subnav a{flex:0 0 auto}
}

/* 页脚外链 */
.tjv-footer-link{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tjv-footer-link:hover{opacity:.8}

/* 广告位：按需添加 / 删除（不再铺满 15 个空槽） */
.promo-add-wrap{display:flex;align-items:center;gap:12px;margin-top:12px}
.promo-del{
  flex:0 0 auto;width:32px;height:32px;border-radius:8px;cursor:pointer;
  border:1px solid var(--line,#e2e8f0);background:#fff;color:#94a3b8;
  font-size:18px;line-height:1;
}
.promo-del:hover{border-color:#fca5a5;color:#dc2626;background:#fef2f2}
#promoAdd[disabled]{opacity:.5;cursor:not-allowed}

/* ==========================================================================
   让后台"看得懂"的两块东西
   ① 未发布提示条（pubbar）—— 解决"改了为什么观众看不到"
   ② 一张图看懂（mindmap）—— 把三层作用域 + 草稿→快照→观众 画出来
   ========================================================================== */

/* ---------- ① 未发布提示条 ---------- */
.pubbar{
  display:flex;align-items:center;gap:12px;
  margin:12px 0 0;padding:11px 14px;border-radius:10px;
  font-size:13.5px;line-height:1.5;
}
.pubbar__ico{
  flex:0 0 22px;width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;font-size:13px;font-weight:700;
  font-style:normal;
}
.pubbar__text{flex:1 1 auto;min-width:0}
.pubbar__text strong{font-weight:650}
.pubbar--warn{background:#fffbeb;border:1px solid #fde68a;color:#78350f}
.pubbar--warn .pubbar__ico{background:#f59e0b;color:#fff}
.pubbar--info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a}
.pubbar--info .pubbar__ico{background:#3b82f6;color:#fff}
.pubbar .btn{flex:0 0 auto}

/* ---------- ② 一张图看懂 ---------- */
.mindmap{padding:22px 24px}
.mm-block + .mm-block{border-top:1px dashed var(--line,#e2e8f0);padding-top:4px}
.mm-title{margin:0 0 14px;font-size:15px;font-weight:650;color:#0f172a}

/* 三层作用域 */
.mm-scope{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.mm-scope__col{
  flex:1 1 200px;min-width:180px;
  border:1px solid var(--line,#e2e8f0);border-radius:10px;
  padding:12px 14px;display:flex;flex-direction:column;gap:3px;
  background:#fff;
}
.mm-scope__col b{font-size:13.5px;font-weight:650}
.mm-scope__col span{font-size:13px;color:#334155}
.mm-scope__col em{font-size:12.5px;color:#64748b;font-style:normal;line-height:1.6}
.mm-scope__col em i{color:#94a3b8;font-style:normal}
.mm-scope--platform{border-left:3px solid #94a3b8}
.mm-scope--tenant{border-left:3px solid #3b82f6;background:#f8fbff}
.mm-scope--room{border-left:3px solid #0f766e;background:#f7fdfb}
.mm-scope__arrow{align-self:center;color:#cbd5e1;font-size:18px}

/* 两条链路 */
.mm-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mm-node{
  flex:1 1 170px;min-width:150px;border-radius:10px;padding:12px 14px;
  display:flex;flex-direction:column;gap:3px;
}
.mm-node b{font-size:13.5px;font-weight:650}
.mm-node span{font-size:12.5px;line-height:1.55;opacity:.85}
.mm-node--draft{background:#f1f5f9;border:1px dashed #94a3b8;color:#334155}
.mm-node--snapshot{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a}
.mm-node--viewer{background:#0f766e;color:#fff}
.mm-arrow{flex:0 0 auto;font-size:12.5px;color:#94a3b8;white-space:nowrap}

/* 四步 */
.mm-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.mm-step{
  border:1px solid var(--line,#e2e8f0);border-radius:10px;padding:12px 14px;
  display:flex;flex-direction:column;gap:3px;background:#fff;
}
.mm-step i{
  font-style:normal;font-size:11.5px;font-weight:700;color:#fff;
  background:#3b82f6;width:20px;height:20px;border-radius:50%;
  display:grid;place-items:center;margin-bottom:2px;
}
.mm-step b{font-size:13.5px;font-weight:650}
.mm-step span{font-size:12.5px;color:#64748b}

@media (max-width:640px){
  .mindmap{padding:16px 14px}
  .mm-scope,.mm-flow{flex-direction:column;align-items:stretch}
  .mm-scope__arrow,.mm-arrow{text-align:center;transform:rotate(90deg);margin:2px 0}
}

/* ==========================================================================
   可读性与可用性修正（全站审计后补）
   审计结论：观看页早已达标（0 偏小热区 / 0 对比度问题），但**后台从来没达标过**。
   本节一次性修三类问题：
     1) 灰字过浅：--bg(#f3f4f6) 底上 #6b7280 只有 4.39，不达 4.5
     2) 热区过小：侧栏 40px、.btn-sm 27px、退出按钮 30px
     3) 纯装饰字符被当成文字量对比度（"·" 分隔符）
   阈值口径（刻意区分，不是放水）：
     · 观看页：44px（观众在手机上用手指点，且是全站门面）
     · 后台桌面：32px（WCAG 2.2 AA 目标 24px；桌面用鼠标，32 是舒适值）
     · 后台手机：44px（同一屏宽下手指操作）
     · 纯行内文字链接（如面包屑）按 WCAG 2.2 豁免，不计入热区
   ========================================================================== */

/* ---------- 1) 灰字统一压深到 4.5 以上 ---------- */
:root{ --muted:#4b5563; }

.muted,.hint,.breadcrumb,th,.info-label,.stat-label,.stat-box .l,
.check .what small,.check .who,.kv dt,.kv dd,
.todo-group .cnt,.todo-group .body,.timeline li .t,
.room-card__meta,.room-card__pv,.mm-scope__col em,.mm-arrow,
.mm-node span,.mm-step span,.subnav-q,.pubbar__text,
.filter-bar,.url-text,.next-steps,.empty-state p{
  color:#4b5563;
}
/* 侧栏分组标题：深底上要够亮，不能跟着压深 */
.sidebar .side-group{color:#9aa8bd}
/* 侧栏次要文字 */
.side-user-text small,.brand-text small{color:#a8b6c9}

/* ---------- 2) 热区：后台按钮 32px 起，手机 44px ---------- */
.btn-sm{min-height:32px;display:inline-flex;align-items:center}
.side-logout{width:40px;height:40px}
.side-item{min-height:40px}
.btn{height:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center}

@media (max-width:900px){
  .btn,.btn-sm{min-height:44px}
  .side-item{min-height:44px}
  .side-logout{width:44px;height:44px}
  .room-card__ops .btn{min-height:44px}
}

/* ---------- 3) 装饰分隔符改成 CSS 圆点（不再是文字，也就不该被量对比度） ---------- */
.room-card__meta .dot{
  display:inline-block;width:3px;height:3px;border-radius:50%;
  background:#94a3b8;vertical-align:middle;
  font-size:0;line-height:0;overflow:hidden;color:transparent;
}

/* ---------- 4) 提示条图标对比度（白字压深底） ---------- */
.pubbar--warn .pubbar__ico{background:#b45309}
.pubbar--info .pubbar__ico{background:#1d4ed8}

/* ---------- 5) 状态标签底色过浅导致文字对比不足 ---------- */
.tag-gray{background:#eef2f7;color:#44536b;border-color:#dde5ee}
.tag-amber{background:#fef3c7;color:#7c4a03;border-color:#fde68a}
.tag-blue{background:#e8f0fe;color:#1c3f8f;border-color:#c7d9f8}
.tag-green{background:#e7f6ef;color:#136b47;border-color:#c3e8d7}
.tag-red{background:#fdeced;color:#a3132a;border-color:#f8c9ce}

/* ---------- 6) 二轮：审计剩下的具体项 ---------- */
/* 频道条 / 9 组导航 */
.subnav a .num{width:18px;height:18px;flex:0 0 18px;font-size:12px;opacity:1}
.subnav a.soon{color:#4b5563}
.subnav a{min-height:40px}
@media (max-width:900px){ .subnav a{min-height:44px} }

/* 准备清单：完成计数 / 状态标记 */
.check-group > .cg-head .cnt,.check .cnt{color:#4b5563}
.check .mk{color:#4b5563}
.todo .cnt,.todo .who{color:#4b5563}

/* 品牌副标题 11px → 12px 并提亮 */
.brand-text small{font-size:12px;color:#b3c0d2}

/* 状态标签（可点击弹说明）：桌面 32、手机 44 */
.rh-states .tag{min-height:32px;display:inline-flex;align-items:center;padding:0 10px}
@media (max-width:900px){ .rh-states .tag{min-height:44px} }

/* 卡片名称在手机上要够高 */
@media (max-width:900px){ .room-card__name{min-height:44px;display:flex;align-items:center} }

/* 一张图看懂：箭头、说明、步骤序号全部压深 */
.mm-scope__arrow{color:#4b5563}
.mm-scope__col em i{color:#4b5563}
.mm-node span{opacity:1}
.mm-node--viewer{background:#0f766e;color:#fff}
.mm-node--viewer b{color:#fff}
.mm-node--viewer span{color:#eafaf7}
.mm-step i{background:#1d4ed8;font-size:12px;width:22px;height:22px}
.mm-arrow{color:#4b5563}
.mm-title{color:#0f172a}

/* 门禁页说明文字 */
.check .what small,.check .who{color:#4b5563}

/* ---------- 7) 三轮：最后一小撮 ---------- */
/* 侧栏分组标题 11px → 12px */
.sidebar .side-group,.side-group{font-size:12px}

/* 准备清单：hold 状态（平台负责）的 – 号 */
.check.hold .mk{background:#eef2f7;border-color:#c3ccd9;color:#4b5563}
.check .mk{font-size:12px}

/* 门禁页选项说明 */
.radio-card .d,.radio-row .d,.check .d{color:#4b5563}
.room-access .d,.card .d{color:#4b5563}

/* 侧栏账号副标题 11px → 12px */
.side-user-text small{font-size:12px;color:#b3c0d2}

/* ---------- 五轮：最后三处 < 12px 的字号 ---------- */
.check .who{font-size:12px}

/* ---------- 8) 二轮体检（管理员页 / 编辑器页）整改 ---------- */
/* 表格里的名称链接：这是行内文字链接，不该按按钮标准要求高度；
   但视觉上给一点内边距，点起来更舒服 */
.table-card .room-link{
  display:inline-block;padding:6px 2px;line-height:1.4;
}

/* 窄按钮（详情/只读进入/操作记录 34px 宽）：桌面给到 40，手机给到 44 */
.btn-sm{min-width:40px}
@media (max-width:900px){
  .btn-sm{min-width:44px}
  .btn-sm:not(.btn-icon){padding:0 14px}
}

/* 富文本编辑器工具条按钮（wangEditor）：30×32 → 桌面 36、手机 44 */
.we-editor-toolbar button,
.w-e-bar button,
.w-e-bar-item,
[class*="toolbar"] button{
  min-width:36px;min-height:36px;
}
@media (max-width:900px){
  .we-editor-toolbar button,
  .w-e-bar button,
  .w-e-bar-item,
  [class*="toolbar"] button{
    min-width:44px;min-height:44px;
  }
}
/* 编辑器里的下拉/选择项 */
.we-editor-toolbar .w-e-select-list li,
.w-e-select-list li{min-height:36px}

/* 表格内名称链接：桌面 32、手机 44（它是主要入口，不是纯行内文字） */
.table-card .room-link{display:inline-flex;align-items:center;min-height:32px;padding:0 2px}
@media (max-width:900px){ .table-card .room-link{min-height:44px} }

/* ---------- 9) 免费教学服务：进度卡（console.html 与 console_service.html 共用） ----------
   为什么做成进度条而不是一句"已安排"：
   客户最怕的是"填完表石沉大海"。看不到进度，他就默认你不会管他 ——
   那正是我们说要解决的大平台陋习。 */
.teach-card{padding:16px 18px}
.teach-head{display:flex;justify-content:space-between;align-items:flex-start;
  gap:16px;flex-wrap:wrap}
.teach-title{display:flex;align-items:center;gap:9px;font-size:14.5px;
  font-weight:600;color:#0f172a;flex-wrap:wrap}
.teach-sub{margin:5px 0 0;font-size:13px;line-height:1.7;color:#4b5563}
.teach-pct{text-align:right;line-height:1.2}
.teach-pct-n{display:block;font-size:22px;font-weight:700;color:#1d4ed8}
.teach-pct-l{display:block;font-size:12px;color:#64748b}
.teach-bar{height:6px;border-radius:999px;background:#e2e8f0;overflow:hidden;
  margin:12px 0 14px}
.teach-bar span{display:block;height:100%;background:#2563eb;border-radius:999px}
.teach-block{margin-bottom:10px}
.teach-label{font-size:12px;font-weight:600;color:#64748b;margin-bottom:5px}
.teach-topics{display:flex;flex-wrap:wrap;gap:6px}
.teach-topic{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;
  border-radius:999px;background:#eff6ff;color:#1e3a8a;font-size:12.5px;font-weight:500}
.teach-plan{font-size:13px;line-height:1.75;color:#334155;background:#f8fafc;
  border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;white-space:pre-wrap}
.teach-foot{margin:10px 0 0;font-size:12.5px;color:#64748b}
.teach-link{color:#1d4ed8;font-weight:500;text-decoration:underline;
  text-underline-offset:2px;display:inline-flex;align-items:center;min-height:32px}
@media (max-width:900px){
  .teach-card{padding:14px 14px}
  .teach-pct{text-align:left}
  .teach-link{min-height:44px}
}

/* 教学工单卡片里的客户名：它是指向客户详情的主入口，按按钮口径给高度 */
.ticket-card .ticket-title .room-link{
  display:inline-flex;align-items:center;min-height:32px;padding:0 2px;
}
@media (max-width:900px){
  .ticket-card .ticket-title .room-link{min-height:44px}
}

/* ---------- 10) 白标开关（客户详情页） ---------- */
.brand-switch{
  border:1px solid #e2e8f0;background:#f8fafc;border-radius:11px;
  padding:14px 16px;margin:4px 0 14px;
}
.brand-switch-head{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px;
}
.brand-switch-head strong{font-size:13.5px;color:#0f172a}
.brand-check{
  display:flex;align-items:flex-start;gap:9px;font-size:13px;color:#334155;
  min-height:32px;line-height:1.6;
}
.brand-check input{width:18px;height:18px;margin:2px 0 0;flex:0 0 auto}
.brand-list{
  margin:6px 0 0;padding-left:20px;font-size:12.5px;line-height:1.85;color:#334155;
}
.brand-list code{
  background:#eef2f7;border-radius:4px;padding:1px 5px;font-size:12px;color:#0f172a;
}
.brand-list b{color:#0f172a}
@media (max-width:900px){
  .brand-check{min-height:44px}
  .brand-switch{padding:13px 14px}
}

/* 单客户权益覆盖：三态单选（跟随套餐 / 强制白标 / 强制显示） */
.ent-form{display:flex;flex-direction:column;gap:8px;margin:10px 0 0}
.ent-opt{
  display:flex;align-items:flex-start;gap:9px;font-size:13px;color:#334155;
  line-height:1.65;min-height:32px;cursor:pointer;
}
.ent-opt input{width:18px;height:18px;margin:2px 0 0;flex:0 0 auto}
.ent-opt b{color:#0f172a}
.ent-form .btn{align-self:flex-start;margin-top:2px}
@media (max-width:900px){
  .ent-opt{min-height:44px}
  .ent-form .btn{align-self:stretch}
}

/* ==========================================================================
   级联导航 —— 全部数值取自保利威客户后台实测（2026-10-25，1912x1002）
   --------------------------------------------------------------------------
   一级：0 起，140 宽/行高 56/图标 20@x16/文字 x44；选中 132x48 蓝块 圆角4
   二级：140 起，140 宽/行高 40/文字缩进 34；选中 文字转蓝 rgb(63,118,252)
   三级：280 起，180 宽/行高 44/可两列网格(每格 90)；选中 文字加深
   列与列 0 缝隙紧贴；层级靠"列的位置 + 有没有图标"表达，不靠缩进和字重。
   ========================================================================== */
.app-main { margin-left: calc(224px + var(--cascade-w, 0px)); }

.cascade {
  position: fixed; top: 0; bottom: 0; left: 224px;
  width: var(--cascade-w, 0px);
  display: flex; z-index: 19;
  background: #fff; border-right: 1px solid #e7ecf3;
}
.cascade__col {
  flex: 0 0 140px; width: 140px; padding: 8px 0;
  overflow-y: auto; border-right: 1px solid #f1f4f9;
}
.cascade__col--3 { flex-basis: 180px; width: 180px; }
.cascade__col:last-child { border-right: 0; }

/* 二级项：实测行高 40、文字缩进 34 */
.cascade__col--2 .cascade__item { height: 40px; padding: 0 16px 0 34px; }
/* 三级项：实测行高 44、文字缩进 16 */
.cascade__col--3 .cascade__item { height: 44px; padding: 0 8px; }
/* 三级双列网格：每格 90 宽（实测 x=297 / x=387） */

.cascade__item {
  display: flex; align-items: center;
  border-radius: 4px; font-size: 14px; font-weight: 400;
  color: #1d2129; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cascade__label { overflow: hidden; text-overflow: ellipsis; }
.cascade__item:hover { background: #f4f7fd; text-decoration: none; }

/* 二级选中：文字转蓝（实测 rgb(63,118,252)，无底色） */
.cascade__col--2 .cascade__item.is-active { color: #3f76fc; background: transparent; }
/* 三级选中：文字加深（实测 0.8 对 0.6，不变蓝） */
.cascade__col--3 .cascade__item { color: rgba(0,0,0,.6); }
.cascade__col--3 .cascade__item.is-active { color: rgba(0,0,0,.8); background: transparent; }

.cascade__item.is-disabled { color: #a8b0bd; cursor: not-allowed; }
/* 未实现：不隐藏、可点，只用一个小标签注明"开发中" */
.cascade__item.is-todo .cascade__label::after {
  content: "开发中"; margin-left: 6px; padding: 0 3px;
  font-size: 10px; line-height: 14px; color: #98a2b3;
  border: 1px solid #e4e8ef; border-radius: 3px;
}

/* 一级侧栏：实测行高 56、图标 20、选中 132x48 蓝块 */
.sidebar .side-item { min-height: 56px; padding: 0 12px; gap: 8px; }
.sidebar .side-item svg { width: 20px; height: 20px; }
.sidebar .side-item.active { background: rgba(63,118,252,.55); color: #fff; font-weight: 400; }
.sidebar .side-item.active::before { display: none; }
.sidebar .side-item.is-disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 1100px) {
  .cascade { display: none; }
  .app-main { margin-left: 0; }
}

/* ==========================================================================
   占位功能说明页（/console/todo/<名称>）
   参照保利威「素材库未开通」那一页：标题 + 卖点清单 + 行动区
   ========================================================================== */
.todo-page { max-width: 720px; padding: 26px 0 40px; }
.todo-page__badge {
  display: inline-block; margin-bottom: 12px; padding: 3px 10px;
  font-size: 12px; color: #3f76fc; background: rgba(63,118,252,.10);
  border-radius: 4px;
}
.todo-page__title { font-size: 24px; font-weight: 600; color: #101828; margin: 0 0 12px; }
.todo-page__desc { font-size: 15px; line-height: 1.8; color: #475467; margin: 0 0 22px; }
.todo-page__list { list-style: none; padding: 0; margin: 0 0 26px; }
.todo-page__list li {
  position: relative; padding: 10px 0 10px 26px;
  font-size: 14.5px; line-height: 1.7; color: #344054;
  border-bottom: 1px solid #f1f4f9;
}
.todo-page__tick {
  position: absolute; left: 2px; top: 16px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #e8f0ff; border: 3px solid #c7dbff;
}
.todo-page__foot {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  padding: 14px 16px; margin-bottom: 20px;
  background: #f7f9fd; border: 1px solid #e9eef7; border-radius: 8px;
  font-size: 13.5px; color: #475467;
}
.todo-page__foot strong { color: #101828; font-weight: 600; }
.todo-page__actions .btn { min-height: 40px; }

/* 一级图标/文字对齐到实测位置：图标 x=16、文字 x=44（侧栏 4 内边距 + 项 12 内边距） */
.sidebar .side-nav { padding: 8px 4px; }
.sidebar .side-item { padding: 0 12px; gap: 8px; border-radius: 4px; }
.sidebar .side-group { padding: 8px 12px 6px; }

/* ==========================================================================
   一屏一件事：/page/edit/<块名> 与 /appearance/<块名> 只显示那一块
   不相关卡片留在 DOM 里（保存要一次性提交整份配置），只是不显示。
   ========================================================================== */
.card[data-hidden="1"] { display: none !important; }
.focus-head {
  display: flex; align-items: baseline; gap: 12px;
  margin: 0 0 14px;
}
.focus-head__title { font-size: 20px; font-weight: 600; color: #101828; }
.focus-head__all { font-size: 13px; color: #3f76fc; }
.focus-head__all:hover { text-decoration: underline; }

/* ==========================================================================
   三级横排 TAB 条 —— 对齐保利威「直播装修」实测
   x=308（内容区起点）, y=68, 高 47, 每项约 56 宽、字 14、选中蓝字
   ========================================================================== */
.tabbar {
  display: flex; align-items: center; gap: 32px;
  height: 47px; padding: 0 20px;
  background: #fff; border-bottom: 1px solid #eef2f7;
  position: sticky; top: 0; z-index: 8;
}
.tabbar__item {
  display: inline-flex; align-items: center; height: 47px;
  font-size: 14px; color: #1d2129; white-space: nowrap;
}
.tabbar__item:hover { color: #3f76fc; text-decoration: none; }
.tabbar__item.is-active { color: #3f76fc; font-weight: 500; }
.tabbar__item.is-disabled { color: #a8b0bd; }
.tabbar__group { font-size: 13px; color: #98a2b3; }
.tabbar__item.is-todo::after {
  content: "开发中"; margin-left: 6px; padding: 0 3px;
  font-size: 10px; line-height: 14px; color: #98a2b3;
  border: 1px solid #e4e8ef; border-radius: 3px;
}
/* 有横排 TAB 时，内容区的顶部留白收一点，避免双重间距 */
.app-main > .tabbar + .workspace { padding-top: 16px; }

/* 二级列里的分组标题：缩进比同级项多 10px，行高 40，不可点 */
.cascade__group {
  display: flex; align-items: center; height: 40px;
  padding: 0 16px 0 44px;
  font-size: 14px; color: #1d2129;
}

/* ==========================================================================
   主题外观页 —— 数值取自保利威「直播装修 → 主题外观」实测
   （视口 1912x1002：左网格 x=312 起；卡 132x104，横向步进 144，一行 6 张；
     分组标题 14px rgba(0,0,0,.6)，在卡片上方 40px；
     右预览 x=1254 宽 630 高 842 底色 rgba(0,0,0,.04) 圆角 8；
     预览顶栏 590x50 + 三段切换 154x30（每段 50x24，选中白底）；
     手机框 300x643 圆角 20；保存按钮 90x32 蓝底 圆角 4）
   ========================================================================== */
.skin-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 630px;
  gap: 16px;
  align-items: start;
}
.skin-main { min-width: 0; }
.skin-section { margin: 0 0 32px; }
.skin-section__title {
  font-size: 14px; color: rgba(0,0,0,.6);
  height: 20px; line-height: 20px; margin: 0 0 20px;
}
.skin-grid {
  display: grid;
  grid-template-columns: repeat(6, 132px);
  gap: 12px 12px;
}
.skin-card {
  position: relative; display: block; width: 132px; height: 104px;
  cursor: pointer; border-radius: 0; overflow: hidden;
}
.skin-card input { position: absolute; opacity: 0; pointer-events: none; }
.skin-card__img {
  display: block; width: 132px; height: 104px; object-fit: cover;
  border: 2px solid transparent; border-radius: 2px; box-sizing: border-box;
}
.skin-card:hover .skin-card__img { border-color: #cfd8e6; }
.skin-card.is-current .skin-card__img { border-color: #3f76fc; }
.skin-card__name {
  position: absolute; left: 8px; bottom: 6px;
  font-size: 12px; color: #3d3d3d; line-height: 20px;
  text-shadow: 0 0 2px rgba(255,255,255,.85);
}
.skin-card__badge {
  display: none;
  position: absolute; right: 6px; bottom: 8px;
  font-size: 10px; color: #3f76fc; line-height: 16px; padding: 0 4px;
  background: rgba(255,255,255,.9); border-radius: 2px;
}
.skin-card.is-current .skin-card__badge { display: block; }

.skin-actions { margin-top: 8px; }
.skin-save { width: 90px; height: 32px; border-radius: 4px; font-size: 14px; }

/* 右侧预览 */
.skin-preview {
  background: rgba(0,0,0,.04); border-radius: 8px;
  width: 630px; min-height: 842px; padding: 0;
  position: sticky; top: 12px;
}
.skin-preview__top {
  height: 50px; display: flex; align-items: center; justify-content: flex-end;
  padding: 0 20px;
}
.skin-seg {
  display: flex; align-items: center; gap: 3px;
  background: #f2f3f5; border-radius: 4px; padding: 3px;
}
.skin-seg__item {
  width: 50px; height: 24px; border: 0; border-radius: 4px;
  background: transparent; color: #4e5969; font-size: 12px; cursor: pointer;
}
.skin-seg__item.is-active { background: #fff; color: #3f76fc; }

.skin-preview__body { display: flex; justify-content: center; }
.skin-device {
  width: 300px; height: 643px; border-radius: 20px; overflow: hidden;
  background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.10);
}
.skin-preview__body[data-device="landscape"] .skin-device { width: 300px; height: 169px; border-radius: 6px; }
.skin-preview__body[data-device="portrait"] .skin-device { width: 300px; height: 643px; }
.skin-preview__body[data-device="pc"] .skin-device { width: 590px; height: 360px; border-radius: 6px; }
.skin-device__frame { width: 100%; height: 100%; border: 0; display: block; }

/* 横屏预览：用 667×375（手机横屏真实视口）渲染，再等比缩进 300×169 设备框；
   否则 iframe 只有 300 宽，横屏与竖屏长得一模一样。 */
.skin-preview__body[data-device="landscape"] .skin-device__frame {
  width: 667px;
  height: 375px;
  transform: scale(0.44978);      /* 300 / 667 */
  transform-origin: top left;
}

/* PC 预览：iframe 物理宽度必须 ≥1025，否则 splash.css 的 PC 版式媒体查询不生效，
   590px 宽的 iframe 里会渲染成手机版式（已踩）。
   用 1440×882 的真实 PC 视口渲染，再等比缩放进设备框。 */
.skin-preview__body[data-device="pc"] .skin-device__frame {
  width: 1440px;
  height: 882px;
  transform: scale(0.40972);      /* 590 / 1440 */
  transform-origin: top left;
}

/* 修正：1600 宽下 6×132 的主题网格 + 630 预览会重叠（保利威是 1912 视口）。
   网格改成按 132 固定宽自动换行，预览宽度用 clamp 收放。 */
.skin-page { grid-template-columns: minmax(0, 1fr) clamp(420px, 40%, 630px); }
.skin-grid { grid-template-columns: repeat(auto-fill, 132px); }
.skin-save { height: 32px; min-height: 32px; padding: 0; line-height: 32px; }
@media (max-width: 1500px) {
  .skin-page { grid-template-columns: minmax(0, 1fr) 420px; }
  .skin-device { width: 260px; height: 557px; }
  .skin-preview__body[data-device="pc"] .skin-device { width: 400px; height: 245px; }
}

/* 再修：.skin-preview 上写了固定 width:630px，会压过网格列宽导致横向溢出。
   改为跟随列宽；窄屏按档位收预览尺寸；更窄就把预览放到下面。 */
.skin-preview { width: 100%; }
.skin-page { grid-template-columns: minmax(0, 1fr) minmax(320px, 630px); }
@media (max-width: 1700px) {
  .skin-page { grid-template-columns: minmax(0, 1fr) 420px; }
  .skin-device { width: 260px; height: 557px; }
  .skin-preview__body[data-device="pc"] .skin-device { width: 400px; height: 245px; }
  .skin-preview__body[data-device="pc"] .skin-device__frame {
    transform: scale(0.27778);    /* 400 / 1440 */
  }
}
@media (max-width: 1180px) {
  .skin-page { grid-template-columns: minmax(0, 1fr); }
  .skin-preview { position: static; min-height: 0; padding-bottom: 16px; }
}

/* TAB 条右侧槽位（保利威这里放「双语」，x=1804, y=82, 14px） */
.tabbar { justify-content: flex-start; gap: 0; }
.tabbar__items { display: flex; align-items: center; gap: 32px; }
.tabbar__extra { margin-left: auto; padding-right: 20px; font-size: 14px; color: #1d2129; }
.tabbar__extra:hover { color: #3f76fc; text-decoration: none; }

/* 保利威导航总宽 280（侧栏140+二级列140），我们 504（侧栏224+两列140×2），
   同样 1912 视口下少 224px。要让主题卡仍是「一行 6 张」、预览仍在右侧，
   只能把预览按剩余宽度收放：6×132+5×12=852，故预览上限 = 视口-504-48-852-16。
   视口 1912 → 476；视口 ≥2100 → 630（保利威原尺寸）。 */
.skin-page { grid-template-columns: minmax(0, 1fr) clamp(360px, calc(100vw - 1436px), 630px); }

/* 主题外观页需要保利威那种宽度：内容区 1576（我们是 1280 上限，塞不下 6×132 + 630 预览） */
body.skin-wide .workspace { max-width: none; }

/* ==========================================================================
   基础信息页 —— 数值取自保利威「直播装修 → 基础信息」实测（1912x1002）
   左列 x=308 宽 921；段标题 16px/700；标签右对齐到 402，控件从 418 起
   输入框 319x38（主讲 225x38）；计数 12px 灰；滑块 200x4
   封面上传卡 320x180 rgba(0,0,0,.06)；PC背景上传区 657 宽、缩略 224x131
   ========================================================================== */
.bi-section { margin: 0 0 28px; }
.bi-section__title {
  font-size: 16px; font-weight: 700; color: #1d2129;
  line-height: 24px; margin: 0 0 20px;
}
.bi-row {
  display: flex; align-items: center;
  min-height: 38px; margin: 0 0 14px;
}
.bi-row--top { align-items: flex-start; }
.bi-row--sub { margin-left: 90px; }   /* 模糊/亮度 缩进在 PC页面背景 下 */
.bi-label {
  flex: 0 0 94px; text-align: right;
  font-size: 14px; color: #1d2129; padding-right: 16px;
}
.bi-ctrl { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bi-input {
  width: 319px; height: 38px; padding: 0 12px;
  border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; color: #1d2129; background: #fff;
}
.bi-input--sm { width: 225px; }
.bi-input--url { width: 358px; }
.bi-input:focus { border-color: #3f76fc; outline: none; }
.bi-count { font-size: 12px; color: #969ba5; }
.bi-link { font-size: 14px; color: #3f76fc; }
.bi-hint {
  flex-basis: 100%; margin: 8px 0 0;
  font-size: 12px; color: #969ba5; line-height: 20px;
}
.bi-hint--block { margin-top: 10px; }
.bi-upload__thumb {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 224px; height: 131px; border-radius: 4px; background: #f2f3f5;
  cursor: pointer; overflow: hidden;
}
.bi-upload__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bi-upload__tip { position: relative; font-size: 14px; color: #4e5969; }
.bi-upload__thumb.has-img .bi-upload__tip { display: none; }
.bi-cover-card {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 320px; height: 180px; border-radius: 4px;
  background: rgba(0,0,0,.06); cursor: pointer; overflow: hidden;
}
.bi-cover-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bi-cover-card__tip { position: relative; font-size: 14px; color: rgba(0,0,0,.6); }
.bi-cover-card img:not([hidden]) + .bi-cover-card__tip { display: none; }
.bi-slider { width: 200px; height: 4px; accent-color: #3f76fc; }
.bi-slider__val { font-size: 14px; color: #1d2129; min-width: 44px; }
.bi-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #1d2129; cursor: pointer; }
.bi-radio + .bi-radio { margin-left: 24px; }
.bi-select {
  height: 38px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; color: #1d2129; background: #fff;
}

/* 输入框宽度必须锁死：.bi-ctrl 是 flex，默认会被拉伸到满宽（实测被拉到 770） */
.bi-input { flex: 0 0 auto; }
.bi-select { flex: 0 0 auto; }
.bi-cover-card, .bi-upload__thumb { flex: 0 0 auto; }

/* 全局有 input[type=text]{width:100%}（0,1,1 特异性），.bi-input（0,1,0）压不过它，
   实测输入框被拉成 770 宽。用 input.bi-input（同为 0,1,1 且在后面）夺回宽度。 */
input.bi-input { width: 319px; flex: 0 0 auto; }
input.bi-input.bi-input--sm { width: 225px; }
input.bi-input.bi-input--url { width: 358px; }

/* 顶部引导条下拉：保利威是一个窄下拉，不是满宽（全局 select 有 width:100%） */
select.bi-select { width: auto; min-width: 88px; flex: 0 0 auto; }

/* ==========================================================================
   功能设置 → 聊天（数值取自保利威实测 1912x1002）
     左侧菜单管理面板 130 宽；右侧设置区 767 宽
     段标题 16px/700；行标签 x=472，开关/单选靠右 x=1050
     消息布局卡 148x82；开关 32x16
   ========================================================================== */
.fe-wrap { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; align-items: start; }
.fe-side { }
.fe-side__title { font-size: 14px; color: rgba(0,0,0,.8); line-height: 20px; margin: 0 0 14px; }
.fe-side__list { list-style: none; margin: 0; padding: 0; }
.fe-side__item { font-size: 14px; line-height: 20px; margin: 0 0 28px; }
.fe-side__item a { color: #1d2129; }
.fe-side__item.is-active a { color: rgba(0,0,0,.8); font-weight: 500; }
.fe-side__item a:hover { color: #3f76fc; text-decoration: none; }
/* 左栏项现在是按钮：点它只在右栏切换面板，不跳转、地址栏不变 */
.fe-side__item .fe-side__btn {
  border: 0; background: none; padding: 0; font: inherit; text-align: left;
  color: #1d2129; cursor: pointer;
}
.fe-side__item .fe-side__btn:hover { color: #3f76fc; }
.fe-side__item.is-active .fe-side__btn { color: rgba(0,0,0,.8); font-weight: 500; }
.fe-side__item .fe-side__btn:focus-visible { outline: 2px solid rgba(63,118,252,.35); outline-offset: 2px; }

/* 右栏面板头（当前选中项名称 + 类型），只用于页内切换 */
.fe-panel__head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.fe-panel__title { font-size: 16px; font-weight: 700; color: #1d2129; line-height: 24px; }
.fe-panel__type { font-size: 12px; color: #86909c; }

/* 菜单列与内容列之间的竖分隔线（对齐保利威），线随内容列整列高度延伸 */
.fe-main { min-width: 0; border-left: 1px solid #e5e6eb; padding-left: 24px; }

/* 左侧菜单：列表下方的整宽「+」按钮（对齐保利威，不是标题右侧小按钮） */
.fe-side__add {
  width: 130px; height: 44px; margin: 8px 0 0; padding: 0;
  border: 1px solid #dcdfe6; border-radius: 4px; background: #fff;
  color: #4e5969; font-size: 22px; line-height: 42px; cursor: pointer;
}
.fe-side__add:hover { border-color: #3f76fc; color: #3f76fc; background: #f5f8ff; }
.fe-switchrow {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; margin: 0 0 22px;
}
.fe-switchrow__tip { font-size: 14px; color: #969ba5; }
/* 对齐保利威：信息卡片 = 110px 标签列 + 开关紧跟其后（不甩到最右侧） */
.fe-switchrow--near { justify-content: flex-start; min-height: 20px; margin: 0 0 24px; }
.fe-switchrow--near .fe-switchrow__label { flex: 0 0 110px; font-size: 14px; color: #1d2129; line-height: 20px; }
/* 对齐保利威：压缩图片 = 标题 + 开关 0 间距 + 说明文字右侧 16px */
.fe-switchrow--inline {
  justify-content: flex-start; align-items: flex-start; gap: 0;
  min-height: 20px; margin: 0 0 22px; padding-left: 110px;
}
.fe-switchrow--inline .fe-switchrow__label { font-size: 14px; color: #1d2129; line-height: 20px; }
.fe-switchrow--inline .fe-switch { margin-left: 0; }
.fe-switchrow--inline .fe-tip { flex: 0 1 412px; margin: 0 0 0 16px; }

.fe-section { margin: 0 0 30px; }
.fe-section__title { font-size: 16px; font-weight: 700; color: #1d2129; line-height: 24px; margin: 0 0 18px; }
.fe-row { display: flex; align-items: center; margin: 0 0 16px; }
.fe-row--top { align-items: flex-start; }
.fe-label {
  flex: 0 0 110px; font-size: 14px; color: #1d2129;
  padding-right: 12px; line-height: 20px;
}
.fe-row--top .fe-label { padding-top: 2px; }
.fe-ctrl { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fe-tip {
  flex-basis: 100%; margin: 6px 0 0; font-size: 12px; color: #86909c; line-height: 20px;
}
input.fe-input {
  width: 360px; height: 38px; padding: 0 12px; flex: 0 0 auto;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; color: #1d2129;
}
input.fe-input--wide { width: 610px; }
.fe-input:focus, .fe-textarea:focus { border-color: #3f76fc; outline: none; }
.fe-textarea {
  width: 610px; min-height: 78px; padding: 8px 12px; flex: 0 0 auto;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; color: #1d2129;
  font-family: inherit; resize: vertical;
}
.fe-count { font-size: 12px; color: #969ba5; }
.fe-count--block { flex-basis: 100%; margin-top: 4px; }
.fe-link { font-size: 12px; color: #3f76fc; }
.fe-link--block { flex-basis: 100%; margin-top: 8px; }

/* 直播介绍顶部（对齐保利威实测）：80×80 方形缩略图，悬停底部浮出上传条；
   「同步到微信分享图标」贴在缩略图右下角，提示文字独占一行在下方。 */
.fe-ctrl--logo { align-items: flex-start; }
.fe-logo { display: flex; align-items: flex-end; gap: 8px; }
.fe-logo__box {
  position: relative; width: 80px; height: 80px; flex: none; overflow: hidden;
  border-radius: 4px; background: #f7f8fa; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.fe-logo__box--s { border: 1px dashed #dcdfe6; }
/* 已有图标时去掉虚线框（保利威有图即无边框） */
.fe-logo__box--s:has(img:not([hidden])) { border-color: transparent; }
.fe-logo__box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fe-logo__box img[hidden] { display: none; }
.fe-logo__ph { font-size: 12px; color: #a8adb8; }
.fe-logo__mask {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .45); color: #fff; opacity: 0; transition: opacity .15s;
}
.fe-logo__box:hover .fe-logo__mask { opacity: 1; }
.fe-logo__ops { display: none; }
.fe-logo__foot { margin-top: 10px; }
.fe-sync { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #1d2129; cursor: pointer; line-height: 18px; }
.fe-sync input { width: 16px; height: 16px; cursor: pointer; margin: 0; }
.fe-upbtn {
  height: 28px; padding: 0 12px; line-height: 26px; cursor: pointer;
  border: 1px solid #dcdfe6; border-radius: 4px; background: #fff;
  font-size: 13px; color: #1d2129;
}
.fe-upbtn:hover { border-color: #3f76fc; color: #3f76fc; }
.fe-radios { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

/* 推广外链面板（对齐保利威）：说明行 / 输入框内计数 / 协议 + 地址一行 */
.fe-desc { margin: -4px 0 18px; font-size: 12px; color: #969ba5; line-height: 20px; }
.fe-inputwrap { position: relative; display: flex; }
.fe-inputwrap .fe-input { padding-right: 64px; }
.fe-inputwrap .fe-count {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 12px; color: #969ba5; pointer-events: none; line-height: 1;
}
.fe-inputwrap--grow { flex: 1 1 auto; min-width: 0; }
.fe-inputwrap--grow .fe-input { width: 100%; }
.fe-linkrow { display: flex; gap: 8px; width: 100%; }
select.fe-input {
  height: 38px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 4px;
  background: #fff; font-size: 14px; color: #1d2129; flex: 0 0 auto;
}
.fe-input--scheme { width: 96px; }
.fe-input--select { width: 220px; }

/* 推广外链：浏览器链接 + 跳转方式同处一个灰底大框（与上方菜单名称做上下分区） */
.fe-pnbox {
  background: #f7f8fa; border-radius: 4px;
  padding: 16px 16px 2px; margin: 0 0 18px;
}
.fe-pnbox .fe-row:last-child { margin-bottom: 14px; }

/* 高级配置：可展开区块（+ / −） */
.fe-adv { margin: 0 0 22px; }
.fe-adv__head {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; padding: 0;
  font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer;
}
.fe-adv__head:hover { color: #3f76fc; }
.fe-adv__sign { width: 12px; text-align: center; font-size: 14px; }
.fe-adv__body { margin-top: 10px; }
.fe-adv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-chip {
  height: 30px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 4px;
  background: #fff; font-size: 13px; color: #4e5969; cursor: pointer;
}
.fe-chip em { font-style: normal; font-size: 10px; color: #98a2b3; margin-left: 4px; }
.fe-chip:disabled { color: #a8b0bd; cursor: not-allowed; }
.fe-chip.is-active { border-color: #3f76fc; color: #3f76fc; background: #f5f8ff; }
.fe-pcbox { margin-top: 14px; }
.fe-pcbox .fe-row:last-child { margin-bottom: 4px; }

/* 直播介绍编辑器工具条（源代码 / 预览 / 字数） */
.fe-edbar { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; }
.fe-edbar__btn {
  height: 28px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 4px;
  background: #fff; font-size: 12px; color: #4e5969; cursor: pointer;
}
.fe-edbar__btn:hover { border-color: #3f76fc; color: #3f76fc; }
.fe-edbar__count { margin-left: auto; font-size: 12px; color: #969ba5; }
.fe-srcarea {
  display: block; width: 100%; min-height: 260px; margin: 0; padding: 10px 12px;
  border: 1px solid #dcdfe6; border-radius: 4px; background: #fff;
  font: 13px/1.6 Consolas, "Courier New", monospace; color: #1d2129;
  resize: vertical; box-sizing: border-box;
}
.fe-preview {
  height: 320px; margin-top: 12px; border: 1px solid #e5e6eb; border-radius: 4px;
  background: #fff; overflow: hidden;
}
.fe-preview iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 开关：36x20 圆角胶囊（对齐保利威实测尺寸） */
.fe-switch { position: relative; display: inline-flex; flex: 0 0 auto; }
.fe-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.fe-switch i {
  display: block; width: 36px; height: 20px; border-radius: 10px;
  background: #dcdfe6; position: relative; transition: background .2s;
}
.fe-switch i::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s;
}
.fe-switch input:checked + i { background: #3f76fc; }
.fe-switch input:checked + i::after { left: 18px; }

.fe-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(0,0,0,.8); }
.fe-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(0,0,0,.8); }
.fe-radio + .fe-radio { margin-left: 20px; }
.fe-badge {
  font-style: normal; font-size: 10px; color: #3f76fc;
  border: 1px solid rgba(63,118,252,.4); border-radius: 2px; padding: 0 3px; margin-left: 4px;
}

/* 消息布局卡 */
.fe-layout { display: flex; gap: 12px; }
.fe-layout__card {
  width: 148px; height: 82px; border: 1px solid #dcdfe6; border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; cursor: pointer; position: relative;
}
.fe-layout__card input { position: absolute; opacity: 0; }
.fe-layout__card.is-active { border-color: #3f76fc; }
.fe-layout__preview {
  width: 100px; height: 34px; border-radius: 3px; background: #f2f3f5;
  display: block; position: relative;
}
.fe-layout__preview--left::before {
  content: ""; position: absolute; left: 6px; top: 8px; width: 46px; height: 6px;
  background: #c9d2df; border-radius: 3px;
}
.fe-layout__preview--center::before {
  content: ""; position: absolute; left: 27px; top: 8px; width: 46px; height: 6px;
  background: #c9d2df; border-radius: 3px;
}
.fe-layout__name { font-size: 12px; color: #4e5969; }

/* 点赞图标上传 */
.fe-sub { flex-basis: 100%; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fe-sub__label { flex: 0 0 88px; font-size: 14px; color: rgba(0,0,0,.6); }
.fe-like {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 4px; background: #f2f3f5;
  cursor: pointer; overflow: hidden;
}
.fe-like img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fe-like__tip { position: relative; font-size: 12px; color: #4e5969; text-align: center; }
.fe-like img:not([hidden]) + .fe-like__tip { display: none; }


/* ==========================================================================
   添加菜单弹窗（对照保利威：600x598、标题 添加菜单、副标题、三组菜单、取消/确定）
   ========================================================================== */
.fe-side__title { display: flex; align-items: center; gap: 8px; }
.fe-add {
  width: 20px; height: 20px; line-height: 18px; padding: 0;
  border: 1px solid #dcdfe6; border-radius: 3px; background: #fff;
  color: #4e5969; font-size: 14px; cursor: pointer;
}
.fe-add:hover { border-color: #3f76fc; color: #3f76fc; }

.fe-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; }
.fe-modal[hidden] { display: none; }
.fe-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.fe-modal__box {
  position: relative; width: 600px; max-height: 598px; background: #fff;
  border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
}
.fe-modal__head { padding: 20px 24px 10px; }
.fe-modal__title { margin: 0; font-size: 16px; font-weight: 700; color: #1d2129; }
.fe-modal__sub { margin: 6px 0 0; font-size: 13px; color: #969ba5; }
.fe-modal__body { padding: 4px 24px 8px; overflow-y: auto; }
.fe-modal__group { margin-bottom: 16px; }
.fe-modal__groupname { font-size: 13px; color: rgba(0,0,0,.6); margin-bottom: 10px; }
.fe-modal__grid { display: flex; flex-wrap: wrap; gap: 10px; }
.fe-modal__item {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 120px; height: 36px; padding: 0 12px;
  border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; color: #1d2129; cursor: pointer;
}
.fe-modal__item:has(input:checked) { border-color: #3f76fc; color: #3f76fc; }
.fe-modal__item.is-off { color: #a8b0bd; cursor: not-allowed; }
.fe-modal__multi, .fe-modal__soon {
  font-style: normal; font-size: 10px; padding: 0 3px; border-radius: 2px;
}
.fe-modal__multi { color: #3f76fc; border: 1px solid rgba(63,118,252,.4); }
.fe-modal__soon { color: #98a2b3; border: 1px solid #e4e8ef; }
.fe-modal__foot {
  display: flex; justify-content: flex-end; gap: 12px;
  padding: 14px 24px 20px; border-top: 1px solid #f0f2f5;
}


/* 菜单管理弹窗：标题按钮 + 表格 */
.fe-titlebtn {
  border: 0; background: transparent; padding: 0; cursor: pointer;
  font-size: 14px; color: rgba(0,0,0,.8);
}
.fe-titlebtn:hover { color: #3f76fc; }
.fe-modal__box--manage { width: 660px; max-height: 340px; }
.fe-modal__head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fe-modal__addbtn {
  flex: 0 0 auto; height: 28px; padding: 0 12px; margin-top: 2px;
  border: 1px solid #3f76fc; border-radius: 4px; background: #fff;
  color: #3f76fc; font-size: 13px; cursor: pointer;
}
.fe-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fe-table thead th {
  text-align: left; font-weight: 400; color: rgba(0,0,0,.6);
  background: #edf1f7; height: 40px; padding: 0 12px;
}
.fe-table tbody td { padding: 10px 12px; border-bottom: 1px solid #f0f2f5; }
.fe-table__type { color: rgba(0,0,0,.6); }
input.fe-table__input {
  width: 180px; height: 32px; padding: 0 10px; flex: 0 0 auto;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px;
}
.fe-del { display: inline-flex; align-items: center; gap: 6px; color: #dc2626; cursor: pointer; }


/* 菜单管理按钮：130x32 白底 1px 边框 圆角4 左侧拖拽图标（对齐保利威实测） */
.fe-titlebtn {
  display: inline-flex; align-items: center; gap: 6px;
  flex: 0 0 130px; width: 130px; height: 32px; padding: 0 8px;
  border: 1px solid rgba(0,0,0,.1); border-radius: 4px; background: #fff;
  font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer;
}
.fe-titlebtn:hover { border-color: #3f76fc; color: #3f76fc; }
.fe-titlebtn__ico { width: 16px; height: 16px; flex: 0 0 auto; color: #98a2b3; }

/* 添加菜单：表头行最右端的蓝色文字链接（14px + 加号图标，无边框无底色） */
.fe-table thead th.fe-table__last { text-align: right; white-space: nowrap; }
.fe-addlink {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 12px;
  border: 0; background: transparent; padding: 0;
  font-size: 14px; color: #3f76fc; cursor: pointer;
}
.fe-addlink svg { width: 14px; height: 14px; }
.fe-addlink:hover { text-decoration: underline; }

/* 旧的弹窗右上角按钮样式已弃用，这里清掉边框视觉（保留类以防缓存页面） */
.fe-modal__addbtn { border: 0; background: transparent; color: #3f76fc; }


/* 引导页（对齐保利威：标签右对齐 94 宽，控件从 418 起） */
.sp-row { display: flex; align-items: center; margin: 0 0 26px; }
.sp-row--top { align-items: flex-start; }
.sp-label { flex: 0 0 94px; text-align: right; padding-right: 16px; font-size: 14px; color: #1d2129; line-height: 20px; }
.sp-row--top .sp-label { padding-top: 8px; }
.sp-ctrl { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sp-ctrl--col { flex-direction: column; align-items: stretch; gap: 8px; }
.sp-tip { font-size: 12px; color: #969ba5; line-height: 20px; }
.sp-tip--block { flex-basis: 100%; margin: 8px 0 0; }
.sp-editor {
  width: 100%; min-height: 420px; padding: 12px;
  border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; line-height: 1.7; color: #1d2129; font-family: inherit; resize: vertical;
}
.sp-editor:focus { border-color: #3f76fc; outline: none; }
.sp-editor__meta { display: flex; justify-content: space-between; font-size: 14px; color: #969ba5; }


/* 引导页富文本编辑器容器（工具栏在上、编辑区在下） */
.sp-editor {
  width: 100%; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff;
  min-height: 420px; display: flex; flex-direction: column; overflow: hidden;
}
.sp-editor__toolbar { border-bottom: 1px solid #f0f2f5; }
.sp-editor__body { flex: 1 1 auto; min-height: 360px; overflow-y: auto; }
/* wangEditor 自带样式在 .w-e-* 上，这里只保证容器高度可见 */
.sp-editor .w-e-text-container { min-height: 320px; }


/* 观看条件页（数值取自保利威实测） */
.cond-page { max-width: 1100px; }
.cond-current { font-size: 12px; color: #969ba5; line-height: 16px; margin: 0 0 34px; }
.cond-row { display: flex; align-items: center; margin: 0 0 24px; }
.cond-label { flex: 0 0 116px; font-size: 14px; color: #1d2129; }
.cond-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cond-opt { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #1d2129; cursor: pointer; position: relative; }
.cond-opt.is-off { color: #969ba5; cursor: not-allowed; }
.cond-soon {
  font-style: normal; font-size: 10px; line-height: 14px; padding: 0 3px;
  color: #98a2b3; border: 1px solid #e4e8ef; border-radius: 2px;
}
.cond-pass { display: flex; align-items: flex-start; margin: 0 0 24px; }
.cond-pass[hidden] { display: none; }
.cond-pass__field { display: flex; flex-direction: column; gap: 6px; }
input.cond-input {
  width: 260px; height: 34px; padding: 0 10px;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px;
}
input.cond-input:focus { border-color: #3f76fc; outline: none; }
.cond-hint { font-size: 12px; color: #969ba5; }
.cond-actions { display: flex; gap: 20px; margin-top: 8px; }
.cond-save { width: 96px; height: 32px; border-radius: 4px; padding: 0; }
.cond-saveall { width: 160px; height: 32px; border-radius: 4px; padding: 0; color: #3f76fc; border-color: #3f76fc; }


/* 聊天室页 */
.cr-page { max-width: 1000px; }
.cr-section { font-size: 14px; color: rgba(0,0,0,.8); line-height: 22px; margin: 0 0 14px; }
.cr-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 0 26px; }
.cr-main { min-width: 0; }
.cr-name { font-size: 14px; color: rgba(0,0,0,.8); line-height: 20px; }
.cr-tip { font-size: 12px; color: rgba(0,0,0,.4); line-height: 18px; margin-top: 8px; }
.cr-radios { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }


/* 合规风控：卡片网格（标题 16px + 说明 12px，未开通显示灰标） */
.cp-page { max-width: 1200px; }
.cp-section { margin: 0 0 30px; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cp-card {
  display: block; padding: 16px 18px; background: #fff;
  border: 1px solid #e7ecf3; border-radius: 8px; text-decoration: none;
  min-height: 92px;
}
.cp-card:hover { border-color: #3f76fc; text-decoration: none; }
.cp-card__title { font-size: 16px; color: #1d2129; margin-bottom: 8px; }
.cp-card__desc { font-size: 12px; line-height: 18px; color: #969ba5; }
.cp-badge {
  font-style: normal; font-size: 11px; line-height: 16px; padding: 0 4px; margin-left: 6px;
  color: #98a2b3; border: 1px solid #e4e8ef; border-radius: 2px;
}
.cp-card.is-off .cp-card__title { color: #4e5969; }


/* 营销互动 → 分享设置 */
.mk-page { display: grid; grid-template-columns: 200px minmax(0,1fr) 300px; gap: 24px; align-items: start; }
.mk-side__group { font-size: 14px; color: #1d2129; margin: 0 0 12px; }
.mk-side__list { list-style: none; margin: 0 0 22px; padding: 0; }
.mk-side__item { font-size: 14px; line-height: 20px; margin: 0 0 20px; }
.mk-side__item a { color: #1d2129; }
.mk-side__item.is-active a { color: #3f76fc; font-weight: 500; }
.mk-side__item a:hover { color: #3f76fc; text-decoration: none; }

.mk-switchrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.mk-tabs { display: flex; gap: 24px; border-bottom: 1px solid #eef2f7; margin: 0 0 16px; }
.mk-tab {
  border: 0; background: transparent; padding: 0 0 10px; font-size: 16px; color: #1d2129;
  cursor: pointer; border-bottom: 2px solid transparent;
}
.mk-tab.is-active { color: #3f76fc; border-bottom-color: #3f76fc; }
.mk-tab[disabled] { color: #a8b0bd; cursor: not-allowed; }
.mk-tip { font-size: 14px; color: #4e5969; line-height: 22px; margin: 0 0 20px; }
.mk-row { display: flex; align-items: center; margin: 0 0 18px; }
.mk-row--top { align-items: flex-start; }
.mk-label { flex: 0 0 90px; font-size: 14px; color: #1d2129; }
input.mk-input {
  width: 420px; height: 38px; padding: 0 12px; flex: 0 0 auto;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px;
}
input.mk-input:focus { border-color: #3f76fc; outline: none; }
.mk-ctrl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.mk-ctrl--col { flex-direction: column; align-items: flex-start; }
.mk-icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 140px; height: 140px; border-radius: 4px; background: #f2f3f5; cursor: pointer; overflow: hidden;
}
.mk-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-icon__tip { position: relative; font-size: 14px; color: #4e5969; }
.mk-icon img:not([hidden]) + .mk-icon__tip { display: none; }
.mk-actions { margin-top: 10px; }

.mk-preview { background: rgba(0,0,0,.04); border-radius: 8px; padding: 16px 14px; min-height: 420px; }
.mk-preview__title { font-size: 14px; color: #1d2129; margin-bottom: 14px; }
.mk-card { background: #fff; border-radius: 6px; padding: 12px; margin-bottom: 14px; }
.mk-card__who { font-size: 14px; color: #4e5969; margin-bottom: 10px; }
.mk-card__body { display: flex; gap: 10px; }
.mk-card__text { flex: 1 1 auto; min-width: 0; }
.mk-card__h { font-size: 14px; color: #1d2129; line-height: 20px; }
.mk-card__d { font-size: 12px; color: #969ba5; line-height: 18px; margin-top: 6px; }
.mk-card__thumb { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 4px; background: #f2f3f5; overflow: hidden; }
.mk-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-card__person { display: flex; align-items: center; gap: 8px; }
.mk-card__avatar {
  width: 24px; height: 24px; border-radius: 4px; background: #3f76fc; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.mk-card__name { font-size: 14px; color: #1d2129; }
.mk-card__time { font-size: 11px; color: #969ba5; margin-top: 8px; }


/* 邀请海报页补充 */
.mk-coverrow { display: flex; align-items: flex-end; gap: 16px; }
.mk-cover {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 320px; height: 180px; border-radius: 4px; background: #f2f3f5; cursor: pointer; overflow: hidden;
}
.mk-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-cover__tip { position: relative; font-size: 14px; color: #4e5969; }
.mk-cover img:not([hidden]) + .mk-cover__tip { display: none; }
.mk-canvas { width: 100%; max-width: 300px; border-radius: 8px; background: #fff; display: block; }
.mk-canvas__ops { margin-top: 10px; text-align: center; }


/* 引导关注预览 */
.mk-follow { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0; }
.mk-follow__btn {
  min-width: 120px; height: 34px; padding: 0 16px; border-radius: 17px;
  background: #3f76fc; color: #fff; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mk-follow__pop {
  width: 100%; background: #fff; border-radius: 8px; padding: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.mk-follow__poptext { font-size: 13px; color: #1d2129; text-align: center; }
.mk-follow__qr {
  width: 120px; height: 120px; border-radius: 6px; background: #f2f3f5;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 12px; color: #98a2b3;
}
.mk-follow__qr img { width: 100%; height: 100%; object-fit: contain; }

/* 侧栏二级子项：块级竖直排列（缺这条时 <a> 是 inline，三项会横排挤在一行） */
.sidebar .side-sub {
  display: flex; align-items: center; min-height: 44px;
  padding: 0 12px 0 44px; margin-bottom: 2px; border-radius: 4px;
  font-size: 14px; color: #b6c2d4;
}
.sidebar .side-sub:hover { background: rgba(148,163,184,.12); color: #fff; text-decoration: none; }
.sidebar .side-sub.active { background: rgba(63,118,252,.55); color: #fff; }
.sidebar .side-sub-group { display: block; padding: 6px 12px 4px 44px; font-size: 12px; color: #7c8aa5; }

/* 第 3 级及以下列统一 220 宽（第 4 级原来回落 140，双列 90 太窄），双列每格 110 */

/* 双列网格改为“按内容取宽”：宽度不再写死（写死 90/110 一旦文字变长就又挤）。
   列宽 = 两格内容宽度之和，最小 200px。 */

/* 用户指定：引流（第 4 级双列）列宽 260，每格 120 */

/* 引流（第4级双列）文字居中：与上方「模板设置」那一列视觉对齐，不再左贴 */

/* 引流列文字改为与上方「模板设置」同样的“贴列左边缘”对齐（offset 0）。
   之前我做了居中，与上一列节奏不一致。 */

/* 用户要求：引流（第4列）的文字要与第3列「模板设置」的文字对齐在同一条竖线上。
   第3列 x=224、文字偏移 0；第4列 x=444，因此把第4列整体左移到 224 起，
   宽度仍 260，双列每格 120，文字偏移 0 → 与模板设置同一竖线。 */

/* 用户要求：第 3 列（模板设置那一列的 17 项）文字水平居中，
   原来贴左、右侧留大片空白。分组标题同样居中。 */
.cascade__col--3 .cascade__item {
  justify-content: center !important;
  padding: 0 8px !important;
}
.cascade__col--3 .cascade__label {
  text-align: center !important;
  width: 100%;
}
.cascade__col--3 .cascade__group {
  justify-content: center !important;
  text-align: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 引流列改为“单列整宽”：之前双列每格只有 120，看起来只有一点点。
   现在每项占满 260 宽、文字居中，和「模板设置」那一列的观感一致。 */

/* 引流列：竖排单列（我不该发明双列；保利威就是单列竖排） */
.cascade__col--4 { flex: 0 0 320px; width: 320px; }
.cascade__col--4 .cascade__item {
  width: 100%; height: 44px; padding: 0 16px;
  display: flex; align-items: center; justify-content: flex-start;
  font-size: 14px; color: #1d2129;
}
.cascade__col--4 .cascade__label { text-align: left; white-space: nowrap; }
.cascade__col--4 .cascade__group {
  width: 100%; height: 40px; padding: 0 12px;
  display: flex; align-items: center; font-size: 14px; color: #1d2129;
}

/* 级联列收起/展开按钮：位置由 JS 按级联列真实右边缘计算（不能写死，
   也不能在 body 上用 --cascade-w，它在 .app-main 上，取不到会算成 212 压住侧栏） */
.cascade__toggle {
  position: fixed; top: 50%; z-index: 21; transform: translateY(-50%);
  width: 24px; height: 48px; padding: 0;
  border: 1px solid #e2e8f0; border-radius: 6px;
  background: #fff; color: #4e5969; font-size: 14px; line-height: 46px;
  cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.cascade__toggle:hover { color: #3f76fc; border-color: #3f76fc; }
body.cascade-collapsed .cascade { display: none; }


/* 唯一权威规则：任何带 --grid 标记的级联列，都按“竖排单列 + 整宽”渲染。
   之前多版本规则（90px 双列、max-content、120 双列）互相覆盖，
   导致线上出现 90px 的窄列（本地却量到 320），全部删掉只留这一条。 */
/* 保利威实测：该列 width:180，display:grid，两格各 90（无间隙），
   文字左缘 281+16=297 / 371+16=387，行高 44，组标题跨两格左缩进 44。 */
.cascade__col--grid {
  flex: 0 0 180px !important;
  width: 180px !important;
  min-width: 180px !important;
  display: grid !important;
  grid-template-columns: 90px 90px !important;
  align-content: start !important;
}
.cascade__col--grid .cascade__item {
  width: 90px !important;
  height: 44px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  font-size: 14px !important;
}
.cascade__col--grid .cascade__label { text-align: left !important; white-space: nowrap; }
.cascade__col--grid .cascade__group {
  grid-column: 1 / -1 !important;
  width: 180px !important; height: 44px !important; padding: 0 0 0 44px !important;
  display: flex !important; align-items: center !important; font-size: 14px !important;
}

/* 营销系列页面：删掉左侧导航后必须两列（表单 + 预览）。
   旧的三列规则 200/1fr/300 优先级更高，导致表单列只有 200、
   输入框 420 溢出到预览区 —— 右侧看起来乱七八糟就是这个原因。 */
/* 保利威实测：说明与 tabs 在两列区域之上；预览块从「标题」这一行开始
   （标题输入 y272 / 微信分享预览卡 y271）。所以外层 .mk-page 不再做 grid，
   真正的两列交给 .mk-cols，避免预览顶到页面最上方。 */
.mk-page.mk-page--two {
  display: block !important;
}
.mk-cols {
  display: grid !important;
  grid-template-columns: 558px 300px !important;
  column-gap: 57px !important;
  justify-content: start !important;
  align-items: start !important;
  margin-top: 4px;
}
.mk-col-form { min-width: 0; }
.mk-page.mk-page--two .mk-main { min-width: 0; width: auto; }
.mk-page.mk-page--two .mk-preview { width: 300px; }

/* 2026-10-31 窄屏修复（营销互动）：
   原固定网格 558px + 57gap + 300px = 915px，在 <915px 视口整页横向溢出（768/390 实测 929px）。
   桌面端（≥961px）保持原样两列；≤960px 改为单列纵向排列，表单在上、预览在下，字段与预览全部保留。 */
@media (max-width: 960px) {
  .mk-cols {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 20px !important;
  }
  .mk-page.mk-page--two .mk-preview,
  .mk-cols .mk-preview { width: 100% !important; max-width: 100%; }
  /* 控件列在窄屏改成可收缩，简介框占满控件列（桌面仍为 440px 定宽） */
  .mk-ctrl { flex: 1 1 auto; min-width: 0; max-width: 100%; }
  .mk-desc-wrap { width: 100%; }
  .mk-row { flex-wrap: wrap; }
  .mk-label { flex: 0 0 72px !important; width: 72px !important; padding-right: 10px !important; }
  .mk-actions { margin-left: 72px !important; }
}

/* 营销系列页右侧表单：按保利威实测校准
   标签列 96 右对齐、输入框 395、预览卡 300、保存按钮与输入框左端对齐 */
.mk-page.mk-page--two .mk-preview { width: 300px; }

/* 简介：保利威是 440×136 的框（1px #e5e5e5、圆角 4、白底）里放 438×104 的
   textarea（rows=5、padding 8、行高 17.5），计数 17/120 在框内下方左对齐。
   我们原来是单行 input —— 用户指出与保利威完全不同。 */
.mk-desc-wrap {
  width: 440px; max-width: 100%; border: 1px solid #e5e5e5; border-radius: 4px;
  background: #fff; padding: 0 0 13px; box-sizing: border-box;
}
.mk-desc {
  display: block; width: 100%; height: 104px; padding: 8px;
  border: 0; outline: none; resize: none; background: transparent;
  font-size: 14px; line-height: 17.5px; color: #1d2129; font-family: inherit;
  box-sizing: border-box;
}
.mk-desc::placeholder { color: #a9aeb8; }
.fe-count--below {
  display: block; font-size: 12px; line-height: 17px;
  color: #969ba5; text-align: left; padding-left: 0;
}
.mk-bind { font-size: 12px; color: #4e5969; margin: 0 0 12px; line-height: 18px; }
.mk-row { display: flex; align-items: center; margin: 0 0 18px !important; }
.mk-row--top { align-items: flex-start !important; }
.mk-label {
  flex: 0 0 96px !important; width: 96px !important;
  text-align: right !important; padding-right: 14px !important;
}
/* 2026-10-31 窄屏修复：395px 固定输入框在窄屏会撑破行（桌面仍 395；窄屏允许收缩到行宽） */
input.mk-input { width: 395px !important; max-width: 100%; min-width: 0; }
.mk-actions { margin-left: 96px !important; }
.mk-switchrow { margin: 0 0 16px !important; }
.mk-tabs { margin: 0 0 14px !important; }
.mk-tip { margin: 0 0 16px !important; }

/* 引流列每项尺寸按保利威实测：格宽 90、内边距左 16、行高 44。
   不要再改成 max-content —— 那样两格的背景块宽度不一致，跟保利威对不上。 */
.cascade__col--grid .cascade__item {
  width: 90px !important;
  min-width: 90px !important;
  height: 44px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}
.cascade__col--grid .cascade__label { white-space: nowrap; }

/* 选中项必须有“固定深色底 + 白字”，否则分不清当前在哪个选项（用户要求）。
   二级、三级、网格列统一。 */
.cascade__col .cascade__item.is-active,
.cascade__col--2 .cascade__item.is-active,
.cascade__col--3 .cascade__item.is-active,
.cascade__col--4 .cascade__item.is-active {
  background: #3f76fc !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
}
.cascade__col .cascade__item.is-active .cascade__label,
.cascade__col--2 .cascade__item.is-active .cascade__label,
.cascade__col--3 .cascade__item.is-active .cascade__label,
.cascade__col--4 .cascade__item.is-active .cascade__label {
  color: #ffffff !important;
}
/* 悬停时略浅，与选中区分 */
.cascade__col--3 .cascade__item:hover:not(.is-active),
.cascade__col--4 .cascade__item:hover:not(.is-active) {
  background: rgba(63,118,252,.10) !important;
}

/* === 分享设置顶部（保利威实测） ===
   1) 「分享」标题 x489 y84 / 说明「开启后…」同一行、x585（=96 缩进）、12px #969ba5；
      保利威这里没有开关，我方原来的开关行已删除。
   2) 说明条：910×42、背景 #ebf1fe、圆角 4、左右内边距 10、16px 圆形信息图标 #3f76fc、
      正文 14px #4e5969，「绑定企微」为 #3f76fc 链接无下划线。
   3) 两列：表单列 558、间隔 57、预览列 300，从内容左缘 +615 开始（保利威 1104=489+615），
      不再贴到最右边。 */
.mk-head { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.mk-head__t { font-size: 14px; color: #1d2129; }
.mk-head__tip { font-size: 12px; color: #969ba5; }
.mk-notice {
  display: flex; align-items: center; gap: 10px;
  width: 910px; max-width: 100%; min-height: 42px; box-sizing: border-box;
  background: #ebf1fe; border-radius: 4px; padding: 0 10px; margin: 0 0 24px;
  font-size: 14px; color: #4e5969;
}
.mk-notice__icon {
  flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%;
  background: #3f76fc; color: #fff; font-size: 11px; line-height: 16px;
  text-align: center; font-style: normal; font-weight: 600; font-family: system-ui, sans-serif;
}
.mk-notice__text { line-height: 20px; }
.mk-notice a { color: #3f76fc; text-decoration: none; }

/* === 分享设置：顶部开关行 + 两个 tab 面板 + 网页分享预览（保利威实测） ===
   保利威顶部：分享(x489) + 开关(36×20,#3f76fc,x533) + 提示(12px #969ba5,x585)；
   网页分享 tab：分享地址输入 399×34、计数贴右端、重置 #3f76fc、
   说明 12px 灰、下一行开关、保存 96×32；右侧白卡 300×194（标题栏 44）。 */
.mk-head__sw { margin: 0; }
.mk-head .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.mk-head .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.mk-head .fe-switch input:checked + i::after { left: 18px; }
.mk-panel[hidden] { display: none !important; }
input.mk-input.mk-input--weburl { width: 399px !important; height: 34px !important; }
.mk-tip--plain { font-size: 12px; color: #969ba5; margin: 6px 0 18px 96px; }
.mk-preview--web { background: transparent; padding: 0; min-height: 0; }
.mk-webprev {
  width: 300px; height: 194px; background: #fff; border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08); overflow: hidden;
}
.mk-webprev__title {
  height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #4e5969; background: #fff;
}
.mk-webprev__body { position: relative; height: 150px; }
.mk-webprev__qr {
  position: absolute; left: 212px; top: 10px; width: 62px; height: 62px;
  background: #f2f3f5; border-radius: 2px;
}
.mk-webprev__link {
  position: absolute; left: 28px; top: 80px; width: 85px;
  font-size: 10px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 网页分享一行：计数紧贴输入框右端（保利威 0/512 起点 = 输入框右缘），
   「重置」再留 14px。 */
.mk-panel[data-panel=web] .mk-ctrl { gap: 0; }
.mk-panel[data-panel=web] #resetWebUrl { margin-left: 14px; }

/* === 邀请海报（保利威实测） ===
   标题「邀请海报：」x489 / 开关 36×20 在 +74 / 说明 12px #969ba5 在 +126；
   表单标签列 126；样式缩略图 39×71、列距 53、行距 92、横向 6 个；
   封面图 320×180；提示 12px 灰；保存 96×32；
   右侧预览 .c-mobile-preview 300×599（标题 + 手机框）。 */
.po-page .mk-main { min-width: 0; }
.po-head { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.po-head__t { font-size: 14px; color: #1d2129; }
.po-head__sw { margin-left: 6px; }
.po-head .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.po-head .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.po-head .fe-switch input:checked + i::after { left: 18px; }
.po-head__tip { font-size: 12px; color: #969ba5; line-height: 18px; }
.po-body { display: grid; grid-template-columns: 640px 300px; column-gap: 44px; align-items: start; }
.po-form { min-width: 0; }
.po-row { display: flex; align-items: center; margin-bottom: 22px; }
.po-row--top { align-items: flex-start; }
.po-label { flex: 0 0 126px; font-size: 14px; color: #1d2129; text-align: right; padding-right: 12px; box-sizing: border-box; }
.po-ctrl { flex: 1 1 auto; min-width: 0; }
.po-ctrl--col { display: block; }
.po-styles { display: grid; grid-template-columns: repeat(6, 39px); gap: 14px 14px; margin: 0; padding: 0; list-style: none; }
.po-style { position: relative; width: 39px; height: 71px; cursor: pointer; border-radius: 2px; overflow: hidden; }
.po-style img { width: 39px; height: 71px; display: block; object-fit: cover; }
.po-style__mask { position: absolute; inset: 0; border: 2px solid transparent; border-radius: 2px; box-sizing: border-box; }
.po-style.is-on .po-style__mask { border-color: #3f76fc; }
.po-reuse { display: inline-flex; align-items: center; font-size: 14px; color: #3f76fc; cursor: pointer; margin-bottom: 10px; }
.po-cover { width: 320px; height: 180px; border-radius: 4px; overflow: hidden; background: #f2f3f5; }
.po-cover img { width: 320px; height: 180px; object-fit: cover; display: block; }
.po-cover__ops { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.po-btn { font-size: 12px; color: #3f76fc; cursor: pointer; }
.po-btn__sep { color: #dcdfe6; font-size: 12px; }
.po-hint { font-size: 12px; color: #969ba5; margin: 8px 0 0; }
.po-actions { margin-top: 6px; padding-left: 126px; }
.c-mobile-preview { width: 300px; }
.c-mobile-preview__title { font-size: 14px; color: #1d2129; margin: 0 0 10px; }
.po-phone {
  width: 300px; height: 599px; border-radius: 8px; background: #f5f6f8;
  display: flex; align-items: flex-start; justify-content: center; padding: 24px 0 0; box-sizing: border-box;
}
/* 海报卡：保利威合成页实测 188×334（封面 188×90、头像 30×30、二维码 56×56） */
.po-poster { position: relative; width: 188px; height: 334px; border-radius: 6px; overflow: hidden; background: #fff; }
.po-poster__bg { position: absolute; inset: 0; width: 188px; height: 334px; object-fit: cover; }
.po-poster__cover { position: absolute; left: 0; top: 0; width: 188px; height: 90px; }
.po-poster__cover img { width: 188px; height: 90px; object-fit: cover; display: block; }
.po-poster__avatar {
  position: absolute; left: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: #cfd4dd; border: 2px solid rgba(255,255,255,.9);
}
.po-poster__name {
  position: absolute; left: 8px; top: 96px; right: 8px; font-size: 12px; color: #1d2129;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.po-poster__qr { position: absolute; left: 66px; top: 210px; width: 56px; height: 56px; background: #fff; border: 1px solid #e5e5e5; }
.po-poster__footer { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 10px; color: #909399; }

/* === 引导关注（保利威实测） ===
   标题「引导关注：」+ 开关 36×20 在 +74 + 说明 12px #969ba5 在 +126；
   标签列 126；入口文案输入 286×38（计数贴右）；二维码 80×80 + 下方 12px 提示；
   弹窗文案 280×38；主动弹窗开关 + 12px 提示；按钮「确定保存」96×32；
   右预览 300×660 手机模拟，底部 介绍 / 聊天 (2231) / 提问 + 「+ 关注」蓝色胶囊。 */
.fw-head { display: flex; align-items: center; margin: 0 0 18px; }
.fw-head__t { font-size: 14px; color: #1d2129; }
.fw-head__sw { margin-left: 4px; }
.fw-head .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.fw-head .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.fw-head .fe-switch input:checked + i::after { left: 18px; }
.fw-head__tip { font-size: 12px; color: #969ba5; margin-left: 16px; }
.fw-body { display: grid; grid-template-columns: 420px 300px; column-gap: 48px; align-items: start; }
.fw-form { min-width: 0; }
.fw-row { display: flex; align-items: center; margin-bottom: 20px; }
.fw-row--top { align-items: flex-start; }
.fw-label { flex: 0 0 126px; font-size: 14px; color: #1d2129; text-align: right; padding-right: 12px; box-sizing: border-box; }
.fw-ctrl { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.fw-ctrl--col { display: block; }
input.fw-input {
  width: 286px; height: 38px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; box-sizing: border-box; flex: 0 0 auto;
}
input.fw-input:focus { border-color: #3f76fc; outline: none; }
input.fw-input.fw-input--narrow, .fw-row:nth-child(3) input.fw-input, .fw-row:nth-child(4) input.fw-input { width: 280px !important; }
.fw-qr {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 4px; background: #f2f3f5; cursor: pointer; overflow: hidden;
}
.fw-qr img { position: absolute; inset: 0; width: 80px; height: 80px; object-fit: cover; }
.fw-qr__tip { position: relative; font-size: 12px; color: #86909c; }
.fw-qr img:not([hidden]) + .fw-qr__tip { display: none; }
.fw-hint { font-size: 12px; color: #969ba5; margin: 8px 0 0; }
.fw-rowtip { font-size: 12px; color: #969ba5; margin-left: 12px; }
.fw-actions { margin-top: 6px; padding-left: 126px; }
.fw-preview { width: 300px; }
/* 手机 / 电脑 分段切换（对齐保利威：浅灰底 + 选中白底蓝字） */
.fw-preview__tabs {
  display: flex; gap: 4px; width: max-content; margin: 0 auto 14px;
  padding: 4px; background: #f2f3f5; border-radius: 16px;
}
.fw-ptab {
  border: 0; background: transparent; color: #4e5969; height: 26px; padding: 0 14px;
  border-radius: 13px; font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.fw-ptab.is-on { background: #fff; color: #1a6dff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* 手机预览：结构照真实观看页（状态栏 / 播放器 / TAB 行 + 关注 / 频道卡 / 推广位） */
.fw-phone {
  position: relative; width: 300px; height: 556px; background: #fff; border-radius: 10px;
  box-shadow: 0 6px 22px rgba(20,40,80,.14); overflow: hidden;
  display: flex; flex-direction: column;
}
.fw-phone__status {
  flex: none; height: 24px; padding: 0 12px; display: flex; align-items: center;
  justify-content: space-between; font-size: 11px; color: #1d2129;
}
.fw-phone__sys { display: inline-flex; align-items: center; gap: 5px; }
.fw-sig { width: 16px; height: 9px; background: repeating-linear-gradient(90deg,#1d2129 0 2px,transparent 2px 5px); border-radius: 1px; }
.fw-bat { position: relative; width: 18px; height: 9px; border: 1px solid #1d2129; border-radius: 2px; }
.fw-bat::before { content: ""; position: absolute; left: 2px; top: 2px; bottom: 2px; right: 5px; background: #1d2129; border-radius: 1px; }
.fw-bat::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: #1d2129; border-radius: 0 1px 1px 0; }

.fw-phone__stage { position: relative; flex: none; height: 169px; background: #e9ecf2; overflow: hidden; }
.fw-stage__bg { position: absolute; inset: 0; background: linear-gradient(180deg,#f6f8fb 0%,#e5e9f0 55%,#ced4df 100%); overflow: hidden; }
.fw-stage__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-stage__person--hidden { display: none; }
.fw-phone[hidden] { display: none !important; }
.fw-stage__person { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 110px; height: 150px; }
.fw-stage__person::before {
  content: ""; position: absolute; left: 50%; margin-left: -23px; top: 4px;
  width: 46px; height: 54px; border-radius: 50% 50% 46% 46%; background: #f0d2c0;
}
.fw-stage__person::after {
  content: ""; position: absolute; left: 0; top: 52px; width: 110px; height: 98px;
  border-radius: 26px 26px 0 0; background: linear-gradient(180deg,#fbfcfe,#e7ebf2);
}
.fw-stage__person--pc { transform: translateX(-50%) scale(1.18); transform-origin: bottom center; }

.fw-phone__top {
  position: absolute; left: 0; right: 0; top: 0; height: 34px; padding: 0 10px;
  display: flex; align-items: center; justify-content: space-between; z-index: 2;
}
.fw-phone__x {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.78);
  color: #1d2129; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.fw-phone__land {
  font-size: 11px; padding: 3px 10px; border-radius: 12px;
  background: rgba(255,255,255,.82); color: #1d2129;
}
.fw-phone__more { font-size: 14px; color: #4e5969; letter-spacing: 1px; }
.fw-phone__ctrl {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px; padding: 0 10px;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.45)); color: #fff;
}
.fw-ico-play { width: 0; height: 0; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.fw-ctrl-line { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); position: relative; }
.fw-ctrl-line::after { content: ""; position: absolute; left: 0; top: 0; width: 30%; height: 2px; border-radius: 2px; background: #fff; }
.fw-ctrl-time { font-size: 10px; opacity: .9; }
.fw-ico-full { width: 13px; height: 13px; border: 2px solid #fff; border-radius: 2px; box-sizing: border-box; }

.fw-phone__tabs {
  position: relative; flex: none; height: 38px; display: flex; align-items: center;
  background: #fff; border-bottom: 1px solid #eef0f3; padding-right: 88px; box-sizing: border-box;
}
.fw-phone__tabs ul { display: flex; height: 100%; margin: 0; padding: 0 4px; list-style: none; }
.fw-phone__tabs li { display: flex; align-items: center; padding: 0 10px; font-size: 13px; color: #4e5969; }
.fw-phone__tabs li.is-on { position: relative; color: #1a6dff; font-weight: 600; }
.fw-phone__tabs li.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: #1a6dff; }
.fw-pill {
  position: absolute; right: 0; top: 0; height: 100%; padding: 0 12px; border-radius: 0;
  background: #1a6dff; color: #fff; font-size: 13px; white-space: nowrap;
  display: inline-flex; align-items: center;
}

.fw-phone__card {
  position: relative; flex: none; margin: 10px; padding: 10px; border-radius: 6px;
  background: linear-gradient(135deg,#e9f0ff,#f5f9ff);
}
.fw-phone__card-head { display: flex; align-items: center; gap: 8px; }
.fw-logo {
  width: 30px; height: 30px; border-radius: 6px; background: #1a6dff; color: #fff;
  font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none;
}
.fw-phone__card-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; color: #1d2129; font-weight: 600; }
.fw-phone__card-name span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-tag-on { flex: none; font-size: 10px; line-height: 16px; padding: 0 6px; border-radius: 10px; color: #1a6dff; border: 1px solid #1a6dff; }
.fw-phone__card-sub { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 11px; color: #6b7280; }
.fw-phone__view { margin-left: auto; }
.fw-phone__card-desc {
  margin: 8px 0 0; font-size: 11px; line-height: 1.6; color: #6b7280;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fw-phone__card-more {
  position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: #1a6dff; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.fw-phone__banner {
  flex: 1; min-height: 110px; margin: 0 10px 10px; border-radius: 6px;
  background: linear-gradient(135deg,#2f7cf6,#0b46c9); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.fw-phone__banner b { font-size: 18px; font-weight: 600; max-width: 260px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-phone__banner span { font-size: 11px; opacity: .85; }

/* 保利威的「保存/确定保存」按钮固定宽 96（2 字、4 字都是 96×32）。 */
.btn.btn-primary.skin-save { min-width: 96px; }

/* === 直播预约（保利威实测） ===
   顶部说明 14px #4e5969（标题 + 两条 •）；标签列 88、内容 +104（开关 36×20）；
   12px 灰说明 + 「示例」#3f76fc 链接；缩进行标签右缘 +128（引导关注文案/预约人数）；
   引导关注文案输入 466×30、计数贴右；预约人数为 16×16 单选；保存 96×32。 */
.rs-intro { margin: 0 0 24px; }
.rs-intro__t { font-size: 14px; color: #4e5969; margin: 0 0 4px; }
.rs-intro__li { font-size: 14px; color: #4e5969; margin: 0 0 4px; line-height: 24px; }
.rs-row { display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: center; margin-bottom: 18px; }
.rs-row--sub { grid-template-columns: 212px 1fr; }
.rs-label { font-size: 14px; color: #4e5969; text-align: right; }
.rs-ctrl { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rs-tip { font-size: 12px; color: #969ba5; }
.rs-link { font-size: 12px; color: #3f76fc; text-decoration: none; }
.rs-row .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.rs-row .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.rs-row .fe-switch input:checked + i::after { left: 18px; }
input.rs-input {
  width: 466px; height: 30px; padding: 0 10px; border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; box-sizing: border-box; flex: 0 0 auto;
}
input.rs-input:focus { border-color: #3f76fc; outline: none; }
.rs-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #1d2129; cursor: pointer; }
.rs-radio + .rs-radio { margin-left: 18px; }
.rs-radio input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.rs-actions { padding-left: 88px; }
.rs-modal[hidden] { display: none !important; }
.rs-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; }
.rs-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.rs-modal__box { position: relative; background: #fff; border-radius: 6px; padding: 12px; max-height: 86vh; overflow: auto; }
.rs-modal__box img { display: block; max-height: 78vh; }
.rs-modal__x { position: absolute; right: 8px; top: 4px; font-size: 20px; color: #86909c; cursor: pointer; line-height: 1; }
/* 广告示例：手机端 mockup */
.ad-phone { width: 240px; height: 480px; background: #000; border-radius: 32px; padding: 10px; box-sizing: border-box; position: relative; }
.ad-phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; background: #000; border-radius: 0 0 10px 10px; z-index: 5; }
.ad-phone__screen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; position: relative; background: #1a1a1a; }
.ad-pre { display: flex; flex-direction: column; }
.ad-pre__tag { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; z-index: 3; }
.ad-pre__skip { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; z-index: 3; cursor: pointer; }
.ad-pre__video { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; }
.ad-pre__video-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #4a90d9, #2c5f8a); }
.ad-pre__video-play { position: relative; color: rgba(255,255,255,.8); font-size: 36px; }
.ad-pre__bar { position: relative; height: 4px; background: rgba(255,255,255,.2); }
.ad-pre__bar-inner { height: 100%; background: #fff; }
.ad-pre__count { position: absolute; right: 8px; top: -20px; color: #fff; font-size: 11px; }
/* 预约页只有一列表单：必须关掉 .mk-page 的旧三列网格，
   否则表单会被塞进 200px 的第一列（这一页之前就是被压窄的）。 */
.mk-page.rs-page { display: block !important; }
.rs-link { display: inline-block; }

/* === 广告（保利威实测） ===
   tab 88×31（横幅/图标/片头/暂停，x 489/585/681/777，间距 8）；
   说明行：标签 + 12px #969ba5 + 「示例」12px #3f76fc；
   允许关闭广告行；设置广告按钮 128×32 #3f76fc；
   表格 4 列各 349、表头 47 高 bg #f7f8f9、行高 80。 */
.mk-page.ad-page { display: block !important; }
.ad-tabs { display: flex; gap: 8px; margin: 0 0 24px; }
.ad-tab {
  width: 88px; height: 31px; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; color: #4e5969; border-radius: 4px;
}
.ad-tab.is-active { color: #3f76fc; font-weight: 500; }
.ad-tiprow { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.ad-tiprow__label { font-size: 14px; color: #4e5969; }
.ad-tip { font-size: 12px; color: #969ba5; }
.ad-link { font-size: 12px; color: #3f76fc; text-decoration: none; }
.ad-row { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.ad-row__label { font-size: 14px; color: #1d2129; }
.ad-row .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.ad-row .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.ad-row .fe-switch input:checked + i::after { left: 18px; }
.ad-actions { margin: 0 0 24px; }
.ad-add { height: 32px; min-width: 128px; }
.ad-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.ad-table th {
  background: #f7f8f9; color: #4e5969; font-weight: 500; font-size: 14px;
  height: 47px; text-align: center; border-bottom: 1px solid #eceef1;
}
.ad-table td {
  height: 80px; text-align: center; color: #1d2129; border-bottom: 1px solid #eceef1;
  vertical-align: middle;
}
.ad-thumb { max-width: 200px; max-height: 60px; border-radius: 2px; }
.ad-op { font-size: 14px; color: #3f76fc; text-decoration: none; margin: 0 6px; background: none; border: 0; cursor: pointer; }
.ad-savebar { margin-top: 22px; }
.ad-modal[hidden] { display: none !important; }
.ad-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; }
.ad-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.ad-modal__box {
  position: relative; width: 720px; background: #fff; border-radius: 6px; padding: 20px 24px 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2); display: flex; flex-direction: column;
}
.ad-modal__hd { font-size: 16px; color: #1d2129; margin: 0 0 20px; order: 0; }
.ad-modal__x { float: right; cursor: pointer; color: #86909c; font-size: 18px; line-height: 1; }
.ad-field { display: grid; grid-template-columns: 88px 1fr; column-gap: 12px; align-items: center; margin-bottom: 18px; }
/* 字段顺序：类型→内容→图片→视频→时长→链接→跳转方式→高级配置；图标广告的上传素材(order:8)放到高级配置之后 */
.ad-field[data-for=adtype] { order: 1; }
.ad-field[data-for=text] { order: 2; }
.ad-field[data-for=image] { order: 3; }
.ad-field[data-for=video] { order: 3; }
.ad-field[data-for=pre] { order: 4; }
.ad-field[data-for=link] { order: 5; }
.ad-field[data-for=openmode] { order: 6; }
.ad-field[data-for=adv] { order: 7; }
.ad-modal__ft { order: 100; }
/* hidden 属性要能盖住 display:grid，否则按类型切换的字段藏不住 */
.ad-field[hidden] { display: none !important; }
.ad-flabel { font-size: 14px; color: #4e5969; text-align: right; }
.ad-fctrl { display: flex; align-items: center; gap: 10px; }
.ad-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #1d2129; cursor: pointer; }
.ad-radio input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.ad-input {
  width: 100%; height: 38px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; box-sizing: border-box;
}
.ad-input--sm { width: 100px; }
.ad-input--link { flex: 1 1 auto; height: 30px; }
.ad-select { height: 30px; min-width: 100px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; color: #4e5969; box-sizing: border-box; }
.ad-linkrow .ad-select { flex: 0 0 100px; }
.ad-upload {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 160px; height: 90px; border-radius: 4px; background: #f2f3f5;
  border: 1px dashed #dcdfe6; cursor: pointer; overflow: hidden;
}
.ad-upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-upload__tip { position: relative; font-size: 12px; color: #86909c; }
/* 上传区：素材框 + 下方说明文字（说明不再塞进小框里） */
.ad-fctrl--upload { flex-direction: column; align-items: flex-start; gap: 6px; }
.ad-upload__hint { font-size: 12px; color: #86909c; line-height: 1.6; }
.ad-upload--wide { width: 200px; height: 112px; }
.ad-upload__plus { display: block; font-size: 30px; color: #c9cdd4; line-height: 1; }
.ad-upload img:not([hidden]) ~ .ad-upload__plus,
.ad-upload img:not([hidden]) ~ .ad-upload__tip { display: none; }
/* 图标广告：大上传框 + 号，120×120，提示文字在框下方 */
.ad-upload--icon {
  width: 120px; height: 120px; flex-direction: column; border: 1px dashed #dcdfe6;
  background: #fff; border-radius: 4px;
}
.ad-upload--icon .ad-upload__plus {
  display: block; font-size: 36px; color: #c9cdd4; line-height: 1; margin-bottom: 8px;
}
.ad-upload--icon .ad-upload__tip { font-size: 12px; color: #86909c; text-align: center; padding: 0 8px; }
.ad-modal__ft { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }

/* === 广告「高级配置」：按终端单独配跳转链接（保利威实测） ===
   一行可展开：「高级配置 ▼」14px + 灰字说明 12px；
   展开后 4 个 tab 按钮（电脑端链接/中转链接/跳转APP/微信小程序），
   点击 tab 切换下面对应的输入区域。 */
.ad-field--top { align-items: flex-start; }
.ad-fctrl--col { flex-direction: column; align-items: stretch; gap: 10px; }
.ad-linktip { font-size: 12px; color: #969ba5; margin-bottom: 2px; }
.ad-linkrow { display: flex; align-items: center; gap: 8px; }
/* 跳转链接区：灰底分组框（保利威同款），第一行浏览器链接、第二行跳转方式 */
.ad-linkbox {
  display: flex; flex-direction: column; gap: 10px;
  background: #f7f8f9; border-radius: 4px; padding: 10px 12px;
}
.ad-linkrow__label { flex: 0 0 72px; font-size: 14px; color: #4e5969; }
.ad-linkrow .ad-select--mode { flex: 0 0 176px; }
.ad-modehint { font-size: 12px; color: #969ba5; }
.ad-linkrow .ad-input--link { flex: 1 1 auto; }
.ad-adv {
  display: flex; align-items: center; gap: 12px; padding: 0; border: 0;
  background: none; cursor: pointer; font-size: 14px; color: #1d2129; text-align: left; width: 100%;
}
.ad-adv__arrow { white-space: nowrap; }
.ad-adv__arrow::after { content: ' \25B8'; font-size: 10px; color: #86909c; }
.ad-adv.is-open .ad-adv__arrow::after { content: ' \25BC'; }
.ad-adv__tip { font-size: 12px; color: #969ba5; }
.ad-terms { display: flex; flex-direction: column; gap: 10px; }
.ad-terms[hidden] { display: none !important; }
.ad-termtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-termtab {
  height: 32px; padding: 0 14px; box-sizing: border-box;
  border: 1px solid #dcdfe6; border-radius: 4px;
  background: #fff; font-size: 13px; color: #4e5969; cursor: pointer;
}
.ad-termtab:hover { border-color: #3f76fc; color: #3f76fc; }
.ad-termtab.is-active {
  border-color: #3f76fc; background: #3f76fc; color: #fff;
}
.ad-termpane { display: flex; flex-direction: column; gap: 10px; }
.ad-termpane[hidden] { display: none !important; }
/* 跳转链接行内计数器贴右 */
.fe-count { font-size: 12px; color: #86909c; white-space: nowrap; }
/* 统计回调：行内「设置」链接；弹窗 520×256（标题 16px、两个 241×38 输入） */
.ad-row--cb { margin: -6px 0 16px; }
.ad-modal__box--cb { width: 520px; padding: 0 0 20px; }
.ad-modal__box--cb .ad-modal__hd { padding: 24px 24px 0; margin-bottom: 20px; font-size: 16px; }
.ad-modal__box--cb .ad-field { grid-template-columns: 190px 1fr; padding: 0 24px; margin-bottom: 14px; }
.ad-modal__box--cb .ad-flabel { font-size: 14px; color: #4e5969; }
.ad-modal__box--cb .ad-modal__ft { padding: 0 24px; }

/* 分享设置「更多设置」：保利威是折叠行（x584 y657，14px），
   自定义地址/携带分享参数/回放标题跟随 三行都在里面。 */
.mk-morebar { margin: 6px 0 14px; }
.mk-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #1d2129; text-decoration: none; }
.mk-more__arrow { font-size: 12px; color: #86909c; }
.mk-morebox[hidden] { display: none !important; }
/* 标题输入框按保利威实测 406 宽，计数贴右缘（0/50 起点 = 输入框右边缘） */
input.mk-input[name=og_title] { width: 406px !important; }
.mk-row:has(input[name=og_title]) .mk-ctrl { gap: 0; }

/* === 回放设置（保利威实测） ===
   卡片式：卡片 x308、宽 642；标题 14px x329；
   行内标签 x329（宽 106）→ 开关 36×20 x435 → 说明 12px #969ba5；
   回放来源为 3 个单选（16×16）；底部两个按钮「保存」+「保存并应用全部频道」。 */
.mk-page.rl-page { display: block !important; }
.rl-card { border: 1px solid #eceef1; border-radius: 4px; padding: 16px 20px 8px; margin: 0 0 16px; background: #fff; width: 642px; max-width: 100%; box-sizing: border-box; }
.rl-title { font-size: 14px; color: #1d2129; margin: 0 0 16px; }
.rl-row { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.rl-label { flex: 0 0 90px; font-size: 14px; color: #4e5969; }
.rl-tip { font-size: 12px; color: #969ba5; }
.rl-radios { display: flex; align-items: center; gap: 32px; }
.rl-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer; }
.rl-radio input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.rl-row .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.rl-row .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.rl-row .fe-switch input:checked + i::after { left: 18px; }
.rl-actions { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.rl-actions .btn { height: 32px; }
/* 回放设置「示例」链接（保利威 12px #3f76fc，跟在开关/说明右侧） */
.rl-link { font-size: 12px; color: #3f76fc; text-decoration: none; }

/* === 通用设置页（时移与看点/角色设置/重制课件/AI服务/其他设置） ===
   保利威是卡片式：卡片白底带细边框，标题 14px，行内 标签 + 控件，
   说明 12px 灰；底部「保存」+（部分页）「保存并应用于全部频道」。 */
.mk-page.st-page { display: block !important; }
.st-title { font-size: 14px; color: #1d2129; margin: 0 0 16px; }
.st-card { border: 1px solid #eceef1; border-radius: 4px; padding: 16px 20px 6px; margin: 0 0 16px; background: #fff; }
.st-card__title { font-size: 14px; color: #1d2129; margin: 0 0 16px; }
.st-row { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.st-main { min-width: 0; }
.st-name { font-size: 14px; color: #1d2129; }
.st-tip { font-size: 12px; color: #969ba5; margin-top: 4px; line-height: 18px; }
.st-note { font-size: 12px; color: #969ba5; margin: 0 0 14px; line-height: 20px; }
.st-radios { display: flex; align-items: center; gap: 24px; }
.st-row .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.st-row .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.st-row .fe-switch input:checked + i::after { left: 18px; }
.skin-actions { display: flex; align-items: center; gap: 20px; margin-top: 8px; }

/* 回放设置卡片：保利威是可收起卡片 —— 收起时只有标题条（高 66），
   右侧 24×24 展开图标；点标题条切换。 */
.rl-card__hd {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; cursor: pointer; user-select: none;
}
.rl-card__title { font-size: 14px; color: #1d2129; }
.rl-card__expand {
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: #86909c; transition: transform .2s;
}
.rl-card.is-collapsed .rl-card__expand { transform: rotate(-90deg); }
.rl-card__body[hidden] { display: none !important; }
.rl-card.is-collapsed { padding-top: 0; padding-bottom: 0; }

/* === 通用设置页：保利威实测样式 ===
   时移与看点/其他设置这类页面**没有卡片边框**：标签 14px、说明 12px 灰压在其下，
   控件在右侧；有的页右列是一张效果示意图（时移与看点 620×349）。 */
.st-split { display: flex; align-items: flex-start; gap: 40px; }
.st-col { flex: 0 1 auto; min-width: 640px; }
.st-side { flex: 0 0 auto; }
.st-side img { display: block; border-radius: 4px; }
.st-side__cap { font-size: 14px; color: #1d2129; margin-top: 12px; }
.st-row--plain {
  border: 0; background: transparent; border-radius: 0;
  padding: 0; margin: 0 0 32px; display: flex; align-items: flex-start; gap: 16px;
}
/* 2026-10-31 窄屏修复：固定列最小宽 640 / 行内容固定 592 在 ≤700px 撑破页面。
   桌面端（≥701px）仍是 min-width:640 + width:592，视觉不变。 */
.st-row--plain .st-main { width: min(592px, 100%); }
@media (max-width: 700px) {
  .st-col { min-width: 0; }
  .st-row--plain { flex-wrap: wrap; }
  .st-row--plain .st-main { width: 100%; flex: 0 0 100%; }
  .st-split { flex-direction: column; gap: 20px; }
  .st-side img { max-width: 100%; height: auto; }
}
.st-row--plain .st-name { font-size: 14px; color: #1d2129; margin: 0 0 8px; }
.st-row--plain .st-tip { font-size: 12px; color: #969ba5; line-height: 18px; margin: 0; }
.st-sec-title { font-size: 14px; color: #1d2129; margin: 0 0 16px; }
.st-tablewrap { margin: 0 0 20px; }
.st-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.st-table th {
  background: #f7f8f9; color: #1d2129; font-size: 14px; font-weight: 400;
  height: 47px; text-align: left; padding: 0 16px; border-bottom: 1px solid #eceef1;
}
.st-table td { height: 64px; font-size: 14px; color: #1d2129; padding: 0 16px; border-bottom: 1px solid #eceef1; }

/* === 角色设置（保利威 role-setting 实测） ===
   TAB 横向：每个 56×47、间距 88，激活 #3f76fc、未激活 #1d2129；
   TAB 下说明 12px #969ba5；
   表格宽 1576：列 240/1036/300，表头 47 高 bg #f7f8f9，行高 64；
   信息列 36×36 圆形头像 + 名字；操作列三个蓝色链接。 */
.mk-page.rt-page { display: block !important; }
.rt-tabs { display: flex; align-items: center; gap: 32px; margin: 0; }
.rt-tab {
  width: 56px; height: 47px; padding: 0; border: 0; background: transparent;
  font-size: 14px; color: #1d2129; cursor: pointer; box-sizing: border-box;
}
.rt-tab.is-active { color: #3f76fc; }
.rt-panel[hidden] { display: none !important; }
.rt-desc { font-size: 12px; color: #969ba5; margin: 16px 0 18px 73px; line-height: 18px; }
.rt-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rt-table th {
  height: 47px; background: #f7f8f9; font-size: 14px; font-weight: 400; color: #1d2129;
  text-align: left; padding: 0 16px; border-bottom: 1px solid #eceef1;
}
.rt-table td { height: 64px; font-size: 14px; color: #1d2129; padding: 0 16px; border-bottom: 1px solid #eceef1; vertical-align: middle; }
.rt-info { display: flex; align-items: center; gap: 12px; }
.rt-avatar { width: 36px; height: 36px; border-radius: 50%; background-size: cover; background-position: center; display: inline-block; }
.rt-name { font-size: 14px; color: #1d2129; }
.rt-ops { white-space: nowrap; }
.rt-op { font-size: 14px; color: #3f76fc; text-decoration: none; margin-right: 20px; }
.rt-empty { color: #969ba5; text-align: center; }
.rt-toolbar { display: flex; justify-content: flex-end; gap: 12px; margin: -32px 0 12px; }
.rt-btn { height: 32px; padding: 0 16px; border-radius: 4px; font-size: 14px; cursor: pointer; border: 1px solid transparent; }
.rt-btn--primary { background: #3f76fc; color: #fff; }
.rt-btn--ghost { background: #fff; color: #3f76fc; border-color: #3f76fc; }
.rt-avatar--empty { background: #eceef1; }
.rt-muted { color: #969ba5; }
.rt-form-row { display: flex; align-items: center; gap: 24px; margin: 0 0 10px; }
.rt-form-row--sub { padding-left: 120px; margin-bottom: 26px; }
.rt-form-label { width: 96px; font-size: 14px; color: #1d2129; }
.rt-radios { display: flex; align-items: center; gap: 32px; }
.rt-form-tip { font-size: 12px; color: #969ba5; margin-top: 6px; display: block; }
.rt-input { width: 240px; height: 36px; padding: 0 10px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; box-sizing: border-box; }
.rt-actions { margin-top: 18px; }

/* === 重制课件（保利威 video-remake-setting 实测） ===
   布局图卡 224×196（内图 208×158，选中 3px #3f76fc 边框、圆角 4，间距 24）；
   画面比例单选横排 + 右侧 12px 灰说明；上传图片为蓝色链接；
   尺寸说明里的数字是红色 #ff6264；展示图预览 244×139、2px #9fd4ff 边框，
   内部主区白底 + 右下 60×35 摄像头框 + 居中 20px #9fd4ff「展示图」。 */
.mk-page.rm-page { display: block !important; }
.rm-row { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.rm-row--top { align-items: flex-start; }
.rm-label { flex: 0 0 72px; text-align: right; font-size: 14px; color: #1d2129; }
.rm-tiles { display: flex; gap: 24px; }
.rm-tile {
  display: block; width: 224px; height: 196px; box-sizing: border-box;
  border: 3px solid transparent; border-radius: 4px; padding: 5px; cursor: pointer;
}
.rm-tile.is-on { border-color: #3f76fc; }
.rm-tile img { width: 208px; height: 158px; display: block; object-fit: cover; }
.rm-tile__name { display: block; font-size: 14px; color: #1d2129; margin-top: 9px; text-align: left; }
.rm-radios { display: flex; align-items: center; gap: 30px; }
.rm-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #1d2129; cursor: pointer; }
.rm-radio input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.rm-tip { font-size: 12px; color: #969ba5; }
.rm-uploadwrap { max-width: 640px; }
.rm-upload { font-size: 14px; color: #3f76fc; text-decoration: none; }
.rm-hint { font-size: 12px; color: #969ba5; line-height: 20px; margin: 10px 0 18px; }
.rm-red { color: #ff6264; font-weight: 400; }
.rm-preview {
  position: relative; width: 244px; height: 139px; box-sizing: border-box;
  border: 2px solid #9fd4ff; background: #fff;
}
.rm-preview__main {
  position: absolute; left: 0; top: 0; width: 182px; height: 135px; background: #fff;
  border-right: 2px solid #9fd4ff; box-sizing: border-box;
}
.rm-preview__camera {
  position: absolute; right: 0; bottom: 0; width: 60px; height: 35px; background: #fff;
  border-left: 2px solid #9fd4ff; border-top: 2px solid #9fd4ff; box-sizing: border-box;
}
.rm-preview__text {
  position: absolute; left: 50%; top: 56px; transform: translateX(-50%);
  font-size: 20px; color: #9fd4ff; white-space: nowrap;
}
.rm-actions { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding-left: 88px; }

/* === AI服务（保利威 ai-service 实测） ===
   TAB 横向 14px（激活 #3f76fc）；
   实时字幕＝海报版式：图 756×456 + 右侧 32px 标题 / 16px 正文 / 122×48 圆角按钮；
   AI审核消息＝说明 + 小标题 16px + 「限免」徽标 + 开关行；
   AI看＝标题 + 12px 红字状态。 */
.mk-page.ai-page { display: block !important; }
.ai-tabs { display: flex; align-items: center; gap: 32px; margin: 0 0 22px; }
.ai-tab { padding: 0; border: 0; background: transparent; font-size: 14px; color: #1d2129; cursor: pointer; }
.ai-tab.is-active { color: #3f76fc; }
.ai-panel[hidden] { display: none !important; }
.ai-poster { display: flex; align-items: center; gap: 95px; }
.ai-poster__img { width: 756px; height: 456px; object-fit: contain; display: block; }
.ai-poster__side { max-width: 630px; }
.ai-poster__title { font-size: 32px; color: #333a47; margin: 0 0 24px; font-weight: 500; }
.ai-poster__content { font-size: 16px; color: #333a47; line-height: 30px; margin: 0 0 40px; }
.ai-poster__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 122px; height: 48px; border-radius: 24px; background: #3370ff;
  color: #fff; font-size: 16px; text-decoration: none;
}
.ai-lead { font-size: 14px; color: #4e5969; margin: 0 0 12px; }
.ai-bullets { margin: 0 0 26px 36px; padding: 0; list-style: none; }
.ai-bullets li { font-size: 14px; color: #4e5969; line-height: 22px; }
.ai-sectitle { font-size: 16px; color: #1d2129; margin: 0 0 18px; }
.ai-row { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.ai-badge { font-size: 12px; color: #3f76fc; }
.ai-row__main { min-width: 0; }
.ai-row__name { font-size: 14px; color: #1d2129; }
.ai-row__tip { font-size: 12px; color: #969ba5; margin-top: 4px; }
.ai-row .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.ai-row .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.ai-row .fe-switch input:checked + i::after { left: 18px; }
.ai-err { font-size: 12px; color: #ff6264; margin: 0; }
.ai-actions { margin-top: 10px; }

/* === 其他设置（保利威 other-setting 实测） ===
   扁平一整页、无卡片：标签在左，控件紧随；输入 398×38（1px #e5e5e5）；
   「接口文档」蓝色链接；竖屏方案/全屏辅助两行右侧 375×174 示意图；
   保存 96×32。 */
.mk-page.ot-page { display: block !important; }
.ot-row { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; }
.ot-row--top { align-items: flex-start; }
.ot-label { flex: 0 0 150px; text-align: right; font-size: 14px; color: #1d2129; }
.ot-col { min-width: 0; }
.ot-inline { display: flex; align-items: center; gap: 16px; }
/* 2026-10-31 窄屏修复：398px 输入框（原带 !important + flex:0 0 auto）与 375px 示意图
   在窄屏会撑破页面。桌面端宽度不变（398 / 375），窄屏可收缩，图片按原比例缩放。 */
input.ot-input {
  width: 398px !important; max-width: 100%; min-width: 0;
  height: 38px; padding: 0 10px; box-sizing: border-box; flex: 0 1 auto;
  border: 1px solid #e5e5e5; border-radius: 2px; font-size: 14px;
}
input.ot-input:focus { border-color: #3f76fc; outline: none; }
.ot-link { font-size: 14px; color: #3f76fc; text-decoration: none; }
.ot-tip { font-size: 12px; color: #969ba5; }
.ot-tip--block { margin: 10px 0 12px; line-height: 18px; }
.ot-radios { display: flex; align-items: center; gap: 32px; }
.ot-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #1d2129; cursor: pointer; }
.ot-radio input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.ot-demo { display: block; width: min(375px, 100%); max-width: 100%; height: auto; object-fit: contain; margin: 6px 0 0; }
.ot-row .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.ot-row .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.ot-row .fe-switch input:checked + i::after { left: 18px; }
.ot-actions { margin-top: 20px; padding-left: 166px; }

/* 2026-10-31 窄屏修复（其他设置）：≤640px 标签改到内容上方（原 150px 固定标签列挤压内容列），
   行内输入框与链接允许换行；桌面端行内标签/对齐方式不变。 */
@media (max-width: 640px) {
  .ot-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .ot-label { flex: none; text-align: left; }
  .ot-inline { flex-wrap: wrap; }
  .ot-actions { padding-left: 0; }
  .ot-radios { flex-wrap: wrap; gap: 16px; }
}

/* 导航分组标题带图标（保利威实测：模板设置/通用设置 左侧 20×20 图标，距列左缘 16px） */
.cascade__group { display: flex; align-items: center; gap: 8px; padding: 0 0 0 16px !important; }
.cascade__groupicon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: #1d2129; flex: 0 0 20px; }
.cascade__groupicon svg { width: 20px; height: 20px; display: block; }
.cascade__grouptext { font-size: 14px; color: #1d2129; }

/* 分组标题必须左对齐：保利威图标距列左缘 16px、文字紧随其后。
   之前 .cascade__col--3 .cascade__group 用的是 justify-content:center，
   导致图标被居中（距左 48px），与保利威不一致。 */
.cascade__col--3 .cascade__group { justify-content: flex-start !important; padding-left: 16px !important; text-align: left !important; }

/* 分组标题加强（用户要求比保利威更显目，保利威原为 14px/400 与其他项同字号）：
   字号 15px + 字重 600 + 上方细分隔线 + 拉开上间距。
   这是有意偏离保利威的地方，用户明确要求。 */
.cascade__group {
  padding-top: 14px !important;
  border-top: 1px solid #eceef1;
  margin-top: 10px !important;
}
.cascade__col > .cascade__group:first-child { border-top: 0; margin-top: 0 !important; padding-top: 0 !important; }
.cascade__grouptext { font-size: 15px !important; font-weight: 600 !important; color: #1d2129 !important; letter-spacing: .2px; }

/* === 客户端开播（保利威 pc-client-setting 实测） ===
   扁平行：标签 14px（x318）、说明 12px 紧贴其下、开关 36×20 右对齐（x926）；
   内嵌网页为灰块 640×156（bg #f7f8fa、圆角 4），块内三行：按钮文案/应用端口/页面地址；
   底部白条内 90×32 保存。 */
.mk-page.pcc-page { display: block !important; }
.pcc-row { display: flex; align-items: flex-start; gap: 24px; margin: 0 0 42px; }
.pcc-main { flex: 1 1 auto; min-width: 0; }
.pcc-name { font-size: 14px; color: rgba(0,0,0,.8); margin: 0 0 8px; }
.pcc-tip { font-size: 12px; color: rgba(0,0,0,.4); line-height: 18px; margin: 0 0 14px; }
.pcc-link { font-size: 12px; color: #3f76fc; text-decoration: none; margin-left: 8px; }
.pcc-row .fe-switch i { width: 36px; height: 20px; border-radius: 10px; }
.pcc-row .fe-switch i::after { width: 16px; height: 16px; top: 2px; left: 2px; }
.pcc-row .fe-switch input:checked + i::after { left: 18px; }
.pcc-radios { display: flex; align-items: center; gap: 28px; }
.pcc-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer; }
.pcc-radio input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.pcc-embed {
  width: 640px; box-sizing: border-box; background: #f7f8fa; border-radius: 4px;
  padding: 14px; margin: 0 0 10px;
}
.pcc-line { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; flex-wrap: nowrap; }
.pcc-line:last-child { margin-bottom: 0; }
.pcc-embedlabel { width: 72px; font-size: 14px; color: rgba(0,0,0,.6); flex: 0 0 72px; }
input.pcc-input {
  height: 32px; padding: 0 10px; box-sizing: border-box; font-size: 14px;
  border: 1px solid rgba(0,0,0,.1); border-radius: 4px; background: #fff; flex: 0 0 auto;
}
input.pcc-input--btn { width: 320px !important; }
input.pcc-input--url { width: 223px !important; }
.pcc-select { height: 32px; border: 1px solid rgba(0,0,0,.1); border-radius: 4px 0 0 4px; font-size: 14px; background: #fff; }
.pcc-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer; margin-left: 8px; }
.pcc-check input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.pcc-embedsw { margin-top: 8px; }
.pcc-savebar { background: #fff; padding: 12px 0; }
.pcc-check span, .pcc-embed .fe-count, .pcc-embedlabel { white-space: nowrap; }

/* 客户端开播：严格对齐保利威实测 —— 标签距内容区左缘 10px、
   开关距左缘 618px（= 10 + 592 文本列 + 16 间距）、行距 78px。 */
.mk-page.pcc-page { padding-left: 10px !important; }
.pcc-row { margin: 0 0 16px !important; gap: 16px !important; }
.pcc-main { flex: 0 0 592px !important; max-width: 592px; }
.mk-page.pcc-page form, .mk-page.pcc-page .mk-main { padding-left: 0 !important; margin-left: 0 !important; }

/* === 手机端开播（保利威 mobile-start-setting 实测） ===
   区块标题 14px（x308）→ 行标签 14px（x318）+ 说明 12px → 开关 36×20（x926）；
   行距 ~78；5 个连麦布局卡：图 58×40 + 名称 + 说明（x391/573/755，两行三列）。 */
.mk-page.pm-page { display: block !important; padding-left: 10px !important; }
.pm-section { font-size: 14px; color: rgba(0,0,0,.8); margin: 0 0 32px; line-height: 20px; }
.pm-row { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 32px; }
.pm-main { flex: 0 0 592px; max-width: 592px; }
.pm-name { font-size: 14px; color: rgba(0,0,0,.8); line-height: 20px; }
.pm-tip { font-size: 12px; color: rgba(0,0,0,.4); line-height: 18px; margin-top: 8px; }
.pm-radios { display: flex; align-items: center; gap: 28px; margin-top: 9px; }
.pm-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer; }
.pm-radio input { width: 16px; height: 16px; accent-color: #3f76fc; margin: 0; }
.pm-row .fe-switch i { width: 32px; height: 16px; border-radius: 8px; }
.pm-row .fe-switch i::after { width: 12px; height: 12px; top: 2px; left: 2px; }
.pm-row .fe-switch input:checked + i::after { left: 18px; }
/* 保利威实测：布局卡「图左 + 文字右」，列距 182，行距 66（首行 y501、次行 y567），
   图 58×40，名称 14px 在上、说明 12px 在其下 4px。 */
.pm-layouts { display: grid; grid-template-columns: repeat(3, 182px); column-gap: 0; row-gap: 24px; margin: -13px 0 55px 7px; }
.pm-layout { display: flex; align-items: flex-start; gap: 8px; width: 182px; cursor: pointer; }
.pm-layout img { width: 58px; height: 40px; display: block; flex: 0 0 58px; border: 2px solid transparent; border-radius: 2px; box-sizing: border-box; }
.pm-layout.is-on img { border-color: #3f76fc; }
.pm-layout__text { display: block; min-width: 0; }
.pm-layout__name { display: block; font-size: 14px; color: rgba(0,0,0,.8); line-height: 18px; }
.pm-layout__desc { display: block; font-size: 12px; color: rgba(0,0,0,.4); margin-top: 4px; line-height: 18px; }
.pm-savebar { padding: 12px 0; }

/* 用户要求：手机端开播的行距比保利威（78）更紧凑一些。
   纯开关行 60、带单选行 84；说明贴近名称 6px、单选组贴近说明 8px。 */
.mk-page.pm-page .pm-row { margin-bottom: 16px !important; }
.mk-page.pm-page .pm-tip { margin-top: 6px !important; }
.mk-page.pm-page .pm-radios { margin-top: 8px !important; }

/* 2026-10-31 窄屏修复（客户端开播 / 手机端开播）：
   这两页的内容列原为固定 592px（.pcc-main / .pm-main），内部还有 640px 内嵌块、
   320/223px 输入框、3×182px 布局卡网格，在 ≤700px 视口整页横向溢出。
   桌面端（≥701px）保持原固定宽度与视觉；≤700px 允许列与内部控件收缩到容器宽度。 */
@media (max-width: 700px) {
  .pcc-main { flex: 1 1 auto !important; max-width: 100%; min-width: 0; }
  .pm-main { flex: 1 1 auto; max-width: 100%; min-width: 0; }
  .pcc-row, .pm-row { flex-wrap: wrap; }
  /* 内嵌网页设置块（原 640px 定宽 + padding 14）→ 占满内容宽 */
  .pcc-embed { width: 100%; }
  .pcc-line { flex-wrap: wrap; }
  input.pcc-input { flex: 1 1 auto; min-width: 0; }
  input.pcc-input--btn { width: 100% !important; max-width: 100%; }
  input.pcc-input--url { width: 100% !important; max-width: 100%; }
  /* 连麦布局卡：原 3 列 182px（合计 546）→ 两列自适应 */
  .pm-layouts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; }
  .pm-layout { width: auto; }
  .pcc-radios, .pm-radios { flex-wrap: wrap; gap: 16px; }
}

/* === 保存按钮悬浮在视口底部（保利威实测：白色条 56 高，按钮在条内） ===
   之前我把「保存」放在内容末尾，页面一长就要滚到底才看得见 —— 用户误以为是间距问题。 */
.skin-actions, .mk-actions, .rl-actions, .fw-actions, .ad-savebar,
.pm-savebar, .ot-actions, .po-actions, .pcc-savebar, .ai-actions,
.rs-actions, .rt-actions, .rm-actions {
  position: sticky !important;
  bottom: 0;
  z-index: 30;
  background: #fff;
  border-top: 1px solid #eceef1;
  margin-top: 16px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px;
  width: 660px !important;
  max-width: 100%;
  min-height: 56px;
  padding: 0 !important;
  box-sizing: border-box;
}

/* === 观看页（保利威 page-setting 实测）：标签距内容区左缘 10px、
   开关距左缘 618px（592 文本列 + 16 间距）、行块 16px 间距。 === */
form[action$="/watchPage"] { padding-left: 0 !important; }
/* .cr-row 原本是 justify-content: space-between，会把开关顶到最右边（994）——
   保利威是「标签列 592 + 16 间距」，开关距内容区左缘 618。 */
.cr-page:has(form[action$="/watchPage"]) { padding-left: 10px !important; max-width: none !important; }
form[action$="/watchPage"] .cr-row {
  margin-bottom: 32px !important;
  gap: 16px !important;
  justify-content: flex-start !important;
}
form[action$="/watchPage"] .cr-main { flex: 0 0 592px !important; max-width: 592px; }

/* 观看页：限免徽标 / 示例链接（保利威：徽标 12px 蓝字、示例 12px 蓝链接） */
.wp-badge { font-size: 12px; color: #3f76fc; margin-left: 8px; }
.wp-demo { display: inline-flex; gap: 12px; margin-left: 12px; align-self: center; }
.wp-link { font-size: 12px; color: #3f76fc; text-decoration: none; white-space: nowrap; }
.st-upload { display: flex; align-items: flex-start; gap: 12px; }
.st-upload__box { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 160px; height: 90px; border: 1px dashed #dcdfe6; border-radius: 4px; background: #fafbfc; cursor: pointer; overflow: hidden; }
.st-upload__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-upload__tip { position: relative; font-size: 12px; color: #86909c; }
.sp-input { width: 320px; height: 38px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; box-sizing: border-box; }
/* 直播列表表格（保利威 channel-list 同款）：工具条 + 筛选 + 12 列表格 */
.rl-page { padding: 4px 0 24px; }
.rl-toolbar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.rl-toolbar .btn { height: 32px; }
.rl-count { margin-left: auto; font-size: 12px; color: #969ba5; }
.rl-filters { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.rl-input { width: 240px; height: 30px; padding: 0 10px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 13px; }
.rl-select { height: 30px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 13px; }
.rl-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.rl-table th { background: #f7f8f9; color: #4e5969; font-weight: 400; height: 44px; text-align: left; padding: 0 10px; border-bottom: 1px solid #eceef1; }
.rl-table td { height: 64px; padding: 6px 10px; border-bottom: 1px solid #eceef1; color: #1d2129; vertical-align: middle; }
.rl-name { display: block; color: #1d2129; font-size: 13px; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-name:hover { color: #3f76fc; }
.rl-code { display: block; font-size: 12px; color: #969ba5; margin-top: 4px; }
.rl-badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; }
.rl-badge--live { background: #fee2e2; color: #b91c1c; }
.rl-badge--replay { background: #ecfdf5; color: #047857; }
.rl-ops { white-space: nowrap; }
.rl-op { font-size: 13px; color: #3f76fc; background: none; border: 0; cursor: pointer; margin-right: 12px; text-decoration: none; padding: 0; }
.rl-empty { text-align: center; color: #969ba5; }

/* 引导关注（营销互动→引导关注）：入口按钮 + 弹窗（保利威同款：入口文案 + 二维码弹窗） */
.tjv-follow { position: relative; }
.tjv-follow__entry { border: 0; background: #3f76fc; color: #fff; font-size: 13px;
  padding: 6px 14px; border-radius: 16px; cursor: pointer; }
.tjv-follow-modal[hidden] { display: none !important; }
.tjv-follow-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; }
.tjv-follow-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.tjv-follow-modal__box { position: relative; width: 300px; background: #fff; border-radius: 8px;
  padding: 20px; text-align: center; }
.tjv-follow-modal__title { font-size: 14px; color: #1d2129; margin-bottom: 14px; }
.tjv-follow-modal__qr { width: 160px; height: 160px; margin: 0 auto 10px; background: #f2f3f5; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tjv-follow-modal__qr img { width: 160px; height: 160px; object-fit: contain; }
.tjv-follow-modal__tip { font-size: 12px; color: #969ba5; margin: 0 0 14px; }
.tjv-follow-modal__close { height: 32px; padding: 0 20px; border: 0; border-radius: 4px;
  background: #3f76fc; color: #fff; font-size: 13px; cursor: pointer; }

/* ==========================================================================
   新建直播（对齐保利威 /admin/create-channel/normal 实测尺寸）
   --------------------------------------------------------------------------
   标签 120 宽、14px rgba(0,0,0,.6)；控件从 x=120 起（对应保利威 168→288）；
   内容列 1091；右侧「观看页预览」卡 510×778，预览图 341×730，说明 12px #969ba5。
   ========================================================================== */
.nl-page{display:flex;align-items:flex-start;gap:100px;padding:8px 0 40px;font-size:14px;color:rgba(0,0,0,.8)}
.nl-form{width:1091px;flex:none}
.nl-alert{margin:0 0 16px;padding:8px 12px;border-radius:4px;background:#fef0f0;color:#ff6264;font-size:13px}
.nl-section__title{font-size:14px;font-weight:500;color:rgba(0,0,0,.8);line-height:22px;margin:24px 0 16px}
.nl-form > .nl-section__title:first-of-type{margin-top:0}
.nl-row{display:flex;align-items:flex-start;margin-bottom:24px}
/* 保利威行高：场景/开播模板行只有 20 高，连麦行 16，延迟行 118（选择框+复选+说明） */
.nl-row--tight .nl-label{min-height:20px}
.nl-row--mic .nl-label{min-height:16px;line-height:16px}
.nl-row--delay{min-height:118px}
.nl-label{width:120px;flex:none;font-size:14px;color:rgba(0,0,0,.6);
  display:flex;align-items:center;min-height:32px;line-height:20px}
.nl-star{color:#ff6264;font-style:normal;margin-right:2px}
.nl-q{display:inline-flex;width:14px;height:14px;margin-left:6px;border-radius:50%;
  border:1px solid rgba(0,0,0,.25);color:rgba(0,0,0,.45);font-size:10px;line-height:1;
  align-items:center;justify-content:center;font-style:normal;cursor:help;vertical-align:middle}
.nl-field{flex:1;min-width:0}
.nl-field--inline{display:flex;align-items:center;gap:18px}
.nl-cards{display:flex;gap:16px}
.nl-card{width:252px;height:76px;box-sizing:border-box;border:1px solid rgba(0,0,0,.1);
  border-radius:4px;padding:4px 12px;display:flex;flex-direction:column;justify-content:center;
  gap:6px;cursor:pointer;background:#fff}
.nl-card__t{font-size:14px;line-height:20px;color:rgba(0,0,0,.8)}
.nl-card__d{font-size:12px;line-height:16px;color:#969ba5}
.nl-card.is-on{border-color:#3f76fc;background:#ecf1ff}
.nl-card.is-on .nl-card__t{color:#3f76fc}
.nl-card.is-on .nl-card__d{color:#7c9bfd}
.nl-inputwrap{position:relative;width:520px}
.nl-inputwrap input{width:100%;height:32px;box-sizing:border-box;border:1px solid rgba(0,0,0,.1);
  border-radius:4px;padding:0 56px 0 12px;font-size:14px;color:rgba(0,0,0,.8)}
.nl-inputwrap input:focus{outline:0;border-color:#3f76fc}
.nl-counter{position:absolute;right:12px;top:0;line-height:32px;font-size:12px;color:#969ba5}
.nl-counter b{font-weight:400}
.nl-time{display:flex}
.nl-time input{width:396px;height:32px;box-sizing:border-box;border:1px solid rgba(0,0,0,.1);
  border-right:0;border-radius:4px 0 0 4px;padding:0 12px;font-size:14px;color:rgba(0,0,0,.8)}
.nl-tz{width:124px;height:32px;box-sizing:border-box;border:1px solid rgba(0,0,0,.1);
  border-radius:0 4px 4px 0;display:flex;align-items:center;justify-content:center;
  font-size:14px;color:rgba(0,0,0,.8)}
.nl-cover{position:relative;width:224px;height:126px;border-radius:4px;overflow:hidden;
  cursor:pointer;background:#f2f3f5}
.nl-cover img{width:100%;height:100%;object-fit:cover;display:block}
.nl-cover__hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  color:#fff;background:rgba(0,0,0,.45);opacity:0;transition:opacity .2s;font-size:13px}
.nl-cover:hover .nl-cover__hint{opacity:1}
.nl-cover.is-loading{opacity:.55}
.nl-radios{display:flex;align-items:center;gap:24px;line-height:20px;min-height:20px}
.nl-radio{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:rgba(0,0,0,.8)}
.nl-radio input{width:16px;height:16px;accent-color:#3f76fc;margin:0}
.nl-link{font-size:12px;color:#3f76fc;text-decoration:none}
.nl-link--sm{margin-left:12px}
.nl-layouts{display:flex;gap:16px}
.nl-layout{width:252px;height:48px;box-sizing:border-box;border:1px solid rgba(0,0,0,.1);
  border-radius:4px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;
  background:#fff;font-size:14px;color:rgba(0,0,0,.8)}
.nl-layout.is-on{border-color:#3f76fc;color:#3f76fc;background:#ecf1ff}
.nl-select{width:252px;height:32px;box-sizing:border-box;border:1px solid rgba(0,0,0,.1);
  border-radius:4px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;
  font-size:14px;color:rgba(0,0,0,.8)}
.nl-select i{color:#969ba5;font-style:normal;font-size:12px}
.nl-check{margin-top:12px;display:inline-flex;align-items:center;gap:8px;font-size:14px;
  color:rgba(0,0,0,.8);cursor:pointer;line-height:20px;max-width:100%}
.nl-check input{width:16px;height:16px;accent-color:#3f76fc;margin:0}
.nl-switch{position:relative;display:inline-block;width:32px;height:16px;cursor:pointer}
.nl-switch input{position:absolute;opacity:0;width:0;height:0}
.nl-switch i{position:absolute;inset:0;background:rgba(0,0,0,.25);border-radius:8px;transition:background .2s}
.nl-switch i::after{content:'';position:absolute;left:2px;top:2px;width:12px;height:12px;
  border-radius:50%;background:#fff;transition:transform .2s}
.nl-switch input:checked + i{background:#3f76fc}
.nl-switch input:checked + i::after{transform:translateX(16px)}
.nl-actions{position:sticky;bottom:0;background:#fff;margin:8px 0 0;padding:24px 0 20px 120px;
  box-shadow:0 -1px 0 rgba(0,0,0,.06);display:flex;align-items:center;gap:16px}
.nl-submit{width:132px;height:32px;border:0;border-radius:4px;background:#3f76fc;color:#fff;
  font-size:14px;cursor:pointer}
.nl-submit:hover{background:#2f66ec}
.nl-quota{font-size:12px;color:#969ba5}
/* 右侧观看页预览 */
.nl-preview{width:510px;flex:none}
.nl-preview__card{width:510px;height:778px;background:#fff;border-radius:8px;
  box-shadow:0 1px 4px rgba(0,0,0,.06);display:flex;justify-content:center;align-items:flex-start;
  padding-top:20px;box-sizing:border-box}
.nl-preview__card img{width:341px;height:730px;border-radius:6px;display:block}
.nl-preview__cap{margin-top:20px;text-align:center;font-size:12px;color:#969ba5;
  display:flex;align-items:center;justify-content:center;gap:4px}
.nl-preview__cap .nl-q{margin-left:2px}
/* 示例弹窗 */
.nl-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center}
.nl-modal[hidden]{display:none}
.nl-modal__mask{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.nl-modal__box{position:relative;background:#fff;border-radius:8px;padding:12px}
.nl-modal__box img{display:block;width:272px;height:auto;border-radius:4px}
.nl-modal__x{position:absolute;right:8px;top:4px;color:#fff;mix-blend-mode:difference;
  font-size:20px;cursor:pointer;line-height:1}
.nl-delayline{display:flex;align-items:center;gap:12px;margin-top:12px}
.nl-delayline .nl-check{margin-top:0}
.nl-delayline .nl-link--sm{margin-left:0}
/* 开发中徽标：保利威有、我们尚未接入的能力，灰色 + 不可点击（不是 404） */
.nl-badge{display:inline-flex;align-items:center;height:16px;padding:0 6px;margin-left:6px;
  border-radius:2px;background:#f2f3f5;color:#969ba5;font-size:10px;font-style:normal;
  line-height:1;vertical-align:middle}
.nl-card.is-dev{cursor:not-allowed;background:#f7f8fa;border-color:rgba(0,0,0,.08)}
.nl-card.is-dev .nl-card__t{color:rgba(0,0,0,.45)}
.nl-card.is-dev .nl-card__d{color:#c0c4cc}
.nl-switch--dev{cursor:not-allowed;opacity:.5}
/* 观看权限：密码输入行 */
.nl-pwline{margin-top:12px;display:flex;align-items:center;gap:12px}
.nl-inputwrap--pw{width:280px}
.nl-inputwrap--pw input{padding-right:12px}
.nl-hint{font-size:12px;color:#969ba5}

/* ==========================================================================
   营销互动 → 分享设置（对齐保利威 p-share-setting 实测）
   --------------------------------------------------------------------------
   TAB 96x36 圆角4（选中 rgba(63,118,252,.1)+15%/500 蓝字；未选中 #f2f3f5+#4e5969）
   内容列 440；标签列右对齐距内容 17；分享图标 90x90；更多设置 14px 蓝；
   保存 96x32；右侧预览 300 宽、内边距 16/18/24，头像 32、好友缩略图 48。
   ========================================================================== */
.mk-tabs { display: flex; gap: 16px !important; border-bottom: 0 !important; margin: 0 0 24px !important; }
.mk-tab {
  width: 96px; height: 36px; padding: 6px 16px !important; box-sizing: border-box;
  border: 0 !important; border-radius: 4px; background: #f2f3f5 !important;
  font-size: 16px !important; font-weight: 400; color: #4e5969 !important;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mk-tab.is-active {
  background: rgba(63,118,252,.1) !important; color: #3f76fc !important; font-weight: 500 !important;
}
.mk-notice { width: 890px !important; }
.mk-icon { width: 90px !important; height: 90px !important; }
.mk-icon__tip { font-size: 12px !important; }
.mk-row .fe-count { line-height: 38px; }
.mk-desc-wrap .fe-count--below { height: 30px !important; line-height: 30px !important; text-align: right !important; }
.mk-more { color: #3f76fc !important; }
.mk-actions .btn, .mk-actions .skin-save { width: 96px !important; height: 32px !important;
  padding: 0 !important; font-size: 14px !important; }
.mk-preview { padding: 16px 18px 24px !important; }
.mk-preview__title { color: #4e5969 !important; font-size: 14px !important; }
.mk-card { width: 264px !important; box-sizing: border-box; }
.mk-card__who { font-size: 14px !important; color: #4e5969 !important; }
.mk-card__avatar { width: 32px !important; height: 32px !important; line-height: 32px !important; font-size: 14px !important; flex: 0 0 32px; }
.mk-card__name { color: #576b95 !important; }
.mk-card__h { font-size: 14px !important; line-height: 19px; }
.mk-card__d { font-size: 12px !important; color: #969ba5 !important; line-height: 16px; }
.mk-card__thumb, .mk-card__thumb img { width: 48px !important; height: 48px !important; }

/* 分享设置：更多设置与保存按钮都对齐内容列（保利威 584 = 我们 706），
   保存按钮不进 660 宽的吸底条，保利威这里是普通按钮 */
.mk-page--two .mk-morebar { margin-left: 96px !important; }
.mk-page--two .mk-actions {
  position: static !important; width: auto !important; max-width: none !important;
  border-top: 0 !important; justify-content: flex-start !important;
  margin: 24px 0 0 96px !important; min-height: 0 !important; padding: 0 !important;
  background: transparent !important;
}

/* 更多设置（展开后）：分享地址 34 高、重置与计数同一行右侧（保利威 585/1032 实测） */
#mkMoreBox .mk-ctrl { display: flex !important; align-items: center; }
#mkMoreBox .mk-input--wide { height: 34px !important; width: 395px !important; }
#mkMoreBox .fe-count { line-height: 34px; margin-left: 4px; }
#mkMoreBox .fe-link { margin-left: 24px; font-size: 12px; }
#mkMoreBox .mk-tip { padding-left: 96px; }
#mkMoreBox .mk-ctrl { flex-wrap: nowrap !important; }
#mkMoreBox .mk-input--wide { width: 372px !important; }
#mkMoreBox .fe-link { margin-left: auto; }

/* ==========================================================================
   直播列表（对齐保利威 /admin/channel-list 实测）
   --------------------------------------------------------------------------
   顶部 3 个 90×32 按钮（间距 16）；筛选 3 列×4 行、标签 84 宽 14px #4e5969、
   行距 44；底部条 sort + 频道数 + 右侧四个入口；卡片 272×288、间距 14、
   1912 宽下 6 个一行；封面 268×151，名称 20px 白字居中，频道号 14px 白字压底。
   ========================================================================== */
.cl-page { padding: 4px 0 40px; }
.cl-toolbar { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; }
.cl-btn { height: 32px; min-width: 90px; padding: 0 14px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid #dcdfe6; border-radius: 4px; background: #fff;
  font-size: 14px; color: rgba(0,0,0,.8); text-decoration: none; cursor: pointer; }
.cl-btn:hover { border-color: #3f76fc; color: #3f76fc; }
.cl-btn--primary { background: #3f76fc; border-color: #3f76fc; color: #fff; }
.cl-btn--primary:hover { background: #2f66ec; color: #fff; }
.cl-btn--outline { background: #fff; }
.cl-btn--ghost { background: #fff; }
.cl-link { font-size: 14px; color: #3f76fc; text-decoration: none; margin-left: 8px; }

/* 筛选面板 */
.cl-filter { margin: 0 0 8px; }
.cl-filter__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px; }
.cl-filter__grid.is-collapsed .cl-f:nth-child(n+7) { display: none; }
.cl-f { display: flex; align-items: center; gap: 8px; min-width: 0; height: 32px; }
.cl-f__l { flex: 0 0 84px; font-size: 14px; color: #4e5969; }
.cl-f input[type=text], .cl-f select, .cl-f input[type=date], .cl-f input[type=datetime-local] {
  flex: 1 1 0; min-width: 0; height: 32px; box-sizing: border-box;
  border: 1px solid #dcdfe6; border-radius: 4px; padding: 0 10px;
  font-size: 14px; color: rgba(0,0,0,.8); background: #fff; }
.cl-f input:focus, .cl-f select:focus { outline: 0; border-color: #3f76fc; }
.cl-f__range { display: flex; align-items: center; gap: 6px; flex: 1 1 0; min-width: 0; }
.cl-f__range i { color: #969ba5; font-style: normal; }
.cl-filter__btns { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding-left: 92px; }

/* 排序条 */
.cl-bar { display: flex; align-items: center; gap: 16px; margin: 4px 0 12px; }
.cl-sort { font-size: 14px; color: rgba(0,0,0,.8); display: inline-flex; align-items: center; gap: 6px; }
.cl-sort select { height: 28px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; padding: 0 6px; }
.cl-count { font-size: 14px; color: rgba(0,0,0,.4); }
.cl-count b { color: rgba(0,0,0,.8); font-weight: 400; }
.cl-bar__right { margin-left: auto; display: flex; gap: 38px; }
.cl-bar__right a { font-size: 14px; color: rgba(0,0,0,.4); text-decoration: none; }
.cl-bar__right a:hover { color: #3f76fc; }

/* 卡片墙 */
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, 272px); gap: 14px; }
.cl-card { width: 272px; height: 288px; background: #fff; border-radius: 4px; overflow: hidden;
  box-sizing: border-box; }
.cl-cover { position: relative; display: block; width: 268px; height: 151px; margin: 2px auto 0;
  border-radius: 4px; background-color: #eef1f5; background-size: cover; background-position: center;
  overflow: hidden; text-decoration: none; }
.cl-cover:not(.has-img) { background-image: linear-gradient(135deg, #7ea3ff, #3f76fc); }
.cl-cover__name { position: absolute; left: 11px; right: 11px; top: 50%; transform: translateY(-50%);
  font-size: 20px; line-height: 28px; color: #fff; text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.35); max-height: 56px; overflow: hidden; }
.cl-cover__code { position: absolute; left: 10px; bottom: 14px; font-size: 14px; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.cl-tag { position: absolute; left: 10px; top: 10px; height: 16px; padding: 0 4px;
  border-radius: 2px; font-size: 12px; line-height: 16px; color: #3f76fc; background: rgba(255,255,255,.92); }
.cl-tag.is-live { color: #fff; background: #ff6264; }
.cl-tag.is-replay { color: #fff; background: #3f76fc; }
.cl-body { padding: 6px 10px 0; }
.cl-name { font-size: 16px; font-weight: 700; line-height: 24px; color: #1d2129;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-info { display: flex; gap: 8px; font-size: 12px; line-height: 18px; color: #969ba5; margin-top: 4px; }
.cl-btns { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.cl-act { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent;
  font-size: 14px; color: #969ba5; text-decoration: none; cursor: pointer; padding: 0; }
.cl-act:hover { color: #3f76fc; }
.cl-ico { width: 16px; height: 16px; display: inline-block; background: currentColor;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.cl-ico--play { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z'/></svg>"); }
.cl-ico--share { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 16a3 3 0 0 0-2.4 1.2l-6.1-3.1a3 3 0 0 0 0-2.2l6.1-3.1A3 3 0 1 0 15 7l-6.1 3.1a3 3 0 1 0 0 3.8L15 17a3 3 0 1 0 3-1z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 16a3 3 0 0 0-2.4 1.2l-6.1-3.1a3 3 0 0 0 0-2.2l6.1-3.1A3 3 0 1 0 15 7l-6.1 3.1a3 3 0 1 0 0 3.8L15 17a3 3 0 1 0 3-1z'/></svg>"); }
.cl-ico--more { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='5' cy='12' r='2'/><circle cx='12' cy='12' r='2'/><circle cx='19' cy='12' r='2'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='5' cy='12' r='2'/><circle cx='12' cy='12' r='2'/><circle cx='19' cy='12' r='2'/></svg>"); }

/* 分页 / 空态 */
.cl-pager { display: flex; gap: 8px; margin: 24px 0 0; }
.cl-page__it { min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(0,0,0,.8); text-decoration: none; }
.cl-page__it.is-on { border-color: #3f76fc; color: #3f76fc; }
.cl-empty { padding: 60px 0; text-align: center; color: #969ba5; font-size: 14px; }
.cl-btn--sm { min-width: 64px; padding: 0 10px; }
.cl-filter__btns { gap: 16px; }

/* ==========================================================================
   功能设置里的「配置」弹窗（对齐保利威 c-renovation-effect-setting 弹窗）
   --------------------------------------------------------------------------
   弹窗 620 宽居中；标题栏「配置」+ 右上 ×；内容区 触发条件/文案行；
   底部 取消 + 确认（96×32）。文案输入右侧 12px 计数 x/10，占位符可编辑。
   ========================================================================== */
.st-config { display: flex; align-items: center; gap: 16px; }
.st-cfg { font-size: 14px; color: #3f76fc; text-decoration: none; }
.st-modal { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; }
.st-modal[hidden] { display: none !important; }
.st-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.st-modal__box { position: relative; width: 620px; background: #fff; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.16); display: flex; flex-direction: column; }
.st-modal__hd { display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px 8px; font-size: 14px; font-weight: 500; color: rgba(0,0,0,.8); }
.st-modal__x { font-style: normal; font-size: 18px; color: #969ba5; cursor: pointer; line-height: 1; }
.st-modal__bd { padding: 8px 24px 0; max-height: 60vh; overflow: auto; }
.st-modal__ft { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px 20px; }
.st-modal__ft .btn { min-width: 96px; height: 32px; }
.st-cfg-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.st-cfg-row--top { align-items: flex-start; }
.st-cfg-label { flex: 0 0 160px; font-size: 14px; color: rgba(0,0,0,.8); }
.st-cfg-sub { display: inline-block; margin-left: 8px; color: #969ba5; font-size: 12px; }
.st-cfg-field { flex: 1 1 0; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.st-cfg-text { margin: 0; font-size: 14px; color: rgba(0,0,0,.8); line-height: 24px; }
.st-cfg-input { height: 32px; box-sizing: border-box; padding: 0 10px; flex: 1 1 200px;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; color: rgba(0,0,0,.8); }
.st-cfg-input--num { flex: 0 0 88px; width: 88px; min-width: 0; }
.st-cfg-input:focus { outline: 0; border-color: #3f76fc; }
.st-cfg-count { font-size: 12px; color: #969ba5; }
.st-cfg-count b { font-weight: 400; }
.st-cfg-tip { flex-basis: 100%; font-size: 12px; color: #969ba5; }
.st-cfg-hint { margin: 6px 0 0; font-size: 12px; color: #969ba5; }
.st-cfg-dis { font-size: 12px; color: #969ba5; }
.st-cfg-token { display: inline-block; width: 120px; height: 28px; margin: 0 2px;
  box-sizing: border-box; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 4px;
  font-size: 14px; color: rgba(0,0,0,.8); vertical-align: middle; }
.st-cfg-token:focus { outline: 0; border-color: #3f76fc; }
.st-cfg-text .st-cfg-count { margin: 0 10px 0 2px; }
/* 全局 input[type=text]{width:100%} 会盖掉占位输入框宽度，这里必须 !important */
.st-cfg-text .st-cfg-token { display: inline-block !important; width: 120px !important;
  min-width: 0 !important; height: 28px !important; margin: 0 4px !important;
  padding: 0 8px !important; border: 1px solid #dcdfe6 !important; border-radius: 4px !important;
  font-size: 14px !important; color: rgba(0,0,0,.8) !important; vertical-align: middle; }
.st-badge { display: inline-block; margin-left: 8px; padding: 0 5px; height: 16px; line-height: 16px;
  border-radius: 2px; font-size: 11px; font-weight: 400; color: #ff7d00; background: #fff4e6; }
/* 邀请海报：样式缩略图一行 7 个（保利威 39×71、列距 53）；右侧为 300×532 引导页 iframe */
.po-styles { display: flex !important; flex-wrap: wrap; gap: 21px 14px !important; }
.po-style { width: 39px !important; height: 71px !important; }
.c-mobile-preview { width: 300px; flex: none; }
.c-mobile-preview__title { font-size: 14px; color: #4e5969; margin: 0 0 16px; text-align: center; }
.c-mobile-preview__frame { width: 300px; height: 532px; background: #fff; border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.08); overflow: hidden; }
.c-mobile-preview__iframe { width: 302px; height: 534px; border: 0; display: block; }
/* 保利威海报样式区容器约 357 宽 → 一行正好 7 个（39×7 + 14×6） */
.po-ctrl .po-styles { width: 357px !important; max-width: 357px !important; }
/* 广告页：图标位「设置广告」按钮带计数、片头/暂停无计数（保利威 128/121/96×32） */
.ad-actions .btn.ad-add[data-slot="icon"] { min-width: 121px; }
.ad-actions .btn.ad-add[data-slot="pre"],
.ad-actions .btn.ad-add[data-slot="pause"] { min-width: 96px; }
.ad-table th, .ad-table td { font-size: 14px; }
.ad-table thead th { font-weight: 500; color: #1d2129; }
.ad-empty { margin: 16px 0 0; font-size: 14px; color: #969ba5; }
/* 直播预约：保存按钮与控件列左对齐（保利威 保存 x589 = 控件列起点） */
.rs-page .rs-actions { position: static !important; width: auto !important; max-width: none !important;
  border-top: 0 !important; background: transparent !important; justify-content: flex-start !important;
  margin: 8px 0 0 88px !important; min-height: 0 !important; padding: 0 !important; }
.rs-page .rs-actions .btn { width: 96px !important; height: 32px !important; padding: 0 !important; }
/* 引导关注文案行：计数与示例同行（示例在计数右侧，保利威 x1233） */
.rs-page .rs-row--sub .rs-ctrl { align-items: center; }
.rs-page .rs-link { margin-left: 16px; }
/* 引导关注：手机/电脑 预览 TAB（保利威 14px，选中 #3f76fc，未选中 #4e5969，间距 48）；
   保存按钮与输入列左对齐（保利威 615 = 输入框起点） */
/* 引导关注：手机/电脑 预览 TAB 样式见上方 .fw-preview__tabs（分段控件） */
.fw-page .fw-actions, .fw-actions { position: static !important; width: auto !important; max-width: none !important;
  border-top: 0 !important; background: transparent !important; justify-content: flex-start !important;
  margin: 8px 0 0 126px !important; min-height: 0 !important; padding: 0 !important; }
.fw-actions .btn { width: 96px !important; height: 32px !important; padding: 0 !important; }
/* 电脑端预览：16:9 播放器 + 底部频道信息条（对齐真实观看页 / 保利威预览） */
.fw-pc { position: relative; width: 300px; height: 169px; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 22px rgba(20,40,80,.14); }
.fw-pc[hidden] { display: none !important; }
.fw-pc .fw-stage__bg { border-radius: 6px; }
.fw-pc__ctrl {
  position: absolute; left: 0; right: 0; bottom: 38px; height: 28px; padding: 0 10px;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.4)); color: #fff;
}
.fw-pc__intro {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.92) 30%,rgba(255,255,255,.97) 100%);
}
.fw-logo--sm { width: 26px; height: 26px; border-radius: 13px; font-size: 12px; }
.fw-pc__meta { flex: 1; min-width: 0; }
.fw-pc__name { margin: 0; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #1d2129; }
.fw-pc__name span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-pc__sub { margin: 2px 0 0; display: flex; gap: 4px; font-size: 10px; color: #6b7280; }
.fw-pc__right { flex: none; display: flex; gap: 6px; }
.fw-ico-share { width: 14px; height: 14px; border: 1px solid #4e5969; border-radius: 3px; }

/* ==========================================================================
   分类/标签管理 + 列表批量操作
   --------------------------------------------------------------------------
   管理页照保利威「分类标签」弹窗内容：标题 16px/700、TAB 14px、搜索框 267×30、
   「分类数量 N / 999」、新建 96×32、表格 分类名称/操作（行内 置顶 改名 删除 蓝字）。
   列表页：卡片左上勾选框 + 底部「已选 N / 改分类 / 贴标签 / 导出 / 删除」操作栏。
   ========================================================================== */
.lb-page { padding: 8px 0 40px; max-width: 1000px; }
.lb-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.lb-title { font-size: 16px; font-weight: 700; color: #1d2129; margin: 0; }
.lb-back { font-size: 14px; color: #3f76fc; text-decoration: none; }
.lb-alert { margin: 0 0 12px; padding: 8px 12px; border-radius: 4px; font-size: 13px; }
.lb-alert--ok { background: #eef7ee; color: #2f8a3b; }
.lb-alert--err { background: #fef0f0; color: #ff6264; }
.lb-tabs { display: flex; gap: 40px; margin: 0 0 20px; }
.lb-tab { font-size: 14px; color: #1d2129; text-decoration: none; padding-bottom: 6px; }
.lb-tab.is-on { color: #3f76fc; border-bottom: 2px solid #3f76fc; }
.lb-bar { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; }
.lb-search { width: 267px; height: 30px; box-sizing: border-box; padding: 0 10px;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 12px; }
.lb-count { font-size: 14px; color: #969ba5; margin-left: auto; }
.lb-count b { color: #1d2129; font-weight: 400; }
.lb-new { display: flex; align-items: center; gap: 8px; }
.lb-input { width: 200px; height: 32px; box-sizing: border-box; padding: 0 10px;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; }
.lb-btn { width: 96px; height: 32px; padding: 0; }
.lb-table { width: 100%; border-collapse: collapse; background: #fff; }
.lb-table th { text-align: left; font-size: 14px; font-weight: 500; color: #1d2129;
  padding: 10px 14px; border-bottom: 1px solid #eceef1; }
.lb-table td { font-size: 14px; color: #4e5969; padding: 12px 14px; border-bottom: 1px solid #f2f3f5; }
.lb-ops { display: flex; align-items: center; gap: 12px; }
.lb-op { border: 0; background: transparent; padding: 0; font-size: 14px; color: #3f76fc; cursor: pointer; }
.lb-rename { width: 140px; height: 26px; box-sizing: border-box; padding: 0 6px;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 13px; }
.lb-num { font-size: 12px; color: #969ba5; margin-left: 8px; }
.lb-empty { text-align: center; color: #969ba5; }
.lb-tip { font-size: 12px; color: #969ba5; margin: 16px 0 0; }

/* 列表：勾选框 + 批量操作栏 */
.cl-card { position: relative; }
.cl-pick { position: absolute; left: 10px; bottom: 10px; width: 16px; height: 16px;
  margin: 0; z-index: 3; cursor: pointer; accent-color: #3f76fc; }
.cl-card.is-picked { outline: 2px solid #3f76fc; border-radius: 4px; }
.cl-bulk { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; font-size: 14px; }
.cl-bulk__n { color: #4e5969; }
.cl-bulk__n b { color: #1d2129; font-weight: 400; }
.cl-bulk__op { border: 0; background: transparent; padding: 0; font-size: 14px; color: #3f76fc;
  text-decoration: none; cursor: pointer; }
.cl-bulk__op--danger { color: #ff6264; }
.cl-alert { margin: 0 0 12px; padding: 8px 12px; border-radius: 4px; font-size: 13px; }
.cl-alert--ok { background: #eef7ee; color: #2f8a3b; }
.cl-alert--err { background: #fef0f0; color: #ff6264; }
/* 功能设置 → 消息布局：保利威两张缩略图 144×78 / 146×80，选中蓝框；一键应用 12px 蓝 */
.st-thumbs { display: flex; gap: 12px; }
.st-thumb { position: relative; display: inline-block; width: 144px; height: 78px; border-radius: 4px;
  border: 1px solid #dcdfe6; overflow: hidden; cursor: pointer; background: #f7f8fa; }
.st-thumb:nth-child(2) { width: 146px; height: 80px; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-thumb.is-on { border-color: #3f76fc; box-shadow: 0 0 0 2px rgba(63,118,252,.15); }
.st-applyall { margin-top: 8px; }
.st-applyall__a { font-size: 12px; color: #3f76fc; text-decoration: none; }

/* 开播提醒配置页（平台管理） */
.nt-page { padding: 8px 0 40px; max-width: 900px; }
.nt-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.nt-title { font-size: 16px; font-weight: 700; color: #1d2129; margin: 0; }
.nt-back { font-size: 14px; color: #3f76fc; text-decoration: none; }
.nt-alert { margin: 0 0 12px; padding: 8px 12px; border-radius: 4px; font-size: 13px; }
.nt-alert--ok { background: #eef7ee; color: #2f8a3b; }
.nt-alert--err { background: #fef0f0; color: #ff6264; }
.nt-note { background: #f7f8fa; border-radius: 6px; padding: 12px 14px; font-size: 13px;
  color: #4e5969; line-height: 1.8; margin: 0 0 16px; }
.nt-card { background: #fff; border-radius: 8px; padding: 16px 18px 8px; margin: 0 0 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.nt-card__t { font-size: 14px; font-weight: 500; color: #1d2129; margin: 0 0 6px; }
.nt-card__hint { font-size: 12px; color: #969ba5; line-height: 1.8; margin: 0 0 12px; }
.nt-f { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 14px; color: #1d2129; }
.nt-f > span { flex: 0 0 150px; color: #4e5969; }
.nt-f input[type=text], .nt-f input[type=password] {
  flex: 1 1 0; min-width: 0; height: 32px; box-sizing: border-box; padding: 0 10px;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; }
.nt-f input:focus { outline: 0; border-color: #3f76fc; }
.nt-test { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; padding-left: 162px; }
.nt-test input { width: 200px; height: 32px; box-sizing: border-box; padding: 0 10px;
  border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; }
.nt-test__msg { font-size: 13px; color: #969ba5; }
.nt-actions { display: flex; align-items: center; gap: 16px; }
.nt-state { font-size: 12px; color: #969ba5; }

/* ==========================================================================
   新建直播页：左右两栏自适应（修「保存条过长、把右侧观看页预览挤出去」）
   --------------------------------------------------------------------------
   原来 .nl-form 写死 1091px、预览写死 510px + 100px 间距 = 1701px，
   而 1912 宽屏下后台内容区只有 1621px，导致预览被推到 x=1441（右边 39px 溢出），
   1600/1440/1366 下更是直接看不见预览，只剩一条很长的保存白条。
   现在：表单可伸缩（上限仍是保利威的 1091），预览固定 510 但允许等比缩，
   屏宽不足 1320 时自动上下堆叠，不再横向溢出。
   ========================================================================== */
.nl-page { display: flex; align-items: flex-start; gap: 32px; flex-wrap: nowrap; }
.nl-form { flex: 1 1 420px; min-width: 0; width: auto !important; max-width: 1091px; }
.nl-preview { flex: 0 1 510px; width: auto !important; max-width: 46%; min-width: 260px; }
.nl-preview__card { width: 100% !important; height: auto !important; }
.nl-preview__card img { width: 100% !important; height: auto !important;
  max-height: 730px; object-fit: contain; }
.nl-preview__cap { width: 100%; }

@media (max-width: 1320px) {
  .nl-page { flex-direction: column; gap: 24px; }
  .nl-preview { flex: 0 0 auto; max-width: 510px; width: 510px !important; align-self: flex-start; }
  .nl-preview__card { height: 778px !important; }
  .nl-preview__card img { height: 730px !important; width: 341px !important; }
}

/* 新建直播页布局 v2：允许换行 + 表单最小可用宽度 760（两栏塞不下时预览自动掉到下一行） */
.nl-page { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.nl-form { flex: 1 1 760px; min-width: 0; width: auto !important; max-width: 1091px; }
.nl-preview { flex: 0 1 510px; min-width: 400px; max-width: 510px; width: auto !important; }
.nl-preview__card { width: 100% !important; height: auto !important; padding: 20px; }
.nl-preview__card img { width: 100% !important; height: auto !important;
  max-height: 730px; object-fit: contain; border-radius: 6px; }
.nl-preview__cap { width: 100%; }
@media (max-width: 1439px) {
  .nl-preview { min-width: 0; max-width: 510px; }
}
/* 直播列表卡片：名称可点（进该直播间的管理页），与封面同一目标 */
.cl-name--link { display: block; color: #1d2129; text-decoration: none; }
.cl-name--link:hover { color: #3f76fc; }
/* 「观看页」小图标（眼睛） */
.cl-ico--eye { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5c-5 0-9 4.5-9 7s4 7 9 7 9-4.5 9-7-4-7-9-7zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5c-5 0-9 4.5-9 7s4 7 9 7 9-4.5 9-7-4-7-9-7zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8z'/></svg>"); }
/* 左侧栏「保利威有、我们还没做」的项：显示但标灰不可点，右侧带「开发中」小标 */
.sidebar .side-sub.is-disabled { color: rgba(255,255,255,.35) !important; cursor: not-allowed; }
.sidebar .side-sub.is-disabled:hover { background: transparent; color: rgba(255,255,255,.35) !important; }
.sidebar .side-sub__todo {
  margin-left: 6px; padding: 0 4px; border-radius: 2px; font-size: 10px; font-style: normal;
  color: rgba(255,255,255,.45); background: rgba(255,255,255,.10); vertical-align: 1px;
}
/* 整组都没有可用项（如直播统计）：一级项也标灰不可点 */
.sidebar .side-item.is-disabled { opacity: 1; color: rgba(255,255,255,.35) !important; cursor: not-allowed; }

/* ==========================================================================
   频道左栏「自定义菜单」弹窗
   保利威实测：对话框 820×792 居中（1912×1002 视口下位置 539,105），
   标题栏 + 左「已添加」(240 宽) + 右「全部功能」(两列) + 底部 恢复默认/取消/保存(96×32)
   ========================================================================== */
.cm-mask { position: fixed; inset: 0; z-index: 900; display: flex;
  align-items: center; justify-content: center; background: rgba(0,0,0,.45); }
/* 整页访问（直接打开 /rooms/<id>/menu）时不再铺满屏遮罩：
   遮罩会让左侧导航/顶栏整片变暗且点不动（表现为"点哪都没反应"），
   改为页内卡片，保留对话框外观，导航恢复可点。 */
.cm-mask--page { position: static; inset: auto; z-index: auto; display: block;
  background: transparent; }
.cm-mask--page .cm-dlg { max-width: 100%; }
body.cm-open { overflow: hidden; }

.cm-dlg { width: 820px; height: 792px; max-height: calc(100vh - 60px);
  display: flex; flex-direction: column; background: #fff; border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,.16); overflow: hidden; }
.cm-dlg__hd { flex: 0 0 56px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #eef0f4; }
.cm-dlg__t { margin: 0; font-size: 16px; font-weight: 500; color: #1d2129; }
.cm-dlg__x { width: 24px; height: 24px; border: 0; background: none; font-size: 20px;
  line-height: 1; color: #969ba5; cursor: pointer; }
.cm-dlg__x:hover { color: #1d2129; }
.cm-dlg > form { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.cm-alert { margin: 10px 24px 0; padding: 8px 12px; border-radius: 4px; font-size: 13px; }
.cm-alert--ok { background: #eef7ee; color: #2f8a3b; }

.cm-cols { flex: 1; display: flex; min-height: 0; }
.cm-panel { display: flex; flex-direction: column; min-height: 0; padding: 16px 18px 0; }
.cm-panel--added { flex: 0 0 240px; width: 240px; box-sizing: border-box;
  border-right: 1px solid #eef0f4; }
.cm-panel--all { flex: 1; min-width: 0; }
.cm-hd { display: flex; align-items: center; justify-content: space-between; }
.cm-hd__t { font-size: 14px; font-weight: 500; color: #1d2129; }
.cm-hd__n { font-size: 12px; color: #969ba5; }
.cm-hint { font-size: 12px; color: #969ba5; margin: 4px 0 12px; line-height: 1.5; }
.cm-list { flex: 1; overflow-y: auto; padding-bottom: 16px; }
.cm-group { margin: 0 0 14px; }
.cm-group__t { font-size: 12px; color: #86909c; margin: 0 0 8px; padding-left: 2px; }
.cm-grid { display: grid; grid-template-columns: repeat(2, 232px); gap: 8px; }

.cm-item { display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 100%; box-sizing: border-box; height: 36px; padding: 0 10px; margin: 0 0 8px;
  border: 1px solid #e5e8ef; border-radius: 4px; background: #fff;
  font-size: 13px; color: #1d2129; text-align: left; font-family: inherit; }
.cm-grid .cm-item { margin: 0; }
.cm-item__t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cm-item--all { cursor: pointer; }
.cm-item--all:hover { border-color: #3f76fc; color: #3f76fc; }
.cm-item--all.is-on { background: #f5f7fb; color: #a8b0bd; border-color: #e5e8ef; }
.cm-item__ops { display: flex; gap: 2px; flex: 0 0 auto; }
/* 拖拽排序（保利威：同分类内拖拽） */
.cm-panel--added .cm-item.is-draggable { cursor: grab; }
.cm-panel--added .cm-item.is-dragging { opacity: .45; cursor: grabbing; }
.cm-panel--added .cm-item.is-drop-target { border-color: #3f76fc; box-shadow: 0 0 0 1px #3f76fc inset; }
.cm-op { width: 20px; height: 20px; border: 1px solid #e5e8ef; border-radius: 3px;
  background: #fff; font-size: 11px; color: #4e5969; cursor: pointer; line-height: 1;
  padding: 0; }
.cm-op:hover { border-color: #3f76fc; color: #3f76fc; }
.cm-op--rm:hover { border-color: #ff6264; color: #ff6264; }
.cm-todo { margin-left: 5px; padding: 0 4px; border-radius: 2px; font-size: 10px;
  font-style: normal; color: #ff7d00; background: #fff4e6; }
.cm-empty { font-size: 13px; color: #969ba5; padding: 24px 0; text-align: center; }

.cm-actions { flex: 0 0 64px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 24px; border-top: 1px solid #eef0f4; }
.cm-actions__right { display: flex; gap: 12px; }
.cm-save { width: 96px; height: 32px; padding: 0; }

/* ==========================================================================
   图文直播（保利威「高级功能 → 图文直播」）
   开关页 = 一行开关 + 查看示例 + 三个入口；另加 记录 / 设置 / 发布 三页
   ========================================================================== */
.tu-page { max-width: 1120px; }
.tu-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 20px 24px; }
.tu-row { display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; padding: 4px 0 18px; border-bottom: 1px solid #eef0f4; }
.tu-row__t { font-size: 14px; color: #1d2129; font-weight: 500; line-height: 22px; }
.tu-row__tip { font-size: 12px; color: #969ba5; margin-top: 4px; line-height: 1.6; }
.tu-row__right { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.tu-demo { font-size: 13px; color: #3f76fc; text-decoration: none; }
.tu-demo:hover { text-decoration: underline; }

.tu-entries { display: flex; gap: 12px; padding: 20px 0 4px; flex-wrap: wrap; }
.tu-entry { min-width: 96px; justify-content: center; position: relative; }
.tu-entry__n { font-style: normal; margin-left: 6px; font-size: 12px; color: #969ba5; }

.tu-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.tu-save { width: 96px; height: 32px; padding: 0; }

.tu-head { display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 16px; }
.tu-head__t { margin: 0; font-size: 16px; font-weight: 700; color: #1d2129; }
.tu-head__right { display: flex; align-items: center; gap: 16px; }
.tu-count { font-size: 13px; color: #969ba5; }

.tu-alert { margin: 0 0 12px; padding: 8px 12px; border-radius: 4px; font-size: 13px; }
.tu-alert--ok { background: #eef7ee; color: #2f8a3b; }
.tu-alert--err { background: #fdecec; color: #d93026; }
.tu-alert--warn { background: #fff7e8; color: #b76b00; }
.tu-alert a { color: #3f76fc; }

.tu-list { display: flex; flex-direction: column; gap: 12px; }
.tu-item { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 14px 18px; }
.tu-item__hd { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #969ba5; }
.tu-item__author { color: #1d2129; font-size: 13px; }
.tu-item__pin { font-style: normal; font-size: 11px; color: #ff7d00;
  background: #fff4e6; padding: 0 5px; border-radius: 2px; }
.tu-item__ops { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tu-inline { display: inline; }
.tu-op { border: 0; background: none; padding: 0; font-size: 13px; color: #3f76fc;
  cursor: pointer; font-family: inherit; }
.tu-op:hover { text-decoration: underline; }
.tu-op--del { color: #ff6264; }
.tu-item__body { margin-top: 8px; font-size: 14px; line-height: 1.75; color: #1d2129;
  white-space: pre-wrap; word-break: break-word; }
.tu-item__imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tu-item__imgs img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px;
  display: block; }
.tu-empty { padding: 60px 0; text-align: center; font-size: 13px; color: #969ba5; }

.tu-form { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 20px 24px; }
.tu-field { margin: 0 0 20px; }
.tu-field--inline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tu-label { display: block; font-size: 13px; color: #1d2129; margin: 0 0 8px; }
.tu-label--gap { margin: 0 0 0 12px; }
.tu-field--inline .tu-label { margin: 0; }
.tu-textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 14px;
  line-height: 1.7; color: #1d2129; border: 1px solid #e5e8ef; border-radius: 4px;
  font-family: inherit; resize: vertical; }
.tu-textarea:focus { outline: none; border-color: #3f76fc; }
.tu-input { width: 160px; box-sizing: border-box; height: 32px; padding: 0 10px;
  font-size: 13px; border: 1px solid #e5e8ef; border-radius: 4px; font-family: inherit; }
.tu-input--wide { flex: 1; min-width: 240px; max-width: 420px; }
.tu-input:focus { outline: none; border-color: #3f76fc; }
.tu-hint { font-size: 12px; color: #969ba5; margin-top: 8px; }
.tu-radios { display: flex; gap: 20px; }
.tu-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  color: #1d2129; cursor: pointer; }

.tu-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.tu-img { position: relative; width: 96px; height: 96px; border-radius: 6px;
  overflow: hidden; background: #f5f6f8; display: inline-flex; align-items: center;
  justify-content: center; font-size: 12px; color: #969ba5; }
.tu-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tu-img__x { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; line-height: 1; cursor: pointer; padding: 0; }
.tu-imgops { display: flex; align-items: center; gap: 12px; }
.tu-upload { cursor: pointer; }
.tu-imgtip { font-size: 12px; color: #969ba5; }

/* ==========================================================================
   直播统计 → 直播间统计（保利威 channel-statistics：6 TAB + 日期 + 三组指标卡 + 漏斗）
   ========================================================================== */
.st-page { max-width: 1180px; }
.st-tabs { display: flex; align-items: center; gap: 28px; border-bottom: 1px solid #eef0f4;
  margin: 0 0 16px; }
.st-tab { position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0 12px; font-size: 14px; color: #4e5969; text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.st-tab:hover { color: #3f76fc; }
.st-tab.is-on { color: #1d2129; font-weight: 500; border-bottom-color: #3f76fc; }
.st-tab.is-todo { color: #c0c4cc; cursor: not-allowed; }
.st-tab__todo { font-style: normal; font-size: 10px; color: #ff7d00; background: #fff4e6;
  padding: 0 4px; border-radius: 2px; }

.st-range { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; }
.st-date { width: 140px; height: 32px; box-sizing: border-box; padding: 0 10px;
  font-size: 13px; border: 1px solid #e5e8ef; border-radius: 4px; font-family: inherit; }
.st-date:focus { outline: none; border-color: #3f76fc; }
.st-dash { color: #c0c4cc; }
.st-query { height: 32px; padding: 0 16px; }
.st-hint { font-size: 12px; color: #969ba5; }

.st-empty-tip { margin: 0 0 16px; padding: 8px 12px; border-radius: 4px; font-size: 13px;
  background: #fff7e8; color: #b76b00; }
.st-h1 { margin: 8px 0 14px; font-size: 15px; font-weight: 500; color: #1d2129; }

.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1400px) { .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 16px 20px 20px; }
.st-card__t { font-size: 13px; color: #86909c; margin: 0 0 12px; }
.st-kv { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.st-kv__n { font-size: 22px; font-weight: 600; color: #1d2129; line-height: 1.2;
  font-variant-numeric: tabular-nums; }
.st-kv__n.is-dash { color: #c0c4cc; }
.st-kv__l { font-size: 13px; color: #86909c; }
.st-kv__l em { font-style: normal; margin-left: 2px; color: #a8b0bd; }

.st-funnel { margin: 20px 0 0; background: #fff; border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); padding: 18px 22px 22px; }
.st-funnel__t { font-size: 13px; color: #86909c; margin: 0 0 14px; }
.st-funnel__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.st-funnel__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.st-funnel__label { font-size: 12px; color: #a8b0bd; }
.st-funnel__v { font-size: 18px; color: #1d2129; font-variant-numeric: tabular-nums; }
.st-funnel__v em { font-style: normal; font-size: 12px; color: #86909c; margin-left: 6px; }
.st-funnel__arrow { color: #c0c4cc; font-size: 12px; line-height: 1; }
.st-funnel__rate { font-size: 14px; color: #3f76fc; margin-top: 2px; }
.st-funnel__rate em { font-style: normal; font-size: 12px; color: #86909c; margin-left: 6px; }

/* ==========================================================================
   直播资源 → 课件文档库（保利威 live-materials：四条须知 + 本地上传 + 四列表格）
   ========================================================================== */
.rs-page { max-width: 1240px; }
.rs-notes { position: relative; padding: 0 0 16px; }
.rs-notes__list { margin: 0; padding-left: 18px; font-size: 13px; color: #4e5969;
  line-height: 1.9; }
.rs-notes__list li { margin: 0; }
.rs-more { margin-left: 4px; color: #3f76fc; text-decoration: none; }
.rs-more:hover { text-decoration: underline; }
.rs-more.is-disabled { color: #c0c4cc; cursor: not-allowed; }
.rs-more.is-disabled:hover { text-decoration: none; }
.rs-upload { position: absolute; right: 0; top: 0; }
.rs-upload__btn { width: 96px; height: 32px; justify-content: center; cursor: pointer; }

.rs-alert { margin: 0 0 12px; padding: 8px 12px; border-radius: 4px; font-size: 13px; }
.rs-alert--ok { background: #eef7ee; color: #2f8a3b; }
.rs-alert--err { background: #fdecec; color: #d93026; }

.rs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); font-size: 13px; }
.rs-table th { background: #fafbfc; color: #4e5969; font-weight: 400; text-align: left;
  padding: 12px 16px; border-bottom: 1px solid #eef0f4; }
.rs-table td { padding: 12px 16px; border-bottom: 1px solid #f4f6f9; color: #1d2129;
  vertical-align: middle; }
.rs-table tr:last-child td { border-bottom: 0; }
.rs-time { color: #86909c; width: 180px; }
.rs-name a { color: #1d2129; text-decoration: none; }
.rs-name a:hover { color: #3f76fc; }
.rs-size { font-style: normal; margin-left: 8px; font-size: 12px; color: #a8b0bd; }
.rs-status { font-size: 12px; color: #86909c; }
.rs-status.is-ok { color: #2f8a3b; }
.rs-ops { width: 160px; }
.rs-inline { display: inline; }
.rs-op { border: 0; background: none; padding: 0; margin-right: 14px; font-size: 13px;
  color: #3f76fc; text-decoration: none; cursor: pointer; font-family: inherit; }
.rs-op:hover { text-decoration: underline; }
.rs-op--del { color: #ff6264; }
.rs-empty { text-align: center; color: #a8b0bd; padding: 40px 0 !important; }

/* ==========================================================================
   直播编排（保利威 robot-number 规则列表 + interact-script 互动剧本编辑器）
   ========================================================================== */
.sc-page { max-width: 1240px; }
.sc-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.sc-help { font-size: 13px; color: #3f76fc; }
.sc-help.is-disabled { color: #c0c4cc; cursor: not-allowed; }
.sc-create { height: 32px; padding: 0 16px; }

.sc-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); font-size: 13px; }
.sc-table th { background: #fafbfc; color: #4e5969; font-weight: 400; text-align: left;
  padding: 12px 16px; border-bottom: 1px solid #eef0f4; }
.sc-table td { padding: 12px 16px; border-bottom: 1px solid #f4f6f9; color: #1d2129; }
.sc-table tr:last-child td { border-bottom: 0; }
.sc-link { color: #1d2129; text-decoration: none; }
.sc-link:hover { color: #3f76fc; }
.sc-time { color: #86909c; }
.sc-status { font-size: 12px; color: #86909c; }
.sc-status.is-pending { color: #ff7d00; }
.sc-ops { width: 140px; }
.sc-inline { display: inline; }
.sc-op { border: 0; background: none; padding: 0; margin-right: 14px; font-size: 13px;
  color: #3f76fc; text-decoration: none; cursor: pointer; font-family: inherit; }
.sc-op:hover { text-decoration: underline; }
.sc-op--del { color: #ff6264; }
.sc-empty { text-align: center; color: #a8b0bd; padding: 40px 0 !important; }

/* ---- 互动剧本编辑器 ---- */
.sg-page { max-width: 1520px; }
.sg-head { display: flex; align-items: center; gap: 16px; height: 48px; margin: 0 0 12px; }
.sg-back { display: inline-flex; align-items: center; gap: 4px; color: #4e5969;
  text-decoration: none; font-size: 13px; }
.sg-back:hover { color: #3f76fc; }
.sg-name { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sg-rename input { height: 30px; padding: 0 10px; font-size: 14px; color: #1d2129;
  border: 1px solid transparent; border-radius: 4px; background: transparent;
  font-family: inherit; min-width: 240px; }
.sg-rename input:hover { border-color: #e5e8ef; }
.sg-rename input:focus { outline: none; border-color: #3f76fc; background: #fff; }
.sg-type { font-size: 12px; color: #86909c; background: #f5f6f8; padding: 2px 8px;
  border-radius: 3px; }
.sg-msg { font-size: 13px; color: #2f8a3b; }

.sg-body { display: flex; gap: 16px; align-items: flex-start; }
.sg-left { flex: 0 0 465px; width: 465px; background: #fff; border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); padding: 12px 0 12px; min-height: 560px;
  display: flex; flex-direction: column; }
.sg-tabs { display: flex; gap: 8px; padding: 0 12px 8px; border-bottom: 1px solid #eef0f4; }
.sg-tab { font-size: 13px; color: #4e5969; padding: 4px 2px 8px; border-bottom: 2px solid transparent; }
.sg-tab.is-on { color: #1d2129; font-weight: 500; border-bottom-color: #3f76fc; }
.sg-add { padding: 10px 12px 6px; }
.sg-add__btn { display: inline-flex; align-items: center; gap: 4px; height: 28px;
  padding: 0 12px; font-size: 13px; color: #3f76fc; background: #eef3ff; border: 0;
  border-radius: 4px; cursor: pointer; font-family: inherit; }
.sg-add__btn:hover { background: #e2ebff; }

.sg-list { flex: 1; overflow-y: auto; padding: 4px 12px 12px; }
.sg-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border: 1px solid #eef0f4; border-radius: 6px; margin: 0 0 8px; background: #fff; }
.sg-item:hover { border-color: #d6e2ff; background: #fafbff; }
.sg-item__left { flex: 1; min-width: 0; }
.sg-item__title { font-size: 13px; color: #1d2129; line-height: 20px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-item__row { display: flex; gap: 12px; margin-top: 2px; }
.sg-item__time, .sg-item__dur { font-size: 11px; color: #86909c; }
.sg-item__ops { display: flex; align-items: center; gap: 2px; }
.sg-icon { width: 24px; height: 24px; display: inline-flex; align-items: center;
  justify-content: center; border: 0; background: none; color: #86909c; cursor: pointer;
  border-radius: 4px; padding: 0; }
.sg-icon:hover { color: #3f76fc; background: #eef3ff; }
.sg-icon--del:hover { color: #ff6264; background: #fdecec; }
.sg-inline { display: inline; }
.sg-empty { font-size: 13px; color: #969ba5; text-align: center; padding: 30px 10px; line-height: 1.7; }

.sg-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sg-player { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  overflow: hidden; }
.sg-player__head { height: 44px; display: flex; align-items: center; padding: 0 16px;
  font-size: 13px; color: #4e5969; border-bottom: 1px solid #eef0f4; }
.sg-player__body { position: relative; height: 360px; background: #1f2230;
  display: flex; align-items: center; justify-content: center; }
.sg-player__empty { color: #7a7a8a; font-size: 13px; }
.sg-player__time { position: absolute; right: 14px; bottom: 10px; color: #c8c8d6;
  font-size: 12px; font-variant-numeric: tabular-nums; }

.sg-timeline { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 12px 16px 18px; }
.sg-timeline__tools { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.sg-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #4e5969; }
.sg-legend em { width: 6px; height: 6px; background: #3f76fc; border-radius: 1px; display: block; }
.sg-timeline__hint { font-size: 12px; color: #969ba5; }
.sg-ruler { position: relative; height: 18px; margin: 0 0 4px; border-bottom: 1px solid #eef0f4; }
.sg-ruler__tick { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px;
  color: #a8b0bd; }
.sg-track { position: relative; height: 96px; background: linear-gradient(#fafbfd, #f4f6fa);
  border-radius: 6px; overflow: hidden; }
.sg-track::before { content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to right, #eef0f4 0 1px, transparent 1px 8.3333%); }
/* 12 小时轴上「持续 30 秒」只有 0.07%，真按比例画就看不见也点不到；
   给一个最小可见宽度（保利威那条轴同样有缩放滑杆解决这个问题） */
.sg-block { position: absolute; top: 34px; height: 26px; border: 0; border-radius: 4px; min-width: 26px;
  background: #3f76fc; color: #fff; font-size: 11px; font-family: inherit; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; }
.sg-block:hover { background: #2f63e0; }
.sg-block.is-on { box-shadow: 0 0 0 2px rgba(63,118,252,.35); }
.sg-cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: #ff9f43;
  left: 0; pointer-events: none; display: none; }
.sg-track:hover .sg-cursor { display: block; }

.sg-dialog[hidden] { display: none; }
.sg-dialog { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center; }
.sg-dialog__box { width: 420px; background: #fff; border-radius: 6px; padding: 0 0 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.sg-dialog__hd { display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; font-size: 14px; color: #1d2129; border-bottom: 1px solid #eef0f4; }
.sg-dialog__x { border: 0; background: none; font-size: 18px; line-height: 1;
  color: #969ba5; cursor: pointer; }
.sg-field { display: block; padding: 12px 18px 0; }
.sg-field span { display: block; font-size: 13px; color: #4e5969; margin: 0 0 6px; }
.sg-field input { width: 100%; box-sizing: border-box; height: 32px; padding: 0 10px;
  font-size: 13px; border: 1px solid #e5e8ef; border-radius: 4px; font-family: inherit; }
.sg-field input:focus { outline: none; border-color: #3f76fc; }
.sg-dialog__ft { display: flex; justify-content: flex-end; gap: 12px; padding: 18px 18px 0; }

/* ---- 互动剧本编辑器：四区域（左列表 / 中播放器 / 下时间轴 / 右配置与预览）---- */
.sg-grid { display: grid; grid-template-columns: 465px minmax(420px, 1fr) 340px; gap: 16px;
  align-items: start; }
@media (max-width: 1680px) { .sg-grid { grid-template-columns: 400px minmax(360px, 1fr) 320px; } }
.sg-mid { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sg-status { font-size: 12px; padding: 2px 8px; border-radius: 3px; background: #f5f6f8; color: #86909c; }
.sg-status.is-active { background: #eef7ee; color: #2f8a3b; }
.sg-status.is-paused { background: #fff7e8; color: #b76b00; }
.sg-status.is-ended { background: #f2f3f5; color: #a8b0bd; }
.sg-item.is-sel { border-color: #3f76fc; background: #f7f9ff; }
.sg-item__flag { font-size: 10px; color: #3f76fc; background: #eef3ff; padding: 0 4px;
  border-radius: 2px; }
.sg-block.is-dragging { cursor: grabbing; opacity: .85; }
.sg-panel { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 14px 16px 16px; }
.sg-panel__t { font-size: 13px; color: #4e5969; margin: 0 0 12px; font-weight: 500; }
.sg-panel__ft { margin-top: 14px; }
.sg-save { width: 96px; height: 32px; padding: 0; }
.sg-field--row { display: flex; gap: 10px; }
.sg-field--row label { flex: 1; min-width: 0; }
.sg-field--row span { display: block; font-size: 13px; color: #4e5969; margin: 0 0 6px; }
.sg-field--switch { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sg-field__t { display: block; font-size: 13px; color: #1d2129; }
.sg-field__tip { display: block; font-style: normal; font-size: 12px; color: #969ba5;
  margin-top: 2px; line-height: 1.5; }
.sg-panel--preview .sg-preview { border: 1px solid #eef0f4; border-radius: 8px;
  overflow: hidden; background: #f7f8fa; }
.sg-preview__hd { display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: #3f76fc; color: #fff; font-size: 12px; }
.sg-preview__hd em { font-style: normal; opacity: .85; }
.sg-preview__body { padding: 14px 12px; text-align: center; }
.sg-preview__prompt { margin: 0 0 10px; font-size: 12px; color: #4e5969; }
.sg-preview__btn { width: 100%; height: 32px; border: 0; border-radius: 6px;
  background: #3f76fc; color: #fff; font-size: 13px; font-family: inherit; }
.sg-preview__meta { display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 11px; color: #969ba5; }
.sg-panel__note { margin: 12px 0 0; font-size: 12px; color: #969ba5; line-height: 1.7; }

/* ==========================================================================
   课件放映控制台（给 OBS 造文档源；3/4/…/9 分屏在 OBS 里摆）
   ========================================================================== */
.ct-page { max-width: 1400px; }
.ct-head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; flex-wrap: wrap; }
.ct-back { font-size: 13px; color: #4e5969; text-decoration: none; }
.ct-back:hover { color: #3f76fc; }
.ct-title { margin: 0; font-size: 16px; font-weight: 700; color: #1d2129; }
.ct-name { font-size: 13px; color: #4e5969; }
.ct-badge { font-size: 12px; color: #2f8a3b; background: #eef7ee; padding: 2px 8px; border-radius: 3px; }
.ct-badge.is-warn { color: #b76b00; background: #fff7e8; }

.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
@media (max-width: 1280px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-stage { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  overflow: hidden; }
.ct-stage__hd { display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid #eef0f4; font-size: 13px; color: #4e5969; }
.ct-stage__pg { color: #86909c; }
.ct-stage__body { background: #0d0f16; min-height: 420px; display: flex;
  align-items: center; justify-content: center; padding: 12px; }
.ct-stage__body img { max-width: 100%; max-height: 560px; display: block; }
.ct-stage__empty { color: #c8c8d6; font-size: 14px; line-height: 2; text-align: center; }
.ct-ops { display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-top: 1px solid #eef0f4; flex-wrap: wrap; }
.ct-arrow { min-width: 84px; height: 32px; justify-content: center; }
.ct-jump { font-size: 13px; color: #4e5969; margin-left: auto; display: inline-flex;
  align-items: center; gap: 6px; }
.ct-jump__in { width: 62px; height: 30px; text-align: center; border: 1px solid #e5e8ef;
  border-radius: 4px; font-family: inherit; font-size: 13px; }
.ct-jump__btn { height: 30px; padding: 0 12px; }

.ct-side { display: flex; flex-direction: column; gap: 14px; }
.ct-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 14px 16px 16px; }
.ct-card__t { font-size: 13px; font-weight: 500; color: #1d2129; margin: 0 0 8px; }
.ct-card__tip { font-size: 12px; color: #86909c; line-height: 1.8; margin: 8px 0 0; }
.ct-card__tip code { background: #f5f6f8; padding: 1px 4px; border-radius: 3px; }
.ct-url { display: flex; gap: 8px; margin: 8px 0; }
.ct-url input { flex: 1; min-width: 0; height: 30px; padding: 0 8px; font-size: 12px;
  border: 1px solid #e5e8ef; border-radius: 4px; font-family: Consolas, monospace;
  color: #4e5969; background: #fafbfc; }
.ct-copy { height: 30px; padding: 0 12px; font-size: 12px; }
.ct-reset { margin: 6px 0 0; }
.ct-link { border: 0; background: none; padding: 0; font-size: 12px; color: #969ba5;
  cursor: pointer; font-family: inherit; }
.ct-link:hover { color: #ff6264; text-decoration: underline; }
.ct-steps { margin: 0; padding-left: 18px; font-size: 13px; color: #4e5969; line-height: 1.8; }
.ct-steps li { margin: 0 0 10px; }
.ct-steps b { display: block; color: #1d2129; font-weight: 500; }
.ct-steps span { display: block; color: #86909c; font-size: 12px; line-height: 1.7; margin-top: 2px; }

/* ---- 直播间统计：其余 TAB 的表格与空态 ---- */
.st-tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); font-size: 13px; }
.st-tbl th { background: #fafbfc; color: #4e5969; font-weight: 400; text-align: left;
  padding: 12px 16px; border-bottom: 1px solid #eef0f4; }
.st-tbl td { padding: 11px 16px; border-bottom: 1px solid #f4f6f9; color: #1d2129;
  font-variant-numeric: tabular-nums; }
.st-tbl tr:last-child td { border-bottom: 0; }
.st-tbl td:first-child { color: #86909c; }
.st-tbl--narrow { max-width: 560px; }
.st-cards--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.st-nodata { padding: 48px 0; text-align: center; color: #a8b0bd; font-size: 13px; }
.st-note { margin: 12px 0 0; font-size: 12px; color: #969ba5; line-height: 1.8; }

/* ============== 顶栏（账号移到右上角，对标保利威） ============== */
/* 顶栏是 .app-main 内的第一行，横跨内容区宽度；右侧放账号与退出。 */
.app-topbar {
  position: sticky; top: 0; z-index: 15;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 20px;
  background: #fff; border-bottom: 1px solid #e7ecf3;
}
.app-topbar__left { display: flex; align-items: center; min-width: 0; }
.app-topbar__right { display: flex; align-items: center; gap: 10px; }

.tb-user {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 10px; border-radius: 8px; color: #1d2129;
  text-decoration: none; transition: background .15s;
}
.tb-user:hover { background: #f4f7fd; text-decoration: none; }
.tb-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #3f76fc; color: #fff; font-weight: 600; font-size: 14px;
  flex: 0 0 auto;
}
.tb-user-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tb-user-text b { font-size: 13px; font-weight: 600; color: #1d2129;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-user-text small { font-size: 11px; color: #8a94a6; }

.tb-logout-form { margin: 0; }
.tb-logout {
  width: 34px; height: 34px; border: 1px solid #e2e8f0; border-radius: 8px;
  background: #fff; color: #4e5969; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s;
}
.tb-logout:hover { border-color: #3f76fc; color: #3f76fc; }
.tb-logout svg { width: 18px; height: 18px; }

/* ============== 级联列项图标（模板设置/通用设置等分组父节点） ============== */
.cascade__itemicon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin-right: 8px; flex: 0 0 auto;
  color: #3f76fc;
}
.cascade__itemicon svg { width: 20px; height: 20px; }
/* 第 3 列原本居中（保利威实测），有图标时改为左对齐更好看 */
.cascade__col--3 .cascade__item:has(.cascade__itemicon) {
  justify-content: flex-start !important;
}
.cascade__col--3 .cascade__item:has(.cascade__itemicon) .cascade__label {
  text-align: left !important;
}

/* ============== 概览页（对标保利威控制台数据看板） ============== */
.ov-wrap { max-width: 1180px; margin: 0 auto; padding: 22px 24px 40px; }

.ov-crumb { font-size: 15px; font-weight: 600; color: #1d2129; }

.ov-hero {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 8px;
}
.ov-hero__title { margin: 0; font-size: 22px; font-weight: 600; color: #1d2129; }
.ov-hero__sub { margin: 6px 0 0; font-size: 13px; color: #8a94a6; }
.ov-hero__actions { display: flex; align-items: center; gap: 10px; }

.ov-section { margin-top: 24px; }
.ov-section__title {
  margin: 0 0 14px; font-size: 16px; font-weight: 600; color: #1d2129;
  padding-left: 10px; border-left: 3px solid #3f76fc;
}

/* 数据概览 */
.ov-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.ov-stat {
  background: #fff; border: 1px solid #e7ecf3; border-radius: 10px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
}
.ov-stat__label { font-size: 13px; color: #8a94a6; }
.ov-stat__num { font-size: 30px; font-weight: 700; color: #1d2129; line-height: 1.1;
  font-variant-numeric: tabular-nums; }
.ov-stat__hint { font-size: 12px; color: #a8b0bd; }

/* 常用功能 */
.ov-quick {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.ov-quick__item {
  background: #fff; border: 1px solid #e7ecf3; border-radius: 10px;
  padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: #1d2129; transition: border-color .15s, box-shadow .15s, transform .1s;
}
.ov-quick__item:hover {
  border-color: #3f76fc; box-shadow: 0 4px 14px rgba(63,118,252,.1);
  text-decoration: none; transform: translateY(-1px);
}
.ov-quick__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef3ff; color: #3f76fc;
}
.ov-quick__icon svg { width: 24px; height: 24px; }
.ov-quick__icon--create { background: #3f76fc; color: #fff; }
.ov-quick__label { font-size: 13px; font-weight: 500; }

/* 主体两栏 */
.ov-cols {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px; align-items: start; margin-top: 24px;
}
.ov-col-main, .ov-col-side { min-width: 0; }

/* 新手引导 */
.ov-steps { display: flex; flex-direction: column; gap: 4px; }
.ov-step {
  display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px;
  background: #fff; border: 1px solid #eef1f6;
}
.ov-step--ok { background: #f6fbf9; border-color: #d8efdf; }
.ov-step__no {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef3ff; color: #3f76fc; font-size: 13px; font-weight: 700;
}
.ov-step--ok .ov-step__no { background: #136b47; color: #fff; }
.ov-step__body { min-width: 0; }
.ov-step__title { font-size: 14px; font-weight: 600; color: #1d2129; }
.ov-step__desc { font-size: 12px; color: #8a94a6; margin: 3px 0 0; line-height: 1.6; }
.ov-step__btn { margin-top: 8px; }

@media (max-width: 900px) {
  .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-cols { grid-template-columns: 1fr; }
}



/* ==========================================================================
   房间页：横跨整页顶栏 + 左侧频道导航列（对标保利威 channel-info 页）
   --------------------------------------------------------------------------
   顶栏 56px、白底、下边框 1px #E5E6EB、左右内边距 24；左「‹ 返回列表」，
   右「搜索功能和文档」200×32 + 主按钮「开播」32/圆角 6。
   左列 200px 白底、右边框 1px #E5E6EB、上下内边距 16；分组标题「小图标 + 12px 灰字」，
   可点项 行高 40/字号 14/#4E5969/图标 16；当前项 浅蓝底 + 3px 蓝左边框 + 蓝字 500。
   非房间页不渲染这些类，原样不动。
   ========================================================================== */
.rtopbar {
  position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 22;
  background: #fff; border-bottom: 1px solid #e5e6eb;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; box-sizing: border-box;
}
.rtopbar__back { display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; color: #4e5969; text-decoration: none; }
.rtopbar__back:hover { color: #165dff; text-decoration: none; }
/* Q2：顶栏显示「当前是哪个直播间」。紧凑一行，与「‹ 返回列表」同排，不占独立区块。 */
.rtopbar__room {
  display: inline-flex; align-items: center; height: 20px;
  margin: 0 auto 0 12px; padding-left: 12px; box-sizing: border-box;
  max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border-left: 1px solid #e5e6eb;
  font-size: 14px; font-weight: 500; color: #1d2129;
}
.rtopbar__right { display: flex; align-items: center; gap: 12px; }
body.has-navrail input.rtopbar__search,
body.has-navrail .rtopbar__search {
  width: 200px !important; min-width: 0 !important; height: 32px !important;
  padding: 0 12px !important; box-sizing: border-box !important;
  border: 1px solid #e5e6eb !important; border-radius: 6px !important;
  font-size: 13px !important; color: #1d2129 !important; line-height: normal !important;
  background: #fff !important; outline: none; font-family: inherit;
}
.rtopbar__search::placeholder { color: #c9cdd4; }
.rtopbar__btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 16px; border-radius: 6px; box-sizing: border-box;
  background: #165dff; border: 1px solid #165dff; color: #fff;
  font-size: 14px; text-decoration: none; white-space: nowrap;
}
.rtopbar__btn:hover { background: #0e4ad6; color: #fff; text-decoration: none; }

.roomnav {
  position: fixed; top: 56px; bottom: 0; left: 0; width: 200px; z-index: 21;
  background: #fff; border-right: 1px solid #e5e6eb;
  padding: 16px 0; overflow-y: auto; box-sizing: border-box;
}
.roomnav__group {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 10px; box-sizing: border-box;
  font-size: 16px; font-weight: 500; color: #a8abb2;
}
.roomnav__group:not(:first-child) { margin-top: 8px; }
.roomnav__gicon { width: 20px; height: 20px; flex: 0 0 20px; color: #a8abb2; }
.roomnav__divider { height: 1px; background: #e5e6eb; margin: 12px; }
.roomnav__item {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 8px; box-sizing: border-box;
  font-size: 14px; color: #4e5969; text-decoration: none;
}
/* 浅灰大字（与分组标题同款：大一号 + 更浅，但可点）：只有「自定义菜单」用 */
.roomnav__item.muted { font-size: 16px; font-weight: 500; color: #a8abb2; gap: 8px; }
.roomnav__item.muted .roomnav__icon { width: 20px; height: 20px; flex: 0 0 20px; color: #a8abb2; }
.roomnav__item:hover { background: #f7f8fa; color: #1d2129; text-decoration: none; }
.roomnav__item.active {
  background: #e8f0fe; box-shadow: inset 3px 0 0 #165dff;
  color: #165dff; font-weight: 500;
}
.roomnav__icon { width: 16px; height: 16px; flex: 0 0 16px; color: #86909c; }
.roomnav__item.active .roomnav__icon { color: #165dff; }
.roomnav__item.is-disabled { color: #c9cdd4; cursor: not-allowed; }

/* 深蓝侧栏里「直播」右侧的下箭头（常开提示，不可点、不旋转） */
.side-caret {
  margin-left: auto; flex: 0 0 auto; width: 0; height: 0;
  border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
  border-top: 5px solid currentColor; opacity: .6;
}
.side-caret--static { transform: none; cursor: default; }

/* 房间页里原来那列深色左栏 + 我们自己的账号顶栏都不显示（用保利威式顶栏） */
body.has-navrail .sidebar { display: none !important; }
body.has-navrail .app-topbar { display: none !important; }

/* 几何：仅 ≥1101px 生效（更窄时整列隐藏，与既有 .cascade 的 1100 断点对齐） */
@media (min-width: 1101px) {
  body.has-navrail .cascade  { top: 56px; left: 200px; }
  body.has-navrail .app-main { padding-top: 56px; margin-left: calc(200px + var(--cascade-w, 0px)); }
}
@media (max-width: 1100px) {
  .roomnav { display: none; }
  .rtopbar { display: none; }
}

/* ==========================================================================
   窄屏（≤1100px）房间导航改为可展开/收起的抽屉
   --------------------------------------------------------------------------
   背景：原来 ≤1100px 时 .roomnav 与深色平台栏同时隐藏，房间页左侧没有任何
        导航（v2.css:3460 + body.has-navrail .sidebar{display:none}）。
   现在：窄屏保留同一套浅色 21 项导航，收进抽屉；桌面端（≥1101px）规则不命中，
        仍是常驻 200px 房间栏，样式与几何一律不变。
   约束：不恢复深色 8 项平台栏；21 项的名称/顺序/图标/分组不改；
        抽屉默认收起，不占内容区宽度 → 不遮挡主要操作区域。
   ========================================================================== */
/* 默认（桌面端）：窄屏专用元素全部不参与布局 */
.rnav-bar { display: none; }
.roomnav__scrim { display: none; }
.roomnav__kids { display: none; }

@media (max-width: 1100px) {
  /* 窄屏顶部条：菜单按钮 + 当前直播间名称 + 返回列表（替代被隐藏的 .rtopbar） */
  .rnav-bar {
    display: flex; align-items: center; gap: 8px;
    position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 30;
    padding: 0 12px; box-sizing: border-box;
    background: #fff; border-bottom: 1px solid #e5e6eb;
  }
  .rnav-bar__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; margin-left: -4px;
    border: 0; border-radius: 6px; background: transparent; color: #1d2129;
    cursor: pointer; flex: 0 0 auto;
  }
  .rnav-bar__toggle:hover { background: #f2f3f5; }
  .rnav-bar__toggle:focus-visible { outline: 2px solid #165dff; outline-offset: 1px; }
  .rnav-bar__toggle svg { width: 22px; height: 22px; }
  .rnav-bar__room {
    flex: 1 1 auto; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 15px; font-weight: 500; color: #1d2129;
  }
  .rnav-bar__back {
    flex: 0 0 auto; font-size: 13px; color: #4e5969;
    text-decoration: none; white-space: nowrap;
  }
  .rnav-bar__back:hover { color: #165dff; text-decoration: none; }

  /* 抽屉本体：默认左移出屏，展开时滑入 */
  body.has-navrail .roomnav {
    display: block;
    position: fixed; top: 56px; bottom: 0; left: 0;
    width: 264px; max-width: 86vw; z-index: 29;
    padding: 12px 0 24px; box-sizing: border-box;
    background: #fff; border-right: 1px solid #e5e6eb;
    box-shadow: 2px 0 16px rgba(29, 33, 41, .14);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(-102%);
    transition: transform .22s ease;
  }
  body.has-navrail.rnav-open .roomnav { transform: translateX(0); }

  /* 遮罩：只在展开时出现，点击即收起 */
  .roomnav__scrim {
    display: block;
    position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 28;
    background: rgba(29, 33, 41, .35);
  }
  .roomnav__scrim[hidden] { display: none; }

  /* 内容区顶部留出固定条的高度，避免首个操作被顶栏压住 */
  body.has-navrail .app-main { padding-top: 56px; }

  /* 顶部页签条：窄屏可横向滚动，且粘在顶部条下方而不是视口顶端（否则会被顶栏盖住） */
  .tabbar {
    top: 56px; z-index: 9;
    gap: 20px; padding: 0 14px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .tabbar::-webkit-scrollbar { height: 0; }
  .tabbar__items { gap: 20px; flex-wrap: nowrap; }
  .tabbar__group { flex: 0 0 auto; }
  .tabbar__item { flex: 0 0 auto; }

  /* 窄屏子项：级联列在 ≤1100 按既有规则隐藏（v2.css:673），子项改由抽屉承接 */
  .roomnav__kids {
    display: block;
    margin: 8px 12px 0; padding-top: 8px;
    border-top: 1px solid #e5e6eb;
  }
  .roomnav__kidgroup {
    display: flex; align-items: center;
    height: 32px; padding: 0 10px;
    font-size: 12px; color: #a8abb2;
  }
  .roomnav__kid {
    display: flex; align-items: center;
    min-height: 40px; padding: 0 10px 0 18px;
    font-size: 14px; color: #4e5969; text-decoration: none;
    border-radius: 4px;
  }
  .roomnav__kid:hover { background: #f2f3f5; color: #165dff; text-decoration: none; }
  .roomnav__kid.active { color: #165dff; font-weight: 500; background: #e8f0fe; }
  .roomnav__kid.is-todo::after {
    content: "开发中"; margin-left: 6px; padding: 0 3px;
    font-size: 10px; line-height: 14px; color: #98a2b3;
    border: 1px solid #e4e8ef; border-radius: 3px;
  }
}

/* r195 入口治理：未开通功能统一置灰、不可点、明确标注（不新增功能、不做空壳页） */
.entry-off {
  display: inline-flex; align-items: center; gap: 5px;
  color: #98a2b3; cursor: pointer; text-decoration: none;
}
.entry-off em {
  font-style: normal; font-size: 11px; line-height: 1; padding: 2px 5px;
  color: #98a2b3; background: #f9fafb;
  border: 1px solid #e4e7ec; border-radius: 3px; white-space: nowrap;
}
.tabbar__extra.entry-off { opacity: .7; }
/* r2xx B1：功能设置右栏/基础信息死项统一置灰标注；禁用控件不参与提交 */
.sp-input.is-derived { background: #f9fafb; color: #475467; cursor: default; }
.fe-soon {
  font-style: normal; font-size: 11px; line-height: 1; padding: 2px 5px;
  color: #98a2b3; background: #f9fafb;
  border: 1px solid #e4e7ec; border-radius: 3px; margin-left: 6px;
}
.fe-side__static { color: #475467; }
/* r2xx B3：只读展示的当前值（如聊天背景的真实来源） */
.fe-static { color: #475467; font-size: 14px; }
.fe-ctrl input:disabled, .fe-ctrl select:disabled, .fe-ctrl textarea:disabled,
.bi-ctrl input:disabled, .bi-ctrl select:disabled {
  cursor: not-allowed; opacity: .65;
}

/* r199 死层页面标注 + 控制层「保存即生效」统一提示（只动呈现，不改交互逻辑） */
.nav-off {
  font-style: normal; font-size: 11px; line-height: 1; padding: 2px 5px;
  color: #98a2b3; background: #f9fafb;
  border: 1px solid #e4e7ec; border-radius: 3px; white-space: nowrap; margin-left: 6px;
}

/* B8：未开通入口改为「可点 + 点击说明」。不再用 not-allowed 光标暗示死控件，
   点击后由 off_entry.js 弹出统一轻提示（配色沿用 .dev-off，不新增视觉体系）。 */
.sidebar .side-item.is-disabled,
.sidebar .side-sub.is-disabled,
.cascade__item.is-disabled,
.roomnav__item.is-disabled,
.roomnav__kid.is-disabled,
.tabbar__item.is-disabled,
.rs-more.is-disabled,
.sc-help.is-disabled { cursor: pointer; }
.off-tip {
  position: fixed; left: 50%; top: 76px; transform: translateX(-50%) translateY(-6px);
  z-index: 9999; max-width: 70vw;
  padding: 10px 16px; border-radius: 6px;
  background: #fff7e6; border: 1px solid #ffe1a8; color: #8a5a00;
  font-size: 13px; line-height: 1.5; box-shadow: 0 6px 24px rgba(16,24,40,.12);
  opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
}
.off-tip.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.dev-off {
  margin: 0 0 14px; padding: 10px 14px;
  background: #fff7e6; border: 1px solid #ffe1a8; border-radius: 6px;
  color: #8a5a00; font-size: 13px; line-height: 1.6;
}
.live-hint {
  display: block; margin: 0 0 12px; padding: 6px 10px;
  background: #f2f6ff; border-left: 3px solid #165dff; border-radius: 4px;
  color: #165dff; font-size: 12.5px;
}

/* 后台广告弹窗：hidden 属性要能盖住 .ad-radio 的 display:flex */
.ad-radio[hidden] { display: none; }

/* 富文本「源代码」：整段粘贴 HTML，右侧沙箱预览（iframe sandbox="" 禁脚本） */
.we-modal-mask {
  position: fixed; inset: 0; z-index: 10000; padding: 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 24, 40, .45);
}
.we-modal {
  width: min(1100px, 96vw); height: min(760px, 90vh);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(16, 24, 40, .25);
}
.we-modal-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 15px;
}
.we-modal-head .muted { font-size: 12.5px; font-weight: 400; }
.we-modal-x {
  margin-left: auto; border: 0; background: transparent; cursor: pointer;
  font-size: 20px; line-height: 1; color: #8a94a6;
}
.we-modal-body { flex: 1; min-height: 0; display: flex; }
.we-src-text {
  flex: 1; min-width: 0; padding: 14px; resize: none; outline: none;
  border: 0; border-right: 1px solid var(--border); background: #fbfcfe;
  font: 13px/1.6 Consolas, Menlo, monospace; color: #1f2329;
  white-space: pre; tab-size: 2;
}
.we-src-preview { flex: 1; min-width: 0; padding: 12px; background: #f5f7fa; }
.we-src-preview iframe {
  width: 100%; height: 100%; background: #fff;
  border: 1px solid var(--border); border-radius: 6px;
}
.we-modal-foot {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-top: 1px solid var(--border); font-size: 12.5px;
}
.we-src-actions { margin-left: auto; display: flex; gap: 8px; }

/* 源代码模式的 TAB：编辑器收起，展示只读预览 */
.we-raw-panel { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; }
.we-raw-bar {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-bottom: 1px solid var(--border); background: #fafbfc; font-size: 12.5px;
}
.we-raw-ops { margin-left: auto; display: flex; gap: 8px; }
.we-raw-preview { display: block; width: 100%; height: 420px; border: 0; background: #fff; }

@media (max-width: 860px) {
  .we-modal-body { flex-direction: column; }
  .we-src-text { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--border); }
  .we-src-preview { min-height: 220px; }
}
