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

.dv {
  width: min(100%, 360px);
  display: grid;
  gap: 8px;
}

.dv__field {
  position: relative;
  box-sizing: border-box;
  height: 104px;
  display: grid;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  background: #231f28;
  overflow: hidden;
}

.dv__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.dv__line {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #ff9ebb;
}

.dv__orn {
  flex: none;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #b9a0ff;
  transform: scale(0.5);
}

.dv__ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0;
  pointer-events: none;
}

.dv__bar {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.dv__btn {
  box-sizing: border-box;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #b9a0ff;
  color: #17141a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}

.dv__btn[aria-pressed=true] {
  background: #ff9ebb;
}

.dv__btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.dv__meta {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.dv__tag {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dv__meta b {
  min-width: 3ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .dv__btn {
    transition: none;
  }
}
