html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #0f1017;
  color: #e9ecf5;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  outline: none;
}
.loader, .unsupported {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
}
.loader[hidden], .unsupported[hidden] { display: none; }
.loader-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(180deg, #3d9bef, #1e88e5);
  box-shadow: 0 4px 14px rgba(30, 136, 229, .4);
  color: #fff;
  font-weight: 700; font-size: 24px; line-height: 48px;
  margin-bottom: 8px;
  animation: pulse 1.2s ease-in-out infinite;
}
.loader-text { font-size: 15px; font-weight: 600; }
.loader-sub { font: 12.5px 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; color: #6a7288; }
.unsupported h1 { font-size: 20px; margin: 0 0 8px; }
.unsupported p { margin: 4px 0; max-width: 480px; color: #9aa3ba; }
.unsupported a { color: #6ab7ff; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.92); opacity: 0.7; } }
