/* The drawing and its frame have one size; ownership indicators are separate. */
#stage .compact-shop .shop-item-heading{grid-template-columns:48px minmax(0,1fr) auto}
#stage .compact-shop .shop-item-heading>.shop-illustrated{align-self:center;justify-self:center}
#stage .shop-item-icon.shop-illustrated{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:48px;height:56px;flex:0 0 48px;padding:0;border:0;background:none;box-shadow:none;color:var(--shop-accent,#94dfca);overflow:visible}
#stage .shop-illustrated .shop-icon-frame{display:grid;place-items:center;width:100%;aspect-ratio:1;padding:3px;border:1px solid var(--shop-accent,#7da6ab);background:radial-gradient(ellipse at 40% 20%,#33475e,#152238 80%);box-shadow:inset 0 1px #ffffff25,inset 0 -2px #070f1d80;overflow:hidden}
#stage .shop-illustrated .shop-icon-frame svg{display:block;width:100%;height:100%;aspect-ratio:1;overflow:hidden;fill:none;image-rendering:auto}
#stage .shop-illustrated .shop-icon-art{transform-origin:center;transform-box:fill-box}
#stage .shop-illustrated .shop-icon-level{display:grid;grid-template-columns:repeat(var(--steps),minmax(0,1fr));gap:2px;width:calc(100% - 4px);height:4px;flex-shrink:0}
#stage .shop-icon-level i{display:block;height:4px;background:#34495d;box-shadow:inset 0 1px #ffffff15}
#stage .shop-icon-level i.acquired{background:var(--shop-accent,#94dfca)}
#stage .shop-owned .shop-illustrated .shop-icon-frame{box-shadow:inset 0 1px #ffffff30,inset 0 -2px #070f1d80}
#stage .character-panel .shop-item-icon.shop-illustrated{width:48px;height:56px;flex-basis:48px}
@media(max-height:500px),(max-width:600px){
 #stage .compact-shop .shop-item-heading{grid-template-columns:40px minmax(0,1fr) auto}
 #stage .shop-item-icon.shop-illustrated{width:40px;height:48px;flex-basis:40px}
 #stage .shop-illustrated .shop-icon-frame{padding:2px}
}
@media(prefers-reduced-motion:reduce){
 #stage .shop-illustrated .shop-icon-art{animation:none!important}
}
