* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  background: #15162b;
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  color: #fff;
  overflow: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
canvas { display: block; image-rendering: pixelated; }

#app { position: relative; width: 100vw; height: 100vh; }

/* The old floating-cards layout is gone. Dock (src/ui/dock.js) owns the side panels.
 * Only minimap still floats — pin it just above the toolbar so they don't fight. */
#minimap-root {
  position: fixed;
  right: 14px;
  bottom: 84px;
  z-index: 38;
  pointer-events: auto;
}
@media (max-width: 600px) {
  #minimap-root { display: none; }
}

/* Loading curtain */
#curtain {
  position: fixed; inset: 0;
  background: radial-gradient(circle at 50% 40%, #2a2150 0%, #15162b 70%);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 600ms ease-out;
}
#curtain.fade { opacity: 0; pointer-events: none; }
#curtain .curtain-inner { text-align: center; color: #b9b7d9; }
#curtain .spinner {
  width: 48px; height: 48px;
  border: 3px solid rgba(106,255,210,0.2);
  border-top-color: #6affd2;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
