/* Single-image presentation; active image is selected by the original rotation. */
.hero-art .card-pack{position:relative;margin:0 auto 18px;width:100%;max-width:360px;cursor:zoom-in}
.hero-art .card-pack:focus-visible{outline:3px solid var(--purple);outline-offset:6px}
.hero-art .pack-card{display:none;margin:0;filter:none;transform:none;animation:none}
.hero-art .pack-card.is-active{display:block}
.hero-art .pack-card img{display:block;width:100%;height:auto;max-height:none;border-radius:12px;box-shadow:none;transform:none;filter:none}
.hero-art .card-pack-label{position:static!important;transform:none;text-align:center;font-weight:700;margin-top:12px;color:var(--ink)}
#heroViewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:20px;border:0;background:#f8fbff;color:var(--ink)}
#heroViewer::backdrop{background:rgba(0,0,0,.8)}
#heroViewer[open]{display:flex;flex-direction:column;gap:16px}
.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}
.viewer-toolbar h2{font-size:20px;margin:0}
.viewer-image{overflow:auto;flex:1;min-height:0;text-align:center}
.viewer-image img{display:block;max-width:100%;width:auto;height:auto;max-height:100%;margin:auto;object-fit:contain}
body:has(#heroViewer[open]){overflow:hidden}
@media(max-width:600px){.hero-art{padding:12px}.hero-art .card-pack{max-width:360px}#heroViewer{padding:12px}.viewer-image img{width:100%;max-height:none}}

#heroExpand{position:absolute;top:12px;left:12px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);cursor:pointer;box-shadow:0 3px 12px #20304a18}
.hero-art .card-pack{margin-bottom:0}
@media(min-width:851px){
 .hero-with-experience .hero-art{min-height:640px;padding:16px}
 .hero-art .card-pack{position:absolute;inset:16px;width:auto;max-width:none;height:auto}
 .hero-art .pack-card,.hero-art .pack-card img{height:100%;width:100%}
 .hero-art .pack-card img{object-fit:contain}
}
@media(max-width:850px){.hero-art .pack-card img{max-height:640px;object-fit:contain}}
