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__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: 50%;
  background: #b9a0ff;
  color: #17141a;
}

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

.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__coderow {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mk__code {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(12px, 3.8vw, 15px);
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: #5b3fc4;
  background: rgba(185, 160, 255, 0.14);
  border-radius: 999px;
  padding: 4px 16px;
  font-variant-numeric: tabular-nums;
}

.mk__copy {
  display: inline-block;
  margin-left: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.6;
  color: #17141a;
  background: #b9a0ff;
  border: none;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}

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

.mk__dotsrow {
  padding-top: 8px !important;
  padding-bottom: 0 !important;
}

.mk__dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mk__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: none;
  border: 2px solid rgba(23, 20, 26, 0.2);
  box-sizing: border-box;
}

.mk__dotfill {
  border-color: #5b3fc4;
  background: #5b3fc4;
}

.mk__dotslabel {
  margin-left: 8px;
  font-weight: 600;
  font-size: 9px;
  line-height: 1.3;
  color: rgba(23, 20, 26, 0.62);
}

.mk__ctawrap {
  padding-top: 8px !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 .d1 {
  animation-name: rfDot;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-iteration-count: infinite;
  animation-delay: 160ms;
  animation-fill-mode: backwards;
}

.mk.is-demo .d2 {
  animation-name: rfDot;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-iteration-count: infinite;
  animation-delay: 380ms;
  animation-fill-mode: backwards;
}

.mk.is-demo .mk__code {
  animation-name: rfPill;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

@keyframes rfDot {
  0% {
    transform: scale(0);
    background: transparent;
    border-color: rgba(23, 20, 26, 0.2);
  }
  18%, 84% {
    transform: scale(1);
    background: #5b3fc4;
    border-color: #5b3fc4;
  }
  88%, 100% {
    transform: scale(0);
    background: transparent;
    border-color: rgba(23, 20, 26, 0.2);
  }
}
@keyframes rfPill {
  0%, 12% {
    transform: translateY(4px);
    opacity: 0;
  }
  30%, 84% {
    transform: translateY(0);
    opacity: 1;
  }
  92%, 100% {
    transform: translateY(4px);
    opacity: 0;
  }
}
@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__code {
    font-size: 10px !important;
    padding: 0 12px !important;
  }
  .mk__copy {
    font-size: 9px !important;
    padding: 0 8px !important;
    margin-left: 4px !important;
  }
  .mk__dot {
    width: 8px;
    height: 8px;
  }
  .mk__dotslabel {
    font-size: 8px !important;
  }
  .mk__dotsrow {
    padding-top: 4px !important;
  }
  .mk__ctawrap {
    padding-top: 4px !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 .d1,
  .mk.is-demo .d2,
  .mk.is-demo .mk__code {
    animation: none !important;
    transform: none;
    opacity: 1;
  }
}
