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__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: #ff4d1f;
  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__countrow {
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

.mk__count {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 4px;
  background: #17141a;
  border-radius: 12px;
  padding: 8px 12px;
}

.mk__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mk__digits {
  position: relative;
  font-weight: 800;
  font-size: clamp(18px, 6vw, 24px);
  line-height: 1;
  color: #fff7e6;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.mk__unit {
  font-weight: 600;
  font-size: 8px;
  line-height: 1;
  color: rgba(255, 247, 230, 0.55);
}

.mk__colon {
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 247, 230, 0.72);
  padding-bottom: 8px;
}

.mk__d1, .mk__d2, .mk__d3 {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
}

.mk__d2, .mk__d3 {
  visibility: hidden;
}

.mk__bar {
  margin-top: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.1);
  overflow: hidden;
}

.mk__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #ff4d1f;
  transform-origin: right;
}

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

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

.mk__remind {
  display: inline-block;
  padding: 4px 12px;
  margin-left: 8px;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.6;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.6);
  background: none;
  border: 1px solid rgba(23, 20, 26, 0.25);
  border-radius: 999px;
  cursor: pointer;
}

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

.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__d1 {
  animation-name: fsD1;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

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

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

.mk.is-demo .mk__fill {
  animation-name: fsBar;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

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

@keyframes fsD1 {
  0%, 32% {
    visibility: visible;
  }
  33%, 100% {
    visibility: hidden;
  }
}
@keyframes fsD2 {
  0%, 32% {
    visibility: hidden;
  }
  33%, 65% {
    visibility: visible;
  }
  66%, 100% {
    visibility: hidden;
  }
}
@keyframes fsD3 {
  0%, 65% {
    visibility: hidden;
  }
  66%, 84% {
    visibility: visible;
  }
  85%, 100% {
    visibility: hidden;
  }
}
@keyframes fsBar {
  0% {
    transform: scaleX(1);
  }
  78% {
    transform: scaleX(0.16);
  }
  82% {
    opacity: 0;
    transform: scaleX(0.16);
  }
  84% {
    opacity: 0;
    transform: scaleX(1);
  }
  90%, 100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes fsTick {
  0%, 8% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  22%, 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__digits {
    font-size: 15px !important;
  }
  .mk__unit {
    font-size: 7px !important;
  }
  .mk__count {
    padding: 4px 8px !important;
  }
  .mk__cta {
    padding: 0 12px !important;
    font-size: 10px !important;
  }
  .mk__remind {
    padding: 0 8px !important;
    margin-left: 4px !important;
    font-size: 9px !important;
  }
  .mk__footer {
    font-size: 7px !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mk.is-demo .mk__d1,
  .mk.is-demo .mk__d2,
  .mk.is-demo .mk__d3,
  .mk.is-demo .mk__fill,
  .mk.is-demo .mk__badge {
    animation: none !important;
  }
  .mk__d1 {
    visibility: visible;
  }
}
