#settingsDialog{padding:0;width:min(94vw,940px);max-width:940px;max-height:94dvh;border:1px solid #465461;border-radius:22px;background:#111820;color:#edf1f4;overflow:hidden;box-shadow:0 30px 120px #000c}#settingsDialog[open]{display:flex;flex-direction:column}#settingsDialog::backdrop{background:#03070cdf;backdrop-filter:blur(9px)}.garage-header{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid #ffffff13}.garage-kicker{display:block;color:#c8a965;font:10px Arial;letter-spacing:3px;margin-bottom:7px}#settingsDialog h2{font-size:24px;margin:0}#settingsClose{background:#ffffff08;border:1px solid #ffffff20;border-radius:50%;width:36px;height:36px;font:27px Arial;color:#d0d6dd}.garage-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#52606d #111820}.garage-stage{position:relative;background:#16202a;height:260px;overflow:hidden}.garage-stage>img{width:100%;height:100%;object-fit:contain}.stage-caption{position:absolute;right:24px;bottom:18px;text-shadow:0 2px 10px #000;background:linear-gradient(90deg,transparent,#16202acc);padding:8px 12px;border-right:2px solid #dcbb71}.stage-caption>span{color:#dec085;font-size:11px}.stage-caption h3{margin:5px 0;font-size:23px}.stage-caption small{color:#b5c1c9;font-size:10px}.garage-tabs{display:flex;gap:4px;padding:12px 22px 0;border-bottom:1px solid #ffffff16;position:sticky;top:0;background:#111820;z-index:1}.garage-tabs button{flex:1;min-height:44px;background:none;border:0;border-bottom:2px solid transparent;color:#97a4af;font-size:13px;touch-action:manipulation}.garage-tabs button[aria-pressed=true]{color:#efcf8c;border-bottom-color:#e4bf71}.garage-panel{padding:18px 24px 24px}.garage-panel[hidden]{display:none}.garage-panel h3{font-size:14px;font-weight:normal;margin:0 0 14px}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice-card{position:relative;padding:0 0 13px;background:#19232d;border:1px solid #35414d;border-radius:12px;overflow:hidden;text-align:right;touch-action:manipulation;color:#e0e5e9;transition:border-color .15s,background .15s}.choice-card img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover}.choice-card strong,.choice-card small{display:block;padding:0 12px}.choice-card strong{font-size:13px;margin-top:9px}.choice-card small{font-size:10px;color:#93a2b0;margin-top:5px;line-height:1.5}.choice-card[aria-pressed=true]{border-color:#e7c176;background:#2b2b27;box-shadow:inset 0 0 0 1px #e7c176}.choice-card[aria-pressed=true]:after{content:'✓';position:absolute;top:9px;right:9px;background:#e7c176;color:#1e2326;width:21px;height:21px;line-height:21px;text-align:center;border-radius:50%;font: bold 15px/21px Arial}.paint-grid{display:flex;gap:12px;margin-top:12px}.paint-grid button{width:44px;height:44px;border-radius:50%;border:3px solid #38444e;background:var(--paint);box-shadow:inset 0 3px 10px #ffffff50;touch-action:manipulation}.paint-grid button[aria-pressed=true]{outline:2px solid #e7c176;outline-offset:3px}.choice-grid+h3{margin-top:24px}.garage-note{color:#94a4b2;font-size:11px;line-height:1.8}.garage-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 24px;border-top:1px solid #ffffff18;background:#131b24}.garage-footer>span{font-size:10px;color:#a3b5a5}#settingsDone{width:auto;padding:12px 20px;background:#dec184;border-radius:9px;font-size:13px;touch-action:manipulation}.quality-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quality-grid .choice-card{padding:18px 0}.quality-grid .choice-card strong{margin-top:12px}.accessory-art{width:100%;height:95px;padding:14px;color:#c2cad0;display:block}.glass{background:#101c2bd9;border-color:#566676;box-shadow:0 3px 16px #0003}.control{background:linear-gradient(#1b2b3cdf,#0b1421ed);border:1px solid #5a6b7c;box-shadow:0 3px 10px #0003}#nitro{background:linear-gradient(#255268e8,#122c3e);border-color:#6792aa}.hud{gap:6px}#game{width:min(100%,1000px)}@media(max-width:580px){.garage-stage{height:195px}.garage-header{padding:15px 17px}.garage-panel{padding:16px}.choice-grid{gap:7px}.choice-card strong{font-size:11px;padding:0 8px}.choice-card small{padding:0 8px;font-size:9px}.stage-caption h3{font-size:17px}.stage-caption small{display:none}.garage-footer{padding:12px 16px}.garage-footer>span{max-width:110px}.garage-tabs{padding:6px 12px 0}.garage-tabs button{font-size:11px}}@media(max-height:650px){.garage-stage{height:165px}.garage-header{padding:12px 20px}.garage-stage>img{object-position:center 58%}.garage-footer{padding:10px 18px}}

.garage-stage>img{object-fit:contain;object-position:center;width:100%;height:100%}

#cameraButton{position:absolute;right:16px;bottom:144px;border:1px solid #7d8c9b;border-radius:12px;background:#152433e8;padding:11px 16px;z-index:4;font-size:14px;touch-action:manipulation}
