/*
 * Poly · 手机端对话页（2026-11-03 第二版，用户逐条定的）
 *   · 和全站统一：品牌蓝（#3f6fe6）+ 玻璃，不要紫色；底是浅蓝渐变（不放会议室照片，用户选的）；
 *   · 背景中间一颗点阵球一直在慢慢转；录音时转快、发蓝光，球下面写「正在识别…」（mobile-chat.js 画）；
 *   · 顶栏：左 ☰（打开对话列表 = 原来的 #btnMobileNavSession）、中间标题、右 ×（退出对话）；
 *   · 「数据开启」和地球（选语言）放在标题下面那一排（筛选条右端），不收进「⋯」。
 *   · 气泡、底栏、长按菜单都是原来的（mobile-glass.css），这里只把「照片底上的白字」改成浅底上读得出的深色字。
 * ⚠️ 只在 ≤768px 且 <html> 有 .mc 时生效（mobile-chat.js 挂上才加）；面对面 / 群聊（.ft-active）一律不碰。
 * ⚠️ 暗色单独维护（每块都有 html[data-theme="dark"].mc 那份）。
 * ⚠️ 回退：index.html 里删掉引用本文件和 mobile-chat.js 的两行。
 */
.mc-bg, .mc-lang, .mc-menu, .mc-title, .mc-sumchip, .mc-fpill, .mc-sum { display: none; }
@media (max-width: 768px) {
  html.mc {
    --mc-ink: #1d2b42; --mc-ink2: #5a6a82; --mc-ink3: rgba(29,43,66,.5); --mc-blue: #3f6fe6;
    --mc-bg: radial-gradient(65% 34% at 0% 0%, rgba(99,140,245,.38), transparent 70%),
             radial-gradient(55% 30% at 100% 24%, rgba(56,189,248,.22), transparent 70%),
             radial-gradient(70% 38% at 90% 100%, rgba(59,130,246,.22), transparent 72%),
             radial-gradient(55% 30% at 0% 78%, rgba(14,165,233,.12), transparent 70%),
             linear-gradient(180deg, #d9e5fd 0%, #e9f0fe 42%, #f4f8ff 100%);
    --mc-dots: rgba(63,111,230,.08);
    --mc-chip: rgba(255,255,255,.78);
  }
  html.mc[data-theme="dark"] {
    --mc-ink: #eef3ff; --mc-ink2: rgba(220,230,250,.75); --mc-ink3: rgba(220,230,250,.5); --mc-blue: #8fb0ff;
    --mc-bg: radial-gradient(70% 36% at 0% 0%, rgba(63,111,230,.45), transparent 70%),
             radial-gradient(55% 30% at 100% 22%, rgba(14,165,233,.20), transparent 70%),
             radial-gradient(75% 40% at 85% 100%, rgba(37,99,235,.30), transparent 72%),
             radial-gradient(50% 30% at 0% 70%, rgba(56,189,248,.10), transparent 70%),
             linear-gradient(180deg, #0f1d3d 0%, #0b152d 50%, #081022 100%);
    --mc-dots: rgba(160,190,255,.07);
    --mc-chip: rgba(255,255,255,.1);
  }
  html.mc .app:not(.mobile-drawer-open) > .sidebar { box-shadow: none; }   /* 收着的抽屉投影在浅底上是一道灰边 */

  /* ════════ 底：浅蓝渐变（两种对话页同一张）════════ */
  html.mc .session-view:not(.ft-active):not(.nh-live) { background: #eef3fe; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active):not(.nh-live) { background: #0d1529; }
  html.mc .session-view:not(.ft-active):not(.nh-live)::before { inset: 0; background: var(--mc-bg); filter: none; transform: none; }
  /* 一层很淡的点阵纹理（上下渐隐），底不再是一整片平的颜色 */
  html.mc .session-view:not(.ft-active):not(.nh-live)::after { inset: 0; background: radial-gradient(var(--mc-dots) 1.1px, transparent 1.4px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); }
  html.mc .session-view.nh-live .nhs-photo { inset: 0; background: var(--mc-bg); filter: none; transform: none; }
  html.mc .session-view.nh-live .nhs-shade { background: none; }
  html.mc .session-view.nh-live .nhs-aurora { opacity: .25; }
  html.mc .session-view.nh-live .nhs-l1 { color: var(--mc-ink2); text-shadow: none; }
  html.mc .session-view.nh-live .nhs-l1 b { color: var(--mc-blue); }
  html.mc .session-view.nh-live .nhs-l2 { color: var(--mc-ink3); text-shadow: none; }

  /* ════════ 普通对话页背景里那颗点阵球（mobile-chat.js 画；有内容时淡下去不抢字）════════ */
  html.mc .session-view.ft-active.ft-barmic > .mc-bg,   /* 面对面并排 / 群聊也放（11-04 用户：「同步所有对话页」）；分屏中间是麦克风，不放 */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .mc-bg { display: flex; position: absolute; z-index: -1; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 8px; pointer-events: none; }
  html.mc .mc-sphere { width: min(64vw, 250px); height: min(64vw, 250px); opacity: .75; transition: opacity .5s ease; }   /* .75 和电脑端那颗一样 */
  html.mc .mc-bg.has .mc-sphere { opacity: .4; }
  html.mc .mc-st { min-height: 1.4em; margin: 0; font-size: .86rem; font-weight: 600; letter-spacing: .02em; color: var(--mc-blue); opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
  html.mc .mc-bg.rec .mc-st { opacity: 1; transform: none; }
  html.mc .mc-st i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; background: #ef4b5a; animation: mcLed 1.2s ease-in-out infinite; }
  @keyframes mcLed { 50% { opacity: .3; } }

  /* ════════ 顶栏：☰ 标题 ×（两种对话页一样）════════ */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header {
    display: grid !important; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 10px;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 6px !important; min-height: 0; height: auto; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header > :not(.mobile-nav-btn):not(.session-title-input):not(.close-session) { display: none !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .mobile-nav-btn { grid-column: 1; order: 0; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input { grid-column: 2; order: 1; width: 100%; min-width: 0; margin: 0; text-align: center;
    font-size: 1.04rem; font-weight: 700; color: var(--mc-ink); text-shadow: none; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input::placeholder { color: var(--mc-ink2); }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input:focus { background: var(--mc-chip); border-color: rgba(63,111,230,.35); }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .close-session { grid-column: 3; order: 2; }
  /* 圆钮（☰ / ×）：白玻璃圆、深色图标（照片底上那套白图标在浅底上看不见） */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session),
  html.mc .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd) {
    width: 42px; height: 42px; min-width: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--mc-ink);
    background: var(--mc-chip); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 8px 18px -12px rgba(30,60,140,.45);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .2s ease; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session) svg,
  html.mc .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd) svg { width: 20px; height: 20px; color: var(--mc-ink) !important; stroke: currentColor; filter: none !important; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session),
  html.mc[data-theme="dark"] .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd) { box-shadow: inset 0 1px 1px rgba(255,255,255,.15), 0 8px 18px -12px rgba(0,0,0,.6); }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session):active,
  html.mc .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd):active { transform: scale(.9); }

  /* ════════ 收起 / 展开顶栏（11-04 用户：「顶栏收起就全部收起，不要显示一半的图标，加一个收起展开的图标即可」）════════
     展开时：标题下面正中一枚小把手（⌃）；收起时：☰ 标题 × 和下面那排筛选全部收掉，顶上只留一条 40px 的空带，正中一颗玻璃小胶囊（⌄），点它展开。
     ⚠️ 留这条带子而不是高度 0：0 的话「未翻译 / 重新登录」那几条提示会顶上来，把胶囊压在底下（踩过）。
     🔴 原来的问题：这页顶栏是自己的 grid + padding（上面那条带 !important），index.html 的「收起 = 留 38px 窄条」压不动，
        于是顶栏只是被裁到 38px —— ☰ / × 露半个；筛选条只是变透明（这里 overflow:visible 又让胶囊溢出来），
        看不见的「本场总结」胶囊正好盖在 ☰ 上，点 ☰ 打开的是总结页而不是侧栏（用户 11-04 报）。
        所以收起时筛选条必须 display:none，不能只靠 opacity / max-height。 */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header { position: relative; padding-bottom: 16px !important; }
  html.mc .session-view:not(.nh-live) > .session-header > #btnChromeToggle { display: grid !important; position: absolute; left: 50%; top: auto; bottom: 1px; z-index: 3;
    width: 44px; height: 14px; padding: 0; border: 0; border-radius: 99px; color: var(--mc-ink2); opacity: .8; background: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.mc .session-view:not(.nh-live) > .session-header > #btnChromeToggle svg { width: 16px; height: 16px; stroke-width: 2.4; filter: none !important; color: inherit !important; }
  html.mc .session-view.chrome-collapsed:not(.nh-live) > .session-header { height: calc(40px + env(safe-area-inset-top, 0px)) !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; border: 0 !important; overflow: visible !important; }
  html.mc .session-view.chrome-collapsed:not(.nh-live) > .session-header > :not(#btnChromeToggle),
  html.mc .session-view.chrome-collapsed:not(.nh-live) > .filter-bar,
  html.mc .session-view.chrome-collapsed:not(.nh-live) .ft-ctrl { display: none !important; }   /* 面对面 / 群聊那排（房间码 · 数据开启 · 语言）也一起收；它会随消息重绘，所以不给落下动画 */
  html.mc .session-view.chrome-collapsed:not(.nh-live) > .session-header > #btnChromeToggle { top: calc(8px + env(safe-area-inset-top, 0px)); bottom: auto; z-index: 30;
    width: 54px; height: 26px; color: var(--mc-blue); opacity: 1; background: var(--mc-chip);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 8px 18px -10px rgba(30,60,140,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    animation: mcPillIn .4s cubic-bezier(.34,1.56,.64,1) both; }
  html.mc[data-theme="dark"] .session-view.chrome-collapsed:not(.nh-live) > .session-header > #btnChromeToggle { box-shadow: inset 0 1px 1px rgba(255,255,255,.15), 0 8px 18px -10px rgba(0,0,0,.6); }
  /* 展开那一下：顶栏和筛选条从上面轻轻落下来（收起时它们的 animation 被去掉，再展开就会重播） */
  html.mc .session-view:not(.chrome-collapsed):not(.nh-live) > :is(.session-header, .filter-bar) { animation: mcDrop .38s cubic-bezier(.32,.72,0,1) both; }
  @keyframes mcPillIn { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
  @keyframes mcDrop { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }

  /* 首页录音 / AI 对话那层皮：第一行 ☰ 标题 ×，第二行 语言 · 取消翻译 ……… 数据开启（不重排 DOM，只用网格摆位） */
  html.mc .session-view.nh-live > .nhs-top { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto 42px; grid-auto-rows: auto; align-items: center; column-gap: 10px; row-gap: 8px;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0; }
  html.mc .session-view.nh-live > .nhs-top :is(.nhs-left, .nhs-right) { display: contents; }
  html.mc .session-view.nh-live > .nhs-top .mc-menu { display: grid; grid-column: 1; grid-row: 1; }
  html.mc .session-view.nh-live > .nhs-top .mc-title { display: block; grid-column: 2 / 5; grid-row: 1; min-width: 0; text-align: center; }
  html.mc .session-view.nh-live > .nhs-top #nhsEnd { grid-column: 5; grid-row: 1; }
  /* 第二行：语言（左，可缩）· 取消翻译 · 数据开启（右） */
  html.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .ds-chip, .nhs-aist) { grid-row: 2; }
  html.mc .session-view.nh-live > .nhs-top .nhs-lang { grid-column: 1 / 3; justify-self: start; max-width: 100%; min-width: 0; }
  html.mc .session-view.nh-live > .nhs-top :is(.nhs-trans, .nhs-aist) { grid-column: 3; }
  html.mc .session-view.nh-live > .nhs-top .ds-chip { grid-column: 4 / 6; justify-self: end; }
  /* 顶栏变成两行，下面那条提示（已新建对话…）往下挪，别压在第二行上 */
  html.mc .session-view.nh-live > .nhs-tip:not([hidden]) { top: calc(112px + env(safe-area-inset-top, 0px)); }
  html.mc .mc-title b { display: block; font-size: 1.04rem; font-weight: 700; color: var(--mc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.mc .mc-title small { display: block; margin-top: 1px; font-size: .72rem; color: var(--mc-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.mc .mc-title small:empty { display: none; }
  /* 第二行的胶囊（语言 / 取消翻译 / 数据开启）：白玻璃、深色字，和电脑端、群聊那一条一个样子 */
  html.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .ds-chip, .nhs-aist) { color: var(--mc-ink) !important; text-shadow: none !important;
    background: var(--mc-chip) !important; box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 6px 14px -10px rgba(30,60,140,.45) !important; }
  html.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .ds-chip, .nhs-aist) svg { color: var(--mc-blue) !important; filter: none !important; }

  /* ════════ 标题下面那一排（普通对话页）：筛选 …… 数据开启 · 🌐 语言 ════════ */
  html.mc .session-view:not(.ft-active):not(.nh-live):not(.chrome-collapsed) > .filter-bar { display: flex !important; align-items: center; }   /* :not(.chrome-collapsed)：和上面收起时的 display:none 同特异性、写在后面会把它盖掉 → 隐形筛选条还能点（POLY-34） */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-lang { display: inline-flex; }
  /* 地球钮只放图标（文字进 aria-label）：一排里要同时放下 4 颗筛选 + 数据开启 + 语言。
     它和「数据开启」都贴在右边不跟着滚（sticky），筛选胶囊从它们底下滑过 → 底色要实一点，免得字透上来 */
  html.mc .mc-lang { position: sticky; right: 0; z-index: 2; flex-shrink: 0; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: 6px; padding: 0;
    border: 0; border-radius: 50%; color: var(--mc-ink); background: rgba(255,255,255,.96); box-shadow: -10px 0 12px -8px rgba(30,60,140,.35), 0 6px 14px -10px rgba(30,60,140,.45); }
  html.mc[data-theme="dark"] .mc-lang { background: rgba(30,44,74,.97); }
  html.mc .mc-lang svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: var(--mc-blue); stroke-width: 1.8; }
  html.mc .mc-lang span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .ds-chip { position: sticky; right: 38px; z-index: 2; background: rgba(255,255,255,.96) !important;
    box-shadow: -10px 0 12px -8px rgba(30,60,140,.35), 0 6px 14px -10px rgba(30,60,140,.45) !important; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active):not(.nh-live) > .filter-bar .ds-chip { background: rgba(30,44,74,.97) !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .ds-chip.is-off { color: #c2410c; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active):not(.nh-live) > .filter-bar .ds-chip.is-off { color: #ffb4a2; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar :is(.filter-chip .s2-ico, .ds-chip svg) { color: var(--mc-blue) !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .filter-chip.active .s2-ico { color: #fff !important; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active):not(.nh-live) > .filter-bar .filter-chip.active .s2-ico { color: #0d1529 !important; }
  html.mc .mc-lang:active { transform: scale(.94); }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar :is(.filter-chip, .ds-chip) { color: var(--mc-ink); text-shadow: none; background: var(--mc-chip);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 6px 14px -10px rgba(30,60,140,.45); }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .filter-chip.active { color: #fff; background: var(--mc-blue); }
  html.mc[data-theme="dark"] .session-view:not(.ft-active):not(.nh-live) > .filter-bar .filter-chip.active { color: #0d1529; }

  /* ════════ 照片底上的白字 → 浅底上的深色字（名字、时间、日期条、提示、空页）════════ */
  html.mc .session-view:not(.ft-active) :is(.entry, .note-entry) :is(.speaker-tag, .entry-time, .entry-time-absolute, .entry-time-gap) { color: var(--mc-ink3) !important; text-shadow: none !important; }
  html.mc .session-view:not(.ft-active) .entry .speaker-tag { color: var(--mc-ink2) !important; font-weight: 600; }
  html.mc .session-view:not(.ft-active) :is(.entry, .note-entry) .side-flip { color: var(--mc-ink3); filter: none; }
  /* ⇄ 的可点范围（MUI-08）：图标还是 14px、位置不变、不占排版，可点范围往外扩 8px ≈ 30×30，和面对面 / 群聊的 .ft-swap 一样（mobile-glass.css）。
     ⚠️ 不能学 .ft-swap 用 ::after 往外扩：这颗的图标是按钮自己的 mask，mask 把框外的 ::after 连点击一起裁掉了（实测点不到）。
        所以用透明 padding 扩框，底色和 mask 都只画在 content-box（= 原来那 14px），再用负 margin 把 padding 抵掉。 */
  html.mc .session-view :is(.entry, .note-entry) .side-flip { box-sizing: content-box; padding: 8px; margin: -8px; background-clip: content-box;
    -webkit-mask-origin: content-box; -webkit-mask-clip: content-box; mask-origin: content-box; mask-clip: content-box; }
  /* 角落小球让位（MUI-07）：小球默认在底栏正上方、右下角，占 54px 球 + 14px 空隙 = 68px 高。
     列表底部多留这么高（再 +8px 透气），滚到底时最后一条（快速笔记的 ⇄ / 时间、最后一个气泡）不再压在球下面。只加 padding，球的位置不动。 */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-body { padding-bottom: 76px; }
  html.mc .session-view.ft-active.ft-barmic .ft-body > .ft-list { padding-bottom: 76px; }
  html.mc .session-view.ft-active:not(.ft-barmic) .ft-half.ft-bottom .ft-hist { padding-bottom: 82px; }   /* 分屏下半屏：列表比底栏顶还低 6px，所以多 6px */
  html.mc .session-view:not(.ft-active) .day-sep > span { color: var(--mc-ink2) !important; text-shadow: none !important; }
  html.mc .session-view:not(.ft-active) .empty-body { color: var(--mc-ink2) !important; text-shadow: none !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > #btnTipsReopen { color: var(--mc-ink2); text-shadow: none; background: var(--mc-chip); }
}

@media (max-width: 768px) {
  /* ════════ 第三轮（11-03）：筛选胶囊收进「本场总结」，这一排只剩 本场总结 ·（只看…×）……… 数据开启 · 🌐 ════════ */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar { gap: 6px; padding-left: 14px; padding-right: 14px; overflow: visible; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .fb-chips { display: none !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .ds-chip { position: static; margin-left: auto; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-lang { position: static; margin-left: 0; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar :is(.mc-sumchip, .mc-fpill:not([hidden])) { display: inline-flex; }
  html.mc :is(.mc-sumchip, .mc-fpill) { flex-shrink: 0; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 10px; border: 0; border-radius: 99px; font: inherit; font-size: .8rem; font-weight: 700;
    color: #fff; background: linear-gradient(140deg, #5b8cff, #3f6fe6); box-shadow: 0 8px 18px -10px rgba(63,111,230,.8), inset 0 1px 1px rgba(255,255,255,.4); transition: transform .2s ease; }
  html.mc .mc-sumchip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  html.mc .mc-fpill { color: var(--mc-blue); background: rgba(63,111,230,.12); box-shadow: inset 0 0 0 1px rgba(63,111,230,.3); padding-right: 10px; }
  html.mc .mc-fpill i { font-style: normal; font-size: 1rem; line-height: 1; opacity: .7; }
  html.mc :is(.mc-sumchip, .mc-fpill):active { transform: scale(.94); }

  /* ════════ 气泡：别人 = 白玻璃卡，我 = 品牌蓝渐变；暗色各自一份 ════════ */
  html.mc .session-view:not(.ft-active) :is(.entry[data-side] .entry-main, .note-entry .note-main) {
    color: var(--mc-ink); border: 1px solid rgba(255,255,255,.9); border-radius: 18px 18px 18px 6px;
    background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(238,245,255,.86)); box-shadow: 0 12px 26px -18px rgba(30,60,140,.55);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  html.mc .session-view:not(.ft-active) .entry[data-side="right"] .entry-main { color: #fff; border-color: transparent; border-radius: 18px 18px 6px 18px;
    background: linear-gradient(145deg, #5b8cff 0%, #3f6fe6 60%, #3459d6 100%); box-shadow: 0 14px 28px -16px rgba(63,111,230,.75); }
  html.mc[data-theme="dark"] .session-view:not(.ft-active) :is(.entry[data-side] .entry-main, .note-entry .note-main) { color: #e8eefc; border-color: rgba(255,255,255,.1);
    background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.05)); box-shadow: 0 12px 26px -18px rgba(0,0,0,.8); }
  html.mc[data-theme="dark"] .session-view:not(.ft-active) .entry[data-side="right"] .entry-main { color: #fff; border-color: transparent; background: linear-gradient(145deg, #4a7cf5 0%, #3459d6 100%); }
  html.mc .session-view:not(.ft-active) .entry[data-side="right"] :is(.inline-trans, .entry-trans) { border-top-color: rgba(255,255,255,.28) !important; color: rgba(255,255,255,.85) !important; }
  html.mc .session-view:not(.ft-active) .entry[data-side="right"] :is(.inline-trans, .entry-trans) * { color: inherit !important; }
  html.mc .session-view:not(.ft-active) .entry[data-mark="action"] .entry-main { border-color: rgba(217,119,6,.9); }
  html.mc .session-view:not(.ft-active) .entry[data-mark="decision"] .entry-main { border-color: rgba(5,150,105,.9); }
  html.mc .session-view:not(.ft-active) .entry[data-mark="highlight"] .entry-main { border-color: rgba(225,29,72,.85); }
  html.mc .session-view:not(.ft-active) .entry.mc-flash .entry-main, html.mc .session-view:not(.ft-active) .note-entry.mc-flash .note-main { animation: mcFlash 1.6s ease; }
  @keyframes mcFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(63,111,230,0); } 20%, 60% { box-shadow: 0 0 0 4px rgba(63,111,230,.45); } }

  /* ════════ 麦克风 = 截图/5.png 那颗，换成品牌蓝（11-04 用户：「麦克风太丑，改成截屏 5 这样子，颜色改成我的蓝色」）：
     一颗光滑的玻璃球（上青、中蓝、底部泛白），外面两圈半透明的白色光环；录音时光环一呼一吸往外扩。面对面并排 / 群聊那颗一样。 ════════ */
  html.mc .session-view .session-footer .record-btn {
    color: #fff;
    background: radial-gradient(120% 70% at 50% 108%, rgba(255,255,255,.95) 0%, rgba(235,243,255,.75) 22%, rgba(255,255,255,0) 52%),
                radial-gradient(60% 45% at 32% 18%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%),
                linear-gradient(165deg, #7fe3ff 0%, #5aa2ff 32%, #3f6fe6 58%, #6f8ff5 82%, #dfe9ff 100%) !important;
    box-shadow: 0 16px 30px -12px rgba(40,80,200,.55), inset 0 -6px 14px rgba(255,255,255,.55), inset 0 2px 3px rgba(255,255,255,.7) !important;
    transition: scale .22s cubic-bezier(.34,1.56,.64,1); }
  html.mc[data-theme="dark"] .session-view .session-footer .record-btn {
    box-shadow: 0 16px 30px -12px rgba(0,0,0,.7), inset 0 -6px 14px rgba(255,255,255,.4), inset 0 2px 3px rgba(255,255,255,.6) !important; }
  /* 11-10 用户：「麦克风去掉外部的两个白色的圆圈，把蓝色的圈放大，要比键盘和地球的圈更大一些；圈放大了图标也要跟着大」
     → 去掉两圈白光环；64 → 76px（键盘 / 地球是 44px），中心高度不变（原来 bottom 30 + 32 = 62 → 24 + 38 = 62，两边圆钮不用挪）；
     麦克风图标 28 → 34px，录音时的声波柱放大 1.25 倍。录音时不再是白光环一呼一吸，改成外面一圈淡蓝光往外散（伪元素 scale + opacity，不动 box-shadow）。 */
  html.mc .session-view .session-footer .record-btn { width: 76px; height: 76px; bottom: 24px; isolation: isolate; }
  html.mc .session-view .session-footer .record-btn .m-mic-ico { width: 34px; height: 34px; }
  html.mc .session-view .session-footer .record-btn.recording .m-rec-wv { scale: 1.25; }
  html.mc .session-view .session-footer .record-btn svg { color: #fff; filter: drop-shadow(0 1px 2px rgba(20,50,140,.45)); }
  html.mc .session-view .session-footer .record-btn:active { scale: .93; }
  html.mc .session-view .session-footer .record-btn.recording::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; pointer-events: none;
    background: rgba(91,140,255,.45); animation: mcHalo 1.8s ease-out infinite; }
  @keyframes mcHalo { 0% { scale: 1; opacity: .9; } 100% { scale: 1.45; opacity: 0; } }

  /* 首页录音 / AI 对话页的顶栏是两排（绝对定位），「暂时没连上服务器 / 登录已过期 → 重新登录」横幅和补翻提示条在文档流的最上面，
     会叠在第二排（语言 · 取消翻译 · 术语库 · 数据开启）上 —— 往下让开第二排（11-04 用户报文字重叠） */
  /* 11-09：列表本身已经让开两排（见下面「nh-live:not(.nh-chat) 的 padding-top」），横幅不用再往下挪；原来这里 48px + 安全区，
     而 padding-top 里已经算过一次安全区 → 刘海屏上多空一截 */
  html.mc .session-view.nh-live > :is(.offline-bar, #transSwitchBar, #polishTransBar) { margin-top: 0 !important; }
  /* 横幅出来时，那条一闪而过的小提示（已新建对话…）也往下挪，别压在横幅上 */
  html.mc .session-view.nh-live:has(> .offline-bar[style*="flex"]) > .nhs-tip:not([hidden]) { top: calc(176px + env(safe-area-inset-top, 0px)); }

  /* ════════ 本场总结页：从右边滑进来，底和对话页同一张 ════════ */
  html.mc .mc-sum { display: flex; position: fixed; inset: 0; z-index: 50; flex-direction: column; color: var(--mc-ink); background: var(--mc-bg), #eef3fe;
    transform: translateX(100%); transition: transform .38s cubic-bezier(.32,.72,0,1); box-shadow: -18px 0 40px -24px rgba(20,40,100,.5); }
  html.mc[data-theme="dark"] .mc-sum { background: var(--mc-bg), #0b152d; }
  html.mc .mc-sum.show { transform: none; }
  html.mc .mc-sum[hidden] { display: none; }
  html.mc .mc-sum-top { flex-shrink: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 8px; }
  html.mc .mc-back { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--mc-ink); background: var(--mc-chip);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 8px 18px -12px rgba(30,60,140,.45); }
  html.mc .mc-back svg { width: 20px; height: 20px; }
  html.mc .mc-sum-t { text-align: center; min-width: 0; }
  html.mc .mc-sum-t b { display: block; font-size: 1.04rem; font-weight: 700; }
  html.mc .mc-sum-t small { display: block; margin-top: 1px; font-size: .74rem; color: var(--mc-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.mc .mc-sum-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
  html.mc .mc-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  html.mc .mc-tile { padding: 10px 2px 9px; border-radius: 16px; text-align: center; background: var(--mc-chip); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 8px 18px -14px rgba(30,60,140,.45); }
  html.mc .mc-tile b { display: block; font-size: 1.25rem; font-weight: 800; color: var(--mc-blue); font-variant-numeric: tabular-nums; }
  html.mc .mc-tile span { display: block; margin-top: 2px; font-size: .66rem; color: var(--mc-ink2); white-space: nowrap; }
  html.mc .mc-ai { width: 100%; height: 44px; margin: 12px 0 4px; border: 0; border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: .88rem; font-weight: 700;
    color: #fff; background: linear-gradient(140deg, #5b8cff, #3f6fe6); box-shadow: 0 12px 24px -14px rgba(63,111,230,.85); }
  html.mc .mc-ai:disabled { opacity: .45; }
  html.mc .mc-ai svg { width: 17px; height: 17px; fill: currentColor; }
  html.mc .mc-sec { margin-top: 12px; padding: 12px 12px 6px; border-radius: 20px; background: var(--mc-chip); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 12px 26px -20px rgba(30,60,140,.5); }
  html.mc[data-theme="dark"] :is(.mc-sec, .mc-tile) { box-shadow: inset 0 1px 1px rgba(255,255,255,.08); }
  html.mc .mc-sh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
  html.mc .mc-sh h3 { margin: 0; font-size: .95rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
  html.mc .mc-sh h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k, #3f6fe6); }
  html.mc .mc-sec[data-k="action"] { --k: #f59e0b; } html.mc .mc-sec[data-k="decision"] { --k: #10b981; } html.mc .mc-sec[data-k="highlight"] { --k: #3f6fe6; }
  /* 待办 / 决议 / 重点收起（11-10）：标题整行是按钮，收起后只留标题这一行 */
  html.mc .mc-fold { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
  html.mc .mc-fold svg { width: 16px; height: 16px; color: var(--mc-ink3, #8a97ad); transition: rotate .25s cubic-bezier(.22,1,.36,1); }
  html.mc .mc-sec.folded .mc-fold svg { rotate: -90deg; }
  html.mc .mc-sec.folded > :not(.mc-sh) { display: none; }
  html.mc .mc-sec.folded { padding-bottom: 12px; }
  html.mc .mc-sec.folded .mc-sh { margin-bottom: 0; }
  html.mc .mc-sh em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--mc-ink2); }
  html.mc .mc-only { border: 0; padding: 4px 2px; background: none; font: inherit; font-size: .76rem; font-weight: 600; color: var(--mc-blue); }
  html.mc .mc-sec ul { list-style: none; margin: 0; padding: 0; }
  html.mc .mc-sec li + li { border-top: 1px solid rgba(29,43,66,.07); }
  html.mc[data-theme="dark"] .mc-sec li + li { border-top-color: rgba(255,255,255,.08); }
  html.mc .mc-sec li button { width: 100%; padding: 9px 2px; border: 0; background: none; text-align: left; font: inherit; color: var(--mc-ink); }
  html.mc .mc-sec li button span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; line-height: 1.45; }
  html.mc .mc-sec li button small { display: block; margin-top: 2px; font-size: .7rem; color: var(--mc-ink3); }
  html.mc .mc-none { margin: 2px 0 8px; font-size: .78rem; line-height: 1.55; color: var(--mc-ink3); }
  html.mc .mc-foot { margin: 16px 4px 0; font-size: .72rem; line-height: 1.6; text-align: center; color: var(--mc-ink3); }
}

/* ════════ 术语库（2026-11-03，ubuntu-d2；mobile-chat.js ⑤）：这场对话用哪个词库，点开是底部抽屉（termPick.js）════════ */
.mc-term { display: none; }
@media (max-width: 768px) {
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-term-row { display: inline-flex; }
  html.mc .mc-term { flex-shrink: 1; min-width: 0; max-width: 118px; align-items: center; gap: 5px; height: 32px; padding: 0 11px 0 9px; border: 0; border-radius: 99px;
    font: inherit; font-size: .8rem; font-weight: 600; color: var(--mc-ink); background: var(--mc-chip);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 6px 14px -10px rgba(30,60,140,.45); transition: transform .2s ease, color .2s ease; }
  html.mc[data-theme="dark"] .mc-term { box-shadow: inset 0 1px 1px rgba(255,255,255,.12), 0 6px 14px -10px rgba(0,0,0,.6); }
  html.mc .mc-term svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--mc-blue); }
  html.mc .mc-term span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.mc .mc-term.none { color: var(--mc-ink2); font-weight: 500; }
  html.mc .mc-term:active { transform: scale(.94); }
  html.mc .mc-term[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--mc-blue), 0 6px 14px -10px rgba(30,60,140,.45); }
  /* 这一排：术语库挨着「数据开启」放在右边（数据开启本来是 margin-left:auto，挪到术语库身上） */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-term-row { margin-left: auto; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-term-row ~ .ds-chip { margin-left: 0; }
  /* 首页录音（会议记录）：顶栏第二排 语言 · 取消翻译 · 术语库 · 数据开启。在原来 5 列的网格里加一列（第 1 排的标题 / × 跟着挪一格） */
  html.mc .session-view.nh-live > .nhs-top { grid-template-columns: 42px minmax(0, 1fr) auto auto auto 42px; }
  html.mc .session-view.nh-live > .nhs-top .mc-title { grid-column: 2 / 6; }
  html.mc .session-view.nh-live > .nhs-top #nhsEnd { grid-column: 6; }
  html.mc .session-view.nh-live > .nhs-top .ds-chip { grid-column: 5 / 7; }
  html.mc .session-view.nh-live:not(.biz-ai) > .nhs-top .mc-term-live { display: inline-flex; grid-row: 2; grid-column: 4; height: 36px; max-width: 104px; }
}

@media (max-width: 768px) {
  /* ════════ 第四轮（11-03）════════ */
  /* 本场总结里生成 AI 总结时，原来那个弹窗照常干活但不露面（结果搬进本场总结页） */
  html.mc .mc-aicard { margin-top: 12px; padding: 12px 14px; border-radius: 20px; background: var(--mc-chip); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 12px 26px -20px rgba(30,60,140,.5); }
  html.mc[data-theme="dark"] .mc-aicard { box-shadow: inset 0 1px 1px rgba(255,255,255,.08); }
  html.mc .mc-aicard .mc-ai { margin: 6px 0 2px; }
  html.mc .mc-ai-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  html.mc .mc-ai-h h3 { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 700; }
  html.mc .mc-ai-h h3 svg { width: 16px; height: 16px; fill: var(--mc-blue); }
  html.mc .mc-ai-h span { display: flex; align-items: center; gap: 6px; }
  html.mc :is(.mc-ai-copy, .mc-ai-dl) { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--mc-blue); background: rgba(63,111,230,.1); }   /* 11-10：只放图标 */
  html.mc :is(.mc-ai-copy, .mc-ai-dl) svg { width: 17px; height: 17px; }
  html.mc .mc-ai-copy.ok { color: #16794a !important; }
  html.mc[data-theme="dark"] .mc-ai-copy.ok { color: #7fe0a8 !important; }
  html.mc .mc-ai-dl[aria-expanded="true"] { color: #fff; background: var(--mc-blue); }
  /* 「下载」展开的两个选项（11-10） */
  html.mc .mc-ai-dlrow { display: flex; justify-content: flex-end; gap: 8px; margin: 8px 0 2px; }
  html.mc .mc-ai-dlrow button { height: 32px; padding: 0 14px; border: 0; border-radius: 99px; font: inherit; font-size: .78rem; font-weight: 600; color: var(--mc-blue); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(63,111,230,.25); animation: mcDlIn .22s cubic-bezier(.34,1.56,.64,1) both; }
  html.mc .mc-ai-dlrow button:nth-child(2) { animation-delay: .05s; }
  html.mc[data-theme="dark"] .mc-ai-dlrow button { color: #a8caff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(168,202,255,.3); }
  @keyframes mcDlIn { from { opacity: 0; translate: 0 -4px; scale: .92; } }
  html.mc .mc-ai-re { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--mc-blue); background: rgba(63,111,230,.1); transition: transform .3s ease; }
  html.mc .mc-ai-re svg { width: 17px; height: 17px; }
  html.mc .mc-ai-re:active { transform: rotate(-120deg) scale(.92); }
  html.mc .mc-ai-body { margin-top: 8px; font-size: .86rem; line-height: 1.65; color: var(--mc-ink); overflow-wrap: anywhere; }
  html.mc .mc-ai-body :is(pre, .sum-txt) { margin: 0; white-space: pre-wrap; font: inherit; color: inherit; background: none; padding: 0; border: 0; }
  html.mc .mc-ai-body :is(h1, h2, h3, h4) { margin: .7em 0 .3em; font-size: .92rem; }
  html.mc .mc-ai-body :is(ul, ol) { margin: .3em 0; padding-left: 1.2em; }
  html.mc .mc-ai-note { margin-top: 8px; font-size: .74rem; color: #b45309; }
  html.mc[data-theme="dark"] .mc-ai-note { color: #fbbf77; }
  html.mc .mc-ai-stale { margin: 8px 0 0; font-size: .72rem; color: var(--mc-ink3); }
  html.mc .mc-ai-load { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: .8rem; color: var(--mc-ink2); }
  html.mc .mc-ai-load i { width: 6px; height: 6px; border-radius: 50%; background: var(--mc-blue); animation: mcDot 1s ease-in-out infinite; }
  html.mc .mc-ai-load i:nth-child(2) { animation-delay: .15s; } html.mc .mc-ai-load i:nth-child(3) { animation-delay: .3s; }
  html.mc .mc-ai-load span { margin-left: 6px; }
  @keyframes mcDot { 50% { opacity: .3; transform: translateY(-3px); } }

  /* 面对面 / 群聊的底：不要会议室照片了，换成品牌蓝（深一档，原来照片上的白字照样读得清）；暗色用对话页那张深色底 */
  html.mc .session-view.ft-active::before { inset: 0; filter: none; transform: none;
    background: radial-gradient(70% 36% at 0% 0%, rgba(120,170,255,.55), transparent 70%), radial-gradient(60% 34% at 100% 100%, rgba(56,189,248,.35), transparent 70%),
                linear-gradient(180deg, #3a64d8 0%, #2c4fb8 50%, #22408f 100%); }
  html.mc .session-view.ft-active::after { inset: 0; background: radial-gradient(rgba(255,255,255,.08) 1.1px, transparent 1.4px) 0 0 / 22px 22px; }
  html.mc[data-theme="dark"] .session-view.ft-active::before { background: var(--mc-bg); }

  /* 角落小球收进顶栏（关闭钮左边，不再压着内容）：标题两边留出位置，长标题不被它盖住 */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input { padding-left: 46px; padding-right: 46px; }
  html.mc .session-view.nh-live > .nhs-top .mc-title { padding: 0 46px; }
  html.mc .session-view.ft-active > .session-header .session-title-input { margin-right: 46px; }
}
@media (max-width: 768px) {
  /* 带「AI 对话 / 实时转写」切换的那种（.nh-chat）：顶栏是两排，切换原来摆在 58px 正好压在第二排胶囊上（11-03 测出来）→ 挪到第二排下面，列表跟着往下让 */
  html.mc .session-view.nh-live.nh-chat > .nhs-seg { top: calc(110px + env(safe-area-inset-top, 0px)); }
  html.mc .session-view.nh-live.nh-chat { padding-top: calc(156px + env(safe-area-inset-top, 0px)); }
  html.mc .session-view.nh-live.nh-chat > .nhs-tip:not([hidden]) { top: calc(158px + env(safe-area-inset-top, 0px)); }
  /* 首页录音（不带切换的那种）顶栏同样是两排：第一排 ☰ 标题 ×、第二排 地球 · 取消翻译 · 术语库 · 数据开启，下沿 = 94px + 安全区。
     原来 padding-top 还是一排时的 58px → 列表最上面的「今天」日期条、第一句压在第二排底下（11-09 用户 iPhone 截屏 11.jpg）。 */
  html.mc .session-view.nh-live:not(.nh-chat) { padding-top: calc(102px + env(safe-area-inset-top, 0px)); }
  /* 11-20 用户（魅族 20 Pro + QQ 浏览器截图）：「今天」和第一句上面空了一大截 —— 11-13 小P 进标题后第二排（本场总结 / 润色 / 云朵）都撤了，
     顶栏只剩一排（下沿 58px），这里还按两排留 102px → 多空约 40px。改成按顶栏实际高度留（mobile-chat.js 量 .nhs-top 写 --nh-top-pad），
     量不到时退回上面那条。以后顶栏再加减一排也不用再改这里。 */
  html.mc .session-view.nh-live:not(.nh-chat)[style*="--nh-top-pad"] { padding-top: var(--nh-top-pad); }
  /* body 被 mobile-chat.js fitVisible() 压成可视区高度时（iOS 上 100dvh 比看得见的高），浮层宿主（角落小球、日历、底部小窗）也压到一样高；
     键盘弹起时 newhome.js 给它写的内联高度照样优先 */
  html.mc.mc-fit .nh-ovhost { height: var(--mc-fit-h, 100%); }
  /* 底部提示条（toast）原来离底 24px、不让安全区：正好压在首页 / 对话页的输入条、麦克风上，iPhone 上还压着底部横条（11-09）。
     抬到底部那排按键（麦克风光圈、AI 总结 / 润色、角落小球）上面 */
  html.mc .toast { bottom: calc(148px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 32px); }
}

/* ════════ 本场总结 = 首页「数据总结」那一套（11-04 用户：「所有的数据总结，继续沿用首页数据总结页面的背景和样式」）════════
   底：空会议室 cover-meeting.jpg 虚化 + 一层很淡的白（首页 .sumpage 是透明玻璃压在 blur 过的首页照片上，这里没有首页垫底，自己画）；
   顶：白圆返回钮 + 左对齐白色大标题、标题下白色小字（带首页问候那档阴影）；卡片：首页 .sp-card 的白玻璃；
   数字格：首页 .sp-stat；主按钮：首页 .sp-btns .pri 的深藏青胶囊（暗色反过来白底）；复制 / 刷新：首页白胶囊。
   面对面 / 群聊的本场总结是同一个 .mc-sum，一起变。暗色照首页：照片压暗、卡片 .08 白。 */
@media (max-width: 768px) {
  html.mc .mc-sum { overflow: hidden; background: #9fb0c2; box-shadow: inset 1px 0 0 rgba(255,255,255,.5), -18px 0 40px -24px rgba(20,40,100,.5); }
  html.mc .mc-sum::before { content: ""; position: absolute; inset: -4%; z-index: -1; pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.06) 55%, rgba(255,255,255,.1) 100%), url("cover-meeting.jpg?v=8") 50% 24% / cover no-repeat;
    filter: blur(7px) saturate(115%); }
  html.mc[data-theme="dark"] .mc-sum { background: #0b111d; box-shadow: inset 1px 0 0 rgba(255,255,255,.2), -18px 0 40px -24px rgba(0,0,0,.6); }
  html.mc[data-theme="dark"] .mc-sum::before { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 55%, rgba(255,255,255,.05)), url("cover-meeting.jpg?v=8") 50% 24% / cover no-repeat;
    filter: blur(7px) brightness(.6) saturate(.85); }
  html.mc .mc-sum { --sp-ink: #15233a; --sp-ink2: #4a5b73; --sp-card: rgba(255,255,255,.55); --sp-card-sh: inset 0 1px 1px rgba(255,255,255,.85), 0 10px 24px -18px rgba(16,32,60,.45); }
  html.mc[data-theme="dark"] .mc-sum { --sp-ink: #f1f5fc; --sp-ink2: rgba(226,235,248,.76); --sp-card: rgba(255,255,255,.08); --sp-card-sh: inset 0 1px 1px rgba(255,255,255,.18); }
  /* 顶栏：‹ + 左对齐白色大标题 */
  html.mc .mc-sum-top { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 8px; }
  html.mc .mc-sum .mc-back { color: #1d2b42; background: rgba(255,255,255,.86); }
  html.mc[data-theme="dark"] .mc-sum .mc-back { background: rgba(255,255,255,.9); }
  html.mc .mc-sum .mc-back:focus { outline: none; }
  html.mc .mc-sum .mc-back:focus-visible { outline: 2px solid rgba(255,255,255,.85); outline-offset: 2px; }
  html.mc .mc-sum-t { text-align: left; }
  html.mc .mc-sum-t b { font-size: 1.45rem; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 14px rgba(8,16,36,.55), 0 1px 3px rgba(8,16,36,.45); }
  html.mc .mc-sum-t small { margin-top: 2px; font-size: .78rem; color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(8,16,36,.6), 0 1px 3px rgba(8,16,36,.45); }
  html.mc .mc-sum-body { padding: 4px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  /* 数字格 / 卡片 */
  html.mc .mc-sum .mc-tile { border-radius: 14px; background: var(--sp-card); box-shadow: var(--sp-card-sh); }
  html.mc .mc-sum .mc-tile b { font-size: 1.15rem; font-weight: 700; color: var(--sp-ink); }
  html.mc .mc-sum .mc-tile span { font-size: .64rem; color: var(--sp-ink2); }
  html.mc .mc-sum :is(.mc-sec, .mc-aicard) { padding: 14px; border-radius: 22px; color: var(--sp-ink); background: var(--sp-card); box-shadow: var(--sp-card-sh); }
  html.mc .mc-sum :is(.mc-sh h3, .mc-ai-h h3, .mc-sec li button, .mc-ai-body) { color: var(--sp-ink); }
  html.mc .mc-sum :is(.mc-sh em, .mc-sec li button small, .mc-none, .mc-ai-stale, .mc-ai-load) { color: var(--sp-ink2); }
  html.mc .mc-sum .mc-sec li + li { border-top-color: rgba(30,48,76,.1); }
  html.mc[data-theme="dark"] .mc-sum .mc-sec li + li { border-top-color: rgba(255,255,255,.1); }
  /* 按钮：主按钮深藏青胶囊、次按钮白胶囊（首页 .sp-btns） */
  html.mc .mc-sum .mc-ai { height: 40px; font-size: .84rem; color: #fff; background: #1d2b42; box-shadow: 0 10px 22px -14px rgba(8,18,40,.7); }
  html.mc[data-theme="dark"] .mc-sum .mc-ai { color: #1d2b42; background: #fff; }
  html.mc .mc-sum :is(.mc-ai-copy, .mc-ai-dl, .mc-ai-re) { color: #1d2b42; background: rgba(255,255,255,.86); }
  html.mc[data-theme="dark"] .mc-sum :is(.mc-ai-copy, .mc-ai-dl, .mc-ai-re) { color: var(--sp-ink); background: rgba(255,255,255,.14); }
  html.mc .mc-sum .mc-ai-dl[aria-expanded="true"] { color: #fff; background: #3f6fe6; }   /* 展开着「下载 MD / TXT」 */
  html.mc .mc-sum .mc-ai-h h3 svg { fill: #6a5cf0; }
  html.mc[data-theme="dark"] .mc-sum .mc-ai-h h3 svg { fill: #b9b0ff; }
  html.mc .mc-sum .mc-only { color: #1d2b42; }
  html.mc[data-theme="dark"] .mc-sum .mc-only { color: #fff; }
  /* 压在照片上的那行小字：白字 + 阴影 */
  html.mc .mc-sum .mc-foot { color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(8,16,36,.6), 0 1px 3px rgba(8,16,36,.45); }
}

/* ════════ 对话页背景 = 空会议室照片（11-04 用户：「对话页的背景还是纯色，请修改」——和首页以外的页面统一用没有人物的 cover-meeting.jpg）════════
   直接改 --mc-bg 这个变量：普通对话页 ::before、面对面 / 群聊 ::before（newhome.js 那条 !important 也是读它）、首页录音 / AI 对话的 .nhs-photo 都读它，一次全换。
   照片上压一层浅色纱（亮色）/ 深色纱（暗色），气泡和顶栏的深色字照样读得清；轻微虚化（1.5px，和首页一样；11-04 用户嫌 4px 太糊，四边多铺 2% 免得糊边露底）。
   点阵纹理在照片上显脏，去掉；中间那颗点阵球保留（用户要的电脑端同款）。
   🔴 变量里**不能带底色**：newhome.js 那条写的是 `var(--mc-bg), #eef3fe`，颜色只能在最后一层，带了整条失效、面对面变成一片灰（踩过）。 */
@media (max-width: 768px) {
  html.mc { --mc-bg: linear-gradient(180deg, rgba(236,242,253,.5) 0%, rgba(236,242,253,.24) 38%, rgba(236,242,253,.36) 72%, rgba(236,242,253,.62) 100%),
                     url("cover-meeting.jpg?v=8") 50% 24% / cover no-repeat; }
  html.mc[data-theme="dark"] { --mc-bg: linear-gradient(180deg, rgba(8,14,30,.62) 0%, rgba(8,14,30,.45) 40%, rgba(8,14,30,.55) 72%, rgba(8,14,30,.78) 100%),
                     url("cover-meeting.jpg?v=8") 50% 24% / cover no-repeat; }
  html.mc .session-view:not(.ft-active):not(.nh-live)::before,
  html.mc .session-view.nh-live .nhs-photo { inset: -2%; filter: blur(1.5px) saturate(110%); }
  html.mc body #sessionView.ft-active::before { inset: -2% !important; filter: blur(1.5px) saturate(110%) !important; }   /* 11-04 用户：「背景不需要这么模糊」4px → 1.5px（和首页一样） */
  html.mc .session-view:not(.ft-active):not(.nh-live)::after { display: none; }
  html.mc body #sessionView.ft-active.ft-active::after { background: none !important; }   /* 双写 .ft-active：要压过 newhome.js 后插进来的同权重那条 */
}

/* ════════ 气泡 = 毛玻璃（11-04 第二版，用户：「蓝色太难看，改成侧边栏选中会话时的那种蓝；要截屏 6、7 那种毛玻璃的样式和感觉」）════════
   截屏 6 / 7：乳白半透明的磨砂玻璃，背后的照片透成一团柔光，边上一圈细亮边、里面一层很淡的白雾，没有硬高光。
   别人 = 乳白磨砂；我 = 同一块磨砂只带一点冷色（11-04 第三版；之前「侧栏选中那条蓝带」用户嫌丑），都是深色字。
   面对面 / 群聊的 .ft-lbub 同一套。（上一版「液体玻璃」的弧形高光 / 深蓝白字作废）
   ⚠️ 标记边框（待办 / 决议 / 重点）、群聊 .marked 的金圈都在这段末尾重新写一遍：这里的 border / box-shadow 写在后面，会把它们盖掉。 */
@media (max-width: 768px) {
  html.mc { --fg-edge: inset 0 1px 1px rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,255,255,.28), inset 0 0 22px rgba(255,255,255,.22); }
  html.mc[data-theme="dark"] { --fg-edge: inset 0 1px 1px rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.08), inset 0 0 22px rgba(255,255,255,.05); }
  html.mc .session-view:not(.ft-active) :is(.entry[data-side] .entry-main, .note-entry .note-main),
  html.mc .session-view .ft-lbub {
    color: var(--mc-ink); border: 1px solid rgba(255,255,255,.5);
    background: linear-gradient(160deg, rgba(255,255,255,.5) 0%, rgba(246,249,255,.34) 55%, rgba(255,255,255,.42) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
    box-shadow: var(--fg-edge), 0 12px 28px -18px rgba(20,40,100,.42);
    transition: scale .35s cubic-bezier(.34,1.56,.64,1); }
  /* 「我」= 同一块毛玻璃，只带一点点冷色（11-04 第三版，用户：「气泡的蓝色玻璃也很丑，改成毛玻璃」—— 侧栏选中那条蓝带作废） */
  html.mc .session-view:not(.ft-active) .entry[data-side="right"] .entry-main,
  html.mc .session-view .ft-lrow.right .ft-lbub {
    color: var(--mc-ink); border-color: rgba(255,255,255,.55);
    background: linear-gradient(160deg, rgba(236,243,255,.56) 0%, rgba(226,236,255,.36) 55%, rgba(236,243,255,.46) 100%);
    box-shadow: var(--fg-edge), 0 12px 28px -18px rgba(30,60,140,.45); }
  /* 「我」原来是深蓝底白字，译文那行强制白字 —— 现在是浅蓝玻璃，改回深色 */
  html.mc .session-view:not(.ft-active) .entry[data-side="right"] :is(.inline-trans, .entry-trans) { border-top-color: rgba(29,43,66,.12) !important; color: var(--mc-ink2) !important; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active) .entry[data-side="right"] :is(.inline-trans, .entry-trans) { border-top-color: rgba(255,255,255,.14) !important; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active) :is(.entry[data-side] .entry-main, .note-entry .note-main),
  html.mc[data-theme="dark"] .session-view .ft-lbub {
    border-color: rgba(255,255,255,.14);
    background: linear-gradient(160deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.06) 55%, rgba(255,255,255,.1) 100%);
    box-shadow: var(--fg-edge), 0 12px 28px -18px rgba(0,0,0,.75); }
  html.mc[data-theme="dark"] .session-view:not(.ft-active) .entry[data-side="right"] .entry-main,
  html.mc[data-theme="dark"] .session-view .ft-lrow.right .ft-lbub {
    border-color: rgba(255,255,255,.16);
    background: linear-gradient(160deg, rgba(190,210,255,.16) 0%, rgba(190,210,255,.07) 55%, rgba(190,210,255,.12) 100%);
    box-shadow: var(--fg-edge), 0 12px 28px -18px rgba(0,0,0,.75); }   /* 写上：否则 .entry 被暗色通用那条（更重）盖、.ft-lbub 不被盖，两边投影不一样 */
  html.mc .session-view :is(.entry[data-side] .entry-main, .note-entry .note-main, .ft-lbub):active { scale: .985; }
  /* 标记重新写回来（!important：暗色那条带 [data-theme] 更重，不加的话暗色下标记边框没了） */
  /* 11-19 用户：标记颜色全站统一、更显眼（待办 #d97706 / 决议 #059669 / 重点 #e11d48，见 index.html .mark-badge）；气泡底色不动，只描 1.5px 同色边 */
  html.mc .session-view:not(.ft-active) :is(.entry[data-mark] .entry-main, .note-entry[data-mark] .note-main) { border-width: 1.5px !important; }
  html.mc .session-view:not(.ft-active) :is(.entry, .note-entry)[data-mark="action"] :is(.entry-main, .note-main) { border-color: rgba(217,119,6,.9) !important; }
  html.mc .session-view:not(.ft-active) :is(.entry, .note-entry)[data-mark="decision"] :is(.entry-main, .note-main) { border-color: rgba(5,150,105,.9) !important; }
  html.mc .session-view:not(.ft-active) :is(.entry, .note-entry)[data-mark="highlight"] :is(.entry-main, .note-main) { border-color: rgba(225,29,72,.85) !important; }
  html.mc .session-view .mark-badge { font-size: 11.5px; font-weight: 700; padding: 1px 9px; border-radius: 99px; box-shadow: 0 2px 6px -2px rgba(0,0,0,.25); }
  html.mc .session-view :is(.ft-lrow, .room-row).marked .ft-lbub { box-shadow: var(--fg-edge), 0 0 0 1.5px rgba(225,29,72,.85), 0 14px 30px -18px rgba(20,40,100,.5) !important; }   /* !important：暗色「我」那条（0,6,1）更重，不加的话暗色下自己标的重点没有金圈 */
}

/* ════════ 细节动效（11-04 用户：「加入用户状态切换动效，如绿点闪烁、列表展开收起」）════════
   「数据开启」前面一颗会呼吸的绿点（关着的时候不亮）；侧栏分组 / 「我的对话」展开时条目一条条落下（mobile-chat.js 在点击后加 .lq-open）。 */
@media (max-width: 768px) {
  html.mc .ds-chip:not(.is-off)::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-right: 1px; border-radius: 50%; background: #22c55e; }
  /* 11-10 省电：呼吸的那圈光原来是逐帧改 ::before 的 box-shadow（0 → 7px 扩散、0.55 → 0 变淡）—— box-shadow 每帧都要重绘，
     连着整颗磨砂按钮和整页一起重画（手机对话页实测每秒 60 多次）。改成 ::after 一颗同色圆片：scale 1 → 3（半径 3.5 → 10.5px，
     等于扩散 7px）、opacity 1 → 0，同样的 2.2s ease-out，只走合成层、看起来一模一样。
     不写 left / top：绝对定位用「静态位置」，在 inline-flex + align-items:center 的按钮里正好落在第一个子项（绿点）上；
     z-index:-1 + isolation 让它像原来的阴影一样压在绿点和文字下面、按钮底色上面。 */
  html.mc .ds-chip:not(.is-off) { isolation: isolate; }
  html.mc .ds-chip:not(.is-off)::after { content: ""; position: absolute; z-index: -1; width: 7px; height: 7px; border-radius: 50%; pointer-events: none;
    background: rgba(34,197,94,.55); animation: mcSync 2.2s ease-out infinite; }
  @keyframes mcSync { 0% { scale: 1; opacity: 1; } 70%, 100% { scale: 3; opacity: 0; } }
  html .sidebar .lq-open :is(.session-item, .group-header) { animation: lqOpen .42s cubic-bezier(.34,1.4,.64,1) both; animation-delay: calc(var(--i, 0) * 35ms); }
  @keyframes lqOpen { from { opacity: 0; translate: 0 -8px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
}

/* 「数据开启 / 关闭」：只留那颗点，云朵图标去掉（11-04 用户：「呼吸灯保留，去掉多余的云朵图标」）；关着时是一颗不动的橙点 */
@media (max-width: 768px) {
  html.mc .ds-chip svg { display: none !important; }
  html.mc .ds-chip .nhs-dot { display: none; }   /* 11-05 用户：「数据开启」前面重复两颗绿点 —— 首页录音那套皮自带一颗 .nhs-dot，和这里的呼吸灯重了，只留呼吸灯 */
  html.mc .ds-chip.is-off::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-right: 1px; border-radius: 50%; background: #f97316; }
}

/* ════════ 对话页顶部统一（2026-11-06 晚，两轮）════════
   第一轮用户：「对话页背景过于模糊，转动的球体看不到」「× 和菜单按键改成首页设置 / 日历那种按键」。
   第二轮用户：「顶栏直接不见了，要加一个顶栏的背景」「背景稍微模糊一点点」「球体再清楚一点」「术语库的文字太丑」
     「顶栏下面的 开启翻译 / 术语库 / 数据开启 这些都改成底部『AI 总结』『润色』那种按键，所有的都要统一，换语言就是地球」
     「对话页底部的三个点去掉，里面的内容在数据总结页都有」。
   ① 背景：照片 1px 轻虚化（原 1.5px，第一轮去掉后用户要回一点点），白纱比原来薄；球 opacity 1、点更实（mobile-chat.js / newhome.js 两处 drawSphere 一起改）。
   ② 顶栏 = 一条深色磨砂玻璃（☰ 标题 × 那一行，下沿圆角）。圆钮 = 首页 .round 透明玻璃 + 白图标、标题白字。
      普通对话页 / 面对面 / 群聊画在 .session-header 上；首页录音 / AI 对话画在 .nhs-top::before（它是两行网格，只垫第一行）。收起顶栏时不画。
   ③ 顶栏下那排按键 = newhome.js 的 .nhs-acts button（首页录音暂停时浮出的「AI 总结」「润色」）：浅色磨砂胶囊、深色字、紫色图标。
      普通对话页：本场总结 · 只看… · 术语库 · 数据开启 · 地球；首页录音：地球 · 取消翻译 · 术语库 · 数据开启（AI 对话里是状态胶囊）；
      并排 / 群聊控制条：本场总结（mobile-chat.js 补的）· 数据开启 · 朗读 · 大屏 · 语言；分屏两半：语言 · 数据开启 · 朗读 · 总结（只换材质不改尺寸，分屏每列只有 139px）。
      语言一律是地球：首页录音那颗原来是「文A 英中… ⌄」，改成只放地球（和普通对话页一样，当前语言在弹出的面板里看）。
   ④ 底栏「⋯」在手机对话页藏掉，里面的操作搬进「本场总结」页底部「更多操作」（mobile-chat.js moreHTML）。
   🔴 面对面那几条要压过 newhome.js GLOBAL_CSS 里带 #sessionView / :is(#langBadge…) 的 id 级规则，所以叠了 .mc.mc / .ft-active.ft-active。 */
@media (max-width: 768px) {
  html.mc { --mc-bg: linear-gradient(180deg, rgba(236,242,253,.12) 0%, rgba(236,242,253,.1) 34%, rgba(236,242,253,.2) 70%, rgba(236,242,253,.46) 100%),
                     url("cover-meeting.jpg?v=8") 50% 24% / cover no-repeat;
    --mcb-ink: #15233a; --mcb-ink2: #4a5b73; --mcb-ico: #6a5cf0;
    --mcb-glass: linear-gradient(155deg, rgba(255,255,255,.46) 0%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.3) 100%);
    --mcb-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 16px 28px -20px rgba(255,255,255,.75), inset 0 -18px 30px -24px rgba(120,145,190,.35), 0 14px 30px -20px rgba(16,32,60,.5), 0 2px 6px -2px rgba(16,32,60,.12);
    --mc-bar: linear-gradient(180deg, rgba(16,30,58,.6) 0%, rgba(16,30,58,.4) 100%); }
  html.mc[data-theme="dark"] { --mc-bg: linear-gradient(180deg, rgba(8,14,30,.6) 0%, rgba(8,14,30,.42) 40%, rgba(8,14,30,.52) 72%, rgba(8,14,30,.74) 100%),
                     url("cover-meeting.jpg?v=8") 50% 24% / cover no-repeat;
    --mcb-ink: #f1f5fc; --mcb-ink2: rgba(226,235,248,.76); --mcb-ico: #b9b0ff;
    --mcb-glass: linear-gradient(155deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 55%, rgba(255,255,255,.1) 100%);
    --mcb-shadow: inset 0 1px 1px rgba(255,255,255,.38), inset 0 14px 26px -18px rgba(255,255,255,.2), inset 0 -18px 30px -24px rgba(0,0,0,.35), 0 14px 30px -20px rgba(0,0,0,.6), 0 2px 6px -2px rgba(0,0,0,.25);
    --mc-bar: linear-gradient(180deg, rgba(6,12,26,.7) 0%, rgba(6,12,26,.5) 100%); }
  /* ① 背景轻虚化 1px（四边多铺 2% 免得糊边露底）+ 球 */
  html.mc .session-view:not(.ft-active):not(.nh-live)::before,
  html.mc .session-view.nh-live .nhs-photo { inset: -2%; filter: blur(1px) saturate(110%); }
  html.mc body #sessionView.ft-active::before { inset: -2% !important; filter: blur(1px) saturate(110%) !important; }
  html.mc .mc-sphere, html.mc .mc-bg.has .mc-sphere,
  html.mc #sessionView.nh-live .nhs-sphere, html.mc #sessionView.nh-live.nh-has .nhs-sphere { opacity: 1; }

  /* ② 顶栏背景：深色磨砂玻璃条 */
  html.mc .session-view:not(.ft-active):not(.nh-live):not(.chrome-collapsed) > .session-header,
  html.mc.mc body #sessionView.ft-active.ft-active:not(.chrome-collapsed) > .session-header {
    background: var(--mc-bar) !important; border: 0 !important; border-radius: 0 0 24px 24px;
    -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.14), 0 12px 28px -18px rgba(8,16,36,.65) !important; }
  html.mc.mc .session-view.nh-live > .nhs-top { isolation: isolate; }
  html.mc.mc .session-view.nh-live > .nhs-top::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(62px + env(safe-area-inset-top, 0px)); pointer-events: none;
    background: var(--mc-bar); border-radius: 0 0 24px 24px; -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.14), 0 12px 28px -18px rgba(8,16,36,.65); }
  /* 顶栏下面那排和顶栏之间留一点缝 */
  html.mc .session-view:not(.ft-active):not(.nh-live):not(.chrome-collapsed) > .filter-bar { padding-top: 10px; }

  /* 顶栏上的圆钮：首页 .round 同款（透明玻璃 + 白图标） */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session),
  html.mc .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd),
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header :is(.mobile-nav-btn, #langBadge, .close-session),
  html.mc .session-view.chrome-collapsed:not(.nh-live) > .session-header > #btnChromeToggle {
    color: #fff !important; border: 0 !important;
    background: linear-gradient(160deg, rgba(255,255,255,.32), rgba(255,255,255,.1)) !important;
    -webkit-backdrop-filter: blur(14px) saturate(125%); backdrop-filter: blur(14px) saturate(125%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.7), inset 0 0 0 1px rgba(255,255,255,.22), inset 0 -6px 12px -8px rgba(0,0,0,.25), 0 8px 18px -10px rgba(12,28,56,.5) !important;
    transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s ease; }
  html.mc .session-view.chrome-collapsed:not(.nh-live) > .session-header > #btnChromeToggle { background: var(--mc-bar) !important; }   /* 收起后只剩这颗：本身就当顶栏 */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session),
  html.mc .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd),
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header :is(.mobile-nav-btn, #langBadge, .close-session) { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session) svg,
  html.mc .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd) svg,
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header :is(.mobile-nav-btn, #langBadge, .close-session) :is(svg, .ft-gear),
  html.mc .session-view:not(.nh-live) > .session-header > #btnChromeToggle svg {
    color: #fff !important; stroke: currentColor !important; filter: drop-shadow(0 1px 2px rgba(8,16,36,.45)) !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header :is(.mobile-nav-btn, .close-session):active,
  html.mc .session-view.nh-live > .nhs-top :is(.mc-menu, #nhsEnd):active,
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header :is(.mobile-nav-btn, #langBadge, .close-session):active { transform: scale(.9); }
  html.mc .session-view:not(.nh-live):not(.chrome-collapsed) > .session-header > #btnChromeToggle { color: #fff !important; opacity: .9; background: transparent !important; }
  html.mc.mc body #sessionView.ft-active.ft-active:not(.chrome-collapsed) > .session-header > #btnChromeToggle { box-shadow: none !important; }
  /* 标题：白字 */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input,
  html.mc .session-view.nh-live > .nhs-top .mc-title :is(b, small),
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header .session-title-input {
    color: #fff !important; text-shadow: 0 1px 8px rgba(8,16,36,.45) !important; }
  html.mc .session-view.nh-live > .nhs-top .mc-title small { color: rgba(255,255,255,.78) !important; }
  /* 11-10 标题可以点了改（mobile-chat.js editTitle）：点着时 <b> 藏起来，换成同样字号的输入框 */
  html.mc .session-view.nh-live > .nhs-top .mc-title { cursor: text; }
  html.mc .session-view.nh-live > .nhs-top .mc-title.editing b { display: none; }
  html.mc .session-view.nh-live > .nhs-top .mc-title .mc-tin { display: block; width: 100%; min-width: 9em; margin: 0; padding: 1px 8px; border: 0; border-radius: 10px; outline: none;
    font: inherit; font-size: 1.04rem; font-weight: 700; text-align: center; color: #fff; background: rgba(255,255,255,.2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); text-shadow: 0 1px 8px rgba(8,16,36,.45); }
  html.mc .session-view.nh-live > .nhs-top .mc-title .mc-tin::placeholder { color: rgba(255,255,255,.7); }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input::placeholder { color: rgba(255,255,255,.8); }

  /* ③ 顶栏下那排按键 = 「AI 总结」「润色」那种 */
  html.mc.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar :is(.mc-sumchip, .mc-fpill, .mc-term, .ds-chip, .mc-lang),
  html.mc.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .nhs-aist, .mc-term, .ds-chip),
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl :is(.mc-ftsum, .ds-chip, .ft-tts, .ft-big, .room-lang, .ft-lang-chip),
  html.mc.mc body #sessionView.ft-active.ft-active .ft-half :is(.ft-langbtn, .ds-chip, .ft-tts, .ft-sum) {
    color: var(--mcb-ink) !important; text-shadow: none !important; border: 0 !important;
    background: var(--mcb-glass) !important; box-shadow: var(--mcb-shadow) !important;
    -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05); backdrop-filter: blur(18px) saturate(130%) brightness(1.05); }
  html.mc.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar :is(.mc-sumchip, .mc-fpill, .mc-term, .ds-chip, .mc-lang),
  html.mc.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .nhs-aist, .mc-term, .ds-chip),
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl :is(.mc-ftsum, .ds-chip, .ft-tts, .ft-big, .room-lang, .ft-lang-chip) {
    height: 36px; border-radius: 99px; padding: 0 13px; gap: 6px; font-size: .82rem; font-weight: 600; }
  html.mc.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar :is(.mc-sumchip, .mc-fpill, .mc-term, .ds-chip, .mc-lang) :is(svg, .nhs-ico, .ft-ico),
  html.mc.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .nhs-aist, .mc-term, .ds-chip) :is(svg, .nhs-ico, .ft-ico),
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl :is(.mc-ftsum, .ds-chip, .ft-tts, .ft-big, .room-lang, .ft-lang-chip) :is(svg, .nhs-ico, .ft-ico),
  html.mc.mc body #sessionView.ft-active.ft-active .ft-half :is(.ft-langbtn, .ds-chip, .ft-tts, .ft-sum) :is(svg, .nhs-ico, .ft-ico) { color: var(--mcb-ico) !important; stroke: currentColor; filter: none !important; }
  html.mc.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar :is(.mc-sumchip, .mc-fpill, .mc-term, .ds-chip, .mc-lang):active,
  html.mc.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .nhs-aist, .mc-term, .ds-chip):active,
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl :is(.mc-ftsum, .ds-chip, .ft-tts, .ft-big, .room-lang, .ft-lang-chip):active,
  html.mc.mc body #sessionView.ft-active.ft-active .ft-half :is(.ft-langbtn, .ds-chip, .ft-tts, .ft-sum):active { transform: scale(.94); }
  /* 术语库：没选词库时原来是灰字细体（用户：「太丑」）→ 和别的一样 */
  html.mc.mc .mc-term.none { color: var(--mcb-ink) !important; font-weight: 600; }
  html.mc.mc .mc-term { max-width: 128px; }
  /* 数据关闭时字是橙的，其余照常 */
  html.mc.mc .ds-chip.is-off { color: #c2410c !important; }
  html.mc.mc[data-theme="dark"] .ds-chip.is-off { color: #ffb4a2 !important; }
  /* 首页录音「开启翻译」（关着时）：同一种胶囊，字淡一点 */
  html.mc.mc .session-view.nh-live > .nhs-top .nhs-trans.off { color: var(--mcb-ink2) !important; }
  /* 地球：圆的、只放图标（普通对话页 .mc-lang、首页录音 .nhs-lang） */
  html.mc.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-lang, html.mc.mc .session-view.nh-live > .nhs-top .nhs-lang { width: 36px; min-width: 36px; padding: 0 !important; justify-content: center; }
  html.mc.mc .session-view.nh-live > .nhs-top .nhs-lang > :is(.nhs-lb, .nhs-chev, .nhs-ico:first-child) { display: none !important; }
  html.mc.mc .session-view.nh-live > .nhs-top .nhs-lang::before { content: ""; width: 18px; height: 18px; background: var(--mcb-ico);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") center / contain no-repeat; }
  html.mc.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-lang svg { width: 18px; height: 18px; }

  /* ④ 底栏「⋯」去掉（操作在「本场总结」页底部） */
  html.mc :is(#btnMobileMore, #cbMore) { display: none !important; }   /* 普通对话页是 #btnMobileMore，并排 / 群聊那条底栏是 #cbMore，开的是同一张菜单 */
  html.mc .mc-sum .mc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  html.mc .mc-sum .mc-act { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border: 0; border-radius: 99px; font: inherit; font-size: .84rem; font-weight: 600;
    color: var(--mcb-ink); background: var(--mcb-glass); box-shadow: var(--mcb-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05); backdrop-filter: blur(18px) saturate(130%) brightness(1.05); transition: transform .2s ease; }
  html.mc .mc-sum .mc-act:active { transform: scale(.94); }
  html.mc .mc-sum .mc-act .mm-ico { width: 18px; height: 18px; flex: none; background-color: var(--mcb-ico);
    -webkit-mask: var(--lico) center / contain no-repeat; mask: var(--lico) center / contain no-repeat; }
  html.mc .mc-sum .mc-act.danger { color: #c62828; }
  html.mc .mc-sum .mc-act.danger .mm-ico { background-color: #e0414f; }
  html.mc[data-theme="dark"] .mc-sum .mc-act.danger { color: #ffb4b4; }
  /* 并排 / 群聊控制条里补的那颗「本场总结」：只在手机对话页出现 */
  .mc-ftsum { display: none; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl .mc-ftsum { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; min-width: 36px; padding: 0; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl .mc-ftsum svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
}

/* ════════ 标题加底 + 底栏只剩键盘和麦克风（2026-11-06 晚，第三轮）════════
   用户：「顶栏的主题（标题）增加一个背景进去」「底部的麦克风和键盘你看看怎么放置」。
   ① 标题 = 顶栏深色磨砂条上一块淡白玻璃胶囊（宽度跟着字走：field-sizing: content，不认的浏览器退回默认宽度，照样居中）。
   ② ⋯ 去掉后底栏只剩 [键盘] [麦克风] 两颗，原来那条带半圆凹槽的胶囊右边空一大块、看着歪。改成：
      语音态不画胶囊（::before 藏掉），麦克风照旧在正中，键盘 = 顶栏下那排同款的浅色磨砂圆钮，和麦克风同一条水平中线、
      挨在它左边（离麦克风外圈光环留 30px）。点键盘切到打字（.cbar-text）时胶囊照样出来当输入框，那一套不动。
      普通对话页、面对面并排 / 群聊共用这条底栏；首页录音 / AI 对话是自己的 .nhs-comp，不动。 */
@media (max-width: 768px) {
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input,
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header .session-title-input {
    justify-self: center; flex: 0 1 auto !important; width: auto; field-sizing: content; min-width: 7em; max-width: 100%; height: 36px; padding: 0 18px !important;
    border: 0 !important; border-radius: 99px !important;
    background: rgba(255,255,255,.14) !important; box-shadow: inset 0 1px 1px rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.16) !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-header .session-title-input:focus,
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header .session-title-input:focus { background: rgba(255,255,255,.24) !important; }
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header #langBadge { margin-left: auto !important; }   /* 标题缩成字宽后 ⚙ × 还贴右边 */
  html.mc .session-view.nh-live > .nhs-top .mc-title { justify-self: center; max-width: 100%; padding: 5px 18px; border-radius: 18px;
    background: rgba(255,255,255,.14); box-shadow: inset 0 1px 1px rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.16); }

  html.mc .session-view:not(.nh-live) > .session-footer:not(.cbar-text)::before { display: none; }
  html.mc .session-view:not(.nh-live) > .session-footer:not(.cbar-text) > .cb-toggle {
    position: absolute; z-index: 2; left: calc(50% - 106px); bottom: 40px; width: 44px; height: 44px; margin: 0;
    color: var(--mcb-ink) !important; border: 0 !important; background: var(--mcb-glass) !important; box-shadow: var(--mcb-shadow) !important;
    -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05); backdrop-filter: blur(18px) saturate(130%) brightness(1.05); }
  html.mc .session-view:not(.nh-live) > .session-footer:not(.cbar-text) > .cb-toggle svg { color: var(--mcb-ink); }
  html.mc .session-view:not(.nh-live) > .session-footer:not(.cbar-text) > .cb-toggle:active { transform: scale(.92); }
}

/* ════════ 面对面 / 底栏 / 译文（2026-11-06 晚，第四轮）════════
   用户：「面对面翻译的标题居中」「设置的图标改成可以转换成并排和群聊的模式」「地球转换语言的图标改到底部麦克风的右边」
        「截屏 7：麦克风挡住文字」「翻译后的文字不明显」。
   ① 面对面顶栏标题绝对居中（顶栏是 flex：☰ 在左、⚙ × 在右，两边不一样宽，放在流里永远偏左）；
   ② ⚙ 的图标换成「切换布局」（一个分成两栏的框 + 左右箭头）：点开还是原来那张菜单，最上面就是 分屏 / 并排 / 建群；
   ③ 地球 = mobile-chat.js 在底栏补的 .mc-flang，和左边键盘对称（麦克风半径 32 + 离光环 30）；上面那排原来的地球 / 「中文 ⇄ English」/ 群聊语言键在手机上藏掉（原件留着给它点）；
   ④ 并排 / 群聊说话时的实时字幕框（.ft-live）原来贴着底栏，被抬高的麦克风、键盘和右下角小球盖住 → 底部让出 80px；
   ⑤ 译文行加深加粗：面对面气泡 .ft-lbub .tr（原来 #9093a8 灰在磨砂上几乎看不见）、普通对话页 .inline-trans .txt。等待中 / 失败 / 过期的那几种状态色不动。 */
.mc-flang { display: none; }
@media (max-width: 768px) {
  /* ① */
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header { position: relative; }
  /* 11-09：标题（下一条）早就是 13px + 安全区，顶栏本身却没让安全区 → 刘海屏（主屏幕网页 App、横屏）上 ☰ ⚙ × 压在状态栏里、标题掉到第二排上 */
  html.mc.mc body #sessionView.ft-active.ft-active:not(.chrome-collapsed) > .session-header { padding-top: calc(11px + env(safe-area-inset-top, 0px)); }
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header .session-title-input {
    position: absolute !important; z-index: 1; left: 50%; top: calc(13px + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
    max-width: calc(100% - 236px); text-align: center; text-overflow: ellipsis; }
  /* ② 11-10：图标从「两栏 + 左右箭头」换成两道循环箭头 = 在这一页切换视图（菜单只剩分屏 / 并排 / 建群，见 index.html ftOpenSettings 的 viewOnly） */
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header #langBadge > * { display: none !important; }
  html.mc.mc body #sessionView.ft-active.ft-active > .session-header #langBadge::before { content: ""; width: 21px; height: 21px; background: #fff;
    filter: drop-shadow(0 1px 2px rgba(8,16,36,.45));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2.5 3.5 3.5L17 9.5'/%3E%3Cpath d='M3.5 11.5V10a4 4 0 0 1 4-4h13'/%3E%3Cpath d='m7 21.5-3.5-3.5L7 14.5'/%3E%3Cpath d='M20.5 12.5V14a4 4 0 0 1-4 4h-13'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2.5 3.5 3.5L17 9.5'/%3E%3Cpath d='M3.5 11.5V10a4 4 0 0 1 4-4h13'/%3E%3Cpath d='m7 21.5-3.5-3.5L7 14.5'/%3E%3Cpath d='M20.5 12.5V14a4 4 0 0 1-4 4h-13'/%3E%3C/svg%3E") center / contain no-repeat; }
  /* ③ */
  html.mc .session-view:not(.nh-live) > .session-footer:not(.cbar-text) > .mc-flang {
    display: grid; place-items: center; position: absolute; z-index: 2; left: calc(50% + 62px); bottom: 40px; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 50%;
    color: var(--mcb-ico); background: var(--mcb-glass); box-shadow: var(--mcb-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05); backdrop-filter: blur(18px) saturate(130%) brightness(1.05); transition: transform .2s ease; }
  html.mc .session-footer > .mc-flang svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  html.mc .session-footer > .mc-flang:active { transform: scale(.92); }
  html.mc.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-lang,
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl:not(#dv4Tbar) :is(#ftLangChip, #roomLangChip) { display: none !important; }
  /* ④ */
  html.mc.mc body #sessionView.ft-active.ft-active.ft-barmic :is(.ft-body.ft-list > .ft-live, .ft-live.room-live) { margin-bottom: 80px !important; }
  /* ⑤ */
  html.mc .ft-lbub .tr:not(.ftx-pend):not(.ftx-fail):not(.ftx-stale) { color: #26354f !important; font-size: 13.5px; font-weight: 500; opacity: 1; }
  html.mc[data-theme="dark"] .ft-lbub .tr:not(.ftx-pend):not(.ftx-fail):not(.ftx-stale) { color: rgba(236,242,252,.92) !important; }
  html.mc .session-view:not(.ft-active) .entry .entry-main .inline-trans > .txt { color: #26354f !important; font-weight: 500; }
  html.mc[data-theme="dark"] .session-view:not(.ft-active) .entry .entry-main .inline-trans > .txt { color: rgba(236,242,252,.9) !important; }
}

/* ════════ 第五轮（2026-11-06 晚）════════
   用户：「面对面翻译的背景提示『点下方麦克风开始说话』这两句话太模糊，看不到字」「麦克风旁边的地球改成好看一点的，和键盘一样、和麦克风对称」。
   ① 空白提示 .ft-empty（并排 / 群聊列表、分屏两半）原来是 #5a6a82 灰字直接压在照片和转动的球上 → 放进一块磨砂玻璃小卡片、深色字；
   ② 底栏地球：位置本来就对称（键盘 / 地球中心离麦克风中心都是 84px），看着不对称是因为图标是细紫线、键盘是深色 —— 改成和键盘同色（--mcb-ink）、同大小、同粗细，图标换成完整经纬线（mobile-chat.js FGLOBE）。 */
@media (max-width: 768px) {
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty {
    align-self: center; max-width: min(320px, calc(100% - 32px)); margin: auto; padding: 14px 18px !important; border-radius: 18px;
    color: #15233a !important; font-size: 15px; font-weight: 700; line-height: 1.5; text-shadow: none !important;
    background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 14px 30px -20px rgba(16,32,60,.55); }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty .ft-empty-note { margin-top: 6px; color: #3b4a63 !important; font-size: 12.5px; font-weight: 500; text-shadow: none !important; }
  html.mc.mc[data-theme="dark"] body #sessionView.ft-active.ft-active .ft-empty { color: #f1f5fc !important; background: rgba(20,28,48,.66); box-shadow: inset 0 1px 1px rgba(255,255,255,.12), 0 14px 30px -20px rgba(0,0,0,.7); }
  html.mc.mc[data-theme="dark"] body #sessionView.ft-active.ft-active .ft-empty .ft-empty-note { color: rgba(226,235,248,.8) !important; }
  /* 11-20 并排提示卡里的「两人对坐？切换为分屏」：卡片的 color !important 会盖掉按钮的蓝字，这里按同样的层级把蓝字拿回来 */
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty .ft-to-split { color: #2f6bea !important; text-shadow: none !important; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty .ft-to-split :is(span, svg, svg *) { color: inherit !important; -webkit-text-fill-color: currentColor; }
  html.mc.mc[data-theme="dark"] body #sessionView.ft-active.ft-active .ft-empty .ft-to-split { color: #a8caff !important; }
  /* 11-10 用户（群聊截图）：「进群成功这里的背景太深了，盖住了背后的球；文字排版也不好看」→ 空态小卡整体调淡（.66 → .4，暗色 .66 → .42）、字小一号；
     群聊那张（.ft-room-empty）不再压在球上：挪到列表底部、麦克风上方，短句一行 + 小字一行（文案见 index.html FT_ROOM_HINT_SHORT / FT_ROOM_NOTE）。 */
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty { background: rgba(255,255,255,.4); font-size: 14px; font-weight: 600; line-height: 1.45; padding: 11px 16px !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.75), 0 10px 24px -18px rgba(16,32,60,.45); }
  html.mc.mc[data-theme="dark"] body #sessionView.ft-active.ft-active .ft-empty { background: rgba(20,28,48,.42); }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty .ft-empty-note { margin-top: 3px; font-size: 12px; font-weight: 500; line-height: 1.45; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty.ft-room-empty { margin: auto auto 12px; max-width: min(300px, calc(100% - 40px)); text-wrap: balance; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty.ft-room-empty .ft-empty-note { max-width: none; text-wrap: pretty; }
  /* 11-13 用户（并排截图）：「面对面并排和群聊的提示放在背景下面，不要挡住球体；不要换行，两行就够了，别变成三行」
     → 并排那张（.ft-low）也挪到列表底部、麦克风上方；两张卡都是「主提示一行 + 小字一行」，每行不折（文案已缩短，见 index.html FT_UILANG_NOTE）；
     卡片宽度随文字走，最宽到屏幕减 24px。特别长的外语小字（.long）才允许折行。 */
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty:is(.ft-low, .ft-room-empty) { margin: auto auto 12px; width: max-content; max-width: calc(100% - 24px); text-wrap: nowrap; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty:is(.ft-low, .ft-room-empty) :is(.ft-empty-main, .ft-empty-note:not(.long)) { white-space: nowrap; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-empty:is(.ft-low, .ft-room-empty) .ft-empty-note.long { white-space: normal; text-wrap: pretty; }
  @media (max-width: 340px) { html.mc.mc body #sessionView.ft-active.ft-active .ft-empty:is(.ft-low, .ft-room-empty) { font-size: 13px; } html.mc.mc body #sessionView.ft-active.ft-active .ft-empty:is(.ft-low, .ft-room-empty) .ft-empty-note { font-size: 11px; } }
  html.mc .session-view:not(.nh-live) > .session-footer:not(.cbar-text) > .mc-flang { color: var(--mcb-ink); }
  html.mc .session-footer > .mc-flang svg { width: 22px; height: 22px; stroke-width: 1.7; }
}

/* ════════ 11-10 本场总结：总结存在会话上 + 待办 / 决议 × 移出 + AI 提示词（mobile-chat.js「本场 AI 总结」那段）════════
   × = 移出待办 / 决议（index.html unmarkEntry，toast 里能撤销）；「AI」小标 = 从总结里同步过来的；提示词面板 .aip-* 换成本页的白玻璃配色。 */
@media (max-width: 768px) {
  html.mc .mc-sec li.mc-rmrow { display: flex; align-items: center; gap: 4px; }
  html.mc .mc-sec li.mc-rmrow > button[data-go] { flex: 1; min-width: 0; }
  html.mc .mc-sec li button .mc-aitag { display: inline-block; vertical-align: 2px; margin-right: 5px; }
  /* 11-17 截止日：待办下面一行 + × 左边的日历钮（透明原生日期框盖在上面） */
  html.mc .mc-sum .mc-sec li button small.mc-due { font-weight: 700; color: #b45309; }
  html.mc .mc-sum .mc-sec li button small.mc-due.late { color: #dc2626; }
  html.mc[data-theme="dark"] .mc-sum .mc-sec li button small.mc-due { color: #fbbf77; }
  html.mc[data-theme="dark"] .mc-sum .mc-sec li button small.mc-due.late { color: #f87171; }
  html.mc .mc-sum .mc-sec li .mc-dueb { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--sp-ink2); background: rgba(255,255,255,.5); }
  html.mc[data-theme="dark"] .mc-sum .mc-sec li .mc-dueb { background: rgba(255,255,255,.1); }
  html.mc .mc-sum .mc-sec li .mc-dueb.on { color: #b45309; }
  html.mc[data-theme="dark"] .mc-sum .mc-sec li .mc-dueb.on { color: #fbbf77; }
  html.mc .mc-sum .mc-sec li .mc-dueb svg { width: 17px; height: 17px; }
  html.mc .mc-sum .mc-sec li .mc-dueb input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; }
  html.mc .mc-sum .mc-sec li button.mc-unmark { flex-shrink: 0; width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; line-height: 1; text-align: center;
    color: var(--sp-ink2); background: rgba(255,255,255,.5); transition: background .15s, color .15s, scale .22s cubic-bezier(.34,1.56,.64,1); }
  html.mc .mc-sum .mc-sec li button.mc-unmark:active { scale: .84; color: #dc2626; background: rgba(255,255,255,.9); }
  html.mc[data-theme="dark"] .mc-sum .mc-sec li button.mc-unmark { background: rgba(255,255,255,.1); }
  html.mc[data-theme="dark"] .mc-sum .mc-sec li button.mc-unmark:active { color: #f87171; background: rgba(255,255,255,.18); }
  html.mc .mc-sum .mc-ai-when { margin: 6px 0 0; font-size: .7rem; color: var(--sp-ink2); }
  html.mc .mc-sum .mc-ai-sync { margin: 8px 0 0; font-size: .74rem; font-weight: 600; color: #047857; }
  html.mc[data-theme="dark"] .mc-sum .mc-ai-sync { color: #6ee7b7; }
  html.mc .mc-sum .mc-ai-note .sum-failed { padding: 12px 6px 10px; }
  html.mc .mc-sum .mc-ai-note .sum-failed .sf-ico { font-size: 22px; margin-bottom: 6px; }
  html.mc .mc-sum .mc-ai-note .sum-failed .sf-title { font-size: .86rem; color: var(--sp-ink); }
  html.mc .mc-sum .mc-ai-note .sum-failed .sf-body { margin-bottom: 10px; color: var(--sp-ink2); }
  html.mc .mc-sum .mc-ai-note .sum-failed button { height: 32px; padding: 0 18px; border: 0; border-radius: 99px; font: inherit; font-size: .78rem; font-weight: 700; color: #fff; background: #1d2b42; }
  html.mc[data-theme="dark"] .mc-sum .mc-ai-note .sum-failed button { color: #1d2b42; background: #fff; }
  html.mc .mc-sum .mc-aip { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(30,48,76,.1); }
  html.mc[data-theme="dark"] .mc-sum .mc-aip { border-top-color: rgba(255,255,255,.1); }
  html.mc .mc-sum .aip-open { border: 1px dashed rgba(30,48,76,.25); background: rgba(255,255,255,.42); color: var(--sp-ink); border-radius: 16px; }
  html.mc[data-theme="dark"] .mc-sum .aip-open { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
  html.mc .mc-sum :is(.aip-open small, .aip-meta, .aip-load, .aip-fail span) { color: var(--sp-ink2); }
  html.mc .mc-sum .aip-h b { color: var(--sp-ink); font-size: .9rem; }
  html.mc .mc-sum .aip-btn { height: 32px; border: 0; color: #1d2b42; background: rgba(255,255,255,.86); }
  html.mc .mc-sum .aip-btn.aip-ico { width: 32px; }
  html.mc .mc-sum .aip-btn.pri { color: #fff; background: #1d2b42; }
  html.mc[data-theme="dark"] .mc-sum .aip-btn { color: var(--sp-ink); background: rgba(255,255,255,.14); }
  html.mc[data-theme="dark"] .mc-sum .aip-btn.pri { color: #1d2b42; background: #fff; }
  /* 16px：iOS 小于 16px 的输入框一聚焦就整页放大（红线「手机缩放」） */
  html.mc .mc-sum .aip-need { height: 38px; font-size: 16px; border: 0; border-radius: 12px; color: var(--sp-ink); background: rgba(255,255,255,.7); }
  html.mc[data-theme="dark"] .mc-sum .aip-need { background: rgba(255,255,255,.1); }
  html.mc .mc-sum .aip-form .aip-btn { height: 38px; }
  html.mc .mc-sum .afu-form2 .aip-btn { height: 36px; }   /* 11-19 邮件：发给 / 类型 / 语言 / 语气 */
  html.mc .mc-sum .afu-lb { color: var(--sp-ink); opacity: .78; padding-top: 8px; }
  html.mc .mc-sum .aip-out { max-height: 260px; color: var(--sp-ink); background: rgba(255,255,255,.5); border-radius: 14px; }
  html.mc[data-theme="dark"] .mc-sum .aip-out { background: rgba(255,255,255,.08); }
}

/* ── 对话列表的滚动条放左边（11-10 用户：「对话页拉取的上下进度条换在左边，目前挡住了小球」）──
   右下角是角落小球，原来滚动条在右边正好压在它后面，拖不到也挡视线。做法：滚动容器 direction: rtl（滚动条跟着书写方向跑到左边），
   里面每一块再设回 ltr，内容排版不变。普通对话页 / 首页录音 / AI 对话的列表是 #sessionBody，并排 / 群聊是 .ft-body > .ft-list
   （外层那个同名的 .ft-list 不算，见 CLAUDE.md 红线）。分屏历史区本来就藏原生滚动条、用自绘的，不受影响。
   🔴 群聊 / 并排的气泡靠 align-self: flex-start / flex-end 分左右，rtl 下两者会对调 → 下面两条显式写回来（实测改前改后左右一致）。 */
@media (max-width: 768px) {
  html.mc .session-view #sessionBody, html.mc .session-view .ft-body > .ft-list { direction: rtl; }
  html.mc .session-view #sessionBody > *, html.mc .session-view .ft-body > .ft-list > * { direction: ltr; }
  html.mc .session-view .ft-body > .ft-list > .ft-lrow.right { align-self: flex-start !important; }
  html.mc .session-view .ft-body > .ft-list > .ft-lrow.left { align-self: flex-end !important; }
}

/* ════════ 识别完冒出「AI 总结 / 润色」（11-10，mobile-chat.js .mc-acts）════════
   普通对话页 / 面对面并排：麦克风（76px，顶在离底 100px）上面一排两颗玻璃胶囊 + 一颗 ×，和首页录音那层皮的 .nhs-acts 长得一样。
   出来时对话列表底部多让 56px，最后一条气泡不被挡。只在出现那一下有个上浮，没有循环动画。 */
.mc-acts { display: none; }
@media (max-width: 768px) {
  html.mc .session-view > .mc-acts:not([hidden]) { display: flex; position: absolute; z-index: 6; left: 0; right: 0; bottom: calc(116px + env(safe-area-inset-bottom, 0px));
    justify-content: center; gap: 10px; padding-right: 56px; pointer-events: none; animation: mcActsIn .35s cubic-bezier(.22,1,.36,1) both; }
  html.mc .session-view > .mc-acts button { pointer-events: auto; height: 42px; padding: 0 18px; border: 0; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px;
    font: inherit; font-size: .86rem; font-weight: 600; color: var(--mcb-ink, #1d2b42); background: var(--mcb-glass, rgba(255,255,255,.7)); box-shadow: var(--mcb-shadow, 0 10px 24px -14px rgba(15,35,80,.5));
    transition: transform .2s ease; }
  html.mc .session-view > .mc-acts button:active { transform: scale(.94); }
  html.mc .session-view > .mc-acts svg { width: 18px; height: 18px; fill: none; stroke: #6a5cf0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  html.mc[data-theme="dark"] .session-view > .mc-acts svg { stroke: #b9b0ff; }
  html.mc .session-view > .mc-acts .mc-actx { width: 42px; padding: 0; justify-content: center; }
  html.mc .session-view > .mc-acts .mc-actx svg { stroke: currentColor; opacity: .7; }
  /* 让多少 = mobile-chat.js fit() 按浮条真实位置量（--mc-acts-pad）；量到之前先按常见值 100px（11-11：写死 56px 时浮条盖住最后一句） */
  html.mc .session-view.mc-acts-on > .session-body { padding-bottom: var(--mc-acts-pad, 100px) !important; }
  /* 窄屏（320 宽老 SE）：胶囊缩一点、右边多让，别伸到右下角小球底下 */
  @media (max-width: 360px) {
    html.mc .session-view > .mc-acts:not([hidden]) { gap: 8px; padding-right: 72px; }
    html.mc .session-view > .mc-acts button { height: 38px; padding: 0 13px; gap: 6px; font-size: .8rem; }
    html.mc .session-view > .mc-acts .mc-actx { width: 38px; }
  }
  @keyframes mcActsIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ════════ 顶栏减负（11-11 用户：「我的顶部太多东西了」）════════
   ① 「术语库」不在标题下那排占位了：底部 🌐 打开的语言弹窗里本来就有「术语库」一项（index.html renderDlgTermBase），在那里选；
   ② 群聊的「大屏」收进右上角 ⇄ 菜单（index.html ftOpenSettings 的 viewOnly）；
   ③ 「朗读」开关手机上不渲染了（index.html ftTtsBtnHTML），改成每条气泡旁边一颗小喇叭。
   「数据开启」留着字：用户 09-02 要求过「改成数据开启、关闭，用户才能看得清」，去掉另外几颗以后这一排放得下。 */
@media (max-width: 768px) {
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-term-row { display: none !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-term-row ~ .ds-chip { margin-left: auto; }
  html.mc body #sessionView.ft-active .ft-ctrl .ft-big { display: none !important; }
  /* ④ 首页录音那层皮（.nh-live）第二排原来是 🌐 · 取消翻译 · 术语库 · 数据开启：
       🌐 和底栏右边那颗地球是同一个弹窗（newhome.js openLang），去掉上面这颗；「取消翻译」在那个弹窗的「翻译」页签里（「不翻译」一项）；
       术语库挪进那个弹窗（两个页签下面一行）。第二排只剩「数据开启」（AI 对话时还有那颗 AI 状态）。 */
  html.mc .session-view.nh-live > .nhs-top :is(.nhs-lang, .nhs-trans, .mc-term-live) { display: none !important; }
  /* ⑤ AI 对话第二排那颗「AI · 麦克风已关闭 / 正在聆听…」状态胶囊也撤（11-12 用户：「去掉麦克风关闭的顶栏文字的显示」；
       「AI 对话 / 实时转写」切换挪上第二排以后它还和切换叠在一起）。状态只在标题下那行小字里出，关着的时候不出（mobile-chat.js adoptLive） */
  html.mc .session-view.nh-live > .nhs-top .nhs-aist { display: none !important; }
}

/* ════════ 11-11 第四轮（用户：「去掉麦克风上方的 AI 总结和润色，润色放在总结按键旁边」「底部的背景不能占对话页的空间」
   「首页的 AI 对话和实时转写放上去顶栏（数据开启这栏）」「数据开启不是修改云朵的图标吗」「并排的数据总结按键怎么在右边」）════════ */
@media (max-width: 768px) {
  /* ① 润色 = 本场总结旁边一颗同款胶囊（mobile-chat.js mountSum .mc-polchip）；没内容时藏 */
  html.mc #sessionView .mc-polchip[hidden] { display: none !important; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .filter-bar .mc-polchip:not([hidden]) { display: inline-flex; }
  /* ② 并排 / 群聊：本场总结（带字）+ 润色在左（.mc-ftleft），右边 数据开启 · 语言 */
  html.mc.mc body #sessionView.ft-active .ft-ctrl:not(#dv4Tbar) .mc-ftleft { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; min-width: 0; }
  html.mc.mc body #sessionView.ft-active .ft-ctrl:not(#dv4Tbar) .room-meta { flex: 0 1 auto; }
  html.mc.mc body #sessionView.ft-active.ft-active .ft-ctrl .mc-ftsum:not(.ico) { width: auto; min-width: 0; padding: 0 13px 0 10px; gap: 6px; }
  html.mc.mc body #sessionView :is(.ft-ctrl .mc-ftleft, .nhs-top .mc-nhacts) > .mc-polchip:not([hidden]),
  html.mc.mc body #sessionView .nhs-top .mc-nhacts > .mc-ftsum {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; height: 36px; padding: 0 13px 0 10px; border: 0; border-radius: 99px;
    font: inherit; font-size: .82rem; font-weight: 600; color: var(--mcb-ink) !important; text-shadow: none !important;
    background: var(--mcb-glass) !important; box-shadow: var(--mcb-shadow) !important;
    -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05); backdrop-filter: blur(18px) saturate(130%) brightness(1.05); }
  html.mc.mc body #sessionView .nhs-top .mc-nhacts > .mc-ftsum.ico { width: 36px; padding: 0; }
  html.mc.mc body #sessionView :is(.ft-ctrl .mc-ftleft, .nhs-top .mc-nhacts) > button svg { width: 15px; height: 15px; fill: none; stroke: var(--mcb-ico) !important; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  html.mc.mc body #sessionView :is(.ft-ctrl .mc-ftleft, .nhs-top .mc-nhacts) > button:active { transform: scale(.94); }

  /* ③ 首页录音那层皮：第二排 = [AI 对话 | 实时转写] …… 本场总结 · 润色 · 云朵。切换原来单独一排（顶栏下 110px），挪上来，列表跟着往上 */
  html.mc .session-view.nh-live > .nhs-top .mc-nhacts { display: inline-flex; align-items: center; gap: 6px; grid-row: 2; grid-column: 2 / -2; justify-self: end; }
  html.mc .session-view.nh-live.biz-ai > .nhs-top .mc-nhacts { display: none; }
  html.mc .session-view.nh-live > .nhs-top .ds-chip { grid-column: -2 / -1; justify-self: end; }
  /* 麦克风上方那条「AI 总结 / 润色」（newhome.js .nhs-acts）也不出了；AI 对话里它只剩「停止生成」，照旧 */
  html.mc .session-view.nh-live:not(.biz-ai) > .nhs-acts { display: none !important; }
  html.mc .session-view.nh-live.nh-chat > .nhs-seg { top: calc(58px + env(safe-area-inset-top, 0px)); left: 14px; transform: none; }
  html.mc .session-view.nh-live.nh-chat > .nhs-seg button { padding: 0 11px; }
  html.mc .session-view.nh-live.nh-chat { padding-top: calc(102px + env(safe-area-inset-top, 0px)); }
  html.mc .session-view.nh-live.nh-chat > .nhs-tip:not([hidden]) { top: calc(104px + env(safe-area-inset-top, 0px)); }
  @media (max-width: 380px) {   /* 窄屏：切换只留字、润色只留图标，免得和右边那几颗挤在一起 */
    html.mc .session-view.nh-live.nh-chat > .nhs-seg button { padding: 0 10px; }
    html.mc .session-view.nh-live.nh-chat > .nhs-seg button svg { display: none; }
    html.mc.mc body #sessionView .nhs-top .mc-nhacts > .mc-polchip span { display: none; }
    html.mc.mc body #sessionView .nhs-top .mc-nhacts > .mc-polchip { width: 36px; padding: 0; }
  }

  /* ④ 数据开启 / 关闭 = 一颗云朵图标（字收进 title / aria-label）：开着 = 云 + 右上角呼吸的绿点；关着 = 斜杠云 + 橙点。
     手机上所有的「数据开启」都是这一颗：普通对话页、首页录音、并排 / 群聊、分屏两半。原来的 ::before 绿点 / ::after 呼吸圈改成：::before = 云，::after = 角上的点 */
  /* inset: auto —— 普通对话页原来是 sticky + right: 38px（给后面那颗地球让位），改成 relative 后那 38px 会把云朵往左推（用户：「数据开启的图标需要置右边」） */
  html.mc #sessionView .ds-chip { position: relative !important; inset: auto !important; width: 36px !important; min-width: 36px !important; height: 36px !important; padding: 0 !important; gap: 0 !important;
    justify-content: center !important; border-radius: 50% !important; }
  html.mc #sessionView .ds-chip :is(.ds-lb, .nhs-dot, svg) { display: none !important; }
  html.mc #sessionView .ds-chip::before { content: "" !important; position: static !important; display: block !important; width: 19px !important; height: 19px !important; margin: 0 !important;
    border-radius: 0 !important; box-shadow: none !important; animation: none !important; background: var(--mcb-ico, #6a5cf0) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 0 0 .5-8.97 6 6 0 0 0-11.66-1.5A4 4 0 0 0 6.5 19z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 0 0 .5-8.97 6 6 0 0 0-11.66-1.5A4 4 0 0 0 6.5 19z'/%3E%3C/svg%3E") center / contain no-repeat; }
  html.mc #sessionView .ds-chip.is-off::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 0 0 .5-8.97 6 6 0 0 0-11.66-1.5A4 4 0 0 0 6.5 19z'/%3E%3Cpath d='M3.5 3.5 20.5 20.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 0 0 .5-8.97 6 6 0 0 0-11.66-1.5A4 4 0 0 0 6.5 19z'/%3E%3Cpath d='M3.5 3.5 20.5 20.5'/%3E%3C/svg%3E") center / contain no-repeat;
    background: #c2410c !important; }
  html.mc[data-theme="dark"] #sessionView .ds-chip.is-off::before { background: #ffb4a2 !important; }
  html.mc #sessionView .ds-chip::after { content: "" !important; position: absolute !important; z-index: 1 !important; left: auto !important; top: 7px !important; right: 6px !important;
    width: 7px !important; height: 7px !important; border-radius: 50% !important; pointer-events: none; opacity: 1 !important;
    background: #22c55e !important; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85) !important; animation: mcDsDot 2.2s ease-in-out infinite !important; }
  html.mc[data-theme="dark"] #sessionView .ds-chip::after { box-shadow: 0 0 0 1.5px rgba(20,30,50,.85) !important; }
  html.mc #sessionView .ds-chip.is-off::after { background: #f97316 !important; animation: none !important; }
  /* 分屏下半屏：原来「云朵 · ✨总结」（row-reverse），云朵也挪到最右（上半屏转了 180°，对面看过去云朵本来就在他的右边） */
  html.mc #sessionView .ft-half.ft-bottom .ft-bar .ft-sum-grp { flex-direction: row !important; }
  @keyframes mcDsDot { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .7; opacity: .55; } }

  /* ⑤ 底栏不再占列表的地方：列表一直铺到屏幕底（从键盘 / 麦克风 / 地球后面穿过去），底部留白 = 让最后一句停在麦克风上面；
     滚上去时底栏后面的气泡渐渐变淡，按钮还看得清。普通对话页：底栏 56 高 + 底边 14 + 安全区，麦克风再高出底栏 44px。 */
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-footer { z-index: 5; }
  html.mc .session-view:not(.ft-active):not(.nh-live) > .session-body {
    margin-bottom: calc(-70px - env(safe-area-inset-bottom, 0px)) !important; padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 130px), rgba(0,0,0,.18) calc(100% - 30px)); mask-image: linear-gradient(180deg, #000 calc(100% - 130px), rgba(0,0,0,.18) calc(100% - 30px)); }
  /* 首页录音：底栏（.nhs-comp）同理；打字的时候（.nh-typing，底栏是输入框）照旧 */
  html.mc .session-view.nh-live.nh-live:not(.nh-typing) > .session-body {
    margin-bottom: 0 !important; padding-bottom: calc(134px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 136px), rgba(0,0,0,.18) calc(100% - 30px)); mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 136px), rgba(0,0,0,.18) calc(100% - 30px)); }
}

/* ════════ 语言选择 / 术语库：统一成白色透明磨砂（11-12 用户：「所有对话页的地球语言选择都输出成（语言设置那张），背景要白色透明磨砂，
   术语库的选择也一样，需要统一的背景和样式」）════════
   样子 = newhome.js 的 .sheet.frost（语言设置）：底部抽屉、顶上一根小横条、大号细体标题、轨道里一颗白胶囊的页签、胶囊搜索框、
   圆角分组列表、右边圆圈勾选（选中 = 品牌蓝实心 + 白勾）。改这里要和 newhome.js frost 那组一起改。
   ① 面对面 / 群聊的「选择语言」（index.html ftOpenLangPicker / 群聊「选择我的语言」，类名 .ft-lp*，逻辑不动）
   ② 术语库抽屉（termPick.js .tpk.sheet） */
@media (max-width: 768px) {
  html.mc { --fr-ink: #17233a; --fr-ink2: rgba(23,35,58,.64); --fr-ink3: rgba(23,35,58,.44); --fr-line: rgba(23,35,58,.06);
    /* 11-18 用户：「群聊地球里选择语言的窗口透过文字了」—— 不少安卓 / 鸿蒙内置浏览器认 backdrop-filter 写法却不画模糊，
       原来 64～76% 的白底挡不住后面的聊天字；提到 93～95%（会糊的浏览器上看着几乎一样） */
    --fr-bg: linear-gradient(165deg, rgba(255,255,255,.95) 0%, rgba(246,249,253,.93) 52%, rgba(236,241,250,.94) 100%);
    --fr-shadow: 0 -18px 44px -20px rgba(8,18,40,.38), inset 0 1px 1px rgba(255,255,255,.95);
    --fr-group: rgba(255,255,255,.5); --fr-group-ring: rgba(255,255,255,.75); --fr-track: rgba(23,35,58,.08); --fr-field: rgba(255,255,255,.62); --fr-field-ring: rgba(23,35,58,.1);
    --fr-ring: rgba(23,35,58,.28); --fr-grab: rgba(23,35,58,.2); --fr-chip: rgba(255,255,255,.66); }
  html.mc[data-theme="dark"] { --fr-ink: #f1f5fc; --fr-ink2: rgba(226,235,248,.74); --fr-ink3: rgba(226,235,248,.5); --fr-line: rgba(255,255,255,.07);
    --fr-bg: linear-gradient(165deg, rgba(64,78,106,.95) 0%, rgba(36,46,70,.96) 55%, rgba(22,28,46,.97) 100%);
    --fr-shadow: 0 -18px 44px -20px rgba(0,0,0,.6), inset 0 1px 1px rgba(255,255,255,.2);
    --fr-group: rgba(255,255,255,.06); --fr-group-ring: rgba(255,255,255,.1); --fr-track: rgba(0,0,0,.24); --fr-field: rgba(255,255,255,.1); --fr-field-ring: rgba(255,255,255,.16);
    --fr-ring: rgba(255,255,255,.4); --fr-grab: rgba(255,255,255,.4); --fr-chip: rgba(255,255,255,.12); }
  /* 勾：白色对勾（选中时铺在品牌蓝圆上） */
  html.mc { --fr-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }

  /* ① 面对面 / 群聊「选择语言」 */
  html.mc .ft-lp-mask { background: rgba(8,16,32,.28); }
  html.mc .ft-lp, html.mc[data-theme="dark"] .ft-lp {
    position: relative; max-height: 86dvh; display: flex; flex-direction: column; padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 30px 30px 0 0;
    color: var(--fr-ink); background: var(--fr-bg); box-shadow: var(--fr-shadow);
    -webkit-backdrop-filter: blur(34px) saturate(160%); backdrop-filter: blur(34px) saturate(160%); }
  html.mc .ft-lp::before { content: ""; display: block; flex-shrink: 0; width: 40px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: var(--fr-grab); }
  html.mc .ft-lp-h { margin: 0 4px 14px; font-size: 1.7rem; font-weight: 300; letter-spacing: .01em; color: var(--fr-ink); }
  html.mc .ft-lp-sides { display: flex; gap: 4px; margin: 0 0 12px; padding: 4px; border-radius: 99px; background: var(--fr-track); box-shadow: inset 0 1px 3px rgba(8,18,40,.1); }
  html.mc .ft-lp-side, html.mc[data-theme="dark"] .ft-lp-side { flex: 1; min-width: 0; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; padding: 9px 6px; border: 0; border-radius: 99px;
    font: inherit; font-size: .84rem; color: var(--fr-ink2); background: transparent; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.mc .ft-lp-side span, html.mc .ft-lp-side b { font-size: inherit; font-weight: inherit; color: inherit !important; margin: 0; white-space: nowrap; }
  html.mc .ft-lp-side b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  html.mc .ft-lp-side b::before { content: "· "; }
  html.mc .ft-lp-side.active, html.mc[data-theme="dark"] .ft-lp-side.active { color: #17233a; background: #fff; box-shadow: 0 6px 14px -6px rgba(8,18,40,.35); }
  /* 11-18 群聊「选择我的语言」里的术语库那一行：和搜索框同一种胶囊 */
  html.mc .ft-lp-term { height: 46px; margin: 0 0 12px; padding: 0 16px; border-radius: 99px; font-size: .92rem; color: var(--fr-ink); background: var(--fr-field); box-shadow: inset 0 0 0 1px var(--fr-field-ring); }
  html.mc[data-theme="dark"] .ft-lp-term b, html.mc[data-theme="dark"] .ft-lp-term > svg { color: #a8caff; }
  html.mc .ft-lp-note { margin: 0 4px 10px; padding: 0; font-size: .74rem; line-height: 1.5; color: var(--fr-ink2); background: none; border: 0; }
  html.mc .ft-lp-search, html.mc[data-theme="dark"] .ft-lp-search { flex-shrink: 0; height: 46px; margin: 0 0 12px; padding: 0 16px 0 42px; border: 0; border-radius: 99px; font: inherit; font-size: .92rem;
    color: var(--fr-ink); background: var(--fr-field) no-repeat 15px 50% / 18px; box-shadow: inset 0 0 0 1px var(--fr-field-ring); outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8aa3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
  html.mc .ft-lp-search::placeholder { color: var(--fr-ink3); }
  html.mc .ft-lp-search:focus { box-shadow: inset 0 0 0 2px rgba(63,111,230,.55); }
  html.mc .ft-lp-list { flex: 1 1 auto; min-height: 0; max-height: none; gap: 0; padding: 4px; border-radius: 22px; background: var(--fr-group); box-shadow: inset 0 0 0 1px var(--fr-group-ring); }
  html.mc .ft-lp-opt, html.mc[data-theme="dark"] .ft-lp-opt { display: grid; grid-template-columns: minmax(0, 1fr) 24px; column-gap: 10px; align-items: center; padding: 10px 12px; border: 0; border-radius: 16px;
    color: var(--fr-ink); background: transparent; box-shadow: none; text-align: left; }
  html.mc .ft-lp-opt + .ft-lp-opt { box-shadow: 0 -1px 0 var(--fr-line); }
  html.mc .ft-lp-opt:active { background: rgba(63,111,230,.08); }
  html.mc .ft-lp-opt .lp-n { grid-column: 1; font-size: .96rem; font-weight: 700; color: var(--fr-ink) !important; }
  html.mc .ft-lp-opt .lp-s { grid-column: 1; font-size: .74rem; color: var(--fr-ink2) !important; opacity: 1 !important; }
  html.mc .ft-lp-opt::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--fr-ring); }
  html.mc .ft-lp-opt.sel, html.mc[data-theme="dark"] .ft-lp-opt.sel { color: var(--fr-ink); background: transparent; font-weight: inherit; }
  html.mc .ft-lp-opt.sel::after { background: #3f6fe6 var(--fr-check) center / 14px no-repeat; box-shadow: none; }
  html.mc .ft-lp-done { flex-shrink: 0; margin-top: 12px; height: 48px; padding: 0; border-radius: 99px; font-size: .95rem; color: #fff;
    background: linear-gradient(140deg, #5b8cff, #3f6fe6); box-shadow: 0 14px 28px -14px rgba(63,111,230,.75); }

  /* ② 术语库抽屉 */
  html.mc .tpk.sheet, html.mc[data-theme="dark"] .tpk.sheet {
    max-height: 80dvh; padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 30px 30px 0 0;
    color: var(--fr-ink); background: var(--fr-bg); box-shadow: var(--fr-shadow);
    -webkit-backdrop-filter: blur(34px) saturate(160%); backdrop-filter: blur(34px) saturate(160%); }
  html.mc .tpk.sheet::before { width: 40px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: var(--fr-grab); }
  html.mc .tpk-mask { background: rgba(8,16,32,.28); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.mc .tpk.sheet .tpk-h { padding: 0 52px 12px 4px; }
  html.mc .tpk.sheet .tpk-h b { font-size: 1.45rem; font-weight: 300; letter-spacing: .01em; line-height: 1.25; }
  html.mc .tpk.sheet .tpk-h small { margin-top: 6px; font-size: .74rem; color: var(--fr-ink2); }
  html.mc .tpk.sheet .tpk-x { right: 0; top: -2px; width: 40px; height: 40px; color: var(--fr-ink); background: var(--fr-chip); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 6px 14px -8px rgba(8,18,40,.35); }
  html.mc .tpk.sheet .tpk-l { gap: 0; padding: 4px; border-radius: 22px; background: var(--fr-group); box-shadow: inset 0 0 0 1px var(--fr-group-ring); }
  html.mc .tpk.sheet .tpk-o { border-radius: 16px; grid-template-columns: 36px minmax(0, 1fr) 24px; }
  html.mc .tpk.sheet .tpk-l > * + * { box-shadow: 0 -1px 0 var(--fr-line); }
  html.mc .tpk.sheet .tpk-o.on { background: transparent; }
  html.mc .tpk.sheet .tpk-tx small { color: var(--fr-ink2); }
  html.mc .tpk.sheet .tpk-ck { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; opacity: 1; transform: none; color: transparent; box-shadow: inset 0 0 0 1.5px var(--fr-ring); }
  html.mc .tpk.sheet .tpk-ck svg { width: 14px; height: 14px; }
  html.mc .tpk.sheet .tpk-o.on .tpk-ck { color: #fff; background: #3f6fe6; box-shadow: none; }
  html.mc .tpk.sheet .tpk-m { height: 44px; border-radius: 99px; color: #3f6fe6; background: var(--fr-field); box-shadow: inset 0 0 0 1px var(--fr-field-ring); }
  html.mc[data-theme="dark"] .tpk.sheet .tpk-m { color: #a8caff; }
  html.mc .tpk.sheet .tpk-empty, html.mc .tpk.sheet .tpk-hint { color: var(--fr-ink2); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 768px) {
    html.mc .ft-lp, html.mc .tpk.sheet { background: linear-gradient(165deg, rgba(255,255,255,.95), rgba(240,245,252,.94)); }
    html.mc[data-theme="dark"] .ft-lp, html.mc[data-theme="dark"] .tpk.sheet { background: linear-gradient(165deg, rgba(52,64,90,.97), rgba(26,34,52,.97)); }
  }
}

/* ════════ 面对面分屏（11-12）════════
   ① 两半的「✨ 总结」去掉（用户：「面对面翻译的 AI 总结的按键去掉，支持用户向左滑动出数据总结页」）—— 往左滑 = 本场总结页（mobile-chat.js mountSum 的 swipe，分屏本来就认）。
   ② 中间那颗共用录音钮：试过点阵球（用户：「太丑了」）→ 用户：「我是想要麦克风，但麦克风在对面的人看是反方向的」。
      所以：和其他对话页底部那颗一样的亮蓝玻璃球（mobile-chat.css record-btn 那套渐变），图标用上下对称的声波条（两边看都是正的）；
      （中间试过「上下各一个托架的对称麦克风」，用户改成声波条：平时不动，录音时和其他对话页一样跳 + 外散光圈。）
      分隔线不要（用户第二轮：「中间的麦克风和线都不需要」）。按钮本身（点它开 / 停、title / aria-label）不变。 */
@media (max-width: 768px) {
  html.mc #sessionView.ft-active .ft-half .ft-sum { display: none !important; }
  html.mc #sessionView.ft-active .ft-divider.ft-divider-mic { border-top-color: transparent !important; }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic {
    width: 84px; height: 84px; padding: 0; color: #fff; isolation: isolate; animation: none !important;
    background: radial-gradient(120% 70% at 50% 108%, rgba(255,255,255,.95) 0%, rgba(235,243,255,.75) 22%, rgba(255,255,255,0) 52%),
                radial-gradient(60% 45% at 32% 18%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%),
                linear-gradient(165deg, #7fe3ff 0%, #5aa2ff 32%, #3f6fe6 58%, #6f8ff5 82%, #dfe9ff 100%) !important;
    box-shadow: 0 16px 30px -12px rgba(40,80,200,.55), inset 0 -6px 14px rgba(255,255,255,.55), inset 0 2px 3px rgba(255,255,255,.7) !important; }
  html.mc[data-theme="dark"] #sessionView.ft-active .ft-divider-mic .ft-shared-mic {
    box-shadow: 0 16px 30px -12px rgba(0,0,0,.7), inset 0 -6px 14px rgba(255,255,255,.4), inset 0 2px 3px rgba(255,255,255,.6) !important; }
  /* 第三轮用户：「麦克风的原始图标也换成这样（声波条）不动，开始录音之后就跟其他对话页的麦克风开始录音之后的动态效果一样」
     → 平时：原来那颗 FT_SHARED_SVG 声波条，静止（上下对称，对面看也是正的）；
       录音：五根条各自一上一下地跳（和底栏 .record-btn.recording .m-rec-wv 同一个 eqPulse、同样错开 0.15 秒），声波放大 1.25 倍，外面一圈淡蓝光往外散（::after，同 mcHalo）。 */
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic > svg { width: 36px; height: 36px; color: #fff; filter: drop-shadow(0 1px 2px rgba(20,50,140,.45)); transition: scale .25s ease; }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on > svg { scale: 1.25; }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on > svg path { transform-box: fill-box; transform-origin: center; animation: eqPulse 1s ease-in-out infinite; }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on > svg path:nth-child(2) { animation-delay: .15s; }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on > svg path:nth-child(3) { animation-delay: .3s; }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on > svg path:nth-child(4) { animation-delay: .45s; }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on > svg path:nth-child(5) { animation-delay: .6s; }
  @media (prefers-reduced-motion: reduce) { html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on > svg path { animation: none; } }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; pointer-events: none;
    background: rgba(91,140,255,.45); animation: mcHalo 1.8s ease-out infinite; }
  @media (prefers-reduced-motion: reduce) { html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic.on::after { animation: none; } }
  html.mc #sessionView.ft-active .ft-divider-mic .ft-shared-mic:active { transform: translate(-50%, -50%) scale(.94); }
}

/* ════════ 气泡头像 + 外框同色（11-12 用户：「所有对话页的气泡的头像换成好看一点的样式，气泡的样式保持，只修改气泡的外框，外框的颜色和头像的颜色同步」）════════
   第一版（说话人色的亮面小玻璃球 + 白描边）用户：「这个头像好丑」→ 第二版：**浅色系头像** —— 底是说话人色上盖一层白纱（= 很淡的同色），
   首字用说话人色本身、加粗，外面一圈 1.5px 同色细环；暗色下盖的是深色纱、字是白的。不用 color-mix（钉钉 / 微信的老内核不认），靠叠一层半透明渐变出浅色。
   气泡：底色 / 圆角 / 磨砂全不动，只把 1px 白边换成 1.5px「头像同色 60%」（index.html speakerStyle 的 --speaker-edge、ftColorVars 的 --sc-edge）。
   待办 / 决议 / 重点的标记边框（!important）照旧压过它。没存颜色的说话人：品牌蓝。
   页面：实时转写 / 首页录音（.entry）、并排（.ft-lrow 的 .cd → 带首字的圆头像）、群聊（.rl-gav / 照片头像 .rl-av）、分屏（.sline 的 .cd）。快速笔记没有头像，不动。 */
@media (max-width: 768px) {
  html.mc { --av-veil: linear-gradient(150deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.58) 100%); --av-ink-dk: #fff; }
  html.mc[data-theme="dark"] { --av-veil: linear-gradient(150deg, rgba(18,26,46,.42) 0%, rgba(18,26,46,.62) 100%); }

  /* 实时转写 / 首页录音 */
  html.mc .session-view .entry[data-side]:not([data-role]) .entry-avatar {
    color: var(--speaker-color, #3f6fe6); font-weight: 800; text-shadow: none;
    background: var(--av-veil), var(--speaker-color, #3f6fe6) !important;
    box-shadow: inset 0 0 0 1.5px var(--speaker-edge, rgba(63,111,230,.6)), 0 4px 10px -6px var(--speaker-edge, rgba(63,111,230,.6)) !important; }
  html.mc[data-theme="dark"] .session-view .entry[data-side]:not([data-role]) .entry-avatar { color: #fff; }
  html.mc .session-view:not(.ft-active) .entry[data-side]:not([data-role]) .entry-main { border: 1.5px solid var(--speaker-edge, rgba(63,111,230,.6)); }

  /* 并排：色点 → 带首字的圆头像（行内 style 给的是纯色 background，这里在上面盖一层纱） */
  html.mc .session-view .ft-lrow:not(.room-row) .ft-lwho .cd[data-ini] { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: inline-grid; place-items: center;
    background-image: var(--av-veil) !important; box-shadow: inset 0 0 0 1.5px var(--sc-edge, rgba(63,111,230,.6)), 0 3px 8px -5px var(--sc-edge, rgba(63,111,230,.6)); }
  html.mc .session-view .ft-lrow:not(.room-row) .ft-lwho .cd[data-ini]::after { content: attr(data-ini); font-size: 11px; font-weight: 800; line-height: 1; color: var(--sc, #3f6fe6); }
  html.mc[data-theme="dark"] .session-view .ft-lrow:not(.room-row) .ft-lwho .cd[data-ini]::after { color: #fff; }
  /* 群聊：生成头像 / 照片头像 */
  html.mc .session-view .room-row .rl-gav { color: var(--gav, #3f6fe6) !important; font-weight: 800; text-shadow: none;
    background: var(--av-veil), var(--gav, #3f6fe6) !important; box-shadow: inset 0 0 0 1.5px var(--sc-edge, rgba(63,111,230,.6)), 0 3px 8px -5px var(--sc-edge, rgba(63,111,230,.6)) !important; }
  html.mc[data-theme="dark"] .session-view .room-row .rl-gav { color: #fff !important; }
  html.mc .session-view .room-row .rl-av { box-shadow: 0 0 0 1.5px var(--sc-edge, rgba(63,111,230,.6)), 0 3px 8px -5px rgba(20,40,100,.5) !important; }
  /* 并排 / 群聊的气泡外框 */
  html.mc .session-view .ft-lrow .ft-lbub, html.mc .session-view .ft-lrow.right .ft-lbub,
  html.mc[data-theme="dark"] .session-view .ft-lrow .ft-lbub, html.mc[data-theme="dark"] .session-view .ft-lrow.right .ft-lbub { border: 1.5px solid var(--sc-edge, rgba(63,111,230,.6)); }

  /* 分屏：色点 → 小圆头像；气泡左边那根色条不动，外面补一圈同色细框 */
  html.mc .session-view .sline .slh .cd[data-ini] { position: relative; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; display: inline-grid; place-items: center;
    background-image: var(--av-veil) !important; box-shadow: inset 0 0 0 1.2px var(--sc-edge, rgba(63,111,230,.6)); }
  html.mc .session-view .sline .slh .cd[data-ini]::after { content: attr(data-ini); font-size: 9.5px; font-weight: 800; line-height: 1; color: var(--sc, #3f6fe6); }
  html.mc[data-theme="dark"] .session-view .sline .slh .cd[data-ini]::after { color: #fff; }
  html.mc .session-view .sline { box-shadow: inset 0 0 0 1.2px var(--sc-edge, rgba(63,111,230,.5)), var(--shadow-sm, 0 2px 6px rgba(0,0,0,.08)); }
}

/* ════════ 11-12 QA 第三批：提示条不叠（「未翻译 · 一键补翻」和润色后的「重新翻译 / 保留原译文」同时挂着，盖掉四分之一屏对话）════════
   润色那条在的时候，补翻那条先让位（润色那条处理完自己收掉，补翻那条再出来） */
html #sessionView:has(> #polishTransBar:is([style*="display: block"], [style*="display:block"])) > #transSwitchBar { display: none !important; }

/* 11-12 QA 第四批：扫码进群的访客，「加入群聊」那张弹层开着时，后面那张「你正在以访客身份使用群聊」说明卡先藏起来（两张同时出现，还没进群就给「回到群聊」） */
html body:has(.ft-lp-mask .room-join) .guest-card { visibility: hidden; }

/* ════════ 11-12 QA 第五批：手机细节 ════════ */
@media (max-width: 768px) {
  /* 侧栏里很长的标题原来会撑成二十几行 → 最多两行，多的省略 */
  html.mc .sidebar .session-item .info .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }
  /* 清空记录后那句空态提示压在点阵球上看不清 → 垫一块淡磨砂 */
  html.mc .session-view:not(.ft-active) .empty-body > * { padding: 10px 16px; border-radius: 16px; background: rgba(255,255,255,.62);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 20px -14px rgba(20,40,90,.45); }
  html.mc[data-theme="dark"] .session-view:not(.ft-active) .empty-body > * { background: rgba(24,32,52,.7); }
}

/* ═════════ 对话页头像 = 线性人形图标（2026-11-16）═════════
   用户：「对话页的头像不好看」→「有没有线性用户图标的头像，比较常规的」。首字母 / 首字换成线性的「头 + 肩」图标，颜色仍是这个说话人的颜色
  （浅色底 + 同色细圈 + 同色图标，和原来一样分得出人）。只改样式：首字还在 DOM 里（font-size 0 藏掉），JS 一行没动。
   不动的：AI 小精灵（.ai-orb）、照片头像（.rl-av）、分屏的色点、快速笔记（本来就没头像）。电脑端同一套写在 desktop-v4.css 末尾。 */
@media (max-width: 768px) {
  html.mc { --user-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.4' r='3.7'/%3E%3Cpath d='M4.9 19.6c1.3-3.5 4-5.3 7.1-5.3s5.8 1.8 7.1 5.3'/%3E%3C/svg%3E"); }
  /* 实时转写 / 首页录音 / AI 对话里「我」那句（role=user 原来是实心色圆 + 白字，换成和别人一样的浅底） */
  html.mc .session-view .entry[data-side]:not([data-role="assistant"]) .entry-avatar:not(.ai-orb) { position: relative; font-size: 0 !important; color: transparent !important;
    background: var(--av-veil), var(--speaker-color, #3f6fe6) !important;
    box-shadow: inset 0 0 0 1.5px var(--speaker-edge, rgba(63,111,230,.6)), 0 4px 10px -6px var(--speaker-edge, rgba(63,111,230,.6)) !important; }
  html.mc .session-view .entry[data-side]:not([data-role="assistant"]) .entry-avatar:not(.ai-orb)::before {
    content: ""; position: absolute; inset: 18%; background: var(--speaker-color, #3f6fe6);
    -webkit-mask: var(--user-ico) center / contain no-repeat; mask: var(--user-ico) center / contain no-repeat; }
  /* 并排：.cd[data-ini] 原来用 ::after 写首字 */
  html.mc .session-view .ft-lrow:not(.room-row) .ft-lwho .cd[data-ini]::after { content: ""; position: absolute; inset: 17%; background: var(--sc, #3f6fe6);
    -webkit-mask: var(--user-ico) center / contain no-repeat; mask: var(--user-ico) center / contain no-repeat; }
  /* 群聊：生成头像（照片头像不动） */
  html.mc .session-view .room-row .rl-gav { position: relative; font-size: 0 !important; color: transparent !important; }
  html.mc .session-view .room-row .rl-gav::before { content: ""; position: absolute; inset: 17%; background: var(--gav, #3f6fe6);
    -webkit-mask: var(--user-ico) center / contain no-repeat; mask: var(--user-ico) center / contain no-repeat; }
  /* 暗色：底是深色纱，图标用白色（原来首字也是白的） */
  html.mc[data-theme="dark"] .session-view .entry[data-side]:not([data-role="assistant"]) .entry-avatar:not(.ai-orb)::before,
  html.mc[data-theme="dark"] .session-view .ft-lrow:not(.room-row) .ft-lwho .cd[data-ini]::after,
  html.mc[data-theme="dark"] .session-view .room-row .rl-gav::before { background: rgba(255,255,255,.94); }
}
