/* Asteroid Arcade keeps the shared game shell with a deep-space playfield. */

.asteroid-arcade-layout {
  width: min(100%, 74rem);
}

.asteroid-arcade-panel {
  border-color: rgba(121, 192, 255, 0.3);
  background: rgba(7, 15, 35, 0.97);
  box-shadow: 0 18px 48px rgba(6, 12, 29, 0.42);
  color: #edf7ff;
}

.asteroid-arcade-panel .arcade-header p:last-child,
.asteroid-arcade-panel .arcade-help {
  color: #bdcce0;
}

.asteroid-arcade-panel .arcade-kicker {
  color: #62d8ff;
}

.asteroid-arcade-panel .arcade-stat {
  border-color: rgba(117, 194, 255, 0.35);
  background: rgba(19, 39, 72, 0.92);
}

.asteroid-arcade-panel .arcade-stat span {
  color: #9fbbd5;
}

.asteroid-arcade-panel .arcade-stat output {
  color: #fff;
}

.asteroid-arcade-panel .arcade-status {
  color: #d5e7f8;
}

.asteroid-arcade-panel .arcade-status[data-state="success"] {
  color: #8af0b2;
}

.asteroid-arcade-panel .arcade-status[data-state="danger"] {
  color: #ff9a8c;
}

.asteroid-data-bar {
  display: flex;
  gap: 0.7rem 1rem;
  width: min(100%, 50rem);
  margin: 1rem auto 0;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(114, 191, 252, 0.28);
  border-radius: 9px;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 32, 61, 0.82);
  color: #c8d9ea;
  font-size: 0.83rem;
}

.asteroid-data-bar a,
.asteroid-credit a {
  color: #7ddcff;
  font-weight: 700;
}

.asteroid-canvas-wrap {
  width: min(100%, 50rem);
  border-color: #3d8cba;
  background: #030713;
  box-shadow: 0 0 0 2px rgba(67, 178, 234, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.42);
}

.asteroid-canvas-wrap .arcade-canvas {
  background: #030713;
}

.asteroid-readout {
  min-height: 1.55rem;
  margin: 0.7rem auto 0;
  color: #b8cde0;
  font-size: 0.84rem;
  text-align: center;
}

.asteroid-arcade-panel .arcade-button-secondary {
  border-color: #79bde3;
  background: transparent;
  color: #d9efff;
}

.asteroid-arcade-panel .arcade-button-secondary:hover {
  border-color: #b5e5ff;
  background: rgba(96, 181, 226, 0.18);
  color: #fff;
}

.asteroid-touch-controls {
  margin-top: 0.75rem;
}

.asteroid-fire-button {
  border-color: #e5a729;
  background: #bd641e;
}

.asteroid-fire-button:hover {
  border-color: #ffd067;
  background: #db7a23;
}

.asteroid-credit {
  margin: 1rem auto 0;
  color: #8fa9c0;
  font-size: 0.76rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .asteroid-data-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .asteroid-touch-controls {
    width: 100%;
  }

  .asteroid-touch-controls .arcade-touch-button {
    min-width: 0;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    flex: 1 1 0;
  }
}
