@charset "UTF-8";
[data-egg] {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 60px auto; /* 상하좌우 여백 */
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.12s ease;
}

[data-egg]:active {
  transform: scale(0.95);
}

[data-egg=playlistOrThisis] {
  max-width: var(--playlist-w, 250px); /* 원하는 값으로 */
}

[data-egg=puppy] {
  max-width: var(--puppy-w, 220px); /* 원하는 값으로 */
}

/* ====== 공통 모달 ====== */
.egg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  z-index: 3000;
  animation: eggFade 0.18s ease;
}

@keyframes eggFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.egg-modal {
  position: relative;
  max-width: min(92vw, 720px);
  height: auto;
  overflow: auto;
  border-radius: 0px;
  background: rgba(255, 255, 255, 0);
  padding: 0px;
  animation: eggPop 0.18s ease;
}

@keyframes eggPop {
  from {
    transform: scale(0.96);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.egg-modal img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.egg-close {
  position: absolute;
  top: 12px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.644);
  cursor: pointer;
  font-size: 18px;
}

.egg-close:hover {
  background: rgba(62, 197, 255, 0.899);
}

/* ====== 오마모리 드래그 ====== */
.omamori-full {
  position: fixed;
  inset: 0; /* 화면 전체 */
  background: transparent; /* 배경 없음 */
  overflow: hidden;
  z-index: 4000; /* 모달 위 */
}

.om-item {
  position: absolute;
  width: 150px;
  touch-action: none;
  user-select: none;
  cursor: grab;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.om-item:active {
  cursor: grabbing;
}

/* ====== puppy grid ====== */
.puppy-stage {
  width: min(92vw, 640px);
  padding: 0px;
}

.pup-head {
  font-weight: 600;
  margin: 6px 0 12px;
  text-align: center;
}

.pup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pup-cell {
  position: relative;
  background: #f6f6f6;
  border-radius: 8px;
  overflow: hidden;
}

.pup-cell img {
  width: 100%;
  height: auto;
  display: block;
}

.pup-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pup-cell.is-on .pup-check {
  opacity: 1;
}

.pup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.btn {
  border: 0;
  border-radius: 0px;
  cursor: pointer;
  background: #222;
  color: #fff;
}

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 4000;
  font-size: 14px;
  animation: toastIn 0.2s ease;
}

@keyframes toastIn {
  from {
    transform: translateX(-50%) translateY(6px);
    opacity: 0.3;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}
/* ====== recap(42825) ====== */
.recap-wrap {
  position: relative;
}

.recap-img {
  width: 100%;
  display: block;
}

.recap-input {
  position: absolute;
  top: var(--recap-top, 60%);
  left: var(--recap-left, 20%);
  transform: translate(-50%, -50%);
  width: var(--recap-w, 260px);
  height: var(--recap-h, 46px);
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 10px 26px rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
}

.recap-input input {
  flex: 1;
  font: inherit;
  font-size: 16px;
  border: 0;
  background: transparent;
  outline: none;
}

.recap-input button {
  white-space: nowrap;
}

.shake {
  animation: shake 0.3s;
}

@keyframes shake {
  10%, 90% {
    transform: translateX(-1px);
  }
  20%, 80% {
    transform: translateX(2px);
  }
  30%, 50%, 70% {
    transform: translateX(-4px);
  }
  40%, 60% {
    transform: translateX(4px);
  }
}
.recaptcha-mock {
  width: 320px;
  border: 0px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.recap-head {
  background: #2b7de9;
  color: #fff;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.3;
}

.recap-head strong {
  font-weight: 700;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #ccc;
}

.recap-cell {
  background: #eee;
  position: relative;
  cursor: pointer;
}

.recap-cell img {
  width: 100%;
  height: auto;
  display: block;
}

.recap-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.15s;
}

.recap-cell.is-on .recap-check {
  opacity: 1;
}

.recap-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px;
  background: #f9f9f9;
}

.recap-footer button {
  background: #2b7de9;
  color: #fff;
  border: none;
  border-radius: 0px;
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
}

.recap-footer button:hover {
  background: #1a5cc8;
}

.recap-result-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recap-result-layer.is-on {
  opacity: 1;
}

.recap-result-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: pop 0.25s ease;
}

.recap-result-content img {
  max-width: 240px;
  height: auto;
  display: block;
}

