@media screen{
#character-gallery figcaption{display:none!important}
#character-gallery figure,#character-gallery.portraits figure{background:none;border:0;box-shadow:none}
#character-gallery{inset:0 0 38px;gap:0;padding:0;align-items:center}
#character-gallery.portraits{flex-direction:row;align-items:center;gap:0}
#character-gallery.portraits figure{width:50%;flex:1;align-self:center;filter:drop-shadow(0 10px 8px #0008)}
#character-gallery.portraits figure img{height:440px;max-height:100%;object-fit:contain;object-position:center bottom}
#character-gallery.portraits figure:first-child{transform:translateX(5%)}
#character-gallery.portraits figure:last-child{transform:translateX(-5%)}
#character-gallery.mabi-record figure img{height:570px;max-height:100%;width:auto;max-width:95%;filter:drop-shadow(0 10px 8px #0008)}
#character-gallery.maple-record figure img{height:350px;max-height:100%;width:auto;image-rendering:pixelated;filter:drop-shadow(0 7px 3px #0008)}
#character-gallery.party figure img{height:430px}
.visual.has-gallery .character-label{display:none}
.visual.has-gallery .character-frame{min-height:340px}
.visual.has-gallery .character-controls{opacity:0;transition:opacity .15s}
.visual.has-gallery:hover .character-controls,.visual.has-gallery:focus-within .character-controls{opacity:1}
@media(max-width:1150px){#character-gallery.portraits figure img{height:350px}#character-gallery.mabi-record figure img{height:460px}#character-gallery.party figure img{height:350px}}
@media(max-width:740px){.visual.has-gallery .character-frame{min-height:160px}#character-gallery.portraits figure img{height:210px}#character-gallery.mabi-record figure img{height:250px}#character-gallery.maple-record figure img{height:190px}#character-gallery.party figure img{height:220px}.visual.has-gallery .character-controls{opacity:1}}
}
