/* ============================================================

   FONTS

   ============================================================ */

@font-face {

    font-family: 'Work';

    font-style: normal;

    font-weight: 400;

    font-display: swap;

    src: url('/font/Work-Regular.woff2') format('woff2');

}



@font-face {

    font-family: 'Work';

    font-style: normal;

    font-weight: 700;

    font-display: swap;

    src: url('/font/Work-Bold.woff2') format('woff2');

}

:root {

  --bg: #141414;

  --surface: #1a1a1a;

  --surface2: rgba(255, 255, 255, 0.08);



  --border: rgba(255, 255, 255, 0.15);



  --text: #ffffff;

  --muted: rgba(255, 255, 255, 0.52);



  --accent: #e8c97a;



  --radius: 10px;

  --font: 'Work', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,

    Ubuntu, Cantarell, sans-serif;



  --c1: #3498db;

  --c2: #1abc9c;

  --c3: #3dc97a;

  --red: #ff6b6b;



  --surf: rgba(255, 255, 255, 0.05);

  --ease: cubic-bezier(.22, 1, .36, 1);



  --volt: #c8f135;

  --ink: #0a0a0f;



  --header-height: 56px;

}

html {

  scrollbar-color: black #333;

  scrollbar-width: thin;

}



::-webkit-scrollbar {

  width: 10px;

}



::-webkit-scrollbar-track {

  background: #333;

}



::-webkit-scrollbar-thumb {

  background-color: black;

  border-radius: 10px;

  border: 2px solid #555;

}

  * { box-sizing: border-box; margin: 0; padding: 0; }



body:not(.slider-page) {

    display: block !important;

    overflow: auto !important;

    height: auto !important;

    min-height: 100vh;

    padding-top: var(--header-height, 56px);

    background: #07080f;

    color: #fff;

    font-family: 'Work', -apple-system, sans-serif;

}



body:has(.absolute-header) {

    padding-top: 0 !important;

}



  body {

    background: var(--bg);

    color: var(--text);

    font-family: var(--font);

    min-height: 100vh;

    display: flex;

    flex-direction: column;

  }

.header-like {

    border-bottom: 1px solid var(--border);

    align-items: baseline;

    flex-wrap: wrap;

        min-height: 49px;

}

  .header-like h1 {

    font-size: 16px;

    font-weight: normal;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--accent);

  }



  /* ==========================================================

   HEADER RIGHT / ACCOUNT MENU

   ========================================================== */



.header-h1 a {

  color: inherit;

  text-decoration: none;

}



.header-right {

  display: flex;

  align-items: center;

  margin-left: auto;

  gap: 12px;

}

.no-underline{



  text-decoration: none;

}





/* ============================================================

   NAVIGATION DESKTOP CLASSIQUE (.nav-center)

   ============================================================ */

.nav-center {

    display: flex;

    align-items: center;

    gap: 25px;

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    font-family: 'Work', -apple-system, sans-serif;

}



.nav-link {

    text-decoration: none;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;

    font-weight: 500;

    transition: color 0.3s;

    font-family: 'Work', -apple-system, sans-serif;

}



.nav-link:hover {

    color: #fff;

}



.nav-link.active {

    color: #fff;

    position: relative;

}



