.hb-page{--hb-bg: #000;--hb-ink: #fff7ea;--hb-muted: #b9a9cf;--hb-accent: #ff6b35;--hb-plum: #2a1b45;--hb-line: #4a3670;min-height:100dvh;background:var(--hb-bg);color:var(--hb-ink);display:flex;justify-content:center;padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(24px + env(safe-area-inset-bottom,0px));font-family:Pretendard,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Malgun Gothic,sans-serif;-webkit-tap-highlight-color:transparent;overflow-x:hidden}.hb-page button{font:inherit;cursor:pointer}.hb-page button:disabled{cursor:not-allowed}.hb-page button:focus-visible{outline:2px solid #ffd35c;outline-offset:2px}.hb-welcome,.hb-section{width:100%;max-width:440px;display:flex;flex-direction:column;align-items:center;gap:14px}.hb-welcome{justify-content:center;text-align:center}.hb-booth{width:min(78vw,46dvh,340px)}.hb-booth img{width:100%;display:block}.hb-booth-enter{animation:hb-zoom .5s ease-in forwards}.hb-eyebrow{margin:4px 0 0;color:#ffd35c;font-weight:800;letter-spacing:.04em;font-size:18px}.hb-title{margin:0;font-size:24px;line-height:1.3;font-weight:800;text-wrap:balance}.hb-fineprint{margin:0;color:var(--hb-muted);font-size:13px;line-height:1.5;text-align:center}.hb-primary,.hb-secondary{width:100%;min-height:52px;border-radius:16px;font-weight:800;font-size:17px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.hb-primary{border:0;background:var(--hb-accent);color:#fff;box-shadow:0 6px #b8431a}.hb-primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 3px #b8431a}.hb-primary:disabled{background:#4b4058;color:#9d90ad;box-shadow:none}.hb-secondary{border:1px solid var(--hb-line);background:var(--hb-plum);color:var(--hb-ink);font-size:15px;min-height:46px}.hb-header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}.hb-heading{margin:0;font-size:20px;font-weight:800}.hb-heading-center{text-align:center}.hb-header-spacer{width:44px}.hb-progress{min-width:44px;text-align:right;color:#ffd35c;font-weight:800;font-variant-numeric:tabular-nums}.hb-icon-button{width:44px;height:44px;border-radius:50%;border:1px solid var(--hb-line);background:var(--hb-plum);color:var(--hb-ink);display:inline-flex;align-items:center;justify-content:center;flex:none}.hb-icon-button:disabled{opacity:.35}.hb-carousel-wrap{position:relative;width:100vw;max-width:520px}.hb-carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 20%;scrollbar-width:none;align-items:center}.hb-carousel::-webkit-scrollbar{display:none}.hb-frame-card{flex:none;width:100%;scroll-snap-align:center;border:0;background:none;padding:0;color:var(--hb-ink);display:flex;flex-direction:column;align-items:center;gap:10px}.hb-frame-thumb{display:block;width:100%;max-height:58dvh;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 10px 30px #ff6b3540}.hb-frame-thumb img{width:100%;height:100%;display:block;-o-object-fit:contain;object-fit:contain}.hb-frame-name{font-weight:700;font-size:15px}.hb-arrow{position:absolute;top:45%;z-index:2}.hb-arrow-left{left:10px}.hb-arrow-right{right:10px}@media(hover:none){.hb-arrow{display:none}}.hb-dots{display:flex;gap:8px}.hb-dots span{width:8px;height:8px;border-radius:50%;background:var(--hb-line)}.hb-dots .hb-dot-on{background:var(--hb-accent)}.hb-stage{position:relative;width:min(100%,31dvh);background:#fff;border-radius:6px;overflow:hidden;-moz-user-select:none;user-select:none;-webkit-user-select:none}.hb-stage-wide{width:100%}.hb-stage-frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2}.hb-slot{position:absolute;overflow:hidden;padding:0;border:0;z-index:1}.hb-slot-empty{background:#f1ecf7;color:#8d7bab;display:flex;align-items:center;justify-content:center}.hb-slot-filled{touch-action:none;cursor:grab;-webkit-touch-callout:none}.hb-slot-filled img{position:absolute;max-width:none;pointer-events:none}.hb-printing{justify-content:center}.hb-printer{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;overflow:hidden;padding-bottom:12px}.hb-printer-slot{position:relative;z-index:2;width:88%;height:22px;border-radius:11px;background:linear-gradient(#3b2a5c,#120a22);box-shadow:0 6px 12px #000000b3}.hb-printout{width:min(62%,30dvh);margin-top:-10px;background:#fff;animation:hb-print 2.4s cubic-bezier(.3,0,.3,1) both}.hb-printout-wide{width:80%}.hb-printout img{width:100%;height:100%;display:block}.hb-result{width:min(100%,31dvh);border-radius:6px;box-shadow:0 10px 30px #ff6b3540}.hb-result-wide{width:100%}.hb-caption{width:100%;border:1px dashed var(--hb-line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px}.hb-caption-label{margin:0;font-size:13px;color:var(--hb-muted)}.hb-caption-text{margin:0;font-size:15px;line-height:1.5;-moz-user-select:all;user-select:all;-webkit-user-select:all}.hb-sheet{display:flex;flex-direction:column;gap:10px}.hb-sheet-zoom{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hb-sheet-button{min-height:50px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;color:#231a33;font-weight:700;font-size:16px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.hb-sheet-danger{color:#c2402f}.hb-camera{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(24px + env(safe-area-inset-bottom,0px))}.hb-camera-close{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px}.hb-camera-view{position:relative;width:min(100%,520px);max-height:60dvh;border-radius:16px;overflow:hidden;background:#150d24;border:3px solid var(--hb-accent, #ff6b35)}.hb-camera-view video{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.hb-mirror{transform:scaleX(-1)}.hb-count{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:110px;font-weight:900;color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.7);animation:hb-count .8s ease-out both}.hb-camera-actions{display:flex;align-items:center;gap:36px}.hb-camera .hb-icon-button{border:1px solid #4a3670;background:#2a1b45;color:#fff7ea}.hb-camera-spacer{width:44px}.hb-shutter{width:76px;height:76px;border-radius:50%;border:5px solid #fff;background:#ff6b35;cursor:pointer}.hb-shutter:disabled{opacity:.4}.hb-curtain{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;pointer-events:none}.hb-curtain span{flex:1;background:repeating-linear-gradient(90deg,#8f1010 0,#8f1010 18px,#b81c1c 18px,#b81c1c 36px);animation:hb-curtain-left 1s ease-in-out both}.hb-curtain span:last-child{animation-name:hb-curtain-right}.hb-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:70;max-width:calc(100vw - 32px);background:#fff7ea;color:#231a33;padding:12px 18px;border-radius:999px;font-size:14px;font-weight:700;text-align:center}@keyframes hb-zoom{to{transform:scale(1.5);opacity:.2}}@keyframes hb-curtain-left{0%{transform:translate(-100%)}40%,60%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes hb-curtain-right{0%{transform:translate(100%)}40%,60%{transform:translate(0)}to{transform:translate(100%)}}@keyframes hb-print{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes hb-count{0%{transform:scale(1.6);opacity:0}30%{opacity:1}to{transform:scale(1);opacity:.9}}@media(prefers-reduced-motion:reduce){.hb-booth-enter,.hb-printout,.hb-count,.hb-curtain span{animation-duration:.01ms}}
