/* GTAUP V450 BLUE GARAGE | Actual V448/V449 DOM, loaded last. Frontend-only.
   Palette: navy background, subdued steel-blue surfaces, restrained azure highlight.
   Preserve semantic roulette red/black/green and rarity items. */
html.gtaup-v448[data-release="V448"] { --v450-bg:#0b1b2e; --v450-surface:#132b44; --v450-panel:#183551; --v450-line:#365c7f; --v450-accent:#79c5fc; --v450-ink:#eaf5ff; --v450-muted:#aec8df; }
/* Consistent background including real HOME GUTTERS, not only the home tiles. */
html.gtaup-v448[data-release="V448"] body:has(#page-home-v368.active),
html.gtaup-v448[data-release="V448"] body:has(#page-home-v368.active) :is(.app,.main,.content),
html.gtaup-v448[data-release="V448"] body:has(#page-home-v368.active) #page-home-v368,
html.gtaup-v448[data-release="V448"] body:has(#page-home-v368.active) #page-home-v368 .v371-home,
html.gtaup-v448[data-release="V448"] body:has(#page-home-v368.active) #page-home-v368 .v371-games-wrap {
 background-color:var(--v450-bg)!important;color:var(--v450-ink)!important;
 background-image:none!important;
}
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 { width:100%!important;max-width:none!important;box-sizing:border-box!important; }
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-top h1,
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-group-head h2 { color:var(--v450-ink)!important; }
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 :is(.v371-hero,.v371-game,.v371-live-chip){
 border-color:#365878!important;background-color:#18344d!important;box-shadow:0 8px 28px #03142640!important;
}
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-hero-image,
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-card-img:not(.v371-inactive .v371-card-img){opacity:.94!important;filter:brightness(1.08) saturate(1.02)!important;}
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-card-veil {
 background:linear-gradient(90deg,#071a2bea 0%,#0b2941b8 44%,#0b294122 100%)!important;
}
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-hero-overlay {
 background:linear-gradient(90deg,#071728f2 0%,#0c263bcc 47%,#0c263b19 100%)!important;
}
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 :is(.v371-eyebrow,.v371-card-kicker) {color:#91cbf4!important;}
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-cta {background:#78bdf0!important;color:#082038!important;border-color:#97d1fa!important;}
html.gtaup-v448[data-release="V448"] body.v371-theme #page-home-v368 .v371-game:not(.v371-inactive):hover{border-color:#82bfe9!important;}
/* Active case pages and their containing gutters: stop plum strips at top and sides. */
html.gtaup-v448[data-release="V448"] body:has(#page-cases.active),
html.gtaup-v448[data-release="V448"] body:has(#page-cases.active) :is(.app,.main,.content),
html.gtaup-v448[data-release="V448"] body #page-cases,
html.gtaup-v448[data-release="V448"] body #page-cases .case-catalog-v214,
html.gtaup-v448[data-release="V448"] body #page-cases .case-detail-v215 {
 background-color:var(--v450-bg)!important;color:var(--v450-ink)!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases .case-breadcrumb-v196 {
 background:var(--v450-bg)!important;border:0!important;box-shadow:none!important;color:#8abce5!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases .case-catalog-head-v214,
html.gtaup-v448[data-release="V448"] body #page-cases .v374-case-toolbar,
html.gtaup-v448[data-release="V448"] body #page-cases .v374-case-top,
html.gtaup-v448[data-release="V448"] body #page-cases .case-catalog-grid-v214 {
 background:transparent!important;background-color:transparent!important;border-color:transparent!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases .v374-case-search,
html.gtaup-v448[data-release="V448"] body #page-cases .v374-sort,
html.gtaup-v448[data-release="V448"] body #page-cases .v374-case-chips button,
html.gtaup-v448[data-release="V448"] body #page-cases .case-back-v214 {
 background:#15314a!important;border-color:#385f80!important;color:#d9edfd!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214 {
 background:linear-gradient(155deg,#19354e 0%,#112740 100%)!important;
 border:1px solid #355a79!important;border-radius:16px!important;
 box-shadow:0 12px 25px #02102032!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214:hover { border-color:#8ac9ef!important;background:linear-gradient(155deg,#204363,#143047)!important; }
html.gtaup-v448[data-release="V448"] body #page-cases .case-preview-art-v214 { background:transparent!important;filter:none!important; }
html.gtaup-v448[data-release="V448"] body #page-cases .case-preview-art-v214 img {opacity:1!important;filter:drop-shadow(0 15px 14px #0008) brightness(1.07)!important;}
html.gtaup-v448[data-release="V448"] body #page-cases .case-preview-bottom-v214 {border-top-color:#345573!important;color:#a9c7e1!important;}
html.gtaup-v448[data-release="V448"] body #page-cases .case-preview-bottom-v214 strong{background:#153b54!important;color:#82e4e2!important;border-color:#346a82!important;}
/* Case detail: match cover, reel and rewards; remove mismatched header bars. */
html.gtaup-v448[data-release="V448"] body #page-cases .case-stage-v196 {
 background:linear-gradient(120deg,#183550,#132c44 55%,#0f2439)!important;
 border:1px solid #355675!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases .case-stage-v196::before,
html.gtaup-v448[data-release="V448"] body #page-cases .case-stage-v196::after {box-shadow:none!important;}
html.gtaup-v448[data-release="V448"] body #page-cases :is(.case-roll-v196,.case-items-section-v188,.case-roll-v196 .case-reel-window-v188,.case-stage-buy-v196,.case-item-card-v188,.case-reel-card-v188) {
 background-color:#152d46!important;border-color:#315878!important;color:#eaf5ff!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases .case-stage-copy-v196 {background:transparent!important;color:#e9f5ff!important;}
html.gtaup-v448[data-release="V448"] body #page-cases .case-stage-art-v196 img {filter:drop-shadow(0 14px 14px #00132799) brightness(1.07)!important;opacity:1!important;}
html.gtaup-v448[data-release="V448"] body #page-cases .case-count-tabs-v196 button:not(.active) {background:#17334c!important;color:#b9d5eb!important;border-color:#365978!important;}
html.gtaup-v448[data-release="V448"] body #page-cases :is(.case-count-tabs-v196 button.active,.case-open-v196:not(:disabled)) {background:#71b8ec!important;color:#07213b!important;border-color:#9fd6ff!important;box-shadow:none!important;}
/* New selected garage background on the ACTUAL UPGRADE STAGE. No new overlay over wheel interaction. */
html.gtaup-v448[data-release="V448"] body #page-upgrader.v302-upgrader .upgrade-stage.v302-stage {
 background-image:linear-gradient(90deg,#061729a6 0%,#06182d61 48%,#061729a1 100%),url('/assets/gtaup-v450/upgrade-background-v450.webp')!important;
 background-size:cover!important;background-position:center 49%!important;background-repeat:no-repeat!important;
 background-color:#0a1a2c!important;border:1px solid #365b7b!important;
}
html.gtaup-v448[data-release="V448"] body #page-upgrader.v302-upgrader .upgrade-stage.v302-stage > .slot {
 background:linear-gradient(145deg,#0b1e33db,#112d48df)!important;
 border-color:#406684!important;backdrop-filter:blur(8px);box-shadow:0 12px 28px #010b1c3b!important;
}
html.gtaup-v448[data-release="V448"] body #page-upgrader .wheel-card.v302-wheel-card {background:transparent!important;box-shadow:none!important;}
/* Native image surfaces in purchase, upgrader and prize catalogues. The original CSS dims images. */
html.gtaup-v448[data-release="V448"] body :is(#page-upgrader,#page-shop,#page-cases) :is(.shop-item,.quality-card-v188,.case-item-card-v188) :is(.car-img,.case-item-img-v188) img,
html.gtaup-v448[data-release="V448"] body #page-upgrader :is(.inventory-card,.inventory-item,.upgrader-inventory-card-v63,.target-item,.target-card,.car-card) img {
 opacity:1!important;visibility:visible!important;filter:brightness(1.18) contrast(1.06) saturate(1.10)!important;
}
html.gtaup-v448[data-release="V448"] body :is(#page-upgrader,#page-shop) .shop-item {background-color:#18314c!important;border-color:#345879!important;}
html.gtaup-v448[data-release="V448"] body :is(#page-upgrader,#page-shop) .shop-item .car-img{background:radial-gradient(ellipse at center,#244f6f55,transparent 72%)!important;}
/* Respect disabled elements, game probabilities, true image fetch errors and rarity colours. */
@media(max-width:720px){
 html.gtaup-v448[data-release="V448"] body #page-upgrader.v302-upgrader .upgrade-stage.v302-stage {background-position:51% center!important;}
 html.gtaup-v448[data-release="V448"] body #page-cases .case-stage-v196{background:#142c45!important;}
 html.gtaup-v448[data-release="V448"] body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214{border-radius:12px!important;}
 html.gtaup-v448[data-release="V448"] body #page-home-v368{padding-inline:12px!important;}
}
