/* 구미듀오 시작 화면(#splash) — 2026-11-21 브랜딩 개편. 원본·생성기: ~/Desktop/AI프로젝트/구미듀오_브랜딩/ (gen_app.py 가 이 파일을 만든다)
   로고 = 직접 그린 글자 SVG(인라인) · 듀오 = assets/brand/duo.webp(아바타 렌더러 그림) · 구미 요정 = assets/brand/fairies.webp(6칸 스프라이트)
   상태: .boot = 스크립트 실행 전(버튼 대신 불러오는 중) · .busy = 로그인 확인 중(splash.js). 팁(대장 젤리 잔소리)은 CSS 만으로 바뀐다.
   2.43.3 손으로 고침(gen_app.py 에도 옮길 것): 맨 아래 「Made by G-Craft · v…」(.credit)를 흐름 안으로 — 안내 줄(#spConsent)이 생긴 뒤 360×780·800 등에서 서로 겹쳤다.
     위(로고)와 아래(.credit)의 auto 여백이 남는 높이를 반씩 나눠 예전처럼 가운데 + 맨 아래에 놓이고, 높이가 모자라면 겹치지 않고 아래로 이어진다. 낮은 화면 기준도 779→839 · 660→739 로 올리고, 659 이하·폭 339 이하 단계를 더함.
     배경 원 2개는 ::before/::after 대신 배경 그림으로(아래쪽 원이 화면 밖 110px 까지 스크롤을 만들던 것 제거). */
#splash{gap:8px;justify-content:flex-start;padding:18px 16px 12px;background:radial-gradient(circle 212px at 60px 80px,rgba(255,255,255,.55),rgba(255,255,255,0) 68%),radial-gradient(circle 240px at calc(100% - 50px) calc(100% - 60px),rgba(255,255,255,.55),rgba(255,255,255,0) 68%),linear-gradient(160deg,#FFD0E5 0%,#F6D6F6 28%,#E5D9FF 55%,#D2E6FF 80%,#C9EEFF 100%);overflow-x:hidden}
#splash>*{position:relative;z-index:1;flex:none}
#splash .sp-logo{margin:auto 0 0;display:flex;flex-direction:column;align-items:center;width:min(286px,76vw,36vh)}
#splash .sp-wm{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 6px 8px rgba(120,70,170,.2))}
#splash .sp-wm .gl{animation:gdLt 2.4s ease-in-out infinite;animation-delay:calc(var(--i)*.09s)}
@keyframes gdLt{0%,100%{transform:translateY(0)}45%{transform:translateY(-5px)}}
#splash .sp-pill{margin-top:-3px;font-size:18px;font-weight:800;color:#fff;letter-spacing:.12em;line-height:1;padding:7px 15px 8px 17px;border-radius:999px;background:#A88BEB;
  box-shadow:0 0 0 4px #fff,0 3px 0 4px #fff,0 3px 0 0 #7E63D3}
