:root{font-family:ui-rounded,'Avenir Next',system-ui,sans-serif;color:#292047;background:#fbf9fc;--ink:#292047;--lime:#dbfa6b;--pink:#ffafd4;--lav:#e5dcff;--soft:#f2ebff;--line:#e8dfef;--muted:#655978}*{box-sizing:border-box}body{margin:0;min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 90% 12%,#fff0f9,transparent 42%),radial-gradient(ellipse at 12% 32%,#f2f8d8,transparent 45%),#fbf9fc}header{min-height:72px;padding: max(10px,env(safe-area-inset-top)) clamp(14px,4vw,60px) 10px;display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fffcff}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:9px;font-weight:650;line-height:1.05}.brand b{display:block;font-weight:900;font-size:1.2em}.nav,.actions,.chips{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.nav{justify-content:flex-end}main{width:min(1100px,100%);margin:auto;padding:28px clamp(16px,4.5vw,54px);outline:none}footer{text-align:center;font-weight:850;font-size:.75rem;letter-spacing:.1em;padding:15px 12px max(16px,env(safe-area-inset-bottom));color:var(--muted)}footer span{margin:0 .35em}h1,h2,p{margin:0}h1{font-weight:950;line-height:.92;letter-spacing:-.07em;font-size:clamp(3rem,9vw,7.3rem)}h2{font-size:clamp(1.9rem,5vw,3.6rem);line-height:.97;letter-spacing:-.055em;font-weight:950}p{line-height:1.52}.eyebrow{font-weight:900;text-transform:uppercase;letter-spacing:.13em;font-size:.8rem;margin-bottom:13px;color:#61428d}.lead{font-size:clamp(1.02rem,2vw,1.3rem);max-width:38rem;margin:16px 0}.hero{display:grid;grid-template-columns:1.35fr .65fr;gap:25px;align-items:center}.hero em{font-style:normal;color:#7845b5}.hero .actions{margin:20px 0 13px}.art{min-height:330px;display:grid;place-items:center;overflow:hidden;border-radius:34px;background:#e5d3ff;position:relative;padding:18px}.art:before,.art:after{content:'✦';position:absolute;font-size:4.2rem;line-height:1;color:#fff;z-index:1}.art:before{left:8%;top:12%;transform:rotate(-12deg)}.art:after{right:7%;bottom:10%;color:#fff46e;transform:rotate(12deg)}.strip{width:min(160px,65%);background:#fff8ea;border-radius:5px;box-shadow:0 10px 30px #42296940;padding:9px;text-align:center;font-weight:950;font-size:.8rem;transform:rotate(12deg);animation:float 5s ease-in-out infinite}.strip i{display:grid;height:66px;place-items:center;border-radius:3px;background:#f9aad2;margin-bottom:7px;font-size:2.1rem;font-style:normal}.strip i:nth-child(2){background:var(--lime)}.strip i:nth-child(3){background:#b2a4fa}@keyframes float{50%{transform:translateY(-6px) rotate(8deg)}}button,input,select{font:inherit;color:inherit}button,.button{cursor:pointer;min-height:46px;background:var(--lime);color:var(--ink);border:2px solid var(--ink);border-radius:18px;padding:10px 16px;font-weight:880;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.4em;transition:transform .15s ease,box-shadow .15s ease}button:not(:disabled):active,.button:active{transform:translateY(2px)}button:focus-visible,.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #783edd;outline-offset:3px}button:disabled{opacity:.55;cursor:default}.primary{font-size:1.12rem;padding:14px 20px;box-shadow:0 4px 0 var(--ink)}.quiet{background:#fff;border-color:#d9cbe8}.pink{background:var(--pink)}.big{font-size:clamp(1.2rem,4vw,2rem);padding:16px 28px}.note{color:var(--muted);font-size:.93rem}.box{background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(16px,3vw,27px)}.steps{list-style:none;padding:0;display:flex;gap:8px 18px;flex-wrap:wrap;margin:20px 0;color:var(--ink);font-weight:750}.steps li span{display:inline-grid;place-items:center;width:26px;height:26px;margin-right:5px;border-radius:50%;background:var(--lav);font-weight:900}.camera{position:relative;overflow:hidden;border-radius:24px;background:#1f1832;aspect-ratio:4/3;max-height:57svh;margin:14px auto}.camera video{display:block;width:100%;height:100%;object-fit:contain}.camera.mirror video{transform:scaleX(-1)}.camera output{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:clamp(4rem,23vw,11rem);font-weight:950;text-shadow:0 4px 40px #000;pointer-events:none}.camera output:empty{display:none}.center{text-align:center}.center .actions{justify-content:center;margin-top:18px}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.photo-grid figure{margin:0;background:#fff;border:1px solid var(--line);padding:7px;border-radius:15px;min-width:0}.photo-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px;display:block}.photo-grid button{width:100%;padding:5px 4px;margin-top:7px;font-size:clamp(.83rem,2vw,1rem)}.qr{display:block;width:min(260px,75vw);margin:15px auto;border:1px solid var(--line);border-radius:20px;background:#fff;padding:10px;aspect-ratio:1}.session-clock{min-height:1.5em;font-weight:800;color:#684992}.editor{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:start}.editor .preview{display:grid;place-items:center;background:var(--lav);min-height:300px;border-radius:28px;padding:12px}.editor canvas{display:block;width:auto;max-width:100%;max-height:56svh;border-radius:8px;touch-action:none;box-shadow:0 10px 28px #36244622}.controls{display:grid;gap:15px}.controls .actions{margin-top:4px}.chips button{border-color:#d9cbe8;background:#fff;min-height:43px;padding:7px 12px}.chips button[aria-pressed=true]{background:var(--lime);border-color:var(--ink)}.row{display:grid;gap:6px;font-weight:750}input:not([type=checkbox]),select{width:100%;padding:10px;border:1px solid #cdbdde;border-radius:11px;background:#fff}input[type=range]{padding:0;min-height:36px;accent-color:#7344aa}.form{display:grid;gap:14px}.form .actions{margin-top:4px}.checks{display:flex;align-items:center;gap:8px;font-weight:700}.checks input{width:22px;height:22px;accent-color:#7344aa}.field2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gap{margin:12px 0}.err{color:#922343;font-weight:800;margin-top:12px}.ok{color:#35611c;font-weight:800;margin-top:12px}dialog{width:min(550px,calc(100% - 28px));max-height:93svh;border:0;border-radius:25px;padding:0;color:var(--ink);background:#fff9ff;box-shadow:0 15px 70px #21113155}dialog::backdrop{background:#21113199}dialog[open]{animation:slide .24s ease-out}.dialog-inner{padding:25px;position:relative}.dialog-inner h2{padding-right:45px;font-size:2rem}.close{position:absolute;right:11px;top:11px;border:0;background:var(--lav);min-width:44px;min-height:44px;padding:0;font-size:27px}.swatch{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.swatch span{text-align:center;padding:12px 4px;border-radius:12px;background:var(--lav);font-size:.85rem;font-weight:800}.swatch span:nth-child(2){background:#eee7f1}.swatch span:nth-child(3){background:var(--lime)}@keyframes slide{from{transform:translateY(16px);opacity:0}}body.guest #bar .nav,body.guest footer{display:none}body.guest .brand{pointer-events:none}.review .lead,.handoff .lead{margin:12px auto}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}@media(max-width:710px){.hero,.editor{grid-template-columns:1fr}.art{min-height:200px}.strip{width:105px}.strip i{height:40px;font-size:1.4rem}.editor canvas{max-height:43svh}.editor .preview{min-height:0}.editor{gap:16px}}@media(max-width:420px){.nav{gap:4px}.nav button{font-size:.77rem;padding:6px 7px}.brand{font-size:.88rem}.brand img{width:30px;height:30px}.field2{grid-template-columns:1fr}.photo-grid{gap:4px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.presswood-credit{display:flex;align-items:center;gap:10px;margin-top:5px;border-top:1px solid var(--line);padding:15px 0 0;color:var(--muted)}.presswood-credit img{border-radius:8px}.presswood-credit a{color:#4a306d;font-weight:800;text-decoration-thickness:1px;text-underline-offset:3px}.presswood-credit small{display:block;font-size:.84rem;margin-top:3px}

.demo-camera img{display:block;width:100%;height:100%;object-fit:contain}.pose-cue{position:absolute;z-index:2;left:4%;right:4%;top:5%;margin:auto;max-width:690px;display:grid;gap:4px;padding:clamp(10px,2.1vw,21px) 12px;background:#e3fb80;color:#291a45;border-radius:16px;border:2px solid #291a45;box-shadow:0 5px 0 #291a4566;pointer-events:none}.pose-cue small{font-size:clamp(.67rem,1.6vw,.92rem);font-weight:900;letter-spacing:.12em}.pose-cue strong{font-size:clamp(1.3rem,5vw,3.4rem);line-height:1.02;text-transform:uppercase;letter-spacing:-.035em;font-weight:950;text-wrap:balance}.pose-cue.reveal{animation:slide .2s ease-out}.camera output:not(:empty){top:18%}@media(max-width:400px){.pose-cue{top:4%;padding:8px}.pose-cue strong{font-size:clamp(1.12rem,5vw,1.4rem)}}

.brand .brand-logo{width:clamp(95px,15vw,175px);height:auto;object-fit:contain}.brand span{padding-left:.66rem;border-left:1px solid #d9cbe8}.brand b{font-size:clamp(.86rem,2.6vw,1.18rem);white-space:nowrap}.setup-merlin{display:flex;gap:.8rem;align-items:center;margin:1rem 0;color:#59476b}.setup-merlin img{flex:none;object-fit:contain}.setup-merlin p{font-size:.98rem}@media(max-width:440px){header{flex-wrap:wrap}.nav{margin-left:auto}.brand span{padding-left:.35rem}.brand .brand-logo{width:90px}}@media(max-width:348px){header{justify-content:center}.nav{margin-left:0}}

.brand .snap-lockup{display:block;width:clamp(144px,24vw,246px);height:auto;object-fit:contain}.brand{flex:none}.guest header .brand .snap-lockup{width:clamp(135px,22vw,210px)}@media(max-width:560px){header{flex-wrap:wrap;padding-bottom:11px}.nav{gap:6px}.nav .quiet{padding-inline:12px;font-size:.88rem;min-height:43px}}@media(max-width:390px){header .brand{margin-inline:auto}header .nav{margin-inline:auto;justify-content:center}.guest header .brand{margin-inline:0}}

.public-demo #bar .nav,.public-demo footer{display:none}.public-demo #bar .brand{margin-inline:auto}.handoff h2 em{font-style:normal;color:#9b205e}.handoff .lead{margin-inline:auto}.qr-ticket{width:min(245px,100%);margin:18px auto 8px;border:2px solid #28143f;border-radius:22px;background:#fff8fd;box-shadow:0 5px #28143f;padding:11px;display:grid;gap:5px}.qr-ticket-title{display:flex;justify-content:center;align-items:center;gap:7px}.qr-ticket .qr{display:block;width:min(206px,100%);height:auto;aspect-ratio:1;margin:0 auto;padding:0;border:0;border-radius:0;box-shadow:none;image-rendering:pixelated}.qr-ticket-site{overflow-wrap:anywhere;font-size:.74rem;color:#5e426d}.session-clock{font-variant-numeric:tabular-nums}.public-demo .camera{background:#37204e}.public-demo .camera img{object-fit:contain}

.backdrop-picker{border:1px solid #e2d2f0;border-radius:15px;padding:10px 12px;background:#fff}.backdrop-picker summary{cursor:pointer;font-weight:900}.backdrop-picker summary span{font-size:.84rem;color:#704b8a;margin-left:.35em}.backdrop-picker .note{margin-block:6px}.backdrop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-block:3px}.backdrop-grid button{display:grid;align-content:start;gap:4px;border:1px solid #dfd4ed;border-radius:8px;padding:4px;min-width:0;min-height:62px;background:#fff;font-size:.73rem;line-height:1.15;overflow-wrap:anywhere}.backdrop-grid button[aria-pressed=true]{background:#eff8c8;border-color:#28143f;outline:1px solid #28143f}.backdrop-grid i{display:block;aspect-ratio:1.75;width:100%;border-radius:5px;background-repeat:no-repeat}.original-thumb{background:#e2b6df}.backdrop-thumb{background-image:url('/sample-backdrops.webp');background-size:400% 400%}.scene-grad-black{background:#211629!important}.scene-grad-gold{background:linear-gradient(125deg,#60350e,#e7bf6f)!important}.scene-confetti{background:radial-gradient(circle,#fff 10%,transparent 11%) 0 0/9px 9px,#ef82c9!important}.scene-lilac{background:linear-gradient(130deg,#c9b5ef,#775ac2)!important}
.scene-gold-curtain{background-position:0 0}.scene-silver-curtain{background-position:33.3333% 0}.scene-beach{background-position:66.6666% 0}.scene-mars{background-position:100% 0}.scene-galaxy{background-position:0 33.3333%}.scene-red-carpet{background-position:33.3333% 33.3333%}.scene-roller{background-position:66.6666% 33.3333%}.scene-karaoke{background-position:100% 33.3333%}.scene-snow{background-position:0 66.6666%}.scene-sunset{background-position:33.3333% 66.6666%}.scene-jungle{background-position:66.6666% 66.6666%}.scene-reef{background-position:100% 66.6666%}.scene-castle{background-position:0 100%}.scene-candy{background-position:33.3333% 100%}.scene-city{background-position:66.6666% 100%}.scene-disco{background-position:100% 100%}

#fit-cue{margin:0;padding:.75rem 1rem;background:#dbfa66;color:#251637;font-weight:800;text-align:center;border-radius:0 0 1rem 1rem}.preview[data-fitting] canvas{cursor:crosshair}

.fit-instructions{display:flex;align-items:center;gap:.35rem;width:100%;padding-bottom:.5rem}.fit-instructions[hidden]{display:none}.fit-instructions #fit-cue{flex:1;border-radius:12px}.fit-instructions button{min-height:44px}.preview{scroll-margin-top:90px}

:root{color-scheme:only light;background:#fff8ff;--ink:#26103d;--lime:#ddff53;--muted:#542e66;color:var(--ink)}
body{color-scheme:only light;background-color:#fff8ff;background-image:radial-gradient(ellipse at 93% 12%,#ffd3ee,transparent 46%),radial-gradient(ellipse at 5% 31%,#f2ffa9,transparent 44%),linear-gradient(140deg,#fffaff,#ffeffb)}
header{background:#fffaff;color:var(--ink)}
.editor .preview{background:#edd3ff}
.editor .chips button[aria-pressed=true]{background:var(--lime);color:var(--ink)}
@media(prefers-color-scheme:dark){:root,body{color-scheme:only light;background-color:#fff8ff}header{background-color:#fffaff;color:var(--ink)}}

.backdrop-grid button[hidden],.ai-progress[hidden]{display:none}
.backdrop-tabs{margin-top:.6rem}.backdrop-tabs button{min-height:44px}
.ai-studio{padding:14px;border-radius:17px;background:#f4e0ff;border:1px solid #e1b5f6}.ai-studio h3{margin:0 0 10px;font-size:1.32rem;color:#26103d}.ai-studio .eyebrow{margin:0 0 5px}
.ai-progress{display:flex;align-items:center;gap:10px;margin-top:10px;color:#542e66;font-size:.86rem}
.ai-progress progress{flex:1;min-width:70px;accent-color:#7b37a9}

.ai-quick{margin-top:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.ai-quick button{text-align:left;display:grid;gap:3px;align-content:center;padding:9px;line-height:1.14;border:1px solid #d4a8ec;min-height:62px;color:#26103d;background:#fff9ff;white-space:normal}
.ai-quick button:nth-child(2){background:#efffb9}.ai-quick button:nth-child(3){background:#ffdbef}.ai-quick button:nth-child(4){background:#fff2b5}
.ai-quick small{font-size:.72rem;font-weight:640}

.shot-editor{grid-template-columns:minmax(215px,.75fr) minmax(0,1.25fr);grid-template-areas:"heading heading" "preview controls";gap:13px 23px;align-items:start}
.shot-editor .edit-heading{grid-area:heading}
.shot-editor .edit-heading p:last-child{margin-top:6px}
.shot-editor .preview{grid-area:preview;min-height:0}
.shot-editor .controls{grid-area:controls;min-width:0}
.shot-editor .controls>[hidden],.shot-editor [hidden]{display:none}
.shot-editor[data-edit-mode="strip"] canvas{max-height:54svh;touch-action:pan-y;cursor:pointer}
.shot-editor[data-edit-mode="single"]{grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr)}
.shot-editor[data-edit-mode="single"] canvas{max-height:57svh}
.shot-nav,.finish-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.shot-nav button,.finish-swatches button{display:grid;justify-items:start;gap:2px;min-width:0;border:1px solid #e0b4f0;background:#fff9ff;color:#26103d;border-radius:13px;text-align:left;padding:8px 6px;line-height:1.12}
.shot-nav button b{color:#792570}
.shot-nav button span{font-size:.79rem;font-weight:900}
.shot-nav button small{font-size:.64rem;color:#5d376d}
.shot-nav button[aria-pressed=true],.finish-swatches button[aria-pressed=true]{background:#e7ff85;border:2px solid #392352}
.edit-label{margin:9px 0 5px;font-weight:900;color:#281740}
.finish-swatches{grid-template-columns:repeat(5,minmax(0,1fr))}
.finish-swatches button{justify-items:center;font-weight:800;text-align:center;font-size:.72rem;padding:4px 2px;min-height:60px}
.finish-swatches img{width:100%;height:auto;aspect-ratio:1.2;object-fit:cover;border-radius:7px}
.shot-editor .actions{margin-top:12px;gap:7px}
.shot-editor .actions button{min-height:44px}
@media(max-width:710px){
 .shot-editor,.shot-editor[data-edit-mode="single"]{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "preview" "controls";gap:10px}
 .shot-editor[data-edit-mode="strip"] .preview{padding:8px}
 .shot-editor[data-edit-mode="strip"] canvas{max-height:44svh}
 .shot-editor[data-edit-mode="single"] .preview{padding:8px}
 .shot-editor[data-edit-mode="single"] canvas{max-height:48svh}
 .shot-editor .finish-swatches button{min-height:54px}
}


.crop-request{margin:10px 0;color:#26103d}.crop-request summary{font-weight:840;cursor:pointer;min-height:34px}.crop-request form{display:grid;gap:7px;background:#fffaff;padding:10px;border-radius:12px;border:1px solid #e4c9f1}.crop-request textarea{width:100%;border-radius:8px;border:1px solid #bfa2d4;padding:8px;font:inherit;color:#26103d;background:white}.crop-request form button{justify-self:start;min-height:42px}

/* The booth handoff is the final reveal, not a settings screen. */
.handoff{max-width:900px;margin-inline:auto}
.handoff .handoff-badge{display:inline-block;padding:5px 12px;border-radius:999px;background:#efe1ff;color:#512071}
.handoff h2{margin-top:2px}.handoff h2 em{color:#8b2364}
.handoff-stage{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1fr);align-items:center;gap:clamp(10px,3vw,32px);margin:18px auto 16px;padding:clamp(12px,4vw,36px);width:min(100%,600px);overflow:hidden;border:1px solid #6e3b91;border-radius:25px;background:radial-gradient(ellipse at 7% 0%,#7a3690,transparent 63%),radial-gradient(ellipse at 98% 86%,#522f9d,transparent 53%),#251340;box-shadow:0 15px 25px #5120712d}
.handoff-stage::before{content:"✦";position:absolute;font-size:clamp(25px,5vw,60px);color:#ffa9df;left:13px;top:5px;z-index:-1;animation:snap-twinkle 3s ease-in-out infinite alternate}
.handoff-stage::after{content:"✧";position:absolute;right:5px;bottom:0;color:#d9fa63;font-size:clamp(20px,4vw,40px);z-index:-1;animation:snap-twinkle 4s ease-in-out infinite alternate-reverse}
.handoff-film{justify-self:center;min-width:0;width:min(100%,145px);margin:0;background:#fff3d6;padding:6px;border-radius:6px;box-shadow:0 12px 24px #160a31b0;transform:rotate(-5deg);animation:snap-film .55s ease-out both}
.handoff-film div{display:grid;gap:4px}.handoff-film img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:2px}
.handoff-film figcaption{color:#3b2358;font-size:clamp(.42rem,1.45vw,.68rem);font-weight:950;letter-spacing:.07em;margin-top:5px}
.handoff-stage .qr-ticket{width:min(100%,283px);justify-self:center;margin:0;padding:clamp(6px,2vw,12px);gap:4px;border:1px solid #eee1fd;border-radius:16px;background:#fff;color:#2b1548;box-shadow:0 0 0 3px #ddff53,0 0 32px #d6afee64;animation:snap-ticket .6s .10s ease-out both}
.qr-ticket-event{overflow-wrap:anywhere;font-size:clamp(.69rem,2vw,1rem);font-weight:900}
.qr-ticket-paper{background:#fff}.qr-ticket-paper .qr{width:100%;max-width:240px}
.handoff-stage .qr-ticket strong{font-size:clamp(.58rem,2vw,.85rem);letter-spacing:.08em}
.handoff-stage .qr-ticket small{font-size:clamp(.64rem,1.9vw,.79rem);color:#655978}
.handoff-actions button,.handoff-bottom button{min-height:44px}
.handoff-bottom{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px 13px}
@keyframes snap-twinkle{from{opacity:.55;transform:scale(.9)}to{opacity:1;transform:scale(1.08)}}
@keyframes snap-film{from{opacity:0;transform:translate(-9px,7px) rotate(-10deg)}to{opacity:1;transform:rotate(-5deg)}}
@keyframes snap-ticket{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.handoff-stage::before,.handoff-stage::after,.handoff-film,.handoff-stage .qr-ticket{animation:none}}

.shot-editor{grid-template-areas:"heading heading" "frames frames" "preview controls"}
.shot-editor[data-edit-mode="single"]{grid-template-areas:"heading heading" "preview controls"}
.shot-editor #strip-tools{grid-area:frames}
.strip-frame-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:620px;margin-inline:auto}
.strip-frame-picker button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 2px;font-size:clamp(.66rem,2.9vw,.85rem);line-height:1.12;min-height:49px;background:#fff;color:#291c45;border:1px solid #ac8cc8}
.strip-frame-picker button[aria-pressed=true]{border:2px solid #56237b;background:#ebff9c}
.strip-frame-picker i{width:36px;height:15px;border-radius:3px;border:1px solid #513d65;background:#fff}
.strip-frame-picker [data-style=glam] i{background:#211d26}
.strip-frame-picker [data-style=neon] i{background:#fff8e9;border-color:#b18d53}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:680px){.shot-editor{grid-template-areas:"heading" "frames" "preview" "controls"}.shot-editor[data-edit-mode="single"]{grid-template-areas:"heading" "preview" "controls"}}
.guest-prop-picker{background:#fff8fe;border:1px solid #dec3e8;padding:7px 10px;border-radius:12px;margin:10px 0}
.guest-prop-picker summary{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.95rem;font-weight:850;min-height:44px;cursor:pointer}
.guest-prop-picker summary:after{content:'+';font-size:1.4em}.guest-prop-picker[open] summary:after{content:'−'}
.guest-prop-picker summary span{margin-left:auto;font-size:.72rem;font-weight:700;color:#71477e}
.guest-prop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:4px 0}
.guest-prop-grid button{display:grid;justify-items:center;align-content:center;gap:3px;min-height:76px;padding:4px 1px;color:#351c51;background:#fff;border:1px solid #dac3e5;border-radius:9px;font-size:.74rem;line-height:1.1;font-weight:850;cursor:pointer}
.guest-prop-grid img{max-width:100%;width:62px;height:41px;object-fit:contain}
.guest-prop-grid button[aria-pressed=true]{background:#edffad;border-color:#46511c}
.guest-prop-grid button[aria-busy=true]{opacity:.62}

.guest-prop-category{margin:.5rem 0;padding:.45rem .6rem;border:1px solid #e5cdeb;border-radius:12px}.guest-prop-picker .guest-prop-category summary{display:list-item;font-size:.94rem}.guest-prop-picker .guest-prop-category[open] summary{margin-bottom:.4rem}.prop-symbol{min-height:42px;display:grid;place-content:center;background:#ffe4f3;color:#512157;border-radius:8px;font-size:1.45rem}.guest-prop-picker label:not([hidden]){display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.6rem 0;font-weight:850}.guest-prop-picker select{min-height:44px;color:#321b48;background:#efffb5;border:1px solid #869340;border-radius:10px;padding:.25rem .65rem;font:inherit}.crop-request small{color:#624b68}

/* The iPad is the booth: large viewfinder, readable cues and a real shutter. */
:root{background:#60289a}
body:not(.is-camera-stage) #bar{background:linear-gradient(to bottom,#60289a 0 env(safe-area-inset-top),#fffaff env(safe-area-inset-top))}
#setup .setup-dots{display:none}
.is-camera-stage{
 --rail-w:clamp(132px,17vw,247px);
 background:linear-gradient(180deg,#230a5460,transparent 20%),linear-gradient(114deg,#8246e7 0%,#ef74d9 26%,#ffc389 46%,#fff291 58%,#affa91 75%,#65dff0 100%);
 min-height:100dvh;
}
.is-camera-stage #bar{position:relative;z-index:5;min-height:calc(env(safe-area-inset-top) + 43px);padding:env(safe-area-inset-top) 0 0;justify-content:center;border:0;background:transparent}
.is-camera-stage #bar .brand,.is-camera-stage #install,.is-camera-stage footer{display:none}
.is-camera-stage #bar .nav{display:flex;justify-content:center}
.is-camera-stage #setup{min-width:52px;min-height:43px;color:#fff;border:0;border-radius:14px;background:transparent;box-shadow:none;padding:0}
.is-camera-stage #setup .setup-label{display:none}
.is-camera-stage #setup .setup-dots{display:inline;font-size:1.32rem;font-weight:950;letter-spacing:.2em;text-shadow:0 1px 4px #2f084c;opacity:.68}
.is-camera-stage #setup:hover .setup-dots,.is-camera-stage #setup:focus-visible .setup-dots{opacity:1}
.is-camera-stage #screen{width:100%;padding:0 max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));margin:0 auto auto}
.capture-stage{display:grid;grid-template-columns:var(--rail-w) minmax(0,1fr);gap:clamp(9px,1.5vw,24px);align-items:stretch;width:min(100%,1420px);margin-inline:auto}
.camera-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-self:end;align-items:center;justify-content:end;gap:clamp(7px,1vh,16px);text-align:center;padding:8px 2px;color:#281440}
.camera-brand{order:3;display:block;width:min(100%,228px);height:auto;filter:drop-shadow(0 2px 0 #fff9)}
.camera-rail .stage-status{min-height:1.2em;margin:0;max-width:19ch;color:inherit;font-size:clamp(.72rem,1.4vw,.95rem);font-weight:800}
.camera-rail .stage-back{order:4;min-height:44px;padding:2px 12px;background:#fff9ff9e;border-color:#74409875;font-size:.86rem}
.shutter-area{order:-1;display:grid;place-items:center;gap:.25rem}
.shutter-area p{margin:.2rem 0 0;font-weight:950;font-size:clamp(.95rem,1.8vw,1.42rem);line-height:1.08}
.camera-shutter{display:grid;place-items:center;width:clamp(80px,12vw,140px);height:auto;aspect-ratio:1;border:5px solid #fff;border-radius:50%;padding:0;color:#281440;background:radial-gradient(circle at 32% 27%,#f9ffd0,#e9ff68 55%,#b9ed50);box-shadow:0 0 0 2px #3b215d,0 8px 0 #482b69,0 13px 26px #37195845}
.camera-shutter svg{width:48%;height:48%}
.camera-shutter:disabled{opacity:.6}
.shutter-lights{display:flex;gap:7px;margin-top:3px}
.shutter-lights span{width:10px;height:10px;border-radius:100%;background:#fff9;box-shadow:inset 0 0 0 1px #4a256865}
.shutter-lights span.lit{background:#e8ff64;box-shadow:0 0 9px #f6ffb4,inset 0 0 0 1px #4a256865}
.capture-stage .camera-picture{grid-column:2;grid-row:1;align-self:start;justify-self:center;width:min(100%,calc(133.333dvh - 116px));max-height:none;aspect-ratio:4/3;margin:0;border:clamp(5px,.75vw,10px) solid #fff6f4;border-radius:clamp(15px,2.1vw,34px);background:#291449;box-shadow:0 0 0 2px #653383cc,0 10px 36px #3c19536e;isolation:isolate}
.camera-picture video,.camera-picture.demo-camera>img{object-fit:cover}
.camera-intro{position:absolute;z-index:1;inset:0 0 auto;padding:clamp(13px,2vw,28px) min(13%,110px) 28px;text-align:center;color:#fff;background:linear-gradient(#1b0e38b5,transparent);pointer-events:none}
.camera-intro p{margin:0;text-transform:uppercase;font-size:clamp(.69rem,1.5vw,1.1rem);font-weight:900;letter-spacing:.14em;overflow-wrap:anywhere}
.camera-intro h2{margin:.1em 0 0;font-size:clamp(2.05rem,6.6vw,6.2rem);font-weight:950;line-height:1;letter-spacing:-.055em;text-shadow:0 5px 20px #1b0b35}
.camera-picture .stage-school-logo{position:absolute;z-index:1;right:2.7%;top:3%;width:clamp(43px,10%,108px);height:clamp(38px,11%,88px);object-fit:contain;padding:5px;background:#fff;border-radius:9px;box-shadow:0 4px 14px #230b4950}
.camera-guides{position:absolute;inset:4%;z-index:1;pointer-events:none;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.camera-guides i{width:clamp(16px,3vw,41px);height:clamp(16px,3vw,41px);border:solid #f4ffad;filter:drop-shadow(0 2px 4px #1d0b4f);opacity:.86}
.camera-guides i:nth-child(1){border-width:3px 0 0 3px;border-top-left-radius:7px}
.camera-guides i:nth-child(2){justify-self:end;border-width:3px 3px 0 0;border-top-right-radius:7px}
.camera-guides i:nth-child(3){align-self:end;border-width:0 0 3px 3px;border-bottom-left-radius:7px}
.camera-guides i:nth-child(4){align-self:end;justify-self:end;border-width:0 3px 3px 0;border-bottom-right-radius:7px}
.camera-flash{position:absolute;inset:0;z-index:4;background:#fff;opacity:0;pointer-events:none}
.capture-stage.did-snap .camera-flash{animation:booth-flash .33s ease-out both}
.capture-stage .pose-cue{top:5%;max-width:none;left:5%;right:5%;padding:clamp(8px,1.3vw,20px) 12px 13px;border-radius:clamp(12px,2vw,27px);background:linear-gradient(123deg,#eeff8b,#fff2a8 55%,#ffc9ef);border:2px solid #291842;box-shadow:0 7px 0 #341c54d9}
.capture-stage .pose-cue small{font-size:clamp(.74rem,1.75vw,1.5rem);letter-spacing:.17em}
.capture-stage .pose-cue strong{font-size:clamp(1.7rem,5.6vw,5.8rem);letter-spacing:-.055em;line-height:.98;text-wrap:balance}
.capture-stage .pose-cue.reveal{animation:booth-cue-in .45s cubic-bezier(.3,1.44,.48,1) both}
.capture-stage .camera output:not(:empty){z-index:3;top:26%;font-size:clamp(5rem,24vw,16rem);line-height:.9;text-shadow:0 8px 0 #38125de8,0 0 28px #100425}
.capture-stage.is-shooting .camera-intro,.capture-stage.is-shooting .stage-school-logo{opacity:0}
.capture-stage.is-shooting .camera-shutter{box-shadow:0 0 0 2px #412460,0 4px 0 #29113b}
.saved-school-logo{display:flex;align-items:center;gap:.55rem;padding:.4rem 0}
.saved-school-logo img{width:64px;height:54px;object-fit:contain;border:1px solid #bfb0db;border-radius:10px;background:#fff}
.review{max-width:1120px;margin:auto}
.review h2,.handoff h2{font-size:clamp(2.4rem,7vw,5.5rem);line-height:1;letter-spacing:-.05em}
.review .photo-grid{gap:clamp(6px,2vw,22px)}
.review .retake-tile{display:grid;gap:.45rem;width:100%;min-height:66px;background:#fffaff;border:2px solid #542776;border-radius:16px;padding:clamp(4px,.8vw,10px);font-size:clamp(.84rem,2.1vw,1.5rem);box-shadow:0 4px #542776}
.retake-tile img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:9px}
.review #finish,.handoff #edit-here,.handoff #next{min-height:clamp(58px,8vw,82px);padding:12px clamp(14px,2.5vw,33px);font-size:clamp(1.12rem,3.2vw,2rem)}
.review #back,.handoff #extra{min-height:57px;padding:8px 15px;font-size:clamp(.9rem,2.1vw,1.4rem)}
.handoff{max-width:1100px}
.handoff .handoff-stage{width:min(100%,880px);padding:clamp(13px,2.4vw,26px);grid-template-columns:minmax(0,.45fr) minmax(0,1fr)}
.handoff-film{width:min(100%,180px)}
.handoff-stage .qr-ticket{width:min(100%,400px)}
.qr-ticket-paper .qr{max-width:365px;width:100%;height:auto;aspect-ratio:1}
.handoff .handoff-actions{margin-top:10px}
@keyframes booth-flash{0%{opacity:.57}100%{opacity:0}}
@keyframes booth-cue-in{0%{opacity:0;transform:scale(.78) rotate(-2.4deg)}100%{opacity:1;transform:none}}
@keyframes booth-jiggle{0%,72%,100%{transform:none}77%{transform:rotate(-4deg) scale(1.03)}83%{transform:rotate(4deg) scale(1.04)}89%{transform:rotate(-2deg)}95%{transform:rotate(1deg)}}
@media(prefers-reduced-motion:no-preference){.camera-shutter:not(:disabled),.review #finish:not(:disabled),.handoff #next:hover{animation:booth-jiggle 4.2s .55s ease-in-out infinite}}
@media(max-width:700px) and (orientation:portrait){
 .capture-stage{grid-template-columns:minmax(0,1fr);gap:8px}
 .capture-stage .camera-picture{grid-column:1;grid-row:1;width:100%}
 .camera-rail{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(88px,116px) 1fr auto;justify-items:start;justify-content:start;text-align:left}
 .camera-brand{grid-column:2;grid-row:1;align-self:center;width:min(100%,180px)}
 .shutter-area{grid-column:1;grid-row:1/3}
 .camera-rail .stage-status{grid-column:2;grid-row:2}
 .camera-rail .stage-back{grid-column:3;grid-row:1}
 .camera-intro h2{font-size:clamp(1.7rem,9vw,4rem)}
 .capture-stage .pose-cue strong{font-size:clamp(1.5rem,7.5vw,3.5rem)}
 .review .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .handoff .handoff-stage{grid-template-columns:minmax(0,.26fr) minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.capture-stage .pose-cue.reveal,.capture-stage.did-snap .camera-flash{animation:none}}
.capture-stage .pose-cue{text-align:center}
#setup .setup-dots{line-height:.7}
.handoff .qr-ticket .qr{width:100%;max-width:365px;height:auto}

/* Black-box booth: keep the guest video free of text and countdowns. */
body.is-camera-stage,body.is-review-stage{background:#08080b;color:#fff;min-height:100dvh}
body.is-camera-stage #bar,body.is-review-stage #bar{position:relative;z-index:6;min-height:calc(env(safe-area-inset-top) + 36px);padding:env(safe-area-inset-top) 0 0;justify-content:center;border:0;background:#08080b}
.is-review-stage #bar .brand,.is-review-stage #install,.is-review-stage footer{display:none}
.is-review-stage #bar .nav{display:flex;justify-content:center}
.is-review-stage #setup{min-width:52px;min-height:36px;color:#fff;border:0;border-radius:14px;background:transparent;box-shadow:none;padding:0}
.is-review-stage #setup .setup-label{display:none}
.is-review-stage #setup .setup-dots{display:inline;font-size:1.31rem;letter-spacing:.19em;opacity:.55}
.is-review-stage #screen{width:100%;max-width:1440px;padding:0 clamp(12px,2.5vw,36px) max(15px,env(safe-area-inset-bottom));margin:0 auto}
.capture-stage{grid-template-columns:1fr;grid-template-rows:clamp(79px,16vh,132px) minmax(0,1fr);gap:0;width:100%;max-width:1470px;position:relative;text-align:center}
.capture-masthead{position:relative;grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(90px,.22fr) minmax(0,1fr) minmax(48px,.14fr);gap:10px;align-items:start;padding:0 clamp(4px,1vw,16px);z-index:2}
.capture-brand-group{align-self:start}
.camera-brand{order:unset;width:clamp(110px,21vw,246px);display:block;filter:none}
.camera-brand img{display:block;width:100%;height:auto}
.capture-stage .camera-intro{position:static;grid-column:2;grid-row:1;padding:0;border:0;background:none}
.capture-stage .camera-intro h2{font-size:clamp(2rem,7.2vw,6rem);line-height:.93;margin:0;text-shadow:none}
.capture-stage .camera-intro p{margin:.45rem 0 0;color:#c3bdcd;font-size:clamp(.61rem,1.36vw,1.05rem)}
.stage-school-badge{grid-column:3;grid-row:1;justify-self:end;display:grid;place-items:center;width:clamp(48px,9.5vw,112px);height:clamp(40px,6.6vw,75px);padding:5px;background:#f9f7fa;border:2px solid #e8e2ec;border-radius:12px}
.capture-masthead .stage-school-logo{position:static;width:100%;height:100%;min-height:0;object-fit:contain}
.capture-stage .camera-picture{grid-column:1;grid-row:2;width:100%;height:calc(100dvh - clamp(79px,16vh,132px) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 52px);min-height:230px;aspect-ratio:auto;border:2px solid #312c3f;border-radius:clamp(12px,2vw,26px);background:#08080b;box-shadow:none;cursor:pointer}
.capture-stage .camera-picture video,.capture-stage .camera-picture.demo-camera>img{object-fit:contain}
.capture-stage .camera-picture .shutter-area{position:absolute;z-index:5;left:clamp(10px,2vw,28px);bottom:clamp(10px,2vw,25px);display:flex;align-items:center;gap:clamp(7px,1.8vw,20px)}
.capture-stage .camera-shutter{width:clamp(106px,16vw,190px);background:#eaff65;border:5px solid #fff;color:#140a26;box-shadow:0 0 0 3px #271a37,0 6px 0 #130c1e,0 0 27px #e1ff5b40;line-height:.94;font-size:clamp(1.06rem,3.3vw,2.5rem);font-weight:950;text-transform:uppercase;letter-spacing:-.035em}
.camera-shutter small{display:block;font-size:.66em;margin-top:.24em;letter-spacing:.03em}
.tap-anywhere{display:flex;align-items:center;gap:.25em;padding:.35em .52em;background:#090611c9;color:#fff;border-radius:999px;font-weight:850;font-size:clamp(.74rem,1.8vw,1.27rem)}
.tap-anywhere svg{width:1.25em;height:.85em;color:#eaff65}
.capture-stage .stage-status{position:absolute;right:8px;bottom:8px;z-index:4;background:#08080bc7;color:#fff;padding:6px 11px;max-width:min(300px,45vw);border-radius:10px;margin:0}
.capture-stage .stage-status:empty{display:none}
.capture-stage .stage-back{position:absolute;z-index:4;right:6px;top:-33px;min-height:34px;padding:0 10px;background:none;color:#bcb5c9;border:0}
.capture-stage.is-shooting .camera-intro,.capture-stage.is-shooting .shutter-area,.capture-stage.is-shooting .stage-status,.capture-stage.is-shooting .stage-back,.capture-stage.is-shooting .stage-school-badge{visibility:hidden}
.capture-stage .pose-cue{position:absolute;z-index:4;inset:0 0 auto;min-height:100%;margin:0;place-content:center;gap:.28rem;border:0;border-radius:0;background:#08080b;color:#fff;box-shadow:none;padding:3px 5px 9px;text-align:center}
.capture-stage .pose-cue[hidden]{display:none}
.capture-stage .pose-cue small{color:#eaff65;font-size:clamp(.69rem,1.45vw,1.28rem)}
.capture-stage .pose-cue strong{font-size:clamp(1.63rem,5.4vw,5rem);text-wrap:balance;letter-spacing:-.047em;line-height:.96}
.capture-stage .capture-masthead output{position:absolute;z-index:5;inset:0 auto auto clamp(5px,2vw,24px);width:clamp(73px,12vw,145px);font-size:clamp(4rem,12vh,8.9rem);line-height:.95;font-weight:950;color:#eaff65;text-shadow:none;text-align:center}
.capture-stage .capture-masthead output:empty{display:none}
.capture-stage.is-shooting .camera-brand{visibility:hidden}
#stage-progress{position:absolute;z-index:5;inset:0;display:grid;place-items:center;margin:0;background:#08080be6;font-weight:950;color:#fff;font-size:clamp(1.35rem,4.1vw,3.5rem)}
#stage-progress[hidden]{display:none}
.booth-review{width:100%;max-width:1400px;color:white}
.review-head{display:grid;grid-template-columns:minmax(110px,.24fr) minmax(0,1fr);gap:12px;text-align:left;align-items:start}
.review-head .eyebrow{color:#eaff65;margin:0 0 .12rem}
.review-head h2{margin:0;font-size:clamp(2.25rem,6.1vw,5.3rem);line-height:.9}
.review-head p:not(.eyebrow){font-weight:850;font-size:clamp(.9rem,2vw,1.5rem);margin:.35em 0 .75em;color:#e0dbea}
.review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.61fr);gap:clamp(10px,2.8vw,37px);align-items:start}
.booth-review .photo-grid{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,1.3vw,16px)}
.booth-review .retake-tile{background:#120c20;color:#fff;border:2px solid #6f5587;box-shadow:none;padding:clamp(4px,.65vw,10px);align-content:start}
.booth-review .retake-tile span{grid-row:1;font-size:clamp(.73rem,1.85vw,1.55rem)}
.booth-review .retake-tile img{aspect-ratio:4/3;object-fit:contain;background:#08080b}
.review-drop{text-align:center;min-width:0}
.drop-placeholder{background:#141019;border:1px solid #443150;border-radius:16px;padding:clamp(12px,4vw,35px);color:#fff}
.drop-placeholder .eyebrow,.drop-placeholder .note{color:#eaff65}
.drop-placeholder h3{margin:.2rem 0 .6rem;font-size:clamp(1.2rem,3vw,2.15rem)}
.drop-placeholder [hidden]{display:none}
.review-drop .qr-ticket{width:min(100%,400px);margin:0 auto 7px;background:#fff;border:3px solid #eaff65;box-shadow:none;color:#180a26;padding:7px;animation:snap-ticket .45s ease-out both}
.review-drop .qr-ticket .qr{width:100%;max-width:365px;height:auto;aspect-ratio:1}
.qr-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.qr-actions .session-clock{margin:0;min-width:1.4em;font-weight:950;font-size:clamp(2.6rem,8vw,6.4rem);line-height:.95;color:#eaff65;font-variant-numeric:tabular-nums}
.qr-actions .session-clock::after{content:'s';font-size:.38em;margin-left:.09em}
.qr-actions .session-clock:empty::after,.qr-error .session-clock::after{content:none}
.qr-error .session-clock{font-size:1rem}
.qr-actions button,#back{min-height:53px;font-size:clamp(.86rem,1.75vw,1.2rem);padding:7px 13px}
.qr-actions .qr-add{display:grid;gap:0;line-height:1.05;background:#eaff65;color:#180a26}
.qr-actions .qr-add strong{font-size:1.45em}
.review-foot{margin-top:14px}
@keyframes corner-count{0%{opacity:0;transform:scale(.68)}35%{opacity:1;transform:scale(1.13)}100%{opacity:1;transform:scale(1)}}
@keyframes booth-thinking{0%{opacity:0}100%{opacity:1}}
@media(prefers-reduced-motion:no-preference){
 .capture-stage .count-in{animation:corner-count .33s ease-out both}
 #stage-progress,.booth-review{animation:booth-thinking .45s ease-out both}
}
@media(max-width:700px) and (orientation:portrait){
 .capture-masthead{grid-template-columns:minmax(80px,.25fr) minmax(0,1fr) minmax(40px,.13fr);gap:5px}
 .capture-stage{grid-template-rows:78px minmax(0,1fr)}
 .capture-stage .camera-picture{height:min(69dvh,660px)}
 .capture-stage .camera-intro h2{font-size:clamp(1.72rem,7vw,3.4rem)}
 .capture-stage .pose-cue strong{font-size:clamp(1.42rem,5.9vw,3.2rem)}
 .review-head{grid-template-columns:minmax(80px,.24fr) minmax(0,1fr)}
 .review-grid{grid-template-columns:1fr}
 .review-drop .qr-ticket .qr{max-width:min(365px,42dvh)}
}

/* Booth sizing is explicit so a narrow intrinsic track cannot trap the video. */
body.is-camera-stage{
 background:radial-gradient(ellipse at 2% 18%,#932fc85c,transparent 41%),radial-gradient(ellipse at 96% 100%,#18db9a45,transparent 42%),#0e0a17;
}
body.is-camera-stage #bar{
 background:linear-gradient(90deg,#5d3abb44,#ef56ba38,#ffe38824,#7fffc434);
}
body.is-camera-stage #screen{display:block;width:100%;max-width:none;min-width:0;flex:0 0 auto}
body.is-camera-stage .capture-stage{
 display:flex;width:100%;max-width:1470px;min-width:0;flex-direction:column;align-items:stretch;gap:0;
}
body.is-camera-stage .capture-masthead{
 display:flex;width:100%;min-width:0;min-height:92px;min-height:clamp(82px,13vh,119px);align-items:center;justify-content:space-between;
}
.capture-masthead .capture-brand-group{width:clamp(100px,21vw,242px);flex:0 0 auto;align-self:center;min-width:0}
.capture-masthead .camera-brand{width:100%}
body.is-camera-stage .capture-stage .camera-intro{flex:1 1 auto;min-width:0;padding:0 5px}
body.is-camera-stage .capture-stage .camera-intro h2{font-size:clamp(1.85rem,6.7vw,5.6rem);white-space:normal;overflow-wrap:normal}
.capture-masthead .stage-school-badge{flex:0 0 auto;align-self:center}
body.is-camera-stage .capture-stage .camera-picture{
 display:block;position:relative;align-self:stretch;width:100%;min-width:0;max-width:none;
 height:calc(100vh - 145px);height:calc(100dvh - clamp(82px,13vh,119px) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 51px);
 margin:0;border:3px solid transparent;
 background:linear-gradient(#0b0813,#0b0813) padding-box,linear-gradient(125deg,#a168ff,#ff78d2,#fff399,#86f7da 93%) border-box;
 box-shadow:0 0 24px #a56aff38;
}
body.is-camera-stage .capture-stage .camera-picture>video,body.is-camera-stage .capture-stage .camera-picture>img{
 position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-width:none;object-fit:contain;background:#0b0813;
}
body.is-camera-stage .capture-stage .pose-cue{background:linear-gradient(112deg,#211336,#141021)}
@media(max-width:700px) and (orientation:portrait){
 body.is-camera-stage .capture-masthead{min-height:82px}
 body.is-camera-stage .capture-stage .camera-picture{height:68vh;height:68dvh}
 body.is-camera-stage .capture-stage .camera-intro h2{font-size:clamp(1.52rem,6.5vw,2.8rem)}
}
.archive-option{border:1px solid #dbcae7;border-radius:16px;padding:12px;display:grid;gap:8px;margin:0}
.archive-option legend{font-weight:850;color:#4c256a;padding:0 .35rem}
.archive-download{max-width:730px;margin:2rem auto}
.archive-download>a img{object-fit:contain;display:block;margin-bottom:1.3rem}
.copy-disclosure{position:absolute;right:10px;bottom:12px;z-index:4;background:#08080bed;border:1px solid #b9a7d6;padding:.5em .68em;color:#fff;border-radius:10px;max-width:43%;font-size:clamp(.7rem,1.3vw,1rem);font-weight:800}
.capture-stage.is-shooting .copy-disclosure{visibility:hidden}

/* Kiosk framing and the actual keepsake beside its scan code. */
body.is-camera-stage .capture-stage .camera-picture{container-type:size;overflow:hidden}
.capture-stage .camera-view{position:absolute;top:50%;left:50%;width:min(100%,calc(100cqh * var(--feed-aspect,1.333333)));aspect-ratio:var(--feed-aspect,1.333333);transform:translate(-50%,-50%);overflow:hidden}
.capture-stage .camera-view>video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;transform-origin:50% var(--feed-origin,50%);transform:scale(var(--feed-zoom,1))}
.capture-stage .camera.mirror .camera-view>video{transform:scale(calc(-1 * var(--feed-zoom,1)),var(--feed-zoom,1))}
body.is-camera-stage .capture-stage .camera-intro{margin-right:clamp(100px,21vw,242px)}
@media(max-width:700px){body.is-camera-stage .capture-stage .camera-intro{margin-right:0}}
body.is-review-stage{background:radial-gradient(ellipse at 25% 40%,#2b1651,transparent 55%),radial-gradient(ellipse at 82% 64%,#113434,transparent 60%),#08080b}
.booth-review .review-head{align-items:center;margin-bottom:clamp(6px,1.2vh,15px)}
.booth-review .review-head h2{font-size:clamp(2rem,5vw,4.8rem)}
.booth-review .review-head p:not(.eyebrow){margin:.2em 0 0}
.booth-review .review-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(12px,4vw,62px);align-items:center;max-width:1040px;margin:0 auto}
.booth-film{position:relative;width:min(100%,245px,calc((100dvh - 155px)/3));aspect-ratio:1/3;justify-self:end;min-width:100px;border-radius:8px;background:#34214f;box-shadow:0 14px 44px #05040ba0,0 0 22px #ce8dff40}
.booth-film canvas{display:block;width:100%;height:100%;border-radius:8px}
.booth-film .strip-hit{position:absolute;left:4.3333%;right:4.3333%;top:var(--slot);height:25.277778%;border:0;border-radius:4px;box-shadow:none;background:#271839;padding:0;overflow:hidden;color:#fff}
.booth-film.strip-painted .strip-hit{background:transparent}
.booth-film .strip-hit img{width:100%;height:100%;object-fit:cover;display:block}
.booth-film.strip-painted .strip-hit img{visibility:hidden}
.booth-film .strip-hit span{position:absolute;bottom:4px;right:4px;padding:.26em .62em;background:#120c20e8;border:1px solid #fff8;border-radius:25px;font-size:clamp(.71rem,1.25vw,.94rem);line-height:1.15}
.booth-film .strip-hit:focus-visible{outline:3px solid #eaff65;outline-offset:-3px}
.booth-review .review-drop{width:100%;max-width:580px;justify-self:start}
.booth-review .review-drop .qr-ticket{width:min(100%,540px,calc(100dvh - 245px));min-width:min(100%,220px);padding:clamp(5px,1vw,13px);border-radius:17px;text-align:center;box-shadow:0 0 28px #e1ff5c36;margin-bottom:clamp(6px,1.5vh,15px)}
.booth-review .review-drop .qr-ticket .qr{width:100%;max-width:none}
.booth-review .qr-ticket strong{font-size:clamp(.72rem,1.7vw,1.2rem);letter-spacing:.1em}
@media(max-width:650px) and (orientation:portrait){
 .booth-review .review-grid{grid-template-columns:minmax(104px,.72fr) minmax(0,1.15fr);gap:10px;align-items:center}
 .booth-film{width:min(100%,190px)}
 .booth-review .qr-actions{gap:5px}
 .booth-review .qr-actions button{min-height:44px;padding:6px 9px}
}
.booth-film [data-strip-slot="1"]{--slot:1.555556%}
.booth-film [data-strip-slot="2"]{--slot:27.833333%}
.booth-film [data-strip-slot="3"]{--slot:54.111111%}

/* Leave the complete camera frame visible; dress the side space in colour. */
body.is-camera-stage .capture-stage .camera-picture{
 background:linear-gradient(120deg,#57239f 0%,#982779 31%,#32206a 55%,#176b8a 82%,#23807c 100%) padding-box,
 linear-gradient(125deg,#b880ff,#ff86c8,#ffe47c,#79f5ca 93%) border-box;
}
body.is-camera-stage .capture-stage .camera-picture.demo-camera>img{background:transparent}
body.is-camera-stage .capture-stage .pose-cue{
 min-height:0;inset:0 0 auto;padding:clamp(7px,1.3vh,16px) clamp(10px,2.5vw,40px) clamp(12px,2vh,23px);
 color:#fffdf7;background:linear-gradient(108deg,#4a1f87 0%,#671d75 51%,#26215c 100%);
 border-bottom:3px solid #efff73;border-radius:0 0 24px 24px;
}
body.is-camera-stage .capture-stage .pose-cue small{letter-spacing:.17em;font-weight:900}
body.is-camera-stage .capture-stage .pose-cue strong{font-size:clamp(2rem,7.9vw,7.6rem);line-height:.87;color:#fffdf8;text-shadow:0 .055em #160c3f;max-width:100%}
body.is-camera-stage .capture-stage .capture-masthead output{
 top:clamp(0px,.6vh,9px);left:clamp(7px,1.6vw,25px);width:auto;min-width:1em;
 font-size:clamp(6rem,min(21vw,29vh),15rem);line-height:.84;text-align:center;
 z-index:7;-webkit-text-stroke:.018em #140d2e;text-shadow:0 .045em #160c32,0 0 .16em #0a042e9a;
}
body.is-camera-stage .capture-stage>.camera-flash{position:fixed;inset:0;z-index:1000;background:#fff}
.capture-stage.did-snap>.camera-flash{animation:snap-full-flash .32s linear both}
@keyframes snap-full-flash{0%,16%{opacity:1}100%{opacity:0}}
.booth-review .review-grid{grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr)}
.booth-film{box-shadow:0 0 0 1px #ffd0f0a0,0 8px 22px #ba64ef55}
body.is-review-stage{background:radial-gradient(ellipse at 23% 42%,#513085 0%,transparent 56%),radial-gradient(ellipse at 79% 65%,#174d55 0%,transparent 61%),#1c132a}
@media(max-width:650px) and (orientation:portrait){
 .booth-review .review-grid{grid-template-columns:minmax(104px,.72fr) minmax(0,1.15fr)}
}
@media(prefers-reduced-motion:reduce){
 .capture-stage.did-snap>.camera-flash{animation:none}
 .capture-stage.is-shooting .camera-picture{transition:none}
}

/* Put the trim on the visible image, not the empty area beside it. */
body.is-camera-stage .capture-stage .camera-picture{
 border:0;background:transparent;box-shadow:none;overflow:visible;cursor:default;
}
body.is-camera-stage .capture-stage .camera-view{
 border-radius:clamp(12px,2vw,26px);isolation:isolate;cursor:pointer;
 box-shadow:0 8px 35px #0a041c70;
}
.capture-stage .camera-view>img{
 position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;
}
.capture-stage .camera-view::after{
 content:"";position:absolute;inset:0;z-index:6;pointer-events:none;border-radius:inherit;
 border:2px solid transparent;
 background:linear-gradient(125deg,#b880ff,#ff86c8,#ffe47c,#79f5ca 93%) border-box;
 -webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);
 -webkit-mask-composite:xor;
 mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);
 mask-composite:exclude;
}
@supports not ((mask-composite:exclude) or (-webkit-mask-composite:xor)){
 .capture-stage .camera-view::after{background:none;border-color:#f0c5ff}
}

/* A paper keepsake, with an upright QR beside it and a distance-friendly cue. */
.booth-review .booth-film{
 transform:rotate(-5deg);border:3px solid #fff6e4;border-radius:5px;
 box-shadow:0 2px 0 #d9c9b2,4px 10px 0 -3px #120e2a85,10px 17px 25px #090414a0;
}
.booth-review .booth-film canvas{border-radius:2px}
.booth-review .strip-hit span{background:#171127d9}
.booth-review .qr-actions{gap:clamp(7px,1.8vw,21px)}
.booth-review .qr-actions .session-clock{font-size:clamp(3.2rem,min(10vw,12dvh),8.2rem)}
.booth-review .qr-error .session-clock{font-size:1rem}
.booth-review .qr-actions .qr-add strong{font-size:clamp(.8rem,1.7vw,1.3rem)}
.booth-review .qr-add:disabled{background:#3e345a;color:#e4daef;box-shadow:none;opacity:1}
.booth-review .qr-add span{font-size:clamp(.66rem,1.2vw,.88rem);font-weight:750}
body.is-camera-stage .capture-stage .capture-masthead output{
 font-size:clamp(6.6rem,min(32vw,40vh),22rem);
}
.capture-stage .camera-retry{position:absolute;z-index:7;top:50%;left:50%;transform:translate(-50%,-50%);min-height:60px}
.capture-stage .camera-retry[hidden]{display:none}
@media(prefers-reduced-motion:no-preference){.booth-review .booth-film{animation:keepsake-land .47s cubic-bezier(.25,.76,.28,1) both}}
@keyframes keepsake-land{from{opacity:.45;transform:translateY(13px) rotate(-1deg) scale(.98)}to{opacity:1;transform:rotate(-5deg)}}
@media(max-width:650px) and (orientation:portrait){
 .booth-review .booth-film{transform:rotate(-3deg);animation:none}
}

/* QR guests start with a photo, not a print layout. */
.shot-editor .edit-dock{grid-area:preview;min-width:0;align-self:start}
.shot-editor .edit-quick{display:none}
.shot-editor[data-edit-mode="single"] .edit-dock{position:sticky;top:12px;z-index:4}
.shot-editor[data-edit-mode="single"] .preview{padding:0;border-radius:15px;overflow:hidden;min-height:0}
.shot-editor[data-edit-mode="single"] .preview canvas{display:block;width:100%;height:auto;max-height:none;background:#120e24}
.shot-editor[data-edit-mode="single"] #photo-privacy{margin:.65rem 0 0;order:8}
.shot-editor[data-edit-mode="single"] .controls{display:flex;flex-direction:column;gap:8px}
.shot-editor .shot-nav button{min-height:44px}
.shot-editor .message-picker,#prop-adjust{border:1px solid #ddc5e7;background:#fffafd;border-radius:13px;padding:10px;margin:9px 0}
.shot-editor .message-picker summary{cursor:pointer;font-weight:900;min-height:38px;padding-top:6px;color:#4e226a}
.shot-editor .message-picker .row{margin:.5rem 0}
.message-looks button[aria-pressed="true"]{background:#eaff99;box-shadow:inset 0 0 0 1px #412355}
#prop-adjust legend{font-size:.89rem;font-weight:850}
.prop-nudges{display:grid;grid-template-columns:repeat(4,minmax(42px,1fr));gap:4px;margin:5px 0 8px}
.prop-nudges button{min-height:42px;padding:3px;font-size:1.2rem}
@media(max-width:680px){
 body.guest:has(.shot-editor[data-edit-mode="single"]) #bar{display:none}
 body.guest:has(.shot-editor[data-edit-mode="single"]) #screen{padding:0 8px 20px;margin:0 auto;width:100%}
 body.guest .shot-editor[data-edit-mode="single"]{grid-template-areas:"preview" "controls";gap:4px;padding:0}
 body.guest .shot-editor[data-edit-mode="single"] .edit-heading{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock{
  top:0;display:grid;grid-template-columns:minmax(0,1fr) 57px;gap:5px;align-items:stretch;
  background:#fff9fd;border-bottom:1px solid #decaec;padding:calc(5px + env(safe-area-inset-top,0px)) 0 7px;
  box-shadow:0 8px 17px #2e194d19;
 }
 body.guest .shot-editor[data-edit-mode="single"] .preview{align-self:center}
 body.guest .shot-editor[data-edit-mode="single"] .preview canvas{max-height:36dvh;object-fit:contain}
 body.guest .shot-editor[data-edit-mode="single"] .edit-quick{display:grid;grid-template-columns:1fr;gap:3px;align-content:center}
 .edit-quick button{background:#f4e7ff;color:#381955;border:1px solid #d4b8eb;border-radius:8px;min-height:40px;padding:3px;font-size:.70rem;font-weight:900;box-shadow:none}
 body.guest .shot-editor[data-edit-mode="single"] [id$="-tools"],body.guest .shot-editor[data-edit-mode="single"] #guest-props{scroll-margin-top:calc(min(36dvh,73vw) + 35px + env(safe-area-inset-top,0px))}
}
@media(max-width:680px) and (max-height:640px){
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock{grid-template-columns:minmax(0,1fr) 94px}
 body.guest .shot-editor[data-edit-mode="single"] .edit-quick{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
 body.guest .shot-editor[data-edit-mode="single"] .preview canvas{
  width:min(100%,45.89dvh);height:auto;max-height:none;margin:auto;
 }
}

/* Touchable scene reel: swipe native, or move one card with either chevron. */
.scene-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:.65rem 0 .18rem;color:#361c56}
.scene-top strong{font-size:clamp(1.12rem,4.7vw,1.55rem);font-weight:950;letter-spacing:-.033em}
.scene-position{color:#653886;font-size:.8rem;font-weight:850;font-variant-numeric:tabular-nums}
.scene-tip{margin:0 0 .55rem;font-size:.9rem;color:#674483}
.scene-browser{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:4px;align-items:center}
.scene-step{display:grid;place-items:center;min-width:36px;min-height:49px;padding:0;border-radius:12px;border:1px solid #804bb2;background:#42215e;color:#fff;box-shadow:none}
.scene-step svg{width:25px;height:25px}
.scene-step:disabled{opacity:.36}
.scene-rail{
 display:flex;gap:8px;min-width:0;overflow:auto hidden;scroll-snap-type:x mandatory;
 scrollbar-width:none;overscroll-behavior-inline:contain;padding:4px 1px 7px;
}
.scene-rail::-webkit-scrollbar{display:none}
.scene-rail button{
 flex:0 0 calc((100% - 13px)/2);min-width:0;scroll-snap-align:start;display:grid;grid-template-rows:auto minmax(2.15rem,auto);
 text-align:center;padding:0;background:#f6efff;color:#351850;border:2px solid #dbb6f1;box-shadow:0 3px #dfc8ee;
 border-radius:12px;overflow:hidden;font-weight:900;line-height:1.13;
}
.scene-rail button[hidden]{display:none}
.scene-rail .backdrop-thumb{display:block;aspect-ratio:1.26;width:100%}
.scene-rail button span{display:grid;place-items:center;padding:6px 3px;font-size:clamp(.75rem,2.8vw,.98rem)}
.scene-rail button[aria-pressed="true"]{border-color:#4e7352;background:#eaff95;box-shadow:0 3px #89a84e}
.scene-rail button:focus-visible{outline:3px solid #933be4;outline-offset:-4px}
.scene-actions{display:flex;align-items:center;gap:9px;min-height:45px;margin:.18rem 0 .4rem}
.scene-original{min-height:42px;padding:5px 9px;font-size:.84rem;box-shadow:none;background:#f4e7ff;color:#381955;border-color:#d4b8eb}
.scene-original[aria-pressed="true"]{background:#eaff95;border-color:#a2bd58}
.scene-actions #backdrop-status{font-size:.84rem;color:#553170;font-weight:750}
@media(min-width:900px){.scene-rail button{flex-basis:calc((100% - 23px)/2.4)}}
@media(max-width:385px){.scene-browser{grid-template-columns:31px minmax(0,1fr) 31px;gap:3px}.scene-step{min-width:31px}}

.edit-quick button.test-ai-jump{background:#ddff54;color:#22153a;font-weight:950;border-color:#b5db25}
.shot-editor .edit-dock img,.shot-editor .scene-rail button{user-select:none}
.shot-editor .finish-picker{border:1px solid #e6c9ef;border-radius:14px;background:#fffafd;padding:0 10px;margin:8px 0}
.shot-editor .finish-picker summary{cursor:pointer;font-weight:850;padding:12px 3px;color:#4e226a}
.shot-editor .keepsake-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.shot-editor .keepsake-actions button{min-height:48px;font-weight:900}
.shot-editor .keepsake-actions #share{grid-column:1/-1;background:#dbff59;color:#27143d}
.shot-editor .controls #ai-tools{scroll-margin-top:calc(min(36dvh,73vw) + 35px + env(safe-area-inset-top,0px))}
@media(max-width:680px){.shot-editor[data-edit-mode="single"] .edit-quick:has(.test-ai-jump:not([hidden])){gap:3px}.shot-editor[data-edit-mode="single"] .edit-quick .test-ai-jump{padding-inline:1px}}

/* Bring the gaze cue and 3–2–1 as close to the iPad's top-centre lens as possible. */
body.is-camera-stage #bar .nav{position:absolute;inset:auto max(12px,env(safe-area-inset-right)) 0 auto;z-index:9}
body.is-camera-stage .capture-stage .capture-masthead{z-index:7}
.capture-stage .lens-guide{
 position:fixed;z-index:8;top:max(3px,calc(env(safe-area-inset-top,0px) + 1px));left:50%;transform:translateX(-50%);display:grid;justify-items:center;
 pointer-events:none;
}
.capture-stage .lens-sign{
 display:flex;align-items:center;gap:.42em;white-space:nowrap;padding:.14em .72em .14em .2em;border:2px solid #efff77;border-radius:100vw;
 background:#eaff65;color:#1a1129;font-size:clamp(.94rem,2.45vw,2rem);line-height:1;font-weight:950;letter-spacing:-.035em;
 box-shadow:0 2px 0 #1a1129,0 5px 20px #10071a85;
}
.capture-stage .lens-sign svg{display:block;width:1.29em;height:1.29em;flex:none}
body.is-camera-stage .capture-stage .capture-masthead .lens-guide output{
 position:static;inset:auto;margin:0;width:auto;min-width:0;font-size:clamp(6rem,min(30vw,37dvh),21rem);line-height:.83;
 transform-origin:50% 6%;color:#eaff65;-webkit-text-stroke:.022em #211236;text-shadow:0 .045em #1c1033,0 0 .16em #0a042ec9;
}
body.is-camera-stage .capture-stage .pose-cue{padding-top:clamp(17px,3.3vh,30px)}
.capture-stage.is-developing .lens-guide{visibility:hidden}

.operator-home{width:min(100%,640px);margin:clamp(24px,9dvh,101px) auto;padding:clamp(22px,6vw,56px);border:2px solid #e7d6ff;border-radius:32px;background:linear-gradient(145deg,#fffbff,#fff6da);color:#231337;box-shadow:0 14px 55px #6626a126;text-align:center}
.operator-home h1{margin:.15em 0 .45em;color:#2d1548;font-size:clamp(2.5rem,9vw,4.7rem);line-height:.96;letter-spacing:-.06em;text-rendering:optimizeLegibility}
.operator-home .operator-event{padding:15px;background:#f0e3ff;border-radius:17px;color:#2b1940}
.operator-home .operator-event p{margin:0 0 4px;font-size:.82rem;font-weight:850;color:#563878}
.operator-home .operator-event strong{font-size:clamp(1.12rem,3.3vw,1.5rem);overflow-wrap:anywhere}
.operator-home #status{margin:14px auto}
.operator-home .operator-actions{display:grid;gap:10px}
.operator-home .operator-actions button{min-height:54px;font-size:1.08rem}
.operator-home .operator-actions #start{background:#e7ff53;color:#241234}

/* One row on iPhone: the inner preview must not inherit its old named grid area. */
@media(max-width:680px){
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock{grid-template-columns:minmax(0,1fr) 97px;grid-template-rows:auto;align-items:center;gap:6px}
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock>.preview{grid-area:1/1;min-width:0;margin:0}
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock>.edit-quick{grid-area:1/2;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 body.guest .shot-editor[data-edit-mode="single"] .edit-quick button{min-height:44px;padding-inline:0}
}
.capture-masthead .capture-brand-group{width:clamp(118px,23vw,280px)}
body.is-camera-stage .capture-stage .camera-intro{margin-right:clamp(118px,23vw,280px)}
@media(max-width:700px){body.is-camera-stage .capture-stage .camera-intro{margin-right:0}}
.booth-review .review-head .camera-brand{width:min(100%,280px)}
.capture-stage .camera-shutter{width:clamp(128px,19vw,230px);font-size:clamp(1.35rem,3.8vw,3rem)}
.idle-phrases{display:grid}
.idle-phrases>span{grid-area:1/1;visibility:hidden}
.idle-phrases>span:first-child{visibility:visible}
.booth-review .review-grid{grid-template-columns:minmax(0,.64fr) minmax(0,1.21fr);gap:clamp(22px,5.8vw,84px);max-width:1100px}
.booth-review .review-drop{max-width:620px}
.booth-review .review-drop .qr-ticket{width:min(100%,610px,calc(100dvh - 195px));max-width:none;padding:clamp(4px,.65vw,10px)}
.booth-review .qr-actions{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:clamp(7px,1.5vw,20px);max-width:590px;margin-inline:auto}
.booth-review .qr-actions button{min-height:clamp(56px,8.4dvh,78px);padding:7px clamp(6px,1.25vw,18px);font-size:clamp(.95rem,2.1vw,1.5rem);border-radius:16px}
.booth-review .qr-actions .qr-add strong{font-size:clamp(.95rem,2vw,1.45rem)}
.booth-review .next-group{background:#fff;color:#2c1850;box-shadow:0 4px 0 #231341;line-height:1.05}
.booth-review .next-group span{color:#753ba9;font-size:1.18em}
@media(max-width:650px) and (orientation:portrait){
 .booth-review .review-grid{grid-template-columns:minmax(92px,.56fr) minmax(0,1.24fr);gap:10px}
 .booth-review .qr-actions{grid-template-columns:1fr 1fr;gap:5px}
 .booth-review .qr-actions .session-clock{grid-column:1/-1;min-height:0;text-align:center}
 .booth-review .qr-actions button{font-size:.78rem;min-height:50px;padding:4px}
 .booth-review .qr-actions .qr-add strong{font-size:.87rem}
}
@media(prefers-reduced-motion:no-preference){
 .capture-stage:not(.is-shooting) .idle-phrases>span{animation:idle-caption 18s linear infinite both}
 .capture-stage:not(.is-shooting) .idle-phrases>span:nth-child(2){animation-delay:-12s}
 .capture-stage:not(.is-shooting) .idle-phrases>span:nth-child(3){animation-delay:-6s}
 .capture-stage:not(.is-shooting) .lens-sign svg{transform-origin:50% 56%;animation:lens-wiggle 6s 2s ease-in-out infinite}
 .booth-review .next-group:not(:active){animation:lens-wiggle 5.4s 1.6s ease-in-out infinite}
}
@keyframes idle-caption{0%,31.9%{opacity:1;visibility:visible}32.9%,100%{opacity:0;visibility:hidden}}
@keyframes lens-wiggle{0%,76%,100%{transform:rotate(0)}81%{transform:rotate(-5deg)}87%{transform:rotate(4deg)}94%{transform:rotate(-2deg)}}

.print-sheet-preview{display:block;width:auto;height:min(38dvh,360px);max-width:100%;object-fit:contain;margin:12px auto;border:1px solid #e0d5e6;background:white;box-shadow:0 4px 15px #23132a21}

.capture-stage .camera-picture>.shutter-area{left:7px;bottom:12px;left:max(7px,calc((100cqw - 100cqh * var(--feed-aspect,1.333333)) / 2 - clamp(23px,4.5vw,65px)));bottom:max(12px,calc((100cqh - 100cqw / var(--feed-aspect,1.333333)) / 2 + 10px))}
.capture-stage .camera-shutter{width:clamp(133px,19.5vw,236px)}
.dock-shots{display:none}
.studio-collection-title{font-size:.85rem;letter-spacing:.11em;text-transform:uppercase;color:#684e6e;font-weight:900;margin:10px 0 6px}
.guest-prop-grid.studio-collection{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}
.studio-collection button{background:linear-gradient(150deg,#fff,#f7f1f8);min-height:90px;padding:8px 4px;border-color:#e1d5e5}
.studio-collection button img{width:76px;height:47px}
#test-ai-jump:not(.ai-ready){background:#fff6de;color:#513843;border-color:#dac8a3}
@media(max-width:680px){
 body.guest:has(.shot-editor[data-edit-mode="single"]){height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
 body.guest:has(.shot-editor[data-edit-mode="single"]) #screen{height:100%;min-height:0;overflow:hidden;padding:0 8px;margin:0 auto}
 body.guest .shot-editor[data-edit-mode="single"]{height:100%;grid-template-rows:auto minmax(0,1fr)}
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock{position:relative;grid-template-rows:auto auto;z-index:1;background:#fffbff;border-bottom:1px solid #d9c9e7;box-shadow:none}
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock>.preview{border:1px solid #d8c8df;background:#fff;padding:4px;box-shadow:0 2px 8px #3d24441c}
 body.guest .shot-editor[data-edit-mode="single"] .edit-dock canvas{border-radius:10px;max-height:34dvh;object-fit:contain;box-shadow:none}
 body.guest .shot-editor[data-edit-mode="single"] .dock-shots{display:block;grid-area:2/1/3/-1}
 body.guest .shot-editor[data-edit-mode="single"] .dock-shots button{display:flex;align-items:center;justify-content:center;gap:5px;padding:4px}
 body.guest .shot-editor[data-edit-mode="single"] .dock-shots button small{display:none}
 .shot-swipe-hint{display:block;text-align:center;font-size:.69rem;color:#5d4568;padding:4px 0 0}
 body.guest .shot-editor[data-edit-mode="single"] .controls{height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:3px 1px max(12px,env(safe-area-inset-bottom));scrollbar-width:thin}
 body.guest .shot-editor[data-edit-mode="single"] .control-shots,
 body.guest .shot-editor[data-edit-mode="single"] .controls:not([data-tool="backdrop-tools"]) #backdrop-tools,
 body.guest .shot-editor[data-edit-mode="single"] .controls:not([data-tool="finish-tools"]) :is(#finish-tools,.crop-request),
 body.guest .shot-editor[data-edit-mode="single"] .controls:not([data-tool="message-tools"]) #message-tools,
 body.guest .shot-editor[data-edit-mode="single"] .controls:not([data-tool="guest-props"]) #guest-props,
 body.guest .shot-editor[data-edit-mode="single"] .controls:not([data-tool="ai-tools"]) #ai-tools{display:none}
 body.guest .shot-editor[data-edit-mode="single"] .edit-quick button[aria-pressed="true"]{background:#e9ff89;border-color:#5d4929}
}
.ai-confirm{display:grid;gap:9px;padding:10px 0 1px;border-top:1px solid #dfcfe9}
.ai-confirm .checks{min-height:44px}
.ai-confirm .checks input{flex:none}
.ai-confirm .primary{min-height:48px}
.ai-confirm #ai-form-error:empty{display:none}
