@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Syne+Mono&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { min-height: 100vh; background: #0a0810; font-family: 'Syne Mono', monospace; color: #c8a84b; user-select: none; }
#ml-app { min-height: 100vh; padding: 16px; display: flex; flex-direction: column; align-items: center; position: relative; }
#ml-hud { width: 100%; max-width: 400px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.75rem; margin-bottom: 20px; }
#ml-mode { opacity: 0.75; width: 100%; }
#ml-pads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 360px; width: 100%; }
.ml-pad {
  aspect-ratio: 1; border: none; border-radius: 12px; cursor: pointer; opacity: 0.5;
  transition: opacity 0.1s, transform 0.1s;
}
.ml-pad.lit { opacity: 1; transform: scale(1.05); box-shadow: 0 0 24px rgba(255,255,255,0.35); }
.ml-screen { position: fixed; inset: 0; z-index: 20; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; background: rgba(6,4,10,0.96); }
.ml-screen.active { display: flex; }
.ml-credit { font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase; opacity: 0.7; margin-bottom: 12px; }
h1 { font-family: 'Bungee', cursive; font-size: clamp(1.4rem, 5vw, 2.2rem); color: #f0d880; margin-bottom: 12px; }
.ml-tagline { font-size: 0.85rem; margin-bottom: 8px; }
.ml-sub { font-size: 0.72rem; opacity: 0.65; max-width: 400px; line-height: 1.5; margin-bottom: 12px; }
.ml-start-level { font-size: 0.72rem; color: #f0d880; opacity: 0.8; margin-bottom: 18px; }
#ml-over button { margin: 6px; }
button { font-family: 'Syne Mono', monospace; font-size: 0.75rem; padding: 12px 28px; color: #fff; background: #2a1018; border: 1px solid rgba(200,168,75,0.4); border-radius: 6px; cursor: pointer; }
.ml-exit { position: fixed; bottom: 12px; right: 14px; font-size: 0.7rem; color: rgba(200,168,75,0.6); text-decoration: none; }
