/* Native PWA icon is shown by the OS. This web layer deliberately does not repeat it. */
/* Standalone-only visual cover. No effect on page layout, requests or workers. */
.as-splash[hidden] { display: none !important; }
.as-splash {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center; overflow: hidden;
  font-family: system-ui, -apple-system, "Noto Sans KR", sans-serif;
  isolation: isolate; text-align: center; pointer-events: auto;
  --splash-accent: #f3344a;
  animation: as-splash-appear .28s ease-out both;
}
.as-splash[data-period="day"] { background: #fff8fa url("../pwa/splash-day.ef8271ea9f78.svg") center center / cover no-repeat; color:#0b1830; }
.as-splash[data-period="night"] { background: #08172f url("../pwa/splash-night.c4355b7c43f4.svg") center center / cover no-repeat; color:#fff; }
.as-splash__core { position:relative; z-index:2; width:min(100%,380px); padding:0 20px; transform:translateY(-9vh); }
.as-splash__brand { font-size:clamp(30px,9vw,39px); font-weight:800; letter-spacing:-1.3px; line-height:1.2; animation:as-splash-rise .55s ease-out both; }
.as-splash__brand span { color:var(--splash-accent); }
.as-splash__tagline { margin:9px 0 0; font-size:14px; font-weight:500; animation:as-splash-rise .6s .07s ease-out both; }
.as-splash__graph {position:absolute; bottom:14%; left:0; width:100%; height:35%; opacity:.77; z-index:1;}
.as-splash__graph svg {width:100%; height:100%;}
.as-splash__graph path.as-splash__trend {stroke-dasharray:750;stroke-dashoffset:750;animation:as-splash-draw 1.15s .05s ease-out forwards;}
.as-splash[data-period="day"] .as-splash__graph {color:#f3344a; }
.as-splash[data-period="night"] .as-splash__graph {color:#ff455b; filter:drop-shadow(0 0 8px #ff335580);}
.as-splash__loading {position:absolute;bottom:max(7%,env(safe-area-inset-bottom));left:0;right:0;z-index:2;display:flex;flex-direction:column;align-items:center;gap:12px;}
.as-splash__dots {display:flex;gap:9px;}
.as-splash__dots i {display:block;width:8px;height:8px;border-radius:50%;background:var(--splash-accent);animation:as-splash-pulse 1.05s infinite ease-in-out;}
.as-splash__dots i:nth-child(2) {animation-delay:.15s;}
.as-splash__dots i:nth-child(3) {animation-delay:.3s;}
.as-splash__loading small {font-size:12px;opacity:.7;}
.as-splash.as-splash--leaving {animation:as-splash-away .24s ease-in both;}
@keyframes as-splash-appear {from{opacity:0}to{opacity:1}}
@keyframes as-splash-rise {from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
@keyframes as-splash-draw {to{stroke-dashoffset:0}}
@keyframes as-splash-pulse {0%,65%,100%{opacity:.23;transform:scale(.72)}35%{opacity:1;transform:scale(1)}}
@keyframes as-splash-away {to{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce) {
  .as-splash,.as-splash * {animation:none!important;transition:none!important;}
  .as-splash__graph path.as-splash__trend {stroke-dashoffset:0;}
}
