*{ margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI',system-ui,sans-serif; } body{ overflow:hidden; background:#020617; color:#e2e8f0; user-select:none; } #sandboxContainer{ position:fixed; inset:0; width:100vw; height:100vh; z-index:0; } /* ========= HUD ========= */ .hud{ position:fixed; inset:0; pointer-events:none; z-index:10; } /* TOPBAR */ .topbar{ position:absolute; top:0; left:0; right:0; display:flex; justify-content:space-between; align-items:center; padding:14px 24px; background:rgba(2,6,23,0.7); border-bottom:1px solid rgba(34,197,94,0.15); backdrop-filter:blur(16px); pointer-events:auto; } .logo{ font-size:22px; font-weight:800; color:#22c55e; letter-spacing:3px; text-shadow:0 0 20px rgba(34,197,94,0.3); } .topbar-center{ display:flex; align-items:center; gap:12px; } .topbar-right{ display:flex; align-items:center; gap:12px; } .object-count{ font-size:12px; color:rgba(255,255,255,0.25); letter-spacing:1px; white-space:nowrap; } .tool-group{ display:flex; gap:4px; } .tool-btn{ pointer-events:auto; width:40px; height:40px; border:none; border-radius:10px; background:rgba(255,255,255,0.04); color:rgba(255,255,255,0.6); font-size:18px; cursor:pointer; transition:0.15s; border:1px solid transparent; } .tool-btn:hover{ background:rgba(34,197,94,0.1); color:#22c55e; } .tool-btn.active{ background:rgba(34,197,94,0.15); color:#22c55e; border-color:rgba(34,197,94,0.3); box-shadow:0 0 16px rgba(34,197,94,0.15); } .divider{ width:1px; height:28px; background:rgba(255,255,255,0.08); } .action-btn{ pointer-events:auto; padding:8px 18px; border:none; border-radius:10px; background:rgba(34,197,94,0.12); color:#22c55e; font-size:13px; font-weight:600; cursor:pointer; transition:0.15s; border:1px solid rgba(34,197,94,0.15); } .action-btn:hover{ background:rgba(34,197,94,0.2); } .action-btn.active{ background:rgba(34,197,94,0.2); border-color:rgba(34,197,94,0.4); box-shadow:0 0 12px rgba(34,197,94,0.15); } .action-btn.danger{ background:rgba(239,68,68,0.12); color:#ef4444; border-color:rgba(239,68,68,0.15); } .action-btn.danger:hover{ background:rgba(239,68,68,0.2); } .action-btn.small{ padding:6px 14px; font-size:12px; } .back-btn{ pointer-events:auto; text-decoration:none; color:rgba(255,255,255,0.6); font-size:13px; padding:8px 16px; border-radius:10px; transition:0.15s; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.06); } .back-btn:hover{ background:rgba(34,197,94,0.1); color:#22c55e; } /* STATUS INDICATOR */ .status-bar{ position:absolute; top:72px; left:50%; transform:translateX(-50%); font-size:11px; letter-spacing:2px; color:rgba(255,255,255,0.15); pointer-events:none; } /* TRANSFORM PANEL */ .transform-panel{ position:absolute; bottom:90px; left:50%; transform:translateX(-50%); width:520px; background:rgba(2,6,23,0.85); border:1px solid rgba(34,197,94,0.15); border-radius:16px; backdrop-filter:blur(20px); pointer-events:auto; display:none; overflow:hidden; box-shadow:0 0 40px rgba(34,197,94,0.05); } .panel-header{ display:flex; justify-content:space-between; align-items:center; padding:12px 18px; border-bottom:1px solid rgba(255,255,255,0.05); font-size:13px; font-weight:600; color:rgba(34,197,94,0.8); } .panel-close{ background:none; border:none; color:rgba(255,255,255,0.3); cursor:pointer; font-size:16px; } .panel-close:hover{ color:#ef4444; } .panel-body{ padding:14px 18px 18px; } .transform-group{ margin-bottom:10px; } .transform-group label{ font-size:11px; color:rgba(255,255,255,0.3); letter-spacing:1px; margin-bottom:4px; display:block; } .transform-row{ display:flex; gap:10px; } .tf{ flex:1; display:flex; align-items:center; gap:6px; } .tf span{ font-size:11px; color:rgba(255,255,255,0.25); width:14px; text-align:right; } .tf input[type="range"]{ flex:1; height:4px; -webkit-appearance:none; appearance:none; background:rgba(255,255,255,0.08); border-radius:2px; outline:none; } .tf input[type="range"]::-webkit-slider-thumb{ -webkit-appearance:none; width:14px; height:14px; border-radius:50%; background:#22c55e; cursor:pointer; border:2px solid rgba(2,6,23,0.8); box-shadow:0 0 8px rgba(34,197,94,0.3); } .transform-actions{ display:flex; gap:8px; margin-top:12px; padding-top:10px; border-top:1px solid rgba(255,255,255,0.04); } /* DIALOG */ .dialog-overlay{ position:fixed; inset:0; z-index:100; display:none; justify-content:center; align-items:center; background:rgba(2,6,23,0.7); backdrop-filter:blur(8px); pointer-events:auto; } .dialog{ background:rgba(2,6,23,0.95); border:1px solid rgba(34,197,94,0.15); border-radius:20px; padding:28px; width:380px; max-height:70vh; overflow-y:auto; } .dialog h2{ font-size:18px; margin-bottom:16px; color:#22c55e; } .scene-item{ display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:rgba(255,255,255,0.03); border-radius:10px; margin-bottom:6px; transition:0.15s; cursor:pointer; } .scene-item:hover{ background:rgba(34,197,94,0.08); } .scene-item .name{ font-size:14px; } .scene-item .date{ font-size:11px; color:rgba(255,255,255,0.25); } .scene-item .load-btn{ padding:6px 14px; background:rgba(34,197,94,0.12); border:none; border-radius:8px; color:#22c55e; font-size:12px; cursor:pointer; transition:0.15s; } .scene-item .load-btn:hover{ background:rgba(34,197,94,0.2); } .scene-item .del-btn{ padding:6px 10px; background:rgba(239,68,68,0.1); border:none; border-radius:8px; color:#ef4444; font-size:12px; cursor:pointer; margin-left:6px; } .hud-input{ width:100%; padding:12px 16px; border-radius:12px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.04); color:white; font-size:14px; outline:none; margin-bottom:10px; } .hud-input:focus{ border-color:rgba(34,197,94,0.3); } /* HELP DIALOG */ .help-dialog{ max-width:420px; } .help-grid{ display:flex; flex-direction:column; gap:6px; margin-top:8px; } .help-grid > div{ display:flex; align-items:center; gap:10px; padding:6px 10px; background:rgba(255,255,255,0.02); border-radius:8px; font-size:13px; } .help-grid kbd{ background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); border-radius:6px; padding:2px 8px; font-size:11px; color:rgba(255,255,255,0.6); font-family:inherit; min-width:48px; text-align:center; } .help-grid .gesture-icon{ font-size:16px; width:28px; text-align:center; } /* CAM TOGGLE */ .cam-toggle-btn.locked{ cursor:pointer; opacity:0.6; border-color:rgba(239,68,68,0.15); background:rgba(239,68,68,0.05); color:rgba(255,255,255,0.3); position:relative; padding-left:32px; } .cam-toggle-btn.locked::before, .cam-toggle-btn.locked::after{ content:''; position:absolute; top:50%; width:14px; height:1.5px; background:rgba(239,68,68,0.15); } .cam-toggle-btn.locked::before{ left:-12px; transform:rotate(-20deg); } .cam-toggle-btn.locked::after{ left:-12px; transform:rotate(20deg); } .cam-toggle-btn.locked .lock-icon{ margin-right:4px; font-size:13px; } .cam-toggle-btn.locked:hover{ opacity:0.8; border-color:rgba(239,68,68,0.25); color:rgba(255,255,255,0.5); } .cam-toggle-btn{ position:fixed; bottom:24px; right:270px; z-index:5; padding:10px 18px; border:none; border-radius:12px; background:rgba(34,197,94,0.1); border:1px solid rgba(34,197,94,0.15); color:rgba(255,255,255,0.6); font-size:13px; cursor:pointer; backdrop-filter:blur(12px); transition:0.2s; pointer-events:auto; } .cam-toggle-btn:hover{ background:rgba(34,197,94,0.2); color:#22c55e; } .cam-toggle-btn.on{ background:rgba(34,197,94,0.2); color:#22c55e; border-color:rgba(34,197,94,0.3); } /* CAM PIP */ .cam-pip{ position:fixed; bottom:24px; right:24px; width:240px; height:180px; object-fit:cover; border-radius:12px; border:1px solid rgba(34,197,94,0.12); z-index:5; opacity:0.7; pointer-events:none; } /* VOICE BTN */ #voiceBtn{ position:fixed; bottom:30px; left:50%; transform:translateX(-50%); z-index:5; width:52px; height:52px; border:none; border-radius:50%; background:rgba(34,197,94,0.12); border:1px solid rgba(34,197,94,0.2); color:white; font-size:20px; cursor:pointer; backdrop-filter:blur(12px); transition:0.2s; } #voiceBtn:hover{ background:rgba(34,197,94,0.2); } #voiceBtn.listening{ background:rgba(239,68,68,0.2); border-color:rgba(239,68,68,0.3); box-shadow:0 0 24px rgba(239,68,68,0.15); }