/* ============================================================================
   PARADOX — style.css
   Page chrome only: all game visuals are drawn on the canvas.
   ========================================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background: #04060f;
  overflow: hidden;
}

#stage {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game {
  image-rendering: pixelated;
  border-radius: 6px;
  box-shadow:
    0 0 40px rgba(34, 230, 255, 0.08),
    0 0 120px rgba(160, 107, 255, 0.06);
  touch-action: none;
}

/* ---------------- touch controls (coarse pointers only) ---------------- */

#touch {
  display: none;
}

@media (pointer: coarse) {
  #touch {
    display: block;
  }
}

.cluster {
  position: fixed;
  bottom: 18px;
  display: flex;
  gap: 14px;
  z-index: 10;
}

.cluster-left  { left: 18px; }
.cluster-right { right: 18px; }

.tbtn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(34, 230, 255, 0.5);
  background: rgba(20, 40, 70, 0.45);
  color: #22e6ff;
  font: bold 22px "Courier New", ui-monospace, monospace;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tbtn:active {
  background: rgba(34, 230, 255, 0.3);
}

#t-rew {
  border-color: rgba(255, 79, 216, 0.5);
  color: #ff4fd8;
}

#t-act {
  border-color: rgba(255, 210, 80, 0.6);
  color: #ffd24f;
}

.tbtn-small {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  font-size: 16px;
  z-index: 10;
}
