/* ---------- Phaser Moon Aliens ---------- */
.moon-aliens-level {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(119, 244, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 34%, rgba(199, 162, 255, 0.12), transparent 30%),
    linear-gradient(145deg, #050714 0%, #0d1224 58%, #11182d 100%);
  color: #eef7ff;
}

.moon-aliens-frame {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 36px));
  height: min(760px, calc(100vh - 88px));
  margin: 70px auto 18px;
  border: 1px solid rgba(143, 234, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: #050714;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.moon-aliens-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 46%, rgba(0, 0, 0, 0.2) 100%);
  background-size: 100% 4px, auto;
  mix-blend-mode: screen;
  opacity: 0.45;
}

.moon-aliens-game {
  position: absolute;
  inset: 0;
}

.moon-aliens-game canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.moon-aliens-hud {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(238, 247, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 12, 24, 0.72);
  backdrop-filter: blur(14px);
}

.moon-aliens-hud span {
  grid-column: 1 / -1;
  color: #8feaff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.moon-aliens-hud strong {
  color: #eef7ff;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.35;
}

.moon-aliens-progress {
  display: flex;
  gap: 8px;
}

.moon-aliens-progress i {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(238, 247, 255, 0.22);
}

.moon-aliens-progress i.on {
  background: linear-gradient(90deg, #77f4ff, #ffd66b);
  box-shadow: 0 0 16px rgba(119, 244, 255, 0.32);
}

.moon-aliens-replay {
  grid-column: 2;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: #ffd66b;
  color: #161106;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.moon-aliens-replay:hover,
.moon-aliens-replay:focus-visible {
  filter: brightness(1.06);
}

@media (max-width: 700px) {
  .moon-aliens-frame {
    width: calc(100vw - 22px);
    height: calc(100vh - 78px);
    margin-top: 64px;
  }

  .moon-aliens-hud {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
  }

  .moon-aliens-replay {
    grid-column: 1;
    justify-self: start;
  }
}

/* ---------- Phaser Moon Garden Rescue ---------- */
.moon-garden-level {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 16%, rgba(149, 255, 191, 0.16), transparent 30%),
    radial-gradient(circle at 84% 30%, rgba(116, 215, 255, 0.13), transparent 30%),
    linear-gradient(145deg, #06101c 0%, #0c1525 58%, #111c2d 100%);
  color: #f7fbff;
}

.moon-garden-frame {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 36px));
  height: min(760px, calc(100vh - 88px));
  margin: 70px auto 18px;
  border: 1px solid rgba(149, 255, 191, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #06101c;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.moon-garden-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 48%, rgba(0, 0, 0, 0.2) 100%);
  background-size: 100% 4px, auto;
  mix-blend-mode: screen;
  opacity: 0.38;
}

.moon-garden-game {
  position: absolute;
  inset: 0;
}

.moon-garden-game canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.moon-garden-hud {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(247, 251, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 13, 25, 0.72);
  backdrop-filter: blur(14px);
}

.moon-garden-hud span {
  grid-column: 1 / -1;
  color: #95ffbf;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.moon-garden-hud strong {
  color: #f7fbff;
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  line-height: 1.35;
}

.moon-garden-progress {
  display: flex;
  gap: 8px;
}

.moon-garden-progress i {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.22);
}

.moon-garden-progress i.on {
  background: linear-gradient(90deg, #95ffbf, #74d7ff, #fff08a);
  box-shadow: 0 0 16px rgba(149, 255, 191, 0.32);
}

.moon-garden-replay {
  grid-column: 2;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: #95ffbf;
  color: #092013;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.moon-garden-replay:hover,
.moon-garden-replay:focus-visible {
  filter: brightness(1.06);
}

@media (max-width: 700px) {
  .moon-garden-frame {
    width: calc(100vw - 22px);
    height: calc(100vh - 78px);
    margin-top: 64px;
  }

  .moon-garden-hud {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
  }

  .moon-garden-replay {
    grid-column: 1;
    justify-self: start;
  }
}

/* ---------- Phaser Meteor Shield ---------- */
.meteor-shield-level {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(126, 231, 255, 0.15), transparent 30%),
    radial-gradient(circle at 84% 30%, rgba(255, 179, 92, 0.11), transparent 30%),
    linear-gradient(145deg, #07101d 0%, #11182a 58%, #151b2d 100%);
  color: #f7fbff;
}

.meteor-shield-frame {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 36px));
  height: min(800px, calc(100vh - 88px));
  margin: 70px auto 18px;
  border: 1px solid rgba(126, 231, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #07101d;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.meteor-shield-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 48%, rgba(0, 0, 0, 0.2) 100%);
  background-size: 100% 4px, auto;
  mix-blend-mode: screen;
  opacity: 0.38;
}

.meteor-shield-game {
  position: absolute;
  inset: 0;
}

.meteor-shield-game canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.meteor-shield-hud {
  position: absolute;
  left: auto;
  right: 18px;
  top: 18px;
  bottom: auto;
  z-index: 3;
  width: min(480px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(247, 251, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 13, 25, 0.82);
  backdrop-filter: blur(14px);
}

.meteor-shield-hud > span {
  grid-column: 1 / -1;
  color: #7ee7ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.meteor-shield-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.meteor-shield-steps span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 6px 8px;
  border: 1px solid rgba(126, 231, 255, 0.22);
  border-radius: 8px;
  background: rgba(126, 231, 255, 0.1);
  color: #f7fbff;
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1.12;
  text-align: center;
}

.meteor-shield-hud strong {
  color: #f7fbff;
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  line-height: 1.35;
}

.meteor-shield-hud em {
  color: #ffdf7e;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.meteor-shield-progress {
  display: flex;
  gap: 6px;
}

.meteor-shield-progress i {
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.22);
}

.meteor-shield-progress i.on {
  background: linear-gradient(90deg, #7ee7ff, #ffb35c);
  box-shadow: 0 0 16px rgba(126, 231, 255, 0.32);
}

.meteor-shield-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.meteor-shield-guide span {
  min-height: 36px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(247, 251, 255, 0.12);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.07);
  color: rgba(247, 251, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.16;
}

.meteor-shield-guide b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--shield-guide-color);
  color: #07101d;
  font-size: 0.72rem;
  font-weight: 1000;
}

