/* GTAUP V377: independent market and quiet frameless case collection. */
html.gtaup-v377 body #page-upgrader #v375MarketView,
html.gtaup-v377 body #page-upgrader #v375UpgraderSwitch,
html.gtaup-v377 body #page-upgrader #g2643-shop-host,
html.gtaup-v377 body #page-upgrader .g2643-inventory-tabs,
html.gtaup-v377 body #page-upgrader .v318-buy,
html.gtaup-v377 body #page-upgrader .g2654-tabs{display:none!important}
html.gtaup-v377.v375-market-open body #page-upgrader>:not(#v375MarketView):not(#v375UpgraderSwitch){display:revert!important}
html.gtaup-v377 body #page-upgrader #garageGrid{display:grid!important}
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187[data-page-target="shop"]{
 display:flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;
 min-height:64px!important;overflow:hidden!important;gap:10px!important;
 border:1px solid #403648!important;border-radius:12px!important;
 color:#e9e2ed!important;background:#201a29!important;background-image:none!important;
 box-shadow:none!important;pointer-events:auto!important;
}
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187[data-page-target="shop"]:hover,
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187[data-page-target="shop"].active{
 background:#2b2237!important;border-color:#756180!important;color:#fff!important;
}
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187 .nav-ic{
 display:grid!important;place-items:center!important;flex:0 0 39px!important;width:39px!important;height:39px!important;
 background:#2e2638!important;border-radius:10px!important;border:0!important;
 position:static!important;transform:none!important;overflow:hidden!important;
}
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187 .nav-ic svg{
 width:21px!important;height:21px!important;position:static!important;display:block!important;color:#d9c4e4!important;
}
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187 .nav-copy{min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important}
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187 .nav-title{font-weight:800!important;font-size:12px!important}
html.gtaup-v377 body .sidebar .nav button.nav-market-primary-v187 .nav-sub{font-size:10px!important;color:#b6a9c0!important}
html.gtaup-v377 body #v318TopTabs #v377TopShop{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;color:#d6c9dd!important;white-space:nowrap!important}
html.gtaup-v377 body #v318TopTabs #v377TopShop.active{color:#fff!important;border-bottom-color:#c9accf!important}
/* Standalone market page, no cramped inventory scroller. */
html.gtaup-v377 body #page-shop.page.active{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 overflow:visible!important;padding:clamp(14px,2vw,28px)!important;
 box-sizing:border-box!important;background:#17151e!important;background-image:none!important;
}
html.gtaup-v377 body #page-shop .shop-head-v31{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 padding:10px 0 22px!important;margin:0 0 20px!important;border:0!important;border-bottom:1px solid #342d3c!important;
 background:transparent!important;box-shadow:none!important;
}
html.gtaup-v377 body #page-shop .shop-head-v31 h1{
 font:850 clamp(26px,3vw,38px)/1.12 Inter,system-ui,sans-serif!important;color:#f4edf8!important;
 letter-spacing:-1.1px!important;margin:6px 0!important;
}
html.gtaup-v377 body #page-shop .shop-head-v31 .page-desc{color:#b7aec2!important;max-width:650px!important;font-size:12px!important;line-height:1.65!important}
html.gtaup-v377 body #page-shop .shop-head-brand-v30,
html.gtaup-v377 body #page-shop .market-roadmap-v32{display:none!important}
html.gtaup-v377 body #page-shop .shop-summary{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin-bottom:15px!important}
html.gtaup-v377 body #page-shop .shop-stat{background:#211d2a!important;border:1px solid #352e40!important;box-shadow:none!important;border-radius:10px!important}
html.gtaup-v377 body #page-shop .market-type-tabs-v31,
html.gtaup-v377 body #page-shop #shopFilters{padding:0!important;margin:0 0 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html.gtaup-v377 body #page-shop .shop-toolbar{
 background:#201c27!important;box-shadow:none!important;border:1px solid #36303e!important;border-radius:12px!important;
 padding:12px!important;margin:10px 0 20px!important;
}
html.gtaup-v377 body #page-shop #shopGrid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:13px!important;padding:0!important;margin:0!important;width:100%!important;max-width:100%!important;
 overflow:visible!important;
}
html.gtaup-v377 body #page-shop #shopGrid>.shop-item{
 border:1px solid #3e3549!important;background:#231e2a!important;box-shadow:none!important;border-radius:13px!important;
 min-width:0!important;max-width:none!important;width:auto!important;min-height:290px!important;padding:13px!important;
}
html.gtaup-v377 body #page-shop #shopGrid>.shop-item:hover{border-color:#7d6a90!important;background:#2a2333!important}
/* CASES: eliminate stacked colored outlines on panel, toolbar, case cards, art and reel. */
html.gtaup-v377 body #page-cases{
 background:#18141e!important;background-image:none!important;
}
html.gtaup-v377 body #page-cases #caseCatalogHomeV215,
html.gtaup-v377 body #page-cases .case-catalog-v214{
 border:0!important;outline:0!important;box-shadow:none!important;
 background:transparent!important;background-image:none!important;border-radius:0!important;
 padding:0!important;
}
html.gtaup-v377 body #page-cases .case-catalog-head-v214{
 border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
 margin:0 0 16px!important;padding:4px 0!important;
}
html.gtaup-v377 body #page-cases #v374CaseToolbar,
html.gtaup-v377 body #page-cases .v374-case-toolbar{
 background:transparent!important;background-image:none!important;
 border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;
 padding:8px 0 17px!important;margin:0 0 19px!important;
 border-bottom:1px solid #382d3f!important;
}
html.gtaup-v377 body #page-cases .v374-case-top h2{font-size:clamp(19px,2.3vw,26px)!important;color:#f4edf7!important}
html.gtaup-v377 body #page-cases .v374-case-search,
html.gtaup-v377 body #page-cases .v374-sort{
 background:#201b29!important;background-image:none!important;border:1px solid #3d3245!important;
 border-radius:11px!important;box-shadow:none!important;
}
html.gtaup-v377 body #page-cases .v374-case-chips button{
 background:#211b28!important;background-image:none!important;color:#c7b9cf!important;
 border:1px solid #3c3045!important;box-shadow:none!important;border-radius:9px!important;
}
html.gtaup-v377 body #page-cases .v374-case-chips button.selected{
 background:#44334f!important;background-image:none!important;border-color:#775e8a!important;
 color:#fff!important;box-shadow:none!important;
}
html.gtaup-v377 body #page-cases .case-catalog-grid-v214{
 display:grid!important;gap:16px!important;align-items:stretch!important;
 border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;
}
html.gtaup-v377 body #page-cases .case-preview-v214,
html.gtaup-v377 body #page-cases button.case-preview-v214,
html.gtaup-v377 body #page-cases .case-catalog-grid-v214>[data-v327-custom]{
 background:#211b29!important;background-image:none!important;
 border:1px solid transparent!important;outline:0!important;border-radius:17px!important;
 box-shadow:0 8px 20px #09060d33!important;overflow:hidden!important;
 padding:18px!important;transition:background .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
