/* PrivateShare Calls · small 1:1 calling UI integrated with existing chat styles */
.ps-calls-chat-actions{display:flex;gap:7px;align-items:center;margin-left:auto;flex-wrap:wrap}
.ps-calls-chat-btn{display:inline-flex;align-items:center;gap:6px;justify-content:center;min-width:88px}
.ps-calls-layer{position:fixed;inset:0;z-index:15000;display:grid;place-items:center;padding:18px;background:rgba(5,9,20,.76);backdrop-filter:blur(8px)}
.ps-calls-window{color:var(--text,#e9efff);background:var(--panel,#151e31);border:1px solid var(--border,#33415b);border-radius:22px;box-shadow:0 24px 100px rgba(0,0,0,.56);max-width:760px;width:100%;padding:22px;display:grid;gap:17px}
.ps-calls-heading{display:flex;align-items:center;gap:14px;min-width:0}
.ps-calls-heading-icon{display:grid;place-items:center;border-radius:16px;width:56px;height:56px;background:rgba(111,126,255,.14);font-size:1.5rem;flex:none}
.ps-calls-title{min-width:0;display:grid;gap:5px}
.ps-calls-title strong{font-size:1.16rem;overflow-wrap:anywhere}
.ps-calls-title small{color:var(--muted,#9aabc5)}
.ps-calls-stage{background:#090d18;border:1px solid rgba(255,255,255,.09);border-radius:16px;min-height:300px;max-height:500px;position:relative;overflow:hidden;display:grid;place-items:center}
.ps-calls-remote-placeholder{display:grid;justify-items:center;gap:12px;color:#b7c6dd;font-size:2.4rem;text-align:center;padding:20px;position:absolute;z-index:2}
.ps-calls-remote-placeholder span{font-size:.95rem}
.ps-calls-stage #ps-calls-remote{width:100%;height:100%;min-height:300px;max-height:500px;object-fit:contain;background:#090d18}
.ps-calls-stage #ps-calls-local{position:absolute;right:14px;bottom:14px;width:min(30%,190px);height:140px;object-fit:cover;border:2px solid rgba(255,255,255,.48);border-radius:14px;background:#19263e;box-shadow:0 8px 28px rgba(0,0,0,.6);z-index:3}
.ps-calls-stage-audio{min-height:230px}.ps-calls-stage-audio #ps-calls-local{display:none}.ps-calls-stage-audio #ps-calls-remote{position:absolute;width:1px;height:1px;opacity:0}
.ps-calls-hidden{display:none}
.ps-calls-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px}
.ps-calls-button{background:var(--panel2,#28334b);border:1px solid var(--border,#40506a);color:var(--text,#f5f8ff);font:inherit;font-size:.9rem;font-weight:650;cursor:pointer;border-radius:12px;padding:12px 15px;min-height:43px}
.ps-calls-button:hover,.ps-calls-button:focus-visible{border-color:var(--accent,#818cf8);background:var(--hover,#364461)}
.ps-calls-hangup{background:#b32635;color:#fff;border-color:#ce3d4c}
.ps-calls-hangup:hover{background:#d3394b}
.ps-calls-accept{background:#177849;color:#fff;border-color:#26a669}
.ps-calls-note{font-size:.77rem;color:var(--muted,#a6b4ca);margin:0;text-align:center}
@media(max-width:820px){.ps-calls-chat-actions{margin-left:0}.ps-calls-chat-btn{min-width:44px}.ps-calls-chat-btn span{display:none}.ps-calls-window{padding:14px}.ps-calls-stage,.ps-calls-stage #ps-calls-remote{min-height:230px}.ps-calls-stage #ps-calls-local{height:90px;width:32%}}
@media(prefers-reduced-motion:reduce){.ps-calls-layer{backdrop-filter:none}}
