/* 레이어 팝업이 1~2개일 때 확대 (기본 notice-layers.css 는 --cell:4 로 작게 표시).
   기존 파일 수정 없이 --cell 을 덮어 팝업 폭을 키움. 데스크톱에서만 적용(모바일은 원래 --cell:2) */
@media (min-width: 813px) {
  /* 2개 이하(3번째 팝업 없음) → 각 팝업 폭 확대 */
  .notice-layers .notice-layer:not(:has(> li:nth-child(3))) {
    --cell: 2;
  }
  .notice-layers .notice-layer:not(:has(> li:nth-child(3))) > li {
    max-width: 460px;
  }
  /* 1개(유일) → 더 크게 */
  .notice-layers .notice-layer:has(> li:only-child) {
    --cell: 1;
  }
  .notice-layers .notice-layer:has(> li:only-child) > li {
    max-width: 800px;
  }
}

/* 모바일: 팝업 1개일 때 화면을 거의 꽉 채워 크게 (기본 모바일 --cell:2 → 절반이라 작음) */
@media (max-width: 812px) {
  .notice-layers .notice-layer:has(> li:only-child) {
    --cell: 1;
  }
  .notice-layers .notice-layer:has(> li:only-child) > li {
    width: 100%;
    max-width: 88vw;
  }
}

/* QR 페이지 QR 가운데 정렬 */
.qr-voucher {
  & .qrcode {
    & .qr-info {
      & .code {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
    }
  }
}
