/* Entry-flow placement; panel/button appearance comes from shared HUD classes. */
#matchFlow.launchFlow{padding:calc(var(--sat) + var(--hud-space-4)) calc(var(--sar) + var(--hud-space-4)) calc(var(--sab) + var(--hud-space-4)) calc(var(--sal) + var(--hud-space-4));overflow:auto;background:var(--hud-surface-canvas);}
#matchFlow.launchFlow>:not(#launchPanel){display:none;}
body:has(#matchFlow.launchFlow:not([hidden])) #hudUtilityBar{visibility:hidden;}
#launchPanel{width:min(100%,480px);max-height:100%;overflow:auto;text-align:center;padding:var(--hud-space-6);gap:var(--hud-space-4);}
#launchPanel #launchTitle{margin:0;font:var(--hud-weight-strong) var(--hud-title-lg)/var(--hud-leading-title) var(--hud-font-display);letter-spacing:var(--hud-tracking-label);color:var(--hud-accent);}
#launchHero{justify-content:center;flex-wrap:wrap;}
.launchHeroInfo{display:flex;flex-direction:column;align-items:flex-start;gap:var(--hud-space-1);text-align:left;}
.launchHeroInfo>.hud-label{font:var(--hud-weight-label) var(--hud-space-6)/var(--hud-leading-title) var(--hud-font-display);letter-spacing:var(--hud-tracking-label);}
#launchLoading{display:flex;justify-content:center;gap:var(--hud-space-2);padding-top:var(--hud-space-1);}
#launchLoading i{width:var(--hud-space-2);height:var(--hud-space-2);border-radius:50%;background:var(--hud-accent);animation:launchLoadingPulse calc(var(--hud-motion-fast)*12) ease-in-out infinite;}
#launchLoading i:nth-child(2){animation-delay:calc(var(--hud-motion-fast)*2);}
#launchLoading i:nth-child(3){animation-delay:calc(var(--hud-motion-fast)*4);}
#launchPopulation::before{content:'●';color:var(--hud-focus);margin-right:var(--hud-space-2);}
#launchLoading[hidden],#launchPopulation[hidden]{display:none;}
@keyframes launchLoadingPulse{0%,80%,100%{opacity:var(--hud-disabled-opacity);transform:scale(.75);}40%{opacity:1;transform:scale(1);}}
@media(prefers-reduced-motion:reduce){#launchLoading i{animation:none;}}
#launchHero .heroPortrait{width:calc(var(--hud-target) + var(--hud-space-4));height:calc(var(--hud-target) + var(--hud-space-4));}
#launchPanel p{margin:0;}
#launchPanel .btn{min-height:var(--hud-target);}
#launchActions{justify-content:center;flex-wrap:wrap;}
#launchActions .btn{flex:1;min-width:var(--hud-target);}
#launchActions [hidden],#launchResultsActions[hidden]{display:none;}
#launchResultsActions{flex-wrap:wrap;gap:var(--hud-space-2);}
#launchResultsActions .btn{flex:1;min-height:var(--hud-target);font-size:var(--hud-text-xs);}
/* Rewards can grow independently of the always-visible next-match controls. */
#endcard #endProgress{min-height:0;overflow-y:auto;overscroll-behavior:contain;}
#endcard #endInner>:not(#endProgress){flex-shrink:0;}
@media(max-height:440px){#launchPanel{gap:var(--hud-space-2);}#launchHint{font-size:var(--hud-text-xs);}}
