/* Army collection uses the tablet viewport instead of a 620px desktop dialog. */
@media (min-width:768px) and (min-height:600px){
 #releasePanel:has(.work076,.legion-menu047,.deck-panel){left:var(--view-x,0px);top:var(--view-y,0px);right:auto;bottom:auto;width:var(--view-w,100vw);height:var(--view-h,100dvh);padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 #releasePanel:has(.work076,.legion-menu047,.deck-panel) .release-shell{width:100%;height:100%;max-width:none;max-height:none;min-height:0}
 #releasePanel .work089 .work-grid076{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));grid-auto-rows:var(--army-card-height,200px);align-items:stretch;scroll-padding:5px;scroll-snap-type:y proximity;padding-bottom:5px;touch-action:pan-y}
 #releasePanel .work089 .work-grid076 .work-card076{height:100%!important;aspect-ratio:auto;min-height:0!important;scroll-snap-align:start}
 #releasePanel .work089 .work-list{padding-bottom:5px;overscroll-behavior:contain;touch-action:pan-y}
}
/* Keep the whole isolated head visible, including bat ears and wings. */
#releasePanel .work089 .work-card076>.work-portrait089{object-fit:contain}
