/* Portrait framing: a large waist-up commander, smaller fully visible heads. */
.honor-card.mvp .honor-card-art img{position:absolute;left:50%;top:0;transform:translateX(-50%);width:auto;height:205%;max-width:none;object-fit:contain;object-position:center top}
.honor-card:not(.mvp) .honor-card-art{display:flex;align-items:center;justify-content:center}
.honor-card:not(.mvp) .honor-card-art img{width:86%;height:86%;object-fit:contain;object-position:center}
/* The Leithanien portrait has large transparent margins and a full-length
   pose. Frame the actual face/upper body, rather than scaling the canvas. */
.honor-card[data-commander="leithanien"] .honor-card-art{container-type:size}
.honor-card[data-commander="leithanien"] .honor-card-art img{position:absolute;left:50%;top:0;width:auto;height:390%;height:min(430cqh,390cqw);max-width:none;object-fit:contain;transform:translateX(-50%)}
.honor-card.mvp[data-commander="leithanien"] .honor-card-art img{height:205%;height:min(215cqh,330cqw)}

/* Digital left-to-right unveiling. Keep MVP distinct with its original entrance. */
.honor-card:not(.mvp).revealed{animation:honor-horizontal-decode .29s cubic-bezier(.18,.72,.22,1) both}
.honor-card:not(.mvp).revealed::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;background:repeating-linear-gradient(0deg,transparent 0 4px,#b7eee866 4px 5px),linear-gradient(90deg,transparent 0%,#c7fff522 35%,#b2fff9a6 47%,#e0fffde8 50%,transparent 52%);width:38%;transform:translateX(-105%);animation:honor-decode-scan .31s ease-out both;mix-blend-mode:screen}
@keyframes honor-horizontal-decode{0%{opacity:0;clip-path:inset(0 100% 0 0);filter:brightness(1.9);transform:none}24%{opacity:.9;clip-path:inset(0 66% 0 0);filter:brightness(1.45)}48%{opacity:.78;clip-path:inset(0 30% 0 0)}72%{opacity:1;clip-path:inset(0 7% 0 0);filter:brightness(1.1)}100%{opacity:1;clip-path:inset(0);filter:none;transform:none}}
@keyframes honor-decode-scan{0%{opacity:0;transform:translateX(-105%)}18%{opacity:1}76%{opacity:.85}100%{opacity:0;transform:translateX(290%)}}
@media(prefers-reduced-motion:reduce){.honor-card:not(.mvp).revealed{animation-duration:.08s}.honor-card:not(.mvp).revealed::after{display:none}}
