/* One shared SVG family for the hero, avatars, brand and ambient outlines. */
.pixel-character{display:block;width:100%;height:100%;overflow:visible;user-select:none}
.pixel-character .eye{transform-box:fill-box;transform-origin:center}
.pixel-character-layer{position:absolute;inset:0;opacity:0;transform-origin:50% 65%;pointer-events:none;will-change:transform,opacity}
.pixel-hero .mascot-stage{width:300px;height:235px;margin-bottom:18px;perspective:800px;display:grid;place-items:center}
.pixel-hero .pitra-body{width:280px;height:224px;position:relative;transform-origin:50% 75%}
.pixel-hero-art{filter:drop-shadow(0 9px 12px #00000020)}
:root[data-theme=light] .pixel-character[data-character=pitra]{color:#302c27;--pixel-eye:#fff6e6}
.pixel-icon-gaze{pointer-events:none}
.pixel-hand{transform-box:fill-box;transform-origin:center}
.pixel-action-scene .pixel-hand{transform-box:view-box;transform-origin:0 0}
.pixel-character-layer[data-character=pitra]{--pixel-eye:#080808}
:root[data-theme=light] .pixel-character-layer[data-character=pitra]{--pixel-eye:#fff6e6}
.pixel-hero .hero-ambient-glow{display:none}
.motion-hidden .pixel-hand,.motion-offscreen .pixel-hand,.motion-paused .pixel-hand{animation-play-state:paused}
.pixel-character-layer[data-active=false] .pixel-hand{animation-play-state:paused}
.pixel-action-scene{--action-surface:#222724;--action-edge:#535d54;--action-ink:#b5c0b1;--action-muted:#667362}
:root[data-theme=light] .pixel-action-scene{--action-surface:#f6f5ee;--action-edge:#a8ada1;--action-ink:#66725e;--action-muted:#bbc2b0}
.pixel-demo-wrapper .pixel-character{width:100%;height:100%}
@media(max-width:760px){
 .pixel-hero .mascot-stage{width:204px;height:166px;margin-bottom:16px}
 .pixel-hero .pitra-body{width:204px;height:163.2px}
}
@media(max-width:380px){.pixel-hero .mascot-stage{height:155px}.pixel-hero .pitra-body{width:187px;height:149.6px}}
@media(min-width:761px) and (max-height:650px){.pixel-hero .mascot-stage{height:190px;margin-bottom:10px}.pixel-hero .pitra-body{width:235px;height:188px}}
@media(prefers-reduced-motion:reduce){.pixel-character-layer{will-change:auto}.pixel-working .pixel-hand{animation:none}}
/* Plush cutouts and independent button eyes; avatars share the same head artwork. */
.plush-character{display:block;width:100%;height:100%;overflow:visible}
.plush-rig{will-change:transform}
.plush-portrait .plush-rig{will-change:auto}
.plush-cutout-light{display:none}
:root[data-theme=light] [data-character=pitra] .plush-cutout-normal{display:none}
:root[data-theme=light] [data-character=pitra] .plush-cutout-light{display:block}
:root[data-theme=light] .plush-portrait[data-character=pitra]{--pixel-eye:#fff6e6;--pitra-eye:#fff6e6}
@media(prefers-reduced-motion:reduce){.plush-rig{will-change:auto}}
