/* 通话覆盖层 */
.call-mask {
  position: fixed; inset: 0; background: #0b1420; z-index: 80;
  display: flex; align-items: center; justify-content: center;
}
.call-panel {
  width: 100%; max-width: 520px; height: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 18px 24px; box-sizing: border-box; color: #fff;
}
.call-who { font-size: 19px; font-weight: 600; margin-bottom: 6px; text-align: center; }
.call-tip { font-size: 13px; color: #9fb2c8; margin-bottom: 18px; }
.call-videos { position: relative; width: 100%; flex: 1 1 auto; min-height: 0; }
.call-videos video {
  background: #101b2a; border-radius: 14px; object-fit: cover;
}
#rlx-video-remote { width: 100%; height: 100%; }
#rlx-video-local {
  position: absolute; right: 8px; bottom: 8px; width: 28%; height: 26%;
  border: 1px solid rgba(255,255,255,.25);
}
.call-audio-wave {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.call-audio-wave span {
  display: block; width: 10px; background: #3fa9f5; border-radius: 6px; height: 26px;
  animation: rlxwave 1.1s ease-in-out infinite;
}
.call-audio-wave span:nth-child(2) { animation-delay: .15s; }
.call-audio-wave span:nth-child(3) { animation-delay: .3s; }
.call-audio-wave span:nth-child(4) { animation-delay: .45s; }
@keyframes rlxwave {
  0%, 100% { height: 18px; opacity: .55; }
  50% { height: 62px; opacity: 1; }
}
.call-actions {
  display: flex; gap: 14px; margin-top: 20px; width: 100%; justify-content: center;
}
.call-btn {
  flex: 0 0 auto; min-width: 96px; padding: 13px 18px; border-radius: 28px;
  border: 0; font-size: 14px; color: #0b1420; background: #dfe8f3; cursor: pointer;
}
.call-btn.mute { background: #b9cbe0; }
.call-btn.hangup { background: #e04b4b; color: #fff; font-weight: 600; }
.call-btn:active { opacity: .85; }

/* 聊天页通话入口 */
.chat-call-bar { display: flex; gap: 8px; padding: 6px 10px 0; background: #eceff4; }
.chat-call-bar button {
  flex: 1; padding: 8px 0; border-radius: 9px; border: 1px solid #dfe3e9;
  background: #fff; font-size: 13px; color: #245a94; cursor: pointer;
}
.chat-call-bar button:active { background: #f1f5fa; }

/* 通话消息气泡 */
.bubble .callcard { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #245a94; }
/* ---- v1.3.2 通话面板补充 ---- */
.call-videos { display: none; }
.call-videos.video-on { display: block; }
.call-btn.accept { background: #35c26a; color: #fff; font-weight: 600; }
.call-btn.off { background: #6b7c92; color: #fff; }
.call-who { max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