.recap-result-content .recap-close {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

@keyframes pop {
  from {
    transform: scale(0.9);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* puppy result overlay */
.recap-result-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recap-result-layer.is-on {
  opacity: 1;
}

.recap-result-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: recapPop 0.25s ease;
}

.recap-result-content img {
  max-width: 240px;
  height: auto;
  display: block;
}

.recap-result-content .recap-close {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.recap-result-content .recap-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

@keyframes recapPop {
  from {
    transform: scale(0.9);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* join us hover */
.egg-hover-wrap {
  position: relative;
  display: block;
  width: max-content;
  margin: 60px auto;
}

.egg-hover-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.egg-hover-overlay img {
  max-width: 90%; /* 원하는 비율로 크기 제한 */
  height: auto;
}

.yeonae-contract {
  width: min(90vw, 480px);
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.yeonae-contract h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.yeonae-contract p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #333;
}

.yeonae-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
  font-size: 15px;
  font-weight: 600;
}

.yeonae-option span {
  margin-right: 10px;
  flex: 1;
}

.yeonae-option .toggle {
  width: 40px;
  height: 20px;
  appearance: none;
  background: #ccc;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.yeonae-option .toggle:checked {
  background: #ff7ed6;
}

.yeonae-option .toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.yeonae-option .toggle:checked::before {
  transform: translateX(20px);
}

.yeonae-accept {
  margin-top: 24px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #ff7ed6;
  cursor: pointer;
  transition: background 0.2s;
}

.yeonae-accept:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.yeonae-accept:hover:enabled {
  background: #5a3de6;
}

/* 수정 */
/* 모달/창 전반 라운드 제거 */
.egg-modal {
  border-radius: 0 !important;
}

.recaptcha-mock,
.recap-result-content {
  border-radius: 0 !important;
}

.btn,
.recap-footer button {
  border-radius: 0 !important;
}

/* 닫기 버튼 클릭 */
.egg-close {
  z-index: 5;
  pointer-events: auto;
}

/* 배경 투명 */
.egg-overlay.is-transparent {
  background: transparent !important;
}

/* 배경 패널 없는 모달 */
.egg-modal.is-bare {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* recap 조정 */
.recap-input {
  position: absolute;
  top: var(--recap-top, 64%);
  left: var(--recap-left, 28%);
  transform: translate(-50%, -50%);
  width: var(--recap-w, clamp(80px, 40vw, 260px));
  height: var(--recap-h, 40px);
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 10px 26px rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
}

.recap-input input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 101x;
}

.recap-input .btn {
  flex: 0 0 auto;
  padding: 0 8px;
  border-radius: 12px;
  background: #979797;
  color: #fff;
  font-size: 10px;
}

/* 연애운 토글 */
/* 모달 스크롤 */
.egg-modal {
  max-height: 88vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* 버튼 위 하트 */
.yeonae-option .toggle {
  width: 40px;
  height: 20px;
  appearance: none;
  background: #ccc;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
}

.yeonae-option .toggle:checked {
  background: #ff7ed6; /* 분홍색 */
}

/* 토글 스위치 위 ♥︎ */
.yeonae-option .toggle:checked::after {
  content: "♥︎";
  position: absolute;
  top: 50%;
  left: 33%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: white;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
}

/* puppy */
/* 기본 폭: clamp로 유연 + 변수로 오버라이드 가능 */
.recaptcha-mock {
  width: var(--puppy-w, clamp(320px, 85vw, 500px));
}

@media (min-width: 768px) {
  .recaptcha-mock {
    width: var(--puppy-w-pc, 500px); /* PC에서 더 크게 */
  }
}
@media (max-width: 767px) {
  .recaptcha-mock {
    width: var(--puppy-w-mo, 85vw); /* 모바일은 화면 85% */
  }
}
/* 오마모리 */
/* 화면전체 드래그 무대 */
.omamori-full {
  position: fixed;
  inset: 0;
  background: transparent; /* 투명 */
  overflow: hidden;
  z-index: 4000;
}

.omamori-close {
  position: fixed;
  left: 50%;
  top: 80%;
  transform: translateX(-50%);
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.omamori-close:hover {
  background: #ffec43;
}

/* 미켈라 */
.egg-modal img[alt="mikella poster"] {
  max-width: 480px;
  width: 100%;
  height: auto;
}/*# sourceMappingURL=eggs.css.map */