@font-face { font-family: "Pretendard"; src: url("/assets/fonts/PretendardVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html, body { height: 100%; background: #111; color: #fff; font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif; overflow: hidden; -webkit-font-smoothing: antialiased; }
canvas { display: block; touch-action: none; }

.bar { position: fixed; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 12px 14px; z-index: 5; }
.bar.top { top: 0; justify-content: space-between; }
.bar.bottom { bottom: 0; justify-content: center; flex-wrap: wrap; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.logo { color: #fff; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: -.02em; }
.no { font-weight: 800; font-size: 14px; color: #FFE14D; }
.btn { appearance: none; border: 2px solid #fff; background: #111; color: #fff; font: 800 15px/1 "Pretendard", sans-serif; padding: 12px 16px; cursor: pointer; }
.btn:active, .btn.on { background: #FFE14D; color: #111; border-color: #FFE14D; }
.btn input { display: none; }
.hint { position: fixed; left: 0; right: 0; bottom: 140px; text-align: center; font-weight: 800; font-size: 15px; color: rgba(255,255,255,.55); pointer-events: none; }

/* 렌더(영상) 모드 */
body.render .bar, body.render .hint { display: none; }
.cap { position: fixed; left: 0; right: 0; display: none; justify-content: center; z-index: 6; }
.cap span { background: #fff; color: #111; font-weight: 900; padding: 16px 30px; text-align: center; word-break: keep-all; line-height: 1.25; }
body.render .cap { display: flex; bottom: 510px; }
body.render .cap span { font-size: 64px; }
