@import url('https://fonts.googleapis.com/css2?family=Jua&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--navy:#10284d;--ink:#142849;--cream:#fffaf0;--yellow:#ffe6a1;--blue:#dbe8ff;--line:#dce3e8;--shadow:0 14px 42px #10284d17}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'Noto Sans KR',sans-serif;background:#f4efe5;min-height:100vh}.ambient{position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 15% 12%,#ffedc8 0,transparent 38%),radial-gradient(circle at 90% 85%,#e0eff3 0,transparent 40%)}.phone{width:min(100%,480px);min-height:100vh;margin:auto;background:var(--cream);box-shadow:0 0 70px #152c4a18;position:relative}.topbar{display:flex;align-items:center;gap:9px;padding:20px 22px 10px}.brand-mark{background:var(--navy);color:#fff;border-radius:11px;width:35px;height:35px;display:grid;place-items:center;font-size:12px;font-weight:800;letter-spacing:-1px}.brand-name{font-size:11px;line-height:1.5;flex:1}.brand-name strong{display:block;font-size:12px}.top-chip{font-size:10px;background:#e9efff;padding:7px 9px;border-radius:99px;font-weight:800}.screen{padding:22px 25px 32px;min-height:650px;animation:appear .28s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.02em;color:#54729b}.display{font-family:'Jua','Noto Sans KR',sans-serif;font-size:clamp(36px,9vw,48px);line-height:1.17;letter-spacing:-1.8px;margin:13px 0 12px;word-break:keep-all}.subtitle{font-size:15px;line-height:1.8;color:#445777}.highlight{background:linear-gradient(transparent 20%,#ffe6a1 20%,#ffe6a1 88%,transparent 88%);padding:0 3px}.story-card{background:#fff;border:1.5px solid #dfe6ec;border-radius:24px;padding:22px 20px;line-height:1.95;font-size:14px;box-shadow:var(--shadow);margin:23px 0}.story-card p{margin:0 0 13px}.story-card p:last-child{margin:0}.bubble{border-radius:20px;background:#e1ebff;padding:16px 18px;font-size:14px;line-height:1.7;margin:13px 0;position:relative}.bubble.mine{background:#ffe7a5;margin-left:35px}.bubble.other{margin-right:32px}.sender{font-size:11px;font-weight:800;margin-bottom:5px}.document{border:2px dashed #aabbd0;background:#f8fbff;padding:18px;border-radius:16px;text-align:center;font-weight:800;line-height:1.9}.primary,.secondary{border:0;display:block;width:100%;border-radius:17px;padding:17px 16px;font-family:inherit;font-weight:800;font-size:15px;cursor:pointer;transition:transform .15s,box-shadow .15s}.primary{background:var(--navy);color:white;box-shadow:0 8px 16px #10284d2b}.primary:active,.secondary:active,.choice:active{transform:scale(.98)}.secondary{background:#fff;border:1.5px solid #d3dce7;color:var(--navy)}button:focus-visible,a:focus-visible{outline:3px solid #f3b535;outline-offset:3px}.actions{display:grid;gap:11px;margin-top:22px}.progress-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;margin-bottom:13px}.progress{display:flex;gap:5px}.progress span{height:6px;flex:1;border-radius:9px;background:#e5e5e6}.progress span.active{background:#2d578b}.question{font-family:'Jua','Noto Sans KR',sans-serif;font-size:29px;line-height:1.35;margin:29px 0 10px;letter-spacing:-.5px;word-break:keep-all}.context{font-size:14px;line-height:1.9;color:#54677f;white-space:pre-line;margin-bottom:26px}.choices{display:grid;gap:13px}.choice{width:100%;border:2px solid #dce5ef;background:#fff;border-radius:21px;text-align:left;display:flex;align-items:center;gap:14px;padding:18px 15px;min-height:87px;cursor:pointer;color:var(--navy);font-family:inherit;font-weight:700;font-size:14px;line-height:1.7}.choice:nth-child(2){background:#fff4d8;border-color:#f4dfaa}.choice .letter{width:32px;height:32px;border-radius:12px;background:#e7effe;display:grid;place-items:center;flex-shrink:0}.choice:nth-child(2) .letter{background:#ffe7a6}.back{background:transparent;border:0;font-family:inherit;font-weight:700;color:#687a8e;cursor:pointer;padding:15px 0}.mascot-stage{height:245px;display:grid;place-items:center;position:relative;margin:12px 0 4px}.mascot-stage:before{content:'';position:absolute;inset:25px 18px 10px;background:#eaf4e5;border-radius:50% 50% 44% 46%;transform:rotate(-6deg)}.mascot-stage img{width:250px;height:250px;object-fit:contain;position:relative;filter:drop-shadow(0 9px 2px #1b345219)}.mascot-stage.hero{height:260px}.mascot-stage.hero img{width:260px;height:260px}.result-tag{display:inline-block;background:#e4f5e8;border-radius:99px;padding:8px 13px;font-size:12px;font-weight:800}.result-title{font-family:'Jua',sans-serif;font-size:37px;line-height:1.2;letter-spacing:-1px;margin:15px 0 10px}.quote{font-size:17px;font-weight:800;line-height:1.6}.result-description{font-size:14px;line-height:1.95;white-space:pre-line;color:#41526d}.info{background:#f1f7f3;border-radius:20px;padding:18px;margin:20px 0;line-height:1.7;font-size:13px}.info strong{display:block;font-size:14px;margin-bottom:7px}.info .service{color:#386b63;font-weight:700}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}.mini{background:#fff;border:1px solid #e5e7e8;border-radius:14px;padding:10px 5px;text-align:center}.mini img{width:65px;height:65px}.mini span{display:block;font-size:10px;font-weight:800}.ending{background:#e8f1ff;border-radius:22px;padding:20px;line-height:2;font-size:14px}.loading{text-align:center;padding:70px 15px}.loading .mascot-stage{margin:0}.muted{color:#687a8e;font-size:12px;line-height:1.8}.tiny{font-size:11px;color:#738095}.utility{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:20px 0}.utility button{font:inherit;font-size:12px;font-weight:700;border:1px solid #dbe2eb;background:white;border-radius:12px;padding:11px 12px;cursor:pointer}.eligibility{background:#fff;border:1px solid #e2e6eb;border-radius:18px;padding:17px;margin:17px 0}.eligibility select{width:100%;font:inherit;margin-top:9px;padding:12px;border:1px solid #cdd6df;border-radius:12px;background:white}.notice{font-size:12px;color:#61718b;line-height:1.8}.hidden{display:none!important}footer{text-align:center;font-size:10px;color:#8190a0;line-height:1.8;padding:10px 24px 25px}.stars{position:absolute;color:#e9ae31;font-size:25px;z-index:2;top:20px;right:50px}.stars.left{left:25px;right:auto;top:100px}.result-share{margin-top:10px}@media(min-width:700px){.phone{margin:35px auto;border-radius:32px;min-height:calc(100vh - 70px);overflow:hidden}.screen{min-height:690px}}@media(prefers-reduced-motion:reduce){.screen{animation:none}*{scroll-behavior:auto}}

/* Illustrated edition */
.hero-animals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 25px}.hero-animal{aspect-ratio:1/1;background:#fff2d8;border-radius:17px;overflow:hidden;box-shadow:0 3px 9px #122c4c14}.hero-animal:nth-child(2){background:#e5f7e8}.hero-animal:nth-child(3){background:#f1e5fb}.hero-animal:nth-child(4){background:#ffe8dd}.hero-animal:nth-child(5){background:#def6ed}.hero-animal:nth-child(6){background:#ffe5e0}.hero-animal img{width:100%;height:100%;object-fit:cover;object-position:center 50%}.mystery-scene{margin:24px auto 7px;max-width:320px;position:relative;text-align:center}.mystery-scene img{display:block;width:100%;border-radius:24px}.mystery-label{font-size:11px;color:#8d9198;font-weight:700}.mascot-stage{height:auto;min-height:245px}.mascot-stage:before{display:none}.mascot-stage img,.mascot-stage.hero img{width:min(100%,310px);height:auto;aspect-ratio:244/192;object-fit:cover;border-radius:22px;box-shadow:0 8px 20px #122c4c15;filter:none}.mascot-stage.hero{height:auto;min-height:250px}.mini img{width:100%;height:85px;object-fit:cover;border-radius:10px}.choice img{width:65px;height:60px;object-fit:cover;border-radius:10px}.question{margin-top:20px}.choices{position:relative;z-index:1}.mystery-scene{margin-top:18px}

/* v2: standalone character art and lively question scenes */
.mascot-stage img,.mascot-stage.hero img{width:min(100%,340px);aspect-ratio:600/510;object-fit:contain;border-radius:22px;image-rendering:auto}
.hero-animal img{object-fit:contain}
.mystery-scene{max-width:320px;margin:12px auto 16px}
.mystery-scene img{width:100%;aspect-ratio:400/350;object-fit:contain;border-radius:22px;box-shadow:0 6px 17px #1b34520c}
.mystery-label{display:block;margin-top:7px;font-size:12px}
.question{margin-top:16px}.context{margin-bottom:12px}.choices{margin-top:18px}
@media(max-width:390px){.screen{padding:18px 18px 28px}.mystery-scene{max-width:275px}.question{font-size:26px}}

/* Fresh original vector artwork — no reference-image crops */
.hero-animals{gap:5px;margin:12px 0 20px}.hero-animal{background:transparent!important;box-shadow:none;overflow:visible}.hero-animal img{object-fit:contain;filter:drop-shadow(0 4px 3px #182a4015)}
.mascot-stage img,.mascot-stage.hero img{width:min(100%,390px);height:auto;aspect-ratio:440/370;object-fit:contain;border-radius:20px;box-shadow:none;image-rendering:auto}
.mystery-scene img{aspect-ratio:440/370;box-shadow:none;background:transparent}.mystery-scene{max-width:345px}.mystery-scene img{animation:characterEnter .4s ease both}
@keyframes characterEnter{from{opacity:.4;transform:translateY(13px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.mini img,.choice img{object-fit:contain}.question,.context{text-align:center}.question{font-size:clamp(25px,7vw,30px)}.context{color:#203b5b;font-weight:600}.choice{border:none;box-shadow:0 5px 10px #132f4912;background:#dceaff}.choice:nth-child(2){background:#ffecb2}.choice .letter{background:#ffffff9c}.display{text-align:center}.subtitle{text-align:center}.result-title{text-align:center}.result-tag{display:table;margin:auto}.quote{text-align:center}
@media(prefers-reduced-motion:reduce){.mystery-scene img{animation:none}}

/* v4 — approved illustrated character board, 15 separately served WebP assets */
.hero-animals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0 23px}
.hero-animal{aspect-ratio:1/1.06;border-radius:15px;overflow:hidden;background:#fff8e8!important;box-shadow:0 4px 12px #14284914}
.hero-animal:nth-child(2){background:#e7faf1!important}.hero-animal:nth-child(3){background:#f4e9ff!important}.hero-animal:nth-child(4){background:#ffeae1!important}.hero-animal:nth-child(5){background:#e5fbf2!important}.hero-animal:nth-child(6){background:#ffebea!important}
.hero-animal img{width:100%;height:100%;object-fit:cover;filter:none}
.mascot-stage img,.mascot-stage.hero img{display:block;width:min(100%,365px);height:auto;aspect-ratio:232/264;object-fit:cover;box-shadow:0 5px 15px #122c4c14;border-radius:19px;background:#fff8e9}
.mystery-scene{max-width:340px;margin:13px auto 18px}.mystery-scene img{width:100%;height:auto;aspect-ratio:1.55/1;object-fit:cover;border-radius:19px;background:#fff9ed;box-shadow:0 6px 17px #1428490e;animation:characterEnter .4s ease both}
.mini img{width:100%;height:86px;object-fit:cover}.choice img{width:65px;height:65px;object-fit:cover}
@media(max-width:390px){.mystery-scene{max-width:310px}}

/* v5: reference-faithful landing and handover only; other screens remain unchanged. */
.screen:has(.landing-screen),.screen:has(.story-screen){padding:0 18px 24px;min-height:unset}
.phone:has(.landing-screen) .topbar,.phone:has(.story-screen) .topbar{display:none}
.phone:has(.landing-screen) footer,.phone:has(.story-screen) footer{display:none}
.landing-screen,.story-screen{position:relative;text-align:center;min-height:100svh;display:flex;flex-direction:column;align-items:center;overflow:hidden}
.landing-screen{padding:38px 0 12px;justify-content:flex-start}
.landing-title{font-family:'Jua','Noto Sans KR',sans-serif;font-size:clamp(40px,11.3vw,62px);line-height:1.06;letter-spacing:-2.2px;margin:17px -8px 16px;color:#092554;position:relative;z-index:1;word-break:keep-all}
.landing-subtitle{font-family:'Jua','Noto Sans KR',sans-serif;font-size:clamp(20px,5.5vw,28px);line-height:1.3;color:#10284d;background:#ffe9a6;padding:12px 20px;border-radius:27px;z-index:1;max-width:95%;word-break:keep-all}
.landing-spark{position:absolute;font-size:34px;color:#f1b32d;top:115px}.landing-spark-left{left:2px}.landing-spark-right{right:2px;color:#35b08e}
.landing-friends{display:block;width:min(100%,425px);height:auto;object-fit:contain;margin:12px auto 8px;border-radius:7px}
.landing-action{width:100%;margin-top:auto}.landing-action .primary,.story-action .primary{border-radius:999px;padding:17px 12px;font-size:19px;font-weight:800;background:linear-gradient(180deg,#10346a,#092653)}
.landing-credit{font-family:'Jua','Noto Sans KR',sans-serif;font-size:14px;line-height:1.45;color:#0b2b57;margin:13px 0 2px}
.story-screen{padding:65px 0 18px;justify-content:flex-start;gap:0}
.story-message{width:94%;background:#dceaff;border-radius:25px;padding:19px 54px 20px 22px;text-align:left;position:relative;color:#10284d;transform:rotate(-1deg);margin-bottom:24px}
.story-message-title{font-size:12px;display:block;margin-bottom:4px;font-weight:700}.story-message strong{font-size:clamp(18px,5vw,23px);line-height:1.4;font-family:'Jua','Noto Sans KR',sans-serif;font-weight:400}
.story-envelope{position:absolute;right:-7px;top:-6px;font-size:36px;color:#2f5b96}.story-envelope i{font:700 12px 'Noto Sans KR',sans-serif;color:white;background:#f3525a;border-radius:50%;position:absolute;right:-6px;top:-2px;width:20px;height:20px;display:grid;place-items:center}
.story-narration,.story-last{font-family:'Jua','Noto Sans KR',sans-serif;font-size:clamp(17px,4.5vw,22px);line-height:1.5;color:#10284d;word-break:keep-all;margin:8px 0 24px}
.handover-paper{position:relative;width:90%;background:#fffdf5;border:3px solid #c79059;border-radius:15px;transform:rotate(-3deg);padding:32px 23px 28px;text-align:left;box-shadow:0 8px 18px #5e472315;margin:4px auto 24px}
.handover-paper h2{font-family:'Jua','Noto Sans KR',sans-serif;font-size:clamp(22px,6vw,29px);text-align:center;margin:0 0 19px;letter-spacing:-1px;color:#10284d;white-space:nowrap}
.paper-clip{position:absolute;left:22px;top:-18px;width:43px;height:30px;border:5px solid #c79059;border-radius:10px;background:#ffedcb}.paper-clip:after{content:'';position:absolute;width:12px;height:14px;border:3px solid #c79059;border-radius:7px;top:-16px;left:10px;background:#fff5df}
.paper-sticky{position:absolute;right:6px;top:-13px;color:#e4a34b;background:#ffe2a4;border:2px solid #f5af51;padding:1px 8px;border-radius:4px;font-size:19px;transform:rotate(10deg)}
.paper-task{display:flex;gap:16px;align-items:center;border-bottom:1px solid #e9e3d7;padding:11px 3px;font-family:'Jua','Noto Sans KR',sans-serif;font-size:clamp(20px,5.3vw,25px);color:#12315b}.paper-checkbox{display:block;width:27px;height:27px;border:3px solid #aeb8c4;flex-shrink:0;background:#fff}
.paper-pen{position:absolute;right:3px;bottom:-18px;font-size:56px;color:#2367ad;transform:rotate(-24deg);text-shadow:2px 2px #ffe5a3}
.story-last{margin:20px 0 23px}.story-action{width:100%;margin-top:auto}
.result-art-stage{overflow:hidden}.mascot-stage.hero.result-art-stage img.result-art-image{width:min(100%,365px);height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:19px;display:block}
@media(min-width:700px){.landing-screen,.story-screen{min-height:730px}.landing-title{font-size:55px}.landing-friends{max-width:410px}}
@media(max-width:365px){.landing-screen{padding-top:22px}.landing-title{font-size:39px}.landing-subtitle{font-size:19px}.story-screen{padding-top:38px}.story-message{margin-bottom:13px}.story-narration{margin-bottom:13px}.handover-paper{padding:24px 17px 19px;margin-bottom:12px}.paper-task{padding:8px 3px}.story-last{margin:10px 0 13px}}

/* v6: 시작 화면 하단 공식 로고 배치만 추가 */
.landing-credit{display:flex;align-items:center;justify-content:center;gap:9px;text-align:left}
.landing-credit-logo{display:block;width:47px;height:auto;flex:0 0 47px;object-fit:contain}
.landing-credit span{display:block;min-width:0}
@media(max-width:360px){.landing-credit{gap:7px}.landing-credit-logo{width:40px;flex-basis:40px}}

/* v7: show only the symbol next to the existing two-line credit */
.landing-credit-logo{width:40px;height:42px;flex:0 0 40px;object-fit:contain}

/* v8: symbol at left, both credit lines strictly at right; no caption below symbol */
.landing-credit{display:grid;grid-template-columns:40px minmax(0,max-content);align-items:center;justify-content:center;column-gap:8px;text-align:left;width:100%;margin:13px 0 2px}
.landing-credit-logo{display:block;width:40px;height:42px;object-fit:contain;grid-column:1;grid-row:1}
.landing-credit-text{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.4;font-size:clamp(11px,3.45vw,14px);white-space:nowrap}
.landing-credit-text span{display:block}
@media(max-width:360px){.landing-credit{grid-template-columns:34px minmax(0,max-content);column-gap:6px}.landing-credit-logo{width:34px;height:36px}.landing-credit-text{font-size:11px}}

/* v11: Q10 six options have equal neutral appearance; Q1-Q9 unchanged */
.priority-choices .choice,.priority-choices .choice:nth-child(2){background:#dceaff;border-color:transparent}
.priority-choices .choice .letter,.priority-choices .choice:nth-child(2) .letter{background:#ffffff9c}
.priority-choices .choice:hover{background:#d0e2ff}
