/* ==========================================================================
 * chat.css — 聊天页样式（独立页面，整页深色基调）
 * 布局：顶部条 + 左视频区 / 右侧栏；≤980px 单列，视频优先。
 * ========================================================================== */
:root {
  --primary: #12B5CB;
  --primary2: #5B6BF5;
  --accent: #12B5CB;
  --ink: #141417;
  --radius: 16px;
  --bg: #141417;
  --panel: #1C1D22;
  --line: #2C2E36;
  --text: #F1F0F5;
  --soft: #9CA1AE;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body.chat {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; color: inherit; }
img, video, svg { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary2)); color: #fff;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18, 181, 203, .34); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); box-shadow: none; }
.btn--dark { background: #2A2C34; }
.btn--dark:hover { background: #34373F; box-shadow: none; }
.btn--sm { padding: 8px 15px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--icon { padding: 10px; border-radius: 12px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none; }
.btn.is-off { background: #3A3D46; }

/* ---------- 顶部条 ---------- */
.ctop {
  flex: none; display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; background: #0F1013; border-bottom: 1px solid var(--line);
}
.ctop .brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 19px; letter-spacing: -.03em; }
.ctop .brand img { height: 26px; width: auto; }
.ctop .brand span { background: linear-gradient(135deg, var(--primary), var(--primary2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ctop__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); margin-left: 8px; }
.ctop__live b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.ctop__live .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.ctop__right { margin-left: auto; display: flex; gap: 10px; align-items: center; min-width: 0; }

/* ---------- 主体 ----------
 * 两列一行 + 底部一行主播条：主播条固定在视口内，首屏即可见。
 * 桌面端整页不滚动，视频框自动吃掉剩余高度。 */
.cmain {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) 372px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px 22px; padding: 14px 22px 16px;
  width: 100%; max-width: 1400px; margin: 0 auto;
}

/* ---------- 视频区 ---------- */
.cstage {
  grid-column: 1; grid-row: 1; min-height: 0;
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); overflow: hidden;
}
.cstage__frame { position: relative; flex: none; aspect-ratio: 16/10; background: #07080B; overflow: hidden; }
@supports not (aspect-ratio: 1) { .cstage__frame { height: 460px; } }

/* 背景层：头像放大模糊后铺满整框，专门用来消化竖屏视频两侧的留白 */
.cstage__backdrop {
  position: absolute; inset: -10%; z-index: 0; display: none;
  background: center/cover no-repeat;
  filter: blur(42px) saturate(1.35) brightness(.72);
  transform: scale(1.08); pointer-events: none;
}
.cstage__backdrop.is-on { display: block; }

.cstage__remote, .cstage__local { position: absolute; inset: 0; width: 100%; height: 100%; }
/* contain：完整显示画面，绝不裁切放大（竖屏视频也不会被撑成大头照） */
.cstage__remote { z-index: 1; object-fit: contain; background: transparent; }
/* cover：把画面铺满并裁掉多余部分（后台可切换） */
.cstage__frame.is-cover .cstage__remote { object-fit: cover; }
.cstage__local {
  object-fit: cover; z-index: 3;
  width: 24%; height: 30%; inset: auto 14px 14px auto;
  border-radius: 12px; border: 2px solid rgba(255, 255, 255, .45);
  background: #000; box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
  transition: opacity .25s ease;
}
.cstage__local.is-hidden { opacity: 0; pointer-events: none; }

/* 自动播放被拦截时的兜底按钮 */
.cstage__tap {
  position: absolute; inset: 0; z-index: 5; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(7, 8, 11, .5); color: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.cstage__tap.is-on { display: flex; }
.cstage__tap svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--grad); box-sizing: content-box; }
.cstage__ph {
  position: absolute; inset: 0; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center; color: rgba(255, 255, 255, .55); font-size: 14px;
}
.cstage__ph img { width: 72px; height: 72px; border-radius: 50%; }
.cstage__ph svg { width: 52px; height: 52px; opacity: .7; }
.cstage__ph span { font-weight: 700; color: #fff; font-size: 15px; }

/* 匹配到的人：头像 + 昵称 + 国家 · 语言 */
.stage__who {
  position: absolute; left: 14px; top: 14px; z-index: 3; display: none;
  align-items: center; gap: 9px; max-width: calc(100% - 28px);
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(10, 12, 16, .62); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-size: 12.5px;
}
.stage__who.is-on { display: flex; }
.stage__who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: #2A2F3A; }
.stage__who .who__txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.stage__who .who__n { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__who .who__m { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cstage__overlay {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 30px;
  background: linear-gradient(180deg, rgba(8, 10, 14, .5), rgba(8, 10, 14, .9)); color: #fff;
}
.cstage__overlay h3 { font-size: clamp(20px, 2.6vw, 28px); }
.cstage__overlay p { color: rgba(255, 255, 255, .68); font-size: 14px; max-width: 46ch; }
.cstage__overlayBtn { margin-top: 4px; }
/* 「当前没有合适的人选」的结论图标 */
.cstage__none {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
}
.cstage__none svg { width: 28px; height: 28px; stroke: rgba(255, 255, 255, .8); }
.spinner {
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .16); border-top-color: var(--primary);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 筛选器 */
.cstage__filters {
  display: flex; gap: 10px; padding: 10px 14px; flex-wrap: wrap; flex: none;
  background: #17181D; border-top: 1px solid var(--line);
}
/* 国家筛选删除后只剩性别一项，让它撑满整行 —— 留半宽会在右边空出一块，
 * 视觉上像是本来还有第二个控件却没加载出来。 */
.cstage__filters label { flex: 1 1 100%; display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--soft); }
.cstage__filters select {
  background: #22242B; color: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 11px; font-size: 13.5px;
}
/* 标签行：文字 + 锁角标同行显示（label 是纵向 flex，靠它压回一行） */
.cfilter__cap { display: flex; align-items: center; min-width: 0; }
/* 未解锁的筛选器：挂一个「锁 + 价格」角标，一眼看出这项要用钻石 */
.cfilter__lock {
  flex: none;
  display: inline-flex; align-items: center; gap: 3px;
  margin-left: 6px; padding: 2px 7px 2px 5px;
  border-radius: 999px;
  background: rgba(245, 197, 68, .14);
  color: #F5C544;
  font-style: normal; font-size: 11px; font-weight: 800;
  vertical-align: middle;
}
.cfilter__lock svg { width: 11px; height: 11px; }
.cfilter__lock b { font-variant-numeric: tabular-nums; }

/* 控制条 */
.cstage__bar {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap; flex: none;
  padding: 11px 14px; background: #17181D; border-top: 1px solid var(--line);
}
.cstage__bar .btn { padding: 10px 16px; font-size: 13.5px; }
.cstage__status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--soft);
}
.cstage__status i { width: 8px; height: 8px; border-radius: 50%; background: #5A5F6B; }
.cstage__status.is-live i { background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.cstage__safety { flex: none; margin: 0; padding: 9px 14px; font-size: 11.5px; line-height: 1.5; color: #7A7F8C; background: #17181D; border-top: 1px solid var(--line); }

/* 匹配门禁提示条：视频区与筛选器之间。
 * 目的只有一个 —— **在用户点「开始」之前就把成本说清楚**。
 * 「点了才告知」会被当成诱导注册，投诉率极高。
 *
 * ⚠ 高度必须压住：**聊天页在窄屏是「整页不滚动」的**（视频框自适应剩余高度，
 *   主播条必须留在首屏）。这行多占 34px，主播条就被顶出屏幕了。
 *   所以用 26px 行高 + 6px 上下内边距，且 margin-bottom 只给 8px。 */
.cstage__gate {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0 0 8px; padding: 5px 14px; border-radius: 999px;
  background: rgba(18, 181, 203, .1); border: 1px solid rgba(18, 181, 203, .26);
  color: #CFE9F2; font-size: 12.5px; font-weight: 600; line-height: 26px;
  text-align: center; min-height: 0;
}
.cstage__gate[hidden] { display: none; }
.cstage__gate svg { width: 13px; height: 13px; flex: none; color: #6FE3F5; }
@media (max-width: 768px) { .cstage__gate { font-size: 12px; padding: 4px 11px; margin-bottom: 6px; } }


/* ---------- 侧栏 ---------- */
.cside { grid-column: 2; grid-row: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.cside__intro, .cmsg {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 16px;
}
.cside__intro { flex: none; }
.cside__intro h1 { font-size: 20px; letter-spacing: -.02em; }
.cside__intro p { margin-top: 6px; color: var(--soft); font-size: 13.5px; }
.ctips { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ctips li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--soft); }
.ctips svg { width: 16px; height: 16px; flex: none; color: var(--primary); }

/* 侧栏补充区块：小标题 / 引用来源 / 法务入口。
 * 这三块是给「人」和「AI 爬虫」同时看的：爬虫不执行 JS，
 * 没有它们这个页面在 GEO 报告里就是「10 个词 + 没有引用 + 没有 About 链接」。 */
.cside__h2 {
  margin-top: 14px; font-size: 13px; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase; color: var(--soft);
}
.cside__cite {
  margin-top: 10px; font-size: 12px; line-height: 1.55; color: var(--soft);
}
.cside__cite a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.cside__legal {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px;
}
.cside__legal a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.cside__legal a:hover { color: #fff; }

.cmsg { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.cmsg__hd { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cmsg__hd h4 { font-size: 15px; font-weight: 700; }
.cmsg__report { margin-left: auto; }
.cmsg__list {
  flex: 1 1 auto; min-height: 120px; max-height: 340px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px; padding-right: 4px;
}
.cmsg__empty { color: var(--soft); font-size: 13px; text-align: center; padding: 24px 0; }
.bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5;
  word-break: break-word;
}
.bubble--me { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--primary2)); color: #fff; border-bottom-right-radius: 5px; }
.bubble--you { align-self: flex-start; background: #2A2C34; color: var(--text); border-bottom-left-radius: 5px; }
.cmsg__form { display: flex; gap: 8px; margin-top: 12px; }
.cmsg__inp {
  flex: 1; min-width: 0; padding: 10px 13px; border-radius: 10px;
  background: #22242B; border: 1px solid var(--line); color: #fff; font-size: 14px;
}
.cmsg__inp:focus { outline: 0; border-color: var(--primary); }
/* .cmsg__note 已移除（2026-10-19）：聊天框下方那行「Demo mode…」不再显示，
 * 对应的 DOM 节点与后台字段一并删除，避免留一段死样式。 */

/* ---------- 轻提示 ---------- */
.ctoast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px); z-index: 120;
  background: #fff; color: #141417; padding: 10px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease; box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.ctoast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .cmain { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* 桌面端（高度够用）：整页不滚动 —— 视频框自动吃掉剩余高度，主播条始终落在首屏
 * ⚠ 必须排除 .streamers（Discover 照片墙）：那一页是长列表，要能往下滚。
 *   两页共用 body.chat 这个类，早先没排除，结果 Discover 被锁在首屏高度、
 *   下面几屏照片完全够不着（看起来像「只能看第一屏」）。 */
@media (min-width: 981px) and (min-height: 680px) {
  body.chat:not(.streamers) { height: 100%; overflow: hidden; }
  .cmain { flex: 1 1 auto; min-height: 0; }
  .cstage__frame { flex: 1 1 auto; aspect-ratio: auto; min-height: 240px; }
  .cside { min-height: 0; overflow-y: auto; }
  /* 桌面端侧栏高度是被首屏锁死的，消息列表必须**允许被压缩**：
   * 全局那个 `min-height: 120px` 在空间不足时会顶住不缩，
   * 于是整块面板溢出 9px —— 表现就是输入框 / Send 按钮底部被切掉一条。
   * 这里放开下限，让 flex 正常把剩余空间分给列表。 */
  .cmsg__list { max-height: none; min-height: 0; }
}
/* 窗口偏矮的桌面端：退回常规滚动，视频按 16:9 固定比例 */
@media (min-width: 981px) and (max-height: 679px) {
  .cstage__frame { aspect-ratio: 16/9; max-height: none; }
}

@media (max-width: 980px) {
  /* 单列时页面正常滚动：body 交给内容撑开，网格行高全部 auto，
   * 否则第一行 minmax(0,1fr) 会被下方内容挤成 0，视频框会塌掉。 */
  body.chat { height: auto; min-height: 100%; }
  .cmain { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 12px 16px 14px; gap: 12px; }
  /* 单列时重排：视频 → 主播条 → 介绍/聊天，保证主播条紧跟在视频下方 */
  .cstage { grid-column: 1; grid-row: 1; }
  .livebar { grid-column: 1; grid-row: 2; }
  .cside { grid-column: 1; grid-row: 3; }
  /* 40vh：给下方的主播条留出首屏空间（原来 42vh，加了门禁提示行就超了） */
  .cstage__frame { aspect-ratio: 4/5; max-height: 36vh; }
  .cmsg { min-height: 0; }
  .cmsg__list { max-height: 220px; }
}
/* 窄屏顶栏：品牌 logo 本身就是回首页的入口，「Back to home」按钮多余，隐藏掉防止横向溢出 */
@media (max-width: 680px) {
  .ctop__back { display: none; }
}
@media (max-width: 560px) {
  .ctop { padding: 10px 14px; gap: 10px; }
  .ctop__live { font-size: 12px; margin-left: 0; }
  .ctop__liveTxt { display: none; }
  .cmain { padding: 10px 12px 12px; gap: 10px; }
  .cstage__frame { aspect-ratio: 1/1; max-height: 34vh; }
  .cstage__local { width: 28%; height: 22%; inset: auto 10px 10px auto; }
  .cstage__bar { padding: 10px 12px; gap: 8px; }
  .cstage__bar .btn { padding: 9px 13px; font-size: 13px; }
  .cstage__status { width: 100%; margin-left: 0; order: -1; }
  .cstage__filters label { flex: 1 1 100%; }
  .cstage__filters { gap: 8px; padding: 9px 12px; }
}
/* 小屏且矮屏（如 360×640）：再压一轮，保证主播条仍在首屏 */
@media (max-width: 560px) and (max-height: 700px) {
  .ctop { padding: 8px 12px; }
  .cstage__frame { aspect-ratio: 1/1; max-height: 24vh; }
  .cstage__safety { display: none; }
  .livebar__hd { margin-bottom: 6px; }
  .lv { width: 60px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ================= 底部主播横滑条 =================
 * 数据来自后台「媒体库 → 匹配人物库」，一行一个主播：
 * 头像 + 在线绿点 + 年龄 + 国旗，横向滚动；右侧「Discover all」进主播页。
 */
/* 注：桌面端「整页不滚动」由上方 @media 里的 body.chat{height:100%} 接管，
 * 这里只给一个兜底下限，不要再写 height，否则会覆盖掉媒体查询里的高度。 */
body.chat { min-height: 100%; }

.livebar {
  grid-column: 1 / -1; grid-row: 2; min-width: 0;
  padding: 12px 14px 13px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
}
.livebar[hidden] { display: none; }

.livebar__hd {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 9px;
}
.livebar__title {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 800; letter-spacing: -.01em;
}
.livebar__num {
  font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--soft);
  padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07);
  font-variant-numeric: tabular-nums;
}
.livebar__num:empty { display: none; }
.livebar__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
  animation: pulse 2s infinite;
}
.livebar__more {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 13px; font-weight: 700; color: var(--soft);
  padding: 4px 2px; border-radius: 8px;
  transition: color .16s;
}
.livebar__more:hover { color: #fff; }
.livebar__more svg { width: 15px; height: 15px; }

.livebar__track {
  display: flex; gap: 9px; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  padding: 2px 2px 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.livebar__track::-webkit-scrollbar { height: 6px; }
.livebar__track::-webkit-scrollbar-track { background: transparent; }
.livebar__track::-webkit-scrollbar-thumb { background: #2C2E36; border-radius: 99px; }

/* 纯展示卡片：不可点击，所以没有 hover 抬升 / 按下反馈。
   模糊与否与 Discover 照片墙**保持一致** —— 付费照片在这里同样模糊。 */
.lv {
  position: relative; flex: 0 0 auto;
  width: 78px; height: 104px;
  border-radius: 13px; overflow: hidden;
  background: #23252C; cursor: default;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, .06);
}
/* ⚠ 这里曾经写着 `filter: none !important`，意图是「主播条只做展示、不设防」。
   后果是同一个人的照片在照片墙里糊成一片、在主播条里清清楚楚 ——
   访客立刻知道哪边能白看，付费解锁就形同虚设。
   现在改为只对**付费照片**加模糊（.is-locked），解锁后自动变清晰。 */
.lv img { width: 100%; height: 100%; object-fit: cover; }
/* 与照片墙（streamers.css 的 .pcard.is-locked）同强度：卡片小，16px 已彻底糊成色块。
 * 不要调小 —— 7px 时还能看出人形，等于给访客留了一版免费预览。 */
.lv.is-locked img { filter: blur(16px) saturate(.9) brightness(.72); }
/* 模糊会把整张图糊满，连昵称都看不清 —— 底部信息条要压实一点才读得出人名 */
.lv.is-locked .lv__foot { background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .92)); }
/* 未解锁角标：锁 + 价格，一眼回答「这张为什么要解锁、在哪解锁」 */
.lv__lock {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 7px; border-radius: 999px; font-style: normal;
  background: rgba(10, 12, 16, .72); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #F5C544; font-size: 10.5px; font-weight: 800; line-height: 1;
  white-space: nowrap; pointer-events: none;
}
.lv__lock svg { width: 11px; height: 11px; }
.lv__lock b { font-variant-numeric: tabular-nums; }
.lv__ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 25px; font-weight: 800; color: #fff; letter-spacing: -.02em;
}

.lv__dot {
  position: absolute; left: 6px; top: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5);
}
.lv__flag {
  position: absolute; right: 5px; top: 4px;
  font-size: 13px; line-height: 1; font-style: normal;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .65));
}
.lv__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 3px; padding: 18px 7px 6px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78));
}
.lv__name { font-size: 10.5px; font-weight: 800; color: #fff; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv__age { flex: none; font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .66); font-variant-numeric: tabular-nums; }
/* 离线卡片：变灰。注意不能简单覆盖 .is-locked 的模糊 ——
   付费 + 离线时两个滤镜要叠加，否则离线态会把「付费模糊」冲掉。 */
.lv.is-off .lv__ph { filter: grayscale(.65) brightness(.7); }
.lv.is-off img:not([data-locked]) { filter: grayscale(.65) brightness(.7); }
.lv.is-off img[data-locked] { filter: blur(16px) grayscale(.65) brightness(.6); }
.lv.is-off .lv__dot { display: none; }

.livebar__empty { margin: 4px 0 0; font-size: 13px; color: var(--soft); }
.livebar__empty[hidden] { display: none; }

@media (max-width: 640px) {
  .livebar { padding: 10px 12px 11px; }
  .livebar__hd { margin-bottom: 8px; }
  .lv { width: 66px; height: 88px; }
}
