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

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #1a1726;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.mb {
  --mb-c0: #3d3560;
  --mb-c1: #c9bdf2;
  --mb-c2: #efeaff;
  --mb-c3: #efc0b5;
  --mb-c4: #3d3560;
  --mb-set: #241d38;
  --mb-ink: #14111f;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.mb__hero {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #14111f;
  box-shadow: inset 0 0 0 1px rgba(207, 200, 232, 0.18);
  display: grid;
  place-items: center;
}

.mb__hero:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.mb__cv {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.mb__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, rgba(20, 17, 31, 0) 38%, rgba(20, 17, 31, 0.62) 100%);
  pointer-events: none;
}

.mb__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  text-align: center;
}

.mb__kicker {
  margin: 0;
  font-weight: 500;
  font-size: clamp(9px, 2.4vw, 11px);
  line-height: 1;
  letter-spacing: 0.32em;
  color: rgba(207, 200, 232, 0.72);
}

.mb__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(20px, 7vw, 30px);
  line-height: 1.04;
  letter-spacing: 0.08em;
  color: #cfc8e8;
  text-shadow: 0 2px 12px rgba(20, 17, 31, 0.8);
}
.is-demo .mb__title {
  animation-name: mb-breathe;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes mb-breathe {
  0% {
    opacity: 0.96;
    letter-spacing: 0.08em;
  }
  50% {
    opacity: 1;
    letter-spacing: 0.1em;
  }
  100% {
    opacity: 0.96;
    letter-spacing: 0.08em;
  }
}
.mb__breath {
  margin: 0;
  font-weight: 500;
  font-size: 10px;
  line-height: 1;
  color: rgba(207, 200, 232, 0.72);
}

.mb__star {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfc8e8;
  box-shadow: 0 0 0 0 rgba(207, 200, 232, 0.4);
}
.is-demo .mb__star {
  animation-name: mb-star;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes mb-star {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(207, 200, 232, 0.4);
  }
  50% {
    transform: scale(1.5);
    box-shadow: 0 0 0 6px rgba(207, 200, 232, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(207, 200, 232, 0.4);
  }
}
.mb__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.mb__meta {
  font-size: 10px;
  font-weight: 500;
  color: rgba(207, 200, 232, 0.72);
}

.mb__meta--dim {
  font-size: 10px;
}

@media (max-width: 340px) {
  .mb {
    gap: 4px;
  }
  .mb__hero {
    height: 100px;
  }
  .mb__meta--dim {
    display: none;
  }
  .mb__breath {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mb.is-demo .mb__title,
  .mb.is-demo .mb__star {
    animation: none !important;
  }
}
