#login-ui{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:16px;z-index:20}#login-ui button{min-width:240px;padding:12px 24px;border:2px solid #00ccff;border-radius:8px;background:#00ccff1a;color:#0cf;font-size:18px;font-family:sans-serif;cursor:pointer;transition:background .2s;-webkit-tap-highlight-color:transparent}#login-ui button:hover{background:#00ccff40}#login-ui input{min-width:240px;padding:10px 16px;border:2px solid #00ccff;border-radius:8px;background:#1a1a2ee6;color:#fff;font-size:16px;font-family:sans-serif;text-align:center;outline:none}#login-ui input::placeholder{color:#fff6}#login-ui .guest-panel{display:flex;flex-direction:column;align-items:center;gap:12px}#touch-controls{position:fixed;inset:0;z-index:10;pointer-events:none;display:none}#touch-controls.visible{display:block}@media(hover:hover)and (pointer:fine){#touch-controls.visible{display:none}#touch-controls.visible.force-touch{display:block}}#touch-controls .joystick-area{position:absolute;bottom:16px;left:16px;width:160px;height:160px;pointer-events:auto}#touch-controls .joystick-base{position:absolute;bottom:0;left:0;width:140px;height:140px;border-radius:50%;background:#ffffff1a;border:2px solid rgba(255,255,255,.25)}#touch-controls .joystick-knob{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:#ffffff4d;border:2px solid rgba(255,255,255,.5)}#touch-controls .action-buttons{position:absolute;bottom:16px;right:16px;display:flex;flex-direction:column;gap:12px;align-items:center}#touch-controls .btn-action{pointer-events:auto;border:none;border-radius:50%;background:#ffffff2e;color:#ffffffb3;font-size:11px;font-weight:700;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;outline:none;width:64px;height:64px}#touch-controls .btn-action:active{background:#ffffff59}#touch-controls.portrait .joystick-area{bottom:48px;width:180px;height:180px}#touch-controls.portrait .joystick-base{width:160px;height:160px}#touch-controls.portrait .joystick-knob{width:64px;height:64px}#touch-controls.portrait .action-buttons{bottom:48px}#touch-controls.portrait .btn-action{width:72px;height:72px;font-size:12px}.player-debug-backdrop{position:fixed;inset:0;background:none;z-index:10000;display:flex;align-items:center;justify-content:flex-start;pointer-events:none}.player-debug-dialog{pointer-events:auto;background:#1a1a2e;border:1px solid rgba(0,204,255,.3);border-radius:12px;padding:24px;margin-left:16px;width:280px;max-height:85vh;overflow-y:auto;box-shadow:0 8px 32px #000000b3;display:flex;flex-direction:column;gap:14px}.player-debug-title{margin:0;color:#0cf;font-size:18px;font-family:sans-serif;font-weight:600}.player-debug-row{display:flex;flex-direction:column;gap:4px}.player-debug-label{color:#ccc;font-size:13px;font-family:sans-serif}.player-debug-inline{display:flex;gap:8px;align-items:center}.player-debug-input{padding:6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:#ffffff0f;color:#fff;font-size:14px;font-family:sans-serif;outline:none;transition:border-color .2s;width:100%}.player-debug-input:focus{border-color:#0cf}.player-debug-input-small{width:60px;text-align:center}.player-debug-input[readonly]{opacity:.6;cursor:default}.player-debug-swatch{width:36px;height:36px;padding:2px;border-radius:6px;border:1px solid rgba(255,255,255,.2);background:none;cursor:pointer;flex-shrink:0}.player-debug-section{color:#888;font-size:11px;font-family:sans-serif;text-transform:uppercase;letter-spacing:.5px;padding-top:4px;border-top:1px solid rgba(255,255,255,.08)}.player-debug-abilities{display:flex;flex-direction:column;gap:10px}.player-debug-ability-block{display:flex;flex-direction:column;gap:4px}.player-debug-ability-header{display:flex;align-items:center;gap:8px}.player-debug-ability-remove{background:none;border:none;color:#f55;font-size:16px;font-family:sans-serif;cursor:pointer;padding:0 4px;line-height:1;opacity:.6;transition:opacity .15s;margin-left:4px;flex-shrink:0}.player-debug-ability-remove:hover{opacity:1}.player-debug-ability-dot{width:8px;height:8px;border-radius:50%;background:#555;flex-shrink:0;margin-left:auto;transition:background .15s}.player-debug-ability-dot.active{background:#4cff4c}.player-debug-ability-name{color:#ddd;font-size:13px;font-family:sans-serif;font-weight:500}.player-debug-ability-params{display:flex;flex-direction:column;gap:4px;padding-left:22px}.player-debug-ability-param-row{display:flex;align-items:center;gap:8px}.player-debug-add-btn{background:none;border:1px dashed rgba(255,255,255,.2);border-radius:6px;color:#888;font-size:12px;font-family:sans-serif;padding:6px 12px;cursor:pointer;transition:color .2s,border-color .2s;width:100%}.player-debug-add-btn:hover{color:#0cf;border-color:#0cf6}.player-debug-add-menu{background:#12122a;border:1px solid rgba(0,204,255,.3);border-radius:8px;padding:8px 0;display:flex;flex-direction:column}.player-debug-add-category{color:#888;font-size:10px;font-family:sans-serif;text-transform:uppercase;letter-spacing:.5px;padding:6px 12px 2px}.player-debug-add-item{color:#ccc;font-size:13px;font-family:sans-serif;padding:4px 12px 4px 20px;cursor:pointer;transition:background .1s,color .1s}.player-debug-add-item:hover{background:#00ccff26;color:#fff}.player-debug-resolved-value{color:#4cff4c;font-size:12px;font-family:sans-serif;margin-left:4px;white-space:nowrap}.player-debug-modifier-list{display:flex;flex-direction:column;gap:2px;margin-top:2px}.player-debug-modifier-row{color:#fc0;font-size:11px;font-family:sans-serif}.player-debug-modifier-source{color:#888;font-size:10px}.player-debug-actions{display:flex;gap:10px;justify-content:flex-end}.player-debug-btn{padding:8px 20px;border:1px solid rgba(255,255,255,.2);border-radius:6px;font-size:14px;font-family:sans-serif;cursor:pointer;transition:background .2s,border-color .2s;background:transparent;color:#999}.player-debug-btn:hover{background:#ffffff0f;color:#ccc}.be-backdrop{position:fixed;inset:0;background:none;z-index:10000;display:flex;align-items:center;justify-content:flex-start;pointer-events:none}.be-dialog{pointer-events:auto;background:#1a1a2e;border:1px solid rgba(0,204,255,.3);border-radius:12px;padding:24px;margin-left:16px;width:360px;max-height:85vh;overflow-y:auto;box-shadow:0 8px 32px #000000b3;display:flex;flex-direction:column;gap:14px}.be-title{margin:0;color:#0cf;font-size:18px;font-family:sans-serif;font-weight:600;display:flex;justify-content:space-between;align-items:center}.be-close{background:none;border:none;color:#888;font-size:20px;cursor:pointer;padding:0 4px;line-height:1;transition:color .15s}.be-close:hover{color:#fff}.be-section{color:#888;font-size:11px;font-family:sans-serif;text-transform:uppercase;letter-spacing:.5px;padding-top:4px;border-top:1px solid rgba(255,255,255,.08)}.be-row{display:flex;flex-direction:column;gap:4px}.be-label{color:#ccc;font-size:13px;font-family:sans-serif}.be-input{padding:6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:#ffffff0f;color:#fff;font-size:13px;font-family:sans-serif;outline:none;transition:border-color .2s;width:100%;box-sizing:border-box}.be-input:focus{border-color:#0cf}.be-input::placeholder{color:#555}.be-btn{padding:8px 16px;border:1px solid rgba(255,255,255,.2);border-radius:6px;font-size:13px;font-family:sans-serif;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s;background:transparent;color:#ccc;width:100%}.be-btn:hover:not(:disabled){background:#00ccff1a;border-color:#0cf6;color:#fff}.be-btn:disabled{opacity:.4;cursor:default}.be-status{font-size:12px;font-family:sans-serif;color:#888;min-height:18px}.be-status.success{color:#4cff4c}.be-status.error{color:#f55}.be-message-row{display:flex;gap:8px}.be-message-row .be-input{flex:1}.be-message-row .be-btn{width:auto;white-space:nowrap}.be-log{background:#0000004d;border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:10px;max-height:200px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.be-log-entry{font-size:12px;font-family:monospace;color:#ccc;line-height:1.5;border-bottom:1px solid rgba(255,255,255,.04);padding-bottom:6px}.be-log-entry:last-child{border-bottom:none;padding-bottom:0}.be-log-action{color:#0cf}.be-log-text{color:#fff}.be-log-meta{color:#666;font-size:11px}.be-log-empty{color:#555;font-size:12px;font-family:sans-serif;font-style:italic;text-align:center;padding:8px}
