.studio-page{height:auto;overflow:auto}.studio-shell{height:auto;min-height:calc(100vh - 58px);grid-template-columns:80px minmax(0,1fr) 285px}.world{display:flex;flex-direction:column;min-height:0}.world-head h1{font-size:46px}.world-head p{font-size:13px;max-width:245px}.inspector{padding:20px 16px}.geometry-details summary{cursor:pointer;color:#949caa;font-size:12px;padding:10px}.geometry-details .viewport{height:430px}.viewport:after{content:'P0.2 TARGET GEOMETRY · MM'}.lab-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:26px}.lab-toolbar button,.verification button{background:#171c22;color:#c6d5d4;border:1px solid #39434b;border-radius:6px;padding:8px 10px;font-size:11px;cursor:pointer}#input-lab{background:radial-gradient(ellipse at 50% 35%,#20302f,#10151a 65%);border:1px solid #303b40;border-radius:16px;padding:20px;min-width:0}.console-product{max-width:980px;margin:0 auto;filter:drop-shadow(0 18px 16px #0006)}.phone-shell{width:60.47%;aspect-ratio:154.8/74.15;margin:auto;padding:2.1%;border:2px solid #647173;border-radius:24px;background:linear-gradient(140deg,#414b50,#171d22 65%);box-shadow:inset 0 0 0 5px #171c21}.phone-display{height:100%;background:#081a20;border:1px solid #457a78;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;color:#c2f5db;font-family:ui-monospace,monospace}.phone-display header,.phone-display footer{display:flex;justify-content:space-between;gap:4px;font-size:8px;padding:8px 10px;background:#10302e}.screen-body{display:grid;grid-template-columns:1.2fr 1fr;flex:1;min-height:0;padding:12px;gap:10px}.screen-body label{font-size:8px;letter-spacing:.1em;color:#66b39f}#typed-text{font-size:13px;white-space:pre-wrap;overflow:auto;max-height:80px;margin:8px 0;overflow-wrap:anywhere}#held-input{font-size:8px;color:#b7a4ef}.screen-game{position:relative;background:linear-gradient(#27413c55 1px,transparent 1px),linear-gradient(90deg,#27413c55 1px,transparent 1px);background-size:15px 15px;border:1px solid #32514c;border-radius:5px;min-height:80px}#player-dot{position:absolute;left:50%;top:50%;width:12px;height:12px;background:#78ffd1;box-shadow:0 0 18px #46e8ac;transform:translate(-50%,-50%);border-radius:3px}.crosshair{position:absolute;left:50%;top:50%;width:22px;height:22px;border:1px solid #b395f9;border-radius:50%}#action-echo{position:absolute;bottom:7px;left:8px;font-size:10px;color:#718d89}#action-echo.firing{color:#d4baff;text-shadow:0 0 12px #be8bff}.hinge-spine{width:63%;height:22px;margin:1px auto;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#5b666e,#11181c,#49565f);border-radius:5px;color:#9ba8ad;font:6px ui-monospace,monospace;letter-spacing:2px}.hinge-spine i{width:10%;height:100%;border-inline:3px solid #192128}.base-row{display:grid;grid-template-columns:39fr 178fr 39fr;align-items:stretch;gap:0}.keyboard-base{background:linear-gradient(145deg,#424a51,#252d34);border:1px solid #738087;border-radius:10px;padding:6% 3% 5%;box-shadow:0 8px 0 #151c22,0 9px 0 #657078;min-width:0}.deck-label,.base-front{display:flex;justify-content:space-between;gap:6px;font:7px ui-monospace,monospace;color:#a3b2b9}.thumb-keyboard{padding:18px 4px;display:grid;gap:7px}.key-row{display:flex;justify-content:center;gap:4px}.key-row button{min-width:0;width:8.3%;aspect-ratio:9/7.5;border:1px solid #626d78;border-bottom:3px solid #080d11;border-radius:5px 5px 8px 8px;background:linear-gradient(#303942,#171f26);color:#e1e8ec;font:11px ui-monospace,monospace;padding:0;box-shadow:0 2px 2px #0007;cursor:pointer}.key-row:last-child button{font-size:7px;width:7%}.key-row button[data-input=Space]{width:20%}.key-row button[data-input=Shift],.key-row button[data-input=Backspace]{font-size:8px}.status-led{color:#9df2c9}.controller{background:linear-gradient(110deg,#343747,#212534);border:1px solid #69637a;border-radius:20px;padding:10px 6px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 7px 0 #151923}.left-controller{border-radius:22px 7px 7px 24px}.right-controller{border-radius:7px 22px 24px 7px}.controller button{background:#171e26;border:1px solid #65707b;color:#d7e1e9;cursor:pointer;font:9px ui-monospace,monospace;min-width:0;padding:4px}.shoulders,.utility{display:flex;gap:4px;width:100%;justify-content:center}.utility button{font-size:6px;padding:4px 2px}.shoulders button{width:50%;border-radius:6px}.diamond{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:100%;aspect-ratio:1}.diamond button{border-radius:50%;padding:0}.diamond button:nth-child(1){grid-area:1/2}.diamond button:nth-child(2){grid-area:2/1}.diamond button:nth-child(3){grid-area:2/3}.diamond button:nth-child(4){grid-area:3/2}.stick{width:80%;aspect-ratio:1;border-radius:50%;background:radial-gradient(#101820 55%,#56606d 58%,#181f28 62%);position:relative;touch-action:none;cursor:grab}.stick i{position:absolute;inset:22%;background:radial-gradient(#596171,#272f3b);border:2px solid #838994;border-radius:50%;pointer-events:none;box-shadow:0 4px 5px #0009}.stick span{position:absolute;inset:40%;font:9px ui-monospace,monospace;pointer-events:none;color:#a9b3bc}.pressed{background:#398669!important;border-color:#a1ffd3!important;color:#fff!important;box-shadow:0 0 10px #48c89f!important}.lab-bottom{margin-top:28px}.lab-bottom p{font-size:11px;line-height:1.7;color:#a0b0b7}.lab-bottom label{display:inline-block;margin-left:8px}.lab-bottom input{accent-color:#5ae9b0}.lab-bottom #gamepad-status{display:block;color:#819299}.verification{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font:11px ui-monospace,monospace;color:#a5dfc9}.verification output{color:#bdacdf}.simulation-note{font-size:10px!important;color:#798990!important}.stow-note{display:none;font-size:10px;color:#b3accf;text-align:center;padding:14px}.stowed .controller{visibility:hidden;pointer-events:none}.stowed .stow-note{display:block}button:focus-visible,.stick:focus-visible{outline:2px solid #91ffd1;outline-offset:3px}@media(min-width:1500px){.phone-display header,.phone-display footer{font-size:10px}.key-row button{font-size:14px}.deck-label,.base-front{font-size:9px}}@media(max-width:1150px){.studio-shell{grid-template-columns:70px minmax(0,1fr)}.inspector{grid-column:1/-1;display:none}.world{min-height:0}}@media(max-width:650px){.studio-shell{grid-template-columns:1fr}.world-head h1{font-size:38px}#input-lab{padding:10px}.lab-toolbar{flex-wrap:wrap}.phone-shell{width:76%;border-radius:16px}.phone-display header,.phone-display footer{padding:5px;font-size:6px}.screen-body{padding:6px;gap:5px}#typed-text{font-size:10px;max-height:42px}.screen-game{min-height:50px}.keyboard-base{padding:12px 5px}.thumb-keyboard{gap:4px;padding:14px 0}.key-row{gap:2px}.key-row button{font-size:8px;border-radius:3px}.key-row:last-child button{font-size:5px}.deck-label,.base-front{font-size:5px}.controller{padding:8px 3px;gap:5px}.controller button{font-size:7px}.utility{flex-direction:column}.utility button{font-size:5px}.hinge-spine{font-size:4px}.world{padding:12px 8px}.verification{font-size:10px}}
.thumb-keyboard{min-width:0;width:100%;grid-template-columns:minmax(0,1fr)}.key-row{min-width:0;width:100%}.key-row button{flex:0 1 8.3%;height:auto}.key-row:last-child button{flex-basis:7%}.key-row button[data-input=Space]{flex-basis:20%}
.key-row{aspect-ratio:13/1}.key-row button{height:100%;aspect-ratio:auto}.key-row:last-child button{height:100%}.inspector .parameter-panel:before{content:'Parameters affect the expandable 3D frame. Input workbench uses fixed nominal targets.';display:block;font-size:11px;color:#89969e;margin-bottom:14px}@media(max-width:1150px){.inspector{display:block}}
