/* Emerald-and-gold racing garage. Keep the race viewport styles independent. */
#garage{background:radial-gradient(ellipse at 10% 10%,#244338 0,transparent 42%),#0b1418}
.mast{height:78px;background:#0b1519df}.brand{font-size:28px}.brand-sub{font-size:10px}.quiet{font-size:12px}.save-light{font-size:10px}
.garage-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:0;max-width:1560px;margin:auto}.showroom{background:linear-gradient(150deg,#17352e,#0e1d23 65%);justify-content:flex-start;position:sticky;top:0;align-self:start;border-right:0;border-bottom:1px solid #dab76d40;isolation:isolate}.hero-copy{padding:35px 38px 0}.hero-copy h1{font-size:clamp(64px,6.4vw,104px);letter-spacing:-5px;margin:20px 0 16px;line-height:.86;text-shadow:0 5px 0 #091a18}.hero-copy h1 em{color:#edce86}.hero-copy h1 span{font-size:38px}.tagline{font-size:11px;letter-spacing:2px}.eyebrow{font-size:11px}.hero-copy .eyebrow{color:#a9e9cd}#showTruck{aspect-ratio:16/11;height:auto;margin:0;width:100%}.showroom-footer{padding:22px;gap:12px;font-size:10px;background:#0c1b20;border-top:1px solid #e1c27840}.showroom-footer span:nth-child(2){color:#a9e9cd}.garage-panel{padding:30px 30px 24px;background:linear-gradient(160deg,#14262c,#101c24);border-left:1px solid #c7ae6d29}.edition{font-size:10px}.panel-title{padding-bottom:13px}.driver-heading{margin:14px 0;gap:12px;min-height:108px}.driver-heading img{width:125px;height:110px;background:radial-gradient(ellipse,#65978d35,transparent 70%)}.driver-heading h2{font-size:32px;line-height:1.1}.driver-heading .eyebrow{font-size:10px}.driver-heading p:last-child{font-size:13px;line-height:1.5}.driver-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.driver-grid button{height:83px;background:linear-gradient(145deg,#213a3d,#15252d);border:1px solid #52706655;border-radius:12px;padding:3px;transition:background .15s,transform .15s}.driver-grid button img{height:57px;width:100%}.driver-grid button span{font-size:9px;line-height:16px;white-space:nowrap}.driver-grid button[aria-pressed=true]{background:linear-gradient(145deg,#3e6d53,#223f40);border:2px solid #eed08a;box-shadow:0 0 16px #e6c06621;transform:translateY(-2px)}.wrap-row{padding:16px 0}.swatch{width:34px;height:34px;border-radius:50%}#wrapName{font-size:10px}.stat{font-size:10px}.stat span{width:76px}.stat>div{height:5px;border-radius:5px}.stat i{background:#e7c778;border-radius:5px}.ability-grid{border:1px solid #43615b66;border-radius:12px}.ability-grid small{font-size:9px}.ability-grid b{font-size:13px}.garage-open{border-radius:12px;min-height:48px;background:linear-gradient(120deg,#304c3e,#21343c)}.race-options label{font-size:11px}select{border-radius:9px;font-size:13px}.primary{border-radius:12px;background:linear-gradient(110deg,#f4d88e,#d6b65b);font-size:15px;min-height:56px;color:#17271f;box-shadow:0 4px 0 #8d7135}.mode-row button{border-radius:12px;min-height:56px;font-size:12px;background:#213d38;border-color:#628e7855}.mode-row span{font-size:10px;color:#b7d0c7}.small-note{font-size:12px}.bottom-guide{max-width:1560px;margin:auto}.bottom-guide b{font-size:12px}.bottom-guide p{font-size:13px}footer{font-size:10px}
.fx-label{display:inline-flex;align-items:center;gap:7px;margin:0 0 15px;color:#c8f6de;font-size:12px;padding:6px 11px;border:1px solid #78b49b55;border-radius:24px;background:#173a30}
.medal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin:12px 0}.medal-card{padding:12px;border:1px solid #e8ca7c44;border-radius:12px;background:#d6b8560c;display:grid;gap:4px;font-size:12px}.medal-card b{font-size:14px;color:#e9cd87}.medal-card[data-tier="0"]{opacity:.55}.medal-card[data-tier="3"]{background:#e8c66522;border-color:#e8c665}.medal-card span{font-size:11px;color:#c4d7cd}
.signature-hud{position:absolute;top:max(60px,calc(env(safe-area-inset-top) + 58px));left:50%;transform:translateX(-50%);width:min(340px,44%);padding:7px 12px;border:1px solid #eed18899;border-radius:12px;background:#0d252ce8;text-align:center;pointer-events:none;color:#fff0b9}.signature-hud b{font-size:13px;display:block}.signature-hud span{font-size:11px;display:block;margin:3px 0}.signature-hud progress{display:block;width:100%;height:5px;accent-color:#e9c77a}.celebrating .signature-hud{display:none}
@media(max-width:1000px){.driver-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.garage-panel{padding:24px}.hero-copy{padding:30px 28px 0}.showroom-footer{font-size:9px;flex-wrap:wrap}.driver-heading img{width:95px}}
@media(max-width:680px){.mast{height:68px;padding:0 16px}.brand{font-size:23px}.save-light{font-size:8px}.quiet{font-size:10px;padding:8px}.garage-layout{display:block}.showroom{position:relative;top:auto;display:block}.hero-copy{padding:23px 24px 0}.hero-copy h1{font-size:65px;margin:15px 0;letter-spacing:-4px}.tagline{font-size:10px}#showTruck{height:290px;aspect-ratio:auto;margin-top:-12px}.showroom-footer{font-size:9px;flex-wrap:nowrap;padding:15px 20px}.showroom-footer span:nth-child(2){display:none}.garage-panel{padding:24px 18px;border-left:0}.driver-heading img{width:116px;height:105px}.driver-heading h2{font-size:29px}.driver-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.driver-grid button{height:79px}.driver-grid button img{height:53px}.driver-grid button span{font-size:9px}.ability-grid{gap:10px}.mode-row{flex-wrap:wrap}.mode-row button{min-width:130px}.wrap-row .eyebrow{font-size:10px}.signature-hud{width:48%;padding:5px 8px}.signature-hud b{font-size:11px}.signature-hud span{font-size:10px}.bottom-guide{padding:22px}.bottom-guide button{font-size:12px}}
@media(orientation:landscape) and (max-height:420px){.signature-hud{top:57px;padding:5px 10px;width:38%}.signature-hud span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.driver-grid button{transition:none}}
