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 {
  position: relative;
}

.mk {
  width: min(100%, 400px);
}

.mk__table {
  border-collapse: collapse;
}

.mk__wrap {
  padding: 0;
}

.mk__card {
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  overflow: hidden;
}

.mk__card td {
  padding: 4px 20px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  -webkit-text-size-adjust: 100%;
  line-height: 1;
}

.mk__brand {
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  color: rgba(23, 20, 26, 0.62);
  letter-spacing: 0.02em;
  padding-top: 8px !important;
}

.mk__evrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px !important;
}

.mk__datecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: clamp(52px, 16vw, 64px);
  height: clamp(52px, 16vw, 64px);
  background: #ff4d1f;
  border-radius: 12px;
  color: #17141a;
}

.mk__month {
  font-weight: 700;
  font-size: 9px;
  line-height: 1.2;
}

.mk__day {
  font-weight: 800;
  font-size: clamp(18px, 6vw, 22px);
  line-height: 1;
}

.mk__weekday {
  font-weight: 600;
  font-size: 8px;
  line-height: 1.2;
}

.mk__evinfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mk__evtitle {
  font-weight: 800;
  font-size: clamp(12px, 3.8vw, 14px);
  line-height: 1.25;
  color: #17141a;
}

.mk__meta {
  font-weight: 500;
  font-size: 9px;
  line-height: 1.3;
  color: rgba(23, 20, 26, 0.62);
}

.mk__title {
  font-weight: 800;
  font-size: clamp(11px, 3.4vw, 13px);
  line-height: 1.3;
  color: #17141a;
  padding-top: 8px !important;
}

.mk__rsvp {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

.mk__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  padding: 4px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: rgba(23, 20, 26, 0.65);
  background: rgba(23, 20, 26, 0.05);
  border: 1px solid rgba(23, 20, 26, 0.16);
}

.mk__opt:hover {
  background: rgba(23, 20, 26, 0.09);
}

.mk__check {
  display: none;
  line-height: 0;
}

.mk__ico {
  width: 13px;
  height: 13px;
}

.mk__opt.is-on {
  color: #fff7e6;
  background: #17141a;
  border-color: #17141a;
}

.mk__opt.is-on .mk__check {
  display: inline-flex;
}

.mk__opt:focus-visible {
  outline: 2px solid #ff4d1f;
  outline-offset: 2px;
}

.mk__body {
  font-weight: 500;
  font-size: clamp(9px, 2.8vw, 10px);
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.62);
  padding-top: 0 !important;
}

.mk__footer {
  font-weight: 500;
  font-size: 8px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.62);
  padding-top: 4px !important;
  padding-bottom: 8px !important;
}

.mk__footer a {
  color: inherit;
}

.mk.is-demo .mk__yes {
  animation-name: evYes;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.mk.is-demo .mk__yes .mk__check {
  display: inline-flex;
}

.mk.is-demo .mk__yes .mk__check {
  animation-name: evCheck;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-iteration-count: infinite;
}

.mk.is-demo .mk__datecard {
  animation-name: evTilt;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-iteration-count: infinite;
}

@keyframes evYes {
  0%, 34% {
    color: rgba(23, 20, 26, 0.65);
    background: rgba(23, 20, 26, 0.05);
    border-color: rgba(23, 20, 26, 0.16);
  }
  35%, 84% {
    color: #fff7e6;
    background: #17141a;
    border-color: #17141a;
  }
  85%, 100% {
    color: rgba(23, 20, 26, 0.65);
    background: rgba(23, 20, 26, 0.05);
    border-color: rgba(23, 20, 26, 0.16);
  }
}
@keyframes evCheck {
  0%, 34% {
    transform: scale(0);
  }
  44% {
    transform: scale(1.25);
  }
  52%, 84% {
    transform: scale(1);
  }
  85%, 100% {
    transform: scale(0);
  }
}
@keyframes evTilt {
  0%, 10% {
    transform: rotate(0deg) scale(1);
  }
  16% {
    transform: rotate(-3deg) scale(1.05);
  }
  24%, 100% {
    transform: rotate(0deg) scale(1);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .mk__card td {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .mk__brand {
    padding-top: 0 !important;
    font-size: 9px !important;
  }
  .mk__datecard {
    width: 44px;
    height: 44px;
  }
  .mk__day {
    font-size: 15px !important;
  }
  .mk__evtitle {
    font-size: 10px !important;
  }
  .mk__meta {
    font-size: 8px !important;
  }
  .mk__evrow {
    padding-top: 4px !important;
  }
  .mk__title {
    padding-top: 4px !important;
    font-size: 10px !important;
  }
  .mk__opt {
    padding: 0 12px !important;
    font-size: 10px !important;
  }
  .mk__body {
    font-size: 8px !important;
  }
  .mk__footer {
    font-size: 7px !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mk.is-demo .mk__yes,
  .mk.is-demo .mk__yes .mk__check,
  .mk.is-demo .mk__datecard {
    animation: none !important;
  }
  .mk.is-demo .mk__yes .mk__check {
    transform: scale(1);
  }
}
