/* Video call: retain the warm paper world around a quiet, cinematic portrait. */
body[data-screen="call"] .experience, body[data-screen="incoming"] .experience { max-width:1120px; }
.call-layout:has(.santa-stage) { grid-template-columns:minmax(260px, .9fr) minmax(0, 1.1fr); gap:clamp(24px,5vw,68px); padding:0; align-items:center; }
.santa-stage { position:relative; width:100%; max-width:360px; aspect-ratio:9/16; margin:auto; overflow:hidden; border:6px solid #fff8e9; border-radius:28px; background:#392c24; isolation:isolate; box-shadow:0 22px 60px #49361d28,0 0 0 1px #bfb19a; }
.santa-fallback,.santa-layer { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.santa-layer { opacity:0; transition:opacity 300ms ease; }
.santa-layer.visible { opacity:1; }
.santa-vignette { position:absolute; inset:0; pointer-events:none; background:linear-gradient(#241b215c,transparent 25%,transparent 72%,#201813bd); }
.santa-live { position:absolute; top:19px; left:18px; display:flex; align-items:center; gap:7px; color:#fff9e8; font:10px var(--sans, sans-serif); letter-spacing:1.8px; }
.santa-live>span { width:7px; height:7px; border-radius:50%; background:#caeac4; box-shadow:0 0 12px #e7ffbd; }
.santa-status { position:absolute; bottom:20px; left:12px; right:12px; color:#fff8e9; text-align:center; font:14px/1.4 var(--sans, sans-serif); text-shadow:0 1px 5px #0008; }
.active-call .call-copy { min-width:0; }
.active-call .call-copy h1 { font-size:clamp(34px,4vw,49px); }
.active-call .dialogue-card { background:#fff9eb; border-radius:15px; border:1px solid #d6c9ad; box-shadow:0 5px 20px #7562440a; transform:none; }
.active-call .dialogue-card:before,.active-call .dialogue-card:after { display:none; }
.active-call .dialogue-card>p { font-size:clamp(19px,2vw,23px); line-height:1.5; }
.active-call .wave i { animation-play-state:paused; height:3px; }
.active-call.is-speaking .wave i { animation-play-state:running; }
.active-call .choice-button { transform:none; border-radius:12px; box-shadow:none; min-height:52px; }
.active-call .call-controls { justify-content:space-between; gap:12px; max-width:none; }
.active-call .call-controls button { min-height:48px; padding:8px 12px; border-radius:24px; background:#e9edde; font-size:18px; }
.active-call .call-controls button:last-child { background:#f4e2dc; }
.active-call .repeat-button { min-height:44px; }
.active-call button:focus-visible,.incoming-screen button:focus-visible { outline:3px solid #897135; outline-offset:4px; }
@media(max-width:760px) {
 .call-layout:has(.santa-stage) { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
 .santa-stage { max-width:290px; }
 .active-call .santa-stage { max-width:310px; height:clamp(290px,47svh,420px); aspect-ratio:auto; }
 .active-call .santa-layer,.active-call .santa-fallback { object-position:50% 30%; }
 .active-call .call-copy { max-width:480px; margin:auto; }
 .active-call .call-copy h1 { font-size:29px; margin:10px 0; }
 .active-call .call-copy h1 br { display:none; }
 .active-call .dialogue-card { margin:14px 0; padding:16px 18px 5px; }
 .active-call .dialogue-card>p { font-size:20px; }
 .active-call .call-controls button { font-size:16px; }
 .active-call .subtle-note { font-size:15px; }
 body[data-screen="call"] .site-header { height:auto; padding-top:max(14px,env(safe-area-inset-top)); padding-bottom:10px; }
 body[data-screen="call"] .experience { padding-bottom:max(28px,env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .santa-layer { transition:none; } .active-call .wave i { animation:none; } }
.voice-actions { display:grid; gap:10px; }
.microphone-button { display:block; width:100%; min-height:60px; border-radius:30px; padding:14px 20px; background:#315b49; color:#fff8e9; font:600 18px/1.3 var(--sans,sans-serif); box-shadow:0 5px 14px #315b4925; }
.microphone-button[aria-pressed="true"] { background:#a34539; box-shadow:0 0 0 5px #a3453918; }
.microphone-button:disabled { opacity:.6; cursor:wait; }
#voice-status { font:13px/1.5 var(--sans,sans-serif); color:#54664f; text-align:center; min-height:38px; margin:0; }
.voice-error { background:#fff1db; color:#813f29; border-radius:10px; padding:12px; font:14px/1.5 var(--sans,sans-serif); margin:0; }
.voice-error[hidden],.child-line[hidden] { display:none; }
.call-type { font:14px/1.5 var(--sans,sans-serif); color:#53624c; }
.call-type summary { cursor:pointer; min-height:44px; padding:10px 0; text-align:center; }
#call-text-form { display:flex; gap:8px; }
#call-text { min-width:0; flex:1; border:1px solid #c6c9b4; border-radius:12px; padding:12px; color:#344735; background:#fffcf3; }
#call-text-form button { flex:0 0 48px; border-radius:12px; background:#315b49; color:#fff; }
#call-text-form svg { width:20px; }
.child-line { font:14px/1.5 var(--sans,sans-serif); color:#61735c; padding:10px 15px; border-left:2px solid #b3c2a7; text-align:left; }
.active-call .call-copy>.subtle-note { font:11px/1.6 var(--sans,sans-serif); color:#727867; text-align:left; margin-top:18px; }
@media(max-width:760px) {
 body[data-screen="call"] .language-bar { margin-bottom:0; }
 body[data-screen="call"] .site-footer { display:none; }
 .active-call .call-copy>h1 { display:none; }
 .active-call .call-copy>.eyebrow { margin-top:0; }
 .active-call .santa-stage { height:clamp(250px,39svh,330px); max-width:340px; }
 .active-call .call-layout { gap:14px; }
 .active-call .voice-actions { position:sticky; bottom:0; z-index:4; background:#f8f3e6f5; backdrop-filter:blur(12px); border-radius:18px; padding:10px 0 max(6px,env(safe-area-inset-bottom)); }
 .active-call .dialogue-card>p { font-size:18px; line-height:1.45; }
}
@media(max-width:760px) { body[data-screen="call"]>.garland { display:none; } }
.voice-settings-actions { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0; }
#voice-settings fieldset { border:1px solid #c8ccb8; border-radius:12px; padding:14px; margin:20px 0; }
#voice-settings .voice-mode { display:flex; align-items:center; gap:10px; margin:12px 0; }
#voice-settings .voice-mode input { width:20px; min-height:20px; margin:0; flex-shrink:0; }
#voice-settings .voice-wallet { background:#edf1e3; border-radius:14px; margin-top:20px; padding:18px; display:grid; gap:8px; }
#voice-settings button:disabled { opacity:.6; cursor:not-allowed; }
.voice-setup-link { text-align:center; margin:0 auto; font-size:12px; min-height:32px; padding:3px 0; }
@media(max-width:760px) { .active-call .voice-setup-link { font-size:12px; } }

#voice-settings [hidden] { display:none !important; }
#voice-provider { width:100%; min-height:48px; margin:8px 0; }
#elf-video .elf-videos { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:14px; }
#elf-video .elf-video video { width:100%; max-height:60svh; border-radius:8px; background:#000; }
#elf-video .elf-video a { display:block; font-size:12px; margin-top:6px; }
#elf-day .elf-day { margin-top:24px; }
#elf-day .elf-day video { width:100%; max-height:70svh; border-radius:8px; background:#000; margin-top:12px; }
