/* Popup surfaces only: keep native open/hidden states, positions, scroll areas and actions. */
@layer gm-camera37 {
 html body [data-gm107-popup="light"]{--gm107-ink:#171717;--gm107-muted:#626262;--gm107-line:#dedede;--gm107-field:#f8f8f8;--gm107-surface:#fff;background:#fff!important;background-image:none!important;color:#171717!important;border-color:#dedede!important;border-radius:22px!important;box-shadow:0 20px 70px #00000026!important}
 html body [data-gm107-popup="dark"]{--gm107-ink:#f6f6f6;--gm107-muted:#c3c3c8;--gm107-line:#45464c;--gm107-field:#2b2c31;--gm107-surface:#202124;background:#202124!important;background-image:none!important;color:#f6f6f6!important;border-color:#45464c!important;border-radius:22px!important;box-shadow:0 20px 70px #0000004d!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(h1,h2,h3,header>b,.panel-head>b){color:var(--gm107-ink)!important;font-family:inherit!important;font-weight:750!important;letter-spacing:-.025em!important;line-height:1.3!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(p,small,.gm-dialog-description):not([role=alert]):not(.error):not(.danger):not(.success):not([class$="-error"]):not([class$="-danger"]){color:var(--gm107-muted)!important;line-height:1.65!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=color]),textarea,select){background:var(--gm107-field)!important;color:var(--gm107-ink)!important;border-color:var(--gm107-line)!important;border-radius:12px!important;font-family:inherit!important;font-size:16px!important;line-height:1.5!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(input,textarea)::placeholder{color:var(--gm107-muted)!important;opacity:1!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) button{border-radius:12px!important;font-family:inherit!important;font-weight:650!important;line-height:1.4!important}
 html body [data-gm107-popup="light"] button:where(:not(.gm-actu-danger):not(.gm79-danger):not(.gm-mo-danger):not(.gm-cp-danger):not(.btn-danger):not(.danger)){background:#171717!important;background-image:none!important;color:#fff!important;border-color:#171717!important}
 html body [data-gm107-popup="dark"]:where(:not(.gm-call-popup):not(.gm40-settings):not(.live-bottom-sheet)) button:where(:not(.gm-actu-danger):not(.gm79-danger):not(.gm-mo-danger):not(.gm-cp-danger):not(.btn-danger):not(.danger)){background:#34353a!important;background-image:none!important;color:#fff!important;border-color:#4a4b51!important}
 html body [data-gm107-popup="dark"] :is(.gm-actu-secondary,.gm79-secondary,.gm-friend-secondary,.gm-cp-secondary,[data-no],[data-dialog-cancel]){background:#34353a!important;background-image:none!important;color:#fff!important;border-color:#4a4b51!important}
 html body [data-gm107-popup="dark"]:where(:not(.gm-call-popup):not(.gm40-settings):not(.live-bottom-sheet)) :is(button[aria-pressed=true],button[aria-selected=true]){background:#f4f4f4!important;background-image:none!important;color:#171717!important;border-color:#f4f4f4!important}
 html body [data-gm107-popup="light"] :is(.gm-actu-secondary,.gm79-secondary,.gm-friend-secondary,.gm-cp-secondary,[data-no],[data-dialog-cancel],button[aria-pressed=false],button[aria-selected=false]){background:#f2f2f2!important;background-image:none!important;color:#171717!important;border-color:#dedede!important}
 html body [data-gm107-popup="light"] :is(.gm-dialog-close,.gm-message-dialog-close,.gm-reels-menu-close,.gm-select-close,.gm-friend-close,.gm-mo-close,.gm-cp-close,header>button[aria-label="Fermer"],.panel-close){background:#f2f2f2!important;background-image:none!important;color:#171717!important;border-color:#dedede!important;border-radius:50%!important}
 html body [data-gm107-popup="light"] button :is(span,svg){color:inherit!important}
 html body [data-gm107-popup="dark"] :is(.gm-dialog-close,.gm-message-dialog-close,.gm-reels-menu-close,.gm-select-close,.gm-mo-close,.gm-cp-close,header>button[aria-label="Fermer"],.panel-close){background:#34353a!important;background-image:none!important;color:#fff!important;border-color:#4a4b51!important;border-radius:50%!important}
 html body [data-gm107-popup].is-danger [data-yes],html body [data-gm107-popup].is-delete .gm-message-confirm{background:#d93857!important;border-color:#d93857!important;color:#fff!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(button,input,textarea,select,a):focus-visible{outline:2px solid var(--gm107-ink)!important;outline-offset:3px!important}
 html body dialog[data-gm107-popup="light"]::backdrop,html body dialog[data-gm107-popup="dark"]::backdrop{background:#0008!important;backdrop-filter:none!important}
 html body [data-gm107-popup="immersive"]>header :is(h2,b){letter-spacing:-.025em!important;line-height:1.3!important}
 @media(hover:hover) and (pointer:fine){html body [data-gm107-popup="light"] button{transition:background-color .12s ease,border-color .12s ease}}
 @media(prefers-reduced-motion:reduce){html body [data-gm107-popup] button{transition:none!important}}
}
@layer gm-camera37 {
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]){box-sizing:border-box!important}
 html body dialog[data-gm107-popup]:not([data-gm107-popup="immersive"]):not(.gm-media-sheet){max-width:calc(100vw - 24px)!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=color]),textarea,select){box-sizing:border-box!important;max-width:100%!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(footer,.gm79-dialog-actions,.gm-dialog-actions,.gm-cp-actions){flex-wrap:wrap!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) button{white-space:normal!important;overflow-wrap:anywhere!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) footer button{min-width:0!important}
}
@layer gm-camera37 {
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=color]),select){min-height:44px!important;padding:10px 12px!important}
 html body [data-gm107-popup]:not([data-gm107-popup="immersive"]) textarea{padding:10px 12px!important}
}
/* Real link over the existing feed thumbnail; the reader remains reels.php. */
.gm-actu-modern .gm-video-clickable>a.gm107-video-link{position:absolute!important;inset:0!important;z-index:2!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;text-decoration:none!important;color:#fff!important;background:linear-gradient(transparent 55%,#0004)!important;cursor:pointer!important;border:0!important}
.gm-actu-modern .gm107-video-play{display:grid;place-items:center;width:58px;height:58px;border:1px solid #ffffffcc;border-radius:50%;background:#0009;color:#fff;font:24px/1 system-ui;padding-left:3px;box-shadow:0 4px 18px #0003}
.gm-actu-modern .gm107-video-caption{padding:7px 12px;background:#000a;color:#fff;border-radius:999px;font:650 12px/1.4 system-ui}
.gm-actu-modern .gm107-video-link:focus-visible{outline:3px solid #fff!important;outline-offset:-5px!important}
.gm107-video-tail{box-sizing:border-box;min-height:35dvh;padding:40px 20px;text-align:center;background:#101010;color:#eee;scroll-snap-align:start}
.gm107-video-tail p{font:14px/1.65 system-ui}.gm107-video-tail button{min-height:44px;border-radius:12px;border:1px solid #888;background:#fff;color:#171717;padding:10px 16px;font:650 14px/1.4 system-ui;cursor:pointer}
.gm107-video-tail [hidden]{display:none!important}

html body :is(.gm-toast,.gm-actu-toast,.gm-reaction-toast,.gm-global-notification-toast){border-radius:16px;box-shadow:0 8px 28px #0002;line-height:1.5}
