/* Photo Booth — module isolé, sans modification du design Chronicle existant */
.photobooth-shell{width:min(980px,calc(100% - 36px));margin:0 auto;padding:28px 0 100px}
.photobooth-heading{max-width:720px;margin:0 auto 26px;text-align:center}.photobooth-heading h1{margin:10px 0 12px;font:600 clamp(46px,7vw,78px)/.94 var(--chronicle-serif);letter-spacing:-.055em;color:var(--chronicle-ink)}.photobooth-heading p{max-width:610px;margin:0 auto;color:var(--chronicle-muted);font-size:13px;line-height:1.6}
.photobooth-app{max-width:760px;margin:0 auto}.photobooth-frame-strip-wrap{position:relative;margin:0 -4px 14px}.photobooth-frame-strip{display:flex;gap:10px;overflow-x:auto;padding:5px 4px 10px;scroll-snap-type:x proximity;scrollbar-width:none}.photobooth-frame-strip::-webkit-scrollbar{display:none}.photobooth-frame-thumb{flex:0 0 82px;border:0;background:transparent;color:var(--chronicle-muted);font:700 9px var(--chronicle-ui);cursor:pointer;scroll-snap-align:center;padding:0}.photobooth-frame-thumb>span{width:76px;height:76px;margin:auto;display:grid;place-items:center;border:1px solid var(--chronicle-line);border-radius:21px;overflow:hidden;background:var(--chronicle-surface);box-shadow:0 6px 20px rgba(0,0,0,.04);transition:.2s ease}.photobooth-frame-thumb img{width:100%;height:100%;object-fit:contain}.photobooth-frame-thumb small{display:block;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photobooth-frame-thumb.is-selected{color:var(--chronicle-ink)}.photobooth-frame-thumb.is-selected>span{border-color:var(--chronicle-ink);transform:translateY(-2px);box-shadow:0 9px 24px rgba(0,0,0,.11)}
.photobooth-stage-card{padding:12px;border:1px solid var(--chronicle-glass-border);border-radius:30px;background:var(--chronicle-glass);box-shadow:0 24px 70px rgba(0,0,0,.10),inset 0 1px 0 var(--chronicle-glass-highlight);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.photobooth-stage{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:22px;background:#15181d;touch-action:none;user-select:none;-webkit-user-select:none}.photobooth-stage video,.photobooth-stage canvas,.photobooth-frame-overlay{position:absolute;inset:0;width:100%;height:100%}.photobooth-stage video{object-fit:cover;display:none}.photobooth-stage video.is-selfie{transform:scaleX(-1)}.photobooth-stage canvas{display:none}.photobooth-frame-overlay{z-index:4;object-fit:fill;pointer-events:none}.photobooth-camera-placeholder{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#fff;text-align:center;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.08),transparent 30%)}.photobooth-camera-placeholder svg{width:42px;height:42px;opacity:.85}.photobooth-camera-placeholder strong{font:600 24px var(--chronicle-serif)}.photobooth-camera-placeholder span{font-size:10px;color:rgba(255,255,255,.62)}.photobooth-gesture-hint{position:absolute;z-index:6;left:50%;bottom:14px;transform:translateX(-50%);white-space:nowrap;padding:8px 12px;border-radius:999px;background:rgba(0,0,0,.52);color:#fff;font-size:9px;font-weight:700;backdrop-filter:blur(10px);display:none}.photobooth-status{padding:10px 7px 2px;color:var(--chronicle-muted);text-align:center;font-size:9px;min-height:22px}
.photobooth-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.photobooth-action{min-height:60px;padding:7px;border:1px solid var(--chronicle-line);border-radius:18px;background:var(--chronicle-surface);color:var(--chronicle-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font:800 9px var(--chronicle-ui);cursor:pointer;text-decoration:none}.photobooth-action svg{width:21px;height:21px}.photobooth-action:disabled{opacity:.35;cursor:default}.photobooth-action:active{transform:scale(.97)}
.photobooth-editor-controls{margin-top:8px;padding:10px 13px;border:1px solid var(--chronicle-line);border-radius:17px;background:var(--chronicle-surface);display:flex;align-items:center;gap:12px}.photobooth-editor-controls label{flex:1;display:flex;align-items:center;gap:10px;font-size:9px;font-weight:800}.photobooth-editor-controls input{flex:1}.photobooth-editor-controls button,.photobooth-result-head button{border:1px solid var(--chronicle-line);border-radius:999px;background:var(--chronicle-chip);color:var(--chronicle-ink);padding:8px 12px;font-size:9px;font-weight:800;cursor:pointer}
.photobooth-shutter-row{display:flex;align-items:center;justify-content:center;gap:13px;margin:18px 0}.photobooth-shutter{width:66px;height:66px;border-radius:50%;border:2px solid var(--chronicle-ink);background:transparent;padding:5px;cursor:pointer;flex:none}.photobooth-shutter>span{display:block;width:100%;height:100%;border-radius:50%;background:var(--chronicle-ink);transition:transform .12s ease}.photobooth-shutter:active>span{transform:scale(.87)}.photobooth-shutter-row>div{display:flex;flex-direction:column;gap:2px}.photobooth-shutter-row strong{font-size:11px;color:var(--chronicle-ink)}.photobooth-shutter-row small{max-width:300px;font-size:8px;color:var(--chronicle-muted);line-height:1.45}
.photobooth-result{margin-top:22px;padding-top:22px;border-top:1px solid var(--chronicle-line)}.photobooth-result-head{display:flex;align-items:end;justify-content:space-between;gap:15px}.photobooth-result-head h2{margin:5px 0 0;font:600 31px var(--chronicle-serif);letter-spacing:-.04em}.photobooth-result-preview{margin:14px 0;border-radius:24px;overflow:hidden;background:var(--chronicle-chip);box-shadow:var(--chronicle-shadow)}.photobooth-result-preview img{display:block;width:100%;height:auto}.photobooth-download{height:52px;border-radius:18px;background:var(--chronicle-ink);color:var(--chronicle-bg);display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:11px;font-weight:800}.photobooth-empty{max-width:620px;margin:40px auto;text-align:center;padding:55px 24px;border:1px solid var(--chronicle-line);border-radius:28px;background:var(--chronicle-surface)}.photobooth-empty-icon{font-size:46px}.photobooth-empty h2{font:600 31px var(--chronicle-serif);margin:12px 0 8px}.photobooth-empty p{color:var(--chronicle-muted);font-size:12px}
@media(max-width:640px){.photobooth-shell{width:calc(100% - 18px);padding:16px 0 118px}.photobooth-heading{text-align:left;padding:0 6px;margin-bottom:18px}.photobooth-heading h1{font-size:45px}.photobooth-heading p{font-size:11px}.photobooth-frame-strip-wrap{margin:0 -9px 9px}.photobooth-frame-strip{padding:5px 12px 9px;gap:8px}.photobooth-frame-thumb{flex-basis:68px}.photobooth-frame-thumb>span{width:64px;height:64px;border-radius:18px}.photobooth-frame-thumb small{font-size:7px}.photobooth-stage-card{padding:7px;border-radius:25px}.photobooth-stage{border-radius:20px}.photobooth-actions{margin-top:9px}.photobooth-action{min-height:54px;border-radius:16px}.photobooth-shutter-row{margin:15px 2px}.photobooth-shutter{width:62px;height:62px}.photobooth-shutter-row small{font-size:7px}.photobooth-result-preview{border-radius:20px}}
