:root {
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}

body {
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}

#stage.dragging { cursor: grabbing; }

/* Halo cálido detrás de la pieza */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(190, 30, 35, .16), rgba(190, 30, 35, 0) 70%),
    radial-gradient(closest-side at 50% 62%, rgba(20, 110, 60, .12), rgba(20, 110, 60, 0) 72%);
  filter: blur(4px);
}

/* Viñeta para hundir los bordes en negro */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 78%, #000 100%);
}