.nav-link.active::after {

    content: '';

    position: absolute;

    bottom: -8px;

    left: 0;

    right: 0;

    height: 2px;

    background: linear-gradient(90deg, #3498db, #1abc9c);

    border-radius: 2px;

}



/* ============================================================

   UTILITAIRES MOBILES (Séparateurs & Liens couleurs)

   ============================================================ */

.mobile-section-sep {

    height: 1px;

    background: rgba(255, 255, 255, 0.15);

    margin: 8px 0;

    opacity: 0.4;

}



.mobile-link--section {

    display: inline-block;

    padding: 2px 8px;

    border-radius: 3px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;

    margin: 4px 0;

}



.mobile-link--whatsapp { color: #25d366; }

.mobile-link--linkedin { color: #0077b5; }



/* ============================================================

   VARIABLES GLOBALES & RESET (variables déjà fusionnées dans le :root en tête de fichier)

   ============================================================ */

body.no-scroll {

    overflow: hidden !important;

}

.mm-legal {
  flex-shrink: 0;
  text-align: center;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  margin-top: 64px;
}
.mm-legal a{
  font-size:.75rem;
  font-weight:500;
  color:var(--muted);
  text-decoration:none;
  opacity:.7;
  transition:opacity .2s ease, color .2s ease;
}
.mm-legal a:hover, .mm-legal a:focus-visible{
  opacity:1;
  color:#fff;
  text-decoration:underline;
}

/* ============================================================

   HEADER GLOBAL

   ============================================================ */

.site-header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    height: var(--header-height);

    background: rgba(10, 10, 15, 0.85);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 1.5rem;

    z-index: 1000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    font-family: 'Work', -apple-system, sans-serif;

}



.absolute-header {

    position: absolute !important;

    background: transparent !important;

    box-shadow: none !important;

    border-bottom-color: rgba(255, 255, 255, 0.05) !important;

}



.header-left, .header-right {

    display: flex;

    align-items: center;

    gap: 1rem;

}



@media (max-width: 1024px) {

    .header-h1 {

        display: none;

    }

}



/* Titre H1 central discret */

.header-h1 {

    font-size: 0.92rem;

    font-weight: 500;

    color: rgba(255, 255, 255, 0.77);

    margin: 0;

    text-align: center;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 30vw;

    letter-spacing: .92px;

    font-family: 'Work', -apple-system, sans-serif;

}

.header-h1 a {

    text-decoration: none;

    color: inherit;

}



/* ============================================================

   LOGO

   ============================================================ */

.logo {

    display: flex;

    align-items: center;

    text-decoration: none;

    font-family: 'Work', -apple-system, sans-serif;

    font-weight: 700;

    font-size: 1.1rem;

    position: relative;

}



.logo-part-2 { color: #fff; transition: color 0.3s ease; font-size: 1.13em; }

.logo-ext { color: rgba(255, 255, 255, 0.5); transition: color 0.3s ease; }

.album-logo {color: gold;font-size: 13px; }

.logo:hover .logo-part-2 { color: #3498db; text-shadow: 0 0 10px rgba(52, 152, 219, 0.4); }

.logo:hover .logo-part-2.lab { color: var(--volt); text-shadow: 0 0 10px rgba(200, 241, 53, 0.4); }

.logo:hover .logo-part-2.album { color: #e8c97a; text-shadow: 0 0 10px rgba(232, 201, 122, 0.4); }

.logo:hover .logo-ext { color: #fff; }



@keyframes lightning-strike {

    0%, 85%, 90%, 95% { transform: scale(1) translateY(0); opacity: 1; }

    88% { transform: scale(1.5) translateY(-2px); opacity: .7; }

    92% { transform: scale(1.4) translateY(-1px); opacity: .8; }

}



/* ============================================================

   ANIMATIONS & DROPDOWNS COMMUNS (Lang & Section Switcher)

   ============================================================ */

.section-switcher, .lang-selector {

    position: relative;

    display: inline-flex;

    align-items: center;

    align-self: center;

    --dropdown-gap: 12px;

    height: max-content !important;

}



.section-switcher::after, .lang-selector::after {

    content: '';

    position: absolute;

    top: 100%; left: 0; right: 0;

    height: var(--dropdown-gap);

}



.section-dropdown, .lang-dropdown {

    position: absolute;

    top: calc(100% + var(--dropdown-gap));

    left: 0;

    display: flex;

    flex-direction: column;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 8px;

    min-width: 130px;

    z-index: 1400;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);



    pointer-events: none;

    opacity: 0;

    transform: translateY(-10px) scale(0.95);

    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),

                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}



.lang-dropdown { right: auto; left: 0; }



@media (hover: hover) {

    .section-switcher:hover .section-dropdown,

    .lang-selector:hover .lang-dropdown {

        opacity: 1;

        transform: translateY(0) scale(1);

        pointer-events: auto;

    }

}



.section-switcher.open .section-dropdown,

.lang-selector.open .lang-dropdown {

    opacity: 1;

    transform: translateY(0) scale(1);

    pointer-events: auto;

}



/* ============================================================

   SECTION SWITCHER SPECIFIC

   ============================================================ */

.section-trigger {

    display: inline-flex; align-items: center; gap: 4px;

    padding: 4px 8px; border-radius: 4px;

    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;

    letter-spacing: 1px; cursor: pointer; border: none;

    transition: transform 0.2s, opacity 0.2s;

}



.section-trigger:hover { transform: scale(1.05); }



.label-agency { background: linear-gradient(130deg, var(--c1), var(--c2)); color: #fff; }

.label-lab    { background: var(--volt); color: black!important; }

.label-album  { background: #e8c97a!important; color: black!important; }



/* Items du section-dropdown (fusion des deux déclarations d'origine) */

.section-dropdown a {

    padding: 8px 12px;

    text-decoration: none; color: #fff;

    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;

    letter-spacing: 1px;

    transition: opacity 1.3s ease-in-out, background 1.3s ease-in-out;

    cursor: pointer;

    border-radius: 6px;

    margin-top: 5px;

}

.section-dropdown a:hover { background: rgba(255,255,255,0.05); padding-left: 16px; }

.section-dropdown a.current { opacity: 1; border: 2.6px solid white; }



/* Hover : pleine opacité + couleur de la section */

.section-dropdown a.label-agency:hover  { opacity: 1; background: linear-gradient(130deg, var(--c1), var(--c2)); }

.section-dropdown a.label-lab:hover     { opacity: 1; background: var(--volt);   color: black; }

.section-dropdown a.label-album:hover   { opacity: 1; background: #e8c97a;  color: black; }



/* ============================================================

   LANG SELECTOR SPECIFIC

   ============================================================ */

/* .lang-trigger : fusion des deux déclarations d'origine (la 2e gagnait déjà en cascade sur padding/border-radius/color/transition) */

.lang-trigger {

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 4px 6px;

    border-radius: 6px;

    font-size: 0.75rem;

    font-weight: 600;

    text-transform: uppercase;

    color: var(--text);

    cursor: pointer;

    background: rgba(255,255,255,0.05);

    transition: background 0.18s ease, color 0.18s ease;

}

.lang-trigger:hover { background: rgba(255,255,255,0.15); transform: translateY(-1px); }



.lang-dropdown a {

    display: flex; align-items: center; gap: 8px;

    padding: 10px 14px; text-decoration: none; color: #fff;

    font-size: 0.8rem; font-weight: 500; transition: background 0.2s;

}

.lang-dropdown a:hover { background: rgba(255,255,255,0.1); }

.lang-code {

    font-size: 0.65rem; font-weight: 700; background: rgba(255,255,255,0.1);

    padding: 2px 4px; border-radius: 3px;

}



.lang-trigger:hover,

.lang-trigger[aria-expanded="true"] {

    background: var(--surface2, rgba(255,255,255,0.08));

    color: var(--accent);

}

.lang-trigger:focus-visible {

    outline: 2px solid var(--accent);

    outline-offset: 2px;

}



.lang-chevron {

    flex-shrink: 0;

    color: var(--muted, currentColor);

    opacity: 0.8;

    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),

                color 0.18s ease, opacity 0.18s ease;

}

.lang-trigger:hover .lang-chevron,

.lang-trigger[aria-expanded="true"] .lang-chevron {

    color: var(--accent);

    opacity: 1;

    transform: rotate(180deg);

}

.lang-selector.open .lang-trigger .lang-chevron {

    color: var(--accent);

    opacity: 1;

    transform: rotate(180deg);

}



/* Langue actuellement sélectionnée dans le dropdown (fusion des deux déclarations .lang-dropdown a.current) */

.lang-dropdown a.current {

    color: var(--accent);

    background: var(--surface2, rgba(255,255,255,0.06));

    font-weight: 600;

    pointer-events: none;

}

.lang-dropdown a.current .lang-code {

    color: var(--accent);

}



/* ============================================================

   BURGER — bouton rond aligné sur le style avatar / loupe

   ============================================================ */

.burger-btn{

  width:36px;height:36px;border-radius:50%;

  display:flex;align-items:center;justify-content:center;

  background:rgba(255,255,255,.08);

  border:none;cursor:pointer;flex-shrink:0;

  position:relative;z-index:1002;

  transition:background .2s ease;

}

.burger-btn:hover{background:rgba(255,255,255,.18);}

.burger-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

.burger-icon{position:relative;width:16px;height:12px;}

.burger-line{

  position:absolute;left:0;width:100%;height:2px;

  background:#fff;border-radius:2px;

  transition:transform .35s cubic-bezier(.4,0,.2,1),

             top .35s cubic-bezier(.4,0,.2,1),

             opacity .2s ease;

}

.burger-line:nth-child(1){top:0;}

.burger-line:nth-child(2){top:5px;}

.burger-line:nth-child(3){top:10px;}

.burger-btn.is-open .burger-line:nth-child(1){top:5px;transform:rotate(45deg);}

.burger-btn.is-open .burger-line:nth-child(2){opacity:0;}

.burger-btn.is-open .burger-line:nth-child(3){top:5px;transform:rotate(-45deg);}



/* ============================================================

   MENU MOBILE — panneau plein écran qui glisse de haut en bas

   ============================================================ */

body.mm-open{overflow:hidden;}

body.mm-open .site-header{position:fixed !important;}



.mm-panel{

  position:fixed; inset:0;

  z-index:900;

  background:var(--ink);

  display:flex; flex-direction:column;

  padding-top:var(--header-height);

  transform:translateY(-100%);

  visibility:hidden;

  transition:transform .5s cubic-bezier(.65,0,.35,1), visibility 0s linear .5s;

}

.mm-panel.open{

  transform:translateY(0);

  visibility:visible;

  transition:transform .5s cubic-bezier(.65,0,.35,1), visibility 0s linear 0s;

  z-index: 999;

}



/* .mm-inner : fusion des deux déclarations d'origine (width:100% ajouté par la 2e) */

.mm-inner {

  flex: 1;

  overflow-y: auto;

  -webkit-overflow-scrolling: touch;

  padding: 8px 20px 0;

  width: 100%;

}



.mm-view[hidden]{display:none;}



/* Fusion des deux media queries 900px sur .mm-inner */

@media (min-width: 900px) {

  .mm-inner {

    max-width: 630px;

    align-self: center;

    margin-left: auto;

    margin-right: auto;

  }

}



.mm-link{

  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;

  padding:20px 4px;background:none;border:none;border-bottom:1px solid var(--border);

  color:#fff;font-size:1.35rem;font-weight:600;text-align:left;cursor:pointer;

  transition:padding-left .2s ease, color .2s ease;text-decoration: none;

}

.mm-link:hover, .mm-link:focus-visible{color:var(--accent);padding-left:8px;}

.mm-link:focus-visible{outline:none;}

.mm-link-label{display:flex;align-items:center;gap:10px;}

.mm-link-count{

  font-size:.85rem;font-weight:700;color:var(--muted);

  background:rgba(255,255,255,.06);padding:4px 11px;border-radius:999px;

  min-width:2.2em;text-align:center;flex-shrink:0;

}

.mm-chevron{flex-shrink:0;color:rgba(255,255,255,.3);}



.mm-link-admin{display:none;}

body.is-admin .mm-link-admin{display:flex;}



/* vue "Lieux" / "Langue" */

.mm-back{

  display:flex;align-items:center;gap:8px;background:none;border:none;color:var(--muted);

  font-size:.9rem;font-weight:600;cursor:pointer;padding:14px 4px;margin-bottom:4px;

}

.mm-back:hover{color:#fff;}

.mm-cat-item .mm-link-count{background:rgba(232,201,122,.12);color:var(--accent);}



.mm-footer{

  flex-shrink:0;padding:18px 20px calc(22px + env(safe-area-inset-bottom));

  border-top:1px solid var(--border);

}
/* ============================================================
   RESEAUX SOCIAUX — BASE & HOVER ELASTIQUE
   ============================================================ */
.bio-socials,
.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bio-socials a,
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s, box-shadow 0.3s;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.bio-socials a svg,
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.bio-socials a:hover,
.social-icon:hover {
  transform: translateY(-4px) scale(1.12);
  filter: brightness(1.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   COULEURS OFFICIELLES DES RÉSEAUX SOCIAUX (14 Réseaux)
   ============================================================ */

/* Instagram */
.social-instagram, [data-social="instagram"], .bio-socials a[href*="instagram.com"] {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* LinkedIn */
.social-linkedin, .social-li, [data-social="linkedin"], .bio-socials a[href*="linkedin.com"] {
  background: #0a66c2;
}

/* WhatsApp */
.social-whatsapp, .social-wa, [data-social="whatsapp"], .bio-socials a[href*="wa.me"], .bio-socials a[href*="whatsapp.com"] {
  background: #25d366;
}

/* Facebook */
.social-facebook, .social-fb, [data-social="facebook"], .bio-socials a[href*="facebook.com"] {
  background: #1877f2;
}

/* X / Twitter */
.social-x, [data-social="x"], .bio-socials a[href*="x.com"], .bio-socials a[href*="twitter.com"] {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* TikTok */
.social-tiktok, [data-social="tiktok"], .bio-socials a[href*="tiktok.com"] {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* YouTube */
.social-youtube, [data-social="youtube"], .bio-socials a[href*="youtube.com"], .bio-socials a[href*="youtu.be"] {
  background: #ff0000;
}

/* Pinterest */
.social-pinterest, [data-social="pinterest"], .bio-socials a[href*="pinterest.com"] {
  background: #e60023;
}

/* Reddit */
.social-reddit, [data-social="reddit"], .bio-socials a[href*="reddit.com"] {
  background: #ff4500;
}

/* Snapchat (icône noire sur fond jaune officiel) */
.social-snapchat, [data-social="snapchat"], .bio-socials a[href*="snapchat.com"] {
  background: #fffc00;
  color: #000000;
}

/* Twitch */
.social-twitch, [data-social="twitch"], .bio-socials a[href*="twitch.tv"] {
  background: #9146ff;
}

/* Telegram */
.social-telegram, [data-social="telegram"], .bio-socials a[href*="t.me"], .bio-socials a[href*="telegram.org"] {
  background: #229ed9;
}

/* Discord */
.social-discord, [data-social="discord"], .bio-socials a[href*="discord.com"], .bio-socials a[href*="discord.gg"] {
  background: #5865f2;
}

/* GitHub */
.social-github, [data-social="github"], .bio-socials a[href*="github.com"] {
  background: #24292e;
}


/* ───────────────────────────────────────

   FOOTER

─────────────────────────────────────── */

.site-footer {

  position: relative!important; z-index: 10!important;

  border-top: 1px solid var(--border)!important;

  background: rgba(0,0,0,.6)!important;

  backdrop-filter: blur(12px)!important;

  padding: 64px 0 0;font-family: 'Work', -apple-system, sans-serif;

  margin-top:64px;

}

.footer-top {

  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;

  padding-bottom: 48px; border-bottom: 1px solid var(--border);

}

.footer-logo {

  font-size: 22px; font-weight: 700; letter-spacing: -.02em;

  background: linear-gradient(130deg, var(--c1), var(--c2));

  -webkit-background-clip: text; -webkit-text-fill-color: transparent;

  background-clip: text;font-family: 'Work', -apple-system, sans-serif;

  margin-bottom: 14px;

}

.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

.footer-socials { display: flex; gap: 10px; }

.fsoc {

  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);

  display: grid; place-items: center; color: var(--muted); transition: all .25s; text-decoration: none;

}

.fsoc:hover { border-color: var(--c1); color: #fff; background: rgba(52,152,219,.1); }

.footer-col-title {

  font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;

  color: rgba(255,255,255,.3); margin-bottom: 20px;

}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; line-height: 1.39; padding:0; }

.footer-links a {

  font-size: 13px; color: var(--muted); text-decoration: none; transition: color .22s;

  display: inline-flex; align-items: center; gap: 6px;font-family: 'Work', -apple-system, sans-serif;

}

.footer-links a:hover { color: #fff; }

.footer-bottom {

  padding: 20px 0!important; color: rgba(255,255,255,.25);

  font-size:13px;font-family: 'Work', -apple-system, sans-serif; text-align: center;

}

@media (max-width: 860px) {

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / -1; }

}

@media (max-width: 500px) {

  .footer-top { grid-template-columns: 1fr; }

  .faq-q { font-size: 14px; }

}



/* ============================================================

   BARRE DE RECHERCHE (autocomplétion photos / vidéos / catégories)

   ============================================================ */

.site-search{position:relative;display:flex;align-items:center;z-index:1001;}

.site-search-toggle{

    display:flex;align-items:center;justify-content:center;

    width:36px;height:36px;border-radius:50%;border:none;cursor:pointer;

    background:rgba(255,255,255,.08);color:#fff;flex-shrink:0;

    transition:background .15s;

}

.site-search-toggle:hover{background:rgba(255,255,255,.18);}

.site-search-panel{display:flex;flex-direction:column;}

.site-search-field{

    display:flex;align-items:center;gap:4px;

    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);

    border-radius:999px;padding:0 6px 0 14px;height:40px;

}

.ss-field-submit{

    display:flex;align-items:center;justify-content:center;flex-shrink:0;

    border:none;background:none;cursor:pointer;color:rgba(255,255,255,.55);padding:0;

}

.ss-field-submit:hover{color:#fff;}

.site-search-input{

    flex:1;min-width:0;background:none;border:none;outline:none;

    color:#fff;font-size:16px;height:38px;

}

.site-search-input::placeholder{color:rgba(255,255,255,.45);}

.site-search-clear{

    flex-shrink:0;border:none;background:none;color:rgba(255,255,255,.5);

    cursor:pointer;font-size:18px;line-height:1;padding:2px 8px;

}

.site-search-clear:hover{color:#fff;}

.site-search-close{

    display:none;flex-shrink:0;border:none;background:rgba(255,255,255,.08);color:#fff;

    width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:20px;line-height:1;

    align-items:center;justify-content:center;

}



.site-search-results{

    position:absolute;top:calc(100% + 6px);left:0;right:0;

    max-height:min(420px,70vh);overflow-y:auto;

    background:rgba(24,24,24,.97);backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.1);border-radius:12px;

    box-shadow:0 8px 24px rgba(0,0,0,.5);padding:6px;z-index:1210;

}

.ss-group + .ss-group{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.08);}

.ss-group-title{

    font-size:10px;text-transform:uppercase;letter-spacing:.06em;

    color:rgba(255,255,255,.4);padding:4px 8px;

}

.ss-item{

    width:100%;display:flex;align-items:center;gap:8px;

    background:none;border:none;color:#fff;text-align:left;cursor:pointer;

    padding:6px 8px;border-radius:8px;font-size:13px;

}

.ss-item:hover,.ss-item.is-active{background:rgba(255,255,255,.1);}

.ss-ico{

    flex-shrink:0;width:26px;height:26px;border-radius:6px;

    display:flex;align-items:center;justify-content:center;

    background:rgba(255,255,255,.08);color:rgba(255,255,255,.75);

}

.ss-thumb{

    flex-shrink:0;width:26px;height:26px;border-radius:6px;

    background-size:cover;background-position:center;background-color:rgba(255,255,255,.08);

}

.ss-txt{min-width:0;display:flex;flex-direction:column;line-height:1.25;}

.ss-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;}

.ss-sub{font-size:11px;color:rgba(255,255,255,.45);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;}

.ss-empty{padding:12px 10px;font-size:12.5px;color:rgba(255,255,255,.5);text-align:center;}



/* Desktop : champ centré dans le header */

@media (min-width:900px){

    .site-header{padding:0 2rem;}

    .site-search-toggle{display:none;}

    .site-search{position:absolute;left:50%;transform:translateX(-50%);}

    .site-search-panel{position:relative;}

    .site-search-field{width:320px;}

}



/* Mobile : titre centré, langue/connexion masqués, recherche en overlay animé */

@media (max-width: 899px) {

    .lang-selector,

    .account-login-link {

        display: none !important;

    }



    .header-left {

        position: absolute;

        left: 50%;

        transform: translateX(-50%);

        transition: opacity .25s ease;

    }



    .site-search-panel {

        display: none;

    }



    .site-search {

        position: relative;

        height: 36px;

        width: 36px;

        border-radius: 999px;

        overflow: hidden;

        transition: width .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);

        border: 1px solid transparent;

    }



    .site-search-toggle {

        position: relative;

        z-index: 2;

    }



    body.search-open .header-left {

        opacity: 0;

        pointer-events: none;

    }



    body.search-open .site-search {

        width: calc(100vw - 2rem - 44px);

        background: rgba(10, 10, 15, .93);

        backdrop-filter: blur(14px);

        -webkit-backdrop-filter: blur(14px);

        border-color: rgba(255,255,255,.14);

        overflow: visible;

    }



    body.search-open .site-search-toggle {

        pointer-events: none;

    }



    body.search-open .site-search-panel {

        display: flex;

        position: absolute;

        inset: 0;

    }



    body.search-open .site-search-field {

        background: none;

        border: none;

        width: 100%;

        height: 100%;

        padding: 0 4px 0 40px;

        animation: siteSearchFieldIn .3s .08s var(--ease) both;

    }



    body.search-open .ss-field-submit {

        display: none;

    }



    body.search-open .site-search-clear {

        display: none;

    }



    body.search-open .site-search-close {

        display: flex;

    }

}



/* ============================================================

   MENU MOBILE — PAYS / VILLES

   ============================================================ */

.mm-country {

  border-bottom: 1px solid rgba(255,255,255,0.08);

}

.mm-country:last-child { border-bottom: none; }



.mm-country-summary {

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 14px 4px;

  cursor: pointer;

  list-style: none;

  user-select: none;

}

.mm-country-summary::-webkit-details-marker { display: none; }

.mm-country-summary::marker { content: ''; }

.mm-country-summary::after {

  content: '';

  width: 8px;

  height: 8px;

  margin-left: auto;

  border-right: 1.6px solid currentColor;

  border-bottom: 1.6px solid currentColor;

  transform: rotate(-45deg);

  transition: transform .25s ease;

  opacity: .6;

}

.mm-country[open] > .mm-country-summary::after {

  transform: rotate(45deg);

}



.mm-country-flag { font-size: 20px; line-height: 1; }

.mm-country-name { font-weight: 600; flex: 1; }

.mm-country-count {

  font-size: 12px;

  color: rgba(255,255,255,0.55);

  background: rgba(255,255,255,0.08);

  padding: 2px 8px;

  border-radius: 999px;

}



.mm-city-list {

  display: flex;

  flex-direction: column;

  gap: 4px;

  padding: 0 0 10px 30px;

  animation: mm-fade-in .18s ease;

}

@keyframes mm-fade-in {

  from { opacity: 0; transform: translateY(-4px); }

  to   { opacity: 1; transform: translateY(0); }

}



/* .mm-city-item / .mm-city-thumb* / .mm-city-info / .mm-city-name / .mm-city-count :

   fusion des 3 déclarations d'origine (valeurs finales conservées, identiques au dernier état en cascade) */

.mm-city-item {

  display: flex;

  align-items: center;

  gap: 14px;

  width: 100%;

  padding: 10px 6px;

  background: none;

  border: none;

  border-radius: 12px;

  color: inherit;

  text-align: left;

  cursor: pointer;

  transition: background .15s ease;

}

.mm-city-item:hover,

.mm-city-item:focus-visible {

  background: rgba(255,255,255,0.06);

}



.mm-city-thumbs { display: flex; flex-shrink: 0; }

.mm-city-thumb {

  width: 96px;

  height: 96px;

  border-radius: 14px;

  object-fit: cover;

  border: 3px solid #1c1c1e; /* couleur de fond du panneau */

  margin-left: -30px;

}

.mm-city-thumb:first-child { margin-left: 0; }



.mm-city-info {

  display: flex;

  flex-direction: column;

  gap: 2px;

  flex: 1;

  min-width: 0;

}

.mm-city-name {

  font-size: 15px;

  font-weight: 500;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

}

.mm-city-count {

  font-size: 12px;

  color: rgba(255,255,255,0.5);

}



/* ============================================================

   MENU MOBILE — ARBRE CONTINENT / PAYS / ÉTAT (mm-node)

   ============================================================ */

.mm-node {

  border-bottom: 1px solid rgba(255,255,255,0.08);

}

.mm-node:last-child { border-bottom: none; }



.mm-node-summary {

  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;

  list-style: none;

  user-select: none;

  padding: 14px 4px;

}

.mm-node-summary::-webkit-details-marker { display: none; }

.mm-node-summary::marker { content: ''; }

.mm-node-summary::after {

  content: '';

  width: 8px;

  height: 8px;

  margin-left: auto;

  border-right: 1.6px solid currentColor;

  border-bottom: 1.6px solid currentColor;

  transform: rotate(-45deg);

  transition: transform .25s ease;

  opacity: .6;

}

.mm-node[open] > .mm-node-summary::after { transform: rotate(45deg); }



.mm-node-icon { font-size: 20px; line-height: 1; }

.mm-node-name { font-weight: 600; flex: 1; }

.mm-node-count {

  font-size: 12px;

  color: rgba(255,255,255,0.55);

  background: rgba(255,255,255,0.1);

  padding: 2px 9px;

  border-radius: 999px;

}



.mm-node-children {

  padding-left: 16px;

  animation: mm-fade-in .18s ease;

}



/* Réglages visuels par profondeur : continent (0) > pays (1) > état (2) */

.mm-node-depth-0 > .mm-node-summary { font-size: 16px; padding: 16px 4px; }

.mm-node-depth-0 > .mm-node-summary .mm-node-icon { font-size: 22px; }



.mm-node-depth-1 > .mm-node-summary { font-size: 14px; padding: 13px 4px; }

.mm-node-depth-1 > .mm-node-summary .mm-node-icon { font-size: 18px; }

.mm-node-depth-1 > .mm-node-summary .mm-node-name { font-weight: 500; }

.mm-node-depth-1 > .mm-node-summary .mm-node-count { font-size: 11px; background: rgba(255,255,255,0.07); }



.mm-node-depth-2 > .mm-node-summary { font-size: 13px; padding: 11px 4px; }



.mm-node-depth-2 > .mm-node-summary .mm-node-name {

  font-weight: 600;

  opacity: .9;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  font-size: 1.3em;

}



.mm-node-depth-2 > .mm-node-summary .mm-node-name::before {

  content: "▸";

  font-size: 1.3em;

  opacity: .7;

  display: inline-block;

  transition: transform .2s ease;

}



.mm-node-depth-2.open > .mm-node-summary .mm-node-name::before {

  transform: rotate(90deg);

}



/* ---------- Lien "Se connecter" (utilisateur non loggé) ---------- */



.account-login-link {

  font-family: var(--font);

  font-size: 12px;

  letter-spacing: 0.03em;

  color: var(--text);

  text-decoration: none;

  padding: 7px 14px;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  transition: border-color 0.2s ease, background 0.2s ease;

  white-space: nowrap;

}



.account-login-link:hover {

  background: var(--surface);

  border-color: var(--accent);

}

  #stats-bar {

    display: flex;

    gap: 18px;

    margin-left: auto;

    flex-wrap: wrap;

  }

  .stat {

    font-family: var(--font);

    font-size: 11px;

    color: var(--muted);

  }

  .stat b { color: var(--text); font-weight: normal; }



  /* #main : fusion des deux déclarations d'origine (position/min-height ajoutés par la 2e) */

  #main {

    display: grid;

    grid-template-columns: 1fr;

    grid-template-rows: 420px 1fr;

    flex: 1;

    position: relative;

    min-height: 100vh;

  }



  #map-wrap {

    position: relative;

    border-bottom: 1px solid var(--border);

  }



  #map {

    width: 100%;

    height: 100%;

  }



  #map-overlay {

    position: absolute;

    top: 20px;

    right: 64px;

    z-index: 800;

    background: rgba(15,15,15,0.82);

    backdrop-filter: blur(6px);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 8px 14px;

    font-family: var(--font);

    font-size: 11px;

    color: var(--muted);

    pointer-events: none;

  }

  #map-overlay b { color: var(--accent); font-weight: normal; }



/* ══ PIN (photo unique, animée) ══════════════════════════ */

.pin-outer {

  position: relative;

  width: var(--pin-w);

  height: var(--pin-h);

}

.pin-drop {

  width: 100%;

  height: 100%;

  animation: pinDrop .6s cubic-bezier(.34, 1.56, .64, 1) both;

}

.pin-hop {

  position: relative;

  width: 100%;

  height: 100%;

  animation: pinHop 1.8s ease-in-out .6s infinite;

}

.pin-outer:hover .pin-hop {

  animation-play-state: paused;

}

.pin-photo-fill {

  position: absolute !important;

  top: 0;

  left: 0;

  width: var(--pin-w);

  height: var(--pin-h);

  object-fit: cover;

  display: block;

  background: #333;

  z-index: 2999 !important;

}

.pin-outline {

  position: absolute;

  top: 0;

  left: 0;

  z-index: 3000;

  pointer-events: none;

  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55));

}

  #grid-section {

    display: flex;

    flex-direction: column;

    min-height: 0;

    overflow: hidden;

  }



  #grid-header {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 20px;

    border-bottom: 1px solid var(--border);

    flex-shrink: 0;

  }

  #grid-title {

    font-family: var(--font);

    font-size: 12px;

    color: var(--muted);

    letter-spacing: 0.05em;

  }

  #grid-title b { color: var(--text); font-weight: normal; }

