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

.stage {
  align-items: start;
  padding-top: 16px;
}

.dp {
  position: relative;
  width: 100%;
  max-width: 220px;
}

.dp__field {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 12px;
  background: #0a4fe8;
  color: #fff7e6;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.dp__fieldLabel {
  font-size: 10px;
  opacity: 0.8;
}

.dp__fieldValue {
  font-size: 14px;
  font-weight: 700;
}

.dp__pop {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform-origin: top center;
  transform: scale(0.85);
  opacity: 0;
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 220ms ease-out;
}

.dp--open .dp__pop {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.dp__head {
  text-align: center;
  margin-bottom: 4px;
}

.dp__label {
  font-size: 11px;
  font-weight: 700;
  color: #17141a;
}

.dp__weekday,
.dp__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.dp__weekday span {
  font-size: 9px;
  text-align: center;
  color: rgba(23, 20, 26, 0.72);
  padding-bottom: 4px;
}

.dp__cell {
  display: grid;
  place-items: center;
  height: 21px;
  font-size: 11px;
  color: #17141a;
  border-radius: 4px;
}

.dp__cell--out {
  visibility: hidden;
}

.dp__cell--today {
  background: #2f6df6;
  color: #fff7e6;
  font-weight: 700;
}

@media (max-width: 340px) {
  .stage {
    padding-top: 8px;
  }
  .dp {
    max-width: 180px;
  }
  .dp__field {
    padding: 4px 8px;
  }
  .dp__pop {
    padding: 4px;
  }
  .dp__cell {
    height: 17px;
    font-size: 10px;
  }
  .dp__weekday span {
    font-size: 8px;
    padding-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dp__pop {
    transition: none;
  }
}
