html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.pm {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  width: min(100%, 440px);
  height: min(252px, 100vh - 2 * clamp(8px, 4vw, 24px));
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.07);
  color: #17141a;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  user-select: none;
}

.pm b {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pm__live {
  position: absolute;
  left: 12px;
  top: 8px;
  margin: 0;
  z-index: 9;
  color: rgba(23, 20, 26, 0.72);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}

.pm button {
  font-family: inherit;
}

.pm button:focus-visible {
  outline: 3px solid #17141a;
  outline-offset: 2px;
}

.pm__anchor {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #6ec8ff, #b9a0ff);
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  cursor: pointer;
  z-index: 5;
}

.pm__ring, .pm__card {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  border-radius: 16px;
  visibility: hidden;
}

.pm__ring {
  background: #b9a0ff;
  z-index: 3;
}

.pm__card {
  overflow: hidden;
  background: linear-gradient(170deg, #6ec8ff 0%, #ff9ebb 62%, #b9a0ff 100%);
  color: #17141a;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  z-index: 4;
}

.pm__sun {
  position: absolute;
  right: 18%;
  top: 16%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff7e6;
}

.pm__hill {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -38%;
  height: 70%;
  border-radius: 50%;
  background: #4cd4a6;
}

.pm__ttl {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 13px;
  line-height: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .pm__anchor {
    cursor: default;
  }
}
