/* chat.css — 消息、气泡、底栏、输入条、表情与加号、壁纸玻璃、时间条 */
/* 群聊气泡：昵称在气泡上方 */
.bubble-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 72%;
    min-width: 0;
}
.chat-row.me .bubble-col { align-items: flex-end; }
.bubble-col .bubble { max-width: 100%; }
.speaker-name {
    font-size: 12px;
    color: var(--sub);
    margin: 0 0 4px 2px;
    line-height: 1.2;
}

.list-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 8px;
}
.list-head-main {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 0;
}
.list-head .name {
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}
.list-head-name-input {
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    padding: 2px 6px;
    margin: -2px -6px;
    border-radius: 6px;
    border: 1px solid var(--accent);
    background: var(--input);
    color: var(--text);
    outline: none;
}
.list-head .list-status {
    margin-top: 3px;
    font-size: 11px;
}
.list-head .user-av { padding: 0; border-radius: 50%; flex-shrink: 0; }
.list-av {
    position: relative;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
    line-height: 0;
}
.chat-row-list {
    align-items: flex-start;
}
.chat-row-list .list-av {
    margin-top: 2px;
}
.list-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--sub);
    margin-top: 2px;
    line-height: 1.2;
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot.red { background: #e53935; }
.status-dot.yellow { background: #f0c14a; }
.status-dot.green { background: var(--accent); }
.unread-badge {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
    z-index: 1;
}
.list-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}
.chat-row-list .list-main .right {
    font-size: 10px;
    line-height: 1.2;
}
.chat-row-list .list-main .d {
    margin-top: 2px;
}
.search-wrap {
    position: relative;
    margin: 4px 16px 10px;
}
.search-wrap .search {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    caret-color: var(--text);
}
.search-wrap:not(.has-val):not(:focus-within) .search {
    color: transparent;
}
.search-wrap.has-val .search,
.search-wrap:focus-within .search {
    text-align: left;
}
.search-deco {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--weak);
    font-size: 14px;
    pointer-events: none;
}
.search-wrap.has-val .search-deco,
.search-wrap:focus-within .search-deco {
    display: none;
}
.search-ico {
    width: 15px;
    height: 15px;
    opacity: 0.75;
    flex-shrink: 0;
}
.search {
    margin: 4px 16px 10px;
    background: var(--field);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    width: calc(100% - 32px);
}
.search::placeholder { color: var(--weak); }

.chat-row { padding: 10px 16px; }
.chat-row .meta { display: flex; gap: 10px; align-items: flex-start; }
.chat-row.me .meta { flex-direction: row-reverse; }
.chat-time-sep {
    display: block;
    width: fit-content;
    max-width: calc(100% - 2 * var(--chat-time-sep-inset));
    margin: var(--chat-time-sep-gap-top) auto var(--chat-time-sep-gap-bottom);
    padding: var(--chat-time-sep-pad-y) var(--chat-time-sep-pad-x);
    border-radius: var(--chat-time-sep-radius);
    background: var(--chat-time-sep-bg);
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    color: var(--chat-time-sep-fg);
    user-select: none;
}
.nav-stage > .screen.chat-has-bg .chat-time-sep {
    background: var(--chat-shell-glass);
    color: var(--chat-time-sep-fg-wallpaper);
}
.bubble {
    position: relative;
    max-width: 72%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
.chat-row.them .bubble { background: var(--ai); box-shadow: inset 0 0 0 1px var(--ai-border); cursor: pointer; }
.chat-row.me .bubble { background: var(--user); }
/* 气泡小三角：贴近气泡顶部，与头像中部对齐 */
.chat-row.them .bubble:not(.media)::before,
.chat-row.me .bubble:not(.media)::before {
    content: "";
    position: absolute;
    top: 14px;
    width: 0;
    height: 0;
    border-style: solid;
    pointer-events: none;
}
.chat-row.them .bubble:not(.media)::before {
    left: -6px;
    border-width: 6px 6px 6px 0;
    border-color: transparent var(--ai) transparent transparent;
}
.chat-row.me .bubble:not(.media)::before {
    right: -6px;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--user);
}

