.fresh-motion-scene{width:100%;min-width:0;color:#edf8ff}
.fresh-motion-stage{position:relative;isolation:isolate;overflow:hidden;border-radius:15px;background:#9bdde6}
.fresh-motion-stage canvas{display:block;width:100%;height:auto;touch-action:none;outline:none}
.fresh-motion-host [hidden]{display:none!important}
.fresh-motion-controls{display:flex;flex-direction:column;gap:9px;width:min(100%,780px);margin:auto;min-width:0}
.fm-control-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.fm-button{min-height:52px;min-width:0;border:2px solid #e8f8ff77;border-radius:13px;padding:10px 14px;background:#234b68;color:#edf8ff;font:800 17px/1.25 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.fm-primary,.fm-throttle{background:#ffcf3f;border-color:#fff1bd;color:#143e64;box-shadow:0 3px 0 #ad7927}
.fm-brake{background:#e94465;border-color:#ffb8c8;color:#fff;box-shadow:0 3px 0 #8e2548}
.fm-confirm{background:#25b1c6;border-color:#b7efff;color:#102d43;box-shadow:0 3px 0 #156378}
.fm-throttle,.fm-brake{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.fm-button.is-held{transform:translateY(2px);box-shadow:0 1px 0 #143e64}
.fm-button:disabled{background:#28445b;color:#8da8bd;border-color:#5b748866;box-shadow:none;cursor:default;opacity:.65}
.fm-button:focus-visible,.fm-hint:focus-visible,.fm-slider input:focus-visible,.fresh-motion-stage canvas:focus-visible{outline:3px solid #fff1bd;outline-offset:3px}
.fm-controls-note{display:flex;align-items:center;gap:12px;justify-content:space-between;color:#bad1df;font:500 13px/1.45 system-ui,sans-serif}
.fm-controls-note>span{min-width:0;max-width:600px}
.fm-hint{flex:none;min-height:44px;border:1px solid #87b5ce66;border-radius:10px;padding:7px 12px;background:#143e6455;color:#ffe67b;font:700 14px/1.3 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.fresh-motion-status{font:650 15px/1.45 system-ui,sans-serif;color:#edf8ff;text-align:center;margin:0;min-width:0;overflow-wrap:anywhere}
.fm-intro{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:min(calc(100% - 36px),440px);padding:24px;border:1px solid #d7f7ff99;border-radius:20px;background:#12334feb;box-shadow:0 15px 55px #12344b55;text-align:center;color:#edf8ff}
.fm-intro h2{font:850 26px/1.25 system-ui,sans-serif;margin:0 0 12px}.fm-intro p{font:550 15px/1.55 system-ui,sans-serif;margin:0 0 18px}.fm-intro .fm-button{width:100%;min-height:50px}
.fm-help{position:absolute;z-index:3;top:16px;left:16px;right:16px;max-width:650px;margin:auto;padding:15px 18px;background:#12334ff2;color:#f0f8ff;border:1px solid #c3e9ff77;border-radius:12px;font:600 16px/1.6 system-ui,sans-serif;box-shadow:0 8px 24px #143e6440;pointer-events:none}
.fm-sliders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}
.fm-slider{display:block;min-width:0;padding:9px 11px 5px;border:1px solid #9ac3dc33;border-radius:12px;background:#163750}
.fm-slider-heading{display:flex;justify-content:space-between;gap:5px;font:600 13px/1.3 system-ui,sans-serif;color:#d4e9f4}.fm-slider-heading strong{font:700 14px/1.3 system-ui,sans-serif}.fm-slider output{font-variant-numeric:tabular-nums;color:#ffe67b;white-space:nowrap}
.fm-slider input{display:block;box-sizing:border-box;width:100%;min-width:0;height:32px;margin:3px 0 0;accent-color:#ffcf3f;touch-action:pan-x}
.fm-throw-row{display:flex;justify-content:center;align-items:center;gap:12px}.fm-throw-row .fm-primary{flex:1;max-width:350px}
.fm-objectives{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.fm-post-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #87b5ce55;border-radius:9px;color:#d7edf5;font:600 12px/1.25 system-ui,sans-serif}.fm-post-chip b{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#e94465;color:#fff}.fm-post-chip.is-delivered{color:#89edb8;border-color:#70e4a366}.fm-post-chip.is-delivered b{background:#13745a}
#game-host .fresh-motion-scene .arena-workspace{padding:8px 16px 10px;gap:0;overflow:hidden}
#game-host .fresh-motion-scene .arena-dock{padding:10px 16px 8px}
#game-host .fresh-motion-scene .arena-feedback{padding:4px 14px 10px}
#game-host .fresh-motion-scene .arena-dock .fm-button{min-height:52px!important;border-radius:13px!important}
@media(max-width:620px){
 .fm-control-row{gap:7px}.fm-button{font-size:15px;padding:8px 7px;min-height:57px}.fm-hint{font-size:13px;padding:7px 9px}
 .fm-controls-note>span{display:none}.fm-controls-note{justify-content:center}.fm-intro{padding:16px;width:min(calc(100% - 24px),400px);border-radius:15px}.fm-intro h2{font-size:21px;margin-bottom:7px}.fm-intro p{font-size:13px;line-height:1.4;margin-bottom:12px}
 .fm-help{top:8px;left:8px;right:8px;font-size:14px;line-height:1.45;padding:11px 13px}.fm-sliders{gap:6px}.fm-slider{padding:7px 7px 3px}.fm-slider-heading{flex-wrap:wrap;font-size:12px;gap:3px}.fm-slider-heading strong{font-size:13px}.fm-slider input{height:30px}.fm-throw-row{gap:8px}.fm-objectives{gap:5px}.fm-post-chip{font-size:11px;padding:3px 5px;gap:4px}.fresh-motion-status{font-size:13px}
 #game-host .fresh-motion-scene .arena-workspace{padding:5px 9px 7px}#game-host .fresh-motion-scene .arena-dock{padding:8px 10px 6px}#game-host .fresh-motion-scene .arena-feedback{padding:3px 10px 7px}
}
@media(max-height:520px) and (min-width:621px){
 #game-host .fresh-motion-scene{grid-template-columns:minmax(0,1fr) 270px!important;grid-template-rows:minmax(0,1fr) auto!important}
 #game-host .fresh-motion-scene .arena-workspace{grid-column:1;grid-row:1/3;padding:4px 9px}#game-host .fresh-motion-scene .arena-dock{grid-column:2;grid-row:1;padding:8px;max-height:none;overflow:auto;border-left:1px solid #bde0ff22;border-top:0}#game-host .fresh-motion-scene .arena-feedback{grid-column:2;grid-row:2;max-height:none;padding:4px 9px 8px}
 .fm-control-row{grid-template-columns:1fr;gap:7px}.fm-sliders{grid-template-columns:1fr;gap:5px}.fm-slider{padding:4px 8px}.fm-slider input{height:23px;margin:0}.fm-controls-note>span{display:none}.fm-controls-note{justify-content:center}.fm-objectives{gap:3px}.fm-post-chip{font-size:10px;padding:2px 4px}.fm-button{font-size:14px}
 #game-host .fresh-motion-scene .arena-dock .fm-button{min-height:45px!important}.fresh-motion-status{font-size:12px}
}
