/* A responsive character, with a stable layout beneath its spring motion. */
[data-companion]{position:relative}
.companion-rig{position:relative;flex-shrink:0;aspect-ratio:1;z-index:1;pointer-events:none;mix-blend-mode:multiply}
.hero-visual[data-companion]{padding-bottom:52px}
.hero-visual .companion-rig{width:calc(107% - 52px);max-width:none}
.product-stage .companion-rig{width:96%;height:auto}
.companion-rig>img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;animation:none!important;translate:none!important;rotate:none!important;transform-origin:50% 86%;mix-blend-mode:normal;user-select:none;-webkit-user-drag:none}
.companion-contact{cursor:grab}
.companion-contact:active{cursor:grabbing}
.companion-ui{position:absolute;inset:auto 17px 15px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.companion-play{display:flex;align-items:center;gap:8px;pointer-events:auto;background:#f6f8f0ed;border:1px solid #cbdac7;border-radius:30px;padding:10px 14px;font-size:9px;line-height:1.4;color:#577263;box-shadow:0 3px 15px #27473106;transition:background .2s,border-color .2s;max-width:100%}
.companion-play:hover{background:#e4efe3;border-color:#90b8aa}
.companion-play svg{width:14px;height:14px;flex-shrink:0;stroke:#5e9b95}
.companion-state{font-size:8px;color:#58796a;line-height:1.5;text-align:end;max-width:40%;opacity:0;transition:opacity .25s;pointer-events:none}
[data-companion-state=follow] .companion-state,[data-companion-state=tickle] .companion-state,[data-companion-state=dance] .companion-state{opacity:1}
.hero-visual .companion-ui{bottom:35px;inset-inline:6px}
.product-stage .companion-ui{bottom:14px;inset-inline:14px}
.product-stage .gallery-label{top:17px;bottom:auto;pointer-events:none}
.product-stage.companion-room .companion-rig{width:100%;height:100%;position:absolute;inset:0;aspect-ratio:auto;mix-blend-mode:normal}
.product-stage.companion-room .companion-rig>img{object-fit:cover}
.companion-room .companion-ui{display:none}
.companion-playground{aspect-ratio:1.55;min-height:280px;border:1px solid #d4e0d3;overflow:hidden;border-radius:5px;background:radial-gradient(ellipse at 50% 45%,#f7faf2 0%,#e6eee2 63%,#e0e8dc 100%);display:flex;align-items:center;justify-content:center;isolation:isolate}
.companion-playground:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#669b8e0c 1px,transparent 1px),linear-gradient(90deg,#669b8e0c 1px,transparent 1px);background-size:26px 26px;mask-image:radial-gradient(ellipse,#000,transparent 75%);pointer-events:none}
.companion-playground .companion-rig{width:auto;height:94%;margin-top:-12px}
.companion-playground .orbit-ring{width:55%;border-color:#a9c4b66b}
.companion-scene-label{position:absolute;top:17px;inset-inline:18px;display:flex;justify-content:space-between;gap:10px;font-size:7px;letter-spacing:.06em;color:#6d897a;pointer-events:none}
.companion-scene-label>span:last-child{font-size:6px;letter-spacing:.03em}
.companion-playground .companion-ui{inset-inline:15px;bottom:13px}
.companion-playground .companion-play{font-size:8px;padding:9px 12px}
.companion-playground .companion-state{max-width:42%;font-size:8px;background:#edf3e8cc;border-radius:3px;padding:5px 7px}
.companion-spark{position:absolute;width:5px;height:5px;border:1px solid #72bdb7;background:#c6ece1;pointer-events:none;z-index:3;animation:companion-spark .6s ease-out both}
.companion-film-link{display:block;margin-top:18px;padding:0;color:#7c907b;font-size:9px;text-decoration:underline;text-underline-offset:4px}
.companion-help{font-size:9px!important;margin-top:12px;color:#7c907b!important}
.product-stage[data-companion]{padding:12px 0 52px}
.product-stage[data-companion] .companion-rig{width:calc(96% - 60px)}
.product-stage[data-companion].companion-room{padding:0}
.product-stage[data-companion].companion-room .companion-rig{width:100%;height:100%}
.companion-playground{padding:12px 0 50px}
.companion-playground .companion-rig{height:100%;margin-top:0}
@keyframes companion-spark{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}20%{opacity:.8}100%{opacity:0;transform:translate(var(--spark-x),var(--spark-y)) rotate(var(--spark-turn)) scale(.2)}}
@media(min-width:1600px){.hero-visual .companion-rig{width:100%}}
@media(max-width:760px){.hero-visual .companion-rig{width:350px;height:auto;max-width:110%;aspect-ratio:1}.hero-visual .companion-rig>img{object-fit:fill}.hero-visual .companion-ui{bottom:23px;inset-inline:0}.hero-visual .companion-play{font-size:8px;padding:8px 10px;max-width:70%}.hero-visual .companion-state{font-size:7px;max-width:30%}.product-stage .companion-rig{width:auto;height:100%;max-width:100%;aspect-ratio:1}.product-stage .companion-ui{inset-inline:10px;bottom:10px}.product-stage .companion-play{font-size:8px;padding:8px 10px;max-width:72%}.product-stage .companion-state{font-size:7px;max-width:27%}.companion-playground{min-height:260px;aspect-ratio:1.35}.companion-playground .companion-rig{height:94%}.companion-scene-label{font-size:6px;inset-inline:14px;top:14px}.companion-playground .companion-ui{inset-inline:10px;bottom:10px}.companion-playground .companion-play{max-width:66%;font-size:7px;padding:8px 9px;gap:6px}.companion-playground .companion-state{max-width:33%;font-size:7px}.companion-film-link{margin-top:14px}}
@media(max-width:370px){.hero-visual .companion-rig{width:325px;height:auto;aspect-ratio:1}.companion-playground .companion-play{font-size:7px}}
@media(max-width:760px){.hero-visual[data-companion]{height:345px;padding-bottom:76px}.hero-visual[data-companion] .companion-rig{width:290px;max-width:100%;height:auto;aspect-ratio:1}.product-stage[data-companion] .companion-rig{width:auto;height:100%}.product-stage[data-companion].companion-room .companion-rig{width:100%;height:100%}.companion-playground .companion-rig{height:100%}}
@media(prefers-reduced-motion:reduce){.companion-rig>img{transform:none!important}.companion-spark{display:none}.companion-state{transition:none}}
html[data-motion=paused] .companion-rig>img{transform:none!important}
