.app{position:fixed;top:0;left:0;width:100vw;height:100vh;margin:0;padding:0;overflow:hidden;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.screen{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;overflow:hidden;box-sizing:border-box;background:transparent}button{font-family:inherit;cursor:pointer;border:none;outline:none;transition:all .2s ease;font-weight:600;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}button:active:not(:disabled){transform:scale(.98)}.btn-primary{background:#fffffff2;color:#667eea;border-radius:12px;box-shadow:0 4px 12px #00000026;font-weight:700}.btn-primary:hover:not(:disabled){background:#fff;box-shadow:0 6px 16px #0003;transform:translateY(-2px)}.btn-primary:active:not(:disabled){transform:translateY(0) scale(.98);box-shadow:0 2px 8px #00000026}.btn-secondary{background:#ffffff26;color:#fff;border:2px solid rgba(255,255,255,.4);border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.btn-secondary:hover:not(:disabled){background:#ffffff40;border-color:#fff9;transform:translateY(-2px)}.btn-secondary:active:not(:disabled){transform:translateY(0) scale(.98)}.btn-large{font-size:1.25rem;padding:1rem 2.5rem;min-height:56px}.btn-medium{font-size:1rem;padding:.75rem 1.5rem;min-height:44px}.btn-small{font-size:.875rem;padding:.5rem 1rem;min-height:36px}.loading{font-size:2rem;display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff}.error{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:2rem;color:#fff}.error h1{font-size:3rem;margin-bottom:1rem;font-weight:700}.error p{font-size:1.5rem;margin-bottom:2rem;opacity:.9}.error button{padding:1rem 2rem;font-size:1.1rem}.start-screen{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:2rem;box-sizing:border-box;overflow:hidden}.start-screen h1{font-size:clamp(2.5rem,8vw,4rem);margin:0;margin-bottom:1.5rem;font-weight:700;text-shadow:2px 2px 8px rgba(0,0,0,.4);color:#fff;line-height:1.2}.start-screen h1.start-screen-title{margin:0;margin-bottom:1.5rem;font-weight:700;text-shadow:2px 2px 8px rgba(0,0,0,.4);line-height:1.2}.start-screen p{font-size:clamp(1.2rem,4vw,1.5rem);margin:0;margin-bottom:3rem;color:#fff;text-shadow:1px 1px 4px rgba(0,0,0,.5);opacity:.95}.start-screen p.start-screen-subtitle{margin:0;margin-bottom:3rem;text-shadow:1px 1px 4px rgba(0,0,0,.5);opacity:.95}.start-screen .btn-primary{min-width:200px;max-width:90%}.customize-screen{display:flex;flex-direction:column;width:100%;height:100%;margin:0;padding:0;overflow:hidden;box-sizing:border-box}.camera-preview{position:relative;width:calc(100% - 2vw);height:64vh;min-height:64vh;max-height:64vh;margin:.5vh 1vw;padding:0;overflow:hidden;box-sizing:border-box;box-shadow:0 1vh 4vh #0000004d;background:transparent;flex-shrink:0;border-radius:1.2vh}.camera-preview video{width:100%;height:100%;object-fit:contain;transform:scaleX(-1);background-color:#0000004d}.customize-panel{width:100%;height:18vh;min-height:18vh;max-height:18vh;margin:0;padding:.5vh;overflow:hidden;box-sizing:border-box;background:#0000004d;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);display:flex;flex-direction:column;justify-content:flex-start;flex-shrink:0}.customize-panel h2{font-size:1.5vh;margin:.2vh 0;font-weight:700;color:#fff;text-shadow:.1vh .1vh .2vh rgba(0,0,0,.3);flex-shrink:0;line-height:1.2}.customize-panel h2:first-child{margin-top:0}.customize-panel>*{flex-shrink:0}.customize-panel p{font-size:1.3vh;margin:.2vh 0;flex-shrink:0}.assets-grid{display:flex;gap:.5vh;margin-bottom:.5vh;overflow:hidden;flex-wrap:wrap;justify-content:center;padding-bottom:.2vh;flex-shrink:0}.assets-grid>*{flex:0 0 auto;width:4vw;min-width:4vw;height:4vw}.asset-item{aspect-ratio:1;border:.2vh solid transparent;border-radius:.8vh;overflow:hidden;cursor:pointer;transition:all .2s ease;background:#ffffff1a;position:relative}.asset-item:hover{transform:scale(1.08);border-color:#fff9;box-shadow:0 4px 12px #0000004d}.asset-item:active{transform:scale(1.05)}.asset-item.selected{border-color:#fff;box-shadow:0 0 0 .2vh #fffc,0 .4vh 1.6vh #fff6;background:#fff3}.asset-item img,.asset-item video{width:100%;height:100%;object-fit:cover;pointer-events:none}.no-background{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#ffffff26;font-size:1.4vh;text-align:center;color:#fff;font-weight:600}.photo-count-selector{margin:.2rem 0;flex-shrink:0}.photo-count-selector label{display:block;font-size:.7rem;margin-bottom:.2rem;font-weight:700;color:#fff;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.photo-count-selector div{display:flex;gap:.3rem;flex-wrap:wrap;justify-content:center}.photo-count-selector button{min-width:28px;height:28px;font-size:.9rem;font-weight:700;border-radius:6px;padding:0;display:flex;align-items:center;justify-content:center}.customize-button-container{width:100%;height:5%;min-height:5%;max-height:5%;margin:0;padding:.4rem;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0003;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.customize-button-container button{height:100%;font-size:1rem;font-weight:700;border-radius:10px;margin:0;padding:0;min-height:40px}.countdown-screen{background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;position:relative;overflow:hidden}.countdown-camera-preview{position:relative;width:100%;height:100%;overflow:hidden;background:transparent}.countdown-background,.countdown-animated-background,.countdown-video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.countdown-background{z-index:0}.countdown-animated-background{z-index:1}.countdown-video{z-index:2;transform:scaleX(-1);background-color:#0000004d;object-fit:contain}.countdown-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to bottom,#0000004d,#0000001a,#0000004d);display:flex;align-items:center;justify-content:center;z-index:10;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.countdown-number{font-size:clamp(8rem,25vw,15rem);font-weight:900;color:#fff;text-shadow:0 0 20px rgba(255,255,255,.8),0 0 40px rgba(255,255,255,.6),0 0 60px rgba(255,255,255,.4),0 4px 20px rgba(0,0,0,.5);animation:countdownPulse .8s cubic-bezier(.4,0,.2,1);line-height:1;font-family:Arial Black,Arial Bold,sans-serif;letter-spacing:-.05em;-webkit-user-select:none;user-select:none}@keyframes countdownPulse{0%{transform:scale(.5);opacity:0}50%{transform:scale(1.1);opacity:1}to{transform:scale(1);opacity:1}}.preview-screen{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:1rem;overflow:hidden;box-sizing:border-box}.preview-screen h2{font-size:clamp(1.2rem,4vw,1.5rem);margin:0;margin-bottom:1rem;font-weight:700;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.3);flex-shrink:0}.photos-grid{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:100%;margin-bottom:.75rem;justify-content:flex-start;align-items:center;flex:1;min-height:0;overflow:hidden;padding:.5rem}.photos-grid img{max-width:90%;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 8px 24px #0000004d;transition:transform .2s ease;background-color:#fff;padding:4px}.photos-grid img:hover{transform:scale(1.02)}.actions{display:flex;gap:.75rem;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:.75rem;width:100%;max-width:100%;padding:0 .5rem;flex-shrink:0}.actions button{min-width:140px;flex:0 1 auto;font-size:1rem;padding:.75rem 1.5rem}.qr-container{margin:.75rem 0;padding:1rem;background:#fffffff2;border-radius:12px;box-shadow:0 8px 24px #0003;text-align:center;max-width:300px;width:100%;flex-shrink:0}.qr-container p{margin-bottom:.75rem;font-size:.9rem;color:#333;font-weight:600}.qr-container .qr-code{display:flex;justify-content:center;margin-bottom:.5rem}.qr-container .qr-code svg{width:140px!important;height:140px!important}.qr-container .qr-expiry{font-size:.75rem;color:#666;margin-top:.5rem}.loading-indicator{margin:.75rem 0;padding:1rem;background:#fffffff2;border-radius:12px;box-shadow:0 8px 24px #0003;text-align:center;color:#333;font-weight:600;font-size:.9rem;flex-shrink:0}.print-screen,.qr-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:2rem;text-align:center;color:#fff;background:transparent!important;background-color:transparent!important}.print-screen h2,.qr-screen h2{font-size:clamp(1.5rem,5vw,2rem);margin-bottom:2rem;font-weight:700;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.qr-screen .qr-code{margin:2rem 0;padding:1.5rem;background:#fff;border-radius:16px;box-shadow:0 8px 24px #0000004d;display:inline-block}.qr-screen p{font-size:1rem;color:#ffffffe6;margin-top:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.inactivity-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.inactivity-message{text-align:center;color:#fff;padding:2rem;background:#ffffff1a;border-radius:20px;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:2px solid rgba(255,255,255,.2);box-shadow:0 8px 32px #0000004d}.inactivity-message p{font-size:clamp(1rem,3vw,1.5rem);margin:0;margin-bottom:1.5rem;font-weight:600;text-shadow:2px 2px 4px rgba(0,0,0,.5)}.inactivity-countdown{font-size:clamp(4rem,15vw,8rem);font-weight:700;color:#ff6b6b;text-shadow:0 0 30px rgba(255,107,107,.8),0 0 60px rgba(255,107,107,.4);animation:pulseCountdown 1s infinite;line-height:1}@keyframes pulseCountdown{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.9}}@media (max-width: 768px){.start-screen h1{font-size:2.5rem}.start-screen p{font-size:1.2rem}.countdown-number{font-size:clamp(6rem,20vw,12rem)}.photos-grid{grid-template-columns:1fr;gap:1.5rem}.actions{flex-direction:column}.actions button{width:100%;max-width:300px}.assets-grid{grid-template-columns:repeat(auto-fill,minmax(45px,1fr));gap:.3rem}}@media (max-width: 480px){.preview-screen,.print-screen,.qr-screen{padding:1rem}.customize-panel{padding:.4rem}.assets-grid{grid-template-columns:repeat(auto-fill,minmax(40px,1fr))}}.countdown-overlay{flex-direction:column;overflow:hidden}.countdown-overlay--shop{background:radial-gradient(circle at center,#ff69b426,#50003c59)}.countdown-overlay--shop .countdown-number{color:#fff;text-shadow:0 0 25px rgba(255,64,160,.9),0 0 50px rgba(255,200,0,.6),0 6px 24px rgba(0,0,0,.45)}.countdown-hint{margin-top:1rem;font-size:clamp(1.6rem,4vw,3rem);font-weight:800;color:#fff;text-shadow:0 3px 12px rgba(0,0,0,.5);animation:countdownHint .9s ease-out;-webkit-user-select:none;user-select:none;z-index:2}@keyframes countdownHint{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.candy-rain{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1}.candy-drop{position:absolute;top:-10%;animation-name:candyFall;animation-timing-function:linear;animation-iteration-count:infinite;filter:drop-shadow(0 4px 6px rgba(0,0,0,.25))}@keyframes candyFall{0%{transform:translateY(-10vh) rotate(0);opacity:0}10%{opacity:1}to{transform:translateY(115vh) rotate(540deg);opacity:.9}}.capture-flash{animation:captureFlash .6s ease-out forwards}@keyframes captureFlash{0%{opacity:1}to{opacity:.85}}.consent-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14001e8c;display:flex;align-items:center;justify-content:center;z-index:10001;padding:16px;animation:fadeIn .3s ease-out}.consent-modal{background:#fff;border-radius:24px;max-width:640px;width:100%;padding:28px 28px 24px;box-shadow:0 20px 60px #00000059;text-align:center;color:#222;animation:consentPop .35s cubic-bezier(.2,.9,.3,1.3)}@keyframes consentPop{0%{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}.consent-modal__emoji{font-size:3rem;line-height:1;margin-bottom:8px}.consent-modal h3{margin:0 0 8px;font-size:1.8rem;color:#c2185b}.consent-modal__lead{margin:0 0 16px;font-size:1.1rem}.consent-modal__check{display:flex;gap:12px;align-items:flex-start;text-align:left;background:#fff4f9;border:2px solid #f8bbd9;border-radius:14px;padding:14px;font-size:.95rem;line-height:1.4;cursor:pointer}.consent-modal__check input{width:28px;height:28px;flex-shrink:0;accent-color:#e91e63;margin-top:2px}.consent-modal__actions{display:flex;gap:12px;justify-content:center;margin-top:20px;flex-wrap:wrap}.consent-btn{min-width:180px;min-height:56px;border-radius:999px;font-size:1.2rem;font-weight:800;border:none;cursor:pointer;padding:0 24px}.consent-btn--primary{background:linear-gradient(135deg,#ff4081,#ff9100);color:#fff}.consent-btn--primary:disabled{opacity:.45;cursor:not-allowed}.consent-btn--secondary{background:#eee;color:#444}.consent-thanks{background:#e8f5e9;color:#1b5e20;border-radius:14px;padding:12px 18px;margin:8px auto 12px;font-weight:700;max-width:640px}.consent-thanks--error{background:#fff3e0;color:#8a4b00}@media (prefers-reduced-motion: reduce){.candy-drop,.countdown-number,.countdown-hint,.consent-modal{animation:none!important}.candy-rain{display:none}}.capture-working{display:flex;flex-direction:column;align-items:center;gap:3vh;color:#333;animation:captureWorkingIn .4s ease-out .5s both}.capture-spinner{width:10vh;height:10vh;border-radius:50%;border:1.2vh solid rgba(0,0,0,.12);border-top-color:#e91e63;animation:captureSpin .9s linear infinite}.capture-working-text{font-size:4.5vh;font-weight:700}@keyframes captureWorkingIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes captureSpin{to{transform:rotate(360deg)}}.dslr-liveview-container img{pointer-events:none;-webkit-user-select:none;user-select:none}.capture-failed{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#14001e8c;z-index:9000;padding:16px}.capture-failed-card{background:#fff;color:#222;border-radius:24px;max-width:640px;width:100%;padding:32px 28px 28px;text-align:center;box-shadow:0 20px 60px #00000059;animation:consentPop .35s cubic-bezier(.2,.9,.3,1.3)}.capture-failed-icon{font-size:3.5rem;line-height:1}.capture-failed-card h1{font-size:2rem;margin:12px 0 8px}.capture-failed-card p{font-size:1.25rem;line-height:1.45;color:#444;margin:0 0 24px}.capture-failed-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.capture-failed-retry{background:#e91e63;color:#fff}.capture-failed-retry:hover:not(:disabled){background:#d81b60}.capture-failed-cancel{background:transparent;color:#555;border:2px solid #ccc;border-radius:12px}@media (orientation: portrait) and (min-width: 900px){.start-screen>div{zoom:1.7}.preview-screen h2,.preview-screen .actions,.qr-row,.qr-screen>div:last-child,.consent-modal,.consent-thanks,.capture-failed{zoom:1.5}.countdown-number,.customize-panel{zoom:1.4}.select-player-screen .btn-medium,.select-player-screen .btn-large{zoom:1.5}}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden;width:100vw;height:100vh;position:fixed;top:0;left:0;right:0;bottom:0}html{overflow:hidden;width:100vw;height:100vh;position:fixed;top:0;left:0;right:0;bottom:0}#root{width:100%;height:100%;overflow:hidden}button{font-family:inherit;cursor:pointer;border:none;outline:none}button:disabled{opacity:.6;cursor:not-allowed}
