/* Version 3 : jamais de gros bouton avant le titre */
.gmas-swipe-launch { display:none !important; }
.gmas-swipe-autothumbs { display:flex; gap:9px; overflow-x:auto; padding:12px 0 10px; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
.gmas-swipe-autothumb { flex:0 0 94px; width:94px; height:72px; background:#17191d; padding:3px; border:2px solid #41434b; border-radius:10px; overflow:hidden; cursor:pointer; scroll-snap-align:start; }
.gmas-swipe-autothumb:hover,.gmas-swipe-autothumb:focus-visible { border-color:#f02042; }
.gmas-swipe-autothumb img { width:100%;height:100%;object-fit:cover;display:block;border-radius:6px; }
/* Les miniatures existantes restent à leur place et deviennent cliquables. */
.gmplus-photo-thumb, .gmas-swipe-autothumb { touch-action:manipulation; }
.gmas-swipe-lightbox[hidden] { display:none!important; }
.gmas-swipe-lightbox { position:fixed;inset:0;z-index:2147483640;background:#08090bf9;color:#fff;display:flex;align-items:center;justify-content:center; }
.gmas-swipe-toolbar { position:absolute;z-index:5;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:max(14px,env(safe-area-inset-top)) 16px 8px;pointer-events:none; }
.gmas-swipe-count { font:600 15px system-ui,Arial,sans-serif;color:white;text-shadow:0 2px 5px #000; }
.gmas-swipe-close { pointer-events:auto;width:44px;height:44px;border:0;border-radius:50%;background:#32343bd9;color:white;font:30px/1 Arial,sans-serif;cursor:pointer; }
.gmas-swipe-stage { width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:72px 54px 65px;touch-action:pan-y; }
.gmas-swipe-image { display:block;max-width:100%;max-height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none; }
.gmas-swipe-arrow { position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:44px;height:55px;border:0;border-radius:10px;color:#fff;background:#30323ecb;font:44px/1 Arial,sans-serif;cursor:pointer;padding:0; }
.gmas-swipe-prev {left:6px;} .gmas-swipe-next {right:6px;}
.gmas-swipe-hint { position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:0;right:0;text-align:center;font:12px system-ui,Arial,sans-serif;color:#ddd;pointer-events:none; }
body.gmas-swipe-open { overflow:hidden!important; }
@media(max-width:600px) { .gmas-swipe-stage{padding:74px 8px 98px;} .gmas-swipe-arrow{top:auto;bottom:53px;transform:none;width:42px;height:42px;font-size:32px;} .gmas-swipe-prev{left:20px;} .gmas-swipe-next{right:20px;} }
