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

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  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__title {
  font-weight: 800;
  font-size: clamp(12px, 3.6vw, 14px);
  line-height: 1.25;
  color: #17141a;
  padding-top: 8px !important;
}

.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;
  padding-bottom: 4px !important;
}

.mk__starsrow {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mk__stars {
  display: inline-flex;
  gap: 4px;
}

.mk__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 9vw, 38px);
  height: clamp(28px, 9vw, 38px);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.22);
}

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

.mk__star.is-fill {
  color: #ff4d1f;
}

.mk__star:hover {
  color: rgba(23, 20, 26, 0.4);
}

.mk__star.is-fill:hover {
  color: #ff4d1f;
}

.mk__star:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
  border-radius: 4px;
}

.mk__thanks {
  padding-top: 4px !important;
  padding-bottom: 0 !important;
  min-height: 28px;
}

.mk__thankline {
  font-weight: 600;
  font-size: clamp(9px, 2.8vw, 10px);
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.62);
}

.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__star:nth-child(1) {
  animation-name: svFill;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
  animation-delay: 120ms;
}

.mk.is-demo .mk__star:nth-child(2) {
  animation-name: svFill;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
  animation-delay: 280ms;
}

.mk.is-demo .mk__star:nth-child(3) {
  animation-name: svFill;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
  animation-delay: 440ms;
}

.mk.is-demo .mk__star:nth-child(4) {
  animation-name: svFill;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
  animation-delay: 600ms;
}

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

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

@keyframes svFill {
  0% {
    color: rgba(23, 20, 26, 0.22);
  }
  30%, 84% {
    color: #ff4d1f;
  }
  86%, 100% {
    color: rgba(23, 20, 26, 0.22);
  }
}
@keyframes svPop {
  0%, 56% {
    transform: scale(1);
  }
  62% {
    transform: scale(1.14);
  }
  70%, 100% {
    transform: scale(1);
  }
}
@keyframes svThanks {
  0%, 58% {
    opacity: 0;
    transform: translateY(6px);
  }
  72% {
    opacity: 1;
    transform: translateY(0);
  }
  84% {
    opacity: 1;
    transform: translateY(0);
  }
  90%, 100% {
    opacity: 0;
    transform: translateY(6px);
  }
}
@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__title {
    font-size: 11px !important;
    padding-top: 4px !important;
  }
  .mk__body {
    font-size: 8px !important;
    padding-bottom: 0 !important;
  }
  .mk__star {
    width: 24px;
    height: 24px;
  }
  .mk__thanks {
    min-height: 0;
    padding-top: 0 !important;
  }
  .mk__thankline {
    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__star,
  .mk.is-demo .mk__thankline {
    animation: none !important;
  }
}
