.orbit-stage {
  overflow: hidden;
  border: 1px solid #74536c;
  border-radius: 1.1rem;
  background: #180f20;
  color: #fcf1ff;
}

.orbit-screen {
  display: grid;
  justify-items: center;
  padding: clamp(0.6rem, 3vw, 2rem);
  background: linear-gradient(90deg, #1c0e2455, #10091a22), url('/assets/orbit-salvage.webp') center / cover;
}

.orbit-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 37rem);
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border: 1px solid #694c71;
  border-radius: 0.75rem 0.75rem 0 0;
  background: #211429ed;
  color: #f3cedf;
}

#orbit-multiplier {
  color: #7df8e6;
  font-variant-numeric: tabular-nums;
}

.orbit-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.18rem, 0.85vw, 0.55rem);
  width: min(100%, 37rem);
  padding: clamp(0.3rem, 1.1vw, 0.75rem);
  overflow: hidden;
  border: 1px solid #694c71;
  border-radius: 0 0 0.75rem 0.75rem;
  background: #130b1bea;
}

.orbit-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1.14;
  min-width: 0;
  border: 1px solid #7255785e;
  border-radius: 18%;
  background: linear-gradient(155deg, #33243b, #21172c);
}

.orbit-symbol {
  display: grid;
  place-items: center;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 31%;
  color: hsl(var(--symbol-hue) 100% 87%);
  background: radial-gradient(ellipse at 34% 23%, hsl(var(--symbol-hue) 78% 43% / .43), transparent 72%);
  font: 900 clamp(0.85rem, 3vw, 2.75rem) / 1 system-ui, sans-serif;
  text-shadow: 0 2px 2px #120917, 0 0 12px hsl(var(--symbol-hue) 90% 54% / .7);
}

.orbit-cell[data-winner="true"] {
  border-color: #f8c57b;
  background: #7c405f;
  box-shadow: inset 0 0 1rem #ffb96955;
}

.orbit-cell[data-drop="true"] .orbit-symbol {
  animation: orbit-drop 360ms cubic-bezier(.2, .65, .4, 1) var(--drop-delay) both;
}

@keyframes orbit-drop {
  from { transform: translateY(var(--drop-from, -145%)); opacity: 0.35; }
  to { transform: translateY(0); opacity: 1; }
}

.orbit-console {
  padding: 0.85rem 1.15rem 1.15rem;
  background: linear-gradient(135deg, #2d1e35, #171021);
}

.orbit-console p { margin: 0 0 0.75rem; }
#orbit-form { display: flex; align-items: end; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
#orbit-form label { width: min(100%, 9rem); }
#orbit-form button { min-height: 44px; }
.orbit-rules { margin-top: 1.1rem; }
.orbit-rules summary { cursor: pointer; }
.orbit-pays { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.55rem; margin-top: 0.75rem; }
.orbit-pays article { padding: 0.75rem; border-radius: 0.6rem; background: #271a33; color: #fcf1ff; }
.orbit-pays .orbit-symbol { width: 3rem; font-size: 1.8rem; }
.orbit-pays dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.6rem; margin-bottom: 0; }
.orbit-pays dd { margin: 0; text-align: end; }

@media (prefers-reduced-motion: reduce) {
  .orbit-cell[data-drop="true"] .orbit-symbol { animation: none; }
}
