html, body { margin: 0; height: 100%; background: #000; overflow: hidden; touch-action: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lq-canvas { position: fixed; display: block; outline: none; }
#lq-loading { position: fixed; left: 50%; top: 50%; width: 240px; margin: -40px 0 0 -120px; text-align: center;
  color: #f67d00; font: 28px sans-serif; }
#lq-loading::after { content: ""; display: block; height: 8px; margin-top: 16px; border-radius: 4px;
  background: linear-gradient(90deg, #f67d00 var(--progress, 0%), #333 var(--progress, 0%)); }
.lq-dialog { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.55); z-index: 10; padding: 16px; }
.lq-dialog-box { background: #fff; color: #222; border-radius: 14px; padding: 20px 22px 16px; width: 100%; max-width: 380px;
  font: 16px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lq-dialog-box h2 { margin: 0 0 8px; font-size: 18px; }
.lq-dialog-box p { margin: 0 0 14px; line-height: 1.4; color: #444; }
.lq-dialog-box input { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; margin-bottom: 14px;
  border: 1px solid #bbb; border-radius: 8px; }
.lq-dialog-buttons { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.lq-dialog-buttons button { font: inherit; padding: 8px 14px; border-radius: 8px; border: 1px solid #ccc; background: #f2f2f2; cursor: pointer; }
.lq-dialog-buttons .confirm { background: #f67d00; border-color: #f67d00; color: #fff; font-weight: 600; }
.lq-dialog-buttons .other { color: #c00; }
