.avatar-page{position:absolute;inset:0;background:#b7ce9ce8;padding:2cqw 8cqw;display:flex;align-items:center;flex-direction:column;color:#20271f}
.avatar-home{position:absolute;left:1.2cqw;top:1.2cqw}
.avatar-page h2{font:3.2cqw/1.5 Pixel,monospace;color:#fff46a;margin:0;text-shadow:.2cqw .3cqw #544831;-webkit-text-stroke:.13cqw #222;paint-order:stroke fill}
.avatar-hint{font:1.15cqw/1.5 Pixel,monospace;margin:1cqw 0}
.avatar-carousel{display:flex;align-items:center;justify-content:center;gap:8cqw;width:100%}
.avatar-stage{position:relative;width:24cqw;height:25cqw;background:#e4edc4;border:.35cqw solid #526743;box-shadow:0 .6cqw #7c915b;touch-action:none}
.avatar-stage canvas{height:100%;width:100%;object-fit:contain;pointer-events:none}
.avatar-number{position:absolute;right:1cqw;top:1cqw;font:1.4cqw Pixel;color:#445635}
.avatar-details{text-align:center;margin-top:1.1cqw}.avatar-details h3{font:2cqw/1.4 Pixel,monospace;margin:0}.avatar-details p{font:1.2cqw/1.4 Pixel,monospace;margin:.6cqw 0 0}
.avatar-dots{display:flex;height:5cqw;min-height:44px;align-items:center}.avatar-dots button{display:grid;place-items:center;width:44px;height:44px;background:none;border:0;padding:0}.avatar-dots span{width:10px;height:10px;background:#738362;border:2px solid #32492d}.avatar-dots [aria-pressed=true] span{background:#ffe16b;transform:scale(1.25)}
.avatar-confirm{font-size:1.7cqw;padding:.8cqw 2.5cqw;border-radius:.5cqw;min-height:44px}
.avatar-change{position:absolute;right:1.2cqw;top:1.2cqw;min-height:44px;background:#fff6ce;border:2px solid #303428;font:1.1cqw Pixel;padding:0 1cqw;color:#20271f}
.rotate-phone{font:6cqw/1 Pixel;color:#fff46a;margin-bottom:3cqw}.rotate-panel{width:60cqw}.rotate-panel h2{margin-top:0}.rotate-panel .actions{flex-wrap:wrap}
@media(max-width:600px){.viewport:has(.screen[data-state=rotate]){aspect-ratio:auto;height:min(100dvh,320px)}.rotate-panel{width:88cqw;max-height:290px}.rotate-phone{font-size:40px;margin-bottom:12px}.rotate-panel h2{font-size:3cqw}.rotate-panel p{font-size:2.5cqw}.rotate-panel .pixel-button{font-size:2.2cqw;min-height:44px}}
.hud-home{width:4cqw;height:4cqw;min-width:32px;min-height:32px;border-width:.22cqw;border-radius:.3cqw;margin-left:1cqw;background:#ffdb65;box-shadow:inset 0 -.3cqw #e59a42,0 .2cqw #29262b;padding:.6cqw}.hud-home img{width:100%;height:100%;image-rendering:pixelated;pointer-events:none}
@media(max-width:600px){.viewport:has(.screen[data-state=avatars]){aspect-ratio:auto;height:min(100dvh,320px)}}
@media(max-width:600px){.screen[data-state=avatars]{overflow-y:auto;pointer-events:auto;background:#b7ce9c}.avatar-page{min-height:270px;inset:0 0 auto;padding:10px 6cqw 12px}.avatar-page h2{font-size:3cqw;margin-top:2px}.avatar-home{min-width:44px;min-height:44px;top:4px;left:4px}.avatar-hint{font-size:1.5cqw;margin:8px 0}.avatar-stage{height:94px;width:88px}.avatar-carousel{gap:8cqw}.avatar-details{margin-top:8px}.avatar-details h3{font-size:2.7cqw}.avatar-details p{font-size:1.8cqw}.avatar-dots{height:44px}.avatar-confirm{font-size:2.3cqw}.avatar-change{font-size:1.5cqw}}
