:root{--bg:#140c14;--surface:#221622;--surface-2:#2e1d2d;--line:#3d2a3b;--text:#f6eef4;--muted:#b39fb0;--accent:#ff5c8a;--accent-2:#ff8fb0;--radius:16px}*{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--bg);color:var(--text)}body{-webkit-font-smoothing:antialiased;min-height:100dvh;font-family:Pretendard,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}.shell{flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;display:flex}.primary{text-align:center;border-radius:var(--radius);background:linear-gradient(135deg, var(--accent), #c13584);width:100%;padding:16px;font-size:17px;font-weight:700;display:block}.ghost{text-align:center;color:var(--muted);padding:14px;font-size:14px;display:block}.landing{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:32px 16px;display:flex}.landing .logo{font-size:56px}.landing h1{letter-spacing:-1px;font-size:36px}.landing p{color:var(--muted);margin-bottom:24px;line-height:1.6}.setup{flex-direction:column;flex:1;display:flex}.setup-head{background:var(--bg);z-index:2;align-items:center;gap:12px;padding:16px;display:flex;position:sticky;top:0}.back{width:32px;font-size:28px;line-height:1}.progress{background:var(--surface-2);border-radius:99px;flex:1;height:6px;overflow:hidden}.progress-bar{background:var(--accent);height:100%;transition:width .3s}.step-count{color:var(--muted);text-align:right;min-width:32px;font-size:13px}.step{flex:1;padding:8px 16px 120px}.step h1{letter-spacing:-.5px;font-size:26px}.step .sub{color:var(--muted);margin:6px 0 20px;font-size:15px}.step h3{margin:22px 0 10px;font-size:15px}.step h3 small{color:var(--muted);margin-left:6px;font-size:12px;font-weight:400}.grid{gap:8px;display:grid}.chip{background:var(--surface);border:1.5px solid var(--line);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:52px;padding:14px 6px;transition:border-color .15s,background .15s;display:flex}.chip.on{border-color:var(--accent);background:#ff5c8a24}.chip-emoji{font-size:24px}.chip-label{font-size:14px;font-weight:600}.chip-desc{color:var(--muted);font-size:12px}.text{width:100%;font:inherit;background:var(--surface);border:1.5px solid var(--line);color:var(--text);border-radius:12px;outline:none;padding:14px 16px;font-size:16px}.text:focus{border-color:var(--accent)}.height{padding:32px 0}.height-value{text-align:center;letter-spacing:-2px;font-size:64px;font-weight:800}.height-value span{color:var(--muted);margin-left:4px;font-size:22px}.height input{width:100%;accent-color:var(--accent);margin-top:24px}.height-scale{color:var(--muted);justify-content:space-between;font-size:12px;display:flex}.notice{background:var(--surface);color:var(--muted);border-radius:12px;margin-top:20px;padding:14px;font-size:14px}.setup-foot{background:linear-gradient(transparent, var(--bg) 30%);width:100%;max-width:480px;padding:16px;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.summary,.home{text-align:center}.home{flex-direction:column;flex:1;align-items:center;padding:48px 16px 24px;display:flex}.avatar-ph{background:radial-gradient(circle, var(--surface-2), var(--surface));border:2px solid var(--accent);border-radius:50%;place-items:center;width:120px;height:120px;margin:8px auto 16px;font-size:60px;display:grid}.avatar-ph.big{width:180px;height:180px;font-size:90px}.summary h2,.home h1{font-size:26px}.rel{color:var(--muted);margin:6px 0 20px;font-size:14px}.summary dl{text-align:left;background:var(--surface);border-radius:var(--radius);grid-template-columns:64px 1fr;gap:10px;padding:16px;font-size:14px;display:grid}.summary dt{color:var(--muted)}.summary details{text-align:left;color:var(--muted);margin-top:16px;font-size:12px}.summary code{background:var(--surface);word-break:break-word;border-radius:10px;margin-top:8px;padding:12px;line-height:1.5;display:block}.actions{grid-template-columns:repeat(3,1fr);gap:10px;width:100%;margin-top:8px;display:grid}.action{border-radius:var(--radius);background:var(--surface);flex-direction:column;align-items:center;gap:6px;padding:18px 0;font-size:26px;display:flex}.action span{font-size:14px;font-weight:600}.hint{color:var(--muted);margin:16px 0 auto;font-size:13px}.lab{padding:0 16px 48px}.lab-head{align-items:center;gap:8px;padding:16px 0 8px;display:flex}.lab-head h1{font-size:22px}.lab .sub{color:var(--muted);margin-bottom:16px;font-size:14px;line-height:1.6}.lab .sub b{color:var(--text)}.field{margin-bottom:12px;display:block}.field>span{justify-content:space-between;margin-bottom:8px;font-size:14px;font-weight:600;display:flex}.field small{color:var(--muted);font-weight:400}textarea.text{resize:vertical;line-height:1.6}.lab-controls{justify-content:space-between;align-items:center;gap:12px;margin:8px 0 16px;display:flex}.toggle{align-items:center;gap:8px;font-size:14px;display:flex}.toggle input{accent-color:var(--accent);width:18px;height:18px}.primary.small{width:auto;padding:12px 18px;font-size:15px}.primary:disabled{opacity:.4}.notice code,.footnote code{background:var(--surface-2);border-radius:6px;padding:1px 6px;font-size:12px}.cards{gap:12px;margin:16px 0;display:grid}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}.card.off{opacity:.55}.card-head{justify-content:space-between;align-items:baseline;display:flex}.card h2{font-size:18px}.avg{color:var(--accent-2);font-size:14px;font-weight:700}.how{color:var(--muted);margin:4px 0 8px;font-size:13px}.muted{color:var(--muted);font-size:13px}.err{color:#ff8a8a;word-break:break-word;font-size:13px}.ghost-btn{border:1px solid var(--line);border-radius:10px;margin-top:4px;padding:10px 14px;font-size:14px}.sample{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.sample-meta{justify-content:space-between;margin-bottom:8px;font-size:14px;display:flex}.sample audio{width:100%;height:40px}.stars{gap:2px;margin-top:6px;display:flex}.stars button{color:var(--line);padding:2px;font-size:22px}.stars button.on{color:#ffc94d}.footnote{color:var(--muted);margin-top:16px;font-size:12px;line-height:1.7}
