/* 私信语音（sql/46）— 白色 v3，按 /workspace/voice/design */
.dm-mic-btn { flex: none; width: 40px; height: 40px; border: none; background: transparent; color: #0A0A0A; display: flex; align-items: center; justify-content: center; border-radius: 20px; cursor: pointer; padding: 0; touch-action: none; -webkit-user-select: none; user-select: none; }
.dm-mic-btn.locked { color: #C4C4C4; }
.dm-mic-btn.hidden, .dm-send-btn.hidden { display: none !important; }
.vc-hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #8A8A8A; padding: 6px 16px; }
.vc-hint.pulse { color: #0A0A0A; font-weight: 600; }
.vc-rec { display: flex; align-items: center; gap: 12px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: .5px solid rgba(0,0,0,.12); background: #fff; }
.vc-rec-x { width: 40px; height: 40px; border-radius: 20px; border: none; background: #F2F2F2; color: #0A0A0A; font-size: 18px; cursor: pointer; flex: none; }
.vc-rec-dot { width: 10px; height: 10px; border-radius: 5px; background: #0A0A0A; flex: none; animation: vcblink 1.2s infinite; }
@keyframes vcblink { 50% { opacity: .35; } }
.vc-rec-t { font: 700 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; flex: none; }
.vc-rec-wave { flex: 1; min-width: 0; height: 28px; display: flex; align-items: center; gap: 2px; overflow: hidden; }
.vc-rec-wave i { display: block; width: 3px; border-radius: 2px; background: #0A0A0A; flex: none; }
.vc-rec-send { flex: none; height: 40px; padding: 0 18px; border-radius: 20px; border: none; background: #0A0A0A; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.vc-rec-sub { text-align: center; font-size: 13px; color: #8A8A8A; padding: 6px 0; }
/* 触屏按住：底部面板 + 上方取消区 */
.vc-hold { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; background: #fff; border-top: .5px solid rgba(0,0,0,.12); padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; transition: opacity .15s; }
.vc-hold .vc-rec-t { font-size: 28px; display: block; margin-bottom: 4px; }
.vc-hold .vc-rec-wave { justify-content: center; margin: 10px 0; }
.vc-hold-mic { width: 72px; height: 72px; border-radius: 36px; background: #0A0A0A; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.vc-cancel-zone { position: fixed; left: 50%; transform: translateX(-50%); bottom: 260px; z-index: 9001; text-align: center; font-size: 13px; color: #3C3C43; }
.vc-cancel-zone b { display: flex; width: 76px; height: 76px; border-radius: 38px; background: #F2F2F2; margin: 0 auto 6px; align-items: center; justify-content: center; font-size: 24px; color: #0A0A0A; }
.vc-cancel-zone.on b { background: #0A0A0A; color: #fff; }
.vc-cancel-zone.on span { font-weight: 700; color: #0A0A0A; }
.vc-hold.dim { opacity: .45; }
/* 气泡 */
.vc-bubble { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 22px; background: #F2F2F2; color: #0A0A0A; width: max-content; max-width: none; flex: none; box-sizing: border-box; position: relative; overflow: visible; }
.dm-msg:has(.vc-bubble) { overflow: visible; }
.dm-msg.mine .vc-bubble { background: #0A0A0A; color: #fff; }
.vc-play { width: 32px; height: 32px; border-radius: 16px; border: none; background: #fff; color: #0A0A0A; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; padding: 0; }
.dm-msg.mine .vc-play { background: #2A2A2A; color: #fff; }
.vc-wave { display: flex; align-items: center; gap: 2px; height: 24px; cursor: pointer; touch-action: none; }
.vc-wave i { display: block; width: 3px; border-radius: 2px; background: rgba(10,10,10,.28); flex: none; }
.vc-wave i.p { background: #0A0A0A; }
.dm-msg.mine .vc-wave i { background: rgba(255,255,255,.35); }
.dm-msg.mine .vc-wave i.p { background: #fff; }
.vc-dur { font: 500 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; flex: none; }
.vc-unheard { position: absolute; right: -18px; top: 50%; margin-top: -4px; width: 8px; height: 8px; border-radius: 4px; background: #E5484D; }
.vc-hidden { display: inline-block; font-size: 13px; color: #8A8A8A; background: #F7F7F7; border: .5px dashed rgba(0,0,0,.18); border-radius: 16px; padding: 8px 12px; max-width: 70%; }
.vc-perm { padding: 4px 16px 8px; font-size: 15px; line-height: 1.5; color: #3C3C43; }
.vc-perm-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.vc-perm-btns button { height: 46px; border-radius: 23px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; }
.vc-perm-btns .pri { background: #0A0A0A; color: #fff; }
.vc-perm-btns .sec { background: #F2F2F2; color: #0A0A0A; }
.vc-rules { margin: 0 10px 8px; background: #F4F4F4; border-radius: 16px; padding: 12px 14px 8px; font-size: 15px; color: #0A0A0A; }
.vc-rules-t { display: flex; align-items: center; gap: 8px; }
.vc-rules-a { display: flex; justify-content: space-between; align-items: center; padding-left: 24px; margin-top: 4px; }
.vc-rules-link { background: none; border: none; padding: 8px 0; font-size: 15px; text-decoration: underline; color: #0A0A0A; cursor: pointer; }
.vc-rules-ok { background: none; border: none; padding: 8px 10px; font-size: 15px; font-weight: 700; color: #0A0A0A; cursor: pointer; }
.st-section { font-size: 13px; color: #8A8A8A; padding: 14px 16px 4px; }
.dm-recalled { cursor: default; }
