.saion-helper-launch{position:fixed;right:18px;bottom:24px;z-index:60;display:flex;align-items:center;gap:5px;border:1px solid #55d6ff66;border-radius:22px;padding:5px 14px 5px 3px;background:#07172bea;color:#c6f4ff;box-shadow:0 6px 28px #0077c333;cursor:pointer;font:600 13px system-ui;min-height:44px}.saion-helper-launch img{width:52px;height:64px;animation:helper-float 4s ease-in-out infinite}.saion-helper-launch:focus-visible,.saion-helper-panel button:focus-visible,.saion-helper-panel a:focus-visible{outline:3px solid #84eeff;outline-offset:3px}.saion-helper-panel{position:fixed;right:18px;bottom:110px;z-index:90;width:min(390px,calc(100vw - 28px));max-height:72dvh;overflow:auto;box-sizing:border-box;border:1px solid #3873a2;border-radius:22px;padding:20px;background:#07172bf5;color:#e6f5ff;box-shadow:0 20px 80px #0008;font:14px/1.6 system-ui}.saion-helper-panel[hidden]{display:none!important}.saion-helper-panel header{display:flex;align-items:center;gap:10px;margin-bottom:14px}.saion-helper-panel header img{width:47px;height:56px}.saion-helper-panel header strong{flex:1}.saion-helper-panel h2{font-size:18px;color:#c1f2ff;margin:10px 0}.saion-helper-panel p{color:#c2d6ea}.saion-helper-choices{display:grid;gap:8px;margin:16px 0}.saion-helper-panel button,.saion-helper-panel a{box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #345a83;border-radius:12px;background:#102e4d;color:#c7f5ff;font:inherit;text-align:left;text-decoration:none;cursor:pointer;display:block}.saion-helper-panel footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.saion-helper-panel small{display:block;color:#98b4d0;font-size:11px}.saion-helper-panel [role=status]{font-size:12px;overflow-wrap:anywhere}.saion-console .saion-helper-launch{bottom:24px}.saion-console .saion-helper-panel{bottom:110px}@keyframes helper-float{50%{transform:translateY(-5px)}}@media(max-width:760px){.saion-console .saion-helper-launch{bottom:93px}.saion-console .saion-helper-panel{bottom:176px;max-height:calc(100dvh - 200px)}}@media(prefers-reduced-motion:reduce){.saion-helper-launch img{animation:none}}

.saion-helper-launch img{object-fit:cover;object-position:top;border-radius:18px}.saion-helper-panel header img{object-fit:cover;object-position:top;border-radius:10px}.saion-welcome{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:28px;max-width:1140px;margin:20px auto;padding:22px 30px;border:1px solid #236187;border-radius:24px;background:linear-gradient(110deg,#0b2037,#061423);color:#eaf6ff}.saion-welcome img{width:150px;height:190px;object-fit:cover;object-position:top;border-radius:18px;animation:helper-float 5s ease-in-out infinite}.saion-welcome h2{font-size:26px;margin:6px 0}.saion-welcome p{color:#b6cee2}.saion-welcome button{background:#53daff;color:#061b2b;border:0;border-radius:14px;padding:12px 18px;font:600 15px system-ui;cursor:pointer}.saion-welcome small{color:#83cae9;display:block;margin-top:10px}.saion-help-speaking img{animation:helper-speak 700ms ease-in-out infinite}@keyframes helper-speak{50%{filter:brightness(1.16);transform:translateY(-2px)}}@media(max-width:600px){.saion-welcome{margin:20px 18px;padding:20px;grid-template-columns:90px 1fr;gap:15px}.saion-welcome img{width:90px;height:140px}.saion-welcome h2{font-size:21px}}@media(prefers-reduced-motion:reduce){.saion-welcome img,.saion-help-speaking img{animation:none}}

/* Four identity-preserving poses; animation never downloads a video/model. */
.saion-character{display:block;position:relative;width:164px;height:164px;overflow:hidden;flex-shrink:0;isolation:isolate;transform-origin:50% 90%;animation:saion-breathe 5s ease-in-out infinite}
.saion-character-sprite{position:absolute;inset:0;background-image:url('/saion-character-v4.webp');background-size:contain;background-position:center bottom;background-repeat:no-repeat}
.saion-character[data-frame="1"] .saion-character-sprite{background-position:center bottom}
.saion-character[data-frame="2"] .saion-character-sprite{background-position:center bottom}
.saion-character[data-frame="3"] .saion-character-sprite{background-position:center bottom}
.saion-character[data-frame="1"]{animation:saion-greet 1.2s ease-in-out}
.saion-character[data-frame="2"],.saion-character[data-frame="3"]{animation:saion-explain 1.8s ease-in-out infinite}
.saion-character[data-motion="off"]{animation:none!important}
.saion-character-stage{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #53bce32b;border-radius:18px;background:radial-gradient(ellipse at center,#15426a80,transparent 70%);margin:8px 0 16px;padding:6px}
.saion-character-badge{display:block;font-size:12px;color:#90e8ff;min-height:24px;text-align:center}
.saion-welcome .saion-welcome-character{padding:0;border:0;background:transparent;min-width:0;border-radius:20px;cursor:pointer}
.saion-helper-panel button[hidden]{display:none!important}
.saion-helper-launch img{animation:none}
@keyframes saion-breathe{50%{transform:scale(1.012) translateY(-2px)}}
@keyframes saion-greet{25%{transform:rotate(-3deg) translateY(-3px)}65%{transform:rotate(2deg)}}
@keyframes saion-explain{50%{transform:rotate(.8deg) translateY(-2px)}}
@media(max-width:600px){.saion-welcome .saion-character{width:90px;height:90px}}
@media(prefers-reduced-motion:reduce){.saion-character{animation:none!important}}

.saion-character[data-mode="paused"],.saion-character[data-mode="preparing"],.saion-character[data-mode="error"]{animation:none!important}


/* Foreground guide overlays the original brand entrance. */
.saion-welcome.saion-welcome-foreground{position:absolute;right:-12px;bottom:-24px;z-index:4;display:flex;align-items:flex-end;gap:0;max-width:350px;margin:0;padding:0;border:0;border-radius:0;background:transparent;text-align:left;box-sizing:border-box}
.saion-welcome-foreground .saion-welcome-character{display:block;width:145px;flex:0 0 145px;align-self:flex-end;background:transparent;padding:0;border:0;position:relative;filter:drop-shadow(0 8px 12px #0007)}
.saion-welcome-foreground .saion-character{width:145px;height:132px}
.saion-welcome-bubble{position:relative;z-index:1;padding:13px 15px;border:1px solid #337eaa;border-radius:18px 18px 3px 18px;background:#071d30f5;box-shadow:0 10px 30px #0005;margin-bottom:42px;margin-right:-17px;max-width:230px;box-sizing:border-box}
.saion-welcome-bubble strong{display:block;color:#b8edff;font-size:15px}.saion-welcome-bubble p{font-size:12px;line-height:1.55;color:#bcd4e6;margin:6px 0 10px}.saion-welcome-foreground .saion-welcome-bubble button{background:#143c58;color:#c9f5ff;font-size:12px;min-height:44px;padding:8px 12px;border:1px solid #318db9;border-radius:11px}.saion-welcome-bubble small{font-size:10px;line-height:1.4;margin-top:7px;color:#8db9d4}.saion-welcome-foreground button:focus-visible{outline:3px solid #84eeff;outline-offset:3px}.saion-launch .launch-orbit{padding-bottom:90px}.saion-helper-panel .saion-character{width:164px;height:150px}.saion-helper-launch img{object-fit:contain}
@media(max-width:760px){.saion-welcome.saion-welcome-foreground{right:0;bottom:0;max-width:min(350px,100%)}.saion-welcome-foreground .saion-welcome-character{width:112px;flex-basis:112px}.saion-welcome-foreground .saion-character{width:112px;height:102px}.saion-welcome-bubble{margin-bottom:15px;max-width:230px}.saion-launch .launch-orbit{padding-bottom:135px}.saion-welcome-bubble strong{font-size:14px}}
