/* v50: full titles, clear provenance, on-page marketplace search. */
body{font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,"Noto Sans JP","Noto Sans KR",sans-serif}
.store-tile{min-width:0;border:1px solid #dce4e6;border-radius:10px;background:white;overflow:hidden;display:flex;flex-direction:column}
.store-links .store-link{width:100%;margin:0;border:0;border-radius:0;background:white;text-align:left;min-height:102px;cursor:pointer}
.store-links .store-link[aria-pressed=true]{background:#eef6f2;box-shadow:inset 0 0 0 2px #376858}
.store-logo{min-width:54px;width:54px;height:54px;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}
.store-logo img{display:block;opacity:1!important;width:48px;height:48px;object-fit:contain;position:static!important}
.store-logo [hidden]{display:none!important}.logo-fallback{font-weight:700;font-size:11px;text-align:center;overflow-wrap:anywhere}
.store-external{align-self:flex-start;font-size:11px!important;border:0!important;padding:0 16px 12px!important;color:#51616b!important}
.query-controls{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;background:#f6f8f7;padding:14px 16px;border-radius:8px;margin-bottom:18px}
.query-controls>label{font-size:12px;font-weight:600}.query-controls>div{display:flex;flex:1;min-width:220px;gap:8px}.query-controls input:not([type=checkbox]){width:100%;min-width:0;padding:7px 10px;background:white}.query-controls button{white-space:nowrap;border:1px solid #b9cbc4;border-radius:5px;background:#fff;padding:7px 12px;font-size:12px}.query-controls small{flex-basis:100%;font-size:11px;color:#57636a}.available-filter{display:flex;align-items:center;gap:7px}
.connection-details{font-size:12px;width:100%;margin:8px 0 20px}.connection-details summary{cursor:pointer;color:#44595d}.connection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 24px;padding:12px 0}.connection-grid>div{display:flex;flex-direction:column}.connection-grid span{color:#66747c}
.product-card{display:flex;flex-direction:column;min-width:0}.product-card h3{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0;line-height:1.65;font-weight:600;word-break:normal;overflow-wrap:anywhere}.card-button{text-align:left}.provenance{font-size:10px;color:#52705e;margin-bottom:7px}.card-stock,.card-seller,.price-type{margin:5px 0 0;font-size:11px;color:#62706e;overflow-wrap:anywhere}.card-stock{color:#496556}.is-sold .card-stock{color:#a34545}.is-sold .product-photo{opacity:.65}.card-time{display:block;font-size:10px;color:#737e82;margin-top:4px}.card-source{font-size:11px;color:#416573;margin:9px 0 12px}.card-buy{margin-top:auto}.card-original{font-size:11px;margin-top:7px;color:#626a70}.card-original p{margin:6px 0;overflow-wrap:anywhere}.source-tabs{padding-bottom:8px}.source-count{margin-left:6px}.product-photo .photo-empty{font-size:11px}.catalog-notice{background:none!important}
@media(max-width:760px){.connection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.query-controls>div{flex-basis:100%}.store-links .store-link{min-height:94px}.store-action{display:none}.store-logo{width:44px;min-width:44px;height:44px}.store-logo img{width:40px;height:40px}.store-names b{font-size:12px}.store-names small{font-size:10px}.card-meta{flex-wrap:wrap}.product-card h3{font-size:12px}.card-buy{font-size:12px}.card-source{font-size:10px}}
@media(max-width:380px){.store-links .store-link{padding:12px 8px;gap:7px}.store-logo{width:32px;min-width:32px}.store-logo img{width:30px;height:30px}.query-controls{padding:12px}.query-controls>div{min-width:0}.query-controls button{font-size:11px;padding:7px}.photo-price{font-size:14px}}

/* v51 deployment support */
.diagnostics-link{margin:12px 0;font-size:13px;text-align:right}.diagnostics-link a{color:#1b4f75;text-decoration:underline}.release-warning{font-weight:650;color:#994000;margin:10px 0;line-height:1.5}

/* v51: compact shop directory keeps genuine product cards closer to the top. */
.shop-hub{padding:20px 22px 19px;margin-bottom:24px}
.shop-hub>p:not(.store-search-context):not(.store-legal-note){margin:5px 0 14px}
.store-group+.store-group{margin-top:13px}
.store-group-heading{margin-bottom:8px}
.shop-hub .store-link,.shop-hub .store-links .store-link{min-height:74px;padding:9px!important;display:flex;flex-direction:row;align-items:center;gap:9px;justify-content:flex-start}
.shop-hub .store-logo{position:relative;flex:0 0 46px;width:46px;height:46px;margin:0}
.shop-hub .store-logo img{position:absolute!important;top:3px!important;left:3px!important;width:38px;height:38px;opacity:0!important;background:#fff}
.shop-hub .store-logo img.logo-loaded{opacity:1!important}
.shop-hub .store-logo .logo-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:15px;color:#283b50;font-weight:800}
.shop-hub .store-names{flex:1;align-items:flex-start}
.shop-hub .store-names b{font-size:12px}
.shop-hub .store-names small{font-size:10px}
.shop-hub .store-action{display:none}
.store-external{padding:0 10px 8px!important;align-self:flex-end!important;font-size:10px!important}
@media(max-width:800px){.shop-hub{padding:16px 13px 17px}.shop-hub .store-logo{flex-basis:40px;width:40px;height:40px}.shop-hub .store-logo img{width:32px;height:32px}.shop-hub .store-link,.shop-hub .store-links .store-link{min-height:65px;padding:8px!important}.shop-hub .store-names b{font-size:11px}.shop-hub .store-names small{font-size:9px}}
