.duel-item-hud{position:absolute;inset:0;pointer-events:none;z-index:9;color:#eff6fc;font-family:"Microsoft YaHei",sans-serif;text-shadow:0 1px 2px #000}
.duel-item-hud[hidden],.duel-item-bag[hidden],.duel-item-aim[hidden],.duel-item-cooldown[hidden],.duel-item-notice[hidden]{display:none!important}
.duel-items-mode #skills [data-skill=Z],.duel-items-mode #skills [data-skill=X],.duel-items-mode #skills [data-skill=C]{visibility:hidden}
.duel-item-bag{position:absolute;inset:0;pointer-events:none}
.duel-item-slot{position:absolute;pointer-events:auto;left:var(--slot-left);bottom:0;width:49px;height:56px;padding:0;border:1px solid var(--item-color,#658394);border-radius:3px;background:linear-gradient(#193345a6,#081727bf);color:#e9f6ff;touch-action:manipulation}
.duel-item-slot img{position:absolute;left:6px;top:2px;width:35px;height:35px}
.duel-item-slot kbd{position:absolute;left:0;top:-12px;margin:0;min-width:17px;font-size:10px;line-height:16px}
.duel-item-name{position:absolute;bottom:1px;left:0;right:0;font-size:11px;line-height:16px;color:var(--item-color)}
.duel-item-slot:disabled{opacity:1;filter:none;cursor:default}.duel-item-slot img[hidden]{display:none}
.duel-item-cooldown{position:absolute;inset:0;display:grid;place-items:center;background:#071523a6;font:700 21px Consolas,sans-serif}
.duel-item-aim{position:absolute;pointer-events:none;left:50%;bottom:114px;transform:translateX(-50%);width:450px;padding:12px 16px;border:1px solid #83c6dc;border-radius:5px;background:#102333b3;text-align:center}
.duel-item-aim strong{display:block;font-size:17px;color:#c5f3ff}.duel-item-aim span{display:block;margin:7px 0;font-size:12px;line-height:19px}
.duel-item-aim button{pointer-events:auto;min-width:104px;min-height:38px;margin:3px 6px;padding:6px 14px;background:#31566b;border:1px solid #7ca6b7;border-radius:4px;color:#eff9ff;font-size:14px}
.duel-item-aim button:first-child{background:#b8d78c;color:#173729;border-color:#d9f2ad}
.duel-item-notice{position:absolute;left:50%;bottom:205px;transform:translateX(-50%);color:#f9e3a5;padding:6px 18px;border-radius:4px;background:#0a1f2eb3;font-size:16px}
.touch-mode .duel-item-hud .duel-item-bag{inset:auto;left:50%;bottom:22px;width:210px;height:66px;transform:translateX(-50%);display:flex;gap:8px}
.touch-mode .duel-item-slot{position:relative;left:auto;bottom:auto;flex:1;width:64px;height:66px}
.touch-mode .duel-item-slot img{left:11px;top:3px;width:42px;height:42px}.touch-mode .duel-item-name{font-size:12px;bottom:3px}
/* Expose the whole battlefield to touch aiming, including the joystick area. */
.touch-mode.duel-item-targeting .touch-layer{visibility:hidden}
.duel-item-aim button{touch-action:manipulation}
