@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#313452;--muted:#898ba5;--lilac:#7666df;--pink:#ff829e;--border:#eae7f4;--shadow:0 20px 45px rgba(89,76,153,.10)}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:'Nunito','Noto Sans KR',sans-serif;background:radial-gradient(circle at 10% 5%,#fff0f8,transparent 30%),radial-gradient(circle at 90% 35%,#e9e8ff,transparent 35%),#f9f8ff;min-height:100vh}button,input{font:inherit}button{cursor:pointer;border:0}.app{max-width:1120px;margin:auto;padding:24px 34px;min-height:100vh;display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between;padding:5px 0 30px}.logo{display:flex;gap:10px;align-items:center;font-size:21px;line-height:1.05;font-weight:900;letter-spacing:-1.1px}.logo small{display:block;margin-top:5px;font-size:9px;letter-spacing:2px;color:#aaa3cc}.logo-icon{display:grid;place-items:center;color:white;background:#a99af7;width:38px;height:38px;border-radius:14px;font-size:25px}.top-right{display:flex;gap:10px;align-items:center}.chip{background:#fff;padding:9px 16px;border-radius:30px;font-size:12px;font-weight:800;color:#9588c9;box-shadow:0 3px 12px #ece8fc}.icon-btn{background:white;border-radius:50%;width:36px;height:36px;color:#a197cd}.view{width:100%}.hidden{display:none!important}#welcome{display:grid;grid-template-columns:1fr 440px;gap:70px;align-items:center;max-width:1040px;margin:20px auto 35px}.intro .eyebrow,.eyebrow{color:#ae96e8;font-weight:900;font-size:12px;letter-spacing:2.5px}.intro h1,.home-top h1{font-size:clamp(38px,5vw,62px);letter-spacing:-3px;line-height:1.3;margin:20px 0}.intro h1 em,.home-top em{font-style:normal;color:#8773ee}.intro p,.home-top p{line-height:2;color:#82849c}.setup-card,.hero-card,.result-card{background:#fff;border:1px solid #f0edfa;border-radius:28px;box-shadow:var(--shadow)}.setup-card{padding:32px}.step-label{font-size:12px;font-weight:900;color:#a99ae4;display:flex;gap:12px;align-items:center;margin-bottom:15px}.step-label span{color:#353754;font-size:16px}.color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:30px}.color-option{border:2px solid transparent;border-radius:17px;background:#faf9fd;padding:15px 5px;display:grid;place-items:center;transition:.2s}.color-option.selected{border-color:#a99af7;background:#f1efff}.color-option:hover{transform:translateY(-3px)}input{outline:0;width:100%;border:2px solid #eceaf5;background:#faf9fd;border-radius:14px;padding:15px 16px;font-size:15px}input:focus{border-color:#a99af7}.selected-preview{display:flex;align-items:center;gap:17px;background:#f8f7ff;padding:16px;border-radius:18px;margin:20px 0}.selected-preview strong,.selected-preview span{display:block}.selected-preview span{color:#a1a0b5;font-size:12px;margin-top:5px}.primary{width:100%;border-radius:15px;background:linear-gradient(100deg,#8777ee,#a48cf3);color:white;font-weight:900;padding:17px 22px;box-shadow:0 8px 22px #9987ee52;display:flex;align-items:center;justify-content:space-between;transition:.2s}.primary:hover{filter:brightness(1.07);transform:translateY(-2px)}.primary.large{font-size:17px;padding:20px 24px}.secondary{background:white;color:#8d7ce4;border:1px solid #dad5f8;border-radius:15px;padding:15px 20px;font-weight:900}.text-button{display:block;margin:20px auto 0;background:none;color:#aaa3c6;text-decoration:underline;font-size:12px}.slime{--slime:#a4efbb;--edge:#4c9878;position:relative;flex-shrink:0;width:65px;height:57px;background:var(--slime);border:3px solid var(--edge);border-radius:52% 52% 42% 42% / 58% 58% 42% 42%;filter:drop-shadow(0 8px 6px #7c72b11d);box-shadow:inset -9px -8px 12px #ffffff4d,inset 7px 8px 9px #ffffff99;display:grid;place-items:center}.slime:before{content:'';position:absolute;width:24%;height:30%;background:var(--slime);border-top:3px solid var(--edge);border-left:3px solid var(--edge);border-radius:80% 10% 0 0;transform:rotate(38deg);top:-8%;left:37%}.slime:after{content:'';position:absolute;width:24%;height:10%;left:16%;top:18%;background:#ffffff99;border-radius:100%;transform:rotate(-25deg)}.slime.peach{--slime:#ffc2ce;--edge:#b66b93}.slime.blue{--slime:#a9ddff;--edge:#5d92cb}.slime.lilac{--slime:#dcc3ff;--edge:#987ac8}.face{position:relative;z-index:2;display:flex;align-items:center;gap:7px;margin-top:10px}.face i{width:5px;height:6px;background:#34475b;border-radius:50%}.face b{width:9px;height:5px;border-bottom:2px solid #34475b;border-radius:0 0 50% 50%}.slime.big{width:175px;height:153px;border-width:5px}.slime.big:before{border-width:5px}.slime.big .face{gap:20px;margin-top:24px}.slime.big .face i{width:12px;height:14px}.slime.big .face b{width:19px;height:11px;border-width:4px}.slime.small{width:52px;height:48px}.slime.small .face{gap:5px}.slime.small .face i{width:4px;height:5px}.slime .addon{position:absolute;top:-32px;left:50%;transform:translateX(-50%);font-size:48px;z-index:3;filter:drop-shadow(0 2px 1px white)}.slime.small .addon{font-size:22px;top:-15px}.slime[data-evo="cat"]:before,.slime[data-evo="cloud"]:before,.slime[data-evo="star"]:before,.slime[data-evo="mushroom"]:before{display:none}.slime[data-evo="cat"]{border-radius:40% 40% 42% 42%}.slime[data-evo="cloud"]{border-radius:50% 50% 40% 40%;transform:scaleX(1.08)}.slime[data-evo="star"]{border-radius:35% 55% 32% 55%;transform:rotate(-4deg)}.slime[data-evo="mushroom"]{border-radius:60% 60% 40% 40%}.slime[data-evo="fin"]:before{transform:rotate(65deg)}#home{max-width:530px;margin:0 auto;text-align:center}.home-top{text-align:left;display:flex;justify-content:space-between;align-items:center}.home-top h1{font-size:35px;margin:9px 0 22px}.tiny-stars{font-size:27px;color:#f9bfcf}.hero-card{padding:23px 30px 27px;overflow:hidden}.hero-meta{display:flex;justify-content:center;align-items:center;gap:12px;color:#aaa0c7;font-size:13px;font-weight:800}.level-pill{background:#ece9ff;color:#7868d9;padding:6px 13px;border-radius:40px}.hero-slime-wrap{height:225px;position:relative;display:flex;justify-content:center;align-items:center}.hero-glow{position:absolute;border-radius:50%;width:240px;height:175px;background:#f3f2ff;filter:blur(20px)}.hero-slime-wrap .slime{z-index:1;animation:float 3s ease-in-out infinite}.spark{position:absolute;color:#c3b2ec;font-size:32px}.spark.one{left:12%;top:20%}.spark.two{right:13%;bottom:30%}.hero-card h2{font-size:24px;margin:0 0 26px}.xp-head{display:flex;justify-content:space-between;font-size:13px;color:#9596ad}.xp-head strong{color:#8074c4}.progress,.question-progress{height:12px;border-radius:30px;background:#eeebfb;overflow:hidden;margin-top:10px}.progress div,.question-progress div{height:100%;width:0;background:linear-gradient(90deg,#9a88f4,#cfadfb);border-radius:30px;transition:width .4s}.hero-card p{font-size:12px;color:#aea4c4;margin:12px 0 0}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0}.stat{background:white;border-radius:17px;padding:16px 6px;border:1px solid #eeeafa}.stat span,.stat strong{display:block}.stat span{color:#aaa3b8;font-size:11px}.stat strong{font-size:22px;margin-top:6px}.under-btn{font-size:12px;color:#aaa4ba;margin:14px 0 0}#quiz{max-width:530px;margin:0 auto}.quiz-header,.quiz-info{display:flex;align-items:center;justify-content:space-between}.back-btn{background:none;color:#9991b4;font-weight:800}.quiz-header>span{font-weight:900;color:#7b6fbc;font-size:13px}.heart-label{color:#e78aaf!important}.question-progress{height:7px;margin:18px 0 22px}.quiz-info{padding:0 10px 20px}.quiz-info>div{display:flex;flex-direction:column;gap:4px}.mini-label{font-size:11px;color:#aaa5c3;font-weight:900;letter-spacing:1px}.quiz-info strong{font-size:27px}.question-panel{border-radius:28px;background:white;border:1px solid #eeebfa;padding:22px 27px 25px;box-shadow:var(--shadow);text-align:center}.question-type{display:inline-block;background:#f1efff;color:#8170d9;border-radius:20px;padding:7px 15px;font-size:12px;font-weight:900}.timer-ring{width:64px;height:64px;margin:23px auto 8px;border:5px solid #eee9fb;border-top-color:#a48bf0;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#7e69d8}.timer-ring span{font-size:22px;font-weight:900;line-height:1}.timer-ring small{font-size:8px;font-weight:900}.timer-ring.urgent{border-top-color:#fa8ca0;color:#e56c89}.question-panel h2{font-size:clamp(32px,6vw,46px);letter-spacing:-1.4px;margin:24px 0 4px}.question-panel p{color:#a5a3b7;font-size:13px;margin:0 0 24px}.answers{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.answer{border-radius:16px;background:#f6f5fc;border:2px solid #efecfa;color:#4e4a71;font-size:25px;font-weight:900;min-height:82px;transition:.15s}.answer:hover{background:#eeebff}.answer:disabled{cursor:default}.answer.correct{background:#e2f8eb;border-color:#74d5a3;color:#26885c}.answer.wrong{background:#ffebee;border-color:#fba5b2;color:#c85775}.feedback{height:25px;margin-top:15px;color:#8273d6;font-size:13px;font-weight:800}.quiz-friend{display:flex;align-items:center;justify-content:center;gap:15px;color:#a6a1bc;font-size:13px;padding:30px 0}.result-header{text-align:center}.result-header h1{font-size:38px;margin:9px 0 4px}.result-header h1 span{color:#f4bd78}.result-header p{font-size:14px;color:#9e9ab0}#result{max-width:530px;margin:0 auto}.result-card{margin:25px 0 20px;padding:29px;display:flex;align-items:center;flex-direction:column}.result-card>.slime{transform:scale(.8);margin:-15px 0}.result-score{font-size:47px;font-weight:900;line-height:1.1;color:#796ae3;margin:7px 0 24px}.result-score small{display:block;text-align:center;font-size:10px;letter-spacing:2px;color:#b3a9cd}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:8px}.result-grid>div{text-align:center;background:#f8f7fe;border-radius:13px;padding:16px 5px}.result-grid span,.result-grid strong{display:block}.result-grid span{font-size:11px;color:#aaa5c1}.result-grid strong{font-size:17px;margin-top:5px}.level-notice{border-radius:12px;background:#fef5de;color:#a47630;padding:15px;margin-top:18px;font-size:13px;font-weight:800;width:100%;text-align:center}#result>.secondary{width:100%;margin-top:12px}.modal{position:fixed;inset:0;background:#26233c88;z-index:30;display:grid;place-items:center;padding:20px}.modal-card{background:white;border-radius:24px;padding:28px;width:min(400px,100%);text-align:center;box-shadow:var(--shadow)}.modal-card h3{margin:0 0 8px}.modal-card p{color:#9691aa;font-size:13px;line-height:1.7}.modal-buttons{display:flex;gap:12px;margin-top:24px}.modal-buttons button{flex:1}.danger{background:#ed8eaa;color:white;padding:14px 20px;border-radius:15px;font-weight:900}footer{text-align:center;padding:34px 0 5px;margin-top:auto;color:#c0b9d4;font-size:10px;letter-spacing:1.6px}@keyframes float{50%{transform:translateY(-9px)}}@media(max-width:760px){.app{padding:17px 18px}header{padding-bottom:23px}.chip{display:none}#welcome{display:flex;flex-direction:column;align-items:stretch;gap:22px;margin:0 auto 25px;max-width:500px}.intro h1{font-size:34px;margin:12px 0}.intro p{font-size:13px;line-height:1.7}.setup-card{padding:22px}.color-option{padding:10px 4px}.color-option .slime{transform:scale(.77)}.home-top h1{font-size:29px}.hero-card{padding:22px}.quiz-friend{padding:20px 0}.question-panel{padding:20px 18px}.answer{min-height:74px}footer{padding-top:28px}}@media(max-width:390px){.intro h1{font-size:30px}.hero-slime-wrap{height:205px}.stat-row{gap:7px}.stat strong{font-size:19px}.setup-card{padding:16px}}
