/* =============================================================
 *  网页版客户端（自营 · 网网百景 / 贴牌 · 智播助手）样式
 *  —— 设计令牌与组件语义，逐项对齐安卓 res/values/colors.xml
 *     + res/drawable/*.xml + design/app-prototype.html 的 :root。
 *     1 CSS px = 1 dp（安卓基线宽 393dp）。
 *  品牌主色 = 蓝（colors.xml 明确：品牌色是蓝，不是粉）。
 * ============================================================= */

:root {
  /* ---- 基础色 ---- */
  --ink: #111316;
  --gray: #8F959D;
  --hairline: #ECEEF1;
  --field: #F5F6F7;
  --accent: #171717;
  --pink: #FF4D6D;
  --pink-border: #FBD0DA;
  --pink-soft: #FFEEF2;
  --pink-deep: #F5325B;
  --cyan: #00B3A4;
  --cyan-txt: #00A295;
  --green: #22A06B;
  --white: #FFFFFF;
  --line: #E5E7EB;
  --amber: #FF9500;

  --bg-home: #F5F5F7;
  --bg-page: #FAFBFC;

  /* ---- 彩色图标底 ---- */
  /* 品牌蓝：全站唯一来源（改这一处，两站换色只改品牌包，不散落） */
  --blue: #2F6BFF;
  --brand-blue-2: #579BFF;   /* 渐变终点（进度条/进度填充） */
  --blue-ops: var(--blue);
  --violet: #7C5CFF;
  --orange: #E8861B;
  --orange-txt: #C2410C;
  --green-txt: var(--green);
  --icon-gray-bg: #E9ECEF;
  --icon-gray-txt: #6B7280;

  /* ---- 品牌蓝淡色与渐变 ---- */
  --brand-soft: #EAF1FF;
  --brand-soft2: #DBE8FF;
  --hero-soft-top: #EDF3FF;
  --hero-soft-mid: #F5F9FF;
  --hero-soft-end: #FBFCFE;
  --home-grad-top: #EAF2FF;
  --home-grad-mid: #F2F7FE;
  --home-grad-end: #F5F6F7;

  --danger-red: #E5484D;
  --ink-sub: #3A4149;
  --coins-bar-track: #EDF1F7;

  --switch-off: #D7DBE1;
  --step-done: var(--green);
  --slider-blue: var(--blue);

  /* 主按钮不再用渐变（2026-10-25 收敛为一种样式 = 品牌蓝实心） */
  --btn-hero-a: var(--blue);
  --btn-hero-c: var(--blue);

  --brand-douyin: #111111;
  --brand-kuaishou: #FF5B22;
  --brand-xhs: #FF2442;
  --brand-sph: var(--green);

  /* ---- 圆角（唯一一套：4 / 8 / 12 / 16 / 24，胶囊统一 999） ---- */
  --r-4: 4px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-24: 24px; --r-pill: 999px;
  /* ---- 字号：辅助文案统一 12px（W-17） ---- */
  --fs-aux: 12px;
  --btn-h: 50px; --field-h: 48px; --bottab-h: 64px;
  --page-pad: 16px; --page-top: calc(54px + env(safe-area-inset-top));
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #e9ebf0;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; }
input, textarea { outline: none; border: none; background: transparent; }

/* ============ 手机外壳（桌面预览时居中成手机；真机全屏） ============ */
#phone {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  background: var(--bg-page);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 520px) and (min-height: 760px) {
  body { display: flex; align-items: center; justify-content: center; padding: 20px; }
  #phone {
    height: min(860px, calc(100vh - 40px));
    border-radius: var(--r-24);
    border: 10px solid #1d1f24;
    box-shadow: 0 30px 60px rgba(0,0,0,.28);
  }
}

/* ============ 页面宿主 ============ */
#pageHost { position: relative; flex: 1; min-height: 0; }
.page { position: absolute; inset: 0; display: none; flex-direction: column; background: var(--bg-page); }
.page.on { display: flex; }

.scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.scroll.pad-tab { padding-bottom: 88px; }
.pad-side { padding-left: var(--page-pad); padding-right: var(--page-pad); }

/* 页头（返回 + 标题） */
.pagehead {
  display: flex; align-items: center;
  padding: var(--page-top) var(--page-pad) 10px;
  flex-shrink: 0;
}
.pagehead.plain { padding-top: var(--page-top); }
.pagehead .tt { font-size: 16px; font-weight: 700; color: var(--ink); }
.back {
  width: 30px; height: 30px; border-radius: var(--r-12);
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: #555; font-size: 14px; flex-shrink: 0;
}
.pagehead .tt.ml { margin-left: 11px; }

/* ============ 底部导航 ============ */
#bottab {
  display: none; flex-shrink: 0;
  border-top: 1px solid var(--hairline); background: #fff;
  padding-bottom: env(safe-area-inset-bottom);
}
#bottab.on { display: flex; }
#bottab .tab {
  flex: 1; height: var(--bottab-h);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--gray); position: relative;
}
#bottab .tab .ic { width: 22px; height: 16px; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
#bottab .tab .tx { font-size: var(--fs-aux); }
#bottab .tab.on { color: var(--blue); }
#bottab .tab .dot {
  position: absolute; top: 12px; left: 50%; margin-left: 6px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--danger-red); display: none;
}
#bottab .tab.has-dot .dot { display: block; }