#splash .sp-tag{margin:2px 0 0;font-size:15px;font-weight:700;color:#5B4790;letter-spacing:.01em}
#splash .sp-hero{--H:min(186px,21vh,calc((100vw - 36px)/1.8));position:relative;width:calc(var(--H)*1.8);height:calc(var(--H)*1.46);margin:2px 0 0}
#splash .sp-hero>*{position:absolute;display:block}#splash .sp-hero svg{display:block;width:100%;height:auto;overflow:visible}
#splash .sp-floor{left:calc(50% - var(--H)*.8);top:calc(var(--H)*1.33);width:calc(var(--H)*1.6);height:calc(var(--H)*.16);border-radius:50%;background:radial-gradient(ellipse,rgba(255,255,255,.8) 0,rgba(255,255,255,.35) 45%,rgba(255,255,255,0) 70%)}
#splash .sp-duo{left:calc(50% - var(--H)*0.3756);top:calc(var(--H)*0.42);width:calc(var(--H)*0.7512);height:var(--H);z-index:1}
#splash .sp-f{background:url(../assets/brand/fairies.webp) no-repeat 0 0/600% 100%;transform-origin:50% 53.7634%;animation:gdFy 2.6s ease-in-out infinite}
@keyframes gdFy{0%,100%{transform:rotate(var(--r)) translateY(0)}50%{transform:rotate(var(--r)) translateY(calc(var(--H)*-.035))}}
#splash .sp-f.f0{--r:0deg;left:calc(50% + var(--H)*-0.3204);top:calc(var(--H)*-0.04);width:calc(var(--H)*0.6408);height:calc(var(--H)*0.6696);background-position:0% 0;z-index:2;animation-delay:0s}
#splash .sp-f.f1{--r:-8deg;left:calc(50% + var(--H)*-0.8925);top:calc(var(--H)*0.43);width:calc(var(--H)*0.445);height:calc(var(--H)*0.465);background-position:20% 0;z-index:0;animation-delay:-0.43s}
#splash .sp-f.f2{--r:8deg;left:calc(50% + var(--H)*0.4386);top:calc(var(--H)*0.46);width:calc(var(--H)*0.4628);height:calc(var(--H)*0.4836);background-position:40% 0;z-index:0;animation-delay:-0.86s}
#splash .sp-f.f3{--r:-5deg;left:calc(50% + var(--H)*-0.7525);top:calc(var(--H)*1.04);width:calc(var(--H)*0.445);height:calc(var(--H)*0.465);background-position:60% 0;z-index:2;animation-delay:-1.29s}
#splash .sp-f.f4{--r:6deg;left:calc(50% + var(--H)*0.3353);top:calc(var(--H)*1.07);width:calc(var(--H)*0.4094);height:calc(var(--H)*0.4278);background-position:80% 0;z-index:2;animation-delay:-1.72s}
#splash .sp-f.f5{--r:10deg;left:calc(50% + var(--H)*0.2898);top:calc(var(--H)*0.14);width:calc(var(--H)*0.3204);height:calc(var(--H)*0.3348);background-position:100% 0;z-index:0;animation-delay:-2.15s}
#splash .sp-d0{left:calc(50% + var(--H)*-0.495);top:calc(var(--H)*0.225);width:calc(var(--H)*0.15);height:auto;transform:rotate(-12deg);z-index:0}
#splash .sp-d1{left:calc(50% + var(--H)*0.76);top:calc(var(--H)*0.36);width:calc(var(--H)*0.12);height:auto;transform:rotate(10deg);z-index:0}
#splash .sp-d2{left:calc(50% + var(--H)*-0.85);top:calc(var(--H)*0.31);width:calc(var(--H)*0.1);height:auto;transform:rotate(0deg);z-index:0}
#splash .sp-d3{left:calc(50% + var(--H)*0.225);top:calc(var(--H)*0.045);width:calc(var(--H)*0.07);height:auto;transform:rotate(15deg);z-index:0}
#splash .sp-d4{left:calc(50% + var(--H)*-0.29);top:calc(var(--H)*0.43);width:calc(var(--H)*0.06);height:auto;transform:rotate(0deg);z-index:0}
#splash .sp-d3,#splash .sp-d4,#splash .sp-d2{animation:gdTw 2.2s ease-in-out infinite}#splash .sp-d3{animation-delay:-.7s}#splash .sp-d4{animation-delay:-1.4s}
@keyframes gdTw{0%,100%{opacity:1;scale:1}50%{opacity:.35;scale:.7}}
#splash .sp-say{display:flex;align-items:center;gap:8px;width:min(330px,90vw);margin:2px 0 0;padding:7px 14px 7px 6px;border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 4px 14px rgba(140,90,190,.14)}
#splash .sp-me{flex:none;width:40px;height:41.7978px;background:url(../assets/brand/fairies.webp) no-repeat 0 0/600% 100%;margin:-6px 0 -4px}
#splash .sp-tx{flex:1;min-width:0;text-align:left}
#splash .sp-tx b{display:block;font-size:12px;font-weight:800;color:#8466D6;letter-spacing:.02em;margin-bottom:1px}
#splash .sp-tips{display:grid}
#splash .sp-tips i{grid-area:1/1;font-style:normal;font-size:14px;line-height:1.38;color:#3D2C4E;word-break:keep-all;overflow-wrap:anywhere;opacity:0;animation:gdTip 36s linear infinite;animation-delay:calc(var(--i)*3.6s)}
@keyframes gdTip{0%{opacity:0;transform:translateY(5px)}1.2%{opacity:1;transform:none}9%{opacity:1;transform:none}10%{opacity:0;transform:translateY(-4px)}100%{opacity:0}}
#splash .startbtns{margin-top:4px}#splash .hint{margin:0;line-height:1.35;text-wrap:balance}#splash #spConsent{font-size:12.5px}
#splash .sp-load{display:none;flex-direction:column;align-items:center;gap:6px;margin-top:10px;min-height:64px;justify-content:center}
#splash .sp-load span{display:flex;gap:9px}#splash .sp-load span i{width:13px;height:13px;border-radius:50%;background:#FF9CBD;box-shadow:0 0 0 2.5px #fff;animation:gdDot 1s ease-in-out infinite}
#splash .sp-load span i:nth-child(2){background:#B9A0F0;animation-delay:.15s}#splash .sp-load span i:nth-child(3){background:#9CCBFF;animation-delay:.3s}
@keyframes gdDot{0%,100%{transform:translateY(0) scale(1,1)}40%{transform:translateY(-9px) scale(.94,1.06)}70%{transform:translateY(0) scale(1.12,.88)}}
#splash .sp-load small{font-size:14px;color:#6B5A7E}
#splash.boot .startbtns,#splash.boot #spHint{display:none}#splash.boot .sp-load,#splash.busy .sp-load{display:flex}#splash.busy .sp-load small{display:none}#splash.busy .sp-load{min-height:30px;margin-top:4px}
#splash .credit{position:relative;bottom:auto;left:auto;right:auto;margin-top:auto;padding-top:12px;font-size:13px;letter-spacing:.04em;color:#7A6A96}
@media (max-height:839px){#splash{gap:6px;padding-top:12px;padding-bottom:9px}#splash .sp-tag{display:none}#splash .sp-logo{width:min(266px,74vw,34vh)}#splash .sp-hero{--H:min(186px,20vh,calc((100vw - 36px)/1.8))}}
@media (max-height:739px){#splash .sp-logo{width:min(266px,74vw,31vh)}#splash .sp-hero{--H:min(186px,19vh,calc((100vw - 36px)/1.8))}#splash .hint{font-size:12.5px}#splash #spConsent{font-size:12px}#splash .sp-say{padding-top:5px;padding-bottom:5px}}
@media (max-height:659px){#splash .sp-hero{--H:min(186px,17.5vh,calc((100vw - 36px)/1.8))}}
@media (max-width:339px){#splash .sp-say{display:none}}
@media (prefers-reduced-motion:reduce){#splash .sp-wm .gl,#splash .sp-f,#splash .sp-d2,#splash .sp-d3,#splash .sp-d4,#splash .sp-load span i{animation:none}#splash .sp-tips i{animation:none}#splash .sp-tips i:first-child{opacity:1}}

/* 시작 화면 안내 문구: 낱말 중간 줄바꿈 방지 */
#splash .hint,#splash p{word-break:keep-all;overflow-wrap:break-word}