#grid-count {

  font-family: var(--font);

  font-size: 11px;

  color: var(--muted);

  margin-left: auto;

  min-width: 62px;

}

  #load-more-wrap {

    display: none;

    padding: 12px 20px;

    border-top: 1px solid var(--border);

    background: var(--surface);

    flex-shrink: 0;

    text-align: center;

  }

#scroll-sentinel {

  height: 1px;

  flex-shrink: 0;

}

  #grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));

    gap: 3px;

    padding: 3px;

    overflow-y: auto;

    flex: 1;

    min-height: 200px;

    background: var(--bg);

    user-select: none;

    -webkit-user-select: none;

  }

  #grid img {

    pointer-events: none;

    -webkit-user-drag: none;

    user-drag: none;

  }

  #grid .thumb {

    pointer-events: auto;

    cursor: pointer;

  }



  .thumb {

    aspect-ratio: 1;

    overflow: hidden;

    cursor: pointer;

    background: var(--surface2);

    position: relative;

  }

  .thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.3s ease, opacity 0.2s;

    opacity: 0;

  }

  .thumb img.loaded { opacity: 1; }

  .thumb:hover img { transform: scale(1.06); }

  .thumb-geo {

    position: absolute;

    bottom: 5px;

    right: 5px;

    width: 3px;

    height: 3px;

    border-radius: 50%;

    background: var(--accent);

    opacity: 0.8;

  }



.magic-badge{background:rgba(0,0,0,.45);color:#e8c97a;font-size:10px;font-weight:600;letter-spacing:.04em;padding:2px 6px;border-radius:3px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}



/* ══ BASE LIGHTBOX (fusion des déclarations dupliquées) ══════════════════════ */

body.lb-open { overflow: hidden; }



#lightbox {

  display: none;

  position: fixed;

  inset: 0;

  background: #000;

  z-index: 9999;

}

#lightbox.open {

  display: flex;

  align-items: center;

  justify-content: center;

}



#lightbox > [data-premium] {

  width: 100%;

  height: 100dvh;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

}



#lightbox #lb-img {

  opacity: 1 !important;

  transition: none !important;

}



.lb-meta-top {

  align-items: left;

  gap: 10px;

  width: 100%;

}


.lb-cat {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color .15s;
  pointer-events: auto;   /* ← ajoute cette ligne */
}

.lb-cat:hover {

  color: #e8c97a;

  text-decoration: underline;

  text-decoration-color: rgba(232,201,122,.4);

}



.lb-date {

  white-space: nowrap;

  flex-shrink: 0;

}



.lb-badge,

.lb-lvl2,.lb-lvl3,.lb-lvl4 {

  flex-shrink: 0;

  white-space: nowrap;

  display: block;

}



.lb-hit {

  font-size: 12px;

  color: rgba(255,255,255,0.6);


  display: block;

}
/* Force la catégorie à occuper toute sa ligne */
.lb-category {
  display: block;
  width: 100%;
  margin-bottom: 4px; /* Espace sous la catégorie */
}

