.garage-labels,#modeInfo,.mp-footnote{display:none!important}
.player-profile{max-width:none;flex-wrap:nowrap}#profileNickname{max-width:160px}#profileLicense{flex-shrink:0}.challenge-tabs{flex-wrap:wrap}
#lobby{gap:16px}#lobby>.garage-tabs{flex-shrink:0;display:flex;gap:8px;flex-wrap:wrap}.garage-tabs button{min-height:44px;padding:11px 25px}.race-panel .modes{grid-template-columns:repeat(3,minmax(0,1fr))}.race-bottom{justify-content:flex-end}
#profileLevel{font-family:'Barlow Condensed',Arial,sans-serif;font-size:22px;font-weight:800;color:#087fc6;white-space:nowrap}.player-profile{gap:10px;flex-wrap:wrap}.coin-wallet{display:inline-flex;align-items:center;gap:6px;font-size:18px;color:#b26c00;white-space:nowrap}.coin-wallet img,.race-reward img{width:32px;height:32px;object-fit:cover;object-position:center;border-radius:50%}.player-profile .coin-wallet{margin-left:12px}.race-reward{display:flex!important;align-items:center;justify-content:center;gap:10px;color:#d39216!important;font-weight:800;font-size:18px!important}
.workshop-dialog{width:min(1080px,95vw);max-width:1080px;max-height:92dvh;overflow:auto;border:1px solid #487188;border-radius:16px;background:linear-gradient(120deg,#101d35,#152847 65%,#223b54);color:#f1f7ff;padding:28px;box-shadow:0 25px 100px #020b2260}.workshop-dialog>header{height:auto;min-height:48px;margin:0 38px 24px 0}.workshop-dialog h2{margin:0;padding-left:14px;border-left:5px solid #25dcff;font-size:28px}.workshop-dialog .coin-wallet{color:#ffd259}.workshop-dialog .close{color:#d7f4ff;background:transparent}.workshop-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:26px;align-items:stretch}.workshop-parts{background:#07122980;padding:10px 20px;border:1px solid #53758b55;border-radius:10px}.upgrade-row{display:grid;grid-template-columns:1fr auto;gap:8px 14px;padding:17px 0;border-bottom:1px solid #57708755}.upgrade-row:last-child{border-bottom:0}.upgrade-row h3{margin:0;font-size:18px;display:flex;align-items:center;gap:14px}.upgrade-level{font-size:14px;color:#75dded;font-weight:600}.upgrade-row p{margin:0;text-align:right;color:#cfe7ff;font-size:15px}.upgrade-bars{display:flex;gap:4px;align-items:center}.upgrade-bars i{display:block;flex:1;height:10px;background:#3c4f6a;border-radius:1px}.upgrade-bars .filled{background:linear-gradient(#fffbc6,#ffe164);box-shadow:0 0 9px #ffda4e33}.upgrade-row button{padding:10px 13px;border-radius:5px;background:#23cbea;color:#06233a;font-size:14px;font-weight:800;min-width:110px;min-height:42px}.upgrade-row button:disabled{background:#263650;color:#94a9c0;cursor:default}.workshop-kart{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;background:radial-gradient(ellipse at 50% 70%,#7693a144,transparent 68%);border-bottom:2px solid #72a6c055}.workshop-kart h3{font-size:clamp(22px,3vw,34px);margin:12px 0;color:white;text-align:center}.workshop-kart img{display:block;width:100%;max-width:460px;aspect-ratio:4/3;object-fit:contain;border-radius:12px}.workshop-status{min-height:24px;font-size:14px;color:#bcecff;margin:18px 0 0}.workshop-dialog::backdrop{background:#030c20bf;backdrop-filter:blur(5px)}
.time-attack-dialog{width:min(1120px,96vw);max-width:1120px}.time-map-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px}.time-map-list button{display:flex;flex-direction:column;padding:0;overflow:hidden;border:2px solid #dceaf2}.time-map-list img{display:block;width:100%;height:auto;aspect-ratio:250/136;object-fit:cover}.time-map-list span{display:block;padding:9px 8px;font-size:14px;line-height:1.4;font-weight:700}.time-map-list button[aria-pressed=true]{border-color:#008bcc;box-shadow:0 0 0 2px #008bcc26}.board-status:empty{display:none}.board-scroll{max-height:440px}
@media(max-width:900px){#lobby{padding:16px 3vw 12px;gap:12px}.garage-tabs button{padding:10px 18px;font-size:14px}#lobby header{height:auto;min-height:52px}.player-profile{gap:7px}#profileLevel{font-size:18px}.coin-wallet{font-size:15px}.player-profile .coin-wallet{margin-left:3px}.coin-wallet img{width:26px;height:26px}.workshop-dialog{padding:22px 18px}.workshop-layout{gap:14px}.workshop-parts{padding:8px 12px}}
@media(max-width:580px){.workshop-layout{grid-template-columns:1fr}.workshop-kart{grid-row:1}.workshop-kart img{max-height:170px;width:auto;max-width:100%}.workshop-kart h3{font-size:21px}.workshop-dialog{padding:16px}.workshop-dialog>header{margin-bottom:12px}.upgrade-row{padding:12px 0}.time-attack-layout{grid-template-columns:1fr}.time-map-panel{grid-row:1}.time-map-list{max-height:260px}.board-scroll{max-height:230px}.time-board table{font-size:14px}.time-map-list button{padding:0}.time-map-list span{font-size:14px}.garage-tabs button{padding:9px 11px;font-size:14px}#lobby header{flex-wrap:wrap;gap:10px}.player-profile{gap:6px}.workshop-status{margin-top:12px}}
@media(max-height:600px) and (min-width:581px){#lobby{gap:8px;padding-top:12px}#lobby header{min-height:42px}.garage-tabs button{padding:7px 18px;min-height:38px}.workshop-dialog{padding:16px 22px}.workshop-dialog>header{margin-bottom:8px}.upgrade-row{padding:10px 0}.workshop-kart img{max-height:260px}.workshop-status{margin:8px 0 0}.time-map-list{max-height:280px}}

.workshop-reset{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}.workshop-reset p{flex-basis:100%;margin:0;font-size:14px;line-height:1.5}.workshop-reset button{min-height:42px;padding:10px 16px;border-radius:6px;font-size:14px;font-weight:700;background:#fff;color:#24465b;border:1px solid #9db5c6}.workshop-reset .reset-upgrades{color:#b43b34}.workshop-reset button:disabled{opacity:.45;cursor:default}
