@font-face { font-family: "VT323"; src: url("VT323-Regular.ttf"); font-display: swap; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #100b16; overscroll-behavior: none; position: fixed; inset: 0; }
#canvas { display: block; width: 100%; height: 100%; touch-action: none; outline: none; image-rendering: pixelated; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#loading { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: #100b16 url("loading.png") center / cover; image-rendering: pixelated; color: #fdf0dc; font-family: "VT323", monospace; text-align: center; text-shadow: 2px 2px 0 #1a0f1c; }
#loading h1 { margin: 0; font-size: clamp(36px, 9vw, 72px); font-weight: 400; color: #ffd98a; }
#loading p { margin: 0; font-size: 24px; }
#bar { width: min(70vw, 420px); height: 18px; border: 3px solid #ffd98a; background: #2a1726; }
#fill { width: 0; height: 100%; background: #e2a43a; }
button { font: 28px "VT323", monospace; padding: 10px 34px; min-height: 48px; color: #fdf0dc; background: #6b3f62; border: 3px solid #ffd98a; cursor: pointer; }
button:focus-visible { outline: 3px solid #fff; }
#name { position: fixed; box-sizing: border-box; border: 0; padding: 0 10px; background: #4a3350; color: #fbeeda; font-family: "VT323", monospace; outline: none; }
#name::placeholder { color: #b9a6b0; }
[hidden] { display: none !important; }