/* ===== 聊天背景：主题色半透毛玻璃顶底栏 + 半透气泡 ===== */
.nav-stage > .screen.chat-has-bg {
    background: transparent !important;
}
.chat-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg);
}
.chat-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    max-width: none;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}
.nav-stage > .screen.chat-has-bg > .nav {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    background: var(--chat-shell-glass) !important;
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    border-bottom: 1px solid var(--chat-shell-line);
}
.nav-stage > .screen.chat-has-bg > .scroll {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    background: transparent !important;
    /* 底栏改为绝对定位叠在背景上，消息区预留高度由 JS 同步（无 transition，避免落后于面板） */
    padding-bottom: var(--chat-dock-pad, 58px);
    box-sizing: border-box;
}
.nav-stage > .screen:has(> .chat-dock) {
    padding-bottom: var(--chat-kb-inset, 0px);
}
.nav-stage > .screen.chat-has-bg > .quote-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--chat-dock-pad, 58px) + var(--chat-kb-inset, 0px));
    z-index: 4;
    background: var(--chat-shell-glass) !important;
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    border-top: 1px solid var(--chat-shell-line);
}
/*
 * 底栏叠在背景图之上（与顶栏同一层叠逻辑），否则在文档流底部时
 * backdrop-filter 采不到壁纸，看起来像实心黑条。
 */
.nav-stage > .screen.chat-has-bg > .chat-dock {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: var(--chat-kb-inset, 0px);
    z-index: 5;
    background: var(--chat-shell-glass) !important;
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    border-top: 1px solid var(--chat-shell-line);
}
.nav-stage > .screen.chat-has-bg > .chat-dock .input-bar {
    background: transparent !important;
    border-top: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* 壁纸态表情/抽屉不再叠 --chat-shell-panel，透出底栏同一层玻璃，和上下边栏一致 */
.nav-stage > .screen.chat-has-bg > .chat-dock .emoji-panel,
.nav-stage > .screen.chat-has-bg > .chat-dock .plus-panel,
.nav-stage > .screen.chat-has-bg > .chat-dock .chat-panel-drawer {
    background: transparent !important;
}
.nav-stage > .screen.chat-has-bg > .chat-dock .chat-panel-drawer {
    border-top: 1px solid var(--chat-shell-line-soft);
}
.nav-stage > .screen.chat-has-bg > .nav .nav-title,
.nav-stage > .screen.chat-has-bg > .nav .icon-btn,
.nav-stage > .screen.chat-has-bg > .nav .nav-back,
.nav-stage > .screen.chat-has-bg > .nav .nav-text-btn,
.nav-stage > .screen.chat-has-bg > .chat-dock .icon-btn {
    color: var(--chat-shell-ink);
}
.nav-stage > .screen.chat-has-bg > .nav .nav-text-btn.ok {
    color: var(--chat-shell-ink-ok);
}
.nav-stage > .screen.chat-has-bg > .chat-dock .composer,
.nav-stage > .screen.chat-has-bg > .chat-dock .hold-talk {
    background: var(--chat-shell-field) !important;
    color: var(--chat-shell-field-ink);
}
.nav-stage > .screen.chat-has-bg > .chat-dock .composer::placeholder {
    color: var(--chat-shell-placeholder);
}
.nav-stage > .screen.chat-has-bg > .chat-dock .composer:focus,
.nav-stage > .screen.chat-has-bg > .chat-dock .composer:focus-visible {
    background-color: var(--chat-shell-field) !important;
    background-image: linear-gradient(var(--composer-focus-wash), var(--composer-focus-wash)) !important;
}
.nav-stage > .screen.chat-has-bg .chat-row .avatar,
.nav-stage > .screen.chat-has-bg .chat-row .avatar-fallback {
    opacity: 1 !important;
}
/* 气泡约 80% 不透明 */
.nav-stage > .screen.chat-has-bg .chat-row.them .bubble:not(.media),
.nav-stage > .screen.chat-has-bg .chat-row .bubble.them-bubble:not(.media) {
    background: var(--ai-glass) !important;
}
.nav-stage > .screen.chat-has-bg .chat-row.me .bubble:not(.media) {
    background: var(--user-glass) !important;
}
.nav-stage > .screen.chat-has-bg .chat-row.them .bubble:not(.media)::before {
    border-color: transparent var(--ai-glass) transparent transparent;
}
.nav-stage > .screen.chat-has-bg .chat-row.me .bubble:not(.media)::before {
    border-color: transparent transparent transparent var(--user-glass);
}
.chat-bg-gestures {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    bottom: 0;
    z-index: 6;
    touch-action: none;
    cursor: grab;
}
.chat-bg-gestures:active { cursor: grabbing; }

.chat-bg-nav .nav-right {
    display: flex;
    justify-content: flex-end;
}
.chat-dock-preview {
    pointer-events: none;
}
.chat-row .avatar, .chat-row .avatar-fallback { width: 36px; height: 36px; font-size: 13px; }
.bubble.playing { outline: 1px solid var(--accent); }
.chat-row.flash .bubble { outline: 1px solid var(--accent); }

.search-msg-row {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    color: inherit;
}
.search-msg-row:active {
    background: var(--press);
}
.search-msg-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}
.search-msg-name {
    font-size: 14px;
    font-weight: 600;
}
.search-msg-time {
    font-size: 11px;
    color: var(--sub);
    flex-shrink: 0;
}
.search-msg-text {
    font-size: 13px;
    color: var(--sub);
    line-height: 1.45;
    word-break: break-word;
}
.search-hit {
    background: var(--accent-soft);
    color: inherit;
    border-radius: 2px;
    padding: 0 1px;
}
.quote-card, .quote-bar-body {
    background: rgba(255,255,255,.06);
    border-left: 2px solid var(--accent);
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 6px;
}
.quote-name { font-size: 12px; color: var(--link); }
.quote-text { font-size: 12px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.quote-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px 0;
    border-top: 1px solid var(--line);
    background: var(--quote-bar);
}
.quote-bar-body { flex: 1; margin-bottom: 0; }