/* ============ 卡片 ============ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); }
.card13 { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-12); }
.card14 { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); }
.card + .card, .card14 + .card14, .card13 + .card13 { margin-top: 10px; }
.mt10 { margin-top: 10px; } .mt14 { margin-top: 14px; } .mt12 { margin-top: 12px; }

/* 列表行 */
.row { display: flex; align-items: center; gap: 11px; padding: 15px; cursor: pointer; }
.row + .row, .row-split { border-top: 1px solid var(--hairline); }
.row .ic9 { flex-shrink: 0; }
.row .main { flex: 1; min-width: 0; }
.row .t { font-size: 13.5px; font-weight: 700; color: #2B2F36; }
.row .d { font-size: var(--fs-aux); color: var(--gray); margin-top: 2px; }
.row .d.one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .go { width: 16px; height: 16px; flex-shrink: 0; color: #C9CDD4; font-size: 15px; }
.row .dot-red { width: 8px; height: 8px; border-radius: 50%; background: var(--danger-red); flex-shrink: 0; }
.row .st2 { margin-left: auto; font-size: var(--fs-aux); color: var(--gray); flex-shrink: 0; }
.row .st2.ok { color: var(--green); font-weight: 600; }
.row .st2.warn { color: var(--orange-txt); font-weight: 600; }

/* 图标底（bg_ic9 + tint） */
.ic9 {
  width: 30px; height: 30px; border-radius: var(--r-12);
  background: var(--field);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; flex-shrink: 0;
}
.ic9.lg { width: 32px; height: 32px; }
.ic9.blue { background: var(--blue); }
.ic9.blue-ops { background: var(--blue-ops); }
.ic9.green { background: var(--green); }
.ic9.violet { background: var(--violet); }
.ic9.orange { background: var(--orange); }
.ic9.pink { background: var(--pink); }
.ic9.soft { background: var(--brand-soft); color: var(--blue); }
.ic9.grayic { background: var(--icon-gray-bg); color: var(--icon-gray-txt); }

/* 分组小标题 */
.sec-title { font-size: var(--fs-aux); font-weight: 700; color: var(--gray); padding: 14px 2px 8px; letter-spacing: .04em; }

/* ============ 按钮 ============ */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); border-radius: var(--r-16);
  font-size: 15px; font-weight: 700; color: #fff; width: 100%;
  transition: transform .12s, opacity .12s;
}
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
/* 渠道关闭在线充值（selfPay=false）：底部按钮灰底灰字，与 App 一致；
   原来的 opacity .55 会让淡蓝按钮看着还能点。 */
