/* ═══════════════════════════════════════════════════════════
   wonder 마이크로 — 팝업(exit-intent · 이벤트) 공통 스타일
   · 타이머/카운트다운 ❌ (표시광고법·WL-015)
   · 세션당 1회 · 참여 중 유저 자동 억제
   ═══════════════════════════════════════════════════════════ */
.mpop {
  position: fixed; inset: 0; z-index: 120;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.mpop.is-open { display: flex; }
.mpop__ov {
  position: absolute; inset: 0;
  background: rgba(15, 18, 24, .52);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: mpopFade .22s ease both;
}
.mpop__card {
  position: relative; width: 100%; max-width: 404px;
  background: #fff; border-radius: 24px;
  padding: 32px 26px 24px;
  box-shadow: 0 26px 64px -14px rgba(15, 18, 24, .42);
  text-align: center;
  animation: mpopIn .3s cubic-bezier(.2, .82, .25, 1) both;
}
.mpop__x {
  position: absolute; top: 15px; right: 15px;
  width: 32px; height: 32px; border: 0; padding: 0;
  background: #f1f2f5; border-radius: 50%; color: #6b7280;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.mpop__x:hover { background: #e6e8ec; }
.mpop__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: #7b5cf5;
  letter-spacing: 0em; margin-bottom: 13px;
}
.mpop__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #4ae68a, #3ec8e8 45%, #7b5cf5);
}
.mpop__badge {
  display: block; width: -moz-fit-content; width: fit-content; margin: 0 auto 14px;
  font-size: 31.5px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, #4ae68a, #3ec8e8 42%, #7b5cf5 88%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mpop__title {
  display: block;
  font-size: 24px; line-height: 1.34; font-weight: 800;
  color: #171a21; letter-spacing: -.022em; margin-bottom: 11px;
}
.mpop__body {
  font-size: 16px; line-height: 1.64; color: #4a505c;
  margin-bottom: 21px;
}
.mpop__cta { width: 100%; justify-content: center; }
.mpop__dismiss {
  margin-top: 13px; background: 0; border: 0; padding: 4px 8px;
  color: #868d9a; font-size: 14.5px; cursor: pointer;
}
.mpop__dismiss:hover { color: #464c5e; }
.mpop__legal {
  margin-top: 16px; font-size: 12px; line-height: 1.6; color: #a2a8b3;
}

@keyframes mpopFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mpopIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mpop__ov, .mpop__card { animation: none; }
}
@media (max-width: 420px) {
  .mpop__card { padding: 28px 20px 20px; border-radius: 20px; }
  .mpop__title { font-size: 22px; }
}

/* ═══════ Consent 배너 (쿠키 동의 · Consent Mode v2) ═══════ */
.wc-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130;
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid #eceef1; border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px -12px rgba(15, 18, 24, .28);
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  animation: mpopIn .3s cubic-bezier(.2, .82, .25, 1) both;
}
.wc-consent.is-out { opacity: 0; transform: translateY(8px); transition: .24s ease; }
.wc-consent__t { flex: 1 1 260px; margin: 0; font-size: 13.5px; line-height: 1.6; color: #4a505c; }
.wc-consent__t a { color: #7b5cf5; text-decoration: underline; }
.wc-consent__btns { display: flex; gap: 8px; }
.wc-consent__decline {
  background: #f1f2f5; color: #464c5e; border: 0; border-radius: 10px;
  padding: 9px 15px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.wc-consent__accept {
  background: #171a21; color: #fff; border: 0; border-radius: 10px;
  padding: 9px 18px; font-size: 14px; font-weight: 700; cursor: pointer;
}
@media (max-width: 520px) {
  .wc-consent { flex-direction: column; align-items: stretch; gap: 10px; }
  .wc-consent__t { flex: none; }
  .wc-consent__btns { justify-content: flex-end; }
}
