*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Noto Sans CJK KR','Apple SD Gothic Neo','Malgun Gothic','Noto Sans KR',sans-serif;background:#E7DDD2;color:#4A3B35}
@font-face{font-family:'Do Hyeon';src:url('fonts/DoHyeon-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
#app{max-width:420px;margin:0 auto;min-height:100vh;background:#FFF8EE;position:relative;display:flex;flex-direction:column;box-shadow:0 0 0 1px rgba(90,64,54,.04)}
#app[data-screen="loading"],#app[data-screen="unavailable"],#app[data-screen="busy"],#app[data-screen="consent"]{background:linear-gradient(180deg,#FFF1D6,#FFE3DA)}
#app[data-screen="result"]{background:#EFF9F5}
.screen{display:none;padding-top:10px}
.screen.on{display:block;flex:1 0 auto}
.h{font-family:'Do Hyeon','Noto Sans CJK KR','Apple SD Gothic Neo',sans-serif;font-weight:400}
button,input,select{font-family:inherit}
button{border:0;cursor:pointer;background:none;color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3A9C80;outline-offset:2px}
.top{display:flex;align-items:center;justify-content:space-between;padding:6px 20px 10px;gap:8px}
.logo{font-size:24px;color:#FF7F6B;display:flex;align-items:center;gap:4px}
.logo small{color:#5BBFA4;font-size:24px}
.logo img{height:30px}
.back{width:36px;height:36px;border-radius:12px;background:#fff;font-size:18px;box-shadow:0 2px 6px rgba(0,0,0,.06);color:#4A3B35;flex:none}
.wrap{padding:0 20px}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:20px;height:58px;font-size:19px;color:#fff;background:#FF8C78;box-shadow:0 6px 0 #E8705C;font-family:'Do Hyeon',sans-serif;width:100%}
.btn:active{transform:translateY(3px);box-shadow:0 3px 0 #E8705C}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.btn.mint{background:#6CCBB0;box-shadow:0 4px 0 #4FAF94}
.btn.ghost{background:#fff;color:#FF7F6B;box-shadow:none;border:2px solid #FFD3C9}
.card{background:#fff;border-radius:24px;padding:16px;box-shadow:0 4px 16px rgba(255,140,120,.12)}
.foot{margin-top:auto;text-align:center;font-size:12px;color:#8C7A70;padding:18px 16px 22px;line-height:1.55}
.foot p+p{margin-top:4px}
.foot-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:6px}
.foot-links button{color:#3A9C80;font-weight:700;text-decoration:underline;font-size:12px}
.hero{background:linear-gradient(160deg,#FFE3DA,#FFF1D6 60%,#DDF4EC);border-radius:28px;padding:24px 20px 22px;text-align:center}
.hero-sub{font-size:13px;color:#FF7F6B;font-weight:700}
.hero-title{font-size:31px;line-height:1.25;margin:10px 0 6px}
.hero-desc{font-size:13.5px;color:#8C7A70}
.hero-chars{display:flex;justify-content:center;align-items:flex-end;gap:14px;margin:40px 0 14px;position:relative}
.hero-chars img{height:110px}
.bubble{position:absolute;top:-30px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fff;border:2px solid #5A4036;border-radius:14px 14px 14px 2px;padding:3px 9px;font-size:12px;font-weight:700}
.how{margin-top:18px}
.how ol{margin:8px 0 0 20px;font-size:14px;line-height:2}
.char{object-fit:contain;display:block}
.ci{height:1.5em;vertical-align:-0.42em;object-fit:contain}
.label{font-size:14px;font-weight:700;margin:12px 0 8px;color:#6B574E;display:block}
.hint{font-weight:400;font-size:12px;color:#A08F84}
.note{font-size:12.5px;color:#8C7A70;line-height:1.45;margin:8px 0 0}
.seg{display:flex;gap:8px}
.seg>button{flex:1;height:48px;border-radius:16px;background:#fff;border:2px solid #F1E4D8;display:flex;align-items:center;justify-content:center;gap:6px;font-size:15px;font-weight:700;color:#8C7A70}
.seg>button[aria-checked="true"]{background:#FFEDE8;border-color:#FF8C78;color:#FF6F59}
.seg>button[aria-checked="true"].minty{background:#E3F6F0;border-color:#6CCBB0;color:#3A9C80}
.input{height:48px;border-radius:16px;background:#fff;border:2px solid #F1E4D8;padding:0 16px;font-size:16px;width:100%;color:#4A3B35;outline:none}
.input:focus{border-color:#FF8C78}
.photo{display:flex;align-items:center;justify-content:center;margin:4px auto 0;width:150px;height:150px;border-radius:32px;background:#fff;border:3px dashed #FFC9BC;text-align:center;font-size:13px;color:#A08F84;overflow:hidden;cursor:pointer;position:relative}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}
.photo.has img{display:block}
.photo.has span{display:none}
.photo:focus-within{border-color:#FF8C78;box-shadow:0 0 0 3px rgba(255,140,120,.28)}
.sr-file{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.acwrap{position:relative}
.ac{position:absolute;left:0;right:0;top:46px;background:#fff;border:2px solid #FF8C78;border-top:0;border-radius:0 0 16px 16px;z-index:5;max-height:220px;overflow:auto}
.ac[hidden]{display:none}
.ac>button{width:100%;padding:10px 14px;font-size:14.5px;display:flex;gap:8px;align-items:center;cursor:pointer;border-top:1px solid #F7EDE4;text-align:left;background:#fff}
.ac>button:hover,.ac>button.active{background:#FFF4EF}
.ac .sub{margin-left:auto;font-size:11.5px;color:#A08F84}
.ac .raw{color:#FF7F6B;font-weight:700}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.chips button{padding:6px 11px;border-radius:999px;background:#fff;border:1.5px solid #F1E4D8;font-size:13px;font-weight:700;color:#8C7A70}
.chips button[aria-pressed="true"]{background:#FFEDE8;border-color:#FF8C78;color:#FF6F59}
.chips button.mix{border-style:dashed}
.err{color:#E5533D;font-size:13px;font-weight:700;margin-top:10px;min-height:1.2em}
.example-note{font-size:12.5px;color:#8C7A70;margin:14px 0 8px;line-height:1.45}
.example-picks{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.ex-pick{background:#fff;color:#3A9C80;border:1.5px solid #B7E6D8;border-radius:999px;padding:8px 10px;font-size:12.5px;font-weight:700}
.spin-wrap{position:relative;width:240px;height:240px;margin:0 auto}
.spin-bg{position:absolute;inset:0;border-radius:50%;background:#fff;box-shadow:0 10px 30px rgba(255,140,120,.25)}
.spin{position:absolute;inset:16px;border-radius:50%;border:6px solid #FFE0D8;border-top-color:#FF8C78;border-right-color:#6CCBB0;animation:sp 1.2s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.spin-chars{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:4px;padding-top:8px}
.mag{position:absolute;right:0;top:10px;font-size:50px;transform:rotate(-15deg)}
.bar{width:min(260px,80%);height:14px;border-radius:99px;background:#fff;margin:22px auto 8px;overflow:hidden}
#barIn{width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#FF8C78,#FFB547);transition:width .3s}
.steps{margin:26px auto 0;width:min(300px,100%);text-align:left;font-size:14px;line-height:2.1}
.steps .d{color:#4A3B35}.steps .n{color:#FF7F6B;font-weight:700}.steps .w{color:#C3B4AA}
.center-copy{text-align:center;padding:28px 24px 12px}
.center-copy .chars{display:flex;justify-content:center;gap:6px}
.center-copy .chars img{height:120px}
.center-copy h1{font-size:25px;line-height:1.35;margin-top:8px}
.center-copy .sub{font-size:13.5px;color:#8C7A70;margin-top:12px;line-height:1.5}
.stack{padding:8px 24px 28px;display:flex;flex-direction:column;gap:12px}
.check{display:flex;gap:10px;align-items:flex-start;background:#fff;border-radius:16px;padding:12px;font-size:14px;line-height:1.45;text-align:left}
.check input{margin-top:3px;width:18px;height:18px;flex:none}
.rc{padding:14px 16px 10px;border-radius:28px}
.rc-head{display:flex;gap:12px;align-items:center}
.rc-pic{width:84px;height:84px;flex:none;border-radius:22px;background:#DDF4EC;overflow:hidden}
.rc-pic img{width:100%;height:100%;object-fit:cover}
.meta{font-size:12px;color:#A08F84;font-weight:700}
.est{display:inline-block;margin-top:3px;font-size:11px;font-weight:700;color:#C27A12;background:#FFF1D6;border-radius:999px;padding:2px 9px}
.nick{font-size:22px;line-height:1.2;color:#3A9C80;margin-top:3px}
.ttl{display:inline-block;font-size:11px;font-weight:700;color:#fff;background:linear-gradient(90deg,#FFB547,#FF8C78);border-radius:99px;padding:2px 9px;margin-top:4px}
.box{font-size:12.5px;line-height:1.5;margin-top:7px;padding:8px 11px;border-radius:13px}
.box.soft{background:#FFF8EE}.box.peach{background:#FFF1EC}.box.gold{background:#FFF1D6}
.idx-h{display:flex;align-items:center;gap:5px;margin:10px 2px 2px}
.idx-h .h{font-size:16px}
.idx-h .tags{margin-left:auto;display:flex;gap:4px}
.tag{font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:99px}
.t운{background:#FFF1D6;color:#C27A12}
.t성향{background:#E3F6F0;color:#3A9C80}
.t재미{background:#FDE7F0;color:#D0578A}
.row{padding:5px 0;border-bottom:1px dashed #F1E4D8}
.row:last-child{border:0}
.row-h{display:flex;align-items:center;gap:6px}
.row-h b{font-size:14px}
.stars{color:#FFB547;letter-spacing:1px;font-size:14px;margin-left:auto;white-space:nowrap}
.stars i{color:#EADFD5;font-style:normal}
.cm{font-size:11.5px;color:#9A887D;padding-left:22px}
.ev{font-size:11px;color:#5BBFA4;padding-left:22px;font-weight:700}
.share{display:flex;gap:8px;margin-top:12px}
.share .btn{flex:1;height:56px;flex-direction:column;gap:0;font-size:13.5px;line-height:1.2;border-radius:18px}
.share .btn span{font-size:17px}
.sign{display:flex;justify-content:flex-end;align-items:center;gap:4px;font-size:10.5px;color:#B5A69C;margin-top:6px}
.sign img{height:17px}
.ex-banner{background:#FFF6D8;color:#8A5A10;font-weight:800;font-size:13px;text-align:center;padding:8px 10px;border-radius:14px;margin-bottom:10px;border:2px dashed #E3B15A;line-height:1.4}
.ex-banner.replay{background:#F4F7F6;color:#4A3B35;border-color:#D5E4DE}
.result-note{font-size:13px;font-weight:700;color:#8A5A10;text-align:center;margin:0 0 10px}
.legal{padding:4px 22px 12px;font-size:14.5px;line-height:1.7}
.legal h1{font-size:28px;line-height:1.3;margin:6px 0 10px}
.legal h2{font-size:18px;margin:18px 0 6px}
.legal ul{margin:4px 0 0 18px}
.legal li{margin:4px 0}
.page-legal{max-width:720px;margin:0 auto;background:#FFF8EE;min-height:100vh;padding:28px 22px 48px}
.page-legal a{color:#3A9C80;font-weight:700}
#toast,#copyStatus{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#4A3B35;color:#fff;padding:9px 16px;border-radius:99px;font-size:13px;opacity:0;transition:.3s;pointer-events:none;z-index:9;max-width:90vw;text-align:center}
#toast.on,#copyStatus.on{opacity:.94}
#copyStatus{bottom:64px}
@media (max-width:839px){body{background:#FFF8EE}#app{box-shadow:none}}
@media (min-width:840px){#app{margin:28px auto;border-radius:32px;min-height:calc(100vh - 56px)}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spin{animation:none}#barIn{transition:none}}
