diff --git a/public/css/1v1.css b/public/css/1v1.css index 49c54a4..e8a8258 100644 --- a/public/css/1v1.css +++ b/public/css/1v1.css @@ -412,7 +412,10 @@ body { height: calc(var(--s) * 160); border-radius: calc(var(--s) * 9); border: 2px dashed rgba(255, 215, 80, 0.35); - background: rgba(10, 8, 5, 0.92); /* dunkles Backing β deckt transparente PNG-Bereiche ab */ + background-color: rgba(10, 8, 5, 0.92); + background-size: cover; + background-position: center; + background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; @@ -431,6 +434,7 @@ body { opacity: 0.2; } + /* Right side: action icons */ .action-hud { display: flex; @@ -707,7 +711,7 @@ body { border-color: rgba(255, 215, 80, 0.6); } -/* Hand-Slot: Karte ist drin */ +/* Hand-Slot: Karte drin β border auf solid, background-image via JS gesetzt */ .hand-slot.hand-slot--filled { border-style: solid; border-color: rgba(255, 215, 80, 0.5); diff --git a/views/1v1-battlefield.ejs b/views/1v1-battlefield.ejs index 4f30d47..bdff279 100644 --- a/views/1v1-battlefield.ejs +++ b/views/1v1-battlefield.ejs @@ -428,6 +428,7 @@ if (!slot) return; if (!state) { + slot.style.backgroundImage = ''; slot.innerHTML = ''; slot.classList.remove("hand-slot-ready", "hand-slot--filled"); slot.draggable = false; @@ -461,15 +462,19 @@ ? `