/* Full-viewport canvas, two small text links over the corner. No external resources. */
:root { color-scheme: dark; --bg: #0b0d10; --fg: #c9ced6; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); overflow: hidden; overscroll-behavior: contain; touch-action: manipulation; -webkit-text-size-adjust: 100%; }
body { font: 16px/1.4 system-ui, sans-serif; height: 100svh; height: 100dvh; }
#card { position: fixed; inset: 0; width: 100%; height: 100svh; height: 100dvh; display: block; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; outline: none; }
#nogl, #nomodel, #nojs { position: fixed; inset: 0; margin: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 18px; }
#nogl[hidden] { display: none; }
/* Small text links in the bottom corner; each target is at least 44 x 44 px. */
#legal { position: fixed; right: max(8px, env(safe-area-inset-right)); bottom: max(4px, env(safe-area-inset-bottom)); display: flex; gap: 4px; }
#legal a { color: var(--fg); opacity: .75; text-decoration: none; font-size: 16px; min-width: 44px; min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; }
#legal a:hover, #legal a:focus-visible { opacity: 1; text-decoration: underline; }
/* Rotation lock, bottom left, outside the card area; at least 44 x 44 px. */
#lock { position: fixed; left: max(8px, env(safe-area-inset-left)); bottom: max(4px, env(safe-area-inset-bottom)); min-width: 44px; min-height: 44px; padding: 0 14px; font: inherit; color: var(--fg); background: transparent; border: 1px solid #3a4049; border-radius: 22px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#lock[aria-pressed="false"] { border-color: #6fcf97; color: #6fcf97; }
#lock:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
