/* Stage-specific illustrated controls; shared screen geometry remains authoritative. */
.flight-guide-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;background:#fffdf9;border:1px solid #79a9be;border-radius:6px;padding:8px}
.flight-guide .flight-diagram{display:block;width:100%;height:auto;max-height:170px;overflow:visible}
.flight-guide strong{font:700 15px/1.2 'Courier Prime','Courier New',monospace;text-align:center;margin:5px 0 3px}
.flight-control-note{font:500 12px/1.3 'DM Sans',sans-serif;margin:5px 0 0;text-align:center;grid-column:1/-1}
.flight-rule{font:500 12px/1.35 'DM Sans',sans-serif;margin:4px 0;color:#262523}
@media(max-height:520px) and (orientation:landscape), (min-width:700px) and (max-width:999px){
 #startScreen .modal-frame{gap:4px;padding:8px 10px}
 #startScreen .flight-guide{padding:5px;gap:5px}
 #startScreen .progress-study{padding:6px 9px;font-size:12px;gap:3px 10px}
 #startScreen .progress-study strong{font-size:18px}
 #startScreen .progress-study .detail{font-size:11px}
 #startScreen .flight-guide-card{padding:3px 5px}
 #startScreen .flight-guide .flight-diagram{width:100%;height:55px!important;max-height:55px}
 #startScreen .flight-guide strong{font-size:11px;margin:1px 0 2px}
 #startScreen .flight-control-note{font-size:10px;margin:3px 0}
 #startScreen .flight-rule{font-size:10px;line-height:1.2;margin:0}
 #startScreen .modal-bottom-row{gap:5px}
}
#hudRare,#resultRareCard .item-icon-box{overflow:hidden}
#hudRareIcon,#resultRareCard .reward-art{transform:scale(1.55);transform-origin:center;flex-shrink:0}

#startScreen .flight-guide .flight-diagram{border:0;background:transparent}

/* One gentle gate glow while results appear; completion and saving are immediate. */
#endScreen.finish-reveal{animation:finish-reveal .55s ease-out both}
@keyframes finish-reveal{0%{opacity:0}35%{opacity:.12}100%{opacity:1}}
@media(prefers-reduced-motion:reduce){#endScreen.finish-reveal{animation:none}}
