* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; -webkit-tap-highlight-color: transparent; }
body { background-color: #299FBA; font-family: 'Press Start 2P', monospace; display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; }
#game-container { position: relative; width: 100%; max-width: 500px; height: 100vh; background-color: #88C0D0; box-shadow: 0 0 50px rgba(0,0,0,0.9); overflow: hidden; }
canvas { display: block; width: 100%; height: 100%; }
#ui-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; }
.top-bar { display: flex; justify-content: space-between; padding: 25px; font-size: 12px; text-shadow: 2px 2px 0px #000; color: #fff; }
.hi-score { color: #EBCB8B; font-size: 10px; margin-top: 5px; }
#lives-display { color: #BF616A; }
#screen-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease; pointer-events: auto; }
#screen-overlay.active { opacity: 1; visibility: visible; }
#screen-title { font-size: 26px; color: #FF6B35; margin-bottom: 20px; line-height: 1.4; }
button { font-family: 'Press Start 2P', monospace; background-color: #A3BE8C; border: 4px solid #fff; padding: 15px 25px; cursor: pointer; box-shadow: 4px 4px 0px #000; }