*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden;background:#04050e;color:#e8ecff;font-family:Segoe UI,Helvetica Neue,Arial,sans-serif;-webkit-user-select:none;user-select:none}#app{position:relative;width:100%;height:100%}#scene-container{position:absolute;top:0;right:0;bottom:0;left:0}#scene-container canvas{display:block}#sidebar{position:absolute;top:0;left:0;bottom:0;width:322px;padding:20px 18px 30px;overflow-y:auto;background:linear-gradient(180deg,#0a0d1cd1,#060814db);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-right:1px solid rgba(130,150,255,.14);transition:transform .35s ease;z-index:10}body.sidebar-hidden #sidebar{transform:translate(-105%)}#sidebar::-webkit-scrollbar{width:6px}#sidebar::-webkit-scrollbar-thumb{background:#7c8cff40;border-radius:3px}#collapse-btn{position:absolute;top:16px;left:334px;width:30px;height:30px;border:1px solid rgba(130,150,255,.25);border-radius:50%;background:#0a0d1ccc;color:#aab8ff;font-size:16px;line-height:1;cursor:pointer;z-index:11;transition:left .35s ease,transform .35s ease}body.sidebar-hidden #collapse-btn{left:14px;transform:rotate(180deg)}#collapse-btn:hover{background:#7c8cff40}.brand-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.brand h1{font-size:21px;font-weight:800;letter-spacing:4px;text-transform:uppercase;background:linear-gradient(90deg,#8ab4ff,#c48aff 55%,#ff8ad8);-webkit-background-clip:text;background-clip:text;color:transparent}.brand .subtitle{margin-top:4px;font-size:11.5px;letter-spacing:1px;color:#7d88b4}.help-btn{flex:none;width:30px;height:30px;padding:0;border:1px solid rgba(130,150,255,.25);border-radius:50%;background:#0a0d1ccc;color:#aab8ff;font-size:16px;font-weight:700;line-height:1;cursor:pointer;transition:background .15s ease}.help-btn:hover{background:#7c8cff40}#help-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:24px}#help-overlay[hidden]{display:none}.help-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#02040e8c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.help-panel{position:relative;width:min(400px,100%);max-height:80vh;display:flex;flex-direction:column;background:linear-gradient(180deg,#0a0d1cf0,#060814f5);border:1px solid rgba(130,150,255,.18);border-radius:14px;box-shadow:0 18px 50px #00000073;overflow:hidden;z-index:1}.help-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 12px;border-bottom:1px solid rgba(255,255,255,.07)}.help-header h2{font-size:15px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#c9d2f0}.help-close{width:30px;height:30px;border:1px solid rgba(130,150,255,.25);border-radius:50%;background:#0a0d1ccc;color:#aab8ff;font-size:20px;line-height:1;cursor:pointer}.help-close:hover{background:#7c8cff40}.help-body{padding:6px 18px 22px;overflow-y:auto;-webkit-user-select:text;user-select:text}.help-body::-webkit-scrollbar{width:6px}.help-body::-webkit-scrollbar-thumb{background:#7c8cff40;border-radius:3px}.help-section{margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07)}.help-section:first-child{margin-top:8px;padding-top:0;border-top:none}.help-section h3{font-size:11px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:#8f9bc4;margin-bottom:10px}.help-lead{font-size:13px;line-height:1.45;color:#aab4d8;margin-bottom:10px}.help-term{margin:0 0 10px}.help-term dt{font-size:13px;font-weight:700;color:#b9c4ff;margin-bottom:2px}.help-term dd{font-size:13px;line-height:1.45;color:#aab4d8}.help-term em{font-style:italic;color:#c9d2f0}.section{margin-top:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07)}.section-title{font-size:11px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:#8f9bc4;margin-bottom:10px}.body-list{display:flex;flex-direction:column;gap:2px}.body-row{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:8px;cursor:pointer;color:#c9d2f0;font-size:13px}.body-row:hover{background:#7c8cff17}.body-row.active{background:#7c8cff2e;color:#fff}.body-row .dot{width:12px;height:12px;border-radius:50%;flex:none}.body-row .kind{margin-left:auto;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#6b76a3}.row{margin:9px 0}.row-label{display:flex;justify-content:space-between;font-size:12px;color:#aab4d8;margin-bottom:3px}.row-label .val{color:#92a2ff;font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:#7c8cff;cursor:pointer}input[type=text]{width:100%;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);color:#e8ecff;border-radius:6px;padding:6px 9px;font-size:13px;outline:none}input[type=text]:focus{border-color:#7c8cff8c}select{width:100%;background:#14182ee6;border:1px solid rgba(255,255,255,.12);color:#e8ecff;border-radius:6px;padding:6px 8px;font-size:13px;outline:none;cursor:pointer}.btnrow{display:flex;gap:8px;margin-top:12px}.btn{flex:1;padding:9px 10px;border:none;border-radius:8px;background:linear-gradient(135deg,#5661ff,#9b4dff);color:#fff;font-weight:700;font-size:12px;letter-spacing:.4px;cursor:pointer;transition:filter .15s ease,transform .05s ease}.btn:hover{filter:brightness(1.18)}.btn:active{transform:scale(.98)}.btn.ghost{background:#7c8cff24;color:#b9c4ff}.btn.danger{background:linear-gradient(135deg,#f56,#b2233c)}.check-row{display:flex;align-items:center;justify-content:space-between;margin:9px 0;font-size:12.5px;color:#aab4d8}.check-row input{accent-color:#7c8cff;width:16px;height:16px;cursor:pointer}details.colors{margin:10px 0}details.colors summary{cursor:pointer;font-size:12px;color:#8f9bc4;padding:4px 0}.color-row{display:flex;align-items:center;justify-content:space-between;margin:5px 0 5px 8px;font-size:12px;color:#aab4d8}input[type=color]{width:44px;height:26px;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:none;padding:1px;cursor:pointer}.empty-note{font-size:12.5px;color:#6b76a3;line-height:1.5}#hint{position:absolute;bottom:18px;left:50%;transform:translate(-50%);padding:8px 18px;border-radius:20px;background:#0a0d1ca6;border:1px solid rgba(130,150,255,.15);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:12.5px;color:#9aa6d4;letter-spacing:.4px;pointer-events:none;z-index:5;animation:hintFade 1.4s ease 11s forwards}@keyframes hintFade{to{opacity:0;visibility:hidden}}
