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);
}

.eh {
  position: relative;
  box-sizing: border-box;
  width: min(400px, 92vw);
  overflow: hidden;
  border-radius: 16px;
  padding: 12px 20px 8px;
  text-align: center;
  isolation: isolate;
}

.eh__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.55;
  z-index: -1;
}

.eh__orb--1 {
  width: 170px;
  height: 170px;
  left: -45px;
  top: -35px;
  background: radial-gradient(circle, #2f6df6, transparent 62%);
  opacity: 1;
  filter: blur(3px);
  animation: eh-float-a 2s ease-in-out infinite;
}

.eh__orb--2 {
  width: 130px;
  height: 130px;
  right: -25px;
  top: 6px;
  background: radial-gradient(circle, #fff7e6, transparent 62%);
  opacity: 0.7;
  filter: blur(3px);
  animation: eh-float-b 2s ease-in-out infinite;
}

.eh__orb--3 {
  width: 150px;
  height: 150px;
  left: 28%;
  bottom: -70px;
  background: radial-gradient(circle, #2f6df6, transparent 62%);
  opacity: 0.95;
  filter: blur(3px);
  animation: eh-float-a 2s ease-in-out infinite reverse;
}

@keyframes eh-float-a {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -32px) scale(1.5);
  }
}
@keyframes eh-float-b {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-32px, 32px) scale(0.6);
  }
}
.eh__mark {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 4px;
  background: #2f6df6;
  border-radius: 4px;
  transform: rotate(45deg);
}

.eh__eyebrow {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.14em;
  color: rgba(255, 247, 230, 0.6);
}

.eh__title {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: clamp(16px, 4.6vw, 19px);
  line-height: 1.14;
  font-family: inherit;
  color: #fff7e6;
}

.eh__meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.eh__pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.1);
  color: rgba(255, 247, 230, 0.82);
  font-weight: 600;
  font-size: clamp(10px, 2.8vw, 11px);
  line-height: 1;
  font-family: inherit;
}

.eh__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.eh__cta {
  padding: 8px 20px;
  border-radius: 12px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  font-family: inherit;
  text-decoration: none;
}

.eh__save {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 247, 230, 0.3);
  background: transparent;
  color: rgba(255, 247, 230, 0.82);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  font-family: inherit;
  cursor: pointer;
  transition: background 220ms cubic-bezier(0.2, 1.4, 0.4, 1), border-color 220ms cubic-bezier(0.2, 1.4, 0.4, 1), transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.eh__save-ic {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: currentColor;
  clip-path: polygon(50% 0%, 63% 38%, 100% 38%, 70% 60%, 82% 100%, 50% 76%, 18% 100%, 30% 60%, 0% 38%, 37% 38%);
  opacity: 0.5;
  transition: opacity 220ms cubic-bezier(0.2, 1.4, 0.4, 1), transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.eh__save[aria-pressed=true] {
  background: rgba(255, 247, 230, 0.12);
  border-color: #fff7e6;
}

.eh__save[aria-pressed=true] .eh__save-ic {
  opacity: 1;
  color: #2f6df6;
  transform: scale(1.15);
}

@media (max-width: 340px), (max-height: 220px) {
  .eh {
    padding: 8px 16px;
  }
  .eh__mark {
    display: none;
  }
  .eh__eyebrow {
    display: none;
  }
  .eh__title {
    font-size: 14px;
    line-height: 1.15;
    margin-bottom: 4px;
  }
  .eh__meta {
    margin-bottom: 4px;
  }
  .eh__pill {
    padding: 4px 8px;
    font-size: 9px;
  }
  .eh__row {
    gap: 4px;
  }
  .eh__cta, .eh__save {
    padding: 4px 12px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eh__orb {
    animation: none !important;
  }
  .eh__save, .eh__save-ic {
    transition: none;
  }
}
