body[data-page="call"] #app { min-height:100vh; min-height:100dvh; background:#0a0c21; }
.voice-call-page {
  position:relative; isolation:isolate; display:flex; flex-direction:column; max-width:var(--shell); margin:auto;
  height:100vh; height:100dvh; min-height:300px; overflow:hidden; color:#f3eaf4;
  background:radial-gradient(ellipse at 50% 44%,#24234266,transparent 55%),
    radial-gradient(ellipse at 100% 80%,#32234a66,transparent 51%),linear-gradient(169deg,#091431,#0e112a 58%,#191326);
}
.voice-call-page::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:-1; opacity:.65;
  background:
    radial-gradient(1px 1px at 14% 17%,#ece9fc 65%,transparent),radial-gradient(1.2px 1.2px at 74% 15%,#dce3ff 65%,transparent),
    radial-gradient(1.4px 1.4px at 85% 29%,#f2dce1 55%,transparent),radial-gradient(1px 1px at 9% 44%,#b9bdd5 60%,transparent),
    radial-gradient(1px 1px at 71% 50%,#d4cae9,transparent),radial-gradient(1px 1px at 31% 63%,#dad7ef 60%,transparent),
    radial-gradient(1.4px 1.4px at 93% 72%,#dbcdea 60%,transparent),radial-gradient(1px 1px at 18% 79%,#c5bcda 65%,transparent);
}
.voice-call-nav { height:47px; flex:none; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:0 12px; }
.voice-call-nav h1 { margin:0; color:#ece4f4; font:550 19px/1.3 var(--sans); }
.voice-call-nav button { justify-self:start; display:grid; place-items:center; width:44px; height:44px; color:#c1b9cf; }
.voice-call-center { flex:1; min-height:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:clamp(10px,4vh,44px); padding:18px 22px 4px; }
.voice-call-art {
  position:relative; flex:none; width:min(72%,295px,36dvh); aspect-ratio:352/336;
  filter:drop-shadow(0 0 18px #c7a3fa3d);
}
.voice-call-art .glowing-jelly-orb { inset:0; width:100%; height:100%; }
.voice-call-art .chat-starfall,.voice-call-art .chat-orb-dust { display:none; }
.voice-call-readout { display:flex; flex-direction:column; align-items:center; width:100%; min-height:min(164px,20dvh); text-align:center; }
#voice-call-state { margin:0; font:500 clamp(20px,5.2cqw,25px)/1.4 var(--sans); letter-spacing:.03em; color:#f3e7df; }
#voice-call-time { font-size:14px; font-variant-numeric:tabular-nums; color:#b9b0c8; line-height:1.7; }
#voice-call-caption { margin:10px 0 0; max-width:34ch; max-height:13dvh; overflow:auto; overscroll-behavior:contain; font:400 16px/1.6 var(--sans); color:#cbc0d6; white-space:pre-line; overflow-wrap:anywhere; }
#voice-call-caption:empty { display:none; }
.voice-call-controls {
  flex:none; display:flex; align-items:flex-start; justify-content:center; gap:clamp(15px,6cqw,32px);
  padding:14px 20px max(34px,calc(20px + env(safe-area-inset-bottom)));
}
.vc-control { width:76px; padding:3px 0; display:flex; flex-direction:column; align-items:center; gap:7px; color:#d8cee3; font:500 14px/1.45 var(--sans); }
.vc-control-space { width:76px; }
.vc-button-icon { display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:#29273d; border:1px solid #c8b9df3d; }
.vc-accent .vc-button-icon { background:#3c3552; color:#f4dcbe; border-color:#e1c3c653; }
.vc-hang .vc-button-icon { background:#83505e; border-color:#c18f9866; color:#fff3f0; }
.vc-control:focus-visible,.voice-call-nav button:focus-visible { outline:2px solid #e9c697; outline-offset:2px; border-radius:14px; }
@media (max-height:540px) {
  .voice-call-center { flex-direction:row; gap:20px; padding:2px 24px; }
  .voice-call-art { width:min(32%,29dvh); }
  .voice-call-readout { min-height:auto; width:54%; }
  #voice-call-caption { max-height:20dvh; }
  .voice-call-controls { padding:3px 15px max(8px,env(safe-area-inset-bottom)); }
  .vc-button-icon { width:42px; height:42px; }
}
@media (prefers-reduced-motion:reduce) {
  .voice-call-page .glowing-jelly-orb,.voice-call-page .jelly-wake,.voice-call-page .jelly-light { animation:none; }
}