/* Conserve la date et les vues sur la même ligne */
.lb-date,
.lb-hit {
  display: inline-block;
}

.lb-hit {
  cursor: help;
}.lb-meta-top {
  display: flex;
  flex-direction: column; /* Place la catégorie sur la ligne 1, la date & vue sur la ligne 2 */
  gap: 4px;
}

.lb-right {
  display: flex;
  align-items: center;
  gap: 8px; /* Espacement entre date, vues et badges */
}

/* Sécurité : si l'œil provenait d'un pseudo-élément CSS */
.lb-hit::before {
  content: "" !important;
}
/* Conteneur parent de la date et de .lb-hit */
.lb-meta {
  display: flex;
  align-items: center;
  gap: 12px; /* Espacement entre la date et le nombre de vues */
}

/* Style du compteur de vues */
.lb-hit {
  display: inline-block;
  cursor: help; /* Modifie le curseur pour signaler la présence d'une tooltip */
}
.lb-name {

  font-size: 15px;

  font-weight: 600;

  color: #fff;

  margin-bottom: 4px;

  letter-spacing: -0.01em;

}



.lb-hit {
  position: relative;
  cursor: help;
  pointer-events: auto;
  display: inline-block;
}

/* Tooltip (ouvre vers le bas à droite) */
.lb-hit[data-tooltip]:hover::after,
.lb-hit[data-tooltip].active::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;             /* Place la bulle sous l'élément */
  left: 0;               /* Aligné sur le bord gauche, s'étend vers la droite */
  margin-top: 6px;       /* Espacement sous le texte */
  background-color: #1e293b;
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: normal;
  width: max-content;
  max-width: 240px;      /* Largeur maximale pour éviter les débordements */
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  pointer-events: none;
}

.lb-description {

        font-size: 1.13em;

    color: rgba(255,255,255,0.88);

    margin: 4px 0 8px;

    line-height: 1.64;

    width: 264px;

    max-width: 264px;

    white-space: normal;

    overflow-wrap: break-word;

    word-wrap: break-word;

}

/* ── Bulles (fusion des deux déclarations #lb-bubbles / .lb-bubble d'origine) ── */

#lb-bubbles {

  width: 100%;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 12px;

  margin-bottom: 12px;

  padding: 10px 0 10px 8px;

  max-height: 220px;

  overflow: hidden;

  overflow-y: auto;

  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);

  pointer-events: auto;

  outline: none;

  scrollbar-width: thin;

  scrollbar-color: rgba(255,255,255,0.2) transparent;

}

#lb-bubbles::-webkit-scrollbar {

  width: 6px;

}

#lb-bubbles::-webkit-scrollbar-thumb {

  background: rgba(255,255,255,0.3);

  border-radius: 4px;

}



.lb-bubble {

  pointer-events: auto;

  max-width: 100%;

  align-self: flex-end;

  text-align: left;

  padding: 8px 13px;

  border-radius: 16px 16px 16px 4px;

  background: rgba(0, 0, 0, .55);

  backdrop-filter: blur(18px) saturate(1.4);

  -webkit-backdrop-filter: blur(18px) saturate(1.4);

  border: 1px solid rgba(255,255,255,.18);

  box-shadow: 0 2px 16px rgba(0,0,0,.18);

  animation: bubble-in .3s ease both;

}

.lb-bubble.lb-bubble--right {

  align-self: flex-end;

  border-radius: 16px 16px 4px 16px;

  background: rgba(0, 0, 0, .55);

}

.lb-bubble:hover {

    background: rgba(0, 0, 0, .75);

}



@keyframes bubble-in {

  from { opacity: 0; transform: translateY(6px) scale(.97); }

  to   { opacity: 1; transform: none; }

}



.lb-bubble-author {

  font-size: 11px;

  font-weight: 600;

  color: rgba(255,255,255,.9);

  margin-bottom: 2px;

}

.lb-bubble-text {

  font-size: 13px;

  color: rgba(255,255,255,.85);

  line-height: 1.45;

  word-break: break-word;

}

.lb-bubble-date {

  font-size: 12px;

  color: #e0c070;

  margin-left: 8px;

  display: inline;

  margin-bottom: 8px;

  font-style:italic;

}



/* ── Trigger (icône + label) — fusion des déclarations dupliquées ── */

#lb-comment-trigger {

  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 6px;

  margin-bottom: 0;

  pointer-events: auto;

}



/* Design final retenu pour le badge de compteur (remplace l'ancienne version haut-centre) */

#lb-comment-count-tag {

  display: none;

  position: absolute;

  top: -10px;

  right: -10px;

  background: #e8c97a;

  color: #000;

  font-size: 12px;

  font-weight: 800;

  height: 22px;

  min-width: 22px;

  border-radius: 12px;

  line-height: 22px;

  text-align: center;

  padding: 0 6px;

  box-sizing: border-box;

  box-shadow: 0 2px 5px rgba(0,0,0,0.4);

  pointer-events: none;

}

#lb-comment-count-tag.visible {

  display: block;

  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}

@keyframes popIn {

  0% { transform: scale(0); opacity: 0; }

  100% { transform: scale(1); opacity: 1; }

}



/* #lb-comment-btn : fusion des quatre déclarations d'origine (design final = bouton sur 1 ligne, centré) */

#lb-comment-btn {

  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  flex-direction: row;

  gap: 5px;

  background: rgba(255,255,255,.06);

  border: 1px solid rgba(255,255,255,.1);

  cursor: pointer;

  padding: 8px 16px;

  border-radius: 40px;

  color: rgba(255,255,255,.6);

  font-family: inherit;

  font-size: 12px;

  letter-spacing: .06em;

  white-space: nowrap;

  transition: color .2s, background .2s;

  backdrop-filter: blur(8px);

}

#lb-comment-btn:hover {

  color: rgba(255,255,255,.9);

  background: rgba(255,255,255,.11);

}



#lb-comment-icon {

  animation: icon-breathe 3.2s ease-in-out infinite;

}

@keyframes icon-breathe {

  0%,100% { opacity: .55; transform: scale(1); }

  50%      { opacity: .85; transform: scale(1.07); }

}



#lb-comment-label { font-size: 11px; }



/* ── Formulaire (fusion des deux déclarations #lb-comment-form-wrap d'origine) ── */

#lb-comment-form-wrap {

  display: none;

  flex-direction: column;

  gap: 7px;

  width: 100%;

  padding: 12px 14px 16px;

  box-sizing: border-box;

  background: rgba(10,10,10,.82);

  backdrop-filter: blur(24px) saturate(1.3);

  -webkit-backdrop-filter: blur(24px) saturate(1.3);

  border: 1px solid rgba(255,255,255,.1);

  border-radius: 16px;

  margin-bottom: 10px;

  pointer-events: auto;

}

#lb-comment-form-wrap.open {

  display: flex;

  animation: form-slide-up .25s ease both;

}

@keyframes form-slide-up {

  from { opacity: 0; transform: translateY(14px); }

  to   { opacity: 1; transform: none; }

}



#lb-comment-form-wrap input[type="text"],

#lb-comment-form-wrap textarea {

  width: 100%;

  background: rgba(255,255,255,.06);

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 8px;

  color: rgba(255,255,255,.88);

  font-size: 16px;

  padding: 9px 12px;

  font-family: inherit;

  outline: none;

  box-sizing: border-box;

  transition: border-color .15s, background .15s;

  -webkit-appearance: none;

}

#lb-comment-form-wrap textarea {

  resize: none;

  height: 68px;

  line-height: 1.45;

}

#lb-comment-form-wrap input[type="text"]:focus,

#lb-comment-form-wrap textarea:focus {

  border-color: rgba(255,255,255,.28);

  background: rgba(255,255,255,.09);

}

#lb-comment-form-wrap input::placeholder,

#lb-comment-form-wrap textarea::placeholder { color: rgba(255,255,255,.22); }



#lb-form-actions {

  display: flex;

  justify-content: flex-end;

  gap: 8px;

  margin-top: 2px;

}



#comment-cancel {

  padding: 7px 16px;

  background: transparent;

  border: 1px solid rgba(255,255,255,.14);

  border-radius: 20px;

  color: rgba(255,255,255,.45);

  font-size: 13px;

  font-family: inherit;

  cursor: pointer;

  transition: color .15s, border-color .15s;

}

#comment-cancel:hover { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.28); }



#comment-send {

  padding: 7px 20px;

  background: #c9a84c;

  border: none;

  border-radius: 20px;

  color: #111;

  font-size: 14px;

  font-weight: 700;

  font-family: inherit;

  cursor: pointer;

  transition: background .15s, transform .1s;

}

#comment-send:hover:not(:disabled) { background: #e0c070; }

#comment-send:active:not(:disabled) { transform: scale(.97); }

#comment-send:disabled { opacity: .5; cursor: not-allowed; }



/* ══ NAV (fusion des déclarations dupliquées, valeurs finales conservées) ════ */

#lb-close,

.lb-nav-btn {

  touch-action: manipulation; -webkit-tap-highlight-color: transparent;

}

button {

  touch-action: manipulation;

}

#lb-close {

  position: fixed;

  top: 14px; right: 16px;

  color: rgba(255,255,255,.6);

  font-size: 24px;

  cursor: pointer;

  background: rgba(0,0,0,.35);

  border: none;

  border-radius: 50%;

  width: 36px; height: 36px;

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 10001;

  transition: color .15s;

}

#lb-close:hover { color: #fff; }



#lb-prev, #lb-next {

  position: fixed;

  top: 50%;

  transform: translateY(-50%);

  margin-top: -20px;

  z-index: 182;

}

#lb-prev { left: 12px; }

#lb-next  { right: 12px; }



.lb-nav-btn {

  background: rgba(0,0,0,.35);

  border: none;

  border-radius: 50%;

  color: rgba(255,255,255,.6);

  font-size: 18px;

  width: 40px; height: 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition: all .15s;

  padding: 0;

}

.lb-nav-btn:hover { background: rgba(0,0,0,.6); color: #fff; }



/* ══ PREMIUM LOCK (fusion des déclarations dupliquées ; version avec variables

   --lc-* conservée car elle gagnait déjà en cascade — fallback identique aux

   valeurs d'origine) ═══════════════════════════════════════ */

[data-premium] {

  position: relative;

  transition: filter .5s var(--lc-ease, ease), opacity .5s var(--lc-ease, ease);

}

.lab-premium-locked { pointer-events: none; user-select: none; overflow: hidden; }

.lab-premium-reveal { animation: lp-reveal .8s var(--lc-ease, ease) both; }

@keyframes lp-reveal {

  from { filter: blur(4px); opacity: 0; transform: translateY(10px); }

  to   { filter: blur(0);   opacity: 1; transform: translateY(0); }

}
#lightbox.is-video .lab-premium-lock {
  display: none !important;
}
/* Désactive le verrou et ses clics en mode vidéo */
#lightbox.is-video .lab-premium-lock {
  display: none !important;
  pointer-events: none !important;
}

/* Force le lecteur vidéo au premier plan interactif */
#lb-video {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}
.lab-premium-lock {

  position: absolute; z-index: 200;

  top: 50%; left: 50%;

  transform: translate(-50%, -50%);

  background: #0d0f1c;

  border: 1px solid var(--lc-border, rgba(255,255,255,.05));

  border-top: 1px solid rgba(201,168,76,.18);

  border-radius: var(--radius, 4px);

  box-shadow: 0 0 0 1px rgba(201,168,76,.06), 0 16px 48px rgba(0,0,0,.5);

  transition: opacity .4s, transform .4s var(--lc-ease, ease);

}

.lab-premium-lock.lp-removing { opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; }

