/* v0.6.1-gacha.2: local transparent assets; no changes to draw/award rules. */
.portal .scout-fx{opacity:0;pointer-events:none;object-fit:contain;transition:opacity .28s;}
.portal .fx-pillar{z-index:5;left:24%;top:5%;width:52%;height:77%;}
.portal .fx-radial{z-index:5;left:14%;top:8%;width:72%;height:73%;}
.portal .fx-star{z-index:7;left:66%;top:28%;width:21%;height:21%;}
.portal .fx-smoke{z-index:5;left:12%;top:49%;width:76%;height:45%;}
.portal .fx-pedestal{z-index:5;left:20%;top:66%;width:60%;height:27%;}
.charging:not(.opened) .fx-pillar{animation:zpPillar 1.2s ease-in-out both;}
.opened:not(.revealed) .fx-pillar{opacity:.7;}
.opened:not(.revealed) .fx-radial{animation:zpRadial .95s ease-out both;}
.opened:not(.revealed) .fx-smoke{animation:zpSmoke .95s ease-out both;}
.revealed .fx-pedestal{opacity:1;}
.revealed .fx-star{animation:zpStar 1.25s ease-out both;}
.portal.revealed .summon-hero{top:20%;height:59%;}
.scout-result-heading{position:relative;isolation:isolate;display:grid;place-items:center;width:min(100%,440px);aspect-ratio:4;margin:0 auto 12px!important;color:#fff5df;text-shadow:0 1px 4px #200b38;}
.scout-result-heading::before{content:'';position:absolute;z-index:-2;inset:24% 11%;background:#563476;border-radius:12px;}
.scout-result-heading img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-1;pointer-events:none;}
.scout-result-heading span{font-size:clamp(15px,3vw,23px);}
@keyframes zpPillar{0%{opacity:0;transform:scaleY(.65)}65%{opacity:.85}100%{opacity:1;transform:scaleY(1)}}
@keyframes zpRadial{0%{opacity:0;transform:scale(.55)}35%{opacity:1}100%{opacity:0;transform:scale(1.15)}}
@keyframes zpSmoke{0%{opacity:0;transform:translateY(12%)}40%{opacity:.65}100%{opacity:0;transform:translateY(-8%) scale(1.12)}}
@keyframes zpStar{0%{opacity:0;transform:scale(.5)}30%{opacity:1}100%{opacity:0;transform:scale(1.2)}}
.portal.fx-reduced .scout-fx{animation:none!important;transition:none!important;}
.portal.fx-reduced.revealed .fx-pedestal{opacity:1;}
@media(prefers-reduced-motion:reduce){.portal .scout-fx{animation:none!important;transition:none!important;}}

/* G08: orbiting magic particles; G11: behind the hero, never over the face. */
.portal .fx-particles{z-index:5;left:20%;top:14%;width:60%;height:60%;}
.portal .fx-halo{z-index:4;left:13%;top:8%;width:74%;height:77%;}
.charging:not(.opened) .fx-particles{animation:zpParticles 1.2s ease-in-out both;}
.opened:not(.revealed) .fx-particles{animation:zpParticlesOut .95s ease-out both;}
.revealed .fx-halo{opacity:.86;animation:zpHalo 1.25s ease-out both;}
@keyframes zpParticles{0%{opacity:0;transform:scale(.5) rotate(-18deg)}75%,100%{opacity:.92;transform:scale(1) rotate(8deg)}}
@keyframes zpParticlesOut{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.5) rotate(20deg)}}
@keyframes zpHalo{from{opacity:0;transform:scale(.72)}to{opacity:.86;transform:scale(1)}}
.portal.fx-reduced *{animation:none!important;transition:none!important;}
.portal.fx-reduced.revealed .fx-halo{opacity:.86;}
/* G15 decorates the result heading behind G14. G13 is a separate portrait overlay. */
.scout-result-heading{aspect-ratio:2.6;max-height:126px;}
.scout-result-heading .fx-result-decor{z-index:-2;object-fit:contain;}
.scout-result-heading::before{z-index:-3;inset:10% 4%;background:radial-gradient(ellipse,#634295,#251734);}
.scout-result-heading #fxRibbon{inset:16% 12%;width:76%;height:68%;}
.scout-card .reward-portrait{position:relative;aspect-ratio:2/3;max-width:130px;max-height:190px;margin:0 auto 3px;background:radial-gradient(ellipse,#dcc4f8,#544075);border-radius:8px;overflow:hidden;}
.scout-card .reward-portrait .reward-hero{position:absolute;left:10%;top:18%;width:80%;height:61%;object-fit:contain;}
.scout-card .reward-portrait .reward-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;}
.scout-card b,.scout-card small{overflow-wrap:anywhere;}
.scout-results:not([hidden]) .scout-card{animation:zpCardIn .25s ease-out both;}
@keyframes zpCardIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media (orientation:landscape) and (max-height:600px){.scout-result-heading{max-height:65px;flex:none;margin:0 auto 2px!important;}.scout-card .reward-portrait{width:min(100%,58px);max-height:88px;}.scout-results .result-cards{align-content:start;}}
@media(prefers-reduced-motion:reduce){.scout-results .scout-card{animation:none!important;}}

.scout-results.fx-reduced .scout-card{animation:none!important;}
