/* CraftGrid PWA first-launch transition; browser-native splash remains manifest-controlled. */
.cg-main-launch-screen{position:fixed;inset:0;z-index:20000;display:none;place-items:center;overflow:hidden;padding:env(safe-area-inset-top) 20px env(safe-area-inset-bottom);background:radial-gradient(ellipse at 50% 45%,#fff 0%,#fbfdff 50%,#edf6ff 100%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .38s ease,visibility .38s ease;isolation:isolate}
html.cg-main-launching .cg-main-launch-screen{display:grid;opacity:1;visibility:visible;pointer-events:auto}
.cg-main-launch-screen.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
.cg-main-launch-waves{position:absolute;z-index:-1;left:0;width:100%;display:block;pointer-events:none}
.cg-main-launch-waves--top{top:0;height:clamp(145px,24svh,230px)}
.cg-main-launch-waves--bottom{bottom:0;height:clamp(155px,25svh,245px)}
.cg-main-launch-content{display:flex;flex-direction:column;align-items:center;justify-content:center;transform:translateY(-1vh)}
.cg-main-launch-icon{display:block;width:clamp(168px,45vw,224px);height:auto;object-fit:contain;border-radius:24.5%;clip-path:inset(0 round 24.5%);filter:drop-shadow(0 18px 30px rgb(20 74 145 / 18%))}
.cg-main-launch-spinner{display:block;width:34px;height:34px;margin-top:20px;border:4px solid #dce9f8;border-top-color:#0875d8;border-right-color:#5ba9ed;border-radius:50%;animation:cg-main-launch-spin .85s linear infinite}
@keyframes cg-main-launch-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.cg-main-launch-screen{transition:none}.cg-main-launch-spinner{animation-duration:1.8s}}
