/* Approved option 03: compositor-only seal, bounded cleanup in launch.js. */
.app-launch{display:none;position:fixed;inset:0;z-index:10000;align-items:center;justify-content:center;flex-direction:column;min-height:100%;padding:max(24px,env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) max(24px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px));background:#4a101d;color:#fff7ed;text-align:center;box-sizing:border-box;pointer-events:none}
.app-launch-pending .app-launch,.app-launch-running .app-launch{display:flex}
.app-launch-pending .app-launch{animation:app-launch-failsafe 3500ms step-end forwards}
.app-launch-emblem{position:relative;isolation:isolate;width:112px;height:112px;flex-shrink:0}
.app-launch-logo{position:relative;z-index:1;width:112px;height:112px;object-fit:contain;display:block}
.app-launch-name{position:relative;margin-top:20px;font:400 40px/1.1 Georgia,serif}
.app-launch-subtitle{position:relative;margin-top:10px;color:#e3c9cf;font:400 12px/1.4 Arial,sans-serif}
.app-launch-frame{position:absolute;inset:-34px;border:1px solid #d9ae5870;transform:rotate(45deg);border-radius:8px}
.app-launch-frame-two{transform:rotate(0) scale(.88);border-color:#d9ae5830}
.app-launch-gems{position:absolute;inset:-69px}
.app-launch-gems i{position:absolute;width:6px;height:6px;background:#d9ae58;transform:rotate(45deg)}
.app-launch-gems i:nth-child(1){top:0;left:calc(50% - 3px)}
.app-launch-gems i:nth-child(2){top:calc(50% - 3px);left:0}
.app-launch-gems i:nth-child(3){top:calc(50% - 3px);right:0}
.app-launch-gems i:nth-child(4){bottom:-70px;left:calc(50% - 3px)}
.app-launch-pending :is(.app-launch-emblem,.app-launch-name,.app-launch-subtitle){opacity:0}
.app-launch-running .app-launch{animation:app-launch-exit 2600ms ease forwards;will-change:opacity}
.app-launch-running .app-launch-logo{animation:app-launch-logo-in 900ms 400ms cubic-bezier(.22,1,.36,1) both}
.app-launch-running .app-launch-frame-one{animation:app-launch-seal-one 1800ms cubic-bezier(.22,1,.36,1) both}
.app-launch-running .app-launch-frame-two{animation:app-launch-seal-two 1800ms 120ms cubic-bezier(.22,1,.36,1) both}
.app-launch-running .app-launch-gems{animation:app-launch-type-in 1000ms 600ms cubic-bezier(.22,1,.36,1) both}
.app-launch-running .app-launch-name{animation:app-launch-type-in 800ms 800ms cubic-bezier(.22,1,.36,1) both}
.app-launch-running .app-launch-subtitle{animation:app-launch-type-in 800ms 1000ms cubic-bezier(.22,1,.36,1) both}
@keyframes app-launch-logo-in{from{opacity:0;transform:translateY(18px) scale(.88)}to{opacity:1;transform:none}}
@keyframes app-launch-type-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes app-launch-seal-one{from{opacity:0;transform:rotate(-45deg) scale(.4)}to{opacity:1;transform:rotate(45deg)}}
@keyframes app-launch-seal-two{from{opacity:0;transform:rotate(90deg) scale(.4)}to{opacity:1;transform:rotate(0) scale(.88)}}
@keyframes app-launch-exit{0%,85%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}
@keyframes app-launch-failsafe{to{opacity:0;visibility:hidden;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.app-launch-running .app-launch{animation-duration:200ms}.app-launch-running :is(.app-launch-logo,.app-launch-frame,.app-launch-gems,.app-launch-name,.app-launch-subtitle){animation:none}}
