/* ==========================================================================
   WEI STUDIO — background shoot-'em-up (shmup.js companion).
   No frameworks, no external requests. Remove this file + shmup.js to disable.
   ========================================================================== */

#shmup-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.shmup-hud {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 0;
  max-width: 150px;
  background: rgba(11, 11, 12, 0.72);
  border: 1px solid var(--line-strong);
  padding: 6px 8px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: var(--muted);
  pointer-events: none;
  user-select: none;
}

.shmup-hud__row {
  display: block;
  white-space: nowrap;
}

.shmup-hud__row--score {
  color: var(--paper);
}

.shmup-hud__row--hi {
  color: var(--faint);
}

.shmup-hud__life {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  background: var(--accent);
  vertical-align: middle;
}

.shmup-hud__paused {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: rgba(11, 11, 12, 0.72);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 2.6vw, 20px);
  letter-spacing: 0.2em;
  color: var(--accent);
  pointer-events: none;
  display: none;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  #shmup-bg,
  .shmup-hud,
  .shmup-hud__paused {
    display: none !important;
  }
}

/* 允许单指滚动与双指缩放，只去掉双击缩放（会和双击炮弹抢事件） */
html {
  touch-action: manipulation;
}
