:root { color-scheme:dark; font-family:system-ui,-apple-system,Roboto,sans-serif; --bg:#100b20;--purple:#a88cf7;--muted:#c1b9d3;--panel:#211734; }
* { box-sizing:border-box; } body {margin:0;background:radial-gradient(ellipse at 40% 5%,#48306b 0%,#190e2e 53%,#100b20 100%);color:#faf6ff;min-height:100dvh}
main {min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:18px}
.hidden { display:none !important; } .card{width:min(100%,450px);padding:30px 24px;border-radius:26px;background:linear-gradient(145deg,#2a1d40,#1a132d);border:1px solid #53436e;box-shadow:0 20px 70px #0905176b;text-align:center}
.logo{width:76px;height:76px;margin:2px auto 19px;display:grid;place-items:center;border-radius:24px;font-size:43px;color:white;background:linear-gradient(130deg,#e79acc,#8d76dd)}
h1 {font-size:32px;letter-spacing:-1px;margin:5px 0 8px}h2{font-size:25px;margin:18px 0 6px}.muted{color:var(--muted);line-height:1.5;font-size:14px}
form{text-align:left;margin-top:28px}label{font-size:13px;color:#dbd0e9;display:block;margin:14px 0 8px}input,select{width:100%;border:1px solid #6b577f;background:#100d20;color:white;border-radius:12px;padding:13px;font-size:16px}button{cursor:pointer;border:0;font-weight:650;font-size:15px;border-radius:13px;min-height:47px;color:white}button:disabled{opacity:.5;cursor:default}.primary{background:linear-gradient(135deg,#b579de,#7b69d6);color:white}.secondary{background:#352843;border:1px solid #77618a}.primary:hover,.secondary:hover{filter:brightness(1.09)}form button{width:100%;margin-top:22px}.error{min-height:16px;color:#ff9bab;font-size:13px}.topbar{display:flex;justify-content:space-between;align-items:center}.brand{font-weight:750}.textbtn{background:none;color:#dec6ff;min-height:28px;font-size:13px}.avatar{border-radius:50%;margin:35px auto 13px;width:120px;height:120px;display:grid;place-items:center;background:linear-gradient(145deg,#724fa3,#d17eab);font-size:64px;box-shadow:0 0 50px #a675d24d}
.peer{display:flex;align-items:center;justify-content:center;gap:9px;color:#d8c5e5}.dot{height:9px;width:9px;border-radius:50%;background:#8a7d8f}.dot.online{background:#63deb0;box-shadow:0 0 11px #63deb0}.callActions{display:flex;gap:10px;margin-top:35px}.callActions button{flex:1;padding:12px 6px}.buttonIcon{margin-right:6px;font-size:20px}.status{min-height:42px;margin-top:26px}.privacy{font-size:11px;color:#b3a8c4;margin-top:30px}
#callScreen{position:fixed;inset:0;background:#090912}#remoteVideo{width:100%;height:100%;object-fit:cover;background:#141225}.remoteWaiting{position:absolute;inset:0;display:grid;place-items:center;color:#c6b5d7;padding:30px;text-align:center}#localVideo{position:absolute;z-index:4;top:max(19px,env(safe-area-inset-top));right:16px;width:115px;height:158px;background:#2d2841;object-fit:cover;border-radius:18px;border:2px solid #d9b5eb;transform:scaleX(-1);box-shadow:0 4px 30px #0008}
.callHeader{position:absolute;z-index:2;top:0;left:0;right:0;padding:24px 145px 20px 22px;background:linear-gradient(#000a,transparent);display:flex;flex-direction:column;gap:6px}.callHeader b{font-size:18px}.callHeader span{font-size:13px;color:#e5d9ea}.verifyPanel{position:absolute;z-index:3;bottom:130px;left:14px;right:14px;background:#1e1839e8;backdrop-filter:blur(12px);border:1px solid #8168ad;border-radius:16px;padding:10px 13px;display:flex;flex-direction:column;gap:4px;text-align:center}.verifyPanel span{font-size:11px;color:#ddd1ed}.verifyPanel strong{font-size:19px;letter-spacing:2px}.verifyPanel small{font-size:10px;color:#c8bdce}.controls{position:absolute;z-index:3;bottom:0;left:0;right:0;padding:15px 12px max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-evenly;gap:8px;background:linear-gradient(transparent,#0c091cf2)}.round{border-radius:18px;height:70px;min-width:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:25px;background:#463a54bd}.round small{font-size:11px;font-weight:500}.round.danger{background:#ce3c64}.round.off{background:#755166}.overlay{position:fixed;inset:0;z-index:10;background:#07030ce0;display:grid;place-items:center;padding:20px}.incomingCard .avatar{width:95px;height:95px;font-size:50px}.toast{position:fixed;z-index:12;bottom:15px;left:20px;right:20px;max-width:440px;margin:auto;background:#37214b;color:white;border:1px solid #926cab;border-radius:13px;padding:12px;text-align:center}
