/* Same three-line PokeHit mark as the shared catalogs. Original art is unchanged. */
body[data-catalog-game=naruto]{--wm3-logo:url("/assets/65cfda4ce72f3553b69e86b3b177232eab4b8c820c3ec13f79917c45df9bfc91.webp")}
.marked-photo{position:relative;display:inline-grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;max-width:100%;overflow:hidden;isolation:isolate;line-height:0;vertical-align:middle}
.marked-photo>img{display:block;max-width:100%;object-fit:contain}
.marked-photo>.catalog-watermark{inset:0;display:block;pointer-events:none;user-select:none;z-index:2}
.catalog-watermark>i{opacity:.35;transform:translate(-50%,-50%) rotate(-26deg)}
.image>.marked-photo,.character-cover>.marked-photo{width:100%;height:100%}
.image>.marked-photo>img,.character-cover>.marked-photo>img{width:100%;height:100%;object-fit:contain}
body[data-catalog-game=naruto] .box-cover>.marked-photo{position:absolute;inset:6%;width:88%;height:88%}
body[data-catalog-game=naruto] .box-cover>.marked-photo>img{position:static!important;inset:auto!important;margin:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}
.series-package>.marked-photo{width:90px;height:100px;flex:none}
.series-package>.marked-photo>img{width:100%;height:100%}
.set-info-card>.marked-photo{float:left;width:140px;height:185px;margin:0 22px 16px 0;border-radius:8px;background:white}
.set-info-card>.marked-photo>.set-info-box-photo{float:none;width:100%;height:100%;margin:0}
/* A definite media row prevents intrinsic card height from expanding the grid track. */
#catalogTabs{--category-photo-height:150px}
#catalogTabs>button{grid-template-rows:var(--category-photo-height) auto auto;align-content:start;align-items:start}
#catalogTabs .native-category-media{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:var(--category-photo-height);min-width:0;min-height:0;overflow:hidden}
#catalogTabs .native-category-media>.marked-photo{display:inline-flex;flex:0 1 auto;width:max-content;height:var(--category-photo-height);max-width:100%;max-height:100%;align-items:center;justify-content:center}
#catalogTabs .native-category-media>.marked-photo>img{position:static;display:block;flex:0 1 auto;width:auto;height:var(--category-photo-height);min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0;transform:none}
#catalogTabs .native-character-montage>.marked-photo{display:block;flex:none;width:calc((100% - 18px)/4);max-width:calc(var(--category-photo-height)*63/88);height:auto;aspect-ratio:63/88}
#catalogTabs .native-character-montage>.marked-photo>img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border-radius:0}
#detailPhoto{width:100%;max-width:100%}
#detailPhoto>img{width:100%;height:auto;max-width:100%}
#detailPhoto[hidden]{display:none}
.detail-specs .character-spec{grid-column:1/-1}
.detail-specs .character-spec b{line-height:1.7;word-break:keep-all}
@media(max-width:620px){#catalogTabs{--category-photo-height:110px}}
