html, body {
  margin: 0; height: 100%; background: #1b1020; overflow: hidden;
  touch-action: none; overscroll-behavior: none;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
canvas { position: fixed; left: 0; top: 0; display: block; width: 100vw; height: 100vh; height: 100dvh; }
#hud { pointer-events: none; }
#msg { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: #fff; font: 18px sans-serif; }
#msg[hidden] { display: none; }

#poster-ui { position: fixed; left: 50%; top: 52%; transform: translateX(-50%); z-index: 5; display: flex; flex-flow: row wrap; justify-content: center; align-items: center; gap: 8px; width: min(92vw, 420px); text-align: center; }
#poster-ui small { flex-basis: 100%; }
#poster-ui[hidden] { display: none; }
#poster-ui .pill { font: 600 13px/1 sans-serif; color: #fff; background: rgba(20,12,35,0.85); border: 2px solid #ffd27a; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
#poster-ui .pill[hidden] { display: none; }
#poster-ui small { font: 11px/1.2 sans-serif; color: #ddd; text-shadow: 0 1px 2px #000; }
