/* Melon Cascade — Playnesta-original stylesheet. No web font, no bitmap. */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: #0f172a;
  overflow: hidden;
}

#wm-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  touch-action: none;
  overscroll-behavior: contain;
}

#wm-canvas {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  background: #0f172a;
  cursor: pointer;
}

/* The hint is decorative: it never takes part in layout, so a short stage
   cannot be pushed into overflow by it. */
#wm-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  margin: 0 auto;
  max-width: 96%;
  text-align: center;
  color: #94a3b8;
  font: 12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  pointer-events: none;
}

/* On the measured phone stage (348x261) there is no room for a caption
   without covering the jar, so it is hidden there. */
@media (max-height: 320px) {
  #wm-hint {
    display: none;
  }
}
