/* Public launch decoration only: no account data or access decisions.
 * Approved Something Borrowed composition, adapted to existing Player Vault art.
 * All moving properties are transform/opacity; artwork and shadows stay static. */
.app-launch {
  position:fixed; inset:0; z-index:10000; overflow:hidden; isolation:isolate;
  display:grid; place-items:center; background:#071d49; color:#fff;
  pointer-events: none; opacity:1;
  transition:opacity 400ms cubic-bezier(.23,1,.32,1);
  /* A failed/blocked script must never leave the page hidden. */
  animation: launch-failsafe 0s 7s forwards;
}
.app-launch__atmosphere { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.app-launch__light { position:absolute; width:160%; height:75%; left:-80%; top:-30%; border-radius:50%; background:radial-gradient(ellipse,#42649c40,transparent 66%); animation:launch-light 2900ms cubic-bezier(.77,0,.175,1) both; }
.app-launch__light--lower { left:40%; top:64%; background:radial-gradient(ellipse,#a8325429,transparent 65%); animation-direction:reverse; }
.app-launch__wash { position:absolute; inset:0; background:linear-gradient(115deg,transparent 12%,#ffffff08 44%,transparent 70%); animation:launch-wash 2600ms linear both; }
.app-launch__seam { position:absolute; width:280px; height:280px; stroke:#c6d8f7; stroke-width:.8; opacity:.13; animation:launch-seam 2700ms cubic-bezier(.77,0,.175,1) both; }
.app-launch__seam--upper { top:-100px; left:-145px; rotate:-28deg; }
.app-launch__seam--lower { bottom:-125px; right:-145px; width:360px; height:360px; rotate:145deg; animation-delay:70ms; }
.app-launch__stitches { stroke:#ff9caf; stroke-width:2; stroke-dasharray:2 9; }
.app-launch__accent { position:absolute; width:3px; height:13px; border-radius:3px; background:#ff9caf; left:15%; top:27%; rotate:35deg; animation:launch-accent 2300ms cubic-bezier(.77,0,.175,1) both; }
.app-launch__accent--second { left:auto; right:13%; top:65%; height:10px; rotate:120deg; animation-delay:70ms; }
.app-launch__accent--third { top:auto; bottom:19%; left:18%; height:8px; rotate:-35deg; animation-delay:140ms; }
.app-launch__eyebrow { position:absolute; top:max(11%,calc(24px + env(safe-area-inset-top,0px))); inset-inline:20px; text-align:center; font:600 10px/1.6 'Source Sans',Arial,sans-serif; letter-spacing:.18em; color:#c5d3eb; animation:launch-enter 240ms 80ms cubic-bezier(.23,1,.32,1) both; }
.app-launch__brand { position:relative; display:flex; flex-direction:column; align-items:center; gap:20px; padding-bottom:7vh; }
.app-launch__badge { display:grid; place-items:center; box-sizing:border-box; width:190px; height:190px; padding:20px; overflow:hidden; border-radius:50%; background:#fff; box-shadow:0 0 0 2px #ffffff18,0 0 0 9px #ffffff07,0 22px 60px #020b214d; animation:launch-enter 280ms 30ms cubic-bezier(.23,1,.32,1) both; }
.app-launch__logo { display:block; width:100%; height:100%; object-fit:contain; }
.app-launch__name { font:600 11px/1.4 'Source Sans',Arial,sans-serif; letter-spacing:.22em; animation:launch-enter 240ms 130ms cubic-bezier(.23,1,.32,1) both; }
.app-launch__tagline { margin-top:8px; font:700 42px/1.03 'Barlow','Arial Narrow',sans-serif; letter-spacing:-.025em; text-align:center; animation:launch-enter 280ms 190ms cubic-bezier(.23,1,.32,1) both; }
.app-launch__tagline span { display:block; }
.app-launch__tagline span:last-child { color:#ff9caf; }
.app-launch__footer { position:absolute; inset-inline:24px; bottom:max(8%,calc(24px + env(safe-area-inset-bottom,0px))); display:flex; flex-direction:column; align-items:center; gap:13px; color:#c5d3eb; font:400 12px/1.6 'Source Sans',Arial,sans-serif; letter-spacing:.04em; animation:launch-enter 240ms 260ms cubic-bezier(.23,1,.32,1) both; }
.app-launch__divider { width:72px; height:1px; background:linear-gradient(90deg,transparent,#ff9caf80,transparent); }
.app-launch__dots { display:flex; gap:6px; }
.app-launch__dots i { width:3px; height:3px; border-radius:50%; background:#ff9caf; animation:launch-dot 620ms 400ms cubic-bezier(.77,0,.175,1) 3 both; }
.app-launch__dots i:nth-child(2) { animation-delay:470ms; }
.app-launch__dots i:nth-child(3) { animation-delay:540ms; }
.app-launch.is-leaving { opacity:0; }
@keyframes launch-enter { from { opacity:0; transform:translateY(7px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes launch-light { from { transform:translate(-16px,-12px) scale(.97); } to { transform:translate(20px,18px) scale(1.03); } }
@keyframes launch-wash { 0% { opacity:0; transform:translateX(-24px); } 45% { opacity:1; } 100% { opacity:0; transform:translateX(28px); } }
@keyframes launch-seam { from { opacity:0; transform:translateY(9px) rotate(-2deg); } 20% { opacity:.13; } to { opacity:.11; transform:translateY(-5px) rotate(2deg); } }
@keyframes launch-accent { from { opacity:0; transform:translate(0,8px) rotate(-9deg); } 22% { opacity:.24; } to { opacity:0; transform:translate(12px,-20px) rotate(14deg); } }
@keyframes launch-dot { 0%,100% { opacity:.2; } 50% { opacity:.8; } }
@keyframes launch-failsafe { to { opacity:0; visibility:hidden; } }
@media(max-width:360px) { .app-launch__badge { width:168px; height:168px; padding:18px; } .app-launch__tagline { font-size:38px; } .app-launch__eyebrow { font-size:9px; letter-spacing:.14em; } }
@media(max-height:600px) { .app-launch__brand { gap:10px; padding-bottom:0; } .app-launch__badge { width:110px; height:110px; padding:12px; } .app-launch__tagline { font-size:30px; margin-top:0; } .app-launch__eyebrow { top:5%; } .app-launch__footer { bottom:4%; gap:6px; } }
@media (prefers-reduced-motion: reduce) { .app-launch * { animation:none; } .app-launch__accent { opacity:0; } .app-launch__wash { opacity:0; } .app-launch { transition-duration:100ms; } }