.input-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    min-height: calc(52px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--chrome);
    box-sizing: border-box;
}
.composer {
    flex: 1;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    max-height: 96px;
    background: var(--field);
    border-radius: 6px;
    padding: 0 12px;
    resize: none;
    font-size: 15px;
    line-height: 36px;
    overflow-y: auto;
}
/* 聚焦不画描边环。可辨认靠淡罩层和输入光标，失焦后罩层消失 */
/* 边框跟未聚焦走：暗色没有描边，这里清掉浏览器焦点环；亮色内描边在文件末尾加回 */
.composer:focus,
.composer:focus-visible {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
    background-image: linear-gradient(var(--composer-focus-wash), var(--composer-focus-wash));
    caret-color: currentColor;
}
.hold-talk {
    flex: 1;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    background: var(--field);
    border-radius: 6px;
    color: var(--text);
    font-size: 15px;
    line-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: none;
}
.icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon);
    padding: 0;
    flex-shrink: 0;
    line-height: 0;
}
.icon-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}
/* 通话图标路径偏满，略缩小以与返回/更多视觉对齐 */
.nav-right .icon-btn[data-act="open-call"] svg {
    width: 18px;
    height: 18px;
}
/* 覆盖 .icon-btn 的 display:flex，否则 hidden 无效导致发送与加号同时出现 */
.icon-btn[hidden],
.send-btn[hidden] {
    display: none !important;
}
/* 加号/发送同一槽位，宽度固定为「发送」按钮，避免文本框被挤缩 */
.chat-trail {
    width: 52px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    align-self: center;
}
.chat-trail > .send-btn,
.chat-trail > .icon-btn {
    grid-area: 1 / 1;
}
.send-btn {
    background: var(--accent);
    color: var(--on-accent);
    border-radius: 6px;
    padding: 0;
    font-size: 14px;
    width: 52px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
/* 底栏弹窗：纵向开合；表情/加号横向滑动，高度不变 */
.chat-panel-drawer {
    height: 0;
    overflow: hidden;
    background: var(--chrome-3);
    border-top: 1px solid transparent;
    box-sizing: border-box;
    transition: height 280ms cubic-bezier(0.25, 0.1, 0.25, 1),
                border-color 280ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.chat-panel-drawer.open {
    height: 210px;
    border-top-color: var(--line);
}
.chat-panel-track {
    display: flex;
    width: 200%;
    height: 210px;
    transform: translateX(0);
    transition: transform 280ms cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}
/* 顺序：表情 | 加号 */
.chat-panel-track.show-plus {
    transform: translateX(-50%);
}
.chat-panel-track.no-slide {
    transition: none !important;
}
.emoji-panel {
    width: 50%;
    height: 210px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: var(--chrome-3);
    box-sizing: border-box;
    overflow: hidden;
}
.emoji-tabs {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.emoji-tab {
    width: 36px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    color: var(--sub);
}
.emoji-tab.on { background: var(--accent-soft); color: var(--accent); }
.emoji-tab svg { width: 18px; height: 18px; }
.emoji-scroll { flex: 1; overflow-y: auto; padding: 8px 10px 40px; min-height: 0; }
.emoji-sec { font-size: 12px; color: var(--sub); margin: 8px 4px 6px; }
.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
}
.emoji-cell {
    font-size: 22px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.emoji-foot {
    position: relative;
    height: 0;
}
.emoji-del {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 32px;
    border-radius: 8px;
    background: var(--chip);
    color: var(--icon);
}
.plus-panel {
    width: 50%;
    height: 210px;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-content: center;
    justify-items: center;
    gap: 10px 8px;
    padding: 8px 12px;
    overflow: hidden;
    background: var(--chrome-3);
    box-sizing: border-box;
    position: relative;
    touch-action: manipulation;
}
/* 无壁纸时不显示。加号态铺在底栏上的唯一一层玻璃，和表情页、边栏同一叠层 */
/* 只铺一层 --chat-shell-glass，和上下边栏相同，不再叠 panel。图标处挖空，避免 tile 再滤一层变成实心 */
.plus-panel-bg {
    display: none;
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--chat-shell-glass);
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
}
.plus-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sub);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
.plus-tile {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    /* 比面板那层玻璃略亮，仍半透，不要改回实心 chip */
    background:
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
        linear-gradient(var(--chat-shell-glass), var(--chat-shell-glass));
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}
.plus-tile svg { width: 26px; height: 26px; }
/*
 * 壁纸态打开加号页时，底栏自己的毛玻璃会变成图标块的底，
 * 0.52 叠在同色面板上就像实心方块。底栏滤镜让开，
 * 可见填充只由底栏上的 .plus-panel-bg 承担（与表情页同一叠层），并在图标处挖空。
 * 不再给输入条、表情页各铺一层：两块 backdrop-filter 相接会出分割线。
 * 表情页收起后仍用底栏自己的那层，不跟加号共用。
 * 抽屉上沿的 1px 边和表情页保持同一条，切页时盒子高度不跳。
 */
.nav-stage > .screen.chat-has-bg > .chat-dock:has(.chat-panel-track.show-plus) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.nav-stage > .screen.chat-has-bg > .chat-dock:has(.chat-panel-track.show-plus) .input-bar {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}
.nav-stage > .screen.chat-has-bg > .chat-dock:has(.chat-panel-track.show-plus) .chat-panel-drawer,
.nav-stage > .screen.chat-has-bg > .chat-dock:has(.chat-panel-track.show-plus) .plus-panel,
.nav-stage > .screen.chat-has-bg > .chat-dock:has(.chat-panel-track.show-plus) .emoji-panel {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.nav-stage > .screen.chat-has-bg > .chat-dock:has(.chat-panel-track.show-plus) > .plus-panel-bg {
    display: block;
}
.bubble.media { background: transparent; padding: 0; }
.bubble-img { max-width: 180px; border-radius: 8px; display: block; }
.file-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    background: var(--field);
    border-radius: 8px;
    padding: 10px 12px;
}
.file-ico { width: 28px; color: var(--icon); }
.file-ico svg { width: 24px; height: 24px; }
.file-name { font-size: 14px; }
.file-size { font-size: 12px; color: var(--sub); margin-top: 2px; }
.rec-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.rec-wave {
    margin: auto auto 24px;
    width: 168px;
    height: 88px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.rec-wave::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    margin-left: -7px;
    border: 7px solid transparent;
    border-top-color: var(--accent);
}
.rec-wave.warn { background: #c45c5c; }
.rec-wave.warn::after { border-top-color: #c45c5c; }
.rec-bars { display: flex; align-items: center; gap: 3px; height: 36px; }
.rec-bars i {
    display: block;
    width: 4px;
    height: 12px;
    background: #2a2a2a;
    border-radius: 2px;
    animation: recbar 0.7s ease-in-out infinite;
}
.rec-bars i:nth-child(2) { animation-delay: .08s; }
.rec-bars i:nth-child(3) { animation-delay: .16s; }
.rec-bars i:nth-child(4) { animation-delay: .24s; }
.rec-bars i:nth-child(5) { animation-delay: .1s; }
.rec-bars i:nth-child(6) { animation-delay: .2s; }
.rec-bars i:nth-child(7) { animation-delay: .05s; }
.rec-bars i:nth-child(8) { animation-delay: .18s; }
@keyframes recbar {
    0%, 100% { height: 10px; }
    50% { height: 32px; }
}
.rec-bottom {
    background: var(--rec-bg);
    border-radius: 24px 24px 0 0;
    padding: 18px 16px 12px;
}
.rec-pills {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}
.rec-pill {
    padding: 8px 14px;
    border-radius: 16px;
    background: var(--rec-pill);
    color: var(--rec-pill-ink);
    font-size: 13px;
}
.rec-pill.on { background: var(--accent); color: var(--on-accent); }
.rec-send {
    text-align: center;
    padding: 16px 0 8px;
    color: #111;
    background: #d8d8d8;
    border-radius: 80px 80px 0 0;
    font-size: 15px;
}
.rec-send.on { background: #ececec; }

.call-green {
    display: flex; align-items: center; gap: 4px;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 14px; padding: 6px 10px; font-size: 13px;
}
.call-green svg { width: 16px; height: 16px; }

.chat-who svg { width: 14px; height: 14px; }

[data-theme="light"] .composer,
[data-theme="light"] .hold-talk,
[data-theme="light"] .search,
[data-theme="light"] .plus-tile,
[data-theme="light"] .emoji-del {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
/* 聚焦边框与未聚焦相同：亮色留下这条内描边 */
[data-theme="light"] .composer:focus,
[data-theme="light"] .composer:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
