/* Responsive product cards. Existing native source slots remain separate and intact. */
:root{--card-actions-height:44px;--card-cta-height:44px;--card-grid-gap:12px;--card-title-height:48px;--card-title-lines:2;--card-title-line-height:24px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]{position:relative;display:flex;flex-direction:column;min-width:0;height:100%;overflow:visible;border:1px solid var(--line,#dce3ec);border-radius:14px;background:var(--surface,#fff);box-shadow:none;transform:none}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo{display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:100%;height:auto;min-height:0;aspect-ratio:1;padding:8px;border:0;border-bottom:1px solid var(--line,#dce3ec);border-radius:13px 13px 0 0;background:var(--surface,#fff);overflow:hidden}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo>img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo .captioned-photo{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;gap:4px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo .captioned-photo-art{flex:1;min-height:0;height:auto}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo .photo-caption{flex:none;font-size:11px;line-height:14px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo .product-photo-view{max-width:100%;max-height:100%;width:min(100%,calc(230px * var(--view-aspect)));height:auto}
/* The flexible price track keeps every card aligned with the same actions. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-body{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(20px,auto) minmax(var(--card-title-height),auto) 24px minmax(56px,1fr) var(--card-actions-height) var(--card-cta-height);flex:1;min-height:0;min-width:0;padding:12px;gap:4px;align-content:start}
/* Native market, language and release text may wrap; their track grows before the title. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-meta{grid-column:1;grid-row:1;display:block!important;min-width:0;min-height:20px;height:auto;margin:0;padding:0;overflow:visible;color:var(--slate,#5b6b82);font-family:inherit;font-size:12px;font-weight:500;line-height:20px;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-meta :is(.date,.card-region,.edition-summary,small){display:inline;margin:0;color:inherit;font-size:12px;font-weight:500;line-height:20px;letter-spacing:0;text-transform:none;white-space:normal}
/* locale.css has a global important32×24 flag rule; card flags fit the20px text line. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-meta img.flag-icon{display:inline-block!important;box-sizing:border-box;width:16px!important;min-width:16px!important;max-width:16px!important;height:12px!important;max-height:12px!important;object-fit:contain;vertical-align:middle;margin-inline:0 4px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-meta .card-era-logo{display:none}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-identity{grid-column:1;grid-row:2;display:block;min-width:0;min-height:0;height:auto;margin:0;padding:0}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--card-title-lines);min-height:0;max-height:var(--card-title-height);margin:0;overflow:hidden;color:var(--navy,#17243b);font-family:inherit;font-size:16px;font-weight:700;line-height:var(--card-title-line-height);letter-spacing:0;overflow-wrap:anywhere}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-identity>:not(.product-name,.product-english-name){display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-identity>.product-english-name{display:block;margin:3px 0 0;color:var(--slate,#5b6b82);font-size:12px;line-height:16px;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-title-link{position:static;display:inline;color:inherit;text-decoration:none}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-title-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:14px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-title-link:focus-visible::after{outline:2px solid var(--focus,#2f6fed);outline-offset:2px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context{grid-column:1;grid-row:3;display:flex!important;align-items:center;gap:6px;min-width:0;min-height:0;height:24px;margin:0;padding:0;overflow:hidden}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context :is(.product-set-code,.product-set-codes,.product-origins,.origin-marks){display:flex!important;align-items:center;gap:4px;min-width:0;margin:0;font-size:12px;line-height:20px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context :is(.product-branding,.product-marks,.catalog-branding){display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context img{width:auto;max-width:70px;height:20px;object-fit:contain}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-bottom{grid-column:1;grid-row:4;align-self:end;display:block!important;min-height:56px;min-width:0;width:100%;margin:0;padding:0;border:0}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-bottom>*{display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] [data-card-price-primary]>:not(small):not(b):not(strong){display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-bottom :is(.msrp-price,.search-result-price)>small{display:block;min-width:0;max-width:100%;min-height:28px;margin:0;color:var(--slate,#5b6b82);font-size:12px;font-weight:600;line-height:14px;white-space:normal;overflow-wrap:anywhere}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-bottom :is(b,strong){display:block;min-width:0;max-width:100%;margin:0;color:var(--navy,#17243b);font-size:20px;font-weight:700;line-height:28px;white-space:nowrap}
/* The sealed-market estimate is distinct from MSRP and eBay asking prices. */
html:root body #catalog .card[data-card-component][data-card-polish] .card-bottom>.jp-exclusives-market{
 display:grid!important;grid-column:1;grid-row:3;justify-items:start;gap:2px;margin-block-start:4px;
 color:var(--slate,#5b6b82);font-size:12px;line-height:16px;
}
.jp-exclusives-market>small{font-size:12px;font-weight:600;line-height:16px}
.jp-exclusives-market>a{position:relative;z-index:2;color:var(--ink,#17243b);font-weight:700;text-underline-offset:2px}
.jp-exclusives-market>a:focus-visible{outline:2px solid var(--focus,#2f6fed);outline-offset:2px}
/* Direct checked eBay asking prices and cache-only status share one track. */
html:root body :is(#catalog,.search-results) .card[data-card-component][data-card-polish] .card-bottom>:is([data-card-ebay-lowest],[data-card-ebay-status]){grid-column:1;grid-row:2;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0;min-height:44px;margin:0;padding:4px 0;border-top:1px solid var(--line,#dce3ec);color:var(--navy,#17243b);text-decoration:none}
html:root body :is(#catalog,.search-results) .card[data-card-component][data-card-polish] .card-bottom>:is([data-card-ebay-lowest],[data-card-ebay-status])>small{font-size:12px;line-height:14px;color:var(--slate,#5b6b82);overflow-wrap:anywhere}
html:root body :is(#catalog,.search-results) .card[data-card-component][data-card-polish] [data-card-ebay-status]>span{font-size:13px;font-weight:600;line-height:16px;color:var(--slate,#5b6b82);overflow-wrap:anywhere}
html:root body :is(#catalog,.search-results) .card[data-card-component][data-card-polish] .card-bottom>[data-card-ebay-lowest]>b{font-size:15px;line-height:18px;text-decoration:underline;text-underline-offset:2px}
html:root body :is(#catalog,.search-results) .card[data-card-component][data-card-polish] .card-bottom>[data-card-ebay-lowest]:focus-visible{outline:2px solid var(--focus,#2f6fed);outline-offset:2px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions{display:contents!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>:is(.price,.search-result-price,.ebay-pricing-card,.card-detail){display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>:is(.member-card-save-actions,.member-collect-icon,.member-watch-icon){grid-column:1;grid-row:5;display:flex;align-items:center;justify-content:flex-end;justify-self:stretch;align-self:center;position:relative;inset:auto;transform:none;z-index:3;gap:4px;min-width:0;height:var(--card-actions-height);margin:0;padding:0}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(.member-collect-icon,.member-watch-icon){position:relative;inset:auto;transform:none;display:inline-flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid var(--line,#dce3ec);border-radius:8px;background:var(--surface,#fff);color:var(--navy,#17243b);z-index:3}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(.member-collect-icon,.member-watch-icon) svg{width:20px;height:20px;stroke-width:1.75}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.ebay-explore{grid-column:1;grid-row:6;position:relative;inset:auto;z-index:3;display:flex!important;align-items:center;justify-content:center;flex:none!important;box-sizing:border-box;width:100%;min-width:0;height:var(--card-cta-height)!important;min-height:var(--card-cta-height)!important;max-height:var(--card-cta-height);margin:0;padding:0 8px;gap:4px;border:1px solid var(--yellow,#ffcf32);border-radius:10px;background:var(--yellow,#ffcf32);color:var(--navy,#17243b);font-family:inherit;font-size:14px;font-weight:600;line-height:20px;text-decoration:none;white-space:nowrap}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.ebay-explore img{width:44px;height:20px;object-fit:contain}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.ebay-explore .external-arrow{display:inline-flex;font-size:0;line-height:0}
html:root body :is(#catalog,.search-results) .card[data-card-component][data-card-polish] .card-actions>.ebay-explore[data-ebay-tile-check]{text-align:center;white-space:normal;line-height:1.15}
html:root body :is(#catalog,.search-results) .card[data-card-component][data-card-polish] .card-actions>.ebay-explore[data-ebay-tile-check]>:not(.card-ebay-check-label){display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(button,a):focus-visible{outline:2px solid var(--focus,#2f6fed);outline-offset:2px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-picker{position:relative;z-index:3}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-reference{display:none}
@media(min-width:640px){:root{--card-grid-gap:16px}}
@media(min-width:1024px){
 :root{--card-actions-height:40px;--card-cta-height:40px;--card-grid-gap:20px}
 html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(.member-collect-icon,.member-watch-icon){width:36px;height:36px;min-width:36px;min-height:36px}
}
@media(hover:hover) and (min-width:1024px){html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]:hover{border-color:var(--line,#dce3ec);box-shadow:var(--sh-2,0 8px 24px rgba(23,36,59,.12));transform:none}html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-title-link:hover{text-decoration:underline}html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .ebay-explore:hover{background:var(--yellow-hover,#ffda4e);border-color:var(--yellow-hover,#ffda4e)}}
@media(max-width:1023px){html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(button,a):active{background:#eef2f7}}
/* Related products share the same anatomy, with their specified independent grid. */
.product-page .related-products ul.product-related-cards[data-related-products]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0;padding:0;list-style:none}
.product-page .related-products ul.product-related-cards[data-related-products]>li{display:block;min-width:0;max-width:none;margin:0;padding:0;border:0;background:none}
@media(min-width:640px) and (max-width:1023px){.product-page .related-products ul.product-related-cards[data-related-products]{display:flex!important;gap:16px!important;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}.product-page .related-products ul.product-related-cards[data-related-products]>li{flex:0 0 230px;scroll-snap-align:start}}
@media(min-width:1024px){.product-page .related-products ul.product-related-cards[data-related-products]{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important}}

@media(min-width:1440px){html:not([data-catalog-view=compact]):not([data-catalog-view=list]) body #catalog .card[data-card-component]>.photo{max-width:230px;margin-inline:auto}}

html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context :is(.product-set-code,.product-set-codes) b{display:inline-flex;align-items:center;box-sizing:border-box;height:20px;padding:0 6px;border:1px solid var(--line,#dce3ec);border-radius:8px;color:var(--navy,#17243b);font-size:12px;font-weight:500;line-height:16px}
/* Optional wrapper controls/qualifications stay visible inside the square media slot. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]{container-type:inline-size;--card-image-size:100cqw}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-picker{position:absolute;top:calc(var(--card-image-size) - 52px);inset-inline:8px;z-index:3;box-sizing:border-box;padding:0;gap:4px;border:0;background:#ffffffed;grid-template-columns:44px minmax(0,1fr) 44px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-picker button{width:44px;height:44px;min-width:44px;min-height:44px;font-size:20px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-picker .pack-artwork-status{font-size:11px;line-height:14px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-reference{display:block;position:absolute;top:8px;inset-inline:8px;z-index:3;margin:0;padding:4px;border:1px solid var(--line,#dce3ec);border-radius:8px;background:#fffffff2;color:var(--slate,#5b6b82);font-size:11px;line-height:14px;text-align:center}
@media(min-width:1440px){html:not([data-catalog-view=compact]):not([data-catalog-view=list]) body #catalog .card[data-card-component][data-card-polish]{--card-image-size:min(100cqw,230px)}}
/* Empty in-flight results reuse the real component's square media and fixed slot geometry. */
html:root body #catalog .catalog-card-loading-grid{display:grid!important;grid-template-columns:repeat(var(--catalog-card-columns,2),minmax(0,1fr))!important;gap:var(--catalog-card-gap,12px)!important;pointer-events:none;user-select:none}
html:root body #catalog .catalog-card-skeleton{pointer-events:none;user-select:none;box-shadow:none!important}
html:root body #catalog .catalog-card-skeleton .card-skeleton-image,html:root body #catalog .catalog-card-skeleton .card-skeleton-title,html:root body #catalog .catalog-card-skeleton .card-skeleton-price,html:root body #catalog .catalog-card-skeleton .card-skeleton-meta,html:root body #catalog .catalog-card-skeleton .card-skeleton-actions,html:root body #catalog .catalog-card-skeleton .card-skeleton-cta{background:var(--line,#dce3ec)!important;border-color:var(--line,#dce3ec)!important;border-radius:8px;color:transparent;box-shadow:none}
html:root body #catalog .catalog-card-skeleton .card-skeleton-image{border-radius:13px 13px 0 0}
html:root body #catalog .catalog-card-skeleton .card-skeleton-title{display:block;width:100%;height:48px}
html:root body #catalog .catalog-card-skeleton .card-skeleton-meta{width:70%;height:12px;align-self:center}
html:root body #catalog .catalog-card-skeleton .card-bottom>.card-skeleton-price{display:block!important;width:75%;height:48px;margin:4px 0}
html:root body #catalog .catalog-card-skeleton .card-skeleton-actions{justify-self:end;width:92px}
html:root body #catalog .catalog-card-skeleton .card-skeleton-cta{outline:0;cursor:default}
html:root body #catalog[aria-busy=true]:has(>[data-catalog-card-loading]) :is(.catalog-state-empty,.empty){display:none}

/* A streamed Watch button occupies its own track, even under older wrapping rules. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.member-card-save-actions{--card-save-size:44px;display:grid!important;grid-template-columns:repeat(2,var(--card-save-size));grid-template-rows:var(--card-save-size);grid-auto-flow:column;column-gap:4px;row-gap:0;align-items:center;justify-content:end;flex-wrap:nowrap!important;box-sizing:border-box;width:calc(var(--card-save-size) * 2 + 4px);min-width:calc(var(--card-save-size) * 2 + 4px);max-width:none;min-height:var(--card-save-size);justify-self:end}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.member-card-save-actions>:is(.member-collect-icon,.member-watch-icon){grid-row:1;position:relative;inset:auto;transform:none;margin:0!important;flex:none!important;width:var(--card-save-size);min-width:var(--card-save-size);max-width:var(--card-save-size);height:var(--card-save-size);min-height:var(--card-save-size);max-height:var(--card-save-size)}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.member-card-save-actions>.member-collect-icon{grid-column:1}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.member-card-save-actions>.member-watch-icon{grid-column:2}
@media(min-width:1024px){html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.member-card-save-actions{--card-save-size:36px}}
/* Related and category cards share one icon-only member-control contract. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions .member-control-label{display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions .member-control-symbol{display:inline-flex;align-items:center;justify-content:center;line-height:1}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(.member-collect-icon,.member-watch-icon)::before{content:none}
.product-page .related-products ul.product-related-cards[data-related-products]>li{min-width:0;box-sizing:border-box}
.product-page .related-products ul.product-related-cards[data-related-products]>li>.card[data-card-component]{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-meta .card-region::before{content:" · ";white-space:pre;margin:0}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .product-meta .card-region[data-card-meta-separated]::before{content:none}
/* Exact reviewed expansion artwork accompanies the code; era marks stay out of this slot. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context .product-branding:has(.brand-level-3 .official-logo){display:inline-flex!important;align-items:center;flex:0 1 auto;max-width:76px;height:20px;margin:0;padding:0}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context .product-branding>.brand-level-3{display:inline-flex;align-items:center;max-width:76px;height:20px;min-height:0;margin:0}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context .product-branding>.brand-level-4{display:none!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context .brand-level-3>.official-logo{display:block;width:auto!important;max-width:76px;height:auto!important;max-height:20px;object-fit:contain}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context .brand-level-3>.set-logo-crop{height:20px;width:auto!important;max-width:76px;max-height:20px;flex:none}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context .brand-level-3>.set-logo-crop>.official-logo{max-width:none;max-height:none;object-fit:fill}
/* Shared list thumbnail frame: opaque reviewed photo/crop/caption markup remains intact. */
.catalog-list-photo{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:96px;height:96px;min-width:0;max-width:100%;padding:4px;background:var(--surface,#fff);text-decoration:none;overflow:hidden}
.catalog-list-photo>img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.catalog-list-photo>.product-photo-view{display:block;flex:0 1 auto;width:min(100%,calc(88px * var(--view-aspect)));max-height:100%}
.catalog-list-photo .captioned-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;height:100%;min-width:0}
.catalog-list-photo .captioned-photo-art{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;width:100%;max-width:100%;overflow:hidden}
.catalog-list-photo .captioned-photo-art>.product-photo-view{height:100%;width:auto;max-width:100%;max-height:100%;aspect-ratio:var(--view-aspect);flex:0 1 auto}
.catalog-list-photo .captioned-photo-art>img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.catalog-list-photo .photo-caption{display:block;flex:none;margin:0;font-size:10px;line-height:12px;text-align:center;color:var(--slate,#5b6b82)}
@media(max-width:639px){.catalog-list-photo{width:80px;height:80px}.catalog-list-photo>.product-photo-view{width:min(100%,calc(72px * var(--view-aspect)))}}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context>.catalog-card-set-logo{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;min-width:0;max-width:76px;height:20px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context>.catalog-card-set-logo>img{display:block;width:auto;height:auto;max-width:76px;max-height:20px;object-fit:contain}
/* Keep photo qualifications accessible without long caption rows. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo :is(.photo-caption,.photo-reference-description){position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important;border:0}
.catalog-list-photo :is(.photo-caption,.photo-reference-description){position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.card-photo-qualification{position:absolute;inset-block-start:8px;inset-inline-start:8px;z-index:3;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:28px;max-width:calc(100% - 16px);padding:4px 6px;border:1px solid var(--line,#dce3ec);border-radius:8px;background:var(--surface,#fff);color:var(--slate,#5b6b82);font-size:11px;font-weight:500;line-height:16px;text-decoration:none}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.card-photo-qualification:focus-visible{outline:2px solid var(--focus,#2f6fed);outline-offset:2px}
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context :is(.product-origins,.origin-marks){display:none!important}
/* Give reviewed Pokémon Center marks their own line above retail in this category. */
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-body{
 grid-template-rows:minmax(20px,auto) minmax(var(--card-title-height),auto) minmax(28px,auto) minmax(56px,1fr) var(--card-actions-height) var(--card-cta-height);
}
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context{
 height:auto;flex-wrap:wrap;gap:4px 6px;
}
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context>.product-origins{
 display:flex!important;flex:1 0 100%;min-width:0;
}
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context .origin-brand{
 width:min(116px,calc(26px * var(--origin-aspect,3)));max-width:100%;height:26px;
}
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context .origin-brand>img{
 width:100%;max-width:100%;height:100%;max-height:100%;
}
html:root[data-theme=dark]:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context .origin-brand{
 box-sizing:border-box;padding-inline:4px;border-radius:4px;background:#fff;
}
/* Branch mascot marks need readable labels at tile size. The general wordmarks already carry their names. */
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context .origin-brand:has(>img[src^="/brand-assets/origins/pc-"]){
 display:flex;align-items:center;gap:6px;width:auto;max-width:100%;height:auto;min-height:26px;
}
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context .origin-brand:has(>img[src^="/brand-assets/origins/pc-"])>img{
 flex:none;width:calc(26px * var(--origin-aspect));height:26px;
}
html:root:not([data-catalog-view=list]):has(>head>link[rel="canonical"][href*="/japan/pokemon-center-exclusives/"]) #catalog .card[data-card-polish] .card-context .origin-brand:has(>img[src^="/brand-assets/origins/pc-"])::after{
 content:attr(title) / "";color:var(--ink,#17243b);font-size:12px;font-weight:600;line-height:1.2;overflow-wrap:anywhere;
}
html:root[data-theme=dark] #catalog .card[data-card-polish] .card-context .origin-brand:has(>img[src^="/brand-assets/origins/pc-"])::after{
 color:#17243b;
}
@media(max-width:1023px){html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.card-photo-qualification{min-width:44px;min-height:44px}}

/* Two-up phone cards leave a third line for product variants. */
@media(max-width:639px){
 html:root:not([data-catalog-view=compact]):not([data-catalog-view=list]) body #catalog .card[data-card-component][data-card-polish],
 html:root body [data-related-products] .card[data-card-component][data-card-polish]{
  --card-title-height:66px;
  --card-title-lines:3;
  --card-title-line-height:22px;
 }
}
/* The message is the primary missing-photo indicator; any set mark is decorative. */
html:root body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo .photo-missing{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:8px;
 box-sizing:border-box;
 width:100%;
 height:100%;
 min-height:0;
 padding:8px;
 border-radius:8px;
 background:#f3f5f9;
 color:var(--slate,#5b6b82);
 font-size:12px;
 line-height:16px;
 text-align:center;
}
.card-missing-set-logo{
 display:block;
 width:min(70%,96px);
 height:auto;
 max-height:44px;
 object-fit:contain;
}

/* Keep the reviewed package art on a neutral frame in the dark catalog. */
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo,
html[data-theme=dark] .catalog-list-photo{background:#f5f6f8}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo img{mix-blend-mode:normal}
html[data-theme=dark] .catalog-list-photo .photo-caption{color:#5b6b82}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.photo .photo-missing,
html[data-theme=dark] .catalog-list-photo .photo-missing{background:var(--surface-raised,var(--surface));color:var(--slate)}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-context{color:var(--slate)}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>:is(.pack-artwork-picker,.pack-artwork-reference,.card-photo-qualification),
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .pack-artwork-active-label{background:var(--surface-raised,var(--surface));border-color:var(--line);color:var(--slate)}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-picker button{background:var(--surface);border-color:var(--line);color:var(--navy)}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-picker .pack-artwork-status{color:var(--slate)}

html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(.member-collect-icon,.member-watch-icon):is(:hover,:active),
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish]>.pack-artwork-picker button:is(:hover,:active){background:var(--surface-raised,var(--surface))}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions :is(.member-collect-icon,.member-watch-icon):is(.is-collected,[aria-pressed=true]){background:var(--surface-raised,var(--surface));border-color:var(--yellow);color:var(--yellow)}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.ebay-explore{color:var(--on-yellow,#17243b)}
html:root[data-theme=dark] body :is(#catalog,[data-related-products]) .card[data-card-component][data-card-polish] .card-actions>.ebay-explore:active{background:var(--yellow-hover,var(--yellow));border-color:var(--yellow-hover,var(--yellow))}

/* Public cards show checked eBay quotes only. These selectors also cover stored
   cards before hydration; full product-detail retail sections are outside them. */
html:root body :is(#catalog,.search-results,[data-related-products]) article.card :is(.msrp-price,.search-result-price,.tcgcsv-card-price,.pricecharting-card-price,.tcgcsv-price,.pricecharting-price,.box-price-reference,.source-price-evidence,.ebay-pricing-retail,.jp-exclusives-market,.ebay-pricing,.ebay-pricing-card,[data-ebay-pricing-card],[data-card-price-primary]):not(:is([data-card-ebay-lowest],[data-card-ebay-status])),
html:root body :is(#catalog,.search-results,[data-related-products]) article.card[data-card-component][data-card-polish] :is(.msrp-price,.search-result-price,.tcgcsv-card-price,.pricecharting-card-price,.tcgcsv-price,.pricecharting-price,.box-price-reference,.source-price-evidence,.ebay-pricing-retail,.jp-exclusives-market,.ebay-pricing,.ebay-pricing-card,[data-ebay-pricing-card],[data-card-price-primary]):not(:is([data-card-ebay-lowest],[data-card-ebay-status])){display:none!important}
html:root body :is(#catalog,.search-results,[data-related-products]) article.card .card-actions>.price{display:none!important}
html:root body :is(#catalog,.search-results,[data-related-products]) article.card .card-bottom:not(:has(>:is([data-card-ebay-lowest],[data-card-ebay-status]))),
html:root body :is(#catalog,.search-results,[data-related-products]) article.card[data-card-component][data-card-polish] .card-bottom:not(:has(>:is([data-card-ebay-lowest],[data-card-ebay-status]))){display:none!important;min-height:0;margin:0;padding:0;border:0}
html:root body :is(#catalog,.search-results,[data-related-products]) article.card[data-card-component][data-card-polish] .card-bottom:has(>:is([data-card-ebay-lowest],[data-card-ebay-status])),
html:root body :is(#catalog,.search-results,[data-related-products]) article.card .card-bottom:has(>:is([data-card-ebay-lowest],[data-card-ebay-status])){display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(44px,auto);align-items:start;justify-items:stretch;gap:0;min-height:0;margin:0;padding:0;border:0}
html:root body :is(#catalog,.search-results,[data-related-products]) article.card[data-card-component][data-card-polish] .card-bottom>:is([data-card-ebay-lowest],[data-card-ebay-status]),
html:root body :is(#catalog,.search-results,[data-related-products]) article.card .card-bottom>:is([data-card-ebay-lowest],[data-card-ebay-status]){display:flex!important;grid-column:1;grid-row:1;box-sizing:border-box;min-height:44px;min-width:0;margin:0;padding:4px 0;border-top:0}
html:root body :is(#catalog,.search-results,[data-related-products]) article.card .card-bottom>:not(:is([data-card-ebay-lowest],[data-card-ebay-status])){display:none!important}
html:root:not([data-catalog-view=list]) body :is(#catalog,.search-results) article.card[data-card-component][data-card-polish] .card-body,
html:root body [data-related-products] article.card[data-card-component][data-card-polish] .card-body{grid-template-rows:minmax(20px,auto) minmax(var(--card-title-height),auto) 24px minmax(0,1fr) var(--card-actions-height) var(--card-cta-height)}

/* A cold List card needs title and actions, without an empty retail column. */
@media(min-width:640px){
 html:root[data-catalog-view=list] body :is(#catalog,.search-results) article.card[data-card-component][data-card-polish]:not(:has(:is([data-card-ebay-lowest],[data-card-ebay-status]))) .card-body{grid-template-columns:minmax(0,1fr) 132px}
 html:root[data-catalog-view=list] body :is(#catalog,.search-results) article.card[data-card-component][data-card-polish]:not(:has(:is([data-card-ebay-lowest],[data-card-ebay-status]))) .card-actions>:is(.member-card-save-actions,.member-collect-icon,.member-watch-icon,.ebay-explore){grid-column:2}
}
@media(max-width:639px){
 html:root[data-catalog-view=list] body :is(#catalog,.search-results) article.card[data-card-component][data-card-polish] .card-body{grid-template-rows:minmax(48px,auto) minmax(var(--card-cta-height),auto)}
}
