.start-screen-full{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100vh;height:100dvh;overflow:hidden;z-index:1000;overscroll-behavior:none;touch-action:manipulation}.start-screen--attract{cursor:pointer}.start-screen-container{position:relative;z-index:2;width:100%;max-width:480px;margin:0 auto;min-height:100dvh;padding:clamp(48px,10vh,80px) 24px clamp(40px,8vh,64px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(20px,4vh,32px);text-align:center}.start-hero{flex-shrink:0}.start-eyebrow{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.35em;color:var(--app-accent, #f472b6);opacity:.95}.start-title{margin:0 0 12px;font-size:clamp(36px,8vw,52px);font-weight:800;color:#fff;letter-spacing:-.02em;line-height:1.15}.start-subtitle{margin:0;font-size:clamp(15px,3.5vw,18px);font-weight:400;color:#ffffffb8;line-height:1.5}.start-strip-mockup{flex-shrink:0;animation:start-strip-float 4s ease-in-out infinite}@keyframes start-strip-float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.start-strip-frame{width:clamp(140px,32vw,180px);padding:10px;background:#fff;border-radius:12px;box-shadow:0 20px 50px #00000073,0 0 0 1px #ffffff14;display:grid;grid-template-columns:1fr 1fr;gap:5px}.start-strip-slot{aspect-ratio:1;background:linear-gradient(145deg,#f0f0f5,#e4e4ec);border-radius:4px;display:flex;align-items:center;justify-content:center}.start-strip-icon{font-size:clamp(18px,4vw,24px);opacity:.35;filter:grayscale(1)}.start-strip-footer{grid-column:1 / -1;height:22px;margin-top:2px;border-radius:3px;background:linear-gradient(90deg,var(--app-primary, #7c3aed),var(--app-accent, #f472b6))}.start-steps{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}.start-step{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:#ffffff14;border:1px solid rgba(255,255,255,.12);color:#ffffffe0;font-size:13px;font-weight:600}.start-step-num{width:20px;height:20px;border-radius:50%;background:var(--app-primary, #7c3aed);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}.start-cta-wrap{width:100%;max-width:320px;transition:transform .6s ease}.start-cta-wrap.pulse{transform:scale(1.02)}.btn-start{width:100%;min-height:56px;padding:18px 32px;border:none;border-radius:999px;font-size:clamp(17px,4vw,20px);font-weight:700;color:#fff;cursor:pointer;letter-spacing:.02em;background:linear-gradient(135deg,var(--app-primary, #7c3aed) 0%,var(--app-accent, #f472b6) 100%);box-shadow:0 8px 32px #7c3aed73,0 2px 8px #0003;transition:transform .2s,box-shadow .2s;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:manipulation}.btn-start:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 40px #7c3aed80}.btn-start:active:not(:disabled){transform:translateY(0)}.btn-start:disabled{opacity:.6;cursor:not-allowed}.booth-touch-cta{min-width:280px}@media (min-width: 768px) and (orientation: landscape) and (max-height: 820px){.start-screen-container{flex-direction:row;flex-wrap:wrap;max-width:900px;justify-content:center;align-content:center;gap:24px 40px;padding:24px 32px}.start-hero{flex:1 1 280px;text-align:left;align-self:center}.start-strip-mockup{flex:0 0 auto;order:2}.start-steps{flex:1 1 100%;order:3}.start-cta-wrap{flex:1 1 100%;order:4;max-width:360px}}@media (max-width: 380px){.start-steps{gap:6px}.start-step{padding:6px 10px;font-size:12px}}.booth-progress-group{display:flex;align-items:center;gap:8px}.booth-progress-label{display:none}@media (min-width: 480px){.booth-progress-label{display:inline}}.camera-screen{width:100%;height:100vh;max-height:100vh;display:flex;align-items:stretch;justify-content:center;background:var(--app-bg-image, none) no-repeat center center;background-size:cover;background-attachment:fixed;padding:5px;overflow-y:auto;overflow-x:hidden;position:relative;box-sizing:border-box;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;touch-action:pan-y}.camera-container{width:100%;max-width:100%;background:#fff;border-radius:10px;padding:8px;box-shadow:0 10px 40px #0003;margin:0 auto;display:flex;flex-direction:column;min-height:calc(100vh - 10px);overflow-y:auto;overflow-x:hidden;position:relative;box-sizing:border-box;gap:5px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;touch-action:pan-y}@media (max-width: 768px){.camera-container{display:grid!important}}@media (min-width: 769px) and (max-width: 1024px){.camera-screen{padding:10px 10px 20px;overflow-y:auto!important;overflow-x:hidden!important;height:100vh;max-height:100vh;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important}.camera-container{max-width:100%;padding:10px 10px 50px;display:flex;flex-direction:column;height:auto!important;min-height:auto!important;max-height:none!important;overflow-y:visible!important;overflow-x:hidden!important}.camera-header{margin-bottom:8px;max-height:45px;flex-shrink:0}.camera-header h2{font-size:20px;margin-bottom:4px}.camera-subtitle{font-size:13px}.camera-preview-wrapper{width:100%;flex:0 0 auto;margin-bottom:8px;aspect-ratio:3 / 4;max-width:100%;flex-shrink:0;overflow:hidden}.camera-preview-wrapper--strip{aspect-ratio:var(--strip-preview-aspect, 1.5);width:min(100%,calc(58vh * var(--strip-preview-aspect, 1.5)));max-height:58vh}.countdown-number{font-size:80px;width:120px;height:120px}.camera-controls{gap:12px;margin-top:5px;margin-bottom:20px;padding-top:8px;padding-bottom:40px;min-height:120px;max-height:none;flex-shrink:0}.btn-start-camera,.btn-capture{min-width:200px;font-size:18px;padding:14px 35px}.btn-secondary{min-width:180px;font-size:16px;padding:14px 30px}}@media (min-width: 1025px){.camera-screen{padding:15px}.camera-container{max-width:100%;padding:12px;display:grid;grid-template-rows:auto 1fr auto;height:calc(100vh - 30px)}.camera-header{margin-bottom:8px}.camera-header h2{font-size:24px;margin-bottom:5px}.camera-subtitle{font-size:14px}.camera-preview-wrapper{width:100%;flex:0 0 auto;margin-bottom:8px;aspect-ratio:3 / 4;max-height:calc(100dvh - 200px);align-self:center}.countdown-number{font-size:90px;width:140px;height:140px}.camera-controls{gap:15px;margin-top:5px;padding-top:10px}.btn-start-camera,.btn-capture{min-width:280px;font-size:20px;padding:18px 45px}.btn-secondary{min-width:220px;font-size:18px;padding:18px 40px}}@media (min-width: 1440px){.camera-container{max-width:1200px;padding:60px 70px}.camera-header{margin-bottom:35px}.camera-header h2{font-size:40px;margin-bottom:18px}.camera-subtitle{font-size:22px}.camera-preview-wrapper{aspect-ratio:3 / 4;max-height:700px;margin-bottom:35px}.countdown-number{font-size:100px;width:150px;height:150px}.btn-start-camera,.btn-capture{min-width:300px;font-size:22px;padding:20px 50px}.btn-secondary{min-width:240px;font-size:20px;padding:20px 45px}}@media (min-width: 1920px){.camera-container{max-width:1200px;padding:60px 70px}.camera-preview-wrapper{aspect-ratio:3 / 4;min-height:0;max-height:800px}.countdown-number{font-size:110px;width:160px;height:160px}}.camera-header{text-align:center;margin-bottom:0;flex-shrink:0;padding:0;height:auto;max-height:50px;overflow:hidden}.camera-header h2{font-size:20px;color:#333;margin-bottom:3px}.camera-subtitle{font-size:12px;color:#666}.camera-preview-wrapper{position:relative;width:100%;background:#000;border-radius:8px;overflow:hidden;margin-bottom:0;box-shadow:0 4px 15px #0000004d;min-height:0;flex:0 0 auto;aspect-ratio:var(--frame-preview-aspect, .75);max-width:100%;align-self:center}.camera-preview-wrapper--card{aspect-ratio:var(--frame-preview-aspect, .75)}.camera-preview-wrapper--strip{aspect-ratio:var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5));width:min(100%,calc(62vh * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))));max-height:62vh}.camera-screen--strip-landscape .camera-preview-wrapper--strip{width:min(100%,calc(70vh * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))));max-height:70vh}.camera-rotate-gate{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;color:#fff;background:#0a0a0ee0}.camera-rotate-icon{font-size:52px;line-height:1;animation:camera-rotate-hint 1.6s ease-in-out infinite}.camera-rotate-title{margin:0;font-size:1.25rem;font-weight:700;letter-spacing:-.02em}.camera-rotate-desc{margin:0;font-size:.95rem;opacity:.85;line-height:1.4}@keyframes camera-rotate-hint{0%,to{transform:rotate(0)}35%{transform:rotate(90deg)}70%{transform:rotate(90deg)}}@media (min-width: 768px) and (min-width: 1024px){.camera-preview-wrapper{flex:1 1 auto}.camera-preview-wrapper--strip{flex:0 0 auto}}.camera-preview-mirror{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;transform:scaleX(-1);-webkit-transform:scaleX(-1)}.camera-preview-mirror.hidden{opacity:0;pointer-events:none;z-index:0}.camera-preview{position:absolute;top:50%;left:50%;min-width:100%;min-height:100%;width:auto;height:auto;transform:translate(-50%,-50%);object-fit:cover;object-position:center center;background:#000}.camera-capture-guide{position:absolute;z-index:3;pointer-events:none;height:var(--guide-height, 42%);width:auto;max-width:38%;object-fit:contain;object-position:bottom center;opacity:0;animation:capture-guide-in .28s ease forwards;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.camera-capture-guide--slot{top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;object-fit:fill;object-position:center center;filter:none}.camera-capture-guide--v-bottom{bottom:0;top:auto}.camera-capture-guide--v-center{top:50%;bottom:auto}.camera-capture-guide--left{left:2%;right:auto}.camera-capture-guide--center{left:50%;right:auto;transform:translate(-50%)}.camera-capture-guide--right{right:2%;left:auto}.camera-capture-guide--v-center.camera-capture-guide--center{transform:translate(-50%,-50%)}.camera-capture-guide--v-center.camera-capture-guide--left,.camera-capture-guide--v-center.camera-capture-guide--right{transform:translateY(-50%)}@keyframes capture-guide-in{0%{opacity:0}to{opacity:var(--guide-opacity, .92)}}.camera-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#1a1a1a;color:#fff;flex-direction:column;gap:20px;position:absolute;top:0;left:0;z-index:2}.camera-loading{display:flex;flex-direction:column;align-items:center;gap:15px}.loading-spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite}.camera-loading p,.camera-idle p,.camera-error p{font-size:16px;text-align:center;margin:0}@media (min-width: 1024px){.camera-loading p,.camera-idle p,.camera-error p{font-size:18px}}.camera-icon,.error-icon{font-size:80px;margin-bottom:10px}@media (min-width: 1024px){.camera-icon,.error-icon{font-size:100px;margin-bottom:15px}}.camera-error{display:flex;flex-direction:column;align-items:center;gap:15px;padding:20px}.camera-idle{display:flex;flex-direction:column;align-items:center;gap:15px}.btn-start-camera{min-width:200px;font-size:18px;padding:15px 30px}.countdown-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;display:flex;align-items:center;justify-content:center;z-index:10}.countdown-number{font-size:80px;font-weight:700;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.8),0 4px 20px rgba(0,0,0,.6);animation:pulse .5s ease-in-out;background:#0009;width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid rgba(255,255,255,.8);box-shadow:0 4px 20px #00000080}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.captured-indicator{position:absolute;top:15px;right:15px;z-index:5}.captured-badge{background:#4caf50e6;color:#fff;padding:8px 16px;border-radius:20px;font-size:16px;font-weight:700;box-shadow:0 2px 10px #0000004d}.camera-controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;flex-shrink:0;flex-grow:0;padding:5px 0;min-height:70px;max-height:100px;height:auto;position:relative;z-index:10;background:#fff;box-sizing:border-box;align-items:center}@media (min-width: 1024px){.camera-controls{flex-wrap:nowrap;justify-content:center}}.btn-capture{min-width:200px;font-size:18px;padding:15px 30px}.btn-capture:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.camera-screen{padding:5px;overflow:hidden!important;height:100dvh!important;max-height:100dvh!important}.camera-container{padding:6px!important;border-radius:8px;height:calc(100dvh - 10px)!important;max-height:calc(100dvh - 10px)!important;min-height:calc(100dvh - 10px)!important;display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden!important;position:relative;box-sizing:border-box}.camera-header{margin-bottom:0!important;padding:0!important;height:40px!important;max-height:40px!important;min-height:40px!important;flex-shrink:0!important;overflow:hidden}.camera-header h2{font-size:16px;margin-bottom:2px;line-height:1.2}.camera-subtitle{font-size:10px;line-height:1.2}.camera-preview-wrapper{margin-bottom:0!important;margin-top:auto!important;flex:0 0 auto!important;width:100%;height:auto!important;max-height:calc(100dvh - 140px)!important;aspect-ratio:3 / 4;align-self:center;overflow:hidden!important;box-sizing:border-box}.camera-controls{padding:4px 0!important;margin-top:auto!important;margin-bottom:0!important;height:90px!important;min-height:90px!important;max-height:90px!important;gap:8px;display:flex!important;justify-content:center;flex-wrap:wrap;align-items:center;position:relative!important;z-index:1000!important;background:#fff!important;visibility:visible!important;opacity:1!important;overflow:visible!important;flex-shrink:0!important;flex-grow:0!important;order:999!important}.countdown-number{font-size:70px;width:100px;height:100px}.btn-capture,.btn-start-camera,.btn-secondary{min-width:140px;font-size:16px;padding:12px 20px;flex-shrink:0}}@media (max-width: 480px){.camera-screen{padding:3px;overflow:hidden!important;height:100dvh!important;max-height:100dvh!important}.camera-container{padding:5px!important;height:calc(100dvh - 6px)!important;max-height:calc(100dvh - 6px)!important;min-height:calc(100dvh - 6px)!important;display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden!important;position:relative;box-sizing:border-box}.camera-header{margin-bottom:0!important;height:35px!important;max-height:35px!important;min-height:35px!important;flex-shrink:0!important;overflow:hidden}.camera-header h2{font-size:14px;margin-bottom:1px;line-height:1.2}.camera-subtitle{font-size:9px;line-height:1.2}.camera-preview-wrapper{margin-bottom:0!important;margin-top:auto!important;flex:0 0 auto!important;width:100%;height:auto!important;max-height:calc(100dvh - 150px)!important;aspect-ratio:3 / 4;align-self:center;overflow:hidden!important;box-sizing:border-box}.countdown-number{font-size:60px;width:90px;height:90px}.camera-controls{flex-direction:column;gap:6px;padding:4px 0!important;margin-top:0!important;margin-bottom:0!important;height:100px!important;min-height:100px!important;max-height:100px!important;position:relative!important;z-index:1000!important;background:#fff!important;display:flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important;overflow:visible!important;flex-shrink:0!important;flex-grow:0!important;order:999!important}.btn-capture,.btn-start-camera,.btn-secondary{width:100%;font-size:14px;padding:12px 16px;flex-shrink:0}}.camera-frame-badge{text-align:center;color:#fffc;font-size:13px;margin:4px 0 0}.camera-back-btn{align-self:flex-start;background:transparent;border:none;color:#ffffffd9;font-size:14px;font-weight:600;cursor:pointer;margin-bottom:4px;padding:4px 0}.camera-screen--kiosk{flex:1;display:flex;flex-direction:column;min-height:0;height:auto!important;max-height:none!important;padding:0!important;background:transparent!important;overflow:hidden!important}.camera-screen--kiosk .camera-container{flex:1;display:flex!important;flex-direction:column!important;justify-content:stretch;max-width:min(520px,100%);margin:0 auto;width:100%;min-height:0!important;height:auto!important;max-height:none!important;padding:4px 16px 16px!important;gap:10px!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}.camera-screen--kiosk .camera-header{flex-shrink:0;max-height:none!important;height:auto!important;min-height:0!important;overflow:visible;padding:2px 0 0!important;margin:0!important}.camera-screen--kiosk .camera-header h2,.camera-screen--kiosk .camera-subtitle,.camera-screen--kiosk .camera-frame-badge{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.45)}.camera-screen--kiosk .camera-header h2{font-size:18px;font-weight:700;margin-bottom:2px}.camera-screen--kiosk .camera-subtitle{font-size:13px;color:#ffffffc7!important}.camera-screen--kiosk .camera-back-btn{color:#ffffffe6}.camera-screen--kiosk .camera-preview-wrapper{flex:1 1 auto!important;width:100%;height:auto!important;aspect-ratio:var(--frame-preview-aspect, .75);align-self:center;border-radius:18px;overflow:hidden;min-height:0;max-width:min(100%,calc((100dvh - 200px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)) * var(--frame-preview-aspect, .75)));max-height:calc(100dvh - 200px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;margin:0 auto!important;box-shadow:0 0 0 1px #ffffff24,0 16px 40px #00000059}.camera-screen--kiosk .camera-controls{flex-shrink:0!important;flex-grow:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:8px 0 4px!important;background:transparent!important;gap:10px;order:0!important}.camera-screen--kiosk .btn-capture--hero{min-height:56px!important;min-width:min(100%,320px)!important;font-size:19px!important;font-weight:800!important;border-radius:16px!important;box-shadow:0 10px 28px #00000047}.camera-screen--kiosk .btn-secondary{background:#ffffff1f!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important}.camera-screen--kiosk .btn-start-camera{box-shadow:0 8px 24px #00000040}@media (max-width: 768px){.camera-screen--kiosk .camera-container{padding:2px 12px 12px!important;max-width:100%}.camera-screen--kiosk .camera-header h2{font-size:18px}.camera-screen--kiosk .camera-preview-wrapper{max-height:calc(100dvh - 180px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;border-radius:14px}}.camera-screen--strip .camera-preview-wrapper.camera-preview-wrapper--strip,.camera-screen--kiosk.camera-screen--strip .camera-preview-wrapper.camera-preview-wrapper--strip{aspect-ratio:var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))!important;width:min(100%,calc(62vh * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))))!important;max-width:min(100%,calc(62vh * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))))!important;max-height:62vh!important;height:auto!important;flex:0 0 auto!important}.camera-screen--strip-landscape.camera-screen--kiosk .camera-container{max-width:min(1200px,100%)!important;padding:0 16px 10px!important;gap:8px!important;justify-content:center}.camera-screen--strip-landscape .camera-header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;column-gap:10px;row-gap:2px;padding:0!important;margin:0!important;max-height:none!important}.camera-screen--strip-landscape .camera-back-btn{margin:0 8px 0 0;padding:2px 0;font-size:13px}.camera-screen--strip-landscape .camera-header h2{font-size:18px!important;margin:0!important}.camera-screen--strip-landscape .camera-subtitle,.camera-screen--strip-landscape .camera-frame-badge{font-size:12px!important;margin:0!important}.camera-screen--strip-landscape .camera-preview-wrapper.camera-preview-wrapper--strip,.camera-screen--kiosk.camera-screen--strip-landscape .camera-preview-wrapper.camera-preview-wrapper--strip{width:min(96vw,calc((100dvh - 168px) * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))))!important;max-width:min(96vw,calc((100dvh - 168px) * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))))!important;max-height:calc(100dvh - 168px)!important;margin:0 auto!important;border-radius:14px!important}.camera-screen--strip-landscape .camera-controls{padding:4px 0 0!important;gap:8px!important}.camera-screen--strip-landscape .btn-capture--hero{min-height:48px!important;min-width:min(100%,360px)!important;font-size:17px!important}@media (orientation: landscape) and (max-height: 520px){.camera-screen--strip-landscape.camera-screen--kiosk .camera-container{padding:0 12px 6px!important;gap:4px!important}.camera-screen--strip-landscape .camera-header h2{font-size:15px!important}.camera-screen--strip-landscape .camera-subtitle,.camera-screen--strip-landscape .camera-frame-badge{font-size:11px!important}.camera-screen--strip-landscape .camera-preview-wrapper.camera-preview-wrapper--strip,.camera-screen--kiosk.camera-screen--strip-landscape .camera-preview-wrapper.camera-preview-wrapper--strip{width:min(98vw,calc((100dvh - 132px) * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))))!important;max-width:min(98vw,calc((100dvh - 132px) * var(--frame-preview-aspect, var(--strip-preview-aspect, 1.5))))!important;max-height:calc(100dvh - 132px)!important;border-radius:10px!important}.camera-screen--strip-landscape .btn-capture--hero{min-height:42px!important;font-size:15px!important;border-radius:12px!important}.camera-screen--strip .camera-rotate-title{font-size:1.05rem}}.booth-shell--kiosk:has(.camera-screen--strip-landscape) .booth-progress{margin-bottom:4px;transform:scale(.92);transform-origin:top center}.booth-shell--kiosk:has(.camera-screen--strip-landscape) .booth-immersive-content{min-height:0}.size-select-booth{flex:1;display:flex;flex-direction:column;min-height:0;padding:0 0 env(safe-area-inset-bottom,0)}.size-select-panel{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:0;width:100%;padding:12px 20px max(20px,env(safe-area-inset-bottom,0))}.size-select-booth--immersive .size-select-panel{justify-content:space-between;gap:clamp(12px,2.5vh,28px);padding-top:clamp(4px,1.5vh,16px);padding-inline:max(20px,3vw);padding-bottom:max(20px,env(safe-area-inset-bottom,0))}.size-select-title{margin:0;flex-shrink:0;text-align:center;color:#fff;font-size:clamp(20px,4vw,28px);font-weight:800;text-shadow:0 2px 12px rgba(0,0,0,.35)}.size-select-grid{flex:0 1 auto;display:flex;align-items:center;justify-content:center;gap:20px;width:100%;max-width:720px;min-height:0;flex-wrap:wrap}.size-select-booth--immersive .size-select-grid{flex:1 1 auto;flex-wrap:nowrap;gap:clamp(12px,2.5vw,28px);align-items:center;justify-content:center;max-width:min(720px,92vw)}.size-select-card{flex:0 1 200px;max-width:240px;display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 16px 16px;border:3px solid transparent;border-radius:20px;background:#e8ecf1;cursor:pointer;touch-action:manipulation;transition:border-color .2s,transform .2s,box-shadow .2s,background .2s,opacity .2s}.size-select-booth--immersive .size-select-card{flex:1 1 0;min-width:0;max-width:260px;justify-content:flex-start;background:#ffffff14;border-color:#ffffff1f;opacity:.78;overflow:visible}.size-select-card:active{transform:scale(.98)}.size-select-card.selected{border-color:var(--booth-accent, #0284c7);background:#fffffff5;opacity:1;transform:scale(1.03);box-shadow:0 0 0 4px #0284c740,0 12px 32px #00000047}.size-select-preview{position:relative;flex-shrink:0;width:120px;max-width:100%;height:auto;border-radius:10px;background:#b8c0cc;box-shadow:0 4px 16px #0000002e;overflow:hidden;box-sizing:border-box}.size-select-preview--strip{width:52px}.size-select-booth--immersive .size-select-preview--card{width:min(132px,24vw)}.size-select-booth--immersive .size-select-preview--strip{width:min(58px,10vw)}.size-select-slots{position:absolute;top:9%;right:9%;bottom:9%;left:9%;display:grid;gap:5%;pointer-events:none}.size-select-preview--card .size-select-slots{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.size-select-preview--strip .size-select-slots{grid-template-columns:1fr;grid-template-rows:repeat(4,1fr)}.size-select-slot{display:block;min-height:0;background:#ffffffd1;border-radius:3px;box-shadow:inset 0 0 0 1px #ffffff59}.size-select-name{font-size:18px;font-weight:800;color:#1a1a2e}.size-select-booth--immersive .size-select-card:not(.selected) .size-select-name{color:#ffffffeb}.size-select-card.selected .size-select-name{color:var(--booth-accent, #0284c7)}.size-select-desc{font-size:13px;font-weight:600;color:#6b7280;text-align:center}.size-select-booth--immersive .size-select-card:not(.selected) .size-select-desc{color:#ffffffa6}.size-select-dims{font-size:12px;font-weight:600;color:#9ca3af}.size-select-booth--immersive .size-select-card:not(.selected) .size-select-dims{color:#ffffff73}.size-confirm-btn{flex-shrink:0;width:100%;max-width:420px;min-height:56px;font-size:18px}.size-select-booth--immersive .size-confirm-btn{max-width:min(480px,92vw)}@media (min-width: 768px){.size-select-panel{gap:24px;padding:16px 40px max(24px,env(safe-area-inset-bottom,0))}.size-select-booth--immersive .size-select-panel{padding-top:clamp(8px,2vh,20px);padding-inline:max(40px,6vw);padding-bottom:max(28px,env(safe-area-inset-bottom,0))}.size-select-booth--immersive .size-select-title{font-size:clamp(22px,3.2vw,30px)}.size-select-booth--immersive .size-select-card{max-width:300px;padding:24px 20px 18px;gap:10px}.size-select-booth--immersive .size-select-preview--card{width:min(148px,18vw)}.size-select-booth--immersive .size-select-preview--strip{width:min(64px,8vw)}.size-select-name{font-size:22px}.size-select-booth--immersive .size-confirm-btn{min-height:60px;font-size:20px}}@media (min-width: 768px) and (max-height: 900px){.size-select-booth--immersive .size-select-panel{gap:10px;padding-top:4px;padding-bottom:max(16px,env(safe-area-inset-bottom,0))}.size-select-booth--immersive .size-select-preview--card{width:min(120px,16vw)}.size-select-booth--immersive .size-select-preview--strip{width:min(52px,7vw)}.size-select-title{font-size:clamp(18px,3.2vw,24px)}.size-confirm-btn{min-height:52px}}@media (orientation: landscape) and (max-height: 700px){.size-select-booth--immersive .size-select-preview--card{width:min(100px,14vw)}.size-select-booth--immersive .size-select-preview--strip{width:min(44px,6vw)}.size-select-booth--immersive .size-select-desc,.size-select-booth--immersive .size-select-dims{font-size:11px}}.frame-select-booth{flex:1;display:flex;flex-direction:column;min-height:0;padding:0 0 env(safe-area-inset-bottom,0)}.frame-select-stage{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:16px;min-height:0;width:100%}.frame-carousel-wrap{position:relative;flex:0 1 auto;display:flex;align-items:center;justify-content:center;max-height:100%;min-height:0;width:100%}.frame-carousel-fade{position:absolute;top:0;bottom:0;width:48px;z-index:2;pointer-events:none}.frame-carousel-fade--left{left:0;background:linear-gradient(to right,rgba(15,15,20,.85),transparent)}.frame-carousel-fade--right{right:0;background:linear-gradient(to left,rgba(15,15,20,.85),transparent)}.frame-carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;justify-content:safe center;padding:16px max(24px,8vw) 20px;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none}.frame-carousel::-webkit-scrollbar{display:none}.frame-carousel-item{flex:0 0 auto;scroll-snap-align:center;background:#e8ecf1;border:3px solid transparent;border-radius:20px;padding:16px 14px 12px;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s,background .2s,opacity .2s;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:168px;touch-action:manipulation;opacity:1}.frame-select-booth--immersive .frame-carousel-item{background:#ffffff14;border-color:#ffffff1f;opacity:.72}.frame-carousel-item:active{transform:scale(.98)}.frame-carousel-item.selected{border-color:var(--booth-accent, #0284c7);background:#fffffff5;transform:scale(1.06);opacity:1;box-shadow:0 0 0 4px #0284c740,0 16px 40px #00000059}.frame-select-booth:not(.frame-select-booth--immersive) .frame-carousel-item.selected{box-shadow:0 0 0 4px #0284c733,0 12px 32px #0284c747}.frame-carousel-item canvas{width:148px;height:auto;border-radius:8px;display:block;box-shadow:0 4px 16px #00000040;background:#cfd6de}.frame-select-booth--strip .frame-carousel-item{min-width:120px}.frame-select-booth--strip .frame-carousel-item canvas{width:100px}.frame-carousel-item.selected canvas{box-shadow:0 6px 20px #0284c733}.frame-carousel-name{font-size:15px;font-weight:800;letter-spacing:.02em;color:#1a1a2e}.frame-select-booth--immersive .frame-carousel-name{color:#ffffffe6}.frame-carousel-item.selected .frame-carousel-name{color:var(--booth-accent, #0284c7)}.frame-carousel-dots{display:flex;justify-content:center;gap:8px;padding:4px 16px 12px;flex-shrink:0}.frame-carousel-dot{width:8px;height:8px;border-radius:50%;border:none;padding:0;background:#d1d5db;cursor:pointer;transition:transform .15s,background .15s;touch-action:manipulation}.frame-select-booth--immersive .frame-carousel-dot{background:#ffffff4d}.frame-carousel-dot.active{background:var(--booth-accent, #0284c7);transform:scale(1.35)}.frame-select-footer{display:flex;flex-direction:column;gap:10px;padding:12px 20px 20px;flex-shrink:0}.frame-select-booth--immersive .frame-select-footer{background:transparent}.frame-select-footer .booth-btn-secondary{background:#f8f9fb;color:#374151;border:1px solid #e5e7eb}.frame-select-booth--immersive .frame-select-footer .booth-btn-secondary{background:#ffffff1a;color:#fff;border:2px solid rgba(255,255,255,.28)}.frame-select-footer .booth-btn-secondary:active{background:#eef0f4}.frame-select-booth--immersive .frame-select-footer .booth-btn-secondary:active{background:#ffffff2e}.frame-select-booth--immersive .frame-carousel-fade{display:block}.frame-select-booth--strip .frame-carousel-fade,.frame-select-booth:not(.frame-select-booth--immersive) .frame-carousel-fade{display:none}.frame-confirm-btn{width:100%;min-height:56px;font-size:18px}@media (min-width: 768px){.frame-carousel{gap:28px;padding:20px max(40px,8vw) 24px}.frame-carousel-fade{width:72px}.frame-carousel-item{min-width:220px;padding:20px 18px 14px;border-width:4px}.frame-carousel-item canvas{width:200px}.frame-select-booth--strip .frame-carousel{gap:36px;padding-inline:max(48px,10vw)}.frame-select-booth--strip .frame-carousel-item{min-width:168px;padding:22px 20px 16px}.frame-select-booth--strip .frame-carousel-item canvas{width:min(148px,22vh)}.frame-carousel-name{font-size:18px}.frame-carousel-dot{width:10px;height:10px}.frame-select-footer{flex-direction:row;justify-content:center;gap:12px;max-width:560px;margin:0 auto;width:100%;padding:16px 24px 28px}.frame-confirm-btn{flex:1}.frame-select-footer .booth-btn-secondary{flex:0 0 auto;min-width:120px}}@media (min-width: 900px) and (max-height: 820px) and (orientation: landscape){.frame-carousel-wrap{min-height:0}.frame-carousel{padding:12px max(28px,5vw) 16px;gap:20px}.frame-carousel-item{min-width:180px;padding:14px 12px 10px}.frame-carousel-item canvas{width:160px}.frame-carousel-name{font-size:16px}.frame-select-footer{padding:10px 24px 16px}}@media (min-width: 1024px) and (orientation: portrait){.frame-carousel-item{min-width:260px;padding:22px 20px 16px}.frame-carousel-item canvas{width:240px}.frame-select-booth--strip .frame-carousel-item{min-width:200px}.frame-select-booth--strip .frame-carousel-item canvas{width:min(170px,28vh)}.frame-carousel-name{font-size:20px}}.filter-selector{margin:16px 0}.filter-selector-label{margin:0 0 10px;font-size:14px;font-weight:600;color:#ffffffe6;text-align:center}.filter-selector-options{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.filter-option{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:72px;padding:10px 12px;border:2px solid rgba(255,255,255,.35);border-radius:14px;background:#ffffff1f;color:#fff;cursor:pointer;transition:transform .15s,border-color .15s,background .15s}.filter-option.active{border-color:#fff;background:#ffffff47;transform:scale(1.04)}.filter-option-emoji{font-size:22px;line-height:1}.filter-option-name{font-size:12px;font-weight:600}.filter-selector--kiosk .filter-option{min-width:88px;min-height:88px;padding:14px 16px}.filter-selector--kiosk .filter-option-emoji{font-size:28px}.filter-selector--kiosk .filter-option-name{font-size:14px}.photo-select-booth .filter-selector-label{color:#374151}.photo-select-booth .filter-option{background:#f3f4f6;color:#374151;border-color:#e5e7eb}.photo-select-booth .filter-option.active{background:#6b46c1;color:#fff;border-color:#6b46c1}.photo-select-booth{width:100%;flex:1;height:100%;padding:12px 16px 16px;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;min-height:0;overflow:hidden}.photo-select-hint{color:#6b7280;font-size:13px;text-align:center;margin:0;line-height:1.4;flex-shrink:0}.photo-select-body{display:flex;flex-direction:column;gap:12px;align-items:center;min-height:0;flex:1}.photo-select-preview-shell{width:100%;display:flex;align-items:center;justify-content:center;min-height:0;flex:1 1 auto;overflow:hidden;container-type:size}.frame-preview-background{position:relative;width:min(100%,340px,calc(100cqh * var(--preview-w, 1200) / var(--preview-h, 1600)));max-width:min(340px,100%);max-height:100cqh;height:auto;margin:0 auto;background:#f0f1f4;border-radius:12px;padding:12px;box-shadow:inset 0 0 0 1px #0000000f;aspect-ratio:var(--preview-w, 1200) / var(--preview-h, 1600);min-height:0;overflow:hidden}.frame-preview-background--strip{--strip-ar: calc(var(--preview-w, 658) / var(--preview-h, 2009));width:min(100%,calc(100cqh * var(--strip-ar)));max-width:min(240px,100%);max-height:100cqh;height:auto;aspect-ratio:var(--preview-w, 658) / var(--preview-h, 2009);padding:0;background:transparent;box-shadow:none;border-radius:8px;overflow:hidden}.frame-preview-background--strip .frame-overlay,.frame-preview-background--strip .photo-slots-container{top:0;left:0;right:0;bottom:0;width:100%;height:100%}.frame-overlay{position:absolute;top:12px;left:12px;right:12px;bottom:12px;width:calc(100% - 24px);height:calc(100% - 24px);pointer-events:none;z-index:4}.photo-slots-container{position:absolute;top:12px;left:12px;right:12px;bottom:12px;pointer-events:none;overflow:hidden;z-index:3}.photo-slots-container .photo-slot{pointer-events:all}.photo-slot{position:absolute;background:#111;border-radius:0;overflow:hidden;transition:outline .15s}.photo-slot--draggable{cursor:grab;touch-action:none}.photo-slot--draggable:active{cursor:grabbing;outline:2px solid rgba(107,70,193,.5)}.photo-slot-label{display:block;width:100%;height:100%;position:relative}.slot-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e8eaef;color:#9ca3af}.slot-number{font-size:32px;font-weight:800;color:#6b46c1;margin-bottom:4px}.slot-text{font-size:13px}.slot-canvas{width:100%;height:100%;display:block;position:absolute;top:0;left:0;touch-action:none}.slot-remove{position:absolute;top:6px;right:6px;background:#dc2626e6;color:#fff;border:none;border-radius:50%;width:26px;height:26px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;z-index:10}.photo-select-sidebar{width:100%;max-width:340px;display:flex;flex-direction:column;gap:10px;flex-shrink:0}.photo-select-controls{display:flex;flex-direction:column;gap:8px}.photo-select-booth .booth-btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.photo-select-booth .booth-btn-primary{width:100%}.photo-select-booth--strip{padding:8px 12px 12px;gap:8px}.photo-select-booth--strip .photo-select-hint{font-size:12px}.photo-select-booth--strip .photo-select-body{flex:1;min-height:0;gap:8px}.photo-select-booth--strip .photo-select-preview-shell{flex:1 1 auto;min-height:0}.photo-select-booth--strip .frame-preview-background--strip{width:min(100cqw,calc(100cqh * var(--preview-w, 658) / var(--preview-h, 2009)));height:auto;max-width:100%;max-height:100cqh;aspect-ratio:var(--preview-w, 658) / var(--preview-h, 2009)}.photo-select-booth--strip .photo-select-sidebar{max-width:100%}.photo-select-booth--strip .filter-selector{margin:0}.photo-select-booth--strip .filter-selector-label{margin:0 0 6px;font-size:12px}.photo-select-booth--strip .filter-selector-options{gap:6px}.photo-select-booth--strip .filter-option{min-width:58px;padding:6px 8px;border-radius:10px}.photo-select-booth--strip .filter-option-emoji{font-size:16px}.photo-select-booth--strip .filter-option-name{font-size:11px}.photo-select-booth--strip .booth-btn{min-height:44px;padding:12px 18px;font-size:15px}@media (min-width: 768px) and (max-width: 1024px){.photo-select-booth:not(.photo-select-booth--strip){padding:16px 20px 20px}.photo-select-booth:not(.photo-select-booth--strip) .frame-preview-background{max-width:min(380px,100%)}}@media (min-width: 768px) and (max-height: 820px) and (orientation: landscape){.photo-select-booth{padding:8px 14px 10px;gap:8px}.photo-select-body{flex-direction:row;align-items:center;justify-content:center;gap:16px}.photo-select-preview-shell{flex:1 1 auto;min-width:0;height:100%}.frame-preview-background:not(.frame-preview-background--strip){width:min(100%,320px,calc(100cqh * var(--preview-w, 1200) / var(--preview-h, 1600)));max-width:min(42vh,320px);max-height:100cqh;flex-shrink:1;padding:10px}.photo-select-booth--strip .photo-select-body{flex-direction:row;align-items:stretch}.photo-select-booth--strip .frame-preview-background--strip{width:min(100cqw,calc(100cqh * var(--preview-w, 658) / var(--preview-h, 2009)));max-height:100cqh;height:auto;max-width:100%}.photo-select-sidebar{max-width:220px;flex:0 0 220px;justify-content:center;min-height:0;overflow-y:auto}.photo-select-hint{font-size:12px}}@media (max-height: 740px){.photo-select-booth{padding:6px 10px 10px;gap:6px}.photo-select-hint{display:none}.photo-select-booth .filter-selector{margin:0}.photo-select-booth .filter-selector-label{margin:0 0 6px;font-size:12px}.photo-select-booth .filter-selector-options{gap:6px}.photo-select-booth .filter-option{min-width:58px;min-height:0;padding:6px 8px;border-radius:10px}.photo-select-booth .filter-option-emoji{font-size:16px}.photo-select-booth .filter-option-name{font-size:11px}.photo-select-booth .booth-btn{min-height:40px;padding:10px 14px;font-size:14px}}@media (max-width: 480px){.photo-select-booth:not(.photo-select-booth--strip){padding:10px 12px 14px}.photo-select-booth:not(.photo-select-booth--strip) .frame-preview-background{max-width:100%;padding:10px}.slot-number{font-size:24px}}.save-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:#000c;display:flex;align-items:center;justify-content:center;padding:16px}.save-modal-content{position:relative;width:100%;max-width:420px;max-height:90vh;overflow-y:auto;background:#fff;border-radius:20px;padding:24px 20px 20px;text-align:center;box-shadow:0 12px 40px #00000059}.save-modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:none;border-radius:50%;background:#f0f0f0;font-size:18px;cursor:pointer}.save-modal-content h3{margin:0 0 12px;font-size:20px;color:#333}.save-modal-steps{text-align:left;margin:0 0 16px;padding-left:20px;color:#555;font-size:15px;line-height:1.6}.save-modal-image-wrap{background:#f8f8f8;border-radius:12px;padding:12px;margin-bottom:12px}.save-modal-image{width:100%;height:auto;display:block;border-radius:8px;-webkit-user-select:none;user-select:none;-webkit-touch-callout:default}.save-modal-hint{margin:0 0 16px;font-size:13px;color:#888;line-height:1.5}.save-modal-actions{display:flex;flex-direction:column;gap:10px}.save-modal-actions .btn{width:100%}.result-booth{padding:16px;display:flex;flex-direction:column;gap:16px;flex:1;height:100%;min-height:0;overflow:hidden;box-sizing:border-box}.result-hero-grid{display:flex;flex-direction:column;align-items:center;gap:20px;flex:1 1 auto;min-height:0;overflow:hidden}.result-booth--kiosk .result-hero-grid{flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;gap:16px}.result-booth--strip .result-hero-grid,.result-booth--kiosk.result-booth--strip .result-hero-grid{align-items:stretch}.result-booth .result-image{background:transparent;border-radius:12px;padding:0;margin:0;box-shadow:none;flex:1 1 auto;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.result-booth--strip .result-image{flex:1 1 0;align-self:stretch}.result-booth .result-image canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;aspect-ratio:var(--result-w, 1200) / var(--result-h, 1600);object-fit:contain;min-width:0;min-height:0}.result-booth--strip .result-image canvas{width:auto;height:auto;max-width:100%;max-height:100%;aspect-ratio:var(--result-w, 658) / var(--result-h, 2009);object-fit:contain}.result-qr-hero{text-align:center;padding:12px;background:#f8f9fb;border-radius:16px;min-width:200px;max-width:240px;flex:0 0 auto;max-height:100%;overflow:hidden}.result-qr-hero h3{margin:0 0 8px;font-size:18px;color:#1a1a2e}.result-qr-hero p{margin:0 0 12px;font-size:13px;color:#6b7280;line-height:1.4}.result-qr-inline{min-height:160px;max-height:min(220px,36vh);display:flex;align-items:center;justify-content:center}.result-qr-inline canvas,.result-qr-inline svg,.result-qr-inline img{max-width:min(200px,100%);max-height:min(200px,36vh)}.result-qr-loading{color:#9ca3af;font-size:14px}.result-qr-url{font-size:11px;color:#9ca3af;word-break:break-all;margin:8px 0 0}.result-booth .result-controls{display:flex;flex-direction:column;gap:10px;padding:0 4px 4px;flex-shrink:0}.result-booth .booth-btn-secondary{background:#f8f9fb;color:#374151;border:1px solid #e5e7eb}.result-booth .booth-btn-secondary:active{background:#eef0f4}.result-booth .result-save-hint{color:#6b7280;font-size:12px;text-align:center}@media (max-width: 600px){.result-booth--kiosk .result-hero-grid{flex-direction:column}}@media (max-height: 740px){.result-booth{padding:10px 12px 12px;gap:10px}.result-qr-hero{padding:8px;min-width:160px;max-width:200px}.result-qr-hero h3{font-size:15px;margin-bottom:4px}.result-qr-hero p{display:none}.result-qr-inline{min-height:120px;max-height:28vh}.result-booth .result-controls{gap:8px}.result-booth .booth-btn{min-height:40px;padding:10px 14px;font-size:14px}}@media (min-width: 768px) and (max-height: 820px) and (orientation: landscape){.result-booth--kiosk .result-hero-grid{flex-direction:row;flex-wrap:nowrap}.result-booth .result-controls{flex-direction:row;flex-wrap:wrap;justify-content:center}.result-booth .result-controls .booth-btn{flex:1 1 160px}}.result-container{width:100%;max-width:600px;margin:0 auto;padding:20px;overflow-y:auto;max-height:100vh;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.result-container h2{text-align:center;color:#fff;margin-bottom:30px;font-size:24px}.result-image{background:#fff;border-radius:15px;padding:15px;margin-bottom:30px;box-shadow:0 4px 20px #0000004d;display:flex;justify-content:center;align-items:center;overflow:hidden}.result-image canvas{max-width:100%;max-height:60vh;width:auto;height:auto;display:block;border-radius:10px;object-fit:contain}.result-controls{display:flex;flex-direction:column;gap:15px;padding-bottom:20px}.result-save-hint{text-align:center;font-size:13px;color:#ffffffd9;line-height:1.5;margin:0;padding:0 8px}@media (min-width: 769px) and (max-width: 1024px){.result-container{padding:15px;max-height:calc(100vh - 30px);overflow-y:auto}.result-image canvas{max-height:50vh}.result-controls{gap:12px;padding-bottom:15px}.result-container h2{font-size:22px;margin-bottom:20px}}.qr-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.qr-modal-content{background:#fff;border-radius:20px;padding:30px;max-width:400px;width:90%;position:relative;text-align:center}.qr-modal-close{position:absolute;top:15px;right:15px;background:none;border:none;font-size:24px;cursor:pointer;color:#666;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s}.qr-modal-close:hover{background:#f0f0f0}.qr-modal-content h3{margin:0 0 10px;color:#333;font-size:24px}.qr-modal-content>p{color:#666;margin:10px 0 20px;font-size:14px}.qr-code-image{margin:20px 0;display:flex;justify-content:center;align-items:center}.qr-code-image img{width:300px;height:300px;border:2px solid #e0e0e0;border-radius:10px;padding:10px;background:#fff}.qr-url{margin-top:15px;padding:10px;background:#f5f5f5;border-radius:8px;font-size:12px;word-break:break-all;color:#666}.btn:disabled{opacity:.6;cursor:not-allowed;pointer-events:none}@media (max-width: 1024px) and (min-width: 769px){.result-container{max-width:500px;padding:15px}.result-image canvas{max-height:55vh}.result-container h2{font-size:22px}}@media (max-width: 768px) and (min-width: 481px){.result-container{max-width:100%;padding:15px}.result-image canvas{max-height:50vh}.result-container h2{font-size:20px;margin-bottom:25px}.result-controls{gap:12px}}@media (max-width: 480px){.result-image canvas{max-height:45vh}.result-container{max-width:100%;padding:10px 15px}.result-image{padding:10px;margin-bottom:20px}.result-container h2{font-size:18px;margin-bottom:20px}.result-controls{gap:10px}.qr-modal-content{padding:20px 15px;max-width:90%}.qr-modal-content h3{font-size:20px}.qr-code-image img{width:220px;height:220px}.qr-url{font-size:11px;padding:8px}}@media (max-width: 375px){.result-image canvas{max-height:40vh}.result-container h2{font-size:16px}.qr-code-image img{width:200px;height:200px}}@media (max-height: 600px) and (orientation: landscape){.result-image canvas{max-height:60vh}.result-container h2{font-size:18px;margin-bottom:15px}.result-controls{flex-direction:row;flex-wrap:wrap;justify-content:center}}.gallery-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10001;background:#000000d9;display:flex;align-items:center;justify-content:center;padding:16px}.gallery-modal-content{position:relative;width:100%;max-width:420px;max-height:90vh;overflow-y:auto;background:#fff;border-radius:20px;padding:24px 20px 20px;text-align:center}.gallery-modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:none;border-radius:50%;background:#f0f0f0;font-size:18px;cursor:pointer}.gallery-modal-content h3{margin:0 0 4px;font-size:20px;color:#333}.gallery-modal-date{margin:0 0 16px;font-size:13px;color:#888}.gallery-modal-image-wrap{background:#f8f8f8;border-radius:12px;padding:12px;margin-bottom:16px}.gallery-modal-image-wrap img{width:100%;height:auto;display:block;border-radius:8px}.gallery-modal-actions{display:flex;flex-direction:column;gap:10px}.gallery-modal-actions .btn{width:100%}.gallery-modal-delete{color:#dc3545!important}.side-menu-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:998}.side-menu{position:fixed;top:0;right:-100%;width:80%;max-width:400px;height:100vh;background:#fff;box-shadow:-2px 0 10px #0000001a;transition:right .3s ease;z-index:999;overflow-y:auto}.side-menu.active{right:0}.side-menu-header{padding:20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.side-menu-header h2{margin:0;font-size:20px}.close-btn{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:5px 10px}.gallery{padding:20px;display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.empty-message{grid-column:1 / -1;text-align:center;color:#999;padding:40px 20px}.gallery-item{aspect-ratio:3/4;border-radius:10px;overflow:hidden;cursor:pointer;box-shadow:0 2px 8px #0000001a;transition:transform .2s}.gallery-item:hover{transform:scale(1.05)}.gallery-item img{width:100%;height:100%;object-fit:cover}.header{background:#fffffff2;padding:15px 20px;display:flex;align-items:center;box-shadow:0 2px 10px #0000001a;position:relative;z-index:10}.menu-btn{background:none;border:none;font-size:24px;cursor:pointer;padding:5px 10px;color:#667eea;margin-right:15px}.menu-btn--placeholder{visibility:hidden;pointer-events:none}.header h1{font-size:20px;font-weight:600;color:#333;flex:1}.header--kiosk{background:transparent;box-shadow:none;padding:max(10px,env(safe-area-inset-top,0px)) 20px 4px;flex-shrink:0}.header--kiosk h1{font-size:22px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.35)}.header--kiosk .fullscreen-btn{background:#ffffff1f;color:#fff;border:1px solid rgba(255,255,255,.2)}.header--kiosk .fullscreen-btn:active{background:#ffffff38}.fullscreen-btn{background:#667eea1f;border:none;border-radius:10px;font-size:20px;cursor:pointer;padding:8px 12px;color:#667eea;min-width:44px;min-height:44px}.kiosk-idle-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;display:flex;align-items:flex-end;justify-content:center;padding:24px;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.45),transparent 60%)}.kiosk-idle-card{width:100%;max-width:420px;padding:20px 24px;border-radius:16px;background:#14141eeb;color:#fff;text-align:center;box-shadow:0 8px 32px #00000059}.kiosk-idle-title{margin:0 0 6px;font-size:16px;font-weight:700}.kiosk-idle-count{margin:0 0 8px;font-size:28px;font-weight:800;color:#ffd166}.kiosk-idle-hint{margin:0;font-size:13px;color:#ffffffbf}.main-container{position:relative;width:100%;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.main-container.kiosk-mode{height:100dvh;max-height:100dvh;min-height:100dvh;overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box}.screen{display:none;flex:1;padding:20px;overflow-y:auto;overflow-x:hidden;max-height:100vh;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.screen.active{display:flex;flex-direction:column}@media (max-width: 1024px) and (min-width: 769px){.screen{padding:18px;max-height:none!important;height:auto!important;overflow-y:auto!important}}@media (max-width: 768px) and (min-width: 481px){.screen{padding:15px}}@media (max-width: 480px){.screen{padding:10px}}@media (max-width: 375px){.screen{padding:8px}}@media (max-height: 600px) and (orientation: landscape){.screen{padding:10px}}.kiosk-mode .btn{min-height:56px;font-size:18px;padding:18px 32px}.kiosk-mode .screen{padding:16px 20px}.kiosk-mode .menu-btn{min-width:48px;min-height:48px;font-size:28px}.admin-page--nested{background:transparent;padding:24px;min-height:auto}.admin-page{min-height:100vh;height:auto;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;overflow-y:auto;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.admin-header{max-width:1200px;margin:0 auto 30px;text-align:center;color:#fff}.admin-header h1{font-size:32px;font-weight:700;margin-bottom:10px;text-shadow:0 2px 10px rgba(0,0,0,.2)}.admin-description{font-size:16px;margin-bottom:20px;opacity:.9}.admin-description code{font-size:.9em;background:#ffffff26;padding:2px 6px;border-radius:4px}.admin-photo-count{font-weight:600}.admin-alert{text-align:center;padding:20px;margin-bottom:20px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.admin-alert--error{background:#f443;border:1px solid rgba(255,200,200,.4);color:#fff}.admin-alert-detail{font-size:14px;opacity:.9;margin-top:8px}.admin-alert-retry{margin-top:12px;background:#fff;color:#c62828;border:none;padding:8px 16px;border-radius:8px;font-weight:600;cursor:pointer}.password-form{max-width:400px;margin:60px auto;padding:40px;background:#ffffff1a;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.password-input-group{margin-bottom:20px}.password-input-group label{display:block;color:#fff;font-size:14px;font-weight:600;margin-bottom:8px}.password-input-group input{width:100%;padding:12px;border:2px solid rgba(255,255,255,.3);border-radius:8px;font-size:16px;background:#ffffffe6;color:#333;box-sizing:border-box}.password-input-group input:focus{outline:none;border-color:#fff;background:#fff;box-shadow:0 0 0 3px #fff3}.password-error{color:#fcc;font-size:13px;margin-top:8px;text-align:center}.btn-submit{width:100%;background:#fff;color:#667eea;border:none;padding:12px 24px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.btn-submit:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}.btn-refresh{background:#fff;color:#667eea;border:none;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-refresh:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #0003}.btn-refresh:disabled{opacity:.6;cursor:not-allowed}.admin-content{max-width:1200px;margin:0 auto}.loading-message,.empty-message{text-align:center;padding:60px 20px;color:#fff;background:#ffffff1a;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.loading-spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.empty-message p{font-size:18px;margin:10px 0}.photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px;padding-bottom:50px}.photo-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px #0000001a;transition:transform .2s,box-shadow .2s}.photo-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px #0003}.photo-image{width:100%;aspect-ratio:3 / 4;overflow:hidden;background:#111}.photo-image--clickable{display:block;border:none;padding:0;cursor:pointer;width:100%}.photo-image img{width:100%;height:100%;object-fit:contain}.photo-info{padding:10px}.photo-name{font-size:14px;font-weight:600;color:#333;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-date{font-size:11px;color:#666;margin-bottom:0}.photo-hash{font-size:10px;color:#999;margin-top:4px;font-family:ui-monospace,monospace}.photo-size{font-size:12px;color:#999}.photo-actions{padding:10px;border-top:1px solid #eee;display:flex;flex-direction:column;gap:8px}.btn-link{display:block;text-align:center;padding:8px 12px;border-radius:6px;font-size:12px;font-weight:600;text-decoration:none;background:#eef2ff;color:#4338ca;border:none;cursor:pointer;transition:background .2s}.btn-link:hover{background:#e0e7ff}.btn-link--secondary{background:#f3f4f6;color:#374151}.btn-link--secondary:hover{background:#e5e7eb}.admin-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1100;padding:20px}.admin-preview-modal{position:relative;max-width:min(520px,92vw);max-height:90vh;background:#fff;border-radius:12px;overflow:auto;box-shadow:0 20px 60px #0006}.admin-preview-modal img{display:block;width:auto;max-width:100%;max-height:75vh;margin:0 auto;object-fit:contain;background:#111}.admin-preview-close{position:absolute;top:8px;right:8px;width:36px;height:36px;border:none;border-radius:50%;background:#0000008c;color:#fff;font-size:24px;line-height:1;cursor:pointer;z-index:1}.admin-preview-meta{padding:12px 16px;text-align:center;font-size:13px;color:#555}.admin-preview-meta a{display:inline-block;margin-top:8px;color:#4338ca;font-weight:600}.print-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.print-controls label{font-size:12px;color:#333;font-weight:500}.quantity-input{width:50px;padding:4px;border:1px solid #ddd;border-radius:6px;font-size:12px;text-align:center}.quantity-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.btn-print{flex:1;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:8px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s}.btn-print:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-delete{width:100%;background:#f44;color:#fff;border:none;padding:8px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s}.btn-delete:hover{background:#c00;transform:translateY(-2px);box-shadow:0 4px 12px #f446}@media (max-width: 1024px) and (min-width: 769px){.admin-page{padding:18px}.admin-header h1{font-size:28px}.photos-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:15px}}@media (max-width: 768px) and (min-width: 481px){.admin-page{padding:15px}.admin-header h1{font-size:24px}.admin-description{font-size:14px}.photos-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.photo-card{border-radius:6px}.print-controls{flex-direction:column;align-items:stretch;gap:6px}.quantity-input{width:100%}}@media (max-width: 480px){.admin-page{padding:12px}.admin-header h1{font-size:20px;margin-bottom:8px}.admin-description{font-size:13px;margin-bottom:15px}.btn-refresh{padding:8px 16px;font-size:12px}.photos-grid{grid-template-columns:1fr;gap:12px}.photo-card{border-radius:6px}.photo-info{padding:8px}.photo-name{font-size:13px}.photo-date{font-size:10px}.photo-actions{padding:8px;gap:6px}.print-controls{flex-direction:column;gap:5px}.print-controls label{font-size:11px}.quantity-input{width:100%;padding:3px;font-size:11px}.btn-print,.btn-delete{padding:6px 10px;font-size:11px}}@media (max-width: 375px){.admin-page{padding:10px}.admin-header h1{font-size:18px}.photos-grid{gap:10px}}@media (max-height: 600px) and (orientation: landscape){.admin-header h1{font-size:20px;margin-bottom:5px}.admin-description{font-size:12px;margin-bottom:10px}.photos-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}}.error-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.error-modal{background:#fff;border-radius:12px;max-width:500px;width:100%;box-shadow:0 10px 40px #0000004d;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.error-modal-header{padding:24px 24px 16px;text-align:center;border-bottom:1px solid #eee}.error-icon-wrapper{margin-bottom:12px}.error-icon{font-size:48px;display:inline-block}.error-modal-title{font-size:20px;font-weight:700;color:#333;margin:0}.error-modal-content{padding:20px 24px;text-align:center}.error-modal-details{font-size:15px;color:#666;margin:0 0 12px;line-height:1.6}.error-modal-instruction{font-size:14px;color:#888;margin:0;line-height:1.6;background:#f8f9fa;padding:12px;border-radius:8px;border-left:3px solid #ff9800}.error-modal-footer{padding:16px 24px 24px;display:flex;justify-content:center}.error-modal-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;min-width:120px}.error-modal-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.error-modal-button:active{transform:translateY(0)}@media (max-width: 480px){.error-modal{max-width:90%}.error-modal-header{padding:20px 20px 12px}.error-icon{font-size:40px}.error-modal-title{font-size:18px}.error-modal-content{padding:16px 20px}.error-modal-details{font-size:14px}.error-modal-instruction{font-size:13px;padding:10px}.error-modal-footer{padding:12px 20px 20px}.error-modal-button{padding:10px 24px;font-size:15px}}.admin-layout{min-height:100vh;background:#f4f5f7}.admin-layout-header{background:#1a1a2e;color:#fff;padding:20px 24px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}.admin-layout-header h1{margin:0 0 4px;font-size:22px}.admin-layout-header p{margin:0;font-size:14px;opacity:.75}.admin-layout-nav{display:flex;gap:8px}.admin-layout-nav a{padding:10px 18px;border-radius:999px;color:#fffc;text-decoration:none;font-weight:600;font-size:14px;transition:background .15s}.admin-layout-nav a:hover{background:#ffffff1a}.admin-layout-nav a.active{background:#6b46c1;color:#fff}.admin-layout-main{padding:0}.app-toast{position:fixed;top:24px;left:50%;z-index:12000;max-width:min(92vw,360px);padding:14px 18px;border-radius:12px;font-size:14px;font-weight:600;line-height:1.45;text-align:center;box-shadow:0 10px 30px #0000002e;transform:translate(-50%);animation:app-toast-in .22s ease-out}.app-toast--error{background:#fff5f5;color:#b42318;border:1px solid #fecdca}@keyframes app-toast-in{0%{opacity:0;transform:translate(-50%) translateY(-8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.admin-gate-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(135deg,#667eea,#764ba2)}.admin-gate-card{width:100%;max-width:360px;background:#fff;border-radius:20px;padding:32px 24px;text-align:center;box-shadow:0 10px 40px #0003}.admin-gate-card h1{margin:0 0 8px;font-size:24px;color:#333}.admin-gate-card p{margin:0 0 24px;color:#666;font-size:14px;line-height:1.5}.admin-gate-card form{display:flex;flex-direction:column;gap:12px}.admin-gate-card input{padding:14px 16px;border:2px solid #e0e0e0;border-radius:12px;font-size:18px;text-align:center;letter-spacing:4px}.admin-gate-card input:focus{outline:none;border-color:#667eea}.admin-gate-input--shake{animation:admin-gate-shake .42s ease;border-color:#f04438}@keyframes admin-gate-shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}.admin-gate-card .btn{width:100%}.result-view-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;display:flex;justify-content:center;align-items:center}.result-view-container{background:#fff;border-radius:20px;padding:30px;max-width:600px;width:100%;box-shadow:0 10px 40px #0000004d;text-align:center}.result-view-container h1{color:#333;margin-bottom:30px;font-size:28px}.result-view-image{margin-bottom:30px;border-radius:15px;overflow:hidden;box-shadow:0 4px 20px #0003}.result-view-image img{width:100%;height:auto;display:block}.result-view-controls{display:flex;justify-content:center;gap:15px}.loading-container,.error-container{background:#fff;border-radius:20px;padding:40px;text-align:center;max-width:400px}.loading-spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-container h2{color:#dc3545;margin-bottom:15px}.error-container p{color:#666}.btn{padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}@media (max-width: 600px){.result-view-container{padding:20px}.result-view-container h1{font-size:24px}}*{margin:0;padding:0;box-sizing:border-box}html{background:var(--app-bg-image, none) center center / cover no-repeat fixed;background-color:#0f0f14;height:100%;overflow-y:auto;scroll-behavior:smooth}body{font-family:var(--app-font, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif);background:var(--app-bg-image, none) center center / cover no-repeat fixed;background-color:#0f0f14;min-height:100vh;height:100%;overflow-x:hidden;overflow-y:auto;color:#333;position:relative;width:100%;overscroll-behavior:none;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}body:has(.main-container.kiosk-mode){overflow:hidden;max-height:100dvh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px;transition:background .3s}::-webkit-scrollbar-thumb:hover{background:#ffffff80}*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}#root{width:100%;min-height:100vh;min-height:100dvh}@media (max-width: 1024px) and (min-width: 769px){body{font-size:15px}}@media (max-width: 768px) and (min-width: 481px){body{font-size:14px}}@media (max-width: 480px){body,html{font-size:14px}}@media (max-width: 375px){body,html{font-size:13px}}@media (max-height: 600px) and (orientation: landscape){body{font-size:13px}}.config-loading,.config-error{display:flex;align-items:center;justify-content:center;min-height:100vh;min-height:100dvh;background-color:#0a0a12;color:#fff;font-size:1.1rem;padding:24px}.config-error-card{max-width:420px;width:100%;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:28px 24px;text-align:center}.config-error-title{margin:0 0 12px;font-size:1.25rem;font-weight:700}.config-error-message{margin:0 0 12px;font-size:.95rem;line-height:1.5;color:#fca5a5;word-break:break-word}.config-error-hint{margin:0 0 20px;font-size:.85rem;line-height:1.5;color:#ffffffa6}.config-error-retry{min-height:48px;padding:12px 24px;border:none;border-radius:12px;background:var(--app-primary, #0284c7);color:#fff;font-size:1rem;font-weight:700;cursor:pointer}.config-error-retry:active{transform:scale(.98)}@keyframes photobooth-orb-float{0%{transform:translate(0) scale(1)}to{transform:translate(-20px,24px) scale(1.08)}}.photobooth-bg-host{position:relative;background:#0f0f14;overflow:hidden}.photobooth-bg-gradient{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(124,58,237,.35) 0%,transparent 55%),radial-gradient(ellipse 60% 50% at 100% 100%,rgba(244,114,182,.2) 0%,transparent 50%),radial-gradient(ellipse 50% 40% at 0% 80%,rgba(99,102,241,.15) 0%,transparent 45%),linear-gradient(165deg,#0f0f14,#1a1528 45%,#12101c)}.photobooth-bg-image{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background-size:cover;background-position:center;background-color:#0f0f14}.photobooth-bg-orbs{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;overflow:hidden}.photobooth-bg-orbs:before,.photobooth-bg-orbs:after{content:"";position:absolute;border-radius:50%;filter:blur(80px);opacity:.4;animation:photobooth-orb-float 12s ease-in-out infinite alternate}.photobooth-bg-orbs:before{width:320px;height:320px;background:var(--app-primary, #7c3aed);top:-80px;right:-60px}.photobooth-bg-orbs:after{width:260px;height:260px;background:var(--app-accent, #f472b6);bottom:-60px;left:-40px;animation-delay:-6s}.photobooth-bg-orbs--hidden{display:none}.photobooth-bg-host>*:not(.photobooth-bg-gradient):not(.photobooth-bg-image):not(.photobooth-bg-orbs){position:relative;z-index:1}:root{--booth-touch-min: 48px;--booth-stage-max-w: 520px;--booth-stage-ratio: 3 / 4;--booth-radius: 20px;--booth-shadow: 0 12px 40px rgba(0, 0, 0, .28);--booth-accent: var(--app-primary, #6b46c1);--booth-surface: rgba(255, 255, 255, .96);--booth-text-on-dark: #ffffff}.booth-shell{flex:1;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.booth-shell--kiosk{background:transparent;min-height:0}.booth-shell--kiosk .booth-stage-outer{flex:1;display:flex;align-items:center;justify-content:center;padding:12px 16px 24px}.booth-stage{width:min(100%,var(--booth-stage-max-w));margin:0 auto}.booth-stage-inner{background:var(--booth-surface);border-radius:var(--booth-radius);box-shadow:var(--booth-shadow);overflow:hidden}.booth-shell:has(.photo-select-booth) .booth-stage-outer,.booth-shell:has(.result-booth) .booth-stage-outer{align-items:stretch;min-height:0;padding:4px 12px max(12px,env(safe-area-inset-bottom,0px))}.booth-shell:has(.photo-select-booth) .booth-stage,.booth-shell:has(.result-booth) .booth-stage{height:100%;max-height:100%;display:flex;flex-direction:column;min-height:0}.booth-shell:has(.photo-select-booth) .booth-stage-inner,.booth-shell:has(.result-booth) .booth-stage-inner{flex:1;min-height:0;max-height:calc(100dvh - 118px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:hidden;display:flex;flex-direction:column}.booth-shell:has(.photo-select-booth) .booth-title,.booth-shell:has(.result-booth) .booth-title{font-size:clamp(18px,3.5vw,22px);margin-bottom:2px}.booth-shell:has(.photo-select-booth) .booth-subtitle,.booth-shell:has(.result-booth) .booth-subtitle{font-size:12px;margin-bottom:6px}.booth-shell:has(.photo-select-booth) .booth-screen-header,.booth-shell:has(.result-booth) .booth-screen-header{padding:0 16px 4px}.booth-shell:has(.photo-select-booth) .booth-progress,.booth-shell:has(.result-booth) .booth-progress,.booth-shell:has(.camera-screen) .booth-progress{padding:6px 12px 2px}.booth-shell:has(.photo-select-booth--strip),.booth-shell:has(.result-booth--strip){--booth-stage-max-w: 300px}.booth-shell:has(.photo-select-booth--strip) .booth-stage,.booth-shell:has(.result-booth--strip) .booth-stage{width:min(100%,var(--booth-stage-max-w))}@media (orientation: landscape){.booth-shell:has(.photo-select-booth--strip){--booth-stage-max-w: min(920px, 96vw)}.booth-shell:has(.result-booth--strip){--booth-stage-max-w: min(720px, 94vw)}.booth-shell:has(.photo-select-booth) .booth-stage-inner,.booth-shell:has(.result-booth) .booth-stage-inner{max-height:calc(100dvh - 88px)}}@media (max-height: 740px){.booth-shell:has(.photo-select-booth) .booth-subtitle,.booth-shell:has(.result-booth) .booth-subtitle{display:none}}.booth-progress{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px 6px;flex-shrink:0}.booth-progress-step{display:flex;align-items:center;gap:6px;color:#ffffff8c;font-size:12px;font-weight:600}.booth-shell:not(.booth-shell--kiosk) .booth-progress-step{color:#ffffffbf}.booth-progress-step.active{color:var(--booth-text-on-dark)}.booth-progress-dot{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;background:#ffffff26;border:2px solid transparent}.booth-progress-step.active .booth-progress-dot{background:var(--booth-accent);border-color:#fff;color:#fff}.booth-progress-step.done .booth-progress-dot{background:#ffffff59;color:#fff}.booth-progress-line{width:24px;height:2px;background:#fff3;border-radius:1px}.booth-title{text-align:center;color:var(--booth-text-on-dark);font-size:clamp(20px,4vw,28px);font-weight:800;margin:0 0 6px;text-shadow:0 2px 12px rgba(0,0,0,.35)}.booth-subtitle{text-align:center;color:#ffffffd9;font-size:14px;margin:0 0 16px}.booth-cta-row{display:flex;flex-direction:column;gap:12px;width:100%;max-width:360px;margin:0 auto}.booth-btn{min-height:var(--booth-touch-min);padding:16px 24px;border:none;border-radius:999px;font-size:17px;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .15s;touch-action:manipulation}.booth-btn-primary{background:linear-gradient(135deg,var(--booth-accent),#8b5cf6);color:#fff;box-shadow:0 8px 24px #6b46c173}.booth-btn-secondary{background:#ffffff26;color:#fff;border:2px solid rgba(255,255,255,.35)}.booth-btn:active{transform:scale(.98)}@media (min-width: 768px) and (max-width: 1024px){:root{--booth-stage-max-w: 560px}}@media (min-width: 768px) and (max-width: 1366px) and (orientation: portrait){:root{--booth-stage-max-w: min(92vw, 640px)}.booth-shell--kiosk:has(.frame-select-booth){--booth-stage-max-w: min(96vw, 920px)}}@media (min-width: 1025px){:root{--booth-stage-max-w: 440px}.booth-shell--kiosk:has(.frame-select-booth){--booth-stage-max-w: min(90vw, 880px)}}.booth-bare-content{flex:1;display:flex;flex-direction:column;min-height:0}.booth-immersive-content{flex:1;display:flex;flex-direction:column;min-height:0;width:100%}.booth-shell--immersive{flex:1;min-height:0}.booth-shell--immersive .booth-screen-header{padding:0 20px 4px}.booth-shell--immersive .booth-title{margin-bottom:4px}.booth-shell--immersive .booth-subtitle{display:none}.booth-screen-header{padding:0 16px 8px;flex-shrink:0}@media (max-height: 700px) and (orientation: landscape){.booth-shell--kiosk .booth-stage-outer{padding:8px 12px 12px}.booth-progress{padding:8px 12px 4px}}@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape){:root{--booth-stage-max-w: 560px}.booth-shell--kiosk:has(.frame-select-booth){--booth-stage-max-w: min(94vw, 960px)}.booth-shell--kiosk .booth-stage-outer{padding:8px 20px 16px;align-items:flex-start}.booth-screen-header{padding:0 20px 4px}.booth-title{font-size:22px;margin-bottom:2px}.booth-subtitle{font-size:13px;margin-bottom:8px}.booth-progress{padding:8px 16px 4px}.booth-progress-dot{width:24px;height:24px;font-size:11px}.booth-stage-inner:not(:has(.photo-select-booth)):not(:has(.result-booth)){max-height:calc(100dvh - 120px);overflow-y:auto}}@media (min-width: 900px) and (max-height: 820px) and (orientation: landscape){:root{--booth-stage-max-w: 720px}.booth-stage-inner:has(.result-booth--kiosk),.booth-stage-inner:has(.frame-select-booth){padding:0}.booth-stage-inner:has(.frame-select-booth){width:100%}}@media (min-width: 768px) and (orientation: landscape) and (max-height: 600px){.booth-progress-label{display:none}.booth-progress-line{width:16px}}.btn{padding:15px 30px;border:none;border-radius:50px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 15px #0003}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-secondary{background:#fffffff2;color:#667eea}.btn-secondary:hover:not(:disabled){background:#fff;transform:translateY(-2px);box-shadow:0 6px 20px #0003}.popup{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000}.popup-content{background:#fff;padding:40px;border-radius:20px;text-align:center;max-width:90%;box-shadow:0 10px 40px #0000004d}.popup-content p{font-size:18px;margin-bottom:20px;color:#333}.image-view-content{max-width:95%;max-height:95vh;padding:20px;position:relative;display:flex;flex-direction:column;align-items:center}.close-image-btn{position:absolute;top:10px;right:10px;background:#000000b3;color:#fff;border:none;border-radius:50%;width:40px;height:40px;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10;transition:background .3s}.close-image-btn:hover{background:#000000e6}.image-view-content img{max-width:100%;max-height:80vh;object-fit:contain;border-radius:10px;margin-bottom:20px;box-shadow:0 4px 20px #0000004d}.image-view-controls{display:flex;gap:15px;justify-content:center}.photo-edit-content{max-width:90%;max-height:90vh;padding:20px;display:flex;flex-direction:column;align-items:center}.photo-edit-header{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.photo-edit-header h3{margin:0;color:#333;font-size:20px}.photo-edit-canvas-container{width:100%;max-width:500px;margin-bottom:20px;background:#f5f5f5;border-radius:10px;padding:10px;display:flex;justify-content:center;align-items:center}#photoEditCanvas{max-width:100%;max-height:400px;border-radius:8px;cursor:move;touch-action:none}.photo-edit-controls{width:100%;max-width:500px}.control-group{display:flex;align-items:center;gap:15px;margin-bottom:20px}.control-group label{font-weight:600;color:#333;min-width:80px}.control-group input[type=range]{flex:1;height:6px;border-radius:3px;background:#ddd;outline:none}.control-group input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#667eea;cursor:pointer}.control-group input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#667eea;cursor:pointer;border:none}#scaleValue{min-width:50px;text-align:right;font-weight:600;color:#667eea}.control-buttons{display:flex;gap:15px;justify-content:center}.photo-edit-hint{margin-top:15px;font-size:14px;color:#666;text-align:center}.gallery::-webkit-scrollbar{width:8px}.gallery::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.gallery::-webkit-scrollbar-thumb{background:#667eea;border-radius:10px}.gallery::-webkit-scrollbar-thumb:hover{background:#764ba2}@media (max-width: 1024px) and (min-width: 769px){.btn{padding:12px 24px;font-size:14px;min-width:150px}.popup-content{padding:25px;max-width:85%}}@media (max-width: 1024px) and (min-width: 769px) and (max-height: 1366px){.btn{padding:10px 20px;font-size:13px;min-width:140px}}@media (max-width: 768px) and (min-width: 481px){.btn{padding:13px 26px;font-size:14px}.popup-content{padding:25px;max-width:90%}.popup-content p{font-size:16px}}@media (max-width: 480px){.btn{padding:12px 24px;font-size:14px}.popup-content{padding:20px;max-width:95%}.popup-content p{font-size:15px;margin-bottom:15px}.image-view-content{padding:15px}.image-view-content img{max-height:70vh}.close-image-btn{width:35px;height:35px;font-size:20px}.photo-edit-content{padding:15px}.photo-edit-header h3{font-size:18px}.control-group{gap:10px;margin-bottom:15px}.control-group label{font-size:14px;min-width:70px}}@media (max-width: 375px){.btn{padding:10px 20px;font-size:13px}.popup-content{padding:15px}.popup-content p{font-size:14px}}@media (max-height: 600px) and (orientation: landscape){.btn{padding:10px 20px;font-size:13px}.popup-content{padding:20px;max-width:80%}}
