/* Restore the 3 October catalog design, adapted to the current routes and data. */
.market-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.market-tabs b{display:flex;align-items:center;gap:7px}.market-flag{font-size:20px;line-height:1;flex-shrink:0}
.market-flag-pair{display:flex;gap:3px;white-space:nowrap}
.market-tabs a[aria-current=page]{border-color:#d2a207;background:#ffcf32;box-shadow:0 3px 0 #d2a207}
.year-products{min-width:0}
.grid{align-items:stretch}
#catalog .card{display:flex;flex-direction:column;min-width:0}
#catalog .photo{display:flex;text-decoration:none;flex-shrink:0;background:#fff}
#catalog .photo img{mix-blend-mode:normal}
#catalog .card-body{display:flex;flex-direction:column;flex:1;min-width:0}
#catalog .product-meta{order:-1;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:0}
#catalog .product-meta .date{min-width:0;line-height:1.4}
#catalog .card-era-logo{display:block;width:90px;height:28px;object-fit:contain;object-position:right center;flex-shrink:0}
#catalog .product-name{font:600 19px/1.25 'Space Grotesk',sans-serif;margin:9px 0 6px;overflow-wrap:anywhere}
.product-title-link{text-decoration:none}
.product-english-name{margin:0 0 8px;font-size:15px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}.product-record .product-english-name,#detail .product-english-name{font-size:17px}
#catalog .product-collection{font-size:13px;line-height:1.5;color:var(--muted);min-height:39px;margin:0}
#catalog .product-branding,#catalog .translation,#catalog .edition-summary,.scope,.notice,.range-photo-note{display:none}
#catalog .card-bottom{border:0;margin:0;padding:0}
#catalog .card.unpriced .card-bottom{display:none}
#catalog .card-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:18px}
#catalog .card-actions a{display:flex;align-items:center;justify-content:center;width:100%;height:44px;min-height:44px;margin:0;padding:8px 12px;text-decoration:none;font:700 16px 'DM Sans',sans-serif;border-radius:7px}
#catalog .ebay-explore{gap:12px;border:1px solid #dce4f2;background:#fff;color:#172d54}
.ebay-explore img{display:block;width:64px;height:28px;object-fit:contain}
.ebay-explore .external-arrow{display:none}
#catalog .photo-missing{min-height:0;height:100%}
.mobile-category-toggle,.mobile-filter-toggle{display:none}
.advanced-filters{display:contents}
.catalog-breadcrumb{font-size:12px;color:#687b99;padding-top:18px}
.catalog-breadcrumb a{text-underline-offset:3px}
.catalog-about>summary{cursor:pointer;font-size:13px;color:var(--muted)}
.product-record{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;margin:26px 0}
.product-record .product-name{font-family:'Space Grotesk',sans-serif}
.product-record .product-collection{font-size:15px;color:var(--muted);line-height:1.5}
.product-branding{display:flex;align-items:center;gap:16px;margin:16px 0}
.brand-level{display:flex;align-items:center}
.official-logo{max-width:150px;max-height:36px;width:auto;height:auto}
.brand-level-4 .official-logo{max-width:110px;max-height:26px}
.brand-wordmark{font-size:13px;color:var(--muted)}
.listing-links{display:flex;flex-wrap:wrap;gap:12px}
.affiliate-disclosure{font-size:12px;color:var(--muted);line-height:1.5}
@media(max-width:760px){
 .market-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
 .market-tabs a{flex:none;min-width:0;padding:10px;font-size:12px}
 .market-tabs small{display:none}
 .category-browser-head p{display:none}
 .tools{flex-wrap:wrap;gap:8px}
 .search{flex-basis:100%;min-width:0}
 .search input{font-size:16px}
 .advanced-filters select,#sort{min-width:0;flex:1;max-width:none}
 #catalog .product-name{font-size:18px}
 #catalog .product-collection{font-size:12px;min-height:36px}
 #catalog .card-actions a{font-size:15px;padding:8px}
 #catalog .card-era-logo{width:56px;height:24px}
 #catalog .ebay-explore{gap:6px}
 #catalog .ebay-explore>span:first-child{min-width:0;line-height:1.2}
 #catalog .ebay-explore img{width:52px;height:24px;flex-shrink:0}
 .product-record{padding:18px;margin:20px 0}
 .product-record-top{grid-template-columns:1fr;gap:22px}
}
@media(max-width:640px){
 #catalog .photo{height:180px;padding:25px 18px}
 #catalog .card-body{padding:14px}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

@media(max-width:350px){#catalog .ebay-explore img{width:48px}#catalog .card-era-logo{width:48px}}

/* Reference records stay saved while their placement is being reconsidered. */
.product-references,.source-link,.credits,.sold-comparables{display:none!important}

/* Keep the popup close control above photos and give it a full touch target. */
#detail #close{z-index:10;top:12px;right:12px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:50%;padding:0;line-height:1;cursor:pointer;touch-action:manipulation}

/* Only the packaged product needs a large image box. The legacy detail image
   rule otherwise gives expansion logos 300px of empty space above the facts. */
dialog#detail{width:min(960px,calc(100% - 32px));max-width:960px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--line);background:#fff;overflow:auto;overscroll-behavior:contain}
#detail .detail-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:28px}
#detail .detail-layout>div{min-width:0}
#detail .detail-layout>div:first-child{display:flex;align-items:flex-start;justify-content:center}
#detail .detail-layout>div:last-child{padding-inline-end:28px}
#detail .detail-layout>div:first-child>img,#detail .detail-layout>div:first-child .captioned-photo-art>img{display:block;width:100%;height:min(400px,58dvh);max-height:400px;object-fit:contain;mix-blend-mode:normal}
#detail .detail-layout>div:first-child .product-photo-view{width:min(100%,calc(400px * var(--view-aspect)));max-width:100%;flex:none}
#detail .detail-layout>div:first-child .pack-artwork-crop{width:min(100%,calc(400px * var(--art-aspect)));flex:none}
#detail .captioned-photo{height:auto;justify-content:flex-start}
#detail .captioned-photo-art{flex:none}
#detail .product-identity{display:block;height:auto;min-height:0}
#detail .product-identity .product-name{margin:0 0 8px;font:600 28px/1.2 'Space Grotesk',sans-serif;letter-spacing:-.5px;overflow-wrap:anywhere}
#detail .product-identity .product-collection,#detail .product-identity .product-english-name{margin:0 0 8px;min-height:0;line-height:1.45}
#detail .product-branding{height:auto;min-height:0;justify-content:flex-start;flex-wrap:wrap;gap:12px;margin:12px 0}
#detail .brand-level{height:auto;min-height:0;min-width:0}
#detail .detail-layout .official-logo{display:block;width:auto;height:auto;max-width:150px;max-height:44px;object-fit:contain;mix-blend-mode:normal}
#detail .detail-layout .brand-level-4 .official-logo{max-width:110px;max-height:30px}
#detail .detail-layout .origin-brand img{width:100%;height:100%;max-width:120px;max-height:38px;object-fit:contain;mix-blend-mode:normal}
#detail .facts{grid-template-columns:100px minmax(0,1fr);gap:8px 12px;margin:16px 0 0;line-height:1.5}
#detail .facts dd{min-width:0;overflow-wrap:anywhere}
#detailContent>.member-collect{width:auto;margin:16px 0 0;padding:10px 16px;min-height:44px}
#detail .product-permalink{display:inline-flex;align-items:center;min-height:44px;margin-top:12px}
@media(max-width:760px){
 dialog#detail{width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:22px 18px}
 #detail .detail-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 #detail .detail-layout>div:last-child{padding-inline-end:0}
 #detail .detail-layout>div:first-child>img,#detail .detail-layout>div:first-child .captioned-photo-art>img{height:clamp(240px,40dvh,320px);max-height:320px}
 #detail .detail-layout>div:first-child .product-photo-view{width:min(100%,calc(320px * var(--view-aspect)))}
 #detail .detail-layout>div:first-child .pack-artwork-crop{width:min(100%,calc(320px * var(--art-aspect)))}
 #detail .product-identity .product-name{font-size:25px}
 #detail .facts{grid-template-columns:85px minmax(0,1fr);gap:7px 10px;font-size:14px}
}

/* Picture dropdowns replace the horizontally scrolling subtype buttons. */
.collection-subcategories{display:flex;align-items:center;gap:22px;padding:18px 22px;position:relative}
.collection-subcategories[hidden]{display:none}
.collection-subcategories .subdivision-heading{margin:0;display:block;min-width:150px}
.collection-subcategories .subdivision-heading h2{font-size:17px;margin:0}
.collection-subcategories .subdivision-heading>span,.collection-subcategories .subdivision-heading p{display:none}
.subtype-dropdown-host{flex:1;min-width:0;max-width:460px}
.subtype-dropdown-host[hidden],#mobileChineseGroup{display:none!important}
#chineseTypeButtons{border:0;padding:0}
.subtype-dropdown{position:relative;color:#172d54;font-family:'DM Sans',sans-serif}
.subtype-dropdown>summary{display:flex;align-items:center;gap:12px;min-height:66px;padding:8px 14px;border:1px solid #cbd8eb;border-radius:9px;background:#fff;list-style:none;cursor:pointer;box-shadow:0 2px 5px #17386b06}
.subtype-dropdown>summary::-webkit-details-marker{display:none}
.subtype-dropdown>summary:hover{border-color:#7094c4}
.subtype-dropdown>summary:focus-visible,.subtype-options button:focus-visible{outline:3px solid #79a4e0;outline-offset:2px}
.subtype-dropdown[open]>summary{border-color:#2458a0;border-radius:9px 9px 0 0}
.subtype-label{flex:1;min-width:0;font-size:14px;font-weight:700;line-height:1.35;text-align:left}
.subtype-label small{display:block;font-size:12px;font-weight:400;color:#70819b;margin-top:3px}
.subtype-chevron{font-size:23px;line-height:1;color:#527197;transform:translateY(-3px)}
.subtype-dropdown[open] .subtype-chevron{transform:rotate(180deg) translateY(2px)}
.subtype-photo{width:46px;height:46px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;background:#fff;border-radius:4px}
.subtype-photo>img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.subtype-photo .product-photo-view{width:min(100%,calc(46px * var(--view-aspect)));max-height:none;flex-shrink:0}
.subtype-options{position:static;background:white;border:1px solid #cbd8eb;border-top:0;border-radius:0 0 9px 9px;box-shadow:0 14px 24px #172d541a;max-height:380px;overflow-y:auto;overscroll-behavior:contain;padding:5px}
.subtype-options button{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:8px;border:0;border-radius:5px;background:#fff;color:#172d54;font:inherit;cursor:pointer;text-align:left}
.subtype-options button:hover{background:#f1f5fc}
.subtype-options button[aria-pressed=true]{background:#fff5ce}
.subtype-check{width:20px;flex-shrink:0;font-size:17px;color:#2458a0}
@media(max-width:900px){#chineseSubcategories{flex-wrap:wrap}#chineseSubcategories .subdivision-heading{flex-basis:100%}#chineseSubcategories .subtype-dropdown-host{max-width:none}}
@media(max-width:760px){.collection-subcategories{display:block;padding:14px}.collection-subcategories .subdivision-heading{margin-bottom:10px;min-width:0}.subtype-dropdown-host{max-width:none;width:100%}#chineseTypeButtons{margin-top:10px}.subtype-dropdown>summary{min-height:62px;padding:8px 12px}.subtype-label{font-size:14px}.subtype-options{max-height:min(360px,55vh)}}

@media(max-width:600px){.market-tabs a{padding:9px 4px}.market-tabs b{flex-direction:column;gap:5px;text-align:center;line-height:1.2}.market-tabs .market-flag{font-size:21px}}

/* Shared market controls. */
.category-browser,.mobile-category-toggle,.home-summary{display:none!important}
.catalog-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:24px;margin:24px 0 0;align-items:start}
.catalog-controls .catalog-category{display:block;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.catalog-controls .subdivision-heading{margin:0 0 12px;min-width:0}
.catalog-controls .subdivision-heading h2,.catalog-series h2{font:700 24px/1.2 'DM Sans',sans-serif;letter-spacing:-.4px;margin:0 0 12px;color:#172d54}
.catalog-controls .subtype-dropdown-host{width:100%;max-width:none}
.catalog-controls .subtype-dropdown>summary{min-height:94px;border:2px solid #2458a0;padding:12px 18px;gap:18px;box-shadow:0 4px 12px #17386b0a}
.catalog-controls summary .subtype-photo{width:64px;height:64px}
.catalog-controls summary .subtype-label{font-size:21px}
.catalog-controls summary .subtype-label small{font-size:13px;margin-top:5px}
.catalog-series select{display:block;width:100%;max-width:none;min-height:94px;padding:18px;font-size:19px;font-weight:600;border:1px solid #cbd8eb;border-radius:9px;background:#fff}
.catalog-controls~.tools{padding-top:18px}
#chineseTypeButtons{margin-top:12px}
#chineseTypeButtons .subtype-dropdown>summary{min-height:66px;border-width:1px;padding:8px 14px;gap:12px}
#chineseTypeButtons summary .subtype-photo{width:46px;height:46px}
#chineseTypeButtons summary .subtype-label{font-size:16px}
.subtype-options a{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:8px;border:0;border-radius:5px;background:#fff;color:#172d54;font:inherit;cursor:pointer;text-align:left;text-decoration:none}
.subtype-options a:hover{background:#f1f5fc}
.subtype-options a[aria-current=page]{background:#fff5ce}
.subtype-options a:focus-visible{outline:3px solid #79a4e0;outline-offset:2px}
@media(max-width:640px){.catalog-controls{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:18px}.catalog-controls .subdivision-heading h2,.catalog-series h2{font-size:21px;margin-bottom:9px}.catalog-controls .subtype-dropdown>summary{min-height:86px;padding:10px 14px;gap:14px}.catalog-controls summary .subtype-label{font-size:20px}.catalog-series select{min-height:54px;padding:12px 14px;font-size:17px}}

/* Browse individual live offers without leaving the catalog. */
html.ebay-popup-open{overflow:hidden}
dialog.ebay-popup{width:min(740px,calc(100vw - 28px));max-width:740px;max-height:calc(100dvh - 32px);padding:24px;border:1px solid #dce4f2;border-radius:18px;background:#fff;color:#172d54;box-shadow:0 20px 80px #172d542b;overflow:auto;overscroll-behavior:contain}
dialog.ebay-popup::backdrop{background:#15254499;backdrop-filter:blur(3px)}
.ebay-popup-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.ebay-popup-header img{display:block;width:82px;height:34px;object-fit:contain}
.ebay-popup-header h2{font:600 24px/1.25 'Space Grotesk',sans-serif;margin:14px 0 7px;overflow-wrap:anywhere}
.ebay-popup-header p{margin:0;font-size:14px;color:#64758f}
.ebay-popup-close{flex-shrink:0;width:44px;height:44px;border:1px solid #dce4f2;border-radius:50%;background:#fff;color:#172d54;font:400 30px/1 sans-serif;cursor:pointer}
.ebay-popup .affiliate-disclosure{margin:14px 0 18px}
.ebay-offers{display:grid;gap:12px;margin:16px 0}
.ebay-price-summary{padding:18px;border:1px solid #cbd8eb;border-radius:12px;background:#f3f7fd;margin:16px 0 10px;overflow-wrap:anywhere}
.ebay-price-label{display:block;font-size:13px;font-weight:600;color:#536985}
.ebay-price-lowest{display:inline-block;min-height:44px;padding:6px 0;font-size:28px;font-weight:700;line-height:1.2;color:#18365c;text-decoration:none}
.ebay-price-lowest:hover{text-decoration:underline}
.ebay-price-summary p{font-size:13px;line-height:1.5;margin:5px 0 0;color:#536985}
.ebay-offer{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;padding:16px;border:1px solid #dce4f2;border-radius:12px;background:#fff}
.ebay-offer.without-image{grid-template-columns:1fr}
.listing-photo{display:flex;align-items:center;justify-content:center;background:#fff;align-self:start;width:130px;height:145px}
.listing-photo img{width:100%;height:100%;object-fit:contain}
.listing-copy{min-width:0}.listing-copy h4{font:600 17px/1.4 'DM Sans',sans-serif;margin:0 0 6px;overflow-wrap:anywhere}
.listing-seller,.listing-shipping,.listing-updated{font-size:12px;line-height:1.5;color:#64758f;margin:4px 0 10px;overflow-wrap:anywhere}
.listing-price{display:block;font:700 21px/1.3 'DM Sans',sans-serif;margin:12px 0 4px}
.listing-copy .listing-buy{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;min-height:44px;border:1px solid #d4a900;border-radius:7px;background:#ffcf32;color:#172d54;font:700 15px/1.3 'DM Sans',sans-serif;text-decoration:none}
.listing-status{padding:26px 16px;background:#f5f7fb;border-radius:10px;font-size:15px;line-height:1.5;color:#64758f}
.ebay-popup-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:14px;border-top:1px solid #dce4f2;font-size:12px;color:#64758f}
.ebay-popup-refresh{border:1px solid #dce4f2;background:#fff;border-radius:7px;padding:10px 14px;min-height:44px;color:#172d54;font:600 14px 'DM Sans',sans-serif;cursor:pointer}
.ebay-popup-more{width:100%;border:1px solid #dce4f2;background:#f5f8fd;border-radius:7px;padding:12px 14px;min-height:44px;color:#172d54;font:600 15px 'DM Sans',sans-serif;cursor:pointer}
.ebay-popup button:focus-visible,.ebay-popup a:focus-visible{outline:3px solid #2458a0;outline-offset:3px}
@media(max-width:640px){
 dialog.ebay-popup{padding:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}
 .ebay-popup-header h2{font-size:21px}.ebay-offer{grid-template-columns:90px minmax(0,1fr);gap:12px;padding:12px}
 .listing-photo{width:90px;height:110px}.listing-copy h4{font-size:14px}.listing-price{font-size:19px}
 .listing-copy .listing-buy{width:100%;padding:10px;font-size:14px}
}

/* Six markets remain visible without a horizontal swipe menu. */
.market-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:760px){.market-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Country catalogs share the same controls; mobile uses a compact country picker. */
.market-browser-inner{display:block}
.market-label{display:block;margin-bottom:10px}
.market-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.market-tabs a{display:grid;grid-template-rows:minmax(48px,1fr) auto;align-items:center;gap:6px;min-height:92px;padding:12px 14px}
.market-tabs b{min-width:0;font-size:18px;line-height:1.3;gap:10px;overflow-wrap:normal}
.market-tabs .market-flag{font-size:30px}
.market-tabs .market-flag-pair{flex-direction:column;gap:2px;font-size:23px}
.market-tabs small{min-width:0;font-size:12px;text-align:left;line-height:1.4;overflow-wrap:anywhere;white-space:normal}
@media(min-width:961px) and (max-width:1199px){.market-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
.mobile-market-picker{display:none}
.country-category-browser{padding:20px 4.5%;background:#fff;border-bottom:1px solid #dce4f2}
.country-category-inner{max-width:1500px;margin:auto}
.country-category-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.country-category-heading h2{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0;font-size:22px;line-height:1.3}
.country-category-heading h2>span:first-child{font-size:28px}
.country-category-subtitle{font-size:16px;color:#65758b;font-weight:500;margin-left:5px}
.country-category-heading>a{font-size:15px;white-space:nowrap;color:#285b93;text-underline-offset:3px}
.country-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.country-category-tile{display:flex;align-items:center;gap:12px;min-width:0;min-height:76px;padding:10px 14px;border:1px solid #dce4f2;border-radius:12px;background:#fff;color:#19365b;text-decoration:none}
.country-category-tile:hover{border-color:#315f98;background:#f7f9fc}
.country-category-tile[aria-current=page]{border-color:#315f98;box-shadow:inset 0 0 0 1px #315f98;background:#f0f5fb}
.country-category-photo{width:52px;height:58px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:5px;overflow:hidden}
.country-category-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.country-category-photo .photo-crop{width:100%;height:100%}
/* Navigation thumbnails only have room for the artwork. Reference and missing
   photos need their explanation, so use the category label on its own. */
:is(.country-category-photo,.subtype-photo):has(.captioned-photo[data-photo-reference],.photo-missing){display:none}
:is(.country-category-photo,.subtype-photo) .captioned-photo .photo-caption{display:none}
:is(.country-category-photo,.subtype-photo) .captioned-photo-art>img{width:100%;height:100%;object-fit:contain}
.country-category-tile>span:last-child{min-width:0}
.country-category-tile b{display:block;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.country-category-tile small{display:block;margin-top:4px;font-size:12px;color:#65758b}
.country-category-more{margin-top:10px}
.country-category-more summary{width:fit-content;cursor:pointer;padding:8px 0;font-weight:600;font-size:14px;color:#285b93}
.country-category-more[open] summary{margin-bottom:8px}
.country-catalog .catalog-category>.subdivision-heading,.country-catalog .catalog-category .subtype-dropdown>summary{display:none}
.country-catalog .catalog-category .subtype-options{display:none}
.country-catalog .catalog-category{padding:0;border:0;margin:0;background:none;box-shadow:none}
.country-catalog .catalog-category:has(#chineseTypeButtons:not([hidden])) #chineseTypeButtons .subtype-dropdown>summary{display:flex}
.country-catalog .catalog-category #chineseTypeButtons .subtype-options{display:grid}
.country-catalog .catalog-category-slot{display:none}
.country-catalog .catalog-category-slot:has(#chineseSubcategories:not([hidden]) #chineseTypeButtons:not([hidden])){display:block}
.country-catalog .catalog-controls{display:flex;align-items:flex-end;gap:16px;margin-top:0}
.country-catalog .catalog-category-slot{flex:1}
.country-catalog .catalog-series{flex:1;max-width:420px}
.country-catalog .catalog-series select{min-height:48px;padding:12px 14px;font-size:17px}
@media(max-width:760px){.country-category-browser{padding:14px 4.5%}.country-category-heading{gap:10px;margin-bottom:10px}.country-category-heading h2{font-size:19px;gap:6px}.country-category-subtitle{display:none}.country-category-heading>a{font-size:13px}.country-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.country-category-tile{min-height:72px;padding:8px;gap:8px}.country-category-tile b{font-size:14px}.country-category-photo{width:40px;height:50px;flex-basis:40px}.country-category-tile small{font-size:12px}}
.catalog-category-slot,.catalog-series{min-width:0}
@media(max-width:960px){.market-tabs{display:none}.mobile-market-picker{display:grid;gap:7px;width:100%;font-weight:700}.mobile-market-picker select{width:100%;min-height:54px;border:1px solid #cbd6e4;border-radius:10px;padding:10px 12px;background:#fff;color:#18365a;font:inherit;font-size:18px}.market-browser-inner{display:block}.market-label{display:none}}
.product-origins{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 4px;min-width:0}
.origin-brand{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;width:min(120px,calc(38px * var(--origin-aspect,3)));max-width:120px;height:38px}
.origin-brand img{display:block;width:100%;height:100%;max-width:120px;max-height:38px;object-fit:contain;object-position:left center}
.product-record .product-origins{gap:18px;margin:18px 0}
.product-record .origin-brand{height:52px;width:min(160px,calc(52px * var(--origin-aspect,3)));max-width:160px}
.product-record .origin-brand img{max-width:160px;max-height:52px}
@media(max-width:640px){
 .product-origins{gap:8px;margin:10px 0 2px}
 .origin-brand{height:30px;width:min(88px,calc(30px * var(--origin-aspect,3)));max-width:88px}
 .origin-brand img{max-height:30px;max-width:88px}
 .product-record .origin-brand{height:42px;width:min(120px,calc(42px * var(--origin-aspect,3)));max-width:120px}
 .product-record .origin-brand img{max-height:42px;max-width:120px}
}
:root{--catalog-batch-size:24}
.catalog-pagination{display:flex;flex-direction:column;align-items:center;gap:12px;margin:24px 0 36px}
.catalog-pagination .load-more{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;text-decoration:none;font-size:17px;line-height:1.25}
.catalog-pagination .load-more[hidden]{display:none}
.catalog-pagination nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;font-size:14px;color:#657083}
.catalog-pagination nav[hidden]{display:none}
.catalog-pagination nav a{color:#245b99;text-underline-offset:3px}
.catalog-pagination a:focus-visible{outline:3px solid #2259b5;outline-offset:4px}

/* MSRP keeps the original market's currency, separate from recorded eBay sales. */
#catalog .card-bottom:has(.msrp-price){display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 20px;padding-top:12px;border-top:1px solid #e4eaf4}
#catalog .msrp-price{min-width:0;display:flex;flex-direction:column;gap:4px}
#catalog .msrp-price small{color:#63748d;font-size:12px;line-height:1.4}
#catalog .msrp-price b{font-size:17px;line-height:1.35;color:#244d80;font-weight:650;font-variant-numeric:tabular-nums}
.retail-msrp{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:20px 0 0;padding:18px 20px;border:1px solid #d9e3f1;border-radius:12px;background:#f6f9ff}
.retail-msrp small{display:block;color:#5f718b;font-size:12px;line-height:1.4}
.retail-msrp b{display:block;margin-top:4px;color:#19365e;font-size:24px;line-height:1.3;font-variant-numeric:tabular-nums}
.retail-msrp p{margin:6px 0 0;color:#63748d;font-size:13px;line-height:1.5}
.retail-msrp .msrp-source{font-size:13px;line-height:1.5;color:#245c9d;text-underline-offset:3px}
@media(max-width:640px){#catalog .msrp-price b{font-size:16px}.retail-msrp{padding:15px;gap:10px}.retail-msrp b{font-size:22px}}
#catalog .card-bottom:has(.msrp-price) .price{min-width:110px}
@media(max-width:640px){#catalog .card-bottom:has(.msrp-price){flex-direction:column;align-items:stretch;gap:10px}#catalog .msrp-price{flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 8px}#catalog .msrp-price small{max-width:100%;white-space:normal;overflow-wrap:anywhere}#catalog .msrp-price b{max-width:100%;font-size:15px;white-space:normal;overflow-wrap:anywhere}}

/* Native expansion codes share one compact presentation in every view. */
.product-set-code{display:flex;align-items:baseline;flex-wrap:wrap;gap:.35em .55em;margin:.35rem 0;color:#60738e;font-size:.8rem;line-height:1.5}.product-set-code .set-code-value{color:#244970;background:#eef3fa;border:1px solid #d9e3f0;border-radius:5px;padding:0 .4em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:650;overflow-wrap:anywhere;unicode-bidi:isolate}.product-page .product-set-code{font-size:.9rem}.card .product-set-code{margin-block:.3rem}

/* Local retail prices stay at the left; market quotes belong to the actions. */
#catalog .card-bottom:has(.msrp-price){margin-top:auto;justify-content:flex-start}
#catalog .card:has(.msrp-price) .card-actions{margin-top:0}
#catalog .card-bottom:empty{display:none}
/* Distribution evidence and unknown-price explanations belong in product details. */
.card .msrp-price:not(:has([data-money-amount])),
.card .card-bottom:has(.msrp-price):not(:has([data-money-amount])){display:none!important}
#catalog .card-actions .price{min-width:0;width:100%;text-align:start;overflow-wrap:anywhere}
#catalog .card-actions .price b{display:block;font-size:18px;font-weight:650;line-height:1.35;font-variant-numeric:tabular-nums}
#catalog .card-actions .price-meta{margin-top:4px}
#catalog .msrp-price{align-items:flex-start;text-align:start}
@media(max-width:640px){#catalog .msrp-price{flex-direction:column;justify-content:flex-start}#catalog .card-actions .price b{font-size:16px}}

.card-region{font-size:12px;line-height:1.45;color:var(--muted,#64748b);margin:0 0 12px}

.catalog-affiliate{font-size:14px;line-height:1.5;margin-block:8px 16px}

/* Source/date labels remain legible in every catalog view. */
#catalog .msrp-price small, #catalog .card-actions .price small, #catalog .card-actions .price-meta, .set-artwork-reference {font-size:12px;line-height:1.4}
.set-artwork-reference{display:block;font-weight:400;color:#63758d}

/* Preserve readable labels when shared compact/list and photo rules shrink text. */
#catalog .card .product-meta .date,
#catalog .photo-caption,
.mainland-groups button small,
.tcgcsv-catalog .tcgcsv-record-id,
.tcgcsv-source-product .tcgcsv-record-id{font-size:12px;line-height:1.4}
@media(max-width:420px){.mainland-groups button{font-size:12px}}

/* Readable catalog heading without restoring the oversized hero. */
.intro.catalog-heading{display:block;min-height:0;margin:18px 0 14px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:0}.intro.catalog-heading h1{font-size:clamp(24px,3.3vw,34px);line-height:1.2;letter-spacing:-.03em;margin:0 0 8px;max-width:none}.intro.catalog-heading p{font-size:15px;line-height:1.5;margin:0;max-width:76ch}.intro.catalog-heading .eyebrow{font-size:12px;margin:0 0 6px}

/* Details is the primary catalog action; preserve List view's row-wide link. */
.detail-btn,
#catalog .card-actions .card-detail,
.tcgcsv-catalog .card-actions .card-detail{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:44px;height:auto;padding:10px 14px;
 border:1px solid #d3aa24;border-radius:10px;
 background:#ffcf32;
 color:#172d54;font-weight:700;line-height:1.25;
 text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;
 box-shadow:inset 0 1px 0 #ffffff1a,0 2px 4px #172d5426;
 transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
 touch-action:manipulation;
}
@media(hover:hover){
 .detail-btn:hover,
 #catalog .card-actions .card-detail:hover,
 .tcgcsv-catalog .card-actions .card-detail:hover{
  background:#ffda60;
  color:#172d54;border-color:#c6a126;
  box-shadow:inset 0 1px 0 #ffffff24,0 3px 7px #172d542b;
 }
}
.detail-btn:focus-visible,
#catalog .card-actions .card-detail:focus-visible,
.tcgcsv-catalog .card-actions .card-detail:focus-visible{
 outline:3px solid #245c9d;outline-offset:3px;border-color:#172d54;
}
.detail-btn:active,
#catalog .card-actions .card-detail:active,
.tcgcsv-catalog .card-actions .card-detail:active{
 background:#f4c52a;box-shadow:inset 0 1px 3px #8c681f2e;
}

/* Brand accents belong on selected controls and existing section markers. */
.country-category-tile[aria-current=page]{
 background:#fff7d6;border-color:#315f98;
 box-shadow:inset 0 0 0 1px #315f98,inset 0 -3px 0 #ffcf32;
}
.catalog-view-controls[data-catalog-views] button[aria-pressed=true]{
 background:#ffcf32;border-color:#c49b20;color:#172d54;
 box-shadow:0 1px 2px #172d5414;
}
.catalog-controls .subtype-dropdown>summary{
 box-shadow:inset 0 -3px 0 #ffcf32,0 4px 12px #17386b0a;
}
.subtype-options :is(button[aria-pressed=true],a[aria-current=page]){
 background:#fff0b6;color:#172d54;
 box-shadow:inset 0 -2px 0 #d4a516;
}
.tools .search:focus-within,
.tools select:focus-visible,
.catalog-page-toolbar select:focus-visible{
 border-color:#315f98;box-shadow:0 0 0 3px #ffcf3238;
}
.year-label{color:#172d54;border-color:#ffcf32}

/* Carry the same palette into existing navigation and home/editorial accents. */
.market-tabs a:is([aria-current=page],[aria-current=true]){
 border-color:#315f98;color:#172d54;background:#ffcf32;
 box-shadow:0 2px 4px #172d541a;
}
.member-tabs .selected,.collection-tabs .selected{
 box-shadow:inset 0 -3px 0 #ffcf32;
}
[data-homepage] .home-section-heading>a,
.discovery-section-nav a:is(:hover,:focus-visible){
 color:#2458a0;text-decoration-line:underline;
 text-decoration-color:#d4aa24;text-decoration-thickness:2px;
 text-underline-offset:4px;
}
.discovery-section-nav a:is(:hover,:focus-visible){
 background:#fff7d6;border-color:#315f98;
}

/* Flagship colours for existing masthead and catalogue browsing controls. */
html body>header:has(>.brand) nav.member-nav[data-member-nav]{gap:8px}
html body>header:has(>.brand) nav.member-nav[data-member-nav]>a{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 padding:8px 12px;border:1px solid #b08b24;border-radius:9px;
 background:#ffcf32;color:#172d54;line-height:1.3;
 box-shadow:0 2px 3px #172d5412;
}
html body>header:has(>.brand) label.site-language[data-language-switch] select,
html body>header:has(>.brand) .site-currency-label select{
 height:44px;min-height:44px;padding-block:8px;
 border:1px solid #d5dfed;border-radius:9px;
 background-color:#fff;color:#172d54;
 box-shadow:inset 0 1px 0 #ffffff80;
}
html body>header:has(>.brand) .currency-information{
 margin-bottom:0;flex:0 0 44px;
}
html body>header:has(>.brand) .currency-information>summary{
 display:inline-flex;align-items:center;justify-content:center;
 width:44px;min-height:44px;border:1px solid #d5dfed;border-radius:9px;
 background:#fff;color:#172d54;
}
html body>header:has(>.brand) .currency-info-panel{top:calc(100% + 8px)}

.catalog-toolbar .tools select,
.catalog-controls .catalog-series select,
body .catalog-page-size-label select,
body .mobile-market-picker select{
 border-color:#d5dfed;background-color:#fff;color:#172d54;
 box-shadow:inset 0 1px 0 #ffffff80;
}
body .subtype-dropdown>summary,
body .subtype-options :is(button,a),
body .catalog-view-controls[data-catalog-views] button{
 border-color:#d5dfed;background:#fff;color:#172d54;
}
body .catalog-view-controls[data-catalog-views] button{min-height:44px}
body .catalog-view-controls[data-catalog-views]{border-color:#d5dfed;background:#fff}
.subtype-dropdown .subtype-label small{color:#405471}

body .country-category-tile,
body .category-browser .collection-nav a,
body .market-tabs a{
 background:#fff;color:#172d54;border-color:#d5dfed;
 box-shadow:0 2px 5px #172d540d;
}
body .country-category-tile small,
body .category-browser .cat-copy small,
body .market-tabs small{color:#405471}
.country-category-heading>a,
.country-category-inner>p>a[data-tcgcsv-inventory-link]{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 padding:9px 13px;border:1px solid #d5dfed;border-radius:9px;
 background:#fff;color:#172d54;font-weight:600;
 white-space:normal;text-align:center;text-decoration:none;
}
body .country-category-more>summary,
body .category-more>summary,
body .catalog-directory>summary{
 box-sizing:border-box;min-height:44px;width:fit-content;max-width:100%;
 padding:10px 14px;border:1px solid #d5dfed;border-radius:9px;
 background:#fff;color:#172d54;line-height:1.4;
}

@media(hover:hover){
 html body>header:has(>.brand) nav.member-nav[data-member-nav]>a:hover{
  background-color:#ffe08a;color:#172d54;border-color:#172d54;
 }
 html body>header:has(>.brand) label.site-language[data-language-switch] select:hover,
 html body>header:has(>.brand) .site-currency-label select:hover,
 html body>header:has(>.brand) .currency-information>summary:hover,
 .catalog-toolbar .tools select:hover,
 .catalog-controls .catalog-series select:hover,
 body .catalog-page-size-label select:hover,
 body .mobile-market-picker select:hover,
 body .subtype-dropdown>summary:hover,
 body .subtype-options :is(button,a):hover,
 body .catalog-view-controls[data-catalog-views] button:hover,
 body .country-category-tile:hover,
 body .category-browser .collection-nav a:hover,
 body .market-tabs a:hover,
 .country-category-heading>a:hover,
 .country-category-inner>p>a[data-tcgcsv-inventory-link]:hover,
 body .country-category-more>summary:hover,
 body .category-more>summary:hover,
 body .catalog-directory>summary:hover{
  background-color:#f7f9fc;color:#172d54;border-color:#172d54;
 }
}
body .country-category-tile[aria-current=page],
body .category-browser .collection-nav a[aria-current=page],
body .market-tabs a:is([aria-current=page],[aria-current=true]),
body .subtype-options :is(button[aria-pressed=true],a[aria-current=page]),
body .catalog-view-controls[data-catalog-views] button[aria-pressed=true]{
 background:#ffcf32;color:#172d54;border-color:#172d54;
 box-shadow:inset 0 0 0 1px #172d54,0 2px 4px #172d5414;
}
body .country-category-more[open]>summary,
body .category-more[open]>summary,
body .catalog-directory[open]>summary,
body .subtype-dropdown[open]>summary{
 background:#ffcf32;color:#172d54;border-color:#172d54;
}

html body>header:has(>.brand) nav.member-nav[data-member-nav]>a:focus-visible,
html body>header:has(>.brand) label.site-language[data-language-switch] select:focus-visible,
html body>header:has(>.brand) .site-currency-label select:focus-visible,
html body>header:has(>.brand) .currency-information>summary:focus-visible,
.catalog-toolbar .tools select:focus-visible,
.catalog-controls .catalog-series select:focus-visible,
body .catalog-page-size-label select:focus-visible,
body .mobile-market-picker select:focus-visible,
body .subtype-dropdown>summary:focus-visible,
body .subtype-options :is(button,a):focus-visible,
body .catalog-view-controls[data-catalog-views] button:focus-visible,
body .country-category-tile:focus-visible,
body .category-browser .collection-nav a:focus-visible,
body .market-tabs a:focus-visible,
.country-category-heading>a:focus-visible,
.country-category-inner>p>a[data-tcgcsv-inventory-link]:focus-visible,
body .country-category-more>summary:focus-visible,
body .category-more>summary:focus-visible,
body .catalog-directory>summary:focus-visible{
 outline:3px solid #245c9d;outline-offset:3px;
}
@media(max-width:760px){
 html body>header:has(>.brand) nav.member-nav[data-member-nav]{gap:4px}
 html body>header:has(>.brand) nav.member-nav[data-member-nav]>a:is([data-member-contact],[href$="/collection/"],[href$="/watchlist/"]){
  width:44px;min-width:44px;min-height:44px;padding:0;
 }
 html body>header:has(>.brand) nav.member-nav[data-member-nav]>a:last-child{padding-inline:10px}
}

/* Keep the dynamically mounted series filter above later toolbar select rules. */
body .catalog-toolbar .tools select#catalogSeries,
body .catalog-controls select#catalogSeries{
 background-color:#fff;color:#172d54;border-color:#d5dfed;
 box-shadow:inset 0 1px 0 #ffffff80;
}
@media(hover:hover){
 body .catalog-toolbar .tools select#catalogSeries:hover,
 body .catalog-controls select#catalogSeries:hover{
  background-color:#f7f9fc;color:#172d54;border-color:#172d54;
 }
}
body .catalog-toolbar .tools select#catalogSeries:focus-visible,
body .catalog-controls select#catalogSeries:focus-visible{
 border-color:#245c9d;outline:3px solid #245c9d;outline-offset:3px;
}

/* S09 site identity: compact mark and an accessible two-colour wordmark. */
html body>header:has(>.brand)>.brand{direction:ltr}
html body>header:has(>.brand)>.brand .pokeball{
 border-radius:0;background-image:url("/assets/brand/s09-mark.svg?v=73c9e09e259c");
}
html body>header:has(>.brand)>.brand b{color:#172d54}
html body>header:has(>.brand)>.brand b em[data-brand-poke]{
 display:inline;font:inherit;font-style:normal;color:#ffcf32;
}

/* Preserve app hooks while keeping routine browsing copy out of the interface. */
#categoryDescription,#coverageNote,#scopeCategory,#conditionScope,.catalog-about{
 display:none!important;
}

/* Native-era catalogue sections keep long names above the full product grid. */
#catalog .era-group.year-group{display:block;min-width:0;margin:0 0 38px}
#catalog .era-label.year-label{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;min-width:0;margin:0 0 18px;padding-top:14px;font-size:24px;font-weight:700;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
#catalog .era-label.year-label small{display:inline;margin:0;font-size:12px;line-height:1.5;letter-spacing:0;font-weight:400}
#catalog .era-products.year-products{min-width:0}
@media(max-width:760px){#catalog .era-group.year-group{margin-bottom:30px}#catalog .era-label.year-label{font-size:21px;gap:6px 12px;margin-bottom:15px}}
#catalog[data-era-policy="era-v1"] .era-group .brand-level-4{display:none}

/* English is a language catalog; its marker does not imply a release country. */
.catalog-language-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:24px;box-sizing:border-box;border:1px solid #8b9cb2;border-radius:4px;background:#f2f5f9;color:#243b58;font-size:11px;font-weight:800;line-height:1;letter-spacing:.03em;vertical-align:middle}
/* Product cards share one canonical page link; save and shopping controls stay independent. */
article.card[data-card-component]{position:relative;isolation:isolate;min-width:0;height:100%;transform:none}
article.card[data-card-component] .product-title-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
article.card[data-card-component] .product-title-link:focus-visible{outline:none}
article.card[data-card-component] .product-title-link:focus-visible::after{outline:3px solid #315f9d;outline-offset:3px}
article.card[data-card-component] :is(.member-collect,.member-watch,.member-card-save-actions,.ebay-explore,.pack-artwork-picker,.pack-artwork-reference,.card-bottom a){position:relative;z-index:2}
article.card[data-card-component] .photo{height:auto;min-height:0;aspect-ratio:4/3;padding:14px;display:flex;align-items:center;justify-content:center}
article.card[data-card-component] .photo>img{width:100%;height:100%;max-height:100%;object-fit:contain}
article.card[data-card-component] .photo:has(.captioned-photo){aspect-ratio:auto}
article.card[data-card-component] .captioned-photo{width:100%;max-width:100%;height:auto;display:flex;flex-direction:column;gap:7px}
article.card[data-card-component] .captioned-photo-art{width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;min-height:0}
article.card[data-card-component] .captioned-photo-art>img{width:100%;height:100%;object-fit:contain}
article.card[data-card-component] :is(.photo-caption,.photo-reference-description){height:auto;max-height:none;overflow:visible;white-space:normal;line-height:1.35}
article.card[data-card-component] .card-body{padding:14px;gap:10px}
article.card[data-card-component] .product-name{font-size:17px;line-height:1.3;margin:0 0 6px;min-height:0}
article.card[data-card-component] .product-collection{min-height:0;margin:5px 0}
article.card[data-card-component] .card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:12px}
article.card[data-card-component] .card-actions>.price{flex:1 0 100%;order:-1}
article.card[data-card-component] .card-actions>.ebay-explore{flex:1;min-height:42px;justify-content:center}
#catalog article.card[data-card-component] .card-actions{flex-direction:row;min-width:0;width:100%}
#catalog article.card[data-card-component] .card-actions>.ebay-explore{flex:1 1 125px;min-width:0;max-width:100%;width:auto;padding-inline:8px;gap:6px;white-space:normal}
#catalog article.card[data-card-component] .card-actions>.member-card-save-actions{max-width:100%;flex-wrap:wrap;justify-content:flex-start}
@media(min-width:1280px){#catalog article.card[data-card-component] .member-card-save-actions :is(.member-collect-icon,.member-watch-icon){width:auto;padding-inline:8px;gap:5px}}
@media(min-width:1440px){html:not([data-catalog-view=list]) #catalog .grid,.search-results.grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}}
/* Natural tile heights keep short identities compact; qualifications may grow. */
html:not([data-catalog-view=list]) #catalog article.card[data-card-component]{height:auto;align-self:start}
html:not([data-catalog-view=list]) #catalog article.card[data-card-component] .card-body{padding:12px;gap:7px}
html:not([data-catalog-view=list]) #catalog article.card[data-card-component] .product-name{font-size:17px;line-height:1.25;margin:5px 0 4px}
html:not([data-catalog-view=list]) #catalog article.card[data-card-component] .product-collection{min-height:0;margin:4px 0;font-size:12px;line-height:1.4}
html:not([data-catalog-view=list]) #catalog article.card[data-card-component] .product-meta{gap:5px 8px;align-items:center}
html:not([data-catalog-view=list]) #catalog article.card[data-card-component] .card-era-logo{width:65px;height:20px}
html:not([data-catalog-view=list]) #catalog article.card[data-card-component] .card-bottom:has(.msrp-price){padding-top:8px;gap:6px 12px}
html:not([data-catalog-view=list]) #catalog article.card[data-card-component] .card-actions{padding-top:10px;gap:6px}

/* English reference names are secondary and read left-to-right in any interface. */
:is(.product-identity .product-english-name,.product-other-editions .product-english-name,[data-product-reference],.set-tile-reference,.catalog-set-reference){unicode-bidi:isolate;direction:ltr}
:is(.product-identity .product-english-name,.product-other-editions .product-english-name,[data-product-reference],.set-tile-reference,.catalog-set-reference)::before{content:"("}
:is(.product-identity .product-english-name,.product-other-editions .product-english-name,[data-product-reference],.set-tile-reference,.catalog-set-reference)::after{content:")"}
