:root{--page:#ECEAE3;--screen:#F7F6F2;--card:#FFFFFF;--ink:#1C1B19;--muted:#5C5A55;--soft:#6B6862;--line:#E4E1D9;--blue:#2F5BD3;--blue-soft:#DCE4F8;--orange:#B4520E;--orange-ink:#8A3E0B;--orange-soft:#F6E3D3;--slate:#3F4D6B;--slate-line:#5B6B8C;--slate-soft:#EEF1F7;--chip:#EDEBE4;--sans:"Noto Sans KR",system-ui,sans-serif;--serif:"Source Serif 4",Georgia,serif}*{box-sizing:border-box}html,body{margin:0;height:100%}body{background:var(--page);color:var(--ink);font-family:var(--sans);display:flex;justify-content:center;align-items:flex-start;padding:24px 16px}.phone{width:100%;max-width:412px;min-height:min(860px,calc(100vh - 48px));min-height:min(860px,calc(100dvh - 48px));background:var(--screen);border:1px solid #D6D2C8;border-radius:32px;padding:22px 20px;display:flex;flex-direction:column;gap:16px;box-shadow:0 8px 24px #1c1b1914;position:relative;overflow:hidden}@media(max-width:480px){body{padding:0}.phone{border:0;border-radius:0;min-height:100vh;min-height:100dvh;max-width:none;box-shadow:none}}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}input{font:inherit}.hide{display:none!important}.screen{display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.app-name{font-size:13px;color:var(--muted);padding-top:12px}h1{margin:0;font-size:26px}.back{font-size:14px;color:var(--blue);display:flex;align-items:center;gap:4px}.topbar{display:flex;justify-content:space-between;align-items:center}.gear{font-size:13px;color:var(--muted);border:1px solid #D6D2C8;border-radius:999px;padding:6px 12px;background:var(--card)}.who{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px;text-align:left;width:100%}.av{width:48px;height:48px;border-radius:50%;color:#fff;font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center;flex:none}.who b{display:block;font-size:18px}.who small{font-size:13px;color:var(--muted)}.note{font-size:12.5px;color:var(--soft);text-align:center;line-height:1.6}.mode{display:flex;align-items:center;justify-content:space-between;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:6px}.mode button{width:44px;height:44px;border-radius:12px;font-size:18px;color:var(--blue)}.mode button:active{background:var(--blue-soft)}.mode .name{font-weight:700;font-size:18px;text-align:center}.mode .name small{display:block;font-size:12px;font-weight:400;color:var(--muted)}.range{display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px}.range input{width:76px;text-align:center;font-size:18px;padding:8px;border:1px solid #D6D2C8;border-radius:10px;background:var(--screen)}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:4px}.stat small{font-size:12px;color:var(--muted)}.stat b{font-size:30px}.three .stat{align-items:center;padding:12px 6px}.three b{font-size:24px}.stepper{background:var(--chip);border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;font-size:14px}.stepper span{display:flex;gap:12px;align-items:center;font-weight:700}.stepper button{width:32px;height:32px;border-radius:50%;background:var(--card);border:1px solid #D6D2C8;font-size:18px}.btn{display:block;width:100%;text-align:center;border-radius:16px;padding:16px;font-size:16px;font-weight:700}.btn.primary{background:var(--blue);color:#fff}.btn.dark{background:var(--ink);color:#fff}.btn.ghost{background:var(--card);border:1px solid #D6D2C8;font-weight:500}.btn:disabled{opacity:.4}.spacer{flex:1}.prog{display:flex;flex-direction:column;gap:6px}.prog .row{display:flex;justify-content:space-between;font-size:12.5px;color:var(--muted)}.bar{height:6px;border-radius:3px;background:var(--line)}.bar i{display:block;height:6px;border-radius:3px;background:var(--blue);transition:width .3s}.card{flex:1;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:22px 20px;display:flex;flex-direction:column;gap:12px;min-height:280px}.card.center{align-items:center;justify-content:center;text-align:center}.card.ok{border:2px solid var(--blue)}.card.near{border:2px solid var(--slate-line)}.card.bad{border:2px solid var(--orange)}.word{font-family:var(--serif);font-size:40px;font-weight:600;word-break:break-word}.ask{font-size:13px;color:var(--muted)}.tag{align-self:flex-start;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}.tag.new{background:var(--blue-soft);color:var(--blue)}.tag.rev{background:var(--orange-soft);color:var(--orange-ink)}.card.center .tag{align-self:center}.mic{width:84px;height:84px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 8px var(--blue-soft);margin:6px auto 0}.mic svg{width:34px;height:34px}.mic.on{background:var(--orange);box-shadow:0 0 0 10px var(--orange-soft)}.listen{text-align:center;font-size:13px;color:var(--blue);font-weight:500;min-height:20px}.typebox{display:flex;gap:8px}.typebox input{flex:1;min-width:0;padding:14px;border:1px solid #D6D2C8;border-radius:14px;font-size:17px;background:var(--card)}.typebox button{padding:0 18px;border-radius:14px;background:var(--ink);color:#fff;font-weight:700}.verdict{font-size:20px;font-weight:700}.card.ok .verdict{color:var(--blue)}.card.near .verdict{color:var(--slate)}.card.bad .verdict{color:var(--orange-ink)}.heard{font-size:13px;color:var(--muted)}.hint{background:var(--slate-soft);color:var(--slate);border-radius:12px;padding:10px 12px;font-size:14px;font-weight:500}.means{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:9px}.means small{font-size:12px;color:var(--soft)}.m{display:flex;align-items:flex-start;gap:8px;font-size:16px;line-height:1.4}.m span{flex:none;min-width:22px;height:22px;padding:0 4px;border-radius:11px;background:var(--chip);font-size:11.5px;display:flex;align-items:center;justify-content:center;margin-top:1px}.m.hit{color:var(--blue);font-weight:700}.m.hit span{background:var(--blue-soft)}.ex{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:10px}.ex small{font-size:12px;color:var(--soft)}.ex p{margin:0;font-size:15px;line-height:1.5}.ex p b{color:var(--blue)}.ex p span{display:block;font-size:13.5px;color:var(--muted);margin-top:2px}.edit{margin-top:auto;font-size:13px;color:var(--muted);align-self:flex-start;border-bottom:1px dashed var(--muted)}.done{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding-top:8px}.ring{width:64px;height:64px;border-radius:50%;background:var(--blue-soft);display:flex;align-items:center;justify-content:center;font-size:28px}.score{font-size:52px;font-weight:700;line-height:1}.review{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column}.review h2{margin:0 0 6px;font-size:15px}.rv{padding:9px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.5}.rv b{font-family:var(--serif);font-size:19px;margin-right:6px}.rv .k{font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px;vertical-align:2px}.rv .k.bad{background:var(--orange-soft);color:var(--orange-ink)}.rv .k.mid{background:var(--slate-soft);color:var(--slate)}.sheet{position:absolute;inset:0;background:#1c1b1959;display:flex;align-items:flex-end}.sheet .in{background:var(--screen);width:100%;border-radius:24px 24px 0 0;padding:22px 20px;display:flex;flex-direction:column;gap:12px}.sheet textarea{width:100%;min-height:110px;font:inherit;font-size:16px;padding:12px;border:1px solid #D6D2C8;border-radius:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}.field input{padding:12px;border:1px solid #D6D2C8;border-radius:12px;font-size:16px;color:var(--ink);background:var(--card)}.empty{background:var(--card);border:1px dashed #CFCABE;border-radius:18px;padding:22px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;z-index:10;max-width:90vw}.busy{opacity:.6;pointer-events:none}.tbr{display:flex;gap:6px}.ttl{font-size:16px}.tabs{display:grid;grid-template-columns:repeat(4,1fr);background:var(--chip);border-radius:14px;padding:4px;gap:4px}.tabs button{padding:9px 0;border-radius:10px;font-size:15px;color:var(--muted)}.tabs button.on{background:var(--card);color:var(--ink);font-weight:700;box-shadow:0 1px 3px #1c1b191a}.sthead{display:flex;align-items:center;justify-content:space-between;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:12px 6px}.sthead button{width:40px;height:40px;border-radius:12px;color:var(--blue);font-size:16px}.sthead button:disabled{opacity:.2}.sthead small{display:block;font-size:12px;color:var(--muted);white-space:nowrap}.stavg{font-size:15px;margin:2px 0}.stavg b{font-size:30px;margin-left:4px}.bars{display:flex;align-items:flex-end;gap:6px;height:150px;padding:0 2px;border-bottom:1px solid var(--line)}.bars .col{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px}.bars .col i{display:block;width:100%;max-width:30px;border-radius:6px 6px 0 0;background:var(--blue);min-height:3px}.bars .col.none i{background:var(--line)}.bars .col em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--ink)}.bars .col.none em{color:var(--soft);font-weight:400}.barlbl{display:flex;gap:6px;padding:0 2px;margin-top:-10px}.barlbl span{flex:1;min-width:0;text-align:center;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden}.strow{display:flex;justify-content:space-between;align-items:baseline;padding:10px 2px;border-top:1px solid var(--line);font-size:14.5px}.strow b{font-size:16px}.strow .sub{font-size:12.5px;color:var(--muted);margin-left:8px}.strow.none{color:var(--soft)}@media(max-width:480px){.phone:has(#s-quiz:not(.hide)){height:100vh;height:100dvh}}@media(min-width:481px){.phone:has(#s-quiz:not(.hide)){height:min(860px,calc(100dvh - 48px))}}.phone:has(#s-quiz:not(.hide)) .card{overflow-y:auto;min-height:0}
