diff --git a/app/views/break_escape/games/show.html.erb b/app/views/break_escape/games/show.html.erb index ed39263..305ac0f 100644 --- a/app/views/break_escape/games/show.html.erb +++ b/app/views/break_escape/games/show.html.erb @@ -47,19 +47,14 @@ + - - - <%# Game container - Phaser will render here %> -
- - <%# Loading indicator %> -
- Loading game... +
+
Loading...
<%# Notification System %> @@ -126,5 +121,31 @@ <%# Load game JavaScript (ES6 module) %> + + <%# Mobile touch handling %> + diff --git a/public/break_escape/css/hud.css b/public/break_escape/css/hud.css index 6778707..bdbca88 100644 --- a/public/break_escape/css/hud.css +++ b/public/break_escape/css/hud.css @@ -18,9 +18,9 @@ align-items: center; justify-content: center; padding: 12px 16px; - background: rgba(0, 0, 0, 0.8); - border: 2px solid #333; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.9), inset 0 0 5px rgba(0, 0, 0, 0.5); + /* background: rgba(0, 0, 0, 0.5); */ + /* border: 2px solid #333; */ + /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.9), inset 0 0 5px rgba(0, 0, 0, 0.5); */ } .health-heart { @@ -76,7 +76,7 @@ justify-content: center; align-items: center; position: relative; - background: transparent; /* keep slot outlines but no filled background per user request */ + background: rgb(149 157 216 / 80%); } /* Pulse animation for newly added items */ diff --git a/public/break_escape/css/main.css b/public/break_escape/css/main.css index 3fa1630..0896212 100644 --- a/public/break_escape/css/main.css +++ b/public/break_escape/css/main.css @@ -2,10 +2,12 @@ body { margin: 0; padding: 0; - display: block; + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; background: #333; font-smooth: never; - overflow: hidden; } #game-container {