*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;overflow:hidden;font-family:Trebuchet MS,system-ui,sans-serif;background:linear-gradient(135deg,#aedfd0,#e8f2d0);color:#17383a;-webkit-user-select:none;user-select:none}.app{height:100vh;padding:1vh 3vw 1.6vh;display:flex;flex-direction:column}h1{text-align:center;margin:0;color:#115b59;font-size:clamp(26px,4.2vh,46px);text-shadow:0 2px #fff}.tagline{text-align:center;margin:.2vh 0 .8vh;font-size:clamp(11px,1.8vh,17px);font-weight:800;color:#4e6e62}.garage{flex:1;min-height:0;display:flex;justify-content:center}.bay{position:relative;width:min(900px,100%);height:100%;min-height:240px;overflow:hidden;border:7px solid #f7e2a3;border-radius:24px;background:linear-gradient(#c6eaf0 0 59%,#76b769 59% 62%,#5c5149 62%);box-shadow:0 10px 24px #285c5344,inset 0 0 0 3px #31736e}.bay:after{content:attr(data-hint);position:absolute;right:3%;top:4%;font-size:clamp(10px,1.6vh,16px);font-weight:900;color:#216d70;letter-spacing:.11em;pointer-events:none}#vehicle{position:absolute;inset:0;touch-action:none;cursor:grab}#vehicle:active{cursor:grabbing}.stats{position:absolute;left:2.5%;bottom:4%;display:flex;gap:7px;flex-wrap:wrap;max-width:55%;pointer-events:none}.stat{border:2px solid #f6eacb;border-radius:999px;padding:4px 8px;background:#17383ad9;color:#fff6dd;font-size:clamp(9px,1.4vh,13px);font-weight:800}.tabs{display:flex;gap:7px;margin-top:1vh;justify-content:center;overflow-x:auto}.tab{flex:1;max-width:155px;white-space:nowrap;font:800 clamp(12px,2vh,18px)/1 inherit;padding:.9vh 1vw;border:3px solid transparent;border-radius:14px 14px 0 0;color:#3c625e;background:#e6f3e7;cursor:pointer}.tab.active{background:#fff6dd;color:#b84f1c;border-color:#f4c36c;border-bottom-color:#fff6dd}.palette{min-height:13vh;max-height:21vh;overflow:auto;display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;gap:9px;padding:1.1vh 1vw;border:3px solid #f4c36c;border-radius:0 0 18px 18px;background:#fff6dd}.choice{min-width:84px;padding:.7vh 1vh;border:3px solid transparent;border-radius:13px;color:#244746;background:#e3f1e7;font:800 clamp(10px,1.65vh,15px)/1.1 inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px}.choice .icon{font-size:clamp(18px,3vh,27px)}.choice.sel{border-color:#ed7a2f;background:#ffe3bb}.swatch{width:26px;height:26px;border-radius:50%;border:2px solid #fff}.tuner{width:100%;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:7px 9px;border-radius:12px;background:#f4e8c8}.tuner strong{color:#b84f1c}.tuner label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:900}.tuner input[type=range]{width:100px;accent-color:#ed7a2f}.tuner input[type=number]{width:58px;border:2px solid #e6a44d;border-radius:7px;padding:4px;font:900 14px inherit}.tuner output{min-width:34px;color:#187a77}.drag-mode{border:2px solid #187a77;border-radius:999px;padding:5px 9px;background:#fff;color:#187a77;font:900 11px inherit;cursor:pointer}.drag-mode.active{background:#187a77;color:#fff}.actions{display:flex;justify-content:center;gap:16px;margin-top:1vh}.action{border:0;border-radius:999px;padding:.9vh 3vw;color:#fff;background:#187a77;box-shadow:0 4px #105a58;font:800 clamp(12px,2vh,18px) inherit;cursor:pointer}.action.alt{background:#ed7a2f;box-shadow:0 4px #b94d1a}.arcade{position:fixed;z-index:5;top:12px;left:12px;color:#fff;background:#115b59dd;border:1px solid #fff8;border-radius:8px;padding:8px 11px;text-decoration:none;font:800 12px/1 system-ui}@media(max-width:560px){.app{padding-inline:2vw}.bay{border-width:5px}.palette{max-height:25vh}.choice{min-width:70px}.tuner{gap:7px}.tuner input[type=range]{width:78px}}
