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);
}

.dz {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
}

.dz__main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dz__photo {
  position: relative;
  width: 208px;
  height: 132px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  background: #6ec8ff;
  transform: scale(1);
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: zoom-in;
  touch-action: manipulation;
}

.dz__photo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dz__sky {
  fill: #6ec8ff;
}

.dz__sun {
  fill: #ff4d1f;
}

.dz__m1 {
  fill: #17141a;
}

.dz__m2 {
  fill: #b9a0ff;
}

.dz__lake {
  fill: #2f6df6;
  opacity: 0.55;
}

.dz__ring {
  position: absolute;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.dz__ring.is-pulse {
  animation: dz-pulse 220ms ease-out;
}

@keyframes dz-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
.dz__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dz__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(23, 20, 26, 0.18);
  background: #fff;
  border-radius: 12px;
  color: #17141a;
  cursor: pointer;
  transition: background 220ms cubic-bezier(0.2, 0.8, 0.2, 1), color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dz__btn:hover {
  background: #2f6df6;
  color: #fff;
}

.dz__btn:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.dz__level {
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;
  color: #17141a;
  font-variant-numeric: tabular-nums;
}

.dz__hint {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: rgba(23, 20, 26, 0.72);
}

.dz__hint svg {
  flex: none;
  color: rgba(23, 20, 26, 0.72);
}

.dz.is-demo .dz__photo {
  transform-origin: 148px 42px;
  animation: dz-zoom 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes dz-zoom {
  0%, 100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1);
  }
  44% {
    transform: scale(2.1);
  }
  76% {
    transform: scale(2.1);
  }
  88% {
    transform: scale(1);
  }
}
.dz.is-demo .dz__ring {
  left: 148px;
  top: 42px;
  animation: dz-taps 2s ease-out infinite;
}

@keyframes dz-taps {
  0%, 8% {
    opacity: 0;
    transform: scale(0.4);
  }
  13% {
    opacity: 0.95;
    transform: scale(0.85);
  }
  19% {
    opacity: 0;
    transform: scale(1.15);
  }
  21% {
    opacity: 0;
    transform: scale(0.4);
  }
  26% {
    opacity: 0.95;
    transform: scale(0.85);
  }
  32% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dz.is-demo .dz__photo,
  .dz.is-demo .dz__ring,
  .dz.is-demo .dz__level {
    animation: none !important;
  }
  .dz__photo, .dz__btn {
    transition: none;
  }
  .dz__photo {
    transform: none;
  }
}
