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

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

.ph {
  position: relative;
  box-sizing: border-box;
  width: min(420px, 96vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47, 109, 246, 0.16), rgba(23, 20, 26, 0));
  isolation: isolate;
  overflow: hidden;
}

.ph__blob {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  animation: ph-drift 3.4s ease-in-out infinite;
}

.ph__blob--a {
  width: 120px;
  height: 120px;
  left: -30px;
  top: -30px;
  background: rgba(47, 109, 246, 0.35);
}

.ph__blob--b {
  width: 90px;
  height: 90px;
  right: -20px;
  bottom: -24px;
  background: rgba(255, 210, 63, 0.28);
  animation-delay: -1.6s;
}

@keyframes ph-drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(6px, -8px) scale(1.12);
    opacity: 1;
  }
}
.ph__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ph__eyebrow {
  margin: 0;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff7e6;
}

.ph__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(17px, 5vw, 21px);
  line-height: 1.15;
  font-family: inherit;
  color: #fff7e6;
}

.ph__sub {
  margin: 0;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.65);
}

.ph__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ph__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ph__num {
  display: block;
  min-width: 32px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.1);
  color: #fff7e6;
  font: 800 15px/1 "Space Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.ph__num--s {
  background: rgba(47, 109, 246, 0.26);
  animation: ph-tick 1s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
  transform-origin: center;
}

@keyframes ph-tick {
  0%, 55% {
    transform: translateY(0) scale(1);
  }
  78% {
    transform: translateY(-3px) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.ph__unit-label {
  font-weight: 600;
  font-size: 8px;
  line-height: 1;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.5);
}

.ph__sep {
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.6);
  margin-top: -12px;
}

.ph__cta {
  border: 0;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 12px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  font-family: inherit;
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1), background 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ph__cta[aria-pressed=true] {
  background: #6c81b6;
  transform: scale(0.96);
}

.ph__cta:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .ph__blob, .ph__num--s {
    animation: none !important;
  }
  .ph__cta {
    transition: none !important;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .ph__sub, .ph__eyebrow, .ph__unit-label {
    display: none;
  }
  .ph {
    padding: 12px;
    gap: 8px;
  }
  .ph__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .ph__row {
    justify-content: center;
  }
  .ph__num {
    min-width: 24px;
    padding: 4px;
    font-size: 12px;
  }
  .ph__cta {
    padding: 4px 12px;
  }
}