.lab-premium-lock::before {

  content: ''; display: block; height: 2px;

  background: linear-gradient(90deg, transparent, var(--lc-accent, #c9a84c), transparent);

  opacity: .5; border-radius: 2px 2px 0 0;

}

.lp-inner { padding: 32px 36px 28px; }

.lp-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--lc-accent, #c9a84c); margin: 0 0 14px; }

.lp-heading { margin: 0 0 10px; font-size: clamp(17px,3vw,22px); font-weight: 400; line-height: 1.25; color: var(--lc-text, #ccc8bf); letter-spacing: -.01em; }

.lp-sub { margin: 0 0 22px; font-size: 14.5px; line-height: 1.65; color: var(--gold-pale, #e8d5a0); max-width: 480px; }

.lp-form-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 9px 0; }

.lp-input { flex: 1 1 180px; min-width: 0; height: 44px; padding: 0 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.39); border-radius: var(--lc-radius, 4px); color: #efefef; font-size: 16px; font-family: var(--font); outline: none; transition: border-color .2s, box-shadow .2s; }

.lp-input::placeholder { color: var(--lc-muted, #5e5a55); }

.lp-input:focus { border-color: var(--lc-accent, #c9a84c); box-shadow: 0 0 0 3px var(--lc-accent-glow, rgba(201,168,76,.18)); }

input#lp-flostarica-bonus-email::placeholder { color: #ccc8bf; }

.lp-btn { flex-shrink: 0; height: 44px; padding: 0 22px; background: var(--lc-accent, #c9a84c); border: none; border-radius: var(--lc-radius, 4px); color: var(--black, #111); font-size: 12px; font-weight: 700; font-family: var(--font); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, box-shadow .2s, transform .15s; }

.lp-btn:hover:not(:disabled) { background: #e0c070; box-shadow: 0 4px 18px rgba(201,168,76,.28); transform: translateY(-1px); }

.lp-btn.lp-btn--ghost:hover:not(:disabled) {

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(184, 171, 224, 0.4);

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);

    transform: translateY(-1px);

}

.lp-btn:active:not(:disabled) { transform: translateY(0); }

.lp-btn:disabled { opacity: .55; cursor: not-allowed; }

.lp-msg { min-height: 18px; margin: 10px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--lc-muted, #5e5a55); transition: color .2s; }

.lp-msg--success { color: var(--lc-success, #7abf9e); }

.lp-msg--error   { color: var(--lc-error,   #d4849e); }

.lp-privacy { margin: 10px 0 0; line-height: 1.5; color: wheat; opacity: .69; font-size: .82em; }



/* ══ DIVERS (fusion des déclarations dupliquées) ══════════════════════════ */

#loading { inset: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 100; font-family: var(--font); font-size: 12px; margin-top: 64px; color: var(--muted); letter-spacing: 0.1em; }

#loading.hidden { display: none; margin-top: 64px; }

#error-msg { display: none; padding: 24px; font-family: var(--font); font-size: 12px; color: #e24b4a; text-align: center; }

.leaflet-tile { filter: brightness(0.80) contrast(1.15) saturate(1.39); }

.marker-cluster { background: transparent !important; }

.marker-cluster div { background: transparent !important; border: none !important; box-shadow: none !important; }



/* ══ RESPONSIVE (fusion des media queries dupliquées) ═══════════════════════ */

@media (max-width: 520px) {

  .lp-inner { padding: 24px 20px 20px; }

  .lp-form-row { flex-direction: column; }

  .lp-input, .lp-btn { width: 100%; flex: none; }

}

@media (prefers-reduced-motion: reduce) {

  #lb-comment-icon { animation: none; }

  [data-premium], .lab-premium-lock, .lp-btn, .lp-input,

  .lab-premium-reveal, .lp-removing, #lb-comment-form-wrap { transition: none; animation: none; }

}



#lb-bottom {

  position: fixed;

  bottom: 0;

  left: 0;

  right: 0;

  flex: 0 0 auto;

  width: 100%;

  max-width: 100%;

  margin: 15px auto 0;

  background: transparent;

  display: flex;

  flex-direction: column;

  align-items: center;

  padding: 0 16px 12px;

  box-sizing: border-box;

  z-index: 10;

  pointer-events: none;

}

#lb-bottom > * {

  pointer-events: auto;

}

#lb-bottom::before {

  content: '';

  top: -21px;

  position: absolute;

  left: 0; right: 0;

  height: 48px;

  background: linear-gradient(transparent, rgba(0,0,0,0.5));

  pointer-events: none;

  z-index: -1;

}



#lb-meta {

    margin-top: 1.3%;

    position: fixed;

    top: 0;

    left: 2%;

    max-width: 90vw;

    white-space: nowrap;
text-align: left;
    background: rgba(0, 0, 0, .45);

    border-radius: 3px;

    padding: 4px 16px;

    font-size: 12px;

    color: rgba(255, 255, 255, .7);

    pointer-events: none;

    z-index: 171;

}

/* #lb-meta est pointer-events:none → on réactive uniquement le bloc téléchargement */
.lb-dl { pointer-events: auto; }

/* #lb-meta force white-space:nowrap → l'infobulle doit pouvoir passer à la ligne */
.lb-dl-pop { white-space: normal; }

.lb-comments-wrapper {

  width: 100%;

  max-width: var(--img-w, 100%);

  flex: 1 1 0;

  min-height: 0;

  overflow-y: auto;

  padding: 4px 16px 12px;

  scrollbar-width: thin;

  scrollbar-color: rgba(255, 255, 255, .2) transparent;

  box-sizing: border-box;

}

div#lb-comment-form-wrap {

    max-width: 630px;

}

.lb-simple-form {

  width: 100%;

  display: flex;

  gap: 0;

  align-items: center;

  margin-bottom: 10px;

  flex-shrink: 0;

  border-bottom: 1px solid rgba(255,255,255,.1);

  padding-bottom: 8px;

}

.lb-simple-form input[type="text"],

.lb-simple-form textarea {

  background: rgba(255,255,255,.04);

  border: none;

  border-right: 1px solid rgba(255,255,255,.1);

  border-radius: 0;

  color: rgba(255,255,255,.8);

  font-size: 16px;

  padding: 8px 12px;

  font-family: inherit;

  outline: none;

  transition: background .15s;

}

.lb-simple-form input[type="text"] {

  width: 110px;

  flex-shrink: 0;

}

.lb-simple-form textarea {

  flex: 1 1 0;

  min-width: 0;

  resize: none;

  height: 34px;

  line-height: 1.4;

}

.lb-simple-form input[type="text"]:focus,

.lb-simple-form textarea:focus {

  background: rgba(255,255,255,.07);

}

.lb-simple-form input[type="text"]::placeholder,

.lb-simple-form textarea::placeholder,input#comment-name::placeholder,textarea#comment-content::placeholder {

  color: rgba(255,255,255,.64);

}

.lb-simple-form button {

  flex-shrink: 0;

  font-size: 16px;

  padding: 8px 16px;

  background: rgba(255,255,255,.07);

  color: rgba(255,255,255,.7);

  border: none;

  border-radius: 0;

  cursor: pointer;

  font-family: inherit;

  transition: background .15s, color .15s;

  height: 34px;

  align-self: center;

}

.lb-simple-form button:hover {

  background: rgba(255,255,255,.12);

  color: #fff;

}



.lb-premium-notice {

  text-align: center;

  color: rgba(255,255,255,.4);

  font-size: 13px;

  padding: 6px 0 10px;

  flex-shrink: 0;

}



.lb-comments-list {

  display: flex;

  flex-direction: column;

  margin-bottom: 24px;

}



.lb-comment {

  padding: 8px 0;

  margin-bottom: 20px;

  padding-bottom: 16px;

  border-bottom: 1px solid rgba(255,255,255,.08);

}

.lb-comment:last-child { border-bottom: none; }



.lb-comment-author {

  font-size: 13px;

  font-weight: 600;

  color: #fff;

  display: inline;

  margin-bottom: 4px;

}

.lb-comment-date {

  font-size: 12px;

  color: rgba(255,255,255,.45);

  margin-left: 8px;

  display: inline;

  margin-bottom: 8px;

}

.lb-comment-text {

  font-size: 16px;

  color: rgba(255,255,255,.85);

  line-height: 1.5;

  margin-top: 3px;

}

#lb-comment-form-wrap input.input-error,

#lb-comment-form-wrap textarea.input-error {

    border: 1.5px solid #e8c97a !important;

    box-shadow: 0 0 0 3px rgba(232, 201, 122, 0.18) !important;

}

#lb-comment-form-wrap .input-error::placeholder {

    color: rgba(232, 201, 122, 0.5);

}



#lb-comments-section {

  width: 100%;

  max-width: 680px;

  margin-top: 20px;

  padding: 0 16px 30px;

  color: #fff;

  font-size: 16px;

  line-height: 1.5;

}



.lb-comment-form {

  width: 100%;

  margin-top: 16px;

  padding: 20px;

  background: rgba(255,255,255,0.08);

  border-radius: 8px;

}



.lb-comment-form input,

.lb-comment-form textarea {

  width: 100%;

  font-size: 16px;

  padding: 12px 14px;

  margin-bottom: 12px;

  background: rgba(0,0,0,0.6);

  border: 1px solid rgba(255,255,255,0.2);

  border-radius: 6px;

  color: #fff;

  font-family: inherit;

}



.lb-comment-form textarea {

  min-height: 110px;

  resize: vertical;

}



.lb-comment-form button {

  font-size: 16px;

  padding: 12px 24px;

  background: #e8c97a;

  color: #000;

  border: none;

  border-radius: 6px;

  cursor: pointer;

  font-weight: 600;

}



.lb-comment-form button:hover {

  background: #f5d88a;

}



/* ── Corrections critiques ── */



#lb-comments-layer {

    position: absolute;

    bottom: 20px;

    right: 3%;

    width: 82%;

    max-width: 600px;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    pointer-events: none;

    z-index: 20;

}

#lb-comment-trigger,

#lb-comment-form-wrap,

#lb-bubbles .lb-bubble {

  pointer-events: auto;

}



/* #lb-inner : fusion des deux déclarations d'origine (flex/min-height ajoutés par la 2e,

   height/flex-direction conservés de la 1re car non réécrits par la 2e) */

#lb-inner {

  position: relative;

  width: 100%;

  height: 100dvh;

  flex-direction: column;

  flex: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  min-height: 0;

}



.stat-clickable {

    cursor: pointer;

    transition: opacity 0.15s ease;

}

.stat-clickable:hover {

    opacity: 0.75;

}

.stat-clickable.active {

    text-decoration: underline;

}

.sr-only {

  position: absolute;

  width: 1px; height: 1px;

  padding: 0; margin: -1px;

  overflow: hidden;

  clip: rect(0,0,0,0);

  white-space: nowrap;

  border: 0;

}



.lp-btn--ghost {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 255, 255, 0.04);

    color: #d8d4e8;

    border: 1px solid rgba(255, 255, 255, 0.12);

    font-family: inherit;

    font-weight: 500;

    font-size: 0.75rem;

    letter-spacing: 0.01em;

    padding: 6px 12px;

    border-radius: 7px;

    cursor: pointer;

    backdrop-filter: blur(4px);

    box-shadow: none;

    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;

}



.lp-btn--ghost::before {

    content: '';

    width: 12px;

    height: 12px;

    flex-shrink: 0;

    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M11 11l7-7M15 4l3 3M18 8l3-3'/%3E%3C/svg%3E") no-repeat center / contain;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M11 11l7-7M15 4l3 3M18 8l3-3'/%3E%3C/svg%3E") no-repeat center / contain;

    opacity: 0.7;

}



.lp-btn--ghost:hover {

    background: rgba(184, 171, 224, 0.1);

    border-color: rgba(184, 171, 224, 0.35);

}



.lp-btn--ghost:active {

    transform: translateY(1px);

    background: rgba(184, 171, 224, 0.06);

}



.lp-btn--ghost:focus-visible {

    outline: 2px solid #b8abe0;

    outline-offset: 2px;

}



.lp-btn--ghost:disabled {

    opacity: 0.4;

    cursor: not-allowed;

    transform: none;

}



/* css public */

#lightbox #lb-inner #lb-img {

  min-height: 100%;

}



html body #lightbox #lb-inner #lb-img {

  opacity: 1 !important;

  transition: none !important;

  visibility: visible !important;

}



/* [data-premium] plein écran (sélecteur distinct de "#lightbox > [data-premium]" plus haut) */

[data-premium] {

  width: 100%;

  height: 100dvh;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  position: relative;

}



#lb-img {

    max-width: 100vw;

    max-height: 100dvh;

    width: auto;

    height: auto;

    object-fit: contain;

    display: block;

    z-index: 1;

    opacity: 1 !important;

    transition: none !important;

}