html.gtaup-v377 body #page-cases button.case-preview-v214:hover,
html.gtaup-v377 body #page-cases .case-catalog-grid-v214>[data-v327-custom]:hover{
 background:#2c2334!important;border-color:transparent!important;
 transform:translateY(-3px)!important;box-shadow:0 14px 28px #09060d55!important;
}
html.gtaup-v377 body #page-cases .case-preview-v214 :is(.case-preview-art-v214,.case-preview-top-v214,.case-preview-bottom-v214),
html.gtaup-v377 body #page-cases .case-stage-art-v196,
html.gtaup-v377 body #page-cases #v329Art,
html.gtaup-v377 body #page-cases .case-hero-art-v225{
 background:transparent!important;background-image:none!important;border:0!important;outline:0!important;
 box-shadow:none!important;border-radius:0!important;
}
html.gtaup-v377 body #page-cases .case-preview-v214 .case-preview-art-v214{
 display:flex!important;align-items:center!important;justify-content:center!important;min-height:172px!important;
 margin:10px 0!important;overflow:visible!important;
}
html.gtaup-v377 body #page-cases :is(.case-preview-art-v214,.case-stage-art-v196,.case-stage-art-v215,.case-hero-art-v225,.case-item-img-v188) img{
 display:block!important;max-width:100%!important;object-fit:contain!important;mix-blend-mode:normal!important;
 border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
 filter:drop-shadow(0 13px 13px #0006)!important;
}
html.gtaup-v377 body #page-cases .case-preview-v214 .case-preview-bottom-v214{
 margin-top:auto!important;border-top:1px solid #ffffff13!important;padding-top:12px!important;
}
html.gtaup-v377 body #page-cases :is(.case-items-section-v188,.case-item-card-v188,.case-items-grid-v188),
html.gtaup-v377 body #page-cases :is(.case-stage-v196,.case-stage-art-v196,.case-stage-buy-v196,.case-roll-v196,.case-reel-shell-v188){
 box-shadow:none!important;outline:0!important;border-color:#ffffff0e!important;
}
@media(max-width:1200px){html.gtaup-v377 body #page-shop #shopGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){html.gtaup-v377 body #page-shop #shopGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.gtaup-v377 body #v318TopTabs #v377TopShop{display:none!important}}
@media(max-width:540px){html.gtaup-v377 body #page-shop.page.active{padding:12px!important}html.gtaup-v377 body #page-shop #shopGrid{gap:9px!important}html.gtaup-v377 body #page-shop #shopGrid>.shop-item{min-height:258px!important;padding:9px!important}html.gtaup-v377 body #page-cases .case-preview-v214{padding:12px!important}html.gtaup-v377 body #page-cases #v374CaseToolbar{padding:6px 0 14px!important}}
@media(prefers-reduced-motion:reduce){html.gtaup-v377 body #page-cases button.case-preview-v214{transition:none!important;transform:none!important}}
/* Final high-specificity reset: old V188/V301/V374/V375 all painted case outlines. */
html.gtaup-v377.gtaup-v375 body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214,
html.gtaup-v377.gtaup-v375 body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214:hover,
html.gtaup-v377.gtaup-v375 body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214:focus-visible,
html.gtaup-v377.gtaup-v375 body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > [data-v327-custom]{
 border:none!important;outline:none!important;box-shadow:0 9px 26px rgba(4,2,9,.18)!important;
 background:#241d2b!important;background-image:none!important;
}
html.gtaup-v377.gtaup-v375 body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214:hover{
 background:#2c2434!important;box-shadow:0 15px 28px rgba(4,2,9,.32)!important;
}
html.gtaup-v377 body #page-cases #caseCatalogHomeV215 .case-catalog-grid-v214 > button.case-preview-v214:focus-visible{
 outline:2px solid #9885ad!important;outline-offset:3px!important;
}
