/* 03a 窗口列表 */
.cl-head { height: 44px; margin-top: 4px; display: flex; align-items: center; gap: 12px; }
.cl-head h1 { flex: 1; font-family: var(--f-title); font-weight: 600; font-size: var(--fs-h1); line-height: 30px; letter-spacing: 2px; }
.cl-section { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.cl-section > .cap { margin: 0 4px; letter-spacing: 2px; display: flex; justify-content: space-between; }
.cl-main { border-radius: 28px; padding: 14px 16px 14px 10px; background: linear-gradient(140deg, rgba(197, 232, 238, 0.62), rgba(242, 249, 252, 0.30)); display: flex; align-items: center; gap: 10px; }
.cl-avatar { width: 76px; height: 64px; flex: none; position: relative; display: flex; align-items: center; justify-content: center; }
.cl-avatar .dot { position: absolute; right: 4px; bottom: 4px; width: 10px; height: 10px; border-radius: 5px; background: var(--c-online); border: 2px solid #FFFFFF; }
.cl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cl-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cl-line .grow { flex: 1; }
.cl-name { font-family: var(--f-title); font-weight: 600; font-size: 18px; line-height: 24px; }
.tag-model { height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.6); font-family: var(--f-mono); font-size: 10px; color: var(--c-ink-2); display: inline-flex; align-items: center; white-space: nowrap; }
.unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--c-rose); color: #FFFFFF; font-family: var(--f-mono); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.cl-last { flex: 1; min-width: 0; font-size: var(--fs-body); line-height: 20px; color: var(--c-ink-3); }
.cl-work { min-height: 78px; border-radius: 24px; padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 12px; }
.cl-work .w-name { font-size: 15px; font-weight: 500; line-height: 20px; }
.state { height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.state i { width: 5px; height: 5px; border-radius: 3px; background: currentColor; }
.state.running { background: rgba(93, 184, 198, 0.18); color: #2F8C9B; }
.state.review { background: rgba(224, 122, 168, 0.16); color: #B4517F; }
.state.idle { background: rgba(186, 203, 227, 0.45); color: var(--c-ink-2); }
.cl-work .last { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); line-height: 18px; color: var(--c-ink-2); min-width: 0; }
.cl-work .last .icon { width: 13px; height: 13px; stroke-width: 2; }
.cl-new { height: 52px; border-radius: 24px; border: 1.5px dashed rgba(255, 255, 255, 0.9); background: rgba(242, 249, 252, 0.18); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: var(--fs-body); color: var(--c-ink-3); }
.cl-new .icon { width: 16px; height: 16px; stroke-width: 2; }

/* 03 聊天页：顶栏 + 消息 + 输入 */
.chat { position: relative; z-index: 1; height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.chat-head {
  flex: none; padding: max(34px, env(safe-area-inset-top)) 14px 4px; display: flex; align-items: center; gap: 8px;
  border-radius: 0 0 24px 24px; background: rgba(242, 249, 252, 0.42); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62); position: relative; z-index: 2;
}
.chat-head .back, .chat-head .more { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--c-ink-3); flex: none; }
.chat-head .av { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-head .av svg { width: 40px; height: 40px; display: block; }
.chat-head .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-head .who b { font-family: var(--f-title); font-weight: 600; font-size: 17px; line-height: 22px; }
.chat-head .who.work b { font-family: var(--f-body); font-weight: 500; font-size: 16px; }
.chat-head .who .cap { display: flex; align-items: center; gap: 5px; }
.chat-head .who .cap i { width: 6px; height: 6px; border-radius: 3px; background: var(--c-online); }
.chat-head .who .cap i.busy { background: #E9B640; }

.msgs { flex: 1; overflow-y: auto; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.msgs::before { content: ""; flex: 1; }
.m-time { align-self: center; height: 24px; padding: 0 10px; border-radius: 12px; background: rgba(242, 249, 252, 0.5); font-family: var(--f-mono); font-size: 11px; color: var(--c-ink-2); display: flex; align-items: center; }
.m-name { align-self: flex-start; margin-top: 4px; display: flex; gap: 6px; }

.bub {
  max-width: min(268px, 76%); padding: 10px 14px; font-size: var(--bubble-font); line-height: 1.53; word-break: break-word; white-space: pre-wrap;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--bubble-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 20px rgba(38, 34, 119, 0.08);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.bub.him { align-self: flex-start; border-radius: var(--bubble-him-radius); background: var(--bubble-him-bg); color: var(--bubble-him-ink); }
.bub.her { align-self: flex-end; border-radius: var(--bubble-her-radius); background: var(--bubble-her-bg); color: var(--bubble-her-ink); }
.bub.failed { opacity: 0.85; }
.bub .act { display: block; color: #6A76AE; font-size: 14px; }
.bub .quote { margin-bottom: 6px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.55); border-left: 3px solid var(--c-online); font-size: var(--fs-cap); line-height: 18px; color: var(--c-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bub.lit { box-shadow: 0 0 0 2px var(--c-whale), 0 16px 36px rgba(38, 34, 119, 0.25); }

.fold { align-self: flex-start; display: flex; flex-direction: column; gap: 2px; max-width: calc(100% - 34px); }
.fold-head { height: 24px; padding: 0 2px; display: flex; align-items: center; gap: 6px; font-size: var(--fs-cap); color: var(--c-ink-2); }
.fold-head .icon { width: 14px; height: 14px; stroke-width: 2; }
.fold-head .chev { width: 12px; height: 12px; stroke-width: 2.2; transition: transform 0.15s; }
.fold[open] .fold-head .chev { transform: rotate(90deg); }
.fold-head.think { height: 30px; padding: 0 12px 0 10px; border-radius: 15px; background: rgba(242, 249, 252, 0.5); border: 1px solid rgba(255, 255, 255, 0.7); }
.fold-head.think .icon:first-child { color: var(--c-sea); }
.fold-head.err { color: #C2456A; }
.fold-body { display: none; padding: 2px 0 2px 22px; font-size: var(--fs-cap); line-height: 18px; color: var(--c-ink-2); }
.fold[open] .fold-body { display: block; }
.fold-body.code { font-family: var(--f-mono); font-size: 11.5px; }
.fold-body.code .c { color: var(--c-whale); }
.fold-body.code .o { color: #6A76AE; white-space: pre-wrap; }
.fold-body.code .e { color: #C2456A; white-space: pre-wrap; }

.voice { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; width: 188px; }
.voice .play { width: 32px; height: 32px; border-radius: 16px; background: var(--c-whale); display: flex; align-items: center; justify-content: center; flex: none; }
.voice .play svg { width: 12px; height: 12px; fill: #FFFFFF; }
.voice > .cap { flex: none; white-space: nowrap; }
.voice .wave { flex: 1; height: 24px; display: flex; align-items: center; gap: 2px; }
.voice .wave span { width: 3px; border-radius: 2px; background: var(--c-whale); opacity: 0.75; }
.voice.playing .wave span { animation: wv 0.9s ease-in-out infinite alternate; }
@keyframes wv { to { transform: scaleY(0.4); } }
.imgs { display: grid; gap: 4px; padding: 4px; }
.imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.file .doc { width: 40px; height: 46px; border-radius: 10px; background: rgba(255, 255, 255, 0.75); display: flex; align-items: center; justify-content: center; color: var(--c-whale); flex: none; }
.bub.sticker { background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }

.m-fail { align-self: flex-end; display: flex; align-items: center; gap: 8px; margin-top: -2px; }
.m-fail .bang { width: 18px; height: 18px; border-radius: 9px; background: #E0607E; color: #FFFFFF; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.chip-btn { height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(255, 255, 255, 0.6); color: var(--c-whale); font-size: var(--fs-cap); }
.m-pending { align-self: flex-end; }
.m-stuck { align-self: center; margin-top: 6px; height: 30px; padding: 0 6px 0 12px; border-radius: 15px; background: rgba(242, 249, 252, 0.55); border: 1px solid rgba(255, 255, 255, 0.7); display: flex; align-items: center; gap: 8px; font-size: var(--fs-cap); color: var(--c-ink-2); }
.m-stuck button { height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11px; background: rgba(186, 203, 227, 0.6); }
.m-stuck button.go { background: var(--c-whale); color: #FFFFFF; }
.typing { display: flex; align-items: center; gap: 10px; }
.typing .dots { display: flex; gap: 4px; }
.typing .dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--c-whale); animation: dot 1s infinite; }
.typing .dots i:nth-child(2) { animation-delay: 0.15s; }
.typing .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { opacity: 0.25; } }

/* 输入区 */
.composer { flex: none; padding: 6px 12px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 2; }
.quote-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 16px; background: rgba(242, 249, 252, 0.7); border-left: 3px solid var(--c-online); font-size: var(--fs-cap); color: var(--c-ink-2); }
.quote-bar span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-bar button { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.quote-bar .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.comp-row { display: flex; align-items: flex-end; gap: 8px; }
.comp-box { flex: 1; min-height: 52px; border-radius: 26px; padding: 6px; background: rgba(242, 249, 252, 0.52); display: flex; align-items: flex-end; gap: 4px; }
.comp-box textarea { flex: 1; min-width: 0; max-height: 120px; padding: 8px 4px; border: 0; outline: 0; background: transparent; resize: none; font: inherit; font-size: 15px; line-height: 24px; color: var(--c-ink); }
.comp-box textarea::placeholder { color: #6A76AE; }
.c-btn { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; flex: none; color: var(--c-ink-3); }
.c-btn.soft { background: rgba(186, 203, 227, 0.55); }
.c-btn.blue { background: var(--c-sea); color: #FFFFFF; }
.c-btn .icon { width: 20px; height: 20px; stroke-width: 1.8; }
.reply-key {
  width: 56px; height: 52px; border-radius: 26px; background: var(--c-whale); box-shadow: 0 8px 20px rgba(38, 34, 119, 0.26);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #FFFFFF; font-size: 10px; position: relative; flex: none;
}
.reply-key:disabled { background: var(--c-haze); box-shadow: none; }
.reply-key.pause { background: var(--c-ink); }
.reply-key .badge-n { position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--c-rose); border: 2px solid #FFFFFF; font-family: var(--f-mono); font-size: 10px; display: flex; align-items: center; justify-content: center; }
.pending-tip { align-self: flex-end; }

/* + 面板 */
.attach { display: flex; flex-direction: column; gap: 12px; padding: 12px 4px 4px; border-radius: 24px; background: rgba(246, 251, 253, 0.82); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.85); }
.picked { display: flex; align-items: center; gap: 8px; padding: 0 8px; overflow-x: auto; }
.picked .p { width: 64px; height: 64px; border-radius: 16px; position: relative; flex: none; }
.picked .p img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.picked .p button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 11px; background: var(--c-ink); border: 2px solid #FFFFFF; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.picked .p .icon { width: 9px; height: 9px; stroke-width: 3.5; }
.tools4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 8px; }
.tools4 button, .tools4 label { height: 74px; border-radius: 20px; background: rgba(255, 255, 255, 0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: var(--fs-cap); color: var(--c-ink-3); cursor: pointer; }
.tools4 .icon { width: 24px; height: 24px; color: var(--c-whale); stroke-width: 1.7; }
.tools4 input { display: none; }
.stickers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 0 8px 8px; }
.stickers button { height: 56px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); display: flex; align-items: center; justify-content: center; }

/* 按住说话 */
.voice-layer { position: fixed; inset: 0; z-index: 40; background: linear-gradient(180deg, rgba(38, 34, 119, 0.10), rgba(38, 34, 119, 0.42)); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); touch-action: none; }
.voice-card { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 236px; padding: 18px 18px 16px; border-radius: 28px; background: rgba(214, 240, 244, 0.92); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 16px 40px rgba(38, 34, 119, 0.28); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.voice-card .bars { height: 40px; display: flex; align-items: center; gap: 3px; }
.voice-card .bars span { width: 4px; border-radius: 2px; background: var(--c-whale); opacity: 0.8; transition: height 0.1s; }
.voice-card .t { font-family: var(--f-mono); font-size: 20px; font-weight: 500; }
.voice-opts { position: absolute; left: 0; right: 0; bottom: calc(134px + env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 56px; }
.voice-opts div { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #FFFFFF; font-size: var(--fs-cap); }
.voice-opts span.o { width: 52px; height: 52px; border-radius: 26px; background: rgba(255, 255, 255, 0.75); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; color: var(--c-whale); transition: transform 0.15s; }
.voice-opts div.hot span.o { transform: scale(1.18); background: #FFFFFF; }
.voice-opts .x { color: #C2456A; }
.voice-bar { position: absolute; left: 12px; right: 12px; bottom: calc(24px + env(safe-area-inset-bottom)); height: 76px; border-radius: 38px; background: var(--c-whale); box-shadow: 0 10px 28px rgba(38, 34, 119, 0.35); display: flex; align-items: center; justify-content: center; gap: 10px; color: #FFFFFF; font-size: 16px; font-weight: 500; }

/* 长按菜单 */
.menu-layer { position: fixed; inset: 0; z-index: 40; background: rgba(38, 34, 119, 0.28); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.menu-wrap { position: absolute; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 80px); }
.menu-wrap .bub { max-width: 268px; max-height: 42vh; overflow: hidden; }
.menu { width: 256px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-radius: 22px; padding: 6px; background: rgba(246, 251, 253, 0.94); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 16px 36px rgba(38, 34, 119, 0.22); }
.menu button { width: 100%; height: 44px; padding: 0 12px; border-radius: 16px; display: flex; align-items: center; gap: 12px; font-size: 15px; text-align: left; }
.menu button:hover { background: rgba(186, 203, 227, 0.35); }
.menu button span { flex: 1; white-space: nowrap; }
.menu button.danger { color: #C2456A; }
.menu .icon { width: 18px; height: 18px; stroke-width: 1.7; }

/* 窗口设置 */
.radio { width: 20px; height: 20px; border-radius: 10px; border: 2px solid var(--c-haze); flex: none; }
[aria-checked="true"] > .radio { border: 6px solid var(--c-whale); }
.ctx-bar { height: 8px; border-radius: 4px; background: rgba(186, 203, 227, 0.6); overflow: hidden; }
.ctx-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--c-sea), var(--c-whale)); }
.mini-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini-btns button { height: 38px; border-radius: 19px; background: rgba(186, 203, 227, 0.5); font-size: var(--fs-small); color: var(--c-ink-3); }
.toast { position: fixed; left: 50%; top: calc(110px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 50; padding: 8px 14px; border-radius: 16px; background: rgba(38, 34, 119, 0.85); color: #FFFFFF; font-size: var(--fs-small); pointer-events: none; }

/* 语音通话 */
.call-layer { position: fixed; inset: 0; z-index: 45; background-image: var(--bg-image); background-size: cover; background-position: center; }
.call-layer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(242, 249, 252, 0.35) 0%, rgba(186, 203, 227, 0.35) 50%, rgba(38, 34, 119, 0.30) 100%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.call-layer > * { position: relative; }
.call-fold { position: absolute; left: 16px; top: calc(54px + env(safe-area-inset-top)); width: 44px; height: 44px; border-radius: 22px; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.7); display: flex; align-items: center; justify-content: center; color: var(--c-ink-3); z-index: 1; }
.call-top { padding-top: calc(92px + env(safe-area-inset-top)); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.call-top b { font-family: var(--f-title); font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: 2px; }
.call-top .mono { font-size: 15px; color: var(--c-ink-3); }
.call-top .cap { display: flex; align-items: center; gap: 6px; }
.call-top .cap i { width: 6px; height: 6px; border-radius: 3px; background: var(--c-online); }
.call-top .cap i.thinking { background: #E9B640; }
.call-top .cap i.connecting, .call-top .cap i.error { background: var(--c-offline); }
.call-av { width: 196px; height: 170px; display: flex; align-items: center; justify-content: center; position: relative; }
.call-av::before { content: ""; position: absolute; width: 164px; height: 164px; border-radius: 50%; background: rgba(255, 255, 255, 0.32); border: 1px solid rgba(255, 255, 255, 0.8); }
.call-av::after { content: ""; position: absolute; width: 196px; height: 196px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.55); }
.call-av.talking::after { animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.call-av svg { position: relative; z-index: 1; }
.call-subs { position: absolute; left: 20px; right: 20px; top: calc(382px + env(safe-area-inset-top)); bottom: calc(190px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 50px); mask-image: linear-gradient(180deg, transparent 0, #000 50px); }
.call-subs::before { content: ""; flex: 1; }
.sub { max-width: 270px; font-size: 16px; line-height: 25px; }
.sub.her { align-self: flex-end; text-align: right; color: var(--c-ink-3); font-size: 15px; }
.sub.him { align-self: flex-start; }
.call-type { position: absolute; left: 20px; right: 20px; bottom: calc(150px + env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.call-type input { flex: 1; height: 44px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.75); padding: 0 16px; font: inherit; font-size: 15px; outline: none; color: var(--c-ink); }
.call-type button { width: 56px; border-radius: 22px; background: var(--c-whale); color: #FFFFFF; }
.call-keys { position: absolute; left: 28px; right: 28px; bottom: calc(54px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.call-keys div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: var(--fs-cap); color: #FFFFFF; text-shadow: 0 1px 4px rgba(38, 34, 119, 0.35); }
.ck { width: 64px; height: 64px; border-radius: 32px; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.75); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; }
.ck svg { width: 26px; height: 26px; fill: none; stroke: var(--c-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ck[aria-pressed="true"] { background: #FFFFFF; }
.ck.end { background: #E0607E; }
.ck.end svg { stroke: #FFFFFF; }
.call-pill { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 46; height: 34px; padding: 0 14px; border-radius: 17px; background: #2F9E7E; color: #FFFFFF; font-size: var(--fs-cap); display: flex; align-items: center; gap: 6px; box-shadow: 0 8px 20px rgba(38, 34, 119, 0.25); }
.call-pill i { width: 7px; height: 7px; border-radius: 4px; background: #FFFFFF; }
.call-pill[hidden], .call-layer[hidden], .call-type[hidden] { display: none; }

.av-img { border-radius: 50%; object-fit: cover; border: 2px solid #FFFFFF; box-shadow: 0 4px 12px rgba(38, 34, 119, 0.15); flex: none; }

/* 心潮那边送来的（连接桥 → 收件箱）：聊天页顶上的一叠小条 */
.sys-notes { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.sys-note {
  background: rgba(160, 180, 220, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 8px 12px;
}
.sys-note .cap { opacity: .7; font-size: 11px; }
.sys-note p { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--c-ink-2, #5a6b86); }

/* 输入区 / 按钮：别让系统的"长按选字"来捣乱（按住说话按久一点就弹出复制菜单）。
   消息气泡那边不动 —— 那里的长按菜单是我们要的。 */
.composer, .composer *, .call-layer button, .call-keys, .call-keys *,
.reply-key, .c-btn, .comp-box button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
textarea[data-input] { -webkit-user-select: text; user-select: text; }

/* 按键、语音条、气泡：不许被"长按选中"（不然会弹系统菜单，把界面打断） */
.voice-layer, .voice-bar, .call-layer, .call-keys, .composer button, .reply-key,
.bub, .msgs, .m-name, .m-time, .chip-btn, .icon-btn { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* 只有输入框和消息文字能选 */
textarea, input, .bub p, .bub .rich { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
