.call-launch { flex: none; }
.call-launch.call-live { width: auto; padding-inline: 8px; color: #9cf2cc; border-color: #69ad98; }
.call-panel {
  position: fixed; z-index: 88; top: 76px; right: max(12px, env(safe-area-inset-right));
  width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - 90px);
  overflow: auto; padding: 14px; background: #17233b; color: #f0f5ff;
  border: 1px solid #52668d; border-radius: 16px; box-shadow: 0 14px 45px #060a19bb;
}
.call-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.call-head h2 { margin: 0; font-size: 17px; }
.call-head p { margin: 4px 0 10px; color: #c5d2e8; font-size: 12px; }
.call-peers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.call-peers:empty { display: none; }
.call-peer {
  display: grid; grid-template-rows: 1fr auto; min-height: 91px; position: relative;
  overflow: hidden; border: 1px solid #475b7b; border-radius: 9px;
  background: radial-gradient(ellipse at center, #334c65, #1b2845 80%);
}
.call-peer video { display: none; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.call-peer.has-video video { display: block; }
.call-peer.has-video .call-avatar { display: none; }
.call-avatar { place-self: center; color: #b2f4e6; font-size: 23px; font-weight: 800; }
.call-peer-label {
  padding: 5px 7px; background: #111c33; display: grid; min-width: 0;
  gap: 1px; line-height: 1.15;
}
.call-peer-label strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.call-peer-label small { color: #b9c8e2; font-size: 10px; }
.call-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.call-controls .btn { flex: 1; min-height: 38px; white-space: nowrap; padding: 6px 8px; }
.call-controls [aria-pressed="true"] { color: #bdf8e1; border-color: #6cbeaa; background: #204a4d; }
#callPlay { margin-top: 8px; }
@media (max-width: 760px) {
  .call-panel { top: 102px; max-height: calc(100dvh - 120px); padding: 10px; }
  .gamebar .call-launch.call-live { width: auto; }
}
