.desk{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(235px,.75fr);gap:1rem}.drawing{background:#211e2b;border:1px solid #53485f;border-radius:15px;overflow:hidden;align-self:start}#paper{width:100%;display:block;touch-action:none;cursor:crosshair}#original{stroke:#ad9cbb;stroke-dasharray:4 5;fill:none;stroke-width:2}#trace{stroke:#ffb158;fill:none;stroke-width:3;stroke-linejoin:round}.caption,.actions{display:flex;gap:.6rem;flex-wrap:wrap}.caption{justify-content:space-between;padding:.8rem 1rem;color:#e0d5e9;font-size:.85rem}.controls input{width:100%;accent-color:var(--accent)}output{float:right}.actions{margin-top:1.1rem}#play{background:#efaa58;color:#211b14;font-weight:700}.spectrum{margin-top:1.5rem}.spectrum p{margin-top:-.5rem}#bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:.6rem}#bars div{padding:.7rem;background:var(--surface);border-radius:7px}#bars i{display:block;height:5px;background:#c68ccf;margin-top:.5rem;border-radius:3px}@media(max-width:740px){.desk{grid-template-columns:minmax(0,1fr)}}

/* 다듬기 */
.caption>span{display:inline-flex;align-items:center;gap:.45rem}
.k{display:inline-block;width:22px;height:0;border-top:2px dashed #ad9cbb}.k.line{border-top:3px solid #ffb158}
#play{background:var(--accent);color:#1a1206;min-width:7em}
.controls .hint{font-size:.88rem;color:var(--text-2)}
.controls label{display:block}.controls select{width:100%}
#quality{font-size:.9rem;color:var(--text-2)}
#bars div{border:1px solid var(--line);font-variant-numeric:tabular-nums}
:root[data-theme="light"] .drawing{background:#f4f1f8;border-color:#d8cfe2}
:root[data-theme="light"] .caption{color:#3f3550}
:root[data-theme="light"] #trace{stroke:#c2410c}
:root[data-theme="light"] #tip{fill:#1f1a2b}
