/* calls: the call sidebar (full screen on phones), the incoming-call card, and the request sheet */
.call-panel { position: fixed; top: 16px; right: 16px; width: 380px; height: min(620px, calc(100vh - 120px)); z-index: 90; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: #0c0e14; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.6); color: #eef0f6; font: 14px/1.4 Inter, "Segoe UI", system-ui, sans-serif; }
.cp-stage { position: relative; flex: 1; background: radial-gradient(120% 80% at 50% 20%, rgba(0, 220, 196,.22), transparent 60%), #0c0e14; overflow: hidden; }
.cp-remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; transition: opacity .3s; }
.cp-stage.video.live .cp-remote, .call-panel.live .cp-stage.video .cp-remote { opacity: 1; }
.cp-who { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; }
.call-panel.live .cp-stage.video .cp-who { inset: auto 0 0 0; justify-content: flex-end; padding: 16px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.55)); }
.call-panel.live .cp-stage.video .cp-who .cp-av { display: none; }
.cp-av { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 34px; color: #e0fcf8;
  background: linear-gradient(135deg, rgba(0, 220, 196,.6), rgba(0, 220, 196,.18)); box-shadow: 0 0 0 8px rgba(0, 220, 196,.08), 0 0 0 18px rgba(0, 220, 196,.04); flex: none; }
.call-panel:not(.live) .cp-av { animation: cpPulse 1.8s ease-in-out infinite; }
@keyframes cpPulse { 50% { box-shadow: 0 0 0 14px rgba(0, 220, 196,.12), 0 0 0 30px rgba(0, 220, 196,.05); } }
.cp-who b { font-size: 20px; } .cp-st { color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; }
.cp-local { position: absolute; right: 12px; top: 12px; width: 108px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: #1a1e29; border: 1px solid rgba(255,255,255,.15); display: none; transform: scaleX(-1); }
.call-panel.has-local .cp-local { display: block; }
.cp-bar { display: flex; justify-content: center; gap: 14px; padding: 16px; background: #0c0e14; border-top: 1px solid rgba(255,255,255,.06); }
.cp-b, .cc-b { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.cp-b svg, .cc-b svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cp-b:hover { background: rgba(255,255,255,.18); } .cp-b.off { background: #fff; color: #0c0e14; }
.cp-b.end, .cc-b.no { background: #e5484d; } .cp-b.end:hover, .cc-b.no:hover { background: #f2555a; }
.cc-b.yes { background: #00dcc4; } .cc-b.yes:hover { background: #2ee3cc; }
.call-panel.over .cp-st { color: #fff; }
.call-card { position: fixed; top: 16px; right: 16px; z-index: 95; display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; width: 340px; padding: 12px 12px 12px 14px;
  border-radius: 16px; background: #151925; border: 1px solid rgba(0, 220, 196,.35); box-shadow: 0 20px 50px rgba(0,0,0,.55); color: #eef0f6; font: 14px/1.35 Inter, "Segoe UI", system-ui, sans-serif;
  animation: ccIn .25s ease; }
@keyframes ccIn { from { opacity: 0; transform: translateY(-8px); } }
.call-card .cp-av { width: 48px; height: 48px; font-size: 17px; box-shadow: none; animation: cpPulse 1.8s ease-in-out infinite; }
.call-card b { display: block; } .call-card span { color: #9aa3b5; font-size: 13px; }
.call-card .cc-b { width: 44px; height: 44px; } .call-card .cc-b svg { width: 19px; height: 19px; }
.cc-b.yes svg { fill: currentColor; stroke: none; }
@media (max-width: 720px) {
  .call-panel { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
  .cp-local { width: 96px; top: 16px; }
  .call-card { left: 10px; right: 10px; width: auto; top: 10px; }
}