.meteor-shield-replay {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 14px;
  background: #7ee7ff;
  color: #07101d;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.meteor-shield-replay:hover,
.meteor-shield-replay:focus-visible {
  filter: brightness(1.06);
}

/* ---------- Phaser Shooting Star Ride ---------- */
.shooting-star-level {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 217, 108, 0.2), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(126, 231, 255, 0.16), transparent 29%),
    radial-gradient(circle at 58% 78%, rgba(215, 119, 255, 0.11), transparent 27%),
    linear-gradient(145deg, #06071a 0%, #10162c 54%, #17102a 100%);
  color: #fff7d8;
}

.shooting-star-frame {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 36px));
  height: min(800px, calc(100vh - 88px));
  margin: 70px auto 18px;
  border: 1px solid rgba(255, 217, 108, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background: #07091f;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.48),
    0 0 42px rgba(255, 217, 108, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.shooting-star-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(90deg, rgba(255, 217, 108, 0.08), transparent 22%, transparent 78%, rgba(126, 231, 255, 0.07));
  background-size: 100% 4px, auto;
  mix-blend-mode: screen;
  opacity: 0.42;
}

.shooting-star-game {
  position: absolute;
  inset: 0;
}

.shooting-star-game canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.shooting-star-hud {
  position: absolute;
  left: auto;
  right: 18px;
  top: 18px;
  bottom: auto;
  z-index: 3;
  width: min(500px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 247, 216, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 217, 108, 0.12), rgba(126, 231, 255, 0.07)),
    rgba(7, 9, 31, 0.78);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.shooting-star-hud > span {
  grid-column: 1 / -1;
  color: #ffd96c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shooting-star-helper {
  grid-column: 1 / -1;
  color: #fff7d8;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.32;
}

.shooting-star-score-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shooting-star-score-card {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 247, 216, 0.16);
  border-radius: 8px;
  background: rgba(255, 247, 216, 0.08);
}

.shooting-star-score-card small {
  color: rgba(255, 247, 216, 0.84);
  font-size: 0.78rem;
  font-weight: 900;
}

.shooting-star-score-card strong {
  color: #fff7d8;
  font-size: clamp(1.3rem, 3.2vw, 1.78rem);
  line-height: 1;
}

.shooting-star-goal {
  grid-column: 1 / -1;
  color: #ffd96c;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.shooting-star-controls {
  grid-column: 1 / -1;
  color: rgba(255, 247, 216, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.shooting-star-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.shooting-star-flow span {
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 247, 216, 0.14);
  border-radius: 8px;
  background: rgba(255, 247, 216, 0.07);
  color: rgba(255, 247, 216, 0.72);
  font-size: 0.72rem;
  font-weight: 1000;
  text-align: center;
}

.shooting-star-flow span.on {
  border-color: rgba(255, 217, 108, 0.46);
  background: rgba(255, 217, 108, 0.16);
  color: #fff7d8;
}

.shooting-star-flow span.warn {
  border-color: rgba(215, 119, 255, 0.42);
  background: rgba(215, 119, 255, 0.13);
  color: #f3dcff;
}

.shooting-star-hud em {
  color: #8feaff;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.shooting-star-progress {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
}

.shooting-star-progress i {
  width: 24px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 247, 216, 0.22);
}

