:root{--rose:#d93659;--rose-dark:#b72849;--rose-soft:#fff0f3;--ink:#1b1820;--muted:#716d75;--line:#ece9ed;--paper:#fff;--soft:#faf8fa}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;background:var(--paper)}body{margin:0;font-family:Pretendard,'Apple SD Gothic Neo',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:linear-gradient(180deg,#fff 0,#fff7f8 100%);min-height:100vh}
button,a{font:inherit}.test-header{height:64px;padding:8px max(18px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);position:sticky;top:0;z-index:3}.test-brand{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:19px;font-weight:850;text-decoration:none}.test-brand img{width:29px;height:29px;border-radius:9px}.test-brand span{color:var(--rose)}.back-button,.header-space{width:40px}.back-button{border:0;background:transparent;font-size:25px;color:var(--rose);cursor:pointer}.header-space{display:block}
.test-shell{width:min(100%,620px);margin:0 auto;padding:38px 22px calc(56px + env(safe-area-inset-bottom))}.eyebrow{color:var(--rose);font-weight:800;font-size:14px;letter-spacing:-.01em}.hero-title{font-size:34px;line-height:1.25;letter-spacing:-.04em;margin:10px 0 14px}.lead{font-size:17px;line-height:1.65;color:var(--muted);margin:0}.hero-card{margin:34px 0 26px;background:var(--paper);border:1px solid var(--line);border-radius:26px;padding:26px;box-shadow:0 14px 38px rgba(60,25,37,.08)}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.mini{background:var(--rose-soft);border-radius:14px;padding:12px 6px;text-align:center;font-size:13px;color:var(--rose-dark);font-weight:700}.primary,.secondary,.ghost{width:100%;min-height:54px;border-radius:15px;font-weight:800;cursor:pointer}.primary{border:0;background:var(--rose);color:#fff}.primary:disabled{opacity:.45}.secondary{border:1.5px solid var(--rose);background:#fff;color:var(--rose)}.ghost{border:0;background:transparent;color:var(--muted)}.reward-note{font-size:13px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.5}
.progress-wrap{display:flex;align-items:center;gap:14px;margin-bottom:34px}.progress{height:7px;border-radius:99px;background:var(--line);flex:1;overflow:hidden}.progress>span{display:block;height:100%;background:var(--rose);transition:width .2s}.step{font-size:13px;color:var(--muted);font-weight:700}.question{font-size:27px;line-height:1.4;letter-spacing:-.035em;margin:0 0 28px}.choices{display:grid;gap:12px}.choice{border:1.5px solid var(--line);background:#fff;border-radius:18px;text-align:left;padding:18px 20px;min-height:72px;color:var(--ink);font-weight:700;line-height:1.45;cursor:pointer}.choice:hover,.choice:focus-visible{border-color:var(--rose);background:var(--rose-soft);outline:none}
.result-card{background:linear-gradient(145deg,#fff0f3,#fff 60%);border:1px solid #f4ccd6;border-radius:28px;padding:30px 24px;text-align:center;box-shadow:0 18px 44px rgba(126,31,59,.11)}.result-kicker{font-size:14px;color:var(--rose);font-weight:800}.result-emoji{font-size:54px;margin:14px 0 4px}.result-name{font-size:34px;letter-spacing:-.045em;margin:0}.result-summary{font-size:17px;line-height:1.65;color:var(--muted);margin:14px 0 22px}.traits{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.trait{font-size:13px;color:var(--rose-dark);background:#fff;border:1px solid #f1c6d0;border-radius:99px;padding:7px 11px;font-weight:700}.actions{display:grid;gap:10px;margin-top:20px}.reward-card{margin-top:24px;border:1px solid var(--line);border-radius:20px;padding:20px;background:#fff}.reward-card h2{font-size:18px;margin:0 0 8px}.reward-card p{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 16px}.status{font-size:13px;font-weight:700;color:var(--rose-dark);margin-top:10px}.install-cta{display:block;margin-top:26px;background:var(--ink);color:#fff;border-radius:20px;padding:22px;text-decoration:none}.install-cta strong{display:block;font-size:18px}.install-cta span{display:block;color:#d7d4d9;font-size:13px;margin-top:4px}.disclaimer{font-size:12px;color:#999;text-align:center;margin-top:20px}.error{padding:28px;border-radius:18px;background:var(--rose-soft);text-align:center;color:var(--rose-dark)}
html[data-embed=true] .test-brand{pointer-events:none}html[data-embed=true] body{background:#fff}html[data-embed=true] .public-only,html[data-embed=true] .install-cta{display:none}html:not([data-embed=true]) .back-button{visibility:hidden}
@media (max-width:480px){.test-shell{padding-top:28px}.hero-title{font-size:30px}.question{font-size:24px}.result-name{font-size:30px}.hero-card{padding:22px}.test-header{height:58px}}
