/* GTAUP V459 | WHITE MARKET / ITEM VISIBILITY / CASE LOOT ART
   Only presentation. No Firebase, balance, purchases, API, RNG or game mechanics modified.
   Must load AFTER v457 and v458 layers. */

/* White, readable purchase catalogue. Existing shop nav stays dark, main workspace is light. */
html.gtaup-v448[data-release="V448"] body #page-shop.shop-page-v31{
  --surface:#ffffff!important;--surface2:#ffffff!important;--surface3:#f5f7fb!important;
  --text:#1b2b40!important;--muted:#5c7188!important;--muted2:#667b91!important;
  --line:#d9e1eb!important;--line2:#cbd7e5!important;
  background:#f6f8fc!important;background-image:none!important;color:#1a2e44!important;
  border-color:#e0e7ef!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop :is(.shop-head-v30,.shop-head-v31,.shop-summary,.shop-stat,.market-note-v32,.majestic-card-v32,.shop-toolbar,.shop-grid,#shopPriceV348){
  color:#20344b!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop :is(.shop-head-v30,.shop-head-v31) :is(.page-title,.page-desc,h1,h2,p){color:#20344b!important;text-shadow:none!important}
html.gtaup-v448[data-release="V448"] body #page-shop .shop-grid,
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid{
  background:transparent!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop :is(.shop-item,#shopGrid .shop-item,.shop-stat,.market-note-v32,.majestic-card-v32,#shopPriceV348){
  background:#fff!important;background-image:none!important;border:1px solid #dce5ee!important;
  color:#20344b!important;box-shadow:0 3px 14px rgba(27,54,90,.045)!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item :is(.car-name,.car-price,.car-real,.quality-strip-v188,.shop-meta,.owned,.item-type-chip-v31){
  color:#213a55!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .quality-strip-v188{background:#edf2f9!important;border-color:#d6e1ec!important}
html.gtaup-v448[data-release="V448"] body #page-shop :is(.shop-toolbar input,.shop-toolbar select,#shopPriceV348 input,#shopPriceV348 select,.shop-page-v31 input,.shop-page-v31 select){
  background:#fff!important;color:#263b52!important;-webkit-text-fill-color:#263b52!important;
  border:1px solid #cbd7e5!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop :is(.filter,#shopTypeFiltersV31 button,#shopPriceV348 button){
  background:#f0f4f9!important;color:#314d6c!important;border:1px solid #cfdeea!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop :is(.filter.active,#shopTypeFiltersV31 button.active,#shopPriceV348 button[aria-pressed="true"]){
  background:#d9e9f8!important;color:#194d78!important;border-color:#8cb9dc!important;
}
/* Quantity control: ONE light card, integrated into the white product list. */
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .v456-buy-controls{
  background:#f6f8fc!important;background-image:none!important;border:1px solid #d8e3ee!important;
  box-shadow:none!important;color:#263f5b!important;border-radius:12px!important;
  margin:9px 0 12px!important;padding:10px 12px!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .v456-buy-caption,
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .v456-buy-total{color:#334f6b!important}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .v456-buy-stepper{
  background:#fff!important;border:1px solid #bdccdf!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .v456-buy-stepper :is(button,input){
  background:#fff!important;background-image:none!important;color:#203b58!important;
  -webkit-text-fill-color:#203b58!important;border-color:#d4dfeb!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .v456-buy-stepper button:hover{background:#e4eff8!important}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .buy-btn:not(:disabled){
  background:#285f8e!important;background-image:none!important;color:#fff!important;
  border:0!important;box-shadow:none!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .buy-btn:disabled{background:#e2e9f1!important;color:#60758d!important}
/* Artwork in white shop panels: no blue artificial picture frame. */
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .car-img{
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#f4f7fa!important;background-image:radial-gradient(ellipse at 50% 45%,#ffffff,#eaf0f6)!important;
  border:1px solid #e4eaf1!important;box-shadow:none!important;opacity:1!important;
}
html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .car-img img[data-car-id]{
  display:block!important;width:88%!important;height:88%!important;max-width:88%!important;max-height:88%!important;
  opacity:1!important;visibility:visible!important;mix-blend-mode:normal!important;
  object-fit:contain!important;object-position:center!important;transform:none!important;
  filter:brightness(1.08) contrast(1.08) saturate(1.04) drop-shadow(0 6px 10px rgba(19,38,60,.18))!important;
}
/* Upgrade's dark card swallowed already-correct assets: bright but neutral photo stage. */
html.gtaup-v448[data-release="V448"] body #page-upgrader #garageGrid .car .car-img,
html.gtaup-v448[data-release="V448"] body #page-upgrader #catalogGrid .car .car-img,
html.gtaup-v448[data-release="V448"] body #page-upgrader .slot-media-v35,
html.gtaup-v448[data-release="V448"] body #profileGarage .profile-garage-item .car-img{
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:radial-gradient(ellipse at 50% 40%,#dbe8f2 0%,#a4c0d7 62%,#698fae 100%)!important;
  background-image:radial-gradient(ellipse at 50% 40%,#dbe8f2 0%,#a4c0d7 62%,#698fae 100%)!important;
  border:1px solid #8fb1cc!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.38)!important;
  opacity:1!important;visibility:visible!important;filter:none!important;isolation:isolate!important;
}
html.gtaup-v448[data-release="V448"] body #page-upgrader #garageGrid .car .car-img img[data-car-id],
html.gtaup-v448[data-release="V448"] body #page-upgrader #catalogGrid .car .car-img img[data-car-id],
html.gtaup-v448[data-release="V448"] body #page-upgrader .slot-media-v35 img[data-car-id],
html.gtaup-v448[data-release="V448"] body #profileGarage .profile-garage-item .car-img img[data-car-id]{
  display:block!important;position:relative!important;width:88%!important;height:88%!important;
  max-width:88%!important;max-height:88%!important;object-fit:contain!important;object-position:center!important;
  visibility:visible!important;opacity:1!important;mix-blend-mode:normal!important;transform:none!important;
  filter:brightness(1.25) contrast(1.12) saturate(1.08) drop-shadow(0 9px 13px rgba(8,28,51,.24))!important;
}
/* Restore refined, darker display for case drops instead of giant flat-blue icons. */
html.gtaup-v448[data-release="V448"] body #page-cases .case-items-grid-v188 .case-item-card-v188,
html.gtaup-v448[data-release="V448"] body #page-cases #v329ItemGrid .case-item-card-v188{
  background:linear-gradient(155deg,#1a374e,#102a42)!important;
  background-image:linear-gradient(155deg,#1a374e,#102a42)!important;
  border:1px solid rgba(92,143,176,.42)!important;box-shadow:none!important;
  border-radius:14px!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases .case-items-grid-v188 .case-item-card-v188 .case-item-img-v188,
html.gtaup-v448[data-release="V448"] body #page-cases #v329ItemGrid .case-item-card-v188 .case-item-img-v188{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:142px!important;max-height:142px!important;padding:10px 8px!important;
  background:radial-gradient(ellipse at 50% 54%,rgba(122,178,216,.22),transparent 68%)!important;
  background-image:radial-gradient(ellipse at 50% 54%,rgba(122,178,216,.22),transparent 68%)!important;
  border:none!important;box-shadow:none!important;overflow:hidden!important;
  opacity:1!important;
}
html.gtaup-v448[data-release="V448"] body #page-cases .case-items-grid-v188 .case-item-card-v188 .case-item-img-v188 img[data-car-id],
html.gtaup-v448[data-release="V448"] body #page-cases #v329ItemGrid .case-item-card-v188 .case-item-img-v188 img[data-car-id]{
  display:block!important;position:relative!important;z-index:1!important;
  width:86%!important;height:116px!important;max-width:86%!important;max-height:116px!important;
  object-fit:contain!important;object-position:center!important;transform:none!important;
  opacity:1!important;visibility:visible!important;mix-blend-mode:normal!important;
  filter:brightness(1.06) saturate(1.06) contrast(1.04) drop-shadow(0 8px 12px rgba(0,0,0,.27))!important;
}
/* Keep existing case reel layout, but do not stretch loot imagery. */
html.gtaup-v448[data-release="V448"] body #page-cases :is(.case-lane-track-v198,.case-reel-v188,.case-multi-reels-v198) img[data-car-id]{
  object-fit:contain!important;opacity:1!important;mix-blend-mode:normal!important;
}
@media(max-width:730px){
 html.gtaup-v448[data-release="V448"] body #page-shop #shopGrid .shop-item .v456-buy-controls{padding:9px!important}
 html.gtaup-v448[data-release="V448"] body #page-cases .case-items-grid-v188 .case-item-card-v188 .case-item-img-v188{height:114px!important;max-height:114px!important}
 html.gtaup-v448[data-release="V448"] body #page-cases .case-items-grid-v188 .case-item-card-v188 .case-item-img-v188 img[data-car-id]{height:94px!important;max-height:94px!important}
}
