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

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffd23f;
  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__hero {
  padding-top: 4px !important;
  padding-bottom: 0 !important;
}

.mk__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 8vw, 34px);
  height: clamp(26px, 8vw, 34px);
  border-radius: 8px;
  background: #0a4fe8;
  color: #fff7e6;
}

.mk__ico {
  width: 62%;
  height: 62%;
}

.mk__title {
  font-weight: 800;
  font-size: clamp(12px, 3.6vw, 14px);
  line-height: 1.25;
  color: #17141a;
  padding-top: 4px !important;
}

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

.mk__couponrow {
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

.mk__coupon {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: rgba(47, 109, 246, 0.06);
  border: 2px dashed rgba(47, 109, 246, 0.45);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 16px;
}

.mk__codelabel, .mk__donelabel {
  font-weight: 800;
  font-size: clamp(14px, 4.4vw, 18px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: #6079b0;
}

.mk__donelabel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  color: #17141a;
}

.mk__coupon.is-copied .mk__codelabel {
  visibility: hidden;
}

.mk__coupon.is-copied .mk__donelabel {
  visibility: visible;
}

.mk__coupon:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.mk__ctawrap {
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

.mk__cta {
  display: inline-block;
  padding: 4px 24px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  font-family: inherit;
  color: #fff7e6;
  text-decoration: none;
  border-radius: 12px;
  background: #17141a;
}

.mk__live {
  font-weight: 600;
  font-size: 9px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.62);
  padding: 0 !important;
  min-height: 12px;
}

.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__coupon {
  animation-name: prPop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-iteration-count: infinite;
}

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

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

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

@keyframes prPop {
  0%, 12% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.06);
  }
  30%, 100% {
    transform: scale(1);
  }
}
@keyframes prCode {
  0%, 44% {
    visibility: visible;
  }
  45%, 84% {
    visibility: hidden;
  }
  85%, 100% {
    visibility: visible;
  }
}
@keyframes prDone {
  0%, 44% {
    visibility: hidden;
  }
  45%, 84% {
    visibility: visible;
  }
  85%, 100% {
    visibility: hidden;
  }
}
@keyframes prBeat {
  0%, 40% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  62%, 100% {
    transform: 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__badge {
    width: 22px;
    height: 22px;
  }
  .mk__title {
    font-size: 11px !important;
    padding-top: 0 !important;
  }
  .mk__body {
    font-size: 8px !important;
    padding-bottom: 0 !important;
  }
  .mk__coupon {
    padding: 4px 12px !important;
  }
  .mk__codelabel, .mk__donelabel {
    font-size: 12px !important;
  }
  .mk__cta {
    padding: 0 20px !important;
    font-size: 10px !important;
  }
  .mk__live {
    min-height: 0;
    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__coupon,
  .mk.is-demo .mk__codelabel,
  .mk.is-demo .mk__donelabel,
  .mk.is-demo .mk__badge {
    animation: none !important;
  }
}