.thumb-comment-badge {

  position: absolute;

  top: 6px;

  right: 6px;

  z-index: 2;



  display: flex;

  align-items: center;

  gap: 4px;



  padding: 3px 8px;

  border-radius: 999px;



  background: rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);



  color: #fff;

  font-size: 11px;

  font-weight: 700;

  line-height: 1;



  pointer-events: none;

  user-select: none;

}



.thumb-comment-badge svg {

  width: 12px;

  height: 12px;

  flex-shrink: 0;

}



@media (max-width: 1024px) {

    #main { margin-top: 46px;}

.header-like{min-height:0;}

}



@media (max-width: 968px) {

    #map-overlay {

    top: 15px;

    right: 54px;font-size: 9px;

  }

.album-logo {display:none; }

  span#overlay-text {

  font-size: 9px!important;

}

}



@media (min-width: 969px) {

  .lb-comments-wrapper {

    max-width: var(--img-w, 64%) !important;

  }

}



@media (max-width: 968px) {

  .lab-premium-lock {

    width: 90%;

    max-width: 400px;

    left: 50%;

    transform: translate(-50%, -50%);

    box-sizing: border-box;

  }

  .lb-comments-wrapper {

    max-width: 92% !important;

  }

}



/* pills mois */

.fb-month {

  flex-shrink: 0;

  padding: 4px 13px;

  height: 28px;

  border-radius: 20px;

  border: 1px solid rgba(255, 255, 255, 0.26);

  background: transparent;

  color: #aaa;

  font-family: var(--font);

  font-size: 13px;

  letter-spacing: 0.05em;

  cursor: pointer;

  transition: background 0.18s, color 0.18s, border-color 0.18s;

  white-space: nowrap;

  margin-right: 4px;

}

.fb-month:hover {

  background: rgba(255, 255, 255, 0.07);

  color: #ddd;

}

.fb-month.active {

  background: rgba(232, 201, 122, 0.18);

  border-color: rgba(232, 201, 122, 0.5);

  color: #e8c97a;

}

.fb-month:disabled,

.fb-month[style*="pointer-events: none"] {

  opacity: 0.92;

  cursor: default;

}



/* ── Barre info carte ───────────────────────────────────── */

#map-info-bar {

  display: flex;

  align-items: center;

  gap: 0;

  padding: 0;

  font-family: var(--font);

  font-size: 11px;

  letter-spacing: 0.05em;

  flex-wrap: wrap;

  min-height: 38px;

}



/* bouton reset cluster */

#reset-btn {

  display: none;

  padding: 5px 13px;

  background: rgba(232, 201, 122, 0.1);

  border: 1px solid rgba(232, 201, 122, 0.3);

  border-radius: 20px;

  color: #e8c97a;

  font-family: var(--font);

  font-size: 11px;

  letter-spacing: 0.07em;

  cursor: pointer;

  transition: background 0.2s, border-color 0.2s;

  white-space: nowrap;

}

#reset-btn:hover {

  background: rgba(232, 201, 122, 0.2);

  border-color: rgba(232, 201, 122, 0.6);

}



/* bouton reset carte (Leaflet control) */

.leaflet-control-reset {

  background: rgba(14, 14, 14, 0.88) !important;

  border: 1px solid rgba(232, 201, 122, 0.35) !important;

  border-radius: 6px !important;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;

}

.leaflet-control-reset a {

  display: flex !important;

  align-items: center;

  justify-content: center;

  width: 36px !important;

  height: 36px !important;

  color: #e8c97a !important;

  font-size: 26px !important;

  line-height: 1 !important;

  text-decoration: none !important;

  border-radius: 5px !important;

  transition: background 0.2s;

}

.leaflet-control-reset a:hover { background: rgba(14,14,14,0.88) !important; }



 .thumb.map-highlight {

  box-shadow: inset 0 0 0 3px #e8c97a;

  transition: box-shadow 0.2s ease;

}



/* ── Loader bas de page ──────────────────────────────────── */

#_bottom_loader {

  display: none;

  justify-content: center;

  align-items: center;

  gap: 10px;

  padding: 28px 0 16px;

  font-family: var(--font);

  font-size: 11px;

  color: #777;

  letter-spacing: 0.08em;

}



/* ── Message fin de galerie ──────────────────────────────── */

#_end_msg {

  display: none;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  padding: 36px 16px 28px;

  font-family: var(--font);

  color: #666;

  letter-spacing: 0.05em;

  text-align: center;

}

#_end_msg span {

  font-size: 12px;

  color: #999;

}

#_end_refresh {

  margin-top: 4px;

  padding: 8px 20px;

  background: rgba(232, 201, 122, 0.1);

  border: 1px solid rgba(232, 201, 122, 0.3);

  border-radius: 20px;

  color: #e8c97a;

  font-family: var(--font);

  font-size: 11px;

  letter-spacing: 0.08em;

  cursor: pointer;

  transition: background 0.2s, border-color 0.2s;

}

#_end_refresh:hover {

  background: rgba(232, 201, 122, 0.22);

  border-color: rgba(232, 201, 122, 0.6);

}



/* ── Spinner chargement bas de page ────────────────────── */

.bl-spinner {

  width: 15px;

  height: 15px;

  border: 2px solid rgba(255, 255, 255, 0.1);

  border-top-color: rgba(232, 201, 122, 0.85);

  border-radius: 50%;

  animation: _blspin 0.7s linear infinite;

  flex-shrink: 0;

}

@keyframes _blspin {

  to { transform: rotate(360deg); }

}



/* ── Barre filtres année/mois ───────────────────────────── */
/* ── Barre filtres année/mois ───────────────────────────── */
#filter-bar {
  position: sticky; top: 0; z-index: 800;
  display: flex; align-items: center; gap: 0;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px; height: 42px;
  user-select: none; -webkit-user-select: none;
}
#filter-bar::-webkit-scrollbar { display: none; }

/* ── Sélecteur d'année ── */
.fb-year-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 6px;
}

.fb-year-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 5px 28px 5px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #f2f2f2;
  cursor: pointer;
  outline: none;
  height: 28px;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fb-year-select option {
  background: #1a1a1a;
  color: #f2f2f2;
}

.fb-year-select:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.09);
}

.fb-year-select:focus {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.fb-year-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s ease;
}

/* Quand une année est sélectionnée : croix cliquable pour reset */
.fb-year-arrow.fb-year-clear {
  pointer-events: auto;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.fb-year-arrow.fb-year-clear:hover {
  color: #ff5c57;
}

/* ── Boutons mois ── */
.fb-month {
  flex-shrink: 0;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  padding: 5px 12px;
  margin-right: 4px;
  font-size: 13px;
  font-family: inherit;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fb-month:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.fb-month.active {
  background: #fff;
  border-color: #fff;
  color: #0e0e0e;
  font-weight: 500;
}



/* rangée du haut : cluster-hint + reset-btn */

#map-info-top {

  display: flex;

  align-items: center;

  gap: 8px;

  padding: 0 12px;

  height: 40px;

  width: 100%;

  color: #888;

  flex-wrap: wrap;

}

#map-info-top #overlay-text {

  flex: 1;

  font-size: 13px;

  color: rgba(255,255,255,0.92);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}

span#overlay-text {

  font-size: 13px;

  color: rgba(255,255,255,0.92);

}

#map-info-top #reset-btn {

  margin-left: 0;

}



/* ── Navigation catégories (breadcrumb swipeable) ───────── */

#cat-nav {

  display: flex; align-items: center; gap: 0;

  width: 100%;

  background: rgba(10,10,10,0.6);

  border-top: 1px solid rgba(255,255,255,0.05);

  overflow-x: auto; overflow-y: hidden;

  scroll-behavior: smooth; scrollbar-width: none;

  -webkit-overflow-scrolling: touch;

  padding: 0 8px; height: 36px;

  user-select: none; -webkit-user-select: none;

}

#cat-nav::-webkit-scrollbar { display: none; }



.cat-breadcrumb {

  display: flex; align-items: center; gap: 0;

  flex-shrink: 0; margin-right: 8px;

}

.cat-breadcrumb-item {

  color: #bbb;

  font-size: 12px; letter-spacing: 0.04em;

  white-space: nowrap; cursor: pointer;

  padding: 2px 4px; border-radius: 4px;

  transition: color 0.15s;

}

.cat-breadcrumb-item:hover { color: #fff; }

.cat-breadcrumb-sep {

  color: #777;

  font-size: 12px; padding: 0 2px;

  flex-shrink: 0;

}



.cat-divider {

  width: 1px; height: 18px;

  background: rgba(255,255,255,0.2);

  flex-shrink: 0; margin: 0 8px;

}



.cat-pill {

  flex-shrink: 0; padding: 3px 11px; height: 24px;

  border-radius: 20px;

  border: 1px solid rgba(255,255,255,0.25);

  background: rgba(255,255,255,0.03);

  color: #eaeaea;

  font-family: var(--font);

  font-size: 12px; letter-spacing: 0.04em; cursor: pointer;

  transition: background 0.15s, color 0.15s, border-color 0.15s;

  white-space: nowrap; margin-right: 5px;

  display: flex; align-items: center; gap: 5px;

}



.cat-flag {

  font-size: 12px;

}



.cat-pill:hover {

  background: rgba(255,255,255,0.15);

  color: #fff;

  border-color: rgba(255,255,255,0.4);

}



.cat-pill.active {

  background: rgba(232,201,122,0.2);

  border-color: rgba(232,201,122,0.6);

  color: #f2db9a;

}



.cat-pill-count {

  color: #ccc;

  font-size: 9px;

  background: rgba(255,255,255,0.15);

  padding: 1px 5px; border-radius: 10px;

}



.cat-pill.active .cat-pill-count {

  color: #fff;

  background: rgba(232,201,122,0.3);

}



/* ── Sticky shell ── */

#sticky-shell {

  display: flex;

  flex-direction: column;

  width: 100%;

  background: var(--bg, #111);

  z-index: 200;

}



#sticky-shell.fixed {

  position: fixed;

  top: 0;

  left: 0;

  right: 0;

}



#sticky-placeholder {

  display: none;

}

#sticky-shell.fixed ~ #sticky-placeholder {

  display: block;

}



/* ── Date overlay ── */

#date-scroll-overlay {

  position: fixed;

  left: 50%;

  bottom: 20px;

  z-index: 600;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 4px;

  pointer-events: none;

  opacity: 1 !important;

}



.date-badge {

  background: rgba(0,0,0,0.65);

  color: #fff;

  font-size: 12px;

  padding: 3px 10px;z-index: 9900;

  border-radius: 20px;

  white-space: nowrap;

  backdrop-filter: blur(4px);

}



/* ══════════════════════════════════════════════════════════

   VUE GRILLE

══════════════════════════════════════════════════════════ */

#grid.view-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));

  gap: 3px;

}

#grid.view-grid .thumb {

  aspect-ratio: 1;

  overflow: hidden;

  background: #111;

}

#grid.view-grid .thumb img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: opacity .25s;

}



/* ══════════════════════════════════════════════════════════

   VUE MAÇONNERIE

══════════════════════════════════════════════════════════ */

#grid.view-masonry {

  position: relative;

  display: block;

  min-height: 450px;

}



#grid.view-masonry .thumb {

  position: absolute;

  transition: none;

  overflow: hidden;

  background: #111;

}



#grid.view-masonry .thumb img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  border-radius: 3px;

  transition: opacity .25s;

}



/* ══════════════════════════════════════════════════════════

   ÉTAT CHARGEMENT (commun aux deux vues)

══════════════════════════════════════════════════════════ */

.thumb img {

  opacity: 0;

}

.thumb img.loaded {

  opacity: 1;

}

/* ── Icône vidéo sur le thumb (style Instagram) ── */

.thumb-video-icon {

  position: absolute;

  top: 6px;

  right: 6px;

  width: 36px;

  height: 36px;

  background: rgba(0,0,0,0.55);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  pointer-events: none;

  z-index: 3;

}

.thumb-video-icon svg {

  display: block;

  transform: translateX(1px);

}



/* Vidéo dans la lightbox : même comportement que l'image */

#lb-video {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100dvh; /* dvh gère la barre d'adresse mobile */
  object-fit: contain;
  border-radius: 6px;
  box-sizing: border-box;
}




/* ══════════════════════════════════════════════════════════

   BOUTON TOGGLE GRILLE / MAÇONNERIE

══════════════════════════════════════════════════════════ */

