@font-face { font-family: 'Pretendard'; font-weight: 400; src: url('../assets/fonts/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; src: url('../assets/fonts/Pretendard-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 800; src: url('../assets/fonts/Pretendard-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Nanum Myeongjo'; font-weight: 400; src: url('../assets/fonts/NanumMyeongjo-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Nanum Myeongjo'; font-weight: 700; src: url('../assets/fonts/NanumMyeongjo-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Kaushan Script'; font-weight: 400; src: url('../assets/fonts/KaushanScript.woff2') format('woff2'); }

/* 화면 글꼴 (카드 그림에 쓰는 글꼴은 위 그대로): 한글 IBM Plex Sans KR · 영문 표기·숫자 Montserrat (둘 다 OFL) */
@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 300; src: url('../assets/fonts/IBMPlexSansKR-Light.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 400; src: url('../assets/fonts/IBMPlexSansKR-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 500; src: url('../assets/fonts/IBMPlexSansKR-Medium.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 600; src: url('../assets/fonts/IBMPlexSansKR-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 700; src: url('../assets/fonts/IBMPlexSansKR-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 300; src: url('../assets/fonts/Montserrat-300.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 400; src: url('../assets/fonts/Montserrat-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; src: url('../assets/fonts/Montserrat-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; src: url('../assets/fonts/Montserrat-600.woff2') format('woff2'); }

/* 펜타 카이로스 전시 아이덴티티 (포스터·로고·부스 그래픽에서 가져온 색)
   먹색 바탕 · 흰 겹선 · 파랑 한 가닥 · 울산 지도 회색 */
:root {
  --bg: #151817;
  --bg-2: #1d201f;
  --bg-deep: #101312;
  --ink: #f5f5f2;
  --ink-dim: rgba(245, 245, 242, 0.62);
  --ink-faint: rgba(245, 245, 242, 0.38);
  --blue: #0649f9;
  --blue-text: #5b86ff;   /* 어두운 바탕 위 글자용 (원색 파랑은 글자로 읽기 어두움) */
  --map: #cfd5db;
  --line: rgba(245, 245, 242, 0.2);
  --danger: #ff8a7a;
  --font-ko: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-en: 'Montserrat', 'IBM Plex Sans KR', sans-serif;
  /* 예전 이름을 쓰는 곳이 있어도 깨지지 않게 */
  --gold: var(--blue-text);
  --gold-deep: var(--blue);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; height: 100%; overflow: hidden;
  background: #000; color: var(--ink);
  font-family: var(--font-ko);
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
  overscroll-behavior: none;
}
img { -webkit-user-drag: none; }

/* 1080×1920 고정 무대를 화면에 맞춰 축소/확대 */
#stage {
  position: absolute; left: 50%; top: 50%;
  width: 1080px; height: 1920px;
  transform-origin: 0 0;
  background: radial-gradient(90% 60% at 46% 47%, #1c1e1b 0%, #171a17 68%, #111512 100%);
  overflow: hidden;
}
/* 포스터의 가로지르는 연결선: 흰 선 두 가닥 + 파랑 한 가닥 */
#stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(-14deg, transparent calc(50% - 1px), rgba(245, 245, 242, 0.12) 50%, transparent calc(50% + 1px)) 0 -560px / 100% 100% no-repeat,
    linear-gradient(-14deg, transparent calc(50% - 1px), rgba(6, 73, 249, 0.5) 50%, transparent calc(50% + 1px)) 0 -520px / 100% 100% no-repeat,
    linear-gradient(-9deg, transparent calc(50% - 1px), rgba(245, 245, 242, 0.08) 50%, transparent calc(50% + 1px)) 0 760px / 100% 100% no-repeat;
}

.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 72px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s ease;
}
.screen.active { opacity: 1; pointer-events: auto; }
.hidden { display: none !important; }

/* 버튼: 각진 판 + 바깥 겹선 (전시 타이포의 겹선) */
.btn {
  font: inherit; color: inherit; border: 0; cursor: pointer;
  border-radius: 6px; padding: 22px 40px; font-size: 30px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.96); filter: brightness(0.9); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(6, 73, 249, 0.55), 0 18px 50px rgba(6, 73, 249, 0.3); }
.btn-secondary { background: transparent; border: 2px solid rgba(245, 245, 242, 0.7); }
.btn-ghost { background: transparent; color: var(--ink-dim); padding: 18px 8px; font-size: 28px; font-weight: 600; }
.btn-lg { padding: 30px 56px; font-size: 36px; }
.btn-xl { padding: 36px 96px; font-size: 44px; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

.topbar { width: 100%; display: flex; justify-content: space-between; align-items: center; padding-top: 56px; min-height: 130px; }
.step { font-family: var(--font-en); font-size: 23px; letter-spacing: 0.24em; color: var(--ink-faint); }
.step b { color: var(--ink); font-weight: 600; }
.eyebrow { margin: 46px 0 0; font-family: var(--font-en); font-size: 21px; font-weight: 500; letter-spacing: 0.42em; color: var(--blue-text); text-align: center; padding-left: 0.42em; }
.eyebrow + .screen-title { margin-top: 18px; }
.screen-title { font-weight: 600; font-size: 64px; line-height: 1.3; letter-spacing: -0.03em; text-align: center; margin: 40px 0 20px; }
.screen-title.small { font-size: 50px; margin: 10px 0 24px; }
.screen-sub { font-size: 28px; font-weight: 300; color: var(--ink-dim); text-align: center; margin: 0 0 40px; line-height: 1.5; }
.hint { font-size: 21px; font-weight: 300; color: var(--ink-faint); text-align: center; line-height: 1.5; }

/* 1. 대기 화면: 전시 포스터 그대로 */
#screen-attract { padding: 0; }
.brand { position: absolute; top: 60px; left: 64px; z-index: 2; }
.brand-ko { font-size: 25px; font-weight: 600; }
.brand-en { font-family: var(--font-en); font-weight: 500; font-size: 13px; letter-spacing: 0.38em; margin-top: 6px; color: var(--ink-dim); }
.attract-when { position: absolute; top: 60px; right: 64px; z-index: 2; text-align: right; font-family: var(--font-en); font-weight: 400; font-size: 21px; line-height: 1.45; letter-spacing: 0.04em; color: var(--ink-dim); }
.attract-logo { position: absolute; top: 150px; left: 60px; width: 960px; pointer-events: none; }
.attract-title { position: absolute; top: 418px; left: 0; right: 0; display: flex; justify-content: center; align-items: baseline; gap: 18px; z-index: 2; }
.attract-title h1 { margin: 0; font-size: 33px; font-weight: 600; letter-spacing: -0.01em; }
.attract-title p { margin: 0; font-size: 33px; font-weight: 300; color: var(--ink-dim); }
.attract-title p::before { content: ''; display: inline-block; width: 1px; height: 26px; margin-right: 18px; background: var(--line); vertical-align: -3px; }
/* 양 끝 페이드: 화면을 축소·확대하면 마스크 가장자리 1px이 덜 지워져 회색 줄이 남던 문제 →
   띠를 무대 밖으로 6px씩 넓혀(무대가 잘라 냄) 가장자리를 화면 밖으로 보내고, 끝 16px은 완전히 투명하게 */
.attract-cards { position: absolute; left: -6px; right: -6px; top: 600px; height: 780px; overflow: hidden; z-index: 0;
  --fade: linear-gradient(90deg, transparent 0, transparent 16px, #000 124px, #000 calc(100% - 124px), transparent calc(100% - 16px), transparent 100%);
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.attract-track { display: flex; gap: 36px; width: max-content; padding: 40px 0; animation: marquee var(--dur, 40s) linear infinite; }
.attract-track img { width: 420px; aspect-ratio: 638 / 1011; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(0, 0, 0, 0.65); }
.attract-track img:nth-child(2n) { transform: translateY(24px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 18px)); } }
.attract-copy { position: absolute; left: 0; right: 0; bottom: 52px; text-align: center; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.kicker { font-size: 24px; letter-spacing: 0.08em; color: var(--blue-text); font-weight: 500; }
.lead { font-size: 34px; font-weight: 300; line-height: 1.5; margin: 12px 0 40px; }
.lead b { color: var(--ink); font-weight: 600; box-shadow: inset 0 -12px 0 rgba(6, 73, 249, 0.55); }
.pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(6, 73, 249, 0.55), 0 0 0 8px rgba(6, 73, 249, 0.4); }
  50% { box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(6, 73, 249, 0.55), 0 0 0 30px rgba(6, 73, 249, 0); }
}
.attract-copy .hint { margin: 26px 0 0; }

/* 1-1. 촬영 동의 */
.consent-list { width: 100%; margin: 10px 0 0; border-top: 2px solid var(--ink); }
.consent-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 30px 8px; border-bottom: 1px solid var(--line); }
.consent-row dt { font-size: 27px; font-weight: 500; color: var(--blue-text); line-height: 1.5; }
.consent-row dd { margin: 0; font-size: 30px; font-weight: 300; line-height: 1.55; }
.consent-note { font-size: 28px; line-height: 1.5; text-align: center; margin: 40px 0 0; color: var(--ink-dim); }
.consent-question { font-weight: 600; font-size: 44px; text-align: center; margin: 50px 0 0; }
.consent-actions { display: flex; gap: 32px; margin-top: 40px; }

/* 2. 작가 선택 */
.artist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; width: calc(100% + 40px); margin: 30px 0 auto; }
#screen-select .eyebrow { margin-top: 60px; }
.artist-grid .tile:nth-child(4) { grid-column: 1 / span 1; transform: translateX(50%); }
.artist-grid .tile:nth-child(5) { grid-column: 2 / span 1; transform: translateX(50%); }
.tile {
  position: relative; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, 0.5);
  aspect-ratio: 638 / 1011; transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.tile:active { filter: brightness(0.9); box-shadow: 0 0 0 3px var(--blue); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 20px 22px; text-align: left; background: linear-gradient(180deg, transparent, rgba(16, 19, 18, 0.96) 55%); }
.tile .tile-info::before { content: ''; display: block; width: 40px; height: 9px; margin-bottom: 14px;
  background: linear-gradient(var(--ink) 0 1px, transparent 1px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--blue) 8px 9px); }
.tile .tile-name { font-weight: 600; font-size: 31px; letter-spacing: -0.01em; }
.tile .tile-work { font-size: 20px; font-weight: 300; color: var(--ink-dim); margin-top: 6px; line-height: 1.35; }
.tile.empty { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(90deg, #1a1d1c 0 3px, #151817 3px 14px); }
.tile.empty .tile-mark { text-transform: uppercase; font-family: var(--font-en); font-size: 22px; letter-spacing: 0.3em; white-space: nowrap; color: var(--ink-dim); margin-bottom: 120px; }
.tile.disabled { cursor: default; }
.tile.disabled img { filter: grayscale(0.8) brightness(0.45); }
.tile .badge { position: absolute; top: 16px; left: 16px; white-space: nowrap; font-size: 18px; font-weight: 500; padding: 7px 14px; border-radius: 4px; background: rgba(16, 19, 18, 0.8); border: 1px solid var(--line); color: var(--ink-dim); }
.tile .badge.ok { background: var(--blue); color: #fff; border-color: transparent; }

.batch-btn { margin-top: 40px; }

/* 2-1. 템플릿 선택 */
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; width: 100%; margin-top: 20px; }
.tpl-card { cursor: pointer; text-align: left; }
.tpl-card img, .tpl-card .tpl-empty { width: 100%; aspect-ratio: 638 / 1011; display: block; border-radius: 12px; object-fit: cover; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line); transition: transform 0.15s ease, box-shadow 0.2s ease; }
.tpl-card:active img { transform: scale(0.97); box-shadow: 0 0 0 3px var(--blue); }
.tpl-card .tpl-empty { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(90deg, #1a1d1c 0 3px, #151817 3px 14px); font-size: 24px; letter-spacing: 0.3em; color: var(--ink-dim); text-transform: uppercase; }
.tpl-card .tpl-num { font-family: var(--font-en); font-weight: 500; font-size: 19px; letter-spacing: 0.32em; color: var(--blue-text); margin-top: 24px; }
.tpl-card .tpl-label { font-weight: 600; font-size: 34px; margin-top: 8px; letter-spacing: -0.01em; }
.tpl-card { display: flex; flex-direction: column; }
.tpl-card .tpl-num { order: 1; }
.tpl-card .tpl-label { order: 2; }

/* 3. 촬영 */
.preview-wrap { position: relative; width: 820px; height: calc(820px * 1011 / 638); border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(0, 0, 0, 0.6); }
#preview { width: 100%; height: 100%; display: block; }
.preview-guide { position: absolute; left: 0; right: 0; top: 40%; text-align: center; font-size: 32px; font-weight: 600; line-height: 1.5; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); transition: opacity 0.4s; pointer-events: none; }
.preview-guide.gone { opacity: 0; }
.preview-status { position: absolute; left: 0; right: 0; top: 46%; text-align: center; font-size: 30px; color: var(--ink-dim); pointer-events: none; }
.countdown { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 300; font-size: 400px; color: transparent; -webkit-text-stroke: 3px #fff; text-shadow: 14px 0 0 rgba(6, 73, 249, 0.9); pointer-events: none; }
.countdown.tick { animation: tick 1s ease-out; }
@keyframes tick { 0% { transform: scale(1.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(0.85); opacity: 0.2; } }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash 0.6s ease-out; }
@keyframes flash { 0% { opacity: 0.95; } 100% { opacity: 0; } }
.btn-shutter { margin-top: 44px; display: flex; align-items: center; gap: 24px; padding: 24px 70px 24px 28px; font-size: 40px; background: var(--blue); color: #fff; box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(6, 73, 249, 0.55), 0 18px 50px rgba(6, 73, 249, 0.3); }
.shutter-ring { width: 72px; height: 72px; border-radius: 50%; border: 3px solid #fff; box-shadow: inset 0 0 0 7px var(--blue), inset 0 0 0 9px #fff, inset 0 0 0 15px var(--blue), inset 0 0 0 40px #fff; }

/* 3-1. AI 생성 중: 다섯 겹 선이 사진을 훑고 지나감 */
#screen-generate { justify-content: center; }
#screen-generate .eyebrow { margin: 0 0 34px; }
.gen-card { position: relative; width: 560px; aspect-ratio: 638 / 1011; border-radius: 12px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
#gen-photo { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7) brightness(0.7) contrast(1.05); animation: breathe 3s ease-in-out infinite; }
#gen-photo.mirror { transform: scaleX(-1); }
@keyframes breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.gen-shimmer { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 73, 249, 0.28) 50%, transparent 65%); background-size: 100% 250%; animation: shimmer 2.6s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes shimmer { from { background-position: 0 150%; } to { background-position: 0 -100%; } }
.gen-sparkles i { position: absolute; left: -10%; right: -10%; top: 0; height: 2px; background: rgba(245, 245, 242, 0.85); transform: rotate(-8deg); animation: sweep 2.6s ease-in-out infinite; }
.gen-sparkles i:nth-child(2) { animation-delay: 0.06s; }
.gen-sparkles i:nth-child(3) { animation-delay: 0.12s; }
.gen-sparkles i:nth-child(4) { animation-delay: 0.18s; }
.gen-sparkles i:nth-child(5) { animation-delay: 0.24s; background: var(--blue); height: 3px; }
@keyframes sweep { 0% { top: -8%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 108%; opacity: 0; } }
.gen-msg { min-height: 42px; color: var(--ink); }

/* 4. 확인 */
.review-wrap { width: 760px; aspect-ratio: 638 / 1011; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(0, 0, 0, 0.6); animation: pop 0.5s ease-out; }
@keyframes pop { from { transform: scale(0.92) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
.review-wrap img { width: 100%; height: 100%; display: block; }
.review-actions { display: flex; gap: 32px; margin: 54px 0 18px; }

/* 4-1. 여러 장 확인 */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; width: 820px; }
.review-grid.cols-3 { grid-template-columns: repeat(3, 1fr); width: 930px; }
.review-grid figure { margin: 0; text-align: center; }
.review-grid img { width: 100%; aspect-ratio: 638 / 1011; display: block; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line); animation: pop 0.5s ease-out; }
.review-grid figcaption { font-size: 22px; color: var(--ink-dim); margin-top: 10px; }
#screen-review.batch .screen-title.small { margin-bottom: 18px; }
#screen-review.batch .review-actions { margin-top: 30px; }

/* 5. 인쇄 */
#screen-print { justify-content: center; }
#screen-print .eyebrow { margin: 0 0 30px; }
.print-anim { position: relative; width: 520px; height: 620px; margin-bottom: 30px; overflow: hidden; }
.print-slot { position: absolute; left: 0; right: 0; top: 0; height: 40px; border-radius: 4px; background: var(--bg-deep); box-shadow: inset 0 6px 16px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line), 0 3px 0 -1px var(--blue); z-index: 2; }
#print-thumb { position: absolute; left: 50%; top: 20px; width: 340px; transform: translate(-50%, -100%); border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
#print-thumb.out { animation: printout var(--dur, 10s) cubic-bezier(0.4, 0, 0.3, 1) forwards; }
@keyframes printout { from { transform: translate(-50%, -100%); } to { transform: translate(-50%, 0); } }
.progress { width: 640px; height: 10px; border-radius: 0; background: rgba(245, 245, 242, 0.1); overflow: hidden; margin-bottom: 50px; box-shadow: 0 0 0 1px var(--line); }
.progress-bar { height: 100%; width: 0; background: var(--blue); box-shadow: inset -3px 0 0 var(--ink); }

/* 비활동 안내 */
.idle-warn { position: absolute; inset: 0; background: rgba(12, 14, 13, 0.85); display: flex; align-items: center; justify-content: center; z-index: 50; }
.idle-box { background: var(--bg-2); border-top: 3px solid var(--blue); box-shadow: 0 0 0 1px var(--line); border-radius: 8px; padding: 60px 80px; text-align: center; font-size: 40px; font-weight: 600; }
.idle-box .idle-sec { font-size: 28px; font-weight: 400; color: var(--ink-dim); margin-bottom: 40px; }

/* 관리자 */
.admin-hotspot { position: absolute; left: 0; top: 0; width: 120px; height: 120px; z-index: 60; }
.admin { position: absolute; left: 60px; right: 60px; top: 160px; z-index: 70; background: var(--bg-deep); border: 2px solid var(--blue); border-radius: 12px; padding: 48px; font-size: 28px; display: flex; flex-direction: column; gap: 26px; box-shadow: 0 30px 120px #000; }
.admin h3 { margin: 0; font-size: 40px; }
.admin label { display: flex; align-items: center; gap: 18px; }
.admin select { font: inherit; font-size: 24px; flex: 1; padding: 10px; border-radius: 8px; }
.admin input[type=text] { font: inherit; font-size: 24px; flex: 1; padding: 10px; border-radius: 8px; border: 1px solid #888; }
.admin input[type=range] { flex: 1; height: 40px; accent-color: var(--blue); }
.admin input[type=checkbox] { width: 36px; height: 36px; accent-color: var(--blue); }
.admin output { width: 80px; text-align: right; color: var(--blue-text); }
.adm-info { font-size: 22px; color: var(--ink-dim); margin: 0; line-height: 1.6; white-space: pre-line; }
.admin-actions { display: flex; gap: 20px; justify-content: flex-end; }

#video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* 인쇄: 카드 이미지 한 장만 용지에 꽉 차게 */
#print-area { display: none; }
@page { size: 54mm 86mm; margin: 0; }
@media print {
  html, body { background: #fff; width: 54mm; height: auto; overflow: visible; }
  #stage, #video { display: none !important; }
  #print-area { display: block; width: 54mm; }
  #print-area img { width: 54mm; height: 86mm; display: block; object-fit: cover; break-after: page; page-break-after: always; }
  #print-area img:last-child { break-after: auto; page-break-after: auto; }
}
