:root {
  --play: min(86vw, 320px);
}

body {
  background: #061022;
  color: #fff;
  font-family: "Marhey", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Kufi Arabic", "Cairo", sans-serif;
  font-weight: 500;
}

#hud {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, .08);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

#coins {
  color: #ffeb3b;
  font-weight: 700;
}

.playCard {
  width: var(--play);
  height: 420px;
  margin: 12px auto;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

#planeCanvas {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #0b1220;
  display: block;
}

.btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.btn {
  min-width: 96px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, .12);
}

.btn.yellow {
  background: linear-gradient(180deg, #ffd54a, #f4c542);
  color: #111;
}

.btn.green {
  background: linear-gradient(180deg, #4cd964, #26a65b);
  color: #062;
}

.btn.red {
  background: linear-gradient(180deg, #ff6b6b, #e03131);
  color: #fff;
}

.btn:disabled {
  filter: grayscale(.6) brightness(.85);
  opacity: .7;
  cursor: not-allowed;
}

.note {
  margin: 10px auto 0;
  width: var(--play);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  text-align: center;
  color: #ffeb3b;
}