/* s7share (#7738): the photobooth component (ui-booth.js): a kiosk photo booth */
.pbx { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: min(78vh, 760px); width: 100%; padding: 20px; box-sizing: border-box;
       border-radius: var(--radius, 16px); background: var(--surface, #fff); color: var(--text, #111); overflow: hidden; -webkit-user-select: none; user-select: none; }
.pbx:fullscreen { border-radius: 0; min-height: 100vh; }
.pbx-fs { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border, #e5e5ea); background: var(--surface, #fff); color: inherit; font-size: 20px; cursor: pointer; }
.pbx-attract { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 60vh; text-align: center; }
.pbx-attract b { font-size: clamp(34px, 7vw, 72px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.pbx-attract span { font-size: clamp(16px, 2.6vw, 24px); padding: 14px 28px; border-radius: 999px; background: var(--primary, #4f46e5); color: #fff; font-weight: 700; animation: pbxPulse 1.8s ease-in-out infinite; }
@keyframes pbxPulse { 50% { transform: scale(1.06); } }
.pbx-card { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.pbx-card h3 { margin: 0; font-size: clamp(22px, 3.4vw, 32px); }
.pbx-tick { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-size: 17px; line-height: 1.45; padding: 14px 16px; border: 1px solid var(--border, #e5e5ea); border-radius: 14px; cursor: pointer; }
.pbx-tick input { width: 26px; height: 26px; flex: none; margin: 1px 0 0; accent-color: var(--primary, #4f46e5); }
.pbx-row { display: flex; gap: 12px; width: 100%; max-width: 560px; }
.pbx-row .u-button { flex: 1; min-height: 56px; font-size: 18px; }
.pbx.is-live { padding: 0; background: #000; }
.pbx-video { width: 100%; height: 100%; max-height: 82vh; object-fit: cover; transform: scaleX(-1); }
.pbx-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(120px, 26vw, 260px); font-weight: 800; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.45); pointer-events: none; }
.pbx-count.is-pop { animation: pbxPop .9s ease-out; }
@keyframes pbxPop { from { transform: scale(1.4); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1); opacity: .9; } }
.pbx-shotno { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; font-weight: 700; }
.pbx-shotno:empty { display: none; }
.pbx.is-flash::after { content: ''; position: absolute; inset: 0; background: #fff; animation: pbxFlash .25s ease-out; pointer-events: none; }
@keyframes pbxFlash { from { opacity: 1; } to { opacity: 0; } }
.pbx-pic { max-width: 100%; max-height: 62vh; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pbx-qr { padding: 12px; background: #fff; border-radius: 14px; border: 1px solid var(--border, #e5e5ea); }
.pbx-link { font-size: 14px; color: var(--muted, #666); word-break: break-all; }
@media (prefers-reduced-motion: reduce) { .pbx-attract span, .pbx-count.is-pop, .pbx.is-flash::after { animation: none; } }
/* s7booth (#7738 P2): send-it-to-me, waiting count */
.pbx-contact { width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.pbx-sub { font-weight: 700; font-size: 15px; }
.pbx-contact input[type=email], .pbx-contact input[type=tel] { font: inherit; font-size: 18px; padding: 14px 16px; border: 1px solid var(--border, #e5e5ea); border-radius: 12px; background: var(--surface, #fff); color: inherit; min-height: 52px; box-sizing: border-box; width: 100%; }
.pbx-tick.is-small { font-size: 14px; padding: 10px 12px; }
.pbx-tick.is-small input { width: 22px; height: 22px; }
.pbx-wait { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--border, #e5e5ea); color: var(--muted, #666); font-size: 13px; font-weight: 600; }
.pbx-note { font-size: 13px; color: var(--muted, #666); margin-top: -4px; }
