.mystix-host{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));width:clamp(150px,20vw,310px);z-index:4;pointer-events:none;isolation:isolate}
.host-art{position:relative;width:100%;aspect-ratio:2/3;transform-origin:55% 98%;animation:none;opacity:1;filter:drop-shadow(0 6px 7px #0008)}
.host-art svg{display:block;width:100%;height:100%;overflow:visible}
.host-head{transform-box:view-box;transform-origin:66% 15.6%;animation:host-consider 19s ease-in-out infinite}
.host-hand{transform-box:view-box;transform-origin:22.3% 26.9%;animation:host-fingers 13s ease-in-out infinite}
.host-sensor{position:absolute;left:50.5%;top:19.5%;width:4%;aspect-ratio:1;border:1px solid #d1c8b5;border-radius:50%;background:radial-gradient(circle,#effaff 0 12%,#8ad0ff 20%,#203849 52%,#b5aa91 58%,#302b24 75%);box-shadow:0 0 9px #4fa9ff80;padding:0;pointer-events:auto;cursor:pointer;animation:host-light 5s ease-in-out infinite}
.host-sensor::before{content:"";position:absolute;inset:-20px;border-radius:50%}
.host-sensor:focus-visible{outline:2px solid #c2efff;outline-offset:12px}
.mystix-host[data-speaking="true"] .host-sensor{box-shadow:0 0 16px #d8f2ff;animation:none}
.host-caption{position:absolute;right:15%;bottom:94%;width:235px;padding:13px 16px;border:1px solid #ada18a66;border-radius:12px 12px 2px 12px;background:#10131bf2;color:#e4dccd;font:13px/1.55 system-ui,sans-serif;box-shadow:0 8px 28px #0005;visibility:hidden;opacity:0;transform:translateY(5px);transition:opacity .3s,transform .3s}
.mystix-host[data-speaking="true"] .host-caption{visibility:visible;opacity:1;transform:none}
.host-caption small{display:block;color:#92b8c4;font-size:9px;letter-spacing:.15em;margin-bottom:5px}
@keyframes host-light{0%,100%{filter:brightness(.8)}50%{filter:brightness(1.3)}}
@keyframes host-consider{0%,35%,65%,100%{transform:rotate(0)}44%,54%{transform:rotate(.75deg)}}
@keyframes host-fingers{0%,38%,65%,100%{transform:rotate(0)}48%,55%{transform:rotate(-1deg)}}
@media(max-width:700px){.mystix-host{width:130px;right:2px;bottom:64px}.host-caption{width:190px;font-size:12px;right:10%}}
@media(prefers-reduced-motion:reduce){.host-art,.host-head,.host-hand,.host-sensor{animation:none}.host-caption{transition:none}}
/* Keep the control comfortably tappable even when the artwork is small. */
.host-sensor{left:calc(71% - 22px);top:calc(25.2% - 22px);width:44px;height:44px;background:transparent;border:0;box-shadow:none;animation:none}
.host-sensor::before{inset:auto;left:50%;top:50%;width:clamp(5px,.7vw,12px);height:clamp(5px,.7vw,12px);transform:translate(-50%,-50%);background:radial-gradient(circle,#effaff,#8ad0ff 30%,#203849 58%,#b5aa91 65%,#302b24 85%);box-shadow:0 0 7px #4fa9ff80;animation:host-light 5s ease-in-out infinite;pointer-events:none}
.mystix-host[data-speaking="true"] .host-sensor{box-shadow:none}
.mystix-host[data-speaking="true"] .host-sensor::before{box-shadow:0 0 14px #d8f2ff}
@media(prefers-reduced-motion:reduce){.host-sensor::before{animation:none}}

.host-sensor::before{width:clamp(3px,.4vw,7px);height:clamp(6px,.9vw,14px);border-radius:4px}

/* Keep the hostess present but make her one-third of her former size. */
.mystix-host{width:clamp(50px,6.67vw,103.3px)}
@media(max-width:700px){.mystix-host{width:43.3px}}
/* Keep the hostess hidden for five seconds, then reveal her smoothly. */
.mystix-host{visibility:hidden;opacity:0}
.mystix-host.host-arriving{animation:host-simple-arrival 1.2s ease-out both}
@keyframes host-simple-arrival{0%{visibility:hidden;opacity:0;transform:translateY(8px)}1%{visibility:visible}100%{visibility:visible;opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.mystix-host.host-arriving{animation:none;visibility:visible;opacity:1;transform:none}}

/* A larger, responsive stage presence with a true hands-down idle silhouette. */
.mystix-host{width:clamp(100px,13.34vw,206.6px)}
@media(max-width:700px){.mystix-host{width:86.6px}}
/* Keep every pose resident so changes blend without image decoding or timeline resets. */
.host-idle-art,.host-dance-art,.host-idle-side,.host-idle-hip{transition:opacity 1.35s cubic-bezier(.45,0,.2,1);pointer-events:none}
.host-idle-art,.host-idle-side{opacity:1}
.host-dance-art,.host-idle-hip{opacity:0}
.mystix-host.is-dancing .host-idle-art,.mystix-host[data-idle-pose="hip"] .host-idle-side{opacity:0}
.mystix-host.is-dancing .host-dance-art,.mystix-host[data-idle-pose="hip"] .host-idle-hip{opacity:1}
.host-idle-head,.host-head{transform-box:view-box;transform-origin:66% 15.6%;animation:none}
.host-hand{animation:none}
.host-art{transform:none;animation:none}
.host-hypnosis{opacity:.65;transform-box:view-box;transform-origin:151px 391px;pointer-events:none}
.host-hypnosis ellipse{fill:none;stroke:#86d9ff;stroke-width:2.2;stroke-dasharray:8 12}
.host-hypnosis ellipse+ellipse{stroke:#db9f70;stroke-width:1.6;stroke-dasharray:4 11}
.mystix-host.motion-paused *,.mystix-host.motion-paused *::before{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.host-idle-art,.host-dance-art,.host-idle-side,.host-idle-hip{transition:none}}
.mystix-host{animation:none!important;visibility:hidden;opacity:0;transition:opacity .85s ease,visibility 0s .85s}.mystix-host.host-present{visibility:visible;opacity:1;transition:opacity .85s ease}
#host-toggle{appearance:none;border:0;background:none;padding:0;color:inherit;font:inherit;letter-spacing:inherit;cursor:inherit}#host-toggle:hover{color:inherit}#host-toggle:focus-visible{outline:1px solid #f1c698;outline-offset:4px}
