/* One continuous range backdrop for the complete shooting surface. */
.shooting-game {
  position: relative;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(216, 198, 152, .25);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(5, 17, 21, .34) 0%, rgba(5, 17, 21, .16) 46%, rgba(5, 17, 21, .08) 100%),
    url('/minigames/shooting/background.webp?v=1') center top / cover no-repeat;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  isolation: isolate;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.shooting-game *,
.shooting-game .shooting-stage,
.shooting-game canvas {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.shooting-game .shooting-stage,
.shooting-game canvas {
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.shooting-game .memory-toolbar {
  margin: 0;
  padding: 14px 14px 5px;
}

.shooting-game .memory-heading {
  padding: 0 14px;
}

.shooting-game .memory-stats {
  width: calc(100% - 28px);
  margin: 12px auto 8px;
}

.shooting-game .memory-stats span,
.shooting-game .memory-status {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(7, 22, 27, .8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.shooting-game .memory-status {
  width: calc(100% - 28px);
  max-width: 530px;
  margin: 0 auto 12px;
}

.shooting-game .shooting-stage {
  width: min(100%, 530px);
  max-width: 530px;
  margin: 0 auto;
  aspect-ratio: 720 / 912;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 560px) {
  .shooting-game {
    border-radius: 11px;
  }

  .shooting-game .memory-toolbar {
    padding: 12px 10px 5px;
  }

  .shooting-game .memory-heading {
    padding: 0 10px;
  }

  .shooting-game .memory-stats,
  .shooting-game .memory-status {
    width: calc(100% - 20px);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .shooting-game .memory-stats span,
  .shooting-game .memory-status {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
