/* the 3D dive (sea3d.js): the WebGL sea, the light 2D layer above it, the screen tints, and the veil while a sea builds */
#stage canvas.gl3d { position: absolute; inset: 0; z-index: 0; }
#stage canvas.fx2d { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
#stage .tint3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; will-change: opacity; }
#stage .tint3d.vig { opacity: 0.5; background: radial-gradient(ellipse at 50% 46%, rgba(0, 32, 52, 0) 52%, rgba(0, 32, 52, 0.9) 100%); }
#stage .tint3d.danger { background: radial-gradient(ellipse at 50% 50%, rgba(208, 20, 44, 0) 45%, rgba(208, 20, 44, 0.95) 100%); }
#stage .tint3d.dark { background: #001018; }
body[data-mode=home] #stage { visibility: hidden; }
.art-veil { position: absolute; inset: 0; z-index: 80; display: grid; place-items: center; align-content: center; gap: calc(var(--u) * 3); background: rgba(4, 40, 60, 0.55); animation: veilIn 0.25s ease both; }
.art-veil img { width: calc(var(--u) * 26); animation: veilBob 1.4s ease-in-out infinite; }
.art-veil i { width: calc(var(--u) * 9); height: calc(var(--u) * 9); border-radius: 50%; border: calc(var(--u) * 1.1) solid rgba(255, 255, 255, 0.25); border-top-color: #ffd25a; animation: veilSpin 0.8s linear infinite; }
@keyframes veilIn { from { opacity: 0; } }
@keyframes veilSpin { to { transform: rotate(1turn); } }
@keyframes veilBob { 50% { transform: translateY(calc(var(--u) * -2)); } }
.no-gl { position: absolute; inset: 0; z-index: 90; display: grid; place-items: center; padding: 10%; text-align: center; color: #fff; font: 600 18px Fredoka, sans-serif; background: #0b4d6b; }
/* promo shots (?cine): the sea fills the window, no HUD or helpers */
html.cine { --w: 100vw; }
html.cine #hud, html.cine .mascot, html.cine #hype, html.cine #toast, html.cine #hint, html.cine #intro, html.cine canvas.fx2d { display: none !important; }

/* ---------------------------------------------------------------- the reminder question (live.js, Android app only) */
.remind-ask { z-index: 40; }
.remind-ask .board { text-align: center; color: var(--cream); }
.remind-ask .ra-img { width: calc(var(--u) * 20); height: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)); animation: bob 1.6s ease-in-out infinite; }
.remind-ask p { margin: 0; font: 500 calc(var(--u) * 3.8) var(--font); opacity: 0.92; padding: 0 calc(var(--u) * 3); }
