From 00cd1696c6dc69a53ce332592b84535c00327b8e Mon Sep 17 00:00:00 2001 From: jessikitty Date: Thu, 18 Jun 2026 08:41:39 +1000 Subject: [PATCH] Add iOS motion-gate overlay styles --- public/css/game.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/public/css/game.css b/public/css/game.css index 4507b5d..e10dde7 100644 --- a/public/css/game.css +++ b/public/css/game.css @@ -168,6 +168,21 @@ * { animation-duration: .001ms !important; transition-duration: .001ms !important; } } +/* ---------- iOS motion permission gate ---------- */ +.motion-gate { + position: absolute; inset: 0; z-index: 40; + display: grid; place-items: center; padding: 24px; + background: rgba(7,9,15,.82); backdrop-filter: blur(6px); + pointer-events: auto; +} +.motion-card { + background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); + padding: 26px; max-width: 320px; text-align: center; box-shadow: var(--shadow); +} +.motion-title { font-size: 24px; margin-bottom: 10px; } +.motion-body { color: var(--text-dim); font-size: 14px; line-height: 1.55; margin: 0 0 18px; } +.motion-card button { width: 100%; padding: 14px; } + /* ---------- About / Tribute ---------- */ .about-wrap { flex: 1; padding: 64px 22px 28px; max-width: 620px; margin: 0 auto; width: 100%; } .about-wrap h2 { font-size: 28px; margin: 0 0 14px; }