#fox-guide[data-companion] .fox-launcher{width:104px;height:112px;overflow:visible;touch-action:none;background:transparent;border:0;box-shadow:none;position:relative}
#fox-guide[data-companion] .fox-launcher>img:first-child{width:100%;height:100%;max-width:none;object-fit:contain;transform-origin:50% 85%;animation:companion-breathe 3.8s ease-in-out infinite;filter:drop-shadow(0 4px 3px color-mix(in srgb,var(--ink) 14%,transparent))}
#fox-guide[data-companion] .fox-launcher:before{display:none}
#fox-guide[data-companion] .fox-launcher:hover>img:first-child{animation:companion-greet .8s ease-in-out infinite}
#fox-guide[data-companion=hirono] .fox-launcher>img:first-child{animation:companion-head 4s ease-in-out infinite}
#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher{height:148px;width:90px}
#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher>img:first-child{height:94px;width:90px;position:absolute;top:0;left:0;transform-origin:50% 3%;animation:companion-chime 3.6s ease-in-out infinite}
#fox-guide .fox-launcher>img.companion-tail{position:absolute;top:76px;left:25px;width:48px;height:68px;object-fit:contain;transform-origin:50% 0;animation:companion-paper 3.6s .25s ease-in-out infinite;pointer-events:none}
#fox-guide[data-companion=minimal] .fox-launcher{width:42px;height:42px;border:1px solid var(--line);background:var(--surface);border-radius:50%}
#fox-guide[data-companion=minimal] .fox-launcher>img:first-child{visibility:hidden}
#fox-guide[data-companion=minimal] .fox-launcher:after{content:'✳';position:absolute;inset:0;display:grid;place-items:center;font-size:26px;color:var(--accent)}
#fox-guide[data-companion-reaction=yes] .fox-launcher>img:first-child{animation:companion-bounce 1.1s ease-in-out}
#fox-guide[data-companion-reaction=yes] .fox-launcher>img.companion-tail{animation:companion-paper .6s ease-in-out infinite}
#fox-guide[data-companion-motion=quiet] .fox-launcher>img{animation-duration:8s;animation-iteration-count:infinite}
#fox-guide[data-companion-motion=still] .fox-launcher>img,#fox-guide[data-companion-paused=true] .fox-launcher>img{animation:none!important;transform:none!important}
#fox-guide[data-companion-compact=true] .fox-launcher{width:60px;height:68px}
#fox-guide[data-companion-compact=true]:is([data-companion=sunset],[data-companion=orange]) .fox-launcher{width:60px;height:100px}
#fox-guide[data-companion-compact=true] .fox-launcher>img:first-child{max-width:100%;max-height:70%}
#fox-guide[data-companion-compact=true] .fox-launcher>img.companion-tail{top:50px;left:15px;width:32px;height:45px}
.companion-preferences{padding:20px 0}.companion-preferences h2{font-size:19px;margin:0 0 16px}.companion-preferences label{display:block;margin:12px 0}.companion-preferences select{display:block;width:100%;padding:10px;margin-top:6px;min-height:44px;color:var(--ink);background:var(--surface);border:1px solid var(--line);font:inherit}.companion-preferences p{font-size:12px;line-height:1.6;color:var(--muted)}
.companion-controls{border-bottom:1px solid var(--line);margin-bottom:12px}.companion-controls .companion-preferences{padding:0 0 12px}.companion-controls h2{font-size:16px}
@keyframes companion-breathe{0%,100%{transform:translateY(0) rotate(var(--companion-look-x,0deg)) scale(1)}50%{transform:translateY(-7px) rotate(var(--companion-look-x,0deg)) scale(1.035)}}
@keyframes companion-head{0%,100%{transform:translateY(0) rotate(calc(var(--companion-look-x,0deg) - 3deg))}50%{transform:translateY(calc(-7px + var(--companion-look-y,0px))) rotate(calc(var(--companion-look-x,0deg) + 3deg))}}
@keyframes companion-chime{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@keyframes companion-paper{0%,100%{transform:translateX(-3px) rotate(12deg)}50%{transform:translateX(3px) rotate(-12deg)}}
@keyframes companion-greet{0%,100%{transform:translateY(-3px) rotate(-7deg)}50%{transform:translateY(-9px) rotate(7deg)}}
@keyframes companion-bounce{0%,100%{transform:translateY(0) scale(1)}25%{transform:translateY(-17px) scale(1.07,.95) rotate(-8deg)}60%{transform:translateY(-5px) scale(.96,1.04) rotate(7deg)}}
@media(max-width:600px){#fox-guide[data-companion] .fox-launcher{width:68px;height:76px}#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher{width:62px;height:110px}#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher>img:first-child{width:62px;height:70px}#fox-guide .fox-launcher>img.companion-tail{top:54px;left:18px;width:34px;height:48px}}
@media(prefers-reduced-motion:reduce){#fox-guide[data-companion] .fox-launcher>img{animation:none!important;transform:none!important}}

/* Original source canvases are aligned: do not reposition or redraw the paper strips. */
#fox-guide[data-companion=hirono] .fox-launcher{width:128px;height:128px}
#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher{width:104px;height:164px;transform-origin:50% 0;animation:companion-chime 3.6s ease-in-out infinite}
#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher>img:first-child{width:100%;height:100%;inset:0;animation:none;transform:none}
#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher>img.companion-tail{width:100%;height:100%;top:0;left:0;transform-origin:44% 59%;animation:companion-paper 3.6s .25s ease-in-out infinite}
#fox-guide[data-companion=orange] .fox-launcher>img.companion-tail{transform-origin:46% 72%}
#fox-guide[data-companion-motion=quiet] .fox-launcher{animation-duration:8s}
#fox-guide[data-companion-motion=still] .fox-launcher,#fox-guide[data-companion-paused=true] .fox-launcher{animation:none!important;transform:none!important}
@media(max-width:600px){#fox-guide[data-companion=hirono] .fox-launcher{width:84px;height:84px}#fox-guide:is([data-companion=sunset],[data-companion=orange]) .fox-launcher{width:68px;height:108px}}
@media(prefers-reduced-motion:reduce){#fox-guide[data-companion] .fox-launcher{animation:none!important;transform:none!important}}
