/* ═══ common_new1/css/popup.css ═════════════════════
 * data.json popup.visible === true 일 때 wz-popup.js 가 표시
 * 화이트 시트 + 반투명 다크 백드롭
 * ═══════════════════════════════════════════════ */

.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
}
.popup-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.popup-sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform var(--ease);
}
.popup-backdrop.is-open .popup-sheet { transform: translateY(0); }

.popup-sheet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border-radius: 50%;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.popup-sheet__close:hover {
  background: var(--surface-2);
  color: var(--ink-strong);
  transform: rotate(90deg);
}

.popup-sheet__body { padding: 32px 28px 24px; }

.popup-sheet__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  margin-bottom: 12px;
}
.popup-sheet__desc {
  font-size: 1.1rem;
  color: var(--ink-sub);
  line-height: 1.65;
}
.popup-sheet__img { display: block; width: 100%; }

.popup-sheet__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--surface);
  font-size: 1rem;
  color: var(--ink-sub);
}
.popup-sheet__actions label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.popup-sheet__actions button {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-strong);
  font-weight: 600;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.popup-sheet__actions button:hover {
  background: var(--accent);
  color: var(--ink-invert);
  border-color: var(--accent);
}
