diff --git a/views/1v1-battlefield.ejs b/views/1v1-battlefield.ejs index bbbb84f..b10b971 100644 --- a/views/1v1-battlefield.ejs +++ b/views/1v1-battlefield.ejs @@ -427,8 +427,16 @@ const state = handSlotState[id]; if (!slot) return; + /* KOMPLETT RESET */ + slot.innerHTML = ""; + slot.style.backgroundImage = "none"; + slot.style.opacity = "1"; + slot.style.filter = "none"; + slot.style.backgroundColor = "#0a0805"; + slot.classList.remove("hand-slot-ready", "hand-slot--filled"); + if (!state) { - slot.style.backgroundImage = ''; + slot.style.backgroundImage = ""; slot.innerHTML = '🃏'; slot.classList.remove("hand-slot-ready", "hand-slot--filled"); slot.draggable = false; @@ -466,9 +474,9 @@ // Kein -Element → keine Flex-Höhen-Probleme, kein z-index-Konflikt. // background-color (#0a0805) deckt transparente PNG-Bereiche solid ab. if (card.image) { - slot.style.backgroundImage = 'none'; + slot.style.backgroundImage = "none"; } else { - slot.style.backgroundImage = 'none'; + slot.style.backgroundImage = "none"; } slot.innerHTML = card.image