/* 모달 전체 래퍼 (기본 숨김) */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

/* 열렸을 때 */
.photo-modal.is-open {
  display: block;
}

/* 배경 흐림 */
.photo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* 하단 시트 컨테이너 */
.photo-modal-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  max-width: 402px;

  padding: 0 21px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;

  margin: 0 auto;
}

/* ───────── 상단 그룹 박스 ───────── */
.photo-modal-group {
  background: #ECECEC;
  border-radius: 8px;
  overflow: hidden;
}

/* 타이틀 */
.photo-modal-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  color: #9B9B9B;
  line-height: 18px;
  margin: 0;
}

/* 항목 버튼(촬영 / 앨범) 공통 */
.photo-modal-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  color: var(--color-bg-back);
  line-height: 21px;
  background: #ECECEC;
  border: none;
  cursor: pointer;
}

/* 버튼들 사이 경계선 */
.photo-modal-group .photo-modal-item {
  border-top: 0.5px solid var(--color-system-400);
}

/* 전체 모달 컨테이너 */
.modal {
  position: fixed;
  inset: 0;
  display: none;              /* 기본은 숨김 */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* 열릴 때 */
.modal.is-open {
  display: flex;
}

/* 배경 */
.modal-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background: var(--color-bg-back);
}

/* 모달 박스 */
.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  max-height: 80vh;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

/* Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-bg-back);
  line-height: 33px;
  margin: 0;
}

/* X 버튼 */
.modal-close {
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

.modal-close--confirm {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-system-wt);
  line-height: 24px;
  background: var(--color-bg-back);
}

.modal-close--send {
  color: var(--color-system-950);
  background: var(--color-primary-400);
}

.modal-close img {
  width: 30px;
  height: 30px;
}

/* Body */
.modal-body {
  flex: 1;
  padding: 50px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-bg-back);
  text-align: center;
  overflow-y: auto;
}

.modal-body.modal-body--ptb-12 {
  padding: 12px 0;
}

/* Footer */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ========================================
   PC (1024px 이상)
   ======================================== */
@media (min-width: 1024px) {

}