.creator-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.creator-photo-actions button{min-height:48px;padding:10px;font:inherit;font-weight:700;border:1px solid #123f32;border-radius:9px;background:#fffdf6;color:#123f32}.creator-photo-actions button:last-child{background:#123f32;color:#fff9e9}.creator-camera{box-sizing:border-box;width:min(100% - 24px,520px);max-height:calc(100dvh - 24px);padding:16px;border:0;border-radius:18px;background:#fff9e9;color:#123f32;overflow:auto;overscroll-behavior:contain}.creator-camera::backdrop{background:#061e16dd}.creator-camera[open]{display:flex;flex-direction:column;gap:12px}.creator-camera header{display:flex;align-items:center;justify-content:space-between;gap:12px}.creator-camera h2{margin:0;font-size:21px}.creator-camera button{min-height:44px;font:inherit;border-radius:8px;border:1px solid #9aa99e;background:#fffdf6;color:#123f32;cursor:pointer}.creator-camera button:disabled{opacity:.5;cursor:default}.creator-camera-stage{position:relative;border-radius:12px;overflow:hidden;background:#0b2119;flex:none;min-height:120px}.creator-camera video{display:block;width:100%;height:min(46dvh,430px);object-fit:contain}.creator-camera video.is-selfie{transform:scaleX(-1)}.creator-camera-stage p{padding:10px 12px;margin:0;color:#fff9e9;font-size:14px;line-height:1.4}.creator-camera-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.creator-camera-controls [data-camera=shoot]{background:#123f32;color:#fff9e9;font-weight:700}.creator-camera-hint{font-size:13px;line-height:1.4;margin:0}.creator-camera-shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.creator-camera-shots>div{display:grid;gap:4px;min-width:0}.creator-camera-pick{padding:0;overflow:hidden}.creator-camera-pick img{width:100%;height:100px;object-fit:cover;display:block}.creator-camera-fallback{display:flex;gap:8px;flex-wrap:wrap}.creator-camera-fallback button{flex:1;padding:8px}.creator-camera [hidden]{display:none!important}.creator-camera button:focus-visible,.creator-photo-actions button:focus-visible{outline:3px solid #bd9845;outline-offset:3px}
@media(max-width:650px){.creator-layout{gap:18px!important}.creator-layout>div:last-child{order:-1}.creation-native-art{max-width:240px;margin-inline:auto}.creator-camera{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:12px 14px max(14px,env(safe-area-inset-bottom));border-radius:0}.creator-camera video{height:min(43dvh,400px)}.creator-camera-shots img{height:85px}#creation-carte{padding:14px!important}.creator-layout form{gap:12px!important}}

#creation-carte [hidden]{display:none!important}
.creator-camera header{position:sticky;top:0;z-index:2;background:#fff9e9;padding-bottom:8px;flex:none}
.creator-camera-pick[aria-pressed=true]{border:3px solid #123f32}.creator-camera-pick span{display:block;padding:6px 2px;font-size:13px;font-weight:700}.creator-camera [data-camera=keep]{background:#123f32;color:#fff9e9;font-weight:700;flex:none;padding:10px}.creator-retained{margin-top:14px}.creator-retained h3{margin:0;font-size:17px}.creator-retained p{font-size:13px;line-height:1.4}.creator-retained-shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.creator-retained-shots>div{display:grid;gap:4px;min-width:0}.creator-retained-shots img{display:block;width:100%;height:85px;object-fit:cover;border-radius:7px}.creator-retained-shots button,.creator-retained-shots a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 2px;border:1px solid #9aa99e;border-radius:7px;background:#fffdf6;color:#123f32;font:inherit;font-size:13px;line-height:1.2;text-align:center}.creator-retained-shots [aria-pressed=true]{background:#123f32;color:#fff9e9}.creator-retained-shots button:focus-visible,.creator-retained-shots a:focus-visible{outline:3px solid #bd9845;outline-offset:2px}

.creator-photo-actions [data-camera=choose]{grid-column:1/-1}
.creator-photo-actions [data-camera^=open-]{background:#123f32;color:#fff9e9}
.creator-camera-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}
.creator-camera-modes button{min-height:48px;padding:8px;font-weight:700}
.creator-camera-modes [aria-pressed=true]{background:#123f32;color:#fff9e9;border-color:#123f32}
.creator-camera-controls{grid-template-columns:1fr}
.creator-camera header{display:block}
.creator-camera-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.creator-camera-heading+.creator-camera-modes{margin-top:8px}

/* 1.0.35 (Rudy) : un seul bouton « Selfie » à côté de « Choisir une photo » (la caméra arrière se choisit dans la fenêtre). */
#creation-carte .creator-photo-actions{grid-template-columns:1fr 1fr}
#creation-carte .creator-photo-actions [data-camera=choose]{grid-column:auto}
/* 1.0.35 (Rudy) : la croix, caméra avant/arrière, l'aperçu et le déclencheur forment un seul bloc fixe ;
   seules les prises défilent en dessous (jusqu'à 12). */
.creator-camera header{position:static}
.creator-camera[open]{overflow:hidden}
.creator-camera[open]>*{flex:none}
.creator-camera[open]>.creator-camera-shots{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78px;overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;padding-bottom:4px}
.creator-camera-shots .creator-camera-pick img{height:66px}
.creator-camera-shots .creator-camera-pick span{padding:4px 2px;font-size:12px}
.creator-camera-shots>div>button:not(.creator-camera-pick){min-height:34px;padding:2px;font-size:12px}
@media(max-width:650px){
.creator-camera[open]>.creator-camera-stage{flex:1 1 0;min-height:150px;display:flex;flex-direction:column}
.creator-camera[open] video{flex:1 1 0;min-height:0;height:auto}
}
/* Écran très bas (téléphone couché) : tout défile ensemble plutôt que de couper l'aperçu. */
@media(max-height:560px){.creator-camera[open]{overflow:auto}.creator-camera[open]>.creator-camera-stage{flex:none;display:block}.creator-camera[open] video{height:62dvh}}