#rcPayBtn.disabled, #rcPayBtn[disabled] {
  background: #EEF0F4;
  background-image: none;
  color: var(--gray);
  opacity: 1;
  box-shadow: none;
  border-color: transparent;
}
/* 主按钮全站只一种：品牌蓝实心（设计规范 2.1：主=品牌蓝 / 次=#F2F4F7 / 危险=#E5484D） */
.btn.brand { background: var(--blue); }
.btn.danger { background: var(--danger-red); color: #fff; }
.btn.dark { background: var(--blue); }   /* 旧类名保留，视觉已并入品牌蓝 */
.btn.pink { background: var(--pink); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
.btn.hero {
  background: var(--blue);
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(47,107,255,.28);
}
.btn.sm { height: auto; padding: 8px 13px; font-size: var(--fs-aux); border-radius: var(--r-12); width: auto; font-weight: 600; }
.btn.xs { height: auto; padding: 6px 11px; font-size: var(--fs-aux); border-radius: var(--r-12); width: auto; font-weight: 600; }
.btn.block + .btn.block { margin-top: 8px; }

/* ============ 输入 ============ */
.field {
  background: var(--field); border-radius: var(--r-12);
  padding: 14px 16px; display: flex; align-items: center; gap: 10px;
  font-size: 15px; min-height: var(--field-h);
}
.field.line { border: 1px solid var(--hairline); }
.field input { flex: 1; min-width: 0; color: var(--ink); }
.field input::placeholder, textarea::placeholder { color: var(--gray); }

/* 🔴 iOS 专属坑：可输入控件字号 < 16px 时，**聚焦会整页自动放大**
   （Safari 出于无障碍考虑会忽略 viewport 里的 maximum-scale，
   所以光靠 <meta viewport> 挡不住）。
   这里在触屏设备上统一兜到 16px —— 桌面浏览器（pointer: fine）不受影响，
   不影响本机预览的视觉。 */
@media (pointer: coarse) {
  input, textarea, select { font-size: 16px; }
}
textarea.ta {
  width: 100%; background: var(--field); border-radius: var(--r-12);
  padding: 14px; font-size: 13.5px; line-height: 1.7; resize: none; min-height: 150px;
  border: 1px solid var(--hairline);
}
textarea.ta.white { background: #fff; }
.od-in {
  background: var(--field); border: 1px solid var(--hairline);
  border-radius: var(--r-8); padding: 6px 8px; font-size: var(--fs-aux); min-width: 0;
}

/* ============ chip ============ */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--field); border: 1px solid var(--hairline); color: var(--ink);
  border-radius: var(--r-pill); padding: 6px 13px; font-size: var(--fs-aux); cursor: pointer;
}
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.red { background: var(--pink); color: #fff; border-color: var(--pink); }
.chip.soft.on { background: var(--brand-soft); color: var(--blue); border-color: #CFE0FF; }
.chip.gray { color: var(--gray); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============ 徽标 ============ */
.badge { display: inline-flex; align-items: center; font-size: var(--fs-aux); font-weight: 600; border-radius: var(--r-8); padding: 2px 7px; }
.badge.cy { background: rgba(0,179,164,.14); color: var(--cyan-txt); }
.badge.gray { background: var(--field); color: var(--gray); }
.badge.gok { background: #E6F7EF; color: var(--green); }
.badge.pink { background: var(--pink); color: #fff; }
.badge.am { background: #FFF3E6; color: var(--orange-txt); }
.badge.blue { background: var(--brand-soft); color: var(--blue); }

/* ============ 开关（SvSwitch） ============ */
.switch {
  width: 40px; height: 23px; border-radius: var(--r-pill); background: var(--switch-off);
  position: relative; flex-shrink: 0; cursor: pointer; transition: background .2s;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px;
  border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.22);
}
.switch.on { background: var(--blue); }
.switch.on::after { left: 19px; }

/* ============ 双滑块区间（SvRangeSlider） ============ */
.range-wrap { position: relative; height: 44px; display: flex; align-items: center; }
.range-wrap input[type=range] {
  position: absolute; left: 0; right: 0; width: 100%; height: 44px;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; margin: 0;
}
.range-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 2px solid var(--blue); box-shadow: 0 1px 4px rgba(17,19,22,.22);
  pointer-events: auto; cursor: pointer;
}
.range-rail { position: absolute; left: 11px; right: 11px; height: 4px; border-radius: var(--r-4); background: var(--line); }
.range-fill { position: absolute; height: 4px; border-radius: var(--r-4); background: var(--blue); }
.range-val { font-size: 14px; font-weight: 700; color: var(--blue); background: var(--field); border: 1px solid var(--hairline); border-radius: var(--r-8); padding: 4px 8px; }
.range-minmax { display: flex; justify-content: space-between; font-size: var(--fs-aux); color: var(--gray); }
.vr-sub { font-size: var(--fs-aux); color: var(--gray); margin-top: 8px; line-height: 1.6; }

/* ============ Toast ============ */
/* ============ Toast（设计规范 2.2：深色胶囊 / 高 40 / 左右 16 / 最大 300 / 距底 110） ============ */
#toastView {
  position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 12px);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: max-content; max-width: min(300px, 82%);
  min-height: 40px; padding: 8px 16px;
  background: rgba(17,19,22,.92); color: #fff; font-size: var(--fs-aux); line-height: 1.4;
  border-radius: var(--r-16); text-align: center;
  opacity: 0; pointer-events: none; transition: .22s; z-index: 210;
}
#toastView.show { opacity: 1; transform: translate(-50%, 0); }
#toastView .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--green); }
#toastView.err .dot { background: #E5484D; }
#toastView.plain .dot { display: none; }

/* ============ 弹窗（设计规范 2.1：宽 320 / 圆角 16 / 内边距 20 / 遮罩 .45） ============ */
.sv-mask {
  position: absolute; inset: 0; z-index: 200; background: rgba(17,19,22,.45);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.sv-dialog {
  width: 320px; max-width: 100%; background: #fff; border-radius: var(--r-16); padding: 20px;
  box-shadow: 0 18px 44px rgba(17,19,22,.24);
}
.sv-dialog-title { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.sv-dialog-body { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #4A5158; white-space: pre-line; }
.sv-dialog-note { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--danger-red); white-space: pre-line; }
.sv-dialog-btns { display: flex; gap: 10px; margin-top: 20px; }
.sv-btn {
  flex: 1; height: 44px; border: 0; border-radius: var(--r-12); font-family: inherit;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.sv-btn.primary { background: var(--blue); color: #FFF; }
.sv-btn.secondary { background: #F2F4F7; color: #4A5158; }
.sv-btn.danger { background: var(--danger-red); color: #FFF; }
.sv-btn:active { opacity: .86; }

/* ============ 进度条（设计规范 2.3：高 6 / 圆角 3 / 轨道 #EDF1F7 / 品牌蓝渐变） ============ */
.sv-bar { height: 6px; border-radius: var(--r-4); background: #EDF1F7; overflow: hidden; }
.sv-bar > i { display: block; height: 100%; border-radius: var(--r-4); background: linear-gradient(90deg, var(--blue), var(--brand-blue-2)); }
.sv-bar.indeterminate {
  background: repeating-linear-gradient(90deg, var(--blue) 0 14px, rgba(47,107,255,.22) 14px 28px);
  background-size: 28px 100%; animation: svBarMove .7s linear infinite;
}
@keyframes svBarMove { from { background-position: 0 0; } to { background-position: 28px 0; } }

/* ============ 空态 / 提示条 ============ */
.empty { padding: 26px 14px; text-align: center; font-size: var(--fs-aux); color: var(--gray); line-height: 1.7; }
.notice-warn {
  background: #FDECEF; border: 1px solid #F5C2CB; border-radius: var(--r-12);
  padding: 10px 13px; font-size: var(--fs-aux); color: #C0392B; line-height: 1.6;
}
.hint-line { font-size: var(--fs-aux); color: var(--gray); line-height: 1.7; padding: 10px 2px 2px; }

/* 帮助与反馈（对齐 page_help.xml 的 12sp 标签 / 12.5sp 正文） */
.help-label { font-size: var(--fs-aux); color: var(--gray); }
.help-text { font-size: var(--fs-aux); color: #4A5158; line-height: 1.9; white-space: pre-wrap; }
.muted { color: var(--gray); }
.small { font-size: var(--fs-aux); }
.tiny { font-size: var(--fs-aux); line-height: 1.7; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ============ 首页 ============ */
#pg-home { background: linear-gradient(180deg, var(--home-grad-top) 0%, var(--home-grad-mid) 46%, var(--home-grad-end) 100%); }
.home-top { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: calc(20px + env(safe-area-inset-top)) var(--page-pad) 0; }
.home-room-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #E7ECF3; border-radius: var(--r-pill);
  padding: 8px 12px 8px 11px; box-shadow: 0 2px 6px rgba(17,19,22,.06); max-width: 72%;
}
/* 手动刷新（2026-11-03）：网页版「停播后进程没退出、后台唤醒没刷新」的兜底入口。
   常驻在右上角、与「切换直播间」同排，尺寸对齐 40px 触控区，避免误触。 */
.home-refresh {
  position: relative; flex: 0 0 auto;
  width: 38px; height: 38px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #E7ECF3; border-radius: 50%;
  color: var(--blue); box-shadow: 0 2px 6px rgba(17,19,22,.06);
  -webkit-tap-highlight-color: transparent;
}
.home-refresh:active { transform: scale(.94); }
.home-refresh .newdot {
  display: none; position: absolute; top: 3px; right: 3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #F5483B; border: 1.5px solid #fff;
}
.home-refresh.has-new .newdot { display: block; }
.home-room-chip .nm { font-size: var(--fs-aux); font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.home-room-chip .sw { color: var(--blue); font-size: var(--fs-aux); }
.home-room-chip .cv { color: #9AA6B4; font-size: var(--fs-aux); }
.home-body { flex: 1; display: flex; flex-direction: column; padding: 0 var(--page-pad) 84px; }
.home-sp1 { flex: 1.15; }
.home-sp2 { flex: 1; }
/* 品牌块：页面内只放横排字标（2026-10-17 需求方口径：图标仅用于 App 图标，页面里不展示）。
   字标宽高比 2.93:1 ⇒ 220px 宽约 75px 高，比旧版 7:1 的长条更高，弹性空白会自动让位。 */
.home-logo { width: 220px; max-width: 70%; margin: 0 auto; display: block; }
.home-state { text-align: center; font-size: 38px; font-weight: 700; color: var(--ink); margin-top: 30px; }
.home-state.breathe { animation: breathe 2.4s ease-in-out infinite; }
.home-state.ok { color: var(--green); }
.home-state.live { color: var(--pink); }
@keyframes breathe { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* ============ 登录 ============ */
#pg-login { background: #fff; }
.login-wrap { padding: calc(64px + env(safe-area-inset-top)) 30px 30px; }
.login-logo { width: 150px; margin: 0 auto; display: block; }
.login-title { text-align: center; font-size: 24px; font-weight: 700; margin-top: 18px; margin-bottom: 30px; }
.login-remember { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 16px; font-size: var(--fs-aux); color: var(--gray); }
.ckbox {
  width: 17px; height: 17px; border-radius: var(--r-8); border: 1.5px solid #C2C7CF;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: var(--fs-aux); margin-right: 6px; flex-shrink: 0;
}
.ckbox.on { background: var(--accent); border-color: var(--accent); }

/* ============ 配置页 ============ */
.pg-head { display: flex; align-items: center; justify-content: space-between; padding: var(--page-top) var(--page-pad) 10px; flex-shrink: 0; }
.pg-head .tt { font-size: 16px; font-weight: 700; }
.room-pill { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); padding: 6px 12px; font-size: var(--fs-aux); color: var(--ink); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 开播前检查 */
.setup-done { display: flex; align-items: center; gap: 11px; height: 52px; padding: 0 14px; color: var(--blue); font-weight: 700; font-size: 14px; cursor: pointer; }
.setup-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; }
.setup-head .t { flex: 1; font-size: 14px; font-weight: 700; }
.setup-head .cnt { font-size: var(--fs-aux); color: var(--gray); }
.setup-head .tg { font-size: var(--fs-aux); color: var(--blue); cursor: pointer; }
.setup-hint { padding: 0 14px 10px; font-size: var(--fs-aux); color: var(--gray); }
.step {
  display: flex; align-items: center; gap: 11px; height: 48px;
  padding: 0 12px 0 14px; cursor: pointer;
}
.step + .step { border-top: 1px solid var(--hairline); margin-left: 29px; padding-left: 14px; }
.step .num {
  width: 18px; height: 18px; border-radius: 50%; background: var(--field);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-aux); font-weight: 700; color: var(--gray); flex-shrink: 0;
}
.step.done .num { background: var(--step-done); color: #fff; }
/* 当前该做的那一行：序号徽标蓝底白字（对齐安卓 bg_step_num_now） */
.step .num.now { background: var(--blue); color: #fff; }
.step .nm { flex: 1; font-size: 14px; color: var(--ink); }
/* 未完成项的项目名用 warn 橙（对齐安卓：done→ink / todo→orange_txt） */
.step .nm.warn { color: var(--orange-txt); }
.step .st { font-size: var(--fs-aux); color: var(--gray); }
.step.done .st { color: var(--green); }
.step .hint { font-size: var(--fs-aux); color: var(--blue); }
.step .go { width: 16px; height: 16px; color: #C9CDD4; font-size: 15px; }

/* ============ 通用列表容器 ============ */
.list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); overflow: hidden; }
.list.flat { border-radius: var(--r-16); }
.inner-pad { padding: 12px; }
.ops-group { margin-top: 10px; }

/* ============ 我的 ============ */
#pg-my { background: var(--field); }
.my-hero {
  padding: calc(38px + env(safe-area-inset-top)) 20px 0;
  height: calc(174px + env(safe-area-inset-top));
  background: linear-gradient(180deg, var(--hero-soft-top) 0%, var(--hero-soft-mid) 55%, var(--hero-soft-end) 100%);
  display: flex; gap: 14px; align-items: flex-start;
}
.my-ava {
  width: 60px; height: 60px; border-radius: var(--r-16); background: var(--brand-soft);
  border: 1px solid #DCE8FF; display: flex; align-items: center; justify-content: center;
  font-size: 23px; font-weight: 700; color: var(--blue); flex-shrink: 0;
}
.my-name { font-size: 18px; font-weight: 700; }
.my-member { font-size: var(--fs-aux); color: var(--gray); margin-top: 5px; }
.my-coins { margin: -36px 16px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); position: relative; }
.my-coins .top { display: flex; align-items: center; padding: 15px 16px 13px; }
.my-coins .k { font-size: var(--fs-aux); color: var(--gray); }
.my-coins .v { font-size: 28px; font-weight: 700; margin-top: 3px; }
.my-coins .charge { background: var(--blue); color: #fff; border-radius: var(--r-pill); padding: 9px 18px; font-size: var(--fs-aux); font-weight: 700; }
.my-bar { height: 6px; border-radius: var(--r-4); background: var(--coins-bar-track); overflow: hidden; }
.my-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--brand-blue-2)); border-radius: var(--r-4); }
.grid4 { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); margin: 14px 16px 0; }
.grid4 .cell { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 19px 0 17px; cursor: pointer; }
.grid4 .cell .gi { width: 46px; height: 46px; border-radius: var(--r-16); background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.grid4 .cell .gt { font-size: var(--fs-aux); color: var(--ink-sub); margin-top: 9px; }
.grid4 .sep { width: 1px; height: 46px; background: #F4F6F8; margin-top: 24px; }
.my-logout { margin: 14px 16px 0; height: 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--danger-red); }
.my-version { text-align: center; font-size: var(--fs-aux); color: #B7BDC6; letter-spacing: .12em; padding: 22px 0 28px; }

/* ============ 历史 / 流水 ============ */
.his-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); padding: 13px 14px; margin-top: 10px; }
.his-card .top { display: flex; align-items: center; justify-content: space-between; }
.his-card .nm { font-size: 13.5px; font-weight: 600; }
.his-card .meta { font-size: var(--fs-aux); color: var(--gray); margin-top: 5px; display: flex; gap: 12px; }
.his-card .nums { display: flex; margin-top: 10px; border-top: 1px solid var(--hairline); padding-top: 10px; }
.his-card .nums .n { flex: 1; text-align: center; }
.his-card .nums .v { font-size: 14px; font-weight: 700; }
.his-card .nums .k { font-size: var(--fs-aux); color: var(--gray); margin-top: 2px; }
/* 复盘每条弹幕下的 AI 回答行（2026-11-05，对齐 App vc74 三态） */
.rv-ans { margin-top: 5px; font-size: var(--fs-aux); line-height: 1.6; color: var(--ink-sub); word-break: break-word; }
.rv-ans.muted { color: var(--gray); }
.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.flow-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.flow-item:first-child { border-top: none; }
.flow-item .ic { width: 30px; height: 30px; border-radius: var(--r-12); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.flow-item .main { flex: 1; min-width: 0; }
.flow-item .t { font-size: var(--fs-aux); color: var(--ink); }
.flow-item .d { font-size: var(--fs-aux); color: var(--gray); margin-top: 2px; }
.flow-item .amt { font-size: 14px; font-weight: 700; }
.amt.plus { color: var(--green); }
.amt.minus { color: var(--ink); }

/* ============ 充值 ============ */
.pay-methods { display: flex; gap: 10px; }
.pay-m { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-16); font-size: var(--fs-aux); }
.pay-m.on { border-color: var(--blue); background: var(--brand-soft); color: var(--blue); font-weight: 600; }

/* ============ 教程 ============ */
.tu-head { padding: 64px 20px 16px; }
.tu-title { font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.tu-sub { font-size: var(--fs-aux); color: var(--gray); margin-top: 4px; }
.tu-step { background: #fff; margin: 12px 16px 0; border: 1px solid var(--line); border-radius: var(--r-16); padding: 15px 16px; display: flex; gap: 12px; }
.tu-step .num { width: 26px; height: 26px; border-radius: var(--r-12); background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: var(--fs-aux); font-weight: 700; flex-shrink: 0; }
.tu-step .nm { font-size: 13.5px; font-weight: 600; }
.tu-step .ds { font-size: var(--fs-aux); color: var(--gray); margin-top: 3px; line-height: 1.6; }
.tu-faq { margin-top: 14px; padding: 0 16px 90px; }
.tu-faq .ft { font-size: var(--fs-aux); color: var(--gray); font-weight: 700; margin-bottom: 8px; padding-top: 6px; }
.tu-faq .fc { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-12); padding: 12px 14px; margin-bottom: 8px; font-size: var(--fs-aux); line-height: 1.7; }
.tu-faq .fc b { display: block; margin-bottom: 4px; }

/* ============ 弹幕 / 对话（内联展示，非弹窗） ============ */
.dm-feed { display: flex; flex-direction: column; gap: 9px; }
.dm-pair { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); padding: 12px; }
.dm-pair .q { display: flex; gap: 8px; align-items: flex-start; }
.dm-pair .q .ava { width: 26px; height: 26px; border-radius: 50%; background: var(--field); display: flex; align-items: center; justify-content: center; font-size: var(--fs-aux); color: var(--gray); flex-shrink: 0; }
.dm-pair .q p { font-size: var(--fs-aux); color: #333; line-height: 1.5; flex: 1; }
.dm-pair .time { font-size: var(--fs-aux); color: #C2C7CF; flex-shrink: 0; }
.dm-pair .a { margin-top: 9px; background: rgba(0,179,164,.08); border: 1px solid rgba(0,179,164,.25); border-radius: var(--r-12); padding: 9px 11px; display: flex; gap: 8px; font-size: var(--fs-aux); color: var(--green-txt); line-height: 1.5; }
.dm-pair .a .badge { background: var(--pink); color: #fff; flex-shrink: 0; align-self: flex-start; }
.live-now {
  background: rgba(0,179,164,.10); border: 1px solid rgba(0,179,164,.30);
  border-radius: var(--r-16); padding: 11px 13px; font-size: var(--fs-aux); color: var(--green-txt); line-height: 1.6;
  display: flex; gap: 9px; align-items: flex-start;
}
.live-now .badge { background: var(--cyan); color: #fff; flex-shrink: 0; }

/* 诊断（内联折叠） */
details.diag { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); margin-top: 10px; }
details.diag > summary { padding: 14px; font-size: var(--fs-aux); font-weight: 600; cursor: pointer; list-style: none; }
details.diag > summary::-webkit-details-marker { display: none; }
details.diag > summary::after { content: "▾"; float: right; color: var(--gray); }
details.diag[open] > summary::after { content: "▴"; }
details.diag .body { padding: 0 14px 14px; }
.kv { font-size: var(--fs-aux); color: var(--gray); line-height: 1.9; }
.kv b { color: var(--ink); font-weight: 600; }
.log {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: var(--fs-aux); line-height: 1.7;
  color: #444; max-height: 220px; overflow-y: auto; white-space: pre-wrap; word-break: break-all;
}

/* ============ 知识库 ============ */
.kb-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--hairline); }
.kb-item .q { flex: 1; font-size: var(--fs-aux); line-height: 1.6; }
.kb-item .q b { color: var(--ink); }
.kb-item .q .a { color: var(--gray); margin-top: 3px; }
.kb-upload { border: 1.5px dashed var(--line); border-radius: var(--r-12); padding: 16px; text-align: center; font-size: var(--fs-aux); color: var(--gray); cursor: pointer; }
.kb-upload b { color: var(--ink); }
.kb-upload.disabled { opacity: .5; }

/* 文档导入预览（2026-11-04）：一条一卡、默认勾选、标记黄色 */
.kb-imp { padding: 10px 12px; margin-top: 8px; border: 1px solid var(--hairline); border-radius: var(--r-12); }
.kb-imp.off { opacity: .55; }
.kb-imp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kb-imp-head input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.kb-imp-no { font-size: var(--fs-aux); color: var(--gray); }
.kb-warn { font-size: 11px; font-weight: 600; color: #B26A00; background: #FFF4D6; border-radius: 6px; padding: 2px 6px; }
.kb-imp-q { width: 100%; margin-top: 8px; padding: 9px 10px; font-size: var(--fs-aux); }
/* 覆盖全局 textarea.ta 的 min-height:150px（预览一条一行，不该每条占大半屏） */
textarea.kb-imp-a { width: 100%; margin-top: 8px; min-height: 64px; }

/* 商品信息页 markdown 预览 */
.md-preview { background: var(--field); border-radius: var(--r-12); padding: 12px; font-size: var(--fs-aux); line-height: 1.7; color: var(--ink-sub); white-space: pre-wrap; word-break: break-word; }

/* ============ 主播设置：音色（触发行 → 底部弹层「选择音色」） ============ */
/* 分段 tab 的视觉语言（直播中页 .live-tabs 沿用） */
.voice-tabs { display: flex; gap: 6px; margin-top: 10px; background: var(--field); border-radius: var(--r-pill); padding: 3px; }
.voice-tabs .vt { flex: 1; border: 0; background: transparent; border-radius: var(--r-pill); padding: 7px 0; font-size: var(--fs-aux); color: var(--gray); font-family: inherit; cursor: pointer; }
.voice-tabs .vt.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 2px 6px rgba(17,19,22,.08); }

/* 触发行：整行可点 → 打开「选择音色」弹层（对齐 App page_voice.xml voiceDropToggle） */
.voice-pick-row { display: flex; align-items: center; gap: 10px; padding: 13px 14px; min-height: 58px; cursor: pointer; border-radius: var(--r-12); }
.voice-pick-row:active { background: var(--field); }
.voice-pick-main { flex: 1; min-width: 0; }
.voice-pick-label { font-size: var(--fs-aux); color: var(--gray); line-height: 1.4; }
.voice-pick-cur { margin-top: 3px; font-size: 15px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-pick-go { flex-shrink: 0; font-size: var(--fs-aux); font-weight: 600; color: var(--blue); }

/* 弹层内的音色列表：选中态 = soft 底 + #CFE0FF 边 + 蓝字（同 App bg_chip_on） */
.voice-list { margin-top: 8px; }
.voice-item { display: flex; align-items: center; gap: 10px; padding: 11px 10px 11px 12px; margin-bottom: 6px; border: 1px solid transparent; border-radius: var(--r-12); cursor: pointer; }
.voice-item:hover { background: var(--field); }
.voice-item.on { background: var(--brand-soft); border-color: #CFE0FF; }
.voice-item-main { flex: 1; min-width: 0; }
.voice-item .n { font-size: 14px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-item.on .n { color: var(--blue); }
.voice-item .sub { margin-top: 2px; font-size: 11.5px; line-height: 1.5; color: var(--gray); }
.voice-item .voice-audition { flex-shrink: 0; height: 30px; padding: 0 12px; font-size: var(--fs-aux); }

/* ============ 上传录音 · 定制专属音色（对齐 App page_voice 页首训练卡） ============ */
.vt-card { padding: 12px; }
.vt-head { display: flex; align-items: center; gap: 9px; }
.vt-ico {
  width: 28px; height: 28px; border-radius: 9px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.vt-head-main { flex: 1; min-width: 0; }
.vt-title-row { display: flex; align-items: center; gap: 6px; }
.vt-title { font-size: 13.5px; font-weight: 700; }
.vt-sub { margin-top: 2px; }
.vt-pick {
  display: flex; align-items: center; gap: 8px; margin-top: 9px; padding: 9px 11px;
  border: 1px dashed #C9D3E3; border-radius: var(--r-12); cursor: pointer;
}
.vt-pick:active { background: var(--field); }
.vt-pick-label { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--blue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-pick-hint { font-size: 11.5px; color: var(--gray); flex-shrink: 0; }
.vt-file { flex: 1; min-width: 0; font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-meta { font-size: 11.5px; color: var(--gray); flex-shrink: 0; }
.vt-clear { font-size: 11.5px; color: var(--blue); flex-shrink: 0; padding: 4px 2px; }
.vt-name {
  width: 100%; box-sizing: border-box; margin-top: 9px; padding: 10px;
  background: var(--field); border: 1px solid var(--hairline); border-radius: var(--r-12);
  font-size: 13px; font-family: inherit; color: var(--ink);
}
.vt-status {
  margin-top: 8px; padding: 9px 10px; background: var(--field); border-radius: var(--r-12);
  font-size: 12px; line-height: 1.6; color: var(--ink-sub); word-break: break-all;
}
.vt-status.err { color: var(--orange-txt); }
.vt-actions { display: flex; align-items: center; gap: 12px; margin-top: 9px; }
.vt-actions .btn { flex: 1; }
.vt-req-toggle { font-size: 11.5px; color: var(--gray); cursor: pointer; flex-shrink: 0; padding: 6px 0; }
.vt-req { margin-top: 7px; line-height: 1.9; }
/* 弹层里的「训练中」占位行（不可点） */
.voice-item.pending { cursor: default; }
.voice-item.pending .sub { color: var(--gray); }

/* ============ 底部弹层（选择音色等，对齐 App showVoicePicker） ============ */
.sheet-mask { align-items: flex-end; padding: 0; opacity: 0; transition: opacity .2s; }
.sheet-mask.show { opacity: 1; }
.sv-sheet {
  width: 100%; max-height: 78%; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-16) var(--r-16) 0 0;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 36px rgba(17,19,22,.2);
  transform: translateY(100%); transition: transform .24s cubic-bezier(.32,.72,0,1);
}
.sheet-mask.show .sv-sheet { transform: translateY(0); }
.sv-sheet-head { display: flex; align-items: center; gap: 10px; }
.sv-sheet-title { flex: 1; font-size: 17px; font-weight: 700; color: var(--ink); }
.sv-sheet-x { width: 32px; height: 32px; border: 0; background: transparent; color: #888; font-size: 17px; line-height: 1; padding: 0; font-family: inherit; cursor: pointer; }
.sv-sheet-body { flex: 1; min-height: 0; overflow-y: auto; margin-top: 2px; -webkit-overflow-scrolling: touch; }

/* ============ 开播中（直播页：播报实况 / 弹幕记录 两个 tab） ============ */
#pg-live { background: linear-gradient(180deg, #101216 0%, #181A20 55%, #0E1014 100%); color: #fff; }
#pg-live .pagehead .tt { color: #fff; }
/* 页头铺底色：整页滚动时避免内容从标题下面透出来 */
#pg-live .pagehead { background: #101216; }
#pg-live .back { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); color: #fff; }
.live-top { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 0; }
.live-room { font-size: var(--fs-aux); font-weight: 600; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5F6672; margin-right: 7px; }
/* 视频号：网页版不采集 —— 「开始监听」明确置灰（深色页里只降透明度还像能点） */
#btnDanmuStart[disabled] { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #6B7280; opacity: 1; }
.live-dot.on { background: var(--pink); box-shadow: 0 0 0 4px rgba(255,77,109,.25); animation: pulse 1.4s infinite; }
/* 正在开播（后端还没回 recordId）：琥珀呼吸点，不能是灰点，否则看着像「没开播」 */
.live-dot.starting { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,149,0,.22); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,77,109,.08); } }
.live-chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); padding: 6px 12px; font-size: var(--fs-aux); color: #E6E8EB; }

/* 分段 tab（深色版，视觉语言同主播设置的 .voice-tabs） */
.live-tabs { display: flex; gap: 6px; margin-top: 12px; background: rgba(255,255,255,.06); border-radius: var(--r-pill); padding: 3px; }
.live-tabs .lvt { flex: 1; border: 0; background: transparent; border-radius: var(--r-pill); padding: 8px 0; font-size: var(--fs-aux); color: #9AA1AB; font-family: inherit; cursor: pointer; }
.live-tabs .lvt.on { background: rgba(255,255,255,.92); color: #101216; font-weight: 700; }
.live-panel { display: none; }
.live-panel.on { display: block; }

.live-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-16); padding: 14px; margin: 12px 0 0; }
.live-card .lt { font-size: var(--fs-aux); color: #9AA1AB; margin-bottom: 8px; }
.live-kv { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: var(--fs-aux); color: #9AA1AB; }
.live-kv:last-of-type { border-bottom: 0; }
.live-kv b { color: #fff; font-weight: 700; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-nowTxt { font-size: 13.5px; line-height: 1.6; color: #FFF; }
.live-stateTxt { font-size: var(--fs-aux); line-height: 1.6; color: #C6CBD2; }
.live-hint { margin-top: 10px; font-size: var(--fs-aux); line-height: 1.7; color: #FFB020; }
.live-in { width: 100%; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; padding: 10px 12px; }

/* 采集状态 */
.dm-state { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--fs-aux); color: #E8EAEE; margin-bottom: 10px; }
.dm-state-extra { color: #8B93A0; }
.dm-dot { width: 8px; height: 8px; border-radius: 50%; background: #5F6672; flex-shrink: 0; }
.dm-dot.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(34,160,107,.18); }
.dm-dot.bad { background: var(--danger-red); box-shadow: 0 0 0 4px rgba(229,72,77,.18); }
.dm-dot.warn { background: var(--amber); }
.dm-dot.busy { background: #9AA1AB; }
.dm-resolve { font-size: var(--fs-aux); line-height: 1.6; margin-top: 8px; }
.dm-resolve.ok { color: var(--green); }
.dm-resolve.err { color: #FF7A7D; }
.dm-resolve.busy { color: #9AA1AB; }
.dm-count { font-size: var(--fs-aux); color: #8B93A0; }

/* 三列：宽屏真三列，手机宽度逐行卡片（信息结构一致） */
.dmt-head { display: none; }
.dmt-body { display: flex; flex-direction: column; gap: 8px; }
.dmt-row { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-12); padding: 9px 11px; }
.dmt-row .c1 { display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-aux); color: #C7CCD4; }
.dmt-row .c1 .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.dmt-row .c1 .tm { color: #7A828E; }
.dmt-row .c2 { font-size: var(--fs-aux); color: #fff; line-height: 1.55; margin-top: 4px; word-break: break-word; }
.dmt-row .c3 { font-size: var(--fs-aux); color: #9AB4FF; line-height: 1.55; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(255,255,255,.1); word-break: break-word; }
.dmt-row .c3.none { color: #5F6672; border-top: 0; padding-top: 0; margin-top: 2px; }
/* 手机宽度下没有回复就不占行（宽屏保留空格，保证三列对齐） */
@media (max-width: 719px) {
  .dmt-row .c3.none { display: none; }
}
.dmt-row .c3 .ailabel { display: inline-block; margin-right: 5px; color: #6F8BE8; font-weight: 700; }
.dmt-row .ph { color: #5F6672; }

.dm-sys { margin-top: 10px; }
.dm-sys > summary { font-size: var(--fs-aux); color: #8B93A0; cursor: pointer; list-style: none; padding: 4px 0; }
.dm-sys > summary::-webkit-details-marker { display: none; }
.dm-sys > summary::after { content: "▾"; float: right; }
.dm-sys[open] > summary::after { content: "▴"; }
.dm-sys-body { margin-top: 6px; }
.dm-sys-row { font-size: var(--fs-aux); color: #8B93A0; line-height: 1.8; }
.dm-sys-row b { color: #C7CCD4; font-weight: 600; }
.dm-sys-row .tm { float: right; color: #6B7280; }

@media (min-width: 720px) {
  .dmt-head { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 12px; padding: 0 11px 6px; font-size: var(--fs-aux); color: #8B93A0; }
  .dmt-row { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 12px; align-items: start; }
  .dmt-row .c1 { flex-direction: column; align-items: flex-start; gap: 2px; }
  .dmt-row .c1 .nm { max-width: 100%; }
  .dmt-row .c2, .dmt-row .c3 { margin-top: 0; padding-top: 0; border-top: 0; }
  .dmt-row .c3 .ailabel { display: none; }
}

/* 底部操作条：两个 tab 都在 */
.live-ctrl { display: flex; gap: 10px; flex-shrink: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,16,20,.96); border-top: 1px solid rgba(255,255,255,.08); }
/* 底部「暂停 / 结束直播」按规范用 12px 圆角（高度仍 50px，色值不变）；只作用于这两颗按钮 */
.live-ctrl .btn { flex: 1; border-radius: var(--r-12); }
