/* PATCH 37: real textless Pokémon TCG illustrations; no duplicate HOME sprites.
   All 25 artwork files and centered landscape versions are included locally. */
.ta-card[data-theme^="shop-"],
.ta-other-card[data-theme^="shop-"],
.ahm-card-preview[data-theme^="shop-"]{
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 background-color:#111a29!important;
 background-image:linear-gradient(90deg,rgba(4,8,18,.80),rgba(4,8,18,.42) 56%,rgba(4,8,18,.26)),linear-gradient(140deg,#17263e,#111827)!important;
 background-size:100% 100%,100% 100%!important;
 background-position:center center,center 52%!important;
 background-repeat:no-repeat,no-repeat!important;
 background-blend-mode:normal,normal!important;
}
.ahm-card-preview[data-theme^="shop-"]{
 background-image:linear-gradient(0deg,rgba(3,8,18,.72),rgba(3,8,18,.10) 76%),linear-gradient(140deg,#17263e,#111827)!important;
 background-size:100% 100%,100% 100%!important;
}
/* The legacy overlay is the faded icon users reported; never render it.
   A deliberately equipped .tc-featured shiny remains completely unaffected. */
.ta-card[data-theme^="shop-"] .ahm-theme-art,
.ta-other-card[data-theme^="shop-"] .ahm-theme-art,
.ahm-card-preview[data-theme^="shop-"] .ahm-theme-art{
 display:none!important;visibility:hidden!important;opacity:0!important;
}
.ahm-card-preview[data-theme^="shop-"]::before,
.ahm-card-preview[data-theme^="shop-"]::after{
 content:none!important;display:none!important;background:none!important;opacity:0!important;
}
.ta-card[data-theme^="shop-"] .ta-card-head,
.ta-card[data-theme^="shop-"] .ta-card-main,
.ta-card[data-theme^="shop-"] .ta-card-stats,
.ta-card[data-theme^="shop-"] .ta-card-footer,
.ta-other-card[data-theme^="shop-"] .ta-card-head,
.ta-other-card[data-theme^="shop-"] .ta-card-main,
.ta-other-card[data-theme^="shop-"] .ta-card-stats,
.ta-other-card[data-theme^="shop-"] .ta-card-footer{
 position:relative;z-index:1;text-shadow:0 2px 8px rgba(0,0,0,.78);
}
.ahm-card-preview[data-theme^="shop-"] .ahm-preview-name{
 color:white!important;text-shadow:0 2px 7px black,0 0 3px black!important;
}

.ta-card[data-theme="shop-comettrail"],.ta-other-card[data-theme="shop-comettrail"],.ahm-card-preview[data-theme="shop-comettrail"]{--card-edge:#b6d8ff;--tcg-art:url("assets/tcg-shop/landscape/shop-comettrail.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-abyssal"],.ta-other-card[data-theme="shop-abyssal"],.ahm-card-preview[data-theme="shop-abyssal"]{--card-edge:#6ae1f1;--tcg-art:url("assets/tcg-shop/landscape/shop-abyssal.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-lavaforge"],.ta-other-card[data-theme="shop-lavaforge"],.ahm-card-preview[data-theme="shop-lavaforge"]{--card-edge:#ffbd74;--tcg-art:url("assets/tcg-shop/landscape/shop-lavaforge.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-verdant"],.ta-other-card[data-theme="shop-verdant"],.ahm-card-preview[data-theme="shop-verdant"]{--card-edge:#8deaba;--tcg-art:url("assets/tcg-shop/landscape/shop-verdant.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-twilight"],.ta-other-card[data-theme="shop-twilight"],.ahm-card-preview[data-theme="shop-twilight"]{--card-edge:#f6bdd6;--tcg-art:url("assets/tcg-shop/landscape/shop-twilight.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-cyberpunk"],.ta-other-card[data-theme="shop-cyberpunk"],.ahm-card-preview[data-theme="shop-cyberpunk"]{--card-edge:#ceabff;--tcg-art:url("assets/tcg-shop/landscape/shop-cyberpunk.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-stargate"],.ta-other-card[data-theme="shop-stargate"],.ahm-card-preview[data-theme="shop-stargate"]{--card-edge:#9beeff;--tcg-art:url("assets/tcg-shop/landscape/shop-stargate.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-hallowed"],.ta-other-card[data-theme="shop-hallowed"],.ahm-card-preview[data-theme="shop-hallowed"]{--card-edge:#efe5ff;--tcg-art:url("assets/tcg-shop/landscape/shop-hallowed.jpg?v=hallowed60");}

.ta-card[data-theme="shop-coralreef"],.ta-other-card[data-theme="shop-coralreef"],.ahm-card-preview[data-theme="shop-coralreef"]{--card-edge:#ffd6a5;--tcg-art:url("assets/tcg-shop/landscape/shop-coralreef.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-dynasty"],.ta-other-card[data-theme="shop-dynasty"],.ahm-card-preview[data-theme="shop-dynasty"]{--card-edge:#ffc18c;--tcg-art:url("assets/tcg-shop/landscape/shop-dynasty.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-luminescent"],.ta-other-card[data-theme="shop-luminescent"],.ahm-card-preview[data-theme="shop-luminescent"]{--card-edge:#c6ffdb;--tcg-art:url("assets/tcg-shop/landscape/shop-luminescent.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-singularity"],.ta-other-card[data-theme="shop-singularity"],.ahm-card-preview[data-theme="shop-singularity"]{--card-edge:#daaeff;--tcg-art:url("assets/tcg-shop/landscape/shop-singularity.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-phoenixflare"],.ta-other-card[data-theme="shop-phoenixflare"],.ahm-card-preview[data-theme="shop-phoenixflare"]{--card-edge:#ffbb78;--tcg-art:url("assets/tcg-shop/landscape/shop-phoenixflare.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-psychicnova"],.ta-other-card[data-theme="shop-psychicnova"],.ahm-card-preview[data-theme="shop-psychicnova"]{--card-edge:#ddc0ff;--tcg-art:url("assets/tcg-shop/landscape/shop-psychicnova.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-skysovereign"],.ta-other-card[data-theme="shop-skysovereign"],.ahm-card-preview[data-theme="shop-skysovereign"]{--card-edge:#98f1ce;--tcg-art:url("assets/tcg-shop/landscape/shop-skysovereign.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-tidalcrown"],.ta-other-card[data-theme="shop-tidalcrown"],.ahm-card-preview[data-theme="shop-tidalcrown"]{--card-edge:#90d7ff;--tcg-art:url("assets/tcg-shop/landscape/shop-tidalcrown.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-lunaroracle"],.ta-other-card[data-theme="shop-lunaroracle"],.ahm-card-preview[data-theme="shop-lunaroracle"]{--card-edge:#d1b5ff;--tcg-art:url("assets/tcg-shop/landscape/shop-lunaroracle.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-solarsovereign"],.ta-other-card[data-theme="shop-solarsovereign"],.ahm-card-preview[data-theme="shop-solarsovereign"]{--card-edge:#ffe29a;--tcg-art:url("assets/tcg-shop/landscape/shop-solarsovereign.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-shadowreign"],.ta-other-card[data-theme="shop-shadowreign"],.ahm-card-preview[data-theme="shop-shadowreign"]{--card-edge:#b4b6df;--tcg-art:url("assets/tcg-shop/landscape/shop-shadowreign.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-distortion"],.ta-other-card[data-theme="shop-distortion"],.ahm-card-preview[data-theme="shop-distortion"]{--card-edge:#f8c381;--tcg-art:url("assets/tcg-shop/landscape/shop-distortion.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-voltlegend"],.ta-other-card[data-theme="shop-voltlegend"],.ahm-card-preview[data-theme="shop-voltlegend"]{--card-edge:#fff288;--tcg-art:url("assets/tcg-shop/landscape/shop-voltlegend.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-steamheart"],.ta-other-card[data-theme="shop-steamheart"],.ahm-card-preview[data-theme="shop-steamheart"]{--card-edge:#ffb485;--tcg-art:url("assets/tcg-shop/landscape/shop-steamheart.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-sacredtide"],.ta-other-card[data-theme="shop-sacredtide"],.ahm-card-preview[data-theme="shop-sacredtide"]{--card-edge:#8ee3ff;--tcg-art:url("assets/tcg-shop/landscape/shop-sacredtide.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-temporalvault"],.ta-other-card[data-theme="shop-temporalvault"],.ahm-card-preview[data-theme="shop-temporalvault"]{--card-edge:#a8c6ff;--tcg-art:url("assets/tcg-shop/landscape/shop-temporalvault.jpg?v=tcg37-cynthia");}

.ta-card[data-theme="shop-tinkaton"],.ta-other-card[data-theme="shop-tinkaton"],.ahm-card-preview[data-theme="shop-tinkaton"]{--card-edge:#ffc0e8;--tcg-art:url("assets/tcg-shop/landscape/shop-tinkaton.jpg?v=tcg37-cynthia");}

/* PATCH 52: CSS backgrounds are not downloaded until the corresponding card
   approaches the viewport and its optimized file has been selected. */
.ta-card[data-theme^="shop-"].tcg-asset-ready.tcg-visible,
.ta-other-card[data-theme^="shop-"].tcg-asset-ready.tcg-visible,
.ahm-card-preview[data-theme^="shop-"].tcg-asset-ready.tcg-visible{
 background-image:linear-gradient(90deg,rgba(4,8,18,.80),rgba(4,8,18,.42) 56%,rgba(4,8,18,.26)),var(--tcg-art)!important;
 background-size:100% 100%,cover!important;
 background-position:center center,center center!important;
 background-repeat:no-repeat,no-repeat!important;
}
.ahm-card-preview[data-theme^="shop-"].tcg-asset-ready.tcg-visible{
 background-image:linear-gradient(0deg,rgba(3,8,18,.72),rgba(3,8,18,.10) 76%),var(--tcg-art)!important;
}
/* Portrait PNG fallback must never collapse into a vertical strip.
   Landscape WebP files (included) are always preferred. */
.ta-card[data-theme^="shop-"],
.ta-other-card[data-theme^="shop-"],
.ahm-card-preview[data-theme^="shop-"]{--tcg-fit:cover!important;}
.ta-card[data-theme="shop-comettrail"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-comettrail"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-comettrail"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-comettrail.webp?v=card56")!important;}
.ta-card[data-theme="shop-comettrail"][data-tcg-source="png"],.ta-other-card[data-theme="shop-comettrail"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-comettrail"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-comettrail.png")!important;}
.ta-card[data-theme="shop-abyssal"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-abyssal"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-abyssal"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-abyssal.webp?v=card56")!important;}
.ta-card[data-theme="shop-abyssal"][data-tcg-source="png"],.ta-other-card[data-theme="shop-abyssal"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-abyssal"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-abyssal.png")!important;}
.ta-card[data-theme="shop-lavaforge"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-lavaforge"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-lavaforge"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-lavaforge.webp?v=card56")!important;}
.ta-card[data-theme="shop-lavaforge"][data-tcg-source="png"],.ta-other-card[data-theme="shop-lavaforge"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-lavaforge"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-lavaforge.png")!important;}
.ta-card[data-theme="shop-verdant"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-verdant"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-verdant"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-verdant.webp?v=card56")!important;}
.ta-card[data-theme="shop-verdant"][data-tcg-source="png"],.ta-other-card[data-theme="shop-verdant"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-verdant"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-verdant.png")!important;}
.ta-card[data-theme="shop-twilight"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-twilight"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-twilight"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-twilight.webp?v=card56")!important;}
.ta-card[data-theme="shop-twilight"][data-tcg-source="png"],.ta-other-card[data-theme="shop-twilight"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-twilight"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-twilight.png")!important;}
.ta-card[data-theme="shop-cyberpunk"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-cyberpunk"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-cyberpunk"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-cyberpunk.webp?v=card56")!important;}
.ta-card[data-theme="shop-cyberpunk"][data-tcg-source="png"],.ta-other-card[data-theme="shop-cyberpunk"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-cyberpunk"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-cyberpunk.png")!important;}
.ta-card[data-theme="shop-stargate"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-stargate"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-stargate"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-stargate.webp?v=card56")!important;}
.ta-card[data-theme="shop-stargate"][data-tcg-source="png"],.ta-other-card[data-theme="shop-stargate"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-stargate"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-stargate.png")!important;}
.ta-card[data-theme="shop-hallowed"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-hallowed"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-hallowed"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-hallowed.webp?v=hallowed60")!important;}
.ta-card[data-theme="shop-hallowed"][data-tcg-source="png"],.ta-other-card[data-theme="shop-hallowed"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-hallowed"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-hallowed.png?v=hallowed60")!important;}
.ta-card[data-theme="shop-coralreef"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-coralreef"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-coralreef"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-coralreef.webp?v=card56")!important;}
.ta-card[data-theme="shop-coralreef"][data-tcg-source="png"],.ta-other-card[data-theme="shop-coralreef"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-coralreef"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-coralreef.png")!important;}
.ta-card[data-theme="shop-dynasty"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-dynasty"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-dynasty"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-dynasty.webp?v=card56")!important;}
.ta-card[data-theme="shop-dynasty"][data-tcg-source="png"],.ta-other-card[data-theme="shop-dynasty"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-dynasty"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-dynasty.png")!important;}
.ta-card[data-theme="shop-luminescent"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-luminescent"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-luminescent"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-luminescent.webp?v=card56")!important;}
.ta-card[data-theme="shop-luminescent"][data-tcg-source="png"],.ta-other-card[data-theme="shop-luminescent"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-luminescent"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-luminescent.png")!important;}
.ta-card[data-theme="shop-singularity"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-singularity"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-singularity"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-singularity.webp?v=card58")!important;}
.ta-card[data-theme="shop-singularity"][data-tcg-source="png"],.ta-other-card[data-theme="shop-singularity"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-singularity"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-singularity.png")!important;}
.ta-card[data-theme="shop-phoenixflare"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-phoenixflare"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-phoenixflare"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-phoenixflare.webp?v=card56")!important;}
.ta-card[data-theme="shop-phoenixflare"][data-tcg-source="png"],.ta-other-card[data-theme="shop-phoenixflare"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-phoenixflare"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-phoenixflare.png")!important;}
.ta-card[data-theme="shop-psychicnova"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-psychicnova"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-psychicnova"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-psychicnova.webp?v=card56")!important;}
.ta-card[data-theme="shop-psychicnova"][data-tcg-source="png"],.ta-other-card[data-theme="shop-psychicnova"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-psychicnova"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-psychicnova.png")!important;}
.ta-card[data-theme="shop-skysovereign"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-skysovereign"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-skysovereign"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-skysovereign.webp?v=card56")!important;}
.ta-card[data-theme="shop-skysovereign"][data-tcg-source="png"],.ta-other-card[data-theme="shop-skysovereign"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-skysovereign"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-skysovereign.png")!important;}
.ta-card[data-theme="shop-tidalcrown"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-tidalcrown"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-tidalcrown"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-tidalcrown.webp?v=card56")!important;}
.ta-card[data-theme="shop-tidalcrown"][data-tcg-source="png"],.ta-other-card[data-theme="shop-tidalcrown"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-tidalcrown"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-tidalcrown.png")!important;}
.ta-card[data-theme="shop-lunaroracle"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-lunaroracle"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-lunaroracle"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-lunaroracle.webp?v=card56")!important;}
.ta-card[data-theme="shop-lunaroracle"][data-tcg-source="png"],.ta-other-card[data-theme="shop-lunaroracle"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-lunaroracle"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-lunaroracle.png")!important;}
.ta-card[data-theme="shop-solarsovereign"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-solarsovereign"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-solarsovereign"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-solarsovereign.webp?v=card56")!important;}
.ta-card[data-theme="shop-solarsovereign"][data-tcg-source="png"],.ta-other-card[data-theme="shop-solarsovereign"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-solarsovereign"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-solarsovereign.png")!important;}
.ta-card[data-theme="shop-shadowreign"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-shadowreign"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-shadowreign"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-shadowreign.webp?v=card56")!important;}
.ta-card[data-theme="shop-shadowreign"][data-tcg-source="png"],.ta-other-card[data-theme="shop-shadowreign"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-shadowreign"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-shadowreign.png")!important;}
.ta-card[data-theme="shop-distortion"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-distortion"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-distortion"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-distortion.webp?v=card56")!important;}
.ta-card[data-theme="shop-distortion"][data-tcg-source="png"],.ta-other-card[data-theme="shop-distortion"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-distortion"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-distortion.png")!important;}
.ta-card[data-theme="shop-voltlegend"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-voltlegend"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-voltlegend"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-voltlegend.webp?v=card56")!important;}
.ta-card[data-theme="shop-voltlegend"][data-tcg-source="png"],.ta-other-card[data-theme="shop-voltlegend"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-voltlegend"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-voltlegend.png")!important;}
.ta-card[data-theme="shop-steamheart"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-steamheart"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-steamheart"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-steamheart.webp?v=card56")!important;}
.ta-card[data-theme="shop-steamheart"][data-tcg-source="png"],.ta-other-card[data-theme="shop-steamheart"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-steamheart"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-steamheart.png")!important;}
.ta-card[data-theme="shop-sacredtide"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-sacredtide"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-sacredtide"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-sacredtide.webp?v=card56")!important;}
.ta-card[data-theme="shop-sacredtide"][data-tcg-source="png"],.ta-other-card[data-theme="shop-sacredtide"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-sacredtide"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-sacredtide.png")!important;}
.ta-card[data-theme="shop-temporalvault"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-temporalvault"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-temporalvault"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-temporalvault.webp?v=card56")!important;}
.ta-card[data-theme="shop-temporalvault"][data-tcg-source="png"],.ta-other-card[data-theme="shop-temporalvault"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-temporalvault"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-temporalvault.png")!important;}
.ta-card[data-theme="shop-tinkaton"][data-tcg-source="webp"],.ta-other-card[data-theme="shop-tinkaton"][data-tcg-source="webp"],.ahm-card-preview[data-theme="shop-tinkaton"][data-tcg-source="webp"]{--tcg-art:url("assets/tcg-shop/shop-tinkaton.webp?v=card56")!important;}
.ta-card[data-theme="shop-tinkaton"][data-tcg-source="png"],.ta-other-card[data-theme="shop-tinkaton"][data-tcg-source="png"],.ahm-card-preview[data-theme="shop-tinkaton"][data-tcg-source="png"]{--tcg-art:url("assets/tcg-shop/shop-tinkaton.png")!important;}

/* PATCH 59: Darkrai exact match to user's reference screenshot (measured 23.5%).
   Portrait asset 736x1057 on a 563x413 card overflows by ~395px.
   This crop starts at y=-93px (23.5%), matching the reference, rather than
   y=-220px (56%), which pushed Darkrai off the top of the card.
   Keep PNG fallback aligned with the same value in trainer-card-rewards.js. */
.ta-card[data-theme="admindarkrai"],.ta-other-card[data-theme="admindarkrai"]{
 background-image:linear-gradient(90deg,rgba(5,7,11,.79) 0%,rgba(5,7,11,.46) 50%,rgba(5,7,11,.35) 100%),url("assets/admin-darkrai-void.webp?v=card58")!important;
 background-size:100% 100%,cover!important;
 background-position:center center,center 23.5%!important;
 background-repeat:no-repeat!important;
}

/* PATCH 54 FINAL — artwork fills all shop previews, profile cards and selected cards.
   Keeps frame ornaments and text layers intact. The full landscape background
   includes the original Pokémon art; never display a centered portrait strip. */
:is(.ta-card,.ta-other-card,.ahm-card-preview)[data-theme^="shop-"].tcg-asset-ready.tcg-visible {
  background-size:100% 100%,cover!important;
  background-position:center center,center center!important;
  background-repeat:no-repeat,no-repeat!important;
}
:is(.ta-card,.ta-other-card,.ahm-card-preview)[data-theme^="shop-"] img.ahm-theme-art{
  display:none!important;opacity:0!important;
}

/* PATCH 56 - restored single-illustration full-bleed art. No blurry mirrors.
   Admin Darkrai uses its separately tuned 56% position from Patch 55. */
:is(.ta-card,.ta-other-card,.ahm-card-preview)[data-theme^="shop-"][data-tcg-source="webp"].tcg-visible {
 background-size:100% 100%,cover!important;
 background-position:center center,center center!important;
 background-repeat:no-repeat,no-repeat!important;
}
:is(.ta-card,.ta-other-card,.ahm-card-preview)[data-theme^="shop-"] > img.ahm-theme-art,
:is(.ta-card,.ta-other-card,.ahm-card-preview)[data-theme^="shop-"]::after {
 display:none!important;opacity:0!important;content:none!important;
}
