.call-dialog.profile-call{box-sizing:border-box;width:min(480px,100% - 20px);max-width:480px;max-height:calc(100dvh - 20px);color:var(--navy);background:#f8fbf5;border-radius:26px;padding:20px 24px 18px;overflow-y:auto}.phone-call-label{letter-spacing:.02em;color:var(--muted);justify-content:center;align-items:center;gap:7px;margin-bottom:18px;font-size:11px;display:flex}.call-portrait-frame{aspect-ratio:1;background:#dfeadf;border:4px solid #fff;border-radius:26px;width:calc(min(100%,clamp(220px,34dvh,300px))/1.11111);margin:auto;position:relative;overflow:hidden;box-shadow:0 8px 25px #173b4314}.call-quick-actions:not([hidden]){flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 7px;display:flex}.call-quick-actions>button,.call-quick-actions .friend-invite-controls>button{min-height:36px;color:var(--navy);background:#e9f1e5;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:4px 10px;font-size:14px;line-height:1.25;display:inline-flex}.call-caption-toggle[aria-pressed=true]{background:var(--navy);color:#fff}.call-visual{min-width:0;position:relative}.call-live-caption:not([hidden]){box-sizing:border-box;color:#fff;letter-spacing:0;text-align:left;pointer-events:none;background:#10292ef5;border-radius:12px;padding:8px 12px;font-size:16px;font-weight:600;line-height:1.45;position:absolute;inset:auto 0 0}.call-live-caption>span{white-space:pre;block-size:4.35em;display:block;overflow:hidden}.call-profile-photo{object-fit:cover;object-position:center 28%;width:100%;height:100%;display:block}.call-profile-initial{place-items:center;height:100%;font-size:60px;display:grid}.profile-call h2{margin:12px 0 3px;font-size:23px;line-height:1.3}.call-state{justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.call-state>span{background:#87998c;border-radius:50%;width:7px;height:7px}.profile-call[data-call-state=active] .call-state>span{background:#4b946d;box-shadow:0 0 0 4px #4b946d15}.profile-call[data-call-state=connecting] .call-state>span,.profile-call[data-call-state=reconnecting] .call-state>span{background:#d59f4a;animation:1.4s ease-in-out infinite call-connecting}@keyframes call-connecting{50%{opacity:.35}}.profile-call #character-call-status{overflow-wrap:anywhere;min-height:17px;margin:6px 0 8px;font-size:11px;line-height:1.5}.profile-call #character-call-status:empty{display:none}.call-remaining{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:12px 0 14px;display:flex}.call-remaining>span{color:var(--muted);font-size:11px}.call-remaining>strong{font-variant-numeric:tabular-nums;letter-spacing:.02em;font-size:27px;line-height:1.2}.call-remaining>small{color:var(--muted);flex-basis:100%;margin-top:-5px;font-size:10px}.call-engine-elapsed{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:-9px;margin-bottom:12px;font-size:10px}.phone-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.phone-control{min-height:70px;color:var(--navy);background:#e7eee4;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:10px 4px;font-size:11px;line-height:1.3;display:flex}.phone-control:before{content:"";background:currentColor;width:21px;height:21px;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.microphone-control:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 10v2a7 7 0 0014 0v-2M12 19v3M9 22h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 10v2a7 7 0 0014 0v-2M12 19v3M9 22h6'/%3E%3C/svg%3E")}.microphone-control[aria-pressed=true]{color:#923d35;background:#f2ddd7}.hangup-control{color:#fff;background:#b34d46}.hangup-control:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 16l4-1V10a15 15 0 0110 0v5l4 1 1-4C16 6 8 6 2 12l1 4z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 16l4-1V10a15 15 0 0110 0v5l4 1 1-4C16 6 8 6 2 12l1 4z'/%3E%3C/svg%3E")}.profile-call .call-volume-help{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 8px;font-size:12px;line-height:1.45}.profile-call .call-volume-help[hidden]{display:none}.teacher-preview .teacher-style{color:var(--muted);margin-top:-5px;font-size:11px}.teacher-preview .teacher-fit{color:var(--green);font-size:10px}.profile-call .call-state,.profile-call #character-call-status,.call-remaining>span,.phone-control{font-size:14px}.profile-call #character-call-status{line-height:1.5}.phone-control{min-height:72px}.call-remaining>small{font-size:12px}@media (max-height:700px){.call-dialog.profile-call{padding:12px 16px}.phone-call-label{margin-bottom:8px}.call-portrait-frame{border-radius:22px;width:calc(min(100%,clamp(180px,35dvh,230px))/1.11111)}.profile-call h2{margin:7px 0 2px;font-size:22px}.profile-call #character-call-status{min-height:0;margin:4px 0;line-height:1.4}.call-remaining{margin:7px 0 10px}.phone-controls{gap:7px}.phone-control{min-height:64px;padding:8px 3px}}@media (max-height:600px) and (max-aspect-ratio:6/5){.call-portrait-frame{width:calc(min(100%,clamp(140px,26dvh,185px))/1.11111)}.call-quick-actions:not([hidden]){margin-bottom:6px}.profile-call .call-volume-help{margin:3px 0 6px}}.profile-call .phone-controls{z-index:3;background:#f8fbf5;position:sticky;bottom:0}.call-photo-control:before{display:none}.call-photo-status{color:var(--muted);overflow-wrap:anywhere;grid-column:1/-1;margin:0;font-size:12px;line-height:1.45}.profile-call #character-call-recover-speaker{min-height:44px;margin-top:6px}@media (min-width:500px) and (max-height:600px) and (min-aspect-ratio:6/5){.profile-call #character-call-recover-speaker{grid-area:8/2}.profile-call[data-call-captions=on] #character-call-recover-speaker{grid-row:7}.profile-call[open]{grid-template-columns:minmax(150px,.85fr) minmax(240px,1.15fr);align-items:center;column-gap:18px;width:min(760px,100% - 20px);max-width:760px;padding:12px 16px;display:grid}.phone-call-label{grid-area:1/1;margin:0 0 6px;font-size:11px}.call-portrait-frame{grid-area:2/1/8;align-self:start;width:calc(min(100%,100dvh - 78px)/1.11111)}.profile-call h2{grid-area:1/2;margin:0 0 4px}.call-state{grid-area:2/2}.profile-call #character-call-status{grid-area:3/2}.call-remaining{grid-area:4/2;margin:6px 0 10px}.profile-call #character-call-resume{grid-area:5/2;min-height:44px;padding:8px}.phone-controls{grid-area:7/2}.profile-call .call-volume-help{grid-area:6/2;margin:3px 0 6px}.phone-control{min-height:64px}.profile-call .call-remaining{z-index:2;background:#f8fbf5;position:sticky;top:0}.profile-call .call-quick-actions:not([hidden]){grid-area:1/1;gap:4px;margin:0 0 6px}.call-quick-actions>button{gap:4px;padding-inline:6px}.call-live-caption:not([hidden]){padding:6px 8px;font-size:14px}}@media (prefers-reduced-motion:reduce){.profile-call .call-state>span{animation:none!important}}@media (min-width:500px) and (max-height:600px) and (min-aspect-ratio:6/5){.call-visual{display:contents}.profile-call[open][data-call-captions=on]{grid-template-rows:auto auto auto auto 80.9px auto auto}.profile-call[data-call-captions=on] .call-portrait-frame{grid-row:2/5;width:calc(min(100%,clamp(70px,24dvh,135px))/1.11111)}.profile-call[data-call-captions=on] .call-live-caption{grid-area:5/1/auto/-1;margin:4px 0;position:static}.profile-call[data-call-captions=on] .call-volume-help{grid-area:6/1}.profile-call[data-call-captions=on] .phone-controls{grid-area:6/2;position:static}.profile-call[data-call-captions=on] #character-call-resume{grid-area:7/1/auto/-1}.profile-call[data-call-captions=on] .call-engine-elapsed{grid-area:7/1;margin:0}.profile-call[data-call-captions=on]:has(#character-call-resume:not([hidden])) .call-engine-elapsed{grid-row:8}}@media (min-width:500px) and (max-height:380px) and (min-aspect-ratio:6/5){.profile-call[open][data-call-captions=on]{grid-template-rows:auto auto auto auto 74.9px auto auto;padding:6px 12px}.profile-call[data-call-captions=on] :is(.call-quick-actions,.call-remaining,#character-call-status,.call-volume-help){margin:0}.profile-call[data-call-captions=on] .call-portrait-frame{box-sizing:border-box;width:calc(min(100%,66px)/1.11111)}.profile-call[data-call-captions=on] .call-live-caption{margin:0}}.friend-invite-controls{display:contents}.friend-invite-controls[hidden]{display:none}.friend-invite-controls>small{overflow-wrap:anywhere;flex-basis:100%}.friend-invite-dialog{border:1px solid var(--line);width:min(25rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--navy);background:#fff;border-radius:1rem;padding:1rem}.friend-invite-dialog::backdrop{background:#102d3d80}.friend-invite-dialog header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.friend-invite-dialog h3{margin:0}.friend-invite-dialog input{width:100%;min-width:0}
