/* Selma's puppet fills the presence window; the photo stays underneath and
   comes forward in full screen ("show-photo"). */
.presence .puppet{position:absolute;inset:0;width:100%;height:100%;display:block}
.presence .portrait{visibility:hidden}
.presence.show-photo .portrait{visibility:visible}
.presence.show-photo .puppet{visibility:hidden}
.puppet-swap[hidden]{display:none}
/* Photoreal bust / hologram (photoreal-avatar.js) replaces the puppet when chosen. */
.presence .photoreal{position:absolute;inset:0;width:100%;height:100%;display:none}
.presence.photoreal-on .photoreal{display:block}
.presence.photoreal-on .puppet,.presence.photoreal-on .portrait{visibility:hidden}
.presence.holo-on{background:#000}
/* Static photo mode ("none"): no canvas/WebGL animation, original portrait only. */
.presence.avatar-none .portrait{visibility:visible}
.presence.avatar-none .puppet,.presence.avatar-none .photoreal{visibility:hidden;display:none}
/* True edge-to-edge fullscreen on phones ("На весь екран" and auto-fullscreen while speaking). */
body.focus{overflow:hidden}
body.focus header,body.focus nav,body.focus main,body.focus footer{display:none}
body.focus #shell{padding:0;max-width:none}
body.focus .presence,body.focus[data-load="1"] .presence{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-height:none;min-height:0;border:0;border-radius:0;margin:0;z-index:1500}
body.focus .portrait-top{top:max(18px,env(safe-area-inset-top))}
body.focus .portrait-bottom{bottom:max(22px,env(safe-area-inset-bottom))}