.shooting-star-progress i.on {
  background: linear-gradient(90deg, #ffd96c, #8feaff, #fff7d8);
  box-shadow:
    0 0 14px rgba(255, 217, 108, 0.34),
    0 0 24px rgba(126, 231, 255, 0.18);
}

.shooting-star-replay {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 14px;
  background: #ffd96c;
  color: #221708;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.shooting-star-replay:hover,
.shooting-star-replay:focus-visible {
  filter: brightness(1.06);
}

@media (max-width: 700px) {
  .shooting-star-frame {
    width: calc(100vw - 22px);
    height: calc(100vh - 78px);
    margin-top: 64px;
  }

  .shooting-star-hud {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 10px;
    width: auto;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 12px;
    background:
      linear-gradient(135deg, rgba(255, 217, 108, 0.16), rgba(126, 231, 255, 0.1)),
      rgba(7, 9, 31, 0.9);
  }

  .shooting-star-hud > span {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .shooting-star-score-row,
  .shooting-star-helper,
  .shooting-star-goal,
  .shooting-star-controls,
  .shooting-star-flow,
  .shooting-star-progress {
    grid-column: 1 / -1;
  }

  .shooting-star-flow {
    grid-template-columns: 1fr;
  }

  .shooting-star-score-card {
    min-height: 62px;
    padding: 10px 12px;
  }

  .shooting-star-score-card small {
    font-size: 0.86rem;
  }

  .shooting-star-score-card strong {
    font-size: 1.58rem;
  }

  .shooting-star-helper {
    font-size: 1.05rem;
    line-height: 1.34;
  }

  .shooting-star-goal,
  .shooting-star-controls {
    font-size: 0.94rem;
    line-height: 1.28;
  }

  .shooting-star-replay {
    grid-column: 1;
    justify-self: start;
  }
}

/* ── Gravity Drop Game ──────────────────────────────── */
.gravity-drop-card {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--planet-color) 38%, transparent);
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--planet-color) 18%, transparent),
      rgba(14, 12, 32, 0.74)
    ),
    rgba(14, 12, 32, 0.68);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 10px;
}
.gravity-drop-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  font-weight: 600;
}
.gravity-drop-arena {
  position: relative;
  height: 140px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  outline: none;
}
.gravity-drop-arena:hover,
.gravity-drop-arena:focus-visible {
  border-color: color-mix(in srgb, var(--planet-color) 40%, transparent);
}
.gravity-drop-arena.waiting-guess {
  cursor: default;
}
.gravity-guess-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.gravity-guess-row button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-dim);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.gravity-guess-row button span {
  display: block;
  font-size: 18px;
  line-height: 1;
}
.gravity-guess-row button.selected {
  background: color-mix(in srgb, var(--planet-color) 36%, rgba(255, 255, 255, 0.12));
  color: var(--ink);
  border-color: color-mix(in srgb, var(--planet-color) 58%, transparent);
}
.gravity-drop-object {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.gravity-drop-object.landed {
  animation: gravity-drop-squash 0.32s ease-out both;
}
@keyframes gravity-drop-squash {
  0%   { transform: translateX(-50%) scaleY(0.55) scaleX(1.35); }
  45%  { transform: translateX(-50%) scaleY(1.1) scaleX(0.94); }
  100% { transform: translateX(-50%) scaleY(1) scaleX(1); }
}
.gravity-drop-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 10px 10px;
  transition: background 0.18s, box-shadow 0.18s;
}
.gravity-drop-floor.lit {
  background: color-mix(in srgb, var(--planet-color) 70%, white);
  box-shadow: 0 0 14px color-mix(in srgb, var(--planet-color) 55%, transparent);
}
.gravity-drop-prompt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: var(--ink-dim);
  pointer-events: none;
}
.gravity-drop-speed {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in srgb, var(--planet-color) 90%, white);
  white-space: nowrap;
  pointer-events: none;
}
.gravity-drop-time-bars {
  display: grid;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.gravity-drop-time-bars span {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 8px;
}
.gravity-drop-time-bars strong,
.gravity-drop-time-bars small {
  overflow: hidden;
  color: var(--ink-dim);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gravity-drop-time-bars small {
  text-align: right;
}
.gravity-drop-time-bars i {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.gravity-drop-time-bars b {
  display: block;
  min-width: 10px;
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--planet-color) 78%, #ffd66b);
}
.gravity-drop-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gravity-drop-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-dim);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.gravity-drop-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  color: var(--ink);
}
.gravity-drop-btn.primary {
  background: color-mix(in srgb, var(--planet-color) 38%, rgba(14, 12, 32, 0.8));
  border-color: color-mix(in srgb, var(--planet-color) 55%, transparent);
  color: var(--ink);
}
.gravity-drop-btn.primary:hover {
  background: color-mix(in srgb, var(--planet-color) 52%, rgba(14, 12, 32, 0.8));
}
.gravity-drop-fact {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.4;
}
.gravity-guess-result {
  border-radius: 8px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--planet-color) 22%, rgba(255, 255, 255, 0.08));
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
@media (max-width: 700px) {
  .gravity-drop-arena {
    height: 110px;
  }
}

@media (max-width: 700px) {
  .meteor-shield-frame {
    width: calc(100vw - 22px);
    height: calc(100vh - 78px);
    margin-top: 64px;
  }

  .meteor-shield-hud {
    left: 10px;
    right: 10px;
    top: 10px;
    width: auto;
    grid-template-columns: 1fr auto;
    padding: 12px;
  }

  .meteor-shield-hud strong {
    grid-column: 1 / -1;
  }

  .meteor-shield-guide {
    grid-template-columns: 1fr;
  }

  .meteor-shield-replay {
    justify-self: start;
  }
}
