/* Orb Shuffle styles */

.orb-main {
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.orb-hud {
  width: 390px;
  margin: 0.5rem auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.orb-hud .hud-item {
  flex: 1;
  background: #333;
  border: 2px solid #777;
  padding: 6px;
  font-size: 10px;
  text-align: center;
}

/* Board as CSS grid (for animated GIF backgrounds) */
.orb-board {
  position: relative;
  width: 360px;  /* 6 x 60 */
  height: 300px; /* 5 x 60 */
  background: #0f141b;
  border: 2px solid #777;
  border-radius: 8px;
  overflow: hidden;
  touch-action: none;
}

.orb-tile {
  position: absolute;
  width: 60px;
  height: 60px;
  left: 0;
  top: 0;
  will-change: left, top, transform, opacity;
  background-size: cover;
  background-position: center;
  border: 1px solid #222;
  transition: left 120ms ease, top 120ms ease, transform 80ms ease, opacity 180ms ease;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08), 0 2px 6px rgba(0,0,0,0.5);
}

.tile-drag { outline: 2px solid #ffcc00; filter: brightness(1.2); }
.tile-vanish { opacity: 0; transform: scale(0.25); }

.orb-tile::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.65), rgba(255,255,255,0.0) 45%);
  pointer-events: none;
}

/* Move gauge (shows remaining drag time) */
.move-gauge {
  position: absolute;
  width: 48px;
  height: 6px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  pointer-events: none;
}
.move-gauge__fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ff4d4d, #ff1a1a);
  border-radius: 6px;
}