.fb-view-toggle {

  flex-shrink: 0;

  margin-left: auto;

  padding: 0 12px;

  height: 100%;

  background: none;

  border: none;

  border-left: 1px solid rgba(255, 255, 255, .1);

  color: inherit;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: .65;

  transition: opacity .2s, background .2s;

}

.fb-view-toggle:hover {

  opacity: 1;

  background: rgba(255, 255, 255, .05);

}

.fb-view-toggle svg {

  pointer-events: none;

}



@keyframes pinch-hint-fade {

  0%   { opacity: 0; transform: translateX(-50%) scale(.85); }

  15%  { opacity: 1; transform: translateX(-50%) scale(1);   }

  80%  { opacity: 1; }

  100% { opacity: 0; }

}

.pinch-hint {

  position: fixed;

  bottom: 80px;

  left: 50%;

  transform: translateX(-50%);

  background: rgba(0,0,0,.75);

  color: #fff;

  font-size: 11px;

  padding: 5px 12px;

  border-radius: 20px;

  pointer-events: none;

  z-index: 9999;

  animation: pinch-hint-fade 1.8s ease forwards;

}



/* ══ VIEW TOGGLE ═════════════════════════════════════════ */

#view-toggle-btn {

  display: flex;

  align-items: center;

  justify-content: center;

  background: none;

  border: none;

  cursor: pointer;

  padding: 4px;

  border-radius: 4px;

  color: rgba(255,255,255,0.4);

  transition: color 0.15s;

  flex-shrink: 0;

  margin-left: auto;

}

#view-toggle-btn:hover { color: rgba(255,255,255,0.9) !important; }

#view-toggle-btn svg   { display: block; }



/* ── Liste déroulante années ── */

.fb-year-wrap {

  position: relative;

  display: inline-block;

  margin-right: 12px;

}



.fb-year-select {

  appearance: none;

-webkit-appearance: none;

  background-color: #2a2a2a;

  color: #ffffff;

  border: 1px solid #444;

  border-radius: 6px;

  padding: 3px 20px 3px 13px;

  font-family: inherit;

  font-size: 13px;

  cursor: pointer;

  outline: none;

  transition: border-color 0.2s, box-shadow 0.2s;

}



.fb-year-select:hover {

  border-color: #888;

}



.fb-year-select:focus {

  border-color: #e8c97a;

  box-shadow: 0 0 0 2px rgba(232, 201, 122, 0.2);

}



.fb-year-select option {

  background-color: #2a2a2a;

  color: #fff;

}



.fb-year-select option:disabled {

  color: #777;

  font-style: italic;

}



.fb-year-arrow {

  position: absolute;

  right: 10px;

  top: 50%;

  transform: translateY(-50%);

  pointer-events: none;

  color: #888;

  font-size: 12px;

}



/* Label sur la vignette */

.thumb-lvl2 {

  position: absolute;

  bottom: 6px;

  right: 6px;

  background: rgba(0, 0, 0, 0.45);

  color: #e8c97a;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 0.04em;

  padding: 2px 6px;

  border-radius: 3px;

  pointer-events: none;

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);

}

/* Badge Famille */

.thumb-lvl3 {

    position: absolute;

    bottom: 6px;

    right: 6px;

    background: #4d8a5a;

    color: #fff;

    font-size: 11px;

    padding: 2px 6px;

    border-radius: 4px;

    z-index: 2;

}

/* Badge Admin */

.thumb-lvl4 {

    position: absolute;

    bottom: 6px;

    right: 6px;

    background: #b53a3a;

    color: #fff;

    font-size: 11px;

    padding: 2px 6px;

    border-radius: 4px;

    z-index: 2;

}

.thumb-comments {

  position: absolute;

  bottom: 6px;

  left: 6px;

  background: rgba(0, 0, 0, 0.45);

  color: #fff;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 0.03em;

  padding: 2px 5px 2px 4px;

  border-radius: 3px;

  pointer-events: none;

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);

  display: flex;

  align-items: center;

  gap: 3px;

  line-height: 1;

}

.thumb-comments svg {

  width: 9px;

  height: 9px;

  flex-shrink: 0;

  fill: #fff;

  opacity: 0.85;

}



/* Badges dans la lightbox (fusion : versions "sans taille" fusionnées avec les

   versions complètes définies plus loin) */

.lb-lvl2 {

  color: #e8c97a;

  font-size: 11px;

  font-weight: 600;

  opacity: 0.85;

}

.lb-lvl3 {

  color: #4d8a5a;

  font-size: 11px;

  font-weight: 600;

  opacity: 0.85;

}

.lb-lvl4 {

  color: #b53a3a;

  font-size: 11px;

  font-weight: 600;

  opacity: 0.85;

}



#stat-geo-missing[data-count="0"] {

  display: none;

}



#share-panel {

  position: fixed;

  bottom: 64px;

  left: 0;

  z-index: 10000;

  display: flex;

  flex-direction: row;

  align-items: center;

}



#share-toggle {

  display: flex;

  align-items: center;

  gap: 6px;

  background: rgba(0,0,0,.7);

  color: #fff;

  border: none;

  cursor: pointer;

  font-size: 15px;

  font-weight:500;

  padding: 8px 12px;

  border-radius: 0 6px 6px 0;

  white-space: nowrap;

  z-index: 1;

}

#share-toggle:hover { background: rgba(0,0,0,.9); }



#share-icons {

  display: flex;

  flex-direction: row;

  align-items: center;

  gap: 0;

  background: rgba(0,0,0,.7);

  border-radius: 0 6px 6px 0;

  overflow: hidden;

  max-width: 0;

  transition: max-width .3s ease, padding .3s ease;

  padding: 0;

}

#share-icons.share-open {

    max-width: 290px;

    padding: 4px 6px;

    border-radius: 13px;

    margin-left: 2.6px;

}



#share-icons a {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 56px;

  height: 36px;

  color: #fff;

  opacity: .75;

  text-decoration: none;

  border-radius: 4px;

  flex-shrink: 0;

}

#share-icons a:hover { opacity: 1; background: rgba(255,255,255,.1); }



.map-header {

    position: absolute;

    top: 20px;

    left: 30px;

    z-index: 900;

    display: flex;

    align-items: center;

}



.map-logo {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 20px;

    background: rgba(255,255,255,.70);

    backdrop-filter: blur(10px);

    border-radius: 20px;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);

    border: 1px solid rgba(255, 255, 255, 0.2);

    text-decoration: none;

    color: #333;

    font-weight: 600;

    transition: all 0.3s ease;

}



.map-logo:hover {

    background: rgba(0, 0, 0, .64);

    transform: translateY(-2px);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);color:white;

}



.logo-flostarica {

    height: 39px;

    width: auto;

    flex-shrink: 0;

    position: absolute;

    left: 9px;

}

.album-title {

    font-size: 16px;

    font-weight: 700;

    color: black;

    letter-spacing: 0.5px;

    margin-left: 33px;

}

.map-logo:hover .album-title {

    color: white !important;

}



.bio-wrap { position: relative; }

.bio-panel {

  position: absolute; top: calc(100% + 8px); left: 0; z-index: 999;

  width: 280px;

  background: rgba(255,255,255,.70);

  border: 1px solid rgba(0,0,0,.1);

  border-radius: 16px;

  padding: 16px;

  opacity: 0; pointer-events: none;

  transform: translateY(-6px);

  transition: opacity .2s ease, transform .2s ease;

}

.bio-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.bio-name { font-size: 14px; font-weight: 700; margin: 0 0 2px; color: #111; }

.bio-sub  { font-size: 12px; color: black; margin: 0 0 10px; }

.bio-text { font-size: 13px; color:#0a0a0a; line-height: 1.6; margin: 0 0 14px; }

.bio-socials { display: flex; gap: 10px; }

.bio-socials a {

  display: flex; align-items: center; justify-content: center;

  width: 32px; height: 32px; border-radius: 50%;

  border: 1px solid rgba(0,0,0,.12); color: #555;color:white;

  transition: color .15s, border-color .15s; text-decoration: none;

}

.bio-socials a:hover { color:white; border-color: rgba(0,0,0,.3); }

.bio-socials svg { width: 15px; height: 15px; fill: currentColor; }



[data-premium] {

  width: 100%;

  height: 100dvh;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  position: relative; /* ← ancre les absolus */

}



#lb-inner {

  position: relative;

  width: 100%;

  flex: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  min-height: 0;

}



#lb-img {

    max-width: 100vw;

    max-height: 100dvh;

    width: auto;

    height: auto;

    object-fit: contain;

    display: block;

    z-index: 1;

    opacity: 1 !important;

    transition: none !important;

}
.lb-dl { position: relative; display: inline-block; margin-top: 8px; }
.lb-dl [hidden] { display: none !important; }

.lb-dl-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 4px 0;
  color: inherit; font: inherit; font-size: .85em;
  opacity: .7; cursor: pointer; transition: opacity .15s;
}
.lb-dl-trigger:hover,
.lb-dl-trigger[aria-expanded="true"] { opacity: 1; }
.lb-dl-trigger.is-disabled { opacity: .35; cursor: not-allowed; }
.lb-dl-trigger.is-disabled:hover { opacity: .5; }

.lb-dl-pop {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 900;
  min-width: 210px; max-width: min(280px, 80vw);
  background: rgba(18,18,18,.97); color: #eee;
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  padding: 6px; font-size: .85rem;
}
.lb-dl-pop.up { top: auto; bottom: calc(100% + 6px); }

.lb-dl-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  width: 100%; background: none; border: 0; border-radius: 5px;
  padding: 7px 10px; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.lb-dl-item:hover:not(.is-disabled) { background: rgba(255,255,255,.1); }
.lb-dl-item.is-disabled { opacity: .4; cursor: not-allowed; }
.lb-dl-item-size { font-size: .85em; opacity: .65; }

.lb-dl-tip { padding: 8px 10px 6px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.1); line-height: 1.4; }
.lb-dl-tip.solo { margin-top: 0; border-top: 0; }
.lb-dl-tip p { margin: 0 0 8px; }

.lb-dl-request {
  display: inline-block; padding: 6px 12px; border-radius: 5px;
  background: var(--gold, #c9a227); color: #1a1a1a;
  font-weight: 600; text-decoration: none;
}
.lb-dl-request:hover { filter: brightness(1.1); }


#lb-bottom {

  position: fixed;

  bottom: 0;

  left: 0;

  right: 0;

  background: transparent;

  padding: 0 16px 12px;

  box-sizing: border-box;

  z-index: 10;

  pointer-events: none;

}



#lb-bottom > * {

  pointer-events: auto;

}



#lb-bottom::before {

  content: '';

  top:-21px;

  position: absolute;

  left: 0; right: 0;

  height: 48px;

  background: linear-gradient(transparent, rgba(0,0,0,0.5));

  pointer-events: none;

  z-index: -1;

}



.thumb-comment-badge {

  position: absolute;

  top: 6px;

  right: 6px;

  z-index: 2; /* suffisant grâce à isolation:isolate sur .thumb */



  display: flex;

  align-items: center;

  gap: 4px;



  padding: 3px 8px;

  border-radius: 999px;



  background: rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);



  color: #fff;

  font-size: 11px;

  font-weight: 700;

  line-height: 1;



  pointer-events: none; /* ne bloque pas le clic sur le thumb */

  user-select: none;

}



.thumb-comment-badge svg {

  width: 12px;

  height: 12px;

  flex-shrink: 0;

}

/* Bouton commenter sur 1 ligne */

#lb-comment-btn {

  flex-direction: row;

  white-space: nowrap;

  padding: 8px 16px;

}

html body #lightbox #lb-inner #lb-img {

  opacity: 1 !important;

  transition: none !important;

  visibility: visible !important;

}

.stat-clickable {

    cursor: pointer;

    transition: opacity 0.15s ease;

}

.stat-clickable:hover {

    opacity: 0.75;

}

.stat-clickable.active {

    text-decoration: underline;

}

.sr-only {

  position: absolute;

  width: 1px; height: 1px;

  padding: 0; margin: -1px;

  overflow: hidden;

  clip: rect(0,0,0,0);

  white-space: nowrap;

  border: 0;

}



