:root{--glass-bg: rgba(12, 22, 38, .84);--cyan: #38e5ff;--gold: #f5c542;--red: #f24141;--green: #2ed474}*{box-sizing:border-box;margin:0;padding:0;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}html,body,#app{width:100%;height:100%;overflow:hidden;background:#0c1322;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;touch-action:none}#game-canvas{display:block;width:100%;height:100%;touch-action:none}#hud-root{position:fixed;inset:0;pointer-events:none;overflow:hidden}.world-overlay{position:absolute;inset:0;pointer-events:none}.dummy-hp-wrap{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none}.dummy-hp-label{font-size:13px;font-weight:700;color:#fffaf0;text-shadow:0 1px 4px rgba(0,0,0,.95),0 0 2px #000;white-space:nowrap}.dummy-hp-bar{width:106px;height:11px;background:#0c101aeb;border:1.5px solid rgba(15,20,30,.95);border-radius:3px;overflow:hidden;box-shadow:0 2px 6px #0000008c}.dummy-hp-fill{height:100%;width:100%;background:linear-gradient(90deg,#e53535,#ff5448);transition:width .08s linear}.damage-popup{position:absolute;transform:translate(-50%,-50%);font-size:28px;font-weight:900;color:#ffd83b;text-shadow:-2px -2px 0 #14121c,2px -2px 0 #14121c,-2px 2px 0 #14121c,2px 2px 0 #14121c,0px 3px 8px rgba(0,0,0,.85);pointer-events:none;will-change:transform,opacity}.hero-plate{position:absolute;top:16px;left:18px;width:288px;padding:9px 14px 9px 12px;display:flex;align-items:center;gap:12px;background:var(--glass-bg);border:2px solid rgba(60,198,245,.78);border-radius:12px;backdrop-filter:blur(6px);pointer-events:auto}.hero-lv{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#184e94f2;border:2px solid var(--gold);color:#ffefc0;font-size:13px;font-weight:800;flex-shrink:0}.hero-bars{flex:1;display:flex;flex-direction:column;gap:5px}.hero-name{color:#e6f6ff;font-size:13px;font-weight:700;letter-spacing:.6px}.hero-hp-bg{position:relative;height:17px;background:#141c2af5;border-radius:3px;overflow:hidden}.hero-hp-fill{position:absolute;inset:0;background:linear-gradient(90deg,#1fc766,#32e27d)}.hero-hp-text{position:relative;z-index:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.8)}.hero-mp-bar{height:5px;background:linear-gradient(90deg,#248fff,#4ec6ff);border-radius:2px}.top-right-bar{position:absolute;top:16px;right:18px;display:flex;align-items:center;gap:10px;pointer-events:auto}.hud-pill{height:38px;padding:0 14px;border-radius:10px;background:var(--glass-bg);border:2px solid rgba(64,178,224,.72);color:#74f5ae;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;min-width:96px;backdrop-filter:blur(6px)}.hud-btn{height:38px;padding:0 16px;border-radius:10px;background:#1c426ce6;border:2px solid rgba(72,214,255,.85);color:#f2f9ff;font-size:13px;font-weight:700;letter-spacing:.4px;cursor:pointer;min-width:92px;transition:transform .08s ease,background .12s ease}.hud-btn:active{transform:scale(.96);border-color:var(--gold)}.joystick-zone{position:absolute;left:0;bottom:0;width:340px;height:300px;pointer-events:auto;touch-action:none}.joystick-base{position:absolute;left:132px;bottom:112px;width:144px;height:144px;transform:translate(-50%,50%);border-radius:50%;background:radial-gradient(circle,#183a5c52,#0e22388f);border:2.5px solid rgba(112,218,255,.65);box-shadow:inset 0 0 16px #38e5ff2e;pointer-events:none}.joystick-base:before{content:"";position:absolute;inset:16px;border-radius:50%;border:1px solid rgba(128,224,255,.25)}.joystick-thumb{position:absolute;left:50%;top:50%;width:58px;height:58px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 35%,#a8f4ff,#42c8f5 65%,#1d8cc4);border:3px solid rgba(230,252,255,.92);box-shadow:0 0 16px #38e5ff8c;pointer-events:none}.skill-zone{position:absolute;right:0;bottom:0;width:310px;height:340px;pointer-events:auto;touch-action:none}.cancel-zone{position:absolute;right:30px;bottom:224px;width:74px;height:74px;border-radius:50%;background:#601822d9;border:3px solid rgba(255,86,98,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;transform:scale(.8);transition:opacity .12s ease,transform .12s ease,background .12s ease;pointer-events:none}.cancel-zone.visible{opacity:1;transform:scale(1)}.cancel-zone.active{background:#dc2630f5;border-color:#fff;transform:scale(1.12);box-shadow:0 0 22px #ff4452cc}.cancel-x{color:#fff;font-size:28px;font-weight:700;line-height:1}.cancel-label{position:absolute;bottom:-22px;font-size:12px;font-weight:800;color:#ff9a76;text-shadow:0 1px 4px #000;letter-spacing:.6px}.skill-btn-wrap{position:absolute;right:52px;bottom:52px;width:112px;height:112px;pointer-events:none}.skill-btn-circle{position:relative;width:112px;height:112px;border-radius:50%;background:radial-gradient(circle,#183252,#0d1c33 74%);border:3.5px solid var(--gold);box-shadow:0 0 22px #38e5ff47;display:flex;align-items:center;justify-content:center;overflow:hidden}.skill-orb-icon{width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 38% 36%,#fff3a8,#ffa732 55%,#e85f1c);box-shadow:0 0 16px #ffa830cc,0 0 0 8px #38e5ff40}.skill-cd-overlay{position:absolute;inset:0;border-radius:50%;display:none;align-items:center;justify-content:center;color:#fff;font-size:32px;font-weight:800;text-shadow:0 2px 6px rgba(0,0,0,.9)}.skill-cd-overlay.active{display:flex}.skill-drag-ring{position:absolute;inset:-18px;border-radius:50%;border:2px solid rgba(72,232,255,.55);background:#2076a824;opacity:0;transition:opacity .1s ease}.skill-drag-ring.visible{opacity:1}.skill-drag-line{position:absolute;left:56px;top:56px;height:3px;background:#82f5ffe6;transform-origin:0 50%;display:none}.skill-drag-knob{position:absolute;left:56px;top:56px;width:24px;height:24px;transform:translate(-50%,-50%);border-radius:50%;background:#b8fbff;border:3px solid #2ce6ff;box-shadow:0 0 12px #2ce6fff2;display:none}.skill-name{position:absolute;left:50%;bottom:-24px;transform:translate(-50%);white-space:nowrap;font-size:12px;font-weight:800;color:#dff5ff;text-shadow:0 1px 4px #000;letter-spacing:.6px}
