/* 말랑귀 스플래시 (제안서 02 §3). 원본 디자인: docs/그래픽_원본/꼬미와친구들_ver1/splash_opus.html (가로 1280×720 · 예전 세로판은 splash_opus_portrait.html)
   splash.js 가 #spl-stage 를 화면에 맞게 줄여(contain) 가운데에 둔다. 소리는 내지 않는다. */
#splash {
  position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 50% 38%, #fffaf2 0%, #ffeedd 45%, #fde3e6 75%, #e9e6fb 100%);
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  opacity: 1; transition: opacity .3s ease;
}
#splash.spl-out { opacity: 0; pointer-events: none; }
#splash.spl-instant { transition: none; }
#spl-stage {
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px;
  transform-origin: 0 0; overflow: visible;   /* 하늘색은 #splash 가 화면 전체에 깐다. 언덕은 화면 끝까지 이어진다 */
  font-family: 'Jua', 'Gowun Dodum', sans-serif;
}
#spl-stage .spl-cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .75; }
#spl-stage .spl-cloud::before, #spl-stage .spl-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
#spl-stage .spl-cloud::before { width: 60%; height: 140%; left: 12%; top: -55%; }
#spl-stage .spl-cloud::after { width: 42%; height: 115%; right: 12%; top: -40%; }
#spl-ground { position: absolute; left: -3000px; width: 7280px; top: 690px; height: 3000px; background: #d9f0d3; border-radius: 50% 50% 0 0 / 220px 220px 0 0; }
#spl-hill { position: absolute; left: -160px; right: -160px; top: 560px; height: 420px;
            background: #d9f0d3; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
#spl-hill2 { position: absolute; left: -240px; width: 900px; top: 610px; height: 400px;
             background: #c9e8c4; border-radius: 50% 50% 0 0 / 35% 35% 0 0; }
#spl-stage .spl-ch { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; will-change: transform; opacity: 0; }
#spl-stage .spl-ch img { display: block; width: 100%; height: auto; }
#spl-title, #spl-sub { position: absolute; left: 0; width: 1280px; text-align: center; will-change: transform, opacity; margin: 0; font-weight: 400; }
#spl-title { top: 48px; font-size: 124px; line-height: 1.2; color: #ff8a3d; letter-spacing: 2px;
             text-shadow: 0 6px 0 #fff, 0 -3px 0 #fff, 4px 0 0 #fff, -4px 0 0 #fff, 0 12px 18px rgba(214,120,60,.25); }
#spl-title span { display: inline-block; will-change: transform; opacity: 0; }
#spl-sub { top: 200px; font-size: 46px; line-height: 1.3; color: #7a5a4a; opacity: 0; }
#spl-q { position: absolute; left: 0; top: 0; width: 92px; height: 92px; opacity: 0; }
#spl-stage .spl-perk { position: absolute; left: 0; top: 0; opacity: 0; }
#spl-stage .spl-star { position: absolute; left: 0; top: 0; width: 26px; height: 26px; opacity: 0; }
/* 두 번째 실행부터: 로고만 짧게 */
#splash.spl-short .spl-ch, #splash.spl-short #spl-q, #splash.spl-short .spl-perk, #splash.spl-short .spl-star { display: none; }
#spl-logo { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; pointer-events: none; }