.lp-btn--ghost {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 255, 255, 0.04);

    color: #d8d4e8;

    border: 1px solid rgba(255, 255, 255, 0.12);

    font-family: inherit;

    font-weight: 500;

    font-size: 0.75rem;

    letter-spacing: 0.01em;

    padding: 6px 12px;

    border-radius: 7px;

    cursor: pointer;

    backdrop-filter: blur(4px);

    box-shadow: none;

    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;

}



.lp-btn--ghost::before {

    content: '';

    width: 12px;

    height: 12px;

    flex-shrink: 0;

    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M11 11l7-7M15 4l3 3M18 8l3-3'/%3E%3C/svg%3E") no-repeat center / contain;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M11 11l7-7M15 4l3 3M18 8l3-3'/%3E%3C/svg%3E") no-repeat center / contain;

    opacity: 0.7;

}



.lp-btn--ghost:hover {

    background: rgba(184, 171, 224, 0.1);

    border-color: rgba(184, 171, 224, 0.35);

}



.lp-btn--ghost:active {

    transform: translateY(1px);

    background: rgba(184, 171, 224, 0.06);

}



.lp-btn--ghost:focus-visible {

    outline: 2px solid #b8abe0;

    outline-offset: 2px;

}



.lp-btn--ghost:disabled {

    opacity: 0.4;

    cursor: not-allowed;

    transform: none;

}



/* css public */

#lightbox #lb-inner #lb-img {

  min-height: 100%;

}

/* ══ ANIMATIONS PIN ═══════════════════════════════════════ */

@keyframes pinDrop {

  0%   { transform: translateY(-300px); opacity: 0; }

  60%  { transform: translateY(15px);   opacity: 1; }

  80%  { transform: translateY(-6px); }

  100% { transform: translateY(0); }

}

@keyframes pinHop {

  0%, 100% { transform: translateY(0); }

  50%      { transform: translateY(-7px); }

}



/* ══ CLUSTER SCATTER (pile de photos) ═══════════════════ */

.cluster-scatter {

  position: relative;

  width: var(--scatter-size);

  height: var(--scatter-size);

}

.cluster-scatter-photo {

  position: absolute;

  top: var(--pos-top);

  left: var(--pos-left);

  width: var(--pos-size);

  height: var(--pos-size);

  border-radius: 50%;

  background-image: var(--pos-bg);

  background-size: cover;

  background-position: center;

  border: 3px solid #fff;

  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);

  z-index: var(--pos-z);

}



/* ══ CLUSTER ICON (bulle + badge count) ══════════════════ */

.cluster-icon {

  position: relative;

  width: var(--icon-size);

  height: var(--icon-size);

}

.cluster-icon-circle {

  width: var(--icon-size);

  height: var(--icon-size);

  border-radius: 50%;

  background: var(--icon-color, transparent);

  background-image: var(--icon-bg, none);

  background-size: cover;

  background-position: center;

  box-shadow: 0 2px 8px rgba(0, 0, 0, .6);

  overflow: hidden;

}

.cluster-icon-badge {

  position: absolute;

  top: -4px;

  right: -4px;

  min-width: var(--badge-size);

  height: var(--badge-size);

  border-radius: calc(var(--badge-size) / 2);

  background: var(--badge-color);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: var(--badge-font);

  padding: 0 2px;

  box-shadow: 0 1px 4px rgba(0, 0, 0, .5);

  border: 1.5px solid rgba(255, 255, 255, .85);

}



/* ══ PIN (photo unique, animée) ══════════════════════════ */

.pin-outer {

  position: relative;

  width: var(--pin-w);

  height: var(--pin-h);

}

.pin-drop {

  width: 100%;

  height: 100%;

  animation: pinDrop .6s cubic-bezier(.34, 1.56, .64, 1) both;

}

.pin-hop {

  position: relative;

  width: 100%;

  height: 100%;

  animation: pinHop 1.8s ease-in-out .6s infinite;

}

.pin-outer:hover .pin-hop {

  animation-play-state: paused;

}

.pin-photo-fill {

  position: absolute !important;

  top: 0;

  left: 0;

  width: var(--pin-w);

  height: var(--pin-h);

  object-fit: cover;

  display: block;

  background: #333;

  z-index: 2999 !important;

}

.pin-outline {

  position: absolute;

  top: 0;

  left: 0;

  z-index: 3000;

  pointer-events: none;

  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55));

}

[data-premium] {

  width: 100%;

  height: 100dvh;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  position: relative; /* ← ancre les absolus */

}



#lb-inner {

  position: relative;

  width: 100%;

  flex: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  min-height: 0;

}



#lb-img {

    max-width: 100vw;

    max-height: 100dvh;

    width: auto;

    height: auto;

    object-fit: contain;

    display: block;

    z-index: 1;

    opacity: 1 !important;

    transition: none !important;

}



#lb-bottom {

  position: fixed;

  bottom: 0;

  left: 0;

  right: 0;

  background: transparent;

  padding: 0 16px 12px;

  box-sizing: border-box;

  z-index: 10;

  pointer-events: none;

}



#lb-bottom > * {

  pointer-events: auto;

}



#lb-bottom::before {

  content: '';

  top:-21px;

  position: absolute;

  left: 0; right: 0;

  height: 48px;

  background: linear-gradient(transparent, rgba(0,0,0,0.5));

  pointer-events: none;

  z-index: -1;

}



.thumb-comment-badge {

  position: absolute;

  top: 6px;

  right: 6px;

  z-index: 2; /* suffisant grâce à isolation:isolate sur .thumb */



  display: flex;

  align-items: center;

  gap: 4px;



  padding: 3px 8px;

  border-radius: 999px;



  background: rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);



  color: #fff;

  font-size: 11px;

  font-weight: 700;

  line-height: 1;



  pointer-events: none; /* ne bloque pas le clic sur le thumb */

  user-select: none;

}



.thumb-comment-badge svg {

  width: 12px;

  height: 12px;

  flex-shrink: 0;

}

/* Bouton commenter sur 1 ligne */

#lb-comment-btn {

  flex-direction: row;

  white-space: nowrap;

  padding: 8px 16px;

}

html body #lightbox #lb-inner #lb-img {

  opacity: 1 !important;

  transition: none !important;

  visibility: visible !important;

}

.stat-clickable {

    cursor: pointer;

    transition: opacity 0.15s ease;

}

.stat-clickable:hover {

    opacity: 0.75;

}

.stat-clickable.active {

    text-decoration: underline;

}

.sr-only {

  position: absolute;

  width: 1px; height: 1px;

  padding: 0; margin: -1px;

  overflow: hidden;

  clip: rect(0,0,0,0);

  white-space: nowrap;

  border: 0;

}



.lp-btn--ghost {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 255, 255, 0.04);

    color: #d8d4e8;

    border: 1px solid rgba(255, 255, 255, 0.12);

    font-family: inherit;

    font-weight: 500;

    font-size: 0.75rem;

    letter-spacing: 0.01em;

    padding: 6px 12px;

    border-radius: 7px;

    cursor: pointer;

    backdrop-filter: blur(4px);

    box-shadow: none;

    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;

}



.lp-btn--ghost::before {

    content: '';

    width: 12px;

    height: 12px;

    flex-shrink: 0;

    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M11 11l7-7M15 4l3 3M18 8l3-3'/%3E%3C/svg%3E") no-repeat center / contain;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M11 11l7-7M15 4l3 3M18 8l3-3'/%3E%3C/svg%3E") no-repeat center / contain;

    opacity: 0.7;

}



.lp-btn--ghost:hover {

    background: rgba(184, 171, 224, 0.1);

    border-color: rgba(184, 171, 224, 0.35);

}



.lp-btn--ghost:active {

    transform: translateY(1px);

    background: rgba(184, 171, 224, 0.06);

}



.lp-btn--ghost:focus-visible {

    outline: 2px solid #b8abe0;

    outline-offset: 2px;

}



.lp-btn--ghost:disabled {

    opacity: 0.4;

    cursor: not-allowed;

    transform: none;

}



/* css public */

#lightbox #lb-inner #lb-img {

  min-height: 100%;

}

/* ══ ANIMATIONS PIN ═══════════════════════════════════════ */

@keyframes pinDrop {

  0%   { transform: translateY(-300px); opacity: 0; }

  60%  { transform: translateY(15px);   opacity: 1; }

  80%  { transform: translateY(-6px); }

  100% { transform: translateY(0); }

}

@keyframes pinHop {

  0%, 100% { transform: translateY(0); }

  50%      { transform: translateY(-7px); }

}



/* ══ CLUSTER SCATTER (pile de photos) ═══════════════════ */

.cluster-scatter {

  position: relative;

  width: var(--scatter-size);

  height: var(--scatter-size);

}

.cluster-scatter-photo {

  position: absolute;

  top: var(--pos-top);

  left: var(--pos-left);

  width: var(--pos-size);

  height: var(--pos-size);

  border-radius: 50%;

  background-image: var(--pos-bg);

  background-size: cover;

  background-position: center;

  border: 3px solid #fff;

  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);

  z-index: var(--pos-z);

}



/* ══ CLUSTER ICON (bulle + badge count) ══════════════════ */

.cluster-icon {

  position: relative;

  width: var(--icon-size);

  height: var(--icon-size);

}

.cluster-icon-circle {

  width: var(--icon-size);

  height: var(--icon-size);

  border-radius: 50%;

  background: var(--icon-color, transparent);

  background-image: var(--icon-bg, none);

  background-size: cover;

  background-position: center;

  box-shadow: 0 2px 8px rgba(0, 0, 0, .6);

  overflow: hidden;

}

.cluster-icon-badge {

  position: absolute;

  top: -4px;

  right: -4px;

  min-width: var(--badge-size);

  height: var(--badge-size);

  border-radius: calc(var(--badge-size) / 2);

  background: var(--badge-color);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: var(--badge-font);

  padding: 0 2px;

  box-shadow: 0 1px 4px rgba(0, 0, 0, .5);

  border: 1.5px solid rgba(255, 255, 255, .85);

}



/* Responsive */

@media (max-width: 768px) {#lb-meta {
    left: 50%;
    transform: translateX(-50%);
    max-width: 64vw;
    text-align: center;
  }

  /* Centre la catégorie */
  .lb-cat {
    text-align: center;
  }

  /* Centre la ligne Date / Vues / Badges */
  .lb-right {
    justify-content: center;
  }

  /* Optionnel : centre la tooltip par rapport au texte des vues sur mobile */
  .lb-hit[data-tooltip]:hover::after,
  .lb-hit[data-tooltip].active::after {
    left: 50%;
    transform: translateX(-50%);
  }
    #lb-close {

  position: fixed;

  top: 18px; right: 18px;

  color: rgba(255,255,255,.6);

  font-size: 24px;

  cursor: pointer;

  background: rgba(0,0,0,.35);

  border: none;

  border-radius: 50%;

  width: 26px; height: 26px;

}

#share-label {
  display: none;
}
#share-toggle {
  zoom: 1.3;
}
#lb-prev, #lb-next {
    display: none;}
#lb-comments-layer {
  bottom: 64px;}
#lb-meta {
left: 50%;
    transform: translateX(-50%);
    max-width: 64vw;
    text-align: center;
}

    .map-header {

        top: 15px;

        left: 15px;

    }



    .map-logo {

        padding: 10px 16px;

        gap: 10px;

        border-radius: 16px;

    }



    .logo-flostarica {

        height: 30px;

    }



    .album-title {

        font-size: 14px;

    }

}



@media (max-width: 480px) {

    .map-header {

        top: 12px;

        left: 12px;

    }



    .map-logo {

        padding: 8px 12px;

        gap: 8px;

    }

}
/* Assure le positionnement du conteneur parent */
.thumb-item { /* remplace par la classe de ton 'div' parent */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* Bouton Play au centre (effet verre + micro-animation au hover) */
.thumb-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s;
  pointer-events: none;
}

.thumb-play-center svg {
  margin-left: 2px; /* Centrage optique du triangle de lecture */
}

/* Effet au survol du bloc */
div:hover .thumb-play-center {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(0, 0, 0, 0.75);
}

/* Gradient bas pour la lisibilité du texte sans bande rigide */
.thumb-video-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 10px 8px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Titre sur 1 ou 2 lignes proprement */
.thumb-video-title {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Tronque à 2 lignes si trop long */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
