/* TEST 04: all dimensions in the original 480 x 1040 artwork coordinates. */
html,body{width:100%;height:100%;min-height:0;margin:0;padding:0;overflow:hidden;background:#000;overscroll-behavior:none}
#scale-wrap{position:fixed;left:0;top:0;width:480px;height:1040px;margin:0}
#test-main{position:relative;width:480px;height:1040px;padding:0;margin:0;transform-origin:top left}
#test-main>h1{display:none}
.ui-shell{width:480px;height:1040px;overflow:hidden}
.bg-viewport{left:40px;top:126px;width:400px;height:232px;border-radius:11px;z-index:0}
.actors-viewport{left:40px;top:126px;width:400px;height:232px;border-radius:11px;z-index:1;overflow:hidden}
.scene{left:0;top:-54px;width:400px;height:340px}
.ui-bg,.case-screen,.case-inventory,.case-buttons{position:absolute;display:block;max-width:none;pointer-events:none;user-select:none;image-rendering:auto}
.case-screen{left:0;top:0;width:480px;height:1040px;z-index:2}
.ui-bg{left:0;top:0;width:480px;height:1040px;z-index:3}
.case-inventory{left:50px;top:409px;width:380px;height:146px;z-index:4}
.case-buttons{left:100px;top:634px;width:268px;height:268px;z-index:4}
.quick-slots,.dpad{z-index:5}
.quick-slot{width:68px;height:68px;border-radius:8px}
.dpad-btn{width:80px;height:80px;border-radius:12px}
.dpad-btn.up{left:194px;top:634px}
.dpad-btn.left{left:100px;top:728px}
.dpad-btn.center{left:194px;top:728px}
.dpad-btn.right{left:288px;top:728px}
.dpad-btn.down{left:194px;top:822px}
.dpad-btn[aria-pressed=true],.dpad-btn:active,.quick-slot:active{background:rgba(0,0,0,.24);box-shadow:inset 0 0 0 2px rgba(255,255,255,.16)}
#case-fullscreen{position:absolute;left:57px;top:940px;width:125px;height:45px;z-index:6;border:0;background:transparent;padding:0}
#case-test-toggle{position:absolute;right:13px;top:3px;height:30px;min-width:64px;background:#141612;color:#b9c281;border:1px solid #444c24;border-radius:5px;font:12px monospace;z-index:7}
#case-test-panel{position:absolute;z-index:8;top:42px;left:12px;right:12px;padding:12px 4px 10px;background:rgba(20,22,12,.98);border:1px solid #9fa94e;border-radius:10px;box-shadow:0 6px 24px #000}
#case-test-panel[hidden]{display:none}
#startup-error:not([hidden]){position:fixed!important;top:0;left:0;right:0;margin:0;z-index:1000!important}
