/* 1.1.343 owner: voice call screen (dark, like a phone call). */
.vc-screen{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:calc(env(safe-area-inset-top) + 64px) 24px calc(env(safe-area-inset-bottom) + 48px + 9vh);border:0;background:linear-gradient(180deg,#16335f,#0b1730 70%);color:#fff;display:none;flex-direction:column;align-items:center;text-align:center;z-index:9999}
.vc-screen[open]{display:flex}
.vc-screen::backdrop{background:#000}
.vc-avatar{display:grid;place-items:center;width:128px;height:128px;border-radius:50%;background:linear-gradient(145deg,#4f8cff,#1d64d6);font-size:52px;font-weight:800;box-shadow:0 0 0 14px #ffffff12}
.vc-screen h2{margin:28px 0 8px;font-size:28px;font-weight:800;overflow-wrap:anywhere}
.vc-status{margin:0;font-size:17px;opacity:.8;font-variant-numeric:tabular-nums}
.vc-actions{display:flex;justify-content:center;gap:44px;margin-top:auto}
.vc-btn{display:grid;justify-items:center;gap:8px;width:auto;min-width:76px;margin:0;padding:0;border:0;background:none;color:#fff;font:inherit;font-size:14px}
.vc-btn svg{box-sizing:content-box;width:30px;height:30px;padding:21px;border-radius:50%;background:#ffffff26;fill:#fff}
.vc-btn.vc-no svg{background:#e53935}
.vc-btn.vc-yes svg{background:#2eb853}
.vc-btn.vc-mute[aria-pressed="true"] svg{background:#fff;fill:#16335f}
.vc-btn:active svg{filter:brightness(.85)}
.vc-audio{display:none}
.nc-call{margin:0 4px 0 auto;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#e8f0fe;font-size:19px;line-height:1}
.nc-call:active{background:#cfe0fc}
.nc-msg.nc-callmsg{display:flex;align-items:baseline;gap:6px;align-self:center;max-width:none;padding:6px 14px;border-radius:999px;background:#e8eef9;color:#3b4d6b;box-shadow:none}
.nc-chat-view .nc-msg.nc-callmsg{background:#e8eef9}
.nc-msg.nc-callmsg small{display:inline;margin-left:6px}
.vc-screen:focus,.vc-btn:focus{outline:none}
.vc-btn:focus-visible svg{box-shadow:0 0 0 3px #fff}

/* 1.1.357 owner: video call — the other person fills the screen, my own picture is a small corner. */
.vc-remote{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000;z-index:0}
.vc-remote[hidden],.vc-local[hidden]{display:none}
.vc-local{position:absolute;top:calc(env(safe-area-inset-top) + 14px);right:14px;width:96px;height:132px;object-fit:cover;border-radius:16px;border:2px solid #ffffffb3;background:#111;z-index:2;transform:scaleX(-1)}
.vc-screen.vc-has-video .vc-avatar{display:none}
.vc-screen.vc-has-video h2,.vc-screen.vc-has-video .vc-status{position:relative;z-index:1;text-shadow:0 1px 6px #0009}
.vc-screen.vc-has-video h2{margin-top:0;font-size:22px}
.vc-screen.vc-has-video{padding-top:calc(env(safe-area-inset-top) + 18px)}
.vc-screen .vc-actions{position:relative;z-index:2}
.vc-screen.vc-has-video .vc-actions{background:#0008;padding:12px 18px;border-radius:999px;backdrop-filter:blur(6px)}
.vc-btn.vc-cam[hidden]{display:none}
.vc-btn.vc-cam[aria-pressed="true"] svg{background:#fff;fill:#16335f}
.nc-call.nc-vcall{margin-left:0}

/* 1.1.358 */
.vc-btn.vc-spk[aria-pressed="true"] svg{background:#fff;fill:#16335f}
.vc-screen .vc-actions{gap:26px;flex-wrap:wrap;justify-content:center}

.vc-recording{position:relative;z-index:2;margin:12px 0;color:#fff;font-size:13px;line-height:1.5;text-shadow:0 1px 4px #000;max-width:100%}
.vc-recording[data-state="recording"]{color:#ffb5b5}
/* 1.1.494 owner (Viber look): video call - the small self-view floats clear of the edge with soft round corners, and the controls are plain round buttons
   along the bottom (no big dark pill). */
.vc-local{top:calc(env(safe-area-inset-top) + 64px);right:18px;width:104px;height:144px;border-radius:20px;border:2px solid #ffffffd9;box-shadow:0 6px 20px #0006}
.vc-screen.vc-has-video .vc-actions{background:none;padding:0;border-radius:0;backdrop-filter:none;gap:18px}
.vc-screen.vc-has-video .vc-btn svg{width:30px;height:30px;padding:17px;background:#0000008c}
.vc-screen.vc-has-video .vc-btn.vc-no svg{background:#e53935}
.vc-screen.vc-has-video .vc-btn[aria-pressed="true"] svg{background:#fff;fill:#16335f}
.vc-screen.vc-has-video{padding-bottom:calc(env(safe-area-inset-bottom) + 28px + 4vh)}
/* 1.1.494 owner: the call screen shows the other side's logo as a round picture (like the Android call screen), bigger and cleaner. */
.vc-avatar{position:relative;width:168px;height:168px;overflow:hidden;box-shadow:none;font-size:72px}
.vc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.vc-avatar b{font-weight:800}
.vc-recording{margin:10px 0 0;font-size:13px;opacity:.65}
.vc-btn svg{width:34px;height:34px;padding:21px}
/* 1.1.494 owner: call.html has no global box-sizing rule, so the 100%-wide screen plus its padding ran past the right edge (self-view and End cut off). */
.vc-screen{box-sizing:border-box}
