:root{--bg: #141414;--panel: #1e1e1e;--line: #2e2e2e;--accent: #39ff14;--text: #eee;--muted: #888}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}#app{display:flex;gap:20px;padding:16px;height:100vh;overflow:hidden}.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px;width:380px;flex:none;height:100%;overflow:auto}h1{font-size:17px;margin:0 0 2px}.sub{color:var(--muted);font-size:11px;margin:0 0 10px;line-height:1.5}label{display:block;font-size:12px;color:var(--muted);margin:10px 0 4px}.toglabel{display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--text)}.toglabel input{width:auto;margin:0}input[type=text],textarea{width:100%;background:#0f0f0f;border:1px solid var(--line);border-radius:8px;color:var(--text);padding:7px 10px;font-size:14px;font-family:inherit;resize:vertical}input:focus,textarea:focus{outline:none;border-color:var(--accent)}textarea{min-height:64px;line-height:1.45}.hint{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}.hint code{background:#0f0f0f;padding:1px 5px;border-radius:4px;color:var(--accent)}.row{display:flex;gap:10px}.row>div{flex:1}.colors{display:flex;gap:10px}.colors>div{flex:1;text-align:center}.colors label{margin:0 0 4px}input[type=color]{width:100%;height:32px;padding:2px;background:#0f0f0f;border:1px solid var(--line);border-radius:8px;cursor:pointer}.seg{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.seg button{flex:1;min-width:80px;margin:0;padding:8px 6px;font-size:13px;font-weight:600;background:#0f0f0f;color:var(--text);border:1px solid var(--line);border-radius:8px;cursor:pointer;font-family:inherit}.seg button.on{background:var(--accent);color:#000;border-color:var(--accent)}.filewrap{position:relative}.filebtn{display:block;text-align:center;margin-top:4px;padding:8px;background:#0f0f0f;border:1px dashed var(--accent);border-radius:8px;color:var(--text);cursor:pointer;font-size:13px}.filebtn:hover{background:#141414}.filex{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:24px;height:24px;line-height:24px;text-align:center;border-radius:50%;background:#000;border:1px solid var(--line);color:var(--muted);cursor:pointer;font-size:13px;z-index:2}.filex:hover{border-color:#ff5252;color:#ff5252}.clearbg{font-size:11px;color:var(--muted);cursor:pointer;text-decoration:underline;margin-top:6px;display:inline-block}.primary{margin-top:14px;width:100%;padding:11px;border:none;border-radius:9px;background:var(--accent);color:#000;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit}.primary:hover{filter:brightness(1.08)}input[type=file]{display:none}input[type=range]{width:100%;accent-color:var(--accent)}.stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;height:100%;overflow:hidden}.stage p{color:var(--muted);font-size:12px;margin:0}.topbar{width:100%;max-width:640px;background:var(--panel);flex:none;border:1px solid var(--line);border-radius:12px;padding:10px 16px}.cv{background:#000;border-radius:10px;box-shadow:0 8px 40px #0009;max-height:calc(100vh - 210px);max-width:100%;width:auto;height:auto;cursor:copy;border:2px dashed #4a4a4a;outline:1px solid rgba(255,255,255,.06);touch-action:none}@media (max-width: 768px){body{overflow-y:auto}#app{flex-direction:column;height:auto;overflow:visible;padding:12px;gap:12px}.stage{order:0;height:auto;overflow:visible;position:sticky;top:0;z-index:5;background:var(--bg);padding-bottom:8px}.panel{order:1;width:100%;height:auto;overflow:visible}.topbar{max-width:100%}.cv{max-height:42vh}}
