/* The square image and portrait actors share height, never viewport width. */
#game.garage #room{width:100%;height:100%;object-fit:cover;object-position:center;transform:none;left:0;top:0}
.portrait-surround[data-scene=garage]>img:first-child{width:auto;height:100%;transform:translateX(-50%)}
.portrait-surround[data-scene=garage]>.source-continuation,.portrait-surround[data-scene=garage]>.left-outpaint,.portrait-surround[data-scene=garage]>.chair-continuation{display:none}
.portrait-surround[data-scene=garage]:before{background:none}
#garage-props{display:contents}#garage-props[hidden]{display:none}
.garage-prop{position:absolute;left:var(--gx);top:var(--gy);width:var(--gw);height:var(--gh);pointer-events:none}
.garage-prop>.art-fit{display:block;width:100%;height:100%}
.garage-prop .art-fit-box{top:auto;bottom:0;transform:translateX(-50%)}
.garage-prop>img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.garage-prop.on-floor:before{content:'';position:absolute;bottom:-1%;left:8%;width:84%;height:5%;background:radial-gradient(ellipse,#59415b38,transparent 70%);pointer-events:none}
#game.garage:not(.story-mode) #partner{z-index:4;transform-origin:50% 95%;animation:duet-dance 1.1s ease-in-out infinite alternate}
#game.garage:not(.story-mode) #idol{z-index:5}
#game.garage .floor-light{display:none}
#game.garage .scene:after,#game.third-room .scene:after{background:none}
#game.garage:not(.story-mode) #partner>.art-fit{translate:0 0}
@keyframes duet-dance{from{rotate:-1deg;translate:-1% 0}to{rotate:1deg;translate:1% -.5%}}
#game.garage.reduce-motion #partner{animation:none}
@media(prefers-reduced-motion:reduce){#game.garage #partner{animation:none}}
#game.third-room #room{width:100%;height:100%;object-fit:cover;object-position:center;transform:none;left:0;top:0}
.portrait-surround[data-scene=third]>img:first-child{transform:translateX(-50%)}
.portrait-surround[data-scene=third]>.source-continuation,.portrait-surround[data-scene=third]>.left-outpaint,.portrait-surround[data-scene=third]>.chair-continuation{display:none}
.portrait-surround[data-scene=third]:before{background:none}
