:root { --bg:#0a0f1c; --ink:#eef2fb; --accent:#4f8cff; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: "Noto Sans KR", "Malgun Gothic", sans-serif; overflow: hidden; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#intro { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 40%, #16254a, var(--bg)); z-index: 5; text-align: center; padding: 24px; transition: opacity .6s; }
#intro.gone { opacity: 0; pointer-events: none; }
#intro h1 { font-size: clamp(32px, 7vw, 56px); margin: 0; font-weight: 900; }
#intro p { margin: 0; opacity: .75; }
.bar { width: min(280px, 70vw); height: 4px; background: #ffffff22; border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
button { font: inherit; color: var(--ink); background: #ffffff14; border: 1px solid #ffffff33; border-radius: 999px; padding: 10px 22px; cursor: pointer; }
button:disabled { opacity: .35; cursor: default; }
#enter:not(:disabled) { background: var(--accent); border-color: var(--accent); font-weight: 700; }
#dock { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, #000a); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3; }
#cap { margin: 0; max-width: 560px; text-align: center; font-size: 15px; line-height: 1.5; min-height: 1.5em; }
#dock nav { display: flex; align-items: center; gap: 14px; }
#where { min-width: 120px; text-align: center; font-weight: 700; }
#hint { margin: 0; font-size: 12px; opacity: .55; }
