
/* __DESIGN_SITE__ */
/* socle filtres (ajouté par design_site.py) */
.ds-hide { display: none !important; }
body[data-ds-filtres="aucun"] .filters { display: none !important; }
body[data-ds-filtres="sans-genre"] .filters .filter-btn[data-filter="type"] { display: none !important; }
body[data-ds-filtres="sans-age"] .filters .filter-btn[data-filter="age"] { display: none !important; }
body[data-ds-filtres="ligne"] .filters { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
body[data-ds-filtres="ligne"] .filters::-webkit-scrollbar { display: none; }
body[data-ds-filtres="ligne"] .filters .filter-btn { flex: 0 0 auto; white-space: nowrap; }
.filters select.ds-fsel { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; padding-right: 2.1em; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='currentColor' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right .7em center; background-size: 12px 8px; }
.filters .ds-fgroup { display: contents; }
/* Next : barre React (div.shadow-sm > div.scrollbar-hide > .form-group > select ×2 + bouton Recherche) */
body[data-ds-filtres="aucun"] div.rounded-lg.shadow-sm:has(> div.scrollbar-hide > div.form-group > select) { display: none !important; }
body[data-ds-filtres="sans-genre"] div.scrollbar-hide > div.form-group:first-child:has(> select) { display: none !important; }
body[data-ds-filtres="sans-tri"] div.scrollbar-hide > div.form-group:nth-child(2):has(> select) { display: none !important; }
body[data-ds-filtres="sans-recherche"] div.scrollbar-hide > div.relative.flex-shrink-0:has(> button) { display: none !important; }
/* Next `chips` : pastilles d'âge construites par design_filtres.js (le select natif est caché) */
.ds-fnext { display: flex; gap: 8px; flex-wrap: nowrap; }
.ds-fnext .ds-fchip { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--secondary-color, #999); background: transparent; color: inherit; font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap; }
.ds-fnext .ds-fchip.active { background: var(--secondary-color, #18181b); color: #fff; border-color: transparent; }

/* socle menu mobile Next (ajouté par design_site.py) */
@media (max-width: 767px) {
  .ds-mburger { position: fixed; top: 12px; left: 10px; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; background: #18181b; color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
  .ds-mburger span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
  .ds-moverlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; }
  .ds-mdrawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); z-index: 70; overflow-y: auto; background: #fff; color: #18181b; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 8px 0 30px rgba(0,0,0,.3); padding-bottom: 24px; }
  body:has(#ds-mcb:checked) .ds-moverlay { display: block; }
  body:has(#ds-mcb:checked) .ds-mdrawer { transform: none; }
  body:has(#ds-mcb:checked) { overflow: hidden; }
  .ds-mhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.1); font-weight: 700; font-size: 1.05rem; }
  .ds-mclose { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; background: rgba(0,0,0,.06); }
  .ds-msec { padding: 12px 16px 4px; }
  .ds-msec-t { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
  .ds-mlinks { display: flex; flex-wrap: wrap; gap: 8px; }
  .ds-mlink { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); background: rgba(0,0,0,.03); color: inherit; text-decoration: none; font-size: .9rem; line-height: 1.2; }
  .ds-mnav .ds-mlink { font-weight: 600; }
  .ds-mfoot { padding: 18px 16px 0; }
  .ds-mcta { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--secondary-color, #18181b); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
}
@media (min-width: 768px) { .ds-mburger, .ds-mdrawer, .ds-moverlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ds-mdrawer { transition: none; } }

/* sexo-casual-bolivia.lat — habillage unique (gabarit Next, national Bolivie)
   Registre : aguayo. Un accent magenta (#c2185b, celui du favicon), un neutre chaud
   couleur laine d'alpaga, une encre prune profonde. La touche du pays : un fin ruban
   tissé (rayures du seul accent, en nuances) qui borde l'en-tête, le CTA et le pied.
   Composition : logo centré sur la 1re rangée, régions sur une 2e rangée centrée ;
   cartes à COIN COUPÉ + filet courbe sous la photo ; badges d'âge en bas à gauche ;
   CTA en carte à coin coupé ; footer : marque en bandeau centré puis 3 colonnes aérées. */

html:root{
  --ag:#c2185b;
  --ag-fonce:#8e0f42;
  --ag-clair:#e0628f;
  --ag-doux:#fbe4ec;
  --ag-lueur:rgba(194,24,91,.34);
  --laine:#faf3ea;
  --laine-2:#f1e3d2;
  --ecru:#fffaf4;
  --encre:#2a1620;
  --encre-2:#5a3f4a;
  --bord:#e8d5c4;
  --ruban:repeating-linear-gradient(90deg,var(--ag-fonce) 0 14px,var(--ag) 14px 22px,var(--ag-clair) 22px 26px,var(--ecru) 26px 30px,var(--ag) 30px 38px);
  --primary-color:#c2185b;
  --secondary-color:#c2185b;
  color-scheme:light;
}
body{ background:var(--laine) !important; color:var(--encre); }
main.min-h-screen.bg-white{ background:transparent !important; }

/* ===================== EN-TÊTE : logo centré, régions sur une 2e rangée ===================== */
header.sticky{
  background:rgba(250,243,234,.94) !important; border-bottom:0 !important;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
header.sticky::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:4px; pointer-events:none;
  background:var(--ruban); opacity:.95;
}
header.sticky a.font-bold[href="/"]{ color:var(--encre) !important; font-weight:650 !important; letter-spacing:.005em; }
@media (min-width:768px){
  header.sticky .container > .flex.h-16{
    display:grid !important; grid-template-columns:1fr auto 1fr; height:auto !important;
    row-gap:.15rem; padding:.7rem 0 .45rem;
  }
  header.sticky .container > .flex.h-16 > div.hidden.md\:flex.flex-shrink-0:first-child{ grid-column:2; grid-row:1; justify-content:center; }
  header.sticky .container > .flex.h-16 > nav{ grid-column:1 / -1; grid-row:2; justify-content:center; }
  header.sticky .container > .flex.h-16 > div.hidden.md\:flex.items-center.gap-4{ grid-column:3; grid-row:1; justify-self:end; }
  header.sticky a.font-bold[href="/"]{
    font-size:1.55rem !important; display:inline-flex; align-items:center; gap:.65rem;
  }
  /* losange tissé devant le nom */
  header.sticky a.font-bold[href="/"]::before{
    content:""; width:16px; height:16px; flex:0 0 16px; transform:rotate(45deg); border-radius:3px;
    background:linear-gradient(135deg,var(--ag-clair) 0 33%,var(--ag) 33% 66%,var(--ag-fonce) 66%);
    box-shadow:0 6px 12px -6px var(--ag-lueur);
  }
  header.sticky nav .relative > button{
    color:var(--encre-2) !important; padding:.35rem 1.1rem; border-radius:999px;
    border:1px solid var(--bord); background:var(--ecru); transition:border-color .2s, color .2s, background .2s;
  }
  header.sticky nav .relative > button:hover{ border-color:var(--ag); color:var(--ag-fonce) !important; background:var(--ag-doux); }
  header.sticky .hidden.md\:flex.items-center.gap-4 button{
    color:var(--encre) !important; width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center;
    border-radius:4px 14px 4px 14px; border:1px solid var(--bord); background:var(--ecru); transition:background .2s, color .2s;
  }
  header.sticky .hidden.md\:flex.items-center.gap-4 button:hover{ background:var(--ag-doux); color:var(--ag-fonce) !important; }
}
header.sticky .absolute.bg-white, header.sticky div[class*="shadow-xl"]{
  background:var(--ecru) !important; border-color:var(--bord) !important; border-radius:16px;
  box-shadow:0 22px 40px -24px rgba(42,22,32,.45) !important;
}
header.sticky .absolute a{ color:var(--encre) !important; }
header.sticky .absolute a:hover{ color:var(--ag-fonce) !important; background:var(--ag-doux) !important; }
header.sticky .absolute h3, header.sticky .absolute p{ color:var(--encre-2) !important; }

/* barre mobile */
@media (max-width:767px){
  header.sticky .flex.h-16{ height:3.7rem; }
  header.sticky a.font-bold[href="/"]{
    translate:none !important; position:absolute !important; left:50%; transform:translateX(-50%);
    max-width:56%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:block;
    font-size:1.05rem !important;
  }
  header.sticky .md\:hidden.flex > button:last-child{
    min-height:40px; padding:0 .8rem; border-radius:4px 14px 4px 14px; color:#fff !important;
    background:var(--ag); box-shadow:0 8px 16px -10px var(--ag-lueur);
  }
  header.sticky .md\:hidden.flex > button:last-child svg{ color:#fff; }
}

/* ===================== TITRES ===================== */
main h1{ color:var(--encre) !important; font-weight:700 !important; letter-spacing:-.01em; }
main h1::after{
  content:""; display:block; width:96px; height:5px; margin:.8rem auto 0; border-radius:3px; background:var(--ruban);
}
main h2{ color:var(--encre) !important; font-weight:650 !important; }
main section.rounded-2xl.shadow-lg:not(.text-center),
main div.rounded-2xl.shadow-lg{
  background:var(--ecru) !important; border:1px solid var(--bord);
  box-shadow:0 20px 44px -34px rgba(42,22,32,.5) !important; border-radius:22px !important;
}
main section.rounded-2xl.shadow-lg:not(.text-center) > h2:first-child,
main section.rounded-2xl.shadow-lg:not(.text-center) h2.font-semibold{
  padding-bottom:.8rem; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='12' viewBox='0 0 90 12'%3E%3Cpath d='M2 9 Q24 1 45 6 T88 3' fill='none' stroke='%23c2185b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 90px 12px;
}
main section.text-center.rounded-2xl h2{ background:none !important; padding-bottom:0 !important; }
main .text-zinc-600, main .text-zinc-700, main .text-zinc-500{ color:var(--encre-2) !important; }
main .prose, main .prose p, main .prose li{ color:var(--encre-2) !important; }
main .prose h2, main .prose h3, main .prose strong{ color:var(--encre) !important; }
main .prose a, main a.text-blue-600, main a.underline{ color:var(--ag-fonce) !important; }
nav[aria-label] a:not([style*="border-left"]){ color:var(--encre-2); }

/* ===================== CARTES : coin coupé + filet courbe, grille serrée ===================== */
main div.flex-shrink-0.w-40{
  background:var(--ecru) !important; border:0 !important; border-radius:0 !important;
  clip-path:polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding:0 !important; position:relative;
  filter:drop-shadow(0 12px 16px rgba(42,22,32,.14)); transition:transform .25s ease, filter .25s ease;
}
main div.flex-shrink-0.w-40:hover{ transform:translateY(-4px); filter:drop-shadow(0 18px 22px var(--ag-lueur)); }
main div.flex-shrink-0.w-40 .relative{ overflow:hidden; border-radius:0 0 50% 50% / 0 0 14px 14px; }
main div.flex-shrink-0.w-40 img{ transition:transform .5s ease; }
main div.flex-shrink-0.w-40:hover img{ transform:scale(1.05); }
/* filet courbe sous la photo */
main div.flex-shrink-0.w-40 .relative::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:5px; pointer-events:none;
  border-radius:0 0 50% 50% / 0 0 5px 5px; background:var(--ag);
}
/* badge d'âge en bas à gauche */
main div.flex-shrink-0.w-40 .absolute.top-2.right-2{
  top:auto !important; right:auto !important; bottom:12px !important; left:8px !important;
  padding:.16rem .62rem !important; border-radius:999px !important;
  background:var(--ag) !important; color:#fff !important; border:2px solid var(--ecru);
  font-weight:700 !important; font-size:.72rem !important; line-height:1.3;
  box-shadow:0 4px 10px -4px rgba(42,22,32,.55); text-shadow:none !important; white-space:nowrap;
}
main div.flex-shrink-0.w-40 > *:not(.relative){ padding-inline:.7rem; }
main div.flex-shrink-0.w-40 h3{ color:var(--encre) !important; }
main div.flex-shrink-0.w-40 p.text-zinc-500{ color:var(--ag-fonce) !important; font-weight:600; }
main div.flex-shrink-0.w-40 p.line-clamp-2{ color:var(--encre-2) !important; }

/* ===================== FILTRES (tri) : pilules ===================== */
main div.rounded-lg.shadow-sm{
  background:var(--ecru) !important; border:1px solid var(--bord) !important; border-radius:18px !important;
  box-shadow:0 10px 24px -20px rgba(42,22,32,.45) !important;
}
main div.rounded-lg.shadow-sm select, main div.rounded-lg.shadow-sm input{
  border:1px solid var(--bord) !important; border-radius:999px !important; min-height:42px;
  color:var(--encre) !important; background-color:var(--laine) !important;
}
main div.rounded-lg.shadow-sm select:focus, main div.rounded-lg.shadow-sm input:focus{ border-color:var(--ag) !important; box-shadow:0 0 0 3px var(--ag-doux) !important; outline:none; }
main div.rounded-lg.shadow-sm label{ color:var(--encre-2) !important; }
main div.rounded-lg.shadow-sm button{ border-radius:999px !important; min-height:42px; }
main div.rounded-lg.shadow-sm button[style]:not(.ds-fchip), main div.rounded-lg.shadow-sm button.bg-zinc-900{
  background:var(--ag) !important; color:#fff !important; border-color:var(--ag) !important;
}
.ds-fnext .ds-fchip.ds-fchip{ border:1px solid var(--bord) !important; border-radius:999px !important; background:var(--ecru) !important; color:var(--encre) !important; min-height:40px; }
.ds-fnext .ds-fchip.ds-fchip.active{ background:var(--ag) !important; color:#fff !important; border-color:var(--ag) !important; }

/* ===================== régions / maillage ===================== */
section.bg-zinc-100{ background:var(--laine-2) !important; border:0 !important; }
section.bg-zinc-100 a.rounded-full{
  background:var(--ecru) !important; color:var(--encre) !important; border:1px solid var(--bord) !important;
}
section.bg-zinc-100 a.rounded-full:hover{ border-color:var(--ag) !important; color:var(--ag-fonce) !important; }
section#departements{ background:transparent !important; border:0 !important; }
section#departements a{ color:var(--encre) !important; }
section#departements a:hover{ color:var(--ag-fonce) !important; }
main section.border-t.border-b{ background:var(--ecru) !important; border-color:var(--bord) !important; }
nav[aria-label] a[style*="border-left"]{
  border-left-color:var(--ag) !important; color:var(--encre) !important; border-radius:0 12px 12px 0; background:var(--ecru);
}
nav[aria-label] a[style*="border-left"]:hover{ background:var(--ag-doux) !important; }

/* ===================== CTA : carte de rencontre à coin coupé ===================== */
main section.text-center.rounded-2xl{
  position:relative; overflow:hidden;
  background:radial-gradient(90% 80% at 50% 0%, #fff7f2 0%, var(--ag-doux) 100%) !important;
  border:0 !important; border-radius:0 !important;
  clip-path:polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  box-shadow:none !important; padding-top:2.8rem !important; padding-bottom:2.6rem !important;
}
main section.text-center.rounded-2xl::before{
  content:""; position:absolute; left:0; right:0; top:0; height:7px; background:var(--ruban);
}
main section.text-center.rounded-2xl h2{ color:var(--encre) !important; font-weight:700 !important; }
main section.text-center.rounded-2xl p{ color:var(--encre-2) !important; }
main section.text-center.rounded-2xl button{
  background:var(--ag) !important; color:#fff !important; border-radius:999px !important;
  min-height:50px; padding-inline:2.3rem !important;
  box-shadow:0 16px 28px -14px rgba(142,15,66,.85) !important; transition:transform .2s ease, background .2s ease;
}
main section.text-center.rounded-2xl button:hover{ transform:translateY(-2px); background:var(--ag-fonce) !important; }
@media (min-width:992px){
  body.design-v-cta-faq main.space-y-12:has(section#departements) > section.text-center{ grid-column:1 / -1; justify-self:center; width:min(620px,100%); }
}

/* ===================== FAQ ===================== */
main section:has(> div.space-y-0){ background:var(--ecru) !important; border-radius:22px !important; border:1px solid var(--bord); }
main div.space-y-0 > div{ border-color:var(--bord) !important; }
main div.space-y-0 h3, main div.space-y-0 button{ color:var(--encre) !important; }
main div.space-y-0 button:hover{ background:var(--ag-doux) !important; }
main div.space-y-0 svg{ color:var(--ag) !important; }
main div.space-y-0 p{ color:var(--encre-2) !important; }

/* retour en haut : losange */
button.fixed.bottom-6.right-6{
  background:var(--ag) !important; color:#fff !important; border-radius:4px 16px 4px 16px !important;
  box-shadow:0 12px 22px -10px rgba(142,15,66,.85) !important; border:2px solid var(--ecru);
}

/* ===================== FOOTER : bandeau de marque centré + 3 colonnes aérées ===================== */
footer.border-t{ background:var(--laine-2) !important; border-top:0 !important; position:relative; }
footer.border-t::before{ content:""; position:absolute; left:0; right:0; top:0; height:6px; background:var(--ruban); }
footer .grid.mb-8{ row-gap:2.2rem !important; }
footer .grid.mb-8 > div:first-child{ grid-column:1 / -1; text-align:center; padding:.4rem 0 1.4rem; border-bottom:1px dashed var(--bord); }
footer .grid.mb-8 > div:first-child h3{ font-size:1.35rem !important; }
footer .grid.mb-8 > div:not(:first-child){
  background:var(--ecru); border:1px solid var(--bord); padding:1.5rem 1.6rem;
  clip-path:polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
@media (min-width:1024px){
  footer .grid.mb-8{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; column-gap:2.4rem !important; }
}
footer h3.font-semibold, footer h3[style]{ color:var(--encre) !important; }
footer h3.text-sm.font-semibold{ color:var(--ag-fonce) !important; letter-spacing:.08em; }
footer p, footer .text-zinc-500, footer .text-zinc-600{ color:var(--encre-2) !important; }
footer a{ color:var(--encre) !important; transition:color .2s; }
footer a:hover{ color:var(--ag-fonce) !important; }
footer .border-t.border-zinc-200{ border-top-color:var(--bord) !important; }

/* ===================== POP-UPS : couleurs / rayons ===================== */
.fixed.inset-0 .rounded-2xl.shadow-2xl, .fixed.inset-0 .bg-white.rounded-xl{ border-radius:22px !important; }
.fixed.inset-0 h1, .fixed.inset-0 h2{ color:var(--encre) !important; }
.z-\[9999\] .w-16.h-1{ background:var(--ag) !important; }
.z-\[9999\] button:first-of-type{ background:var(--ag) !important; color:#fff !important; border-radius:999px !important; }
.prelinker-embed button[type="submit"], .prelinker-embed input[type="submit"]{ background:var(--ag) !important; color:#fff !important; border-radius:999px !important; }
.prelinker-embed input:focus, .prelinker-embed select:focus{ border-color:var(--ag) !important; }

/* ===================== MENU MOBILE ===================== */
@media (max-width:767px){
  .ds-mburger{ background:var(--ecru); color:var(--encre); border:1px solid var(--bord); border-radius:4px 14px 4px 14px; box-shadow:0 6px 12px -8px rgba(42,22,32,.55); }
  .ds-moverlay{ background:rgba(42,22,32,.5); }
  .ds-mdrawer{ background:var(--laine); color:var(--encre); }
  .ds-mhead{ background:var(--ag); color:#fff; border-bottom:0; box-shadow:inset 0 -6px 0 var(--ag-fonce); }
  .ds-mbrand{ color:#fff; }
  .ds-mclose{ background:rgba(255,255,255,.18); color:#fff; }
  .ds-msec-t{ color:var(--ag-fonce); opacity:1; font-weight:700; }
  .ds-mlink{ min-height:40px; display:inline-flex; align-items:center; background:var(--ecru); border-color:var(--bord); color:var(--encre); }
  .ds-mnav .ds-mlink{ background:var(--ag-doux); border-color:#efb9cc; border-radius:4px 14px 4px 14px; }
  .ds-mcta{ background:var(--ag); color:#fff; border-radius:999px; box-shadow:0 12px 22px -12px rgba(142,15,66,.9); }
}

/* ===================== recette Next · cta-faq (copiée telle quelle) ===================== */
@media (min-width: 992px) {
  body.design-v-cta-faq main.space-y-12 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 3rem; align-items: start; }
  body.design-v-cta-faq main.space-y-12 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > section:has(.min-h-\[500px\]) { order: 1; }
  body.design-v-cta-faq main.space-y-12 > div.rounded-2xl.mb-8 { order: 2; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 { display: contents; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(.prose) { order: 3; }
  body.design-v-cta-faq main.space-y-12 > .ds-bloc { order: 3; }
  body.design-v-cta-faq main.space-y-12 > section.text-center { order: 4; grid-column: auto; align-self: center; margin-top: 2.5rem; margin-bottom: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(> div.space-y-0) { order: 5; grid-column: auto; align-self: stretch; }
}

@media (prefers-reduced-motion: reduce){
  main div.flex-shrink-0.w-40, main div.flex-shrink-0.w-40 img,
  main section.text-center.rounded-2xl button, header.sticky nav .relative > button,
  header.sticky .hidden.md\:flex.items-center.gap-4 button, footer a{ transition:none !important; }
  main div.flex-shrink-0.w-40:hover, main div.flex-shrink-0.w-40:hover img,
  main section.text-center.rounded-2xl button:hover{ transform:none; }
}

/* garde menu Next (design_site.py) */
.ds-mdrawer, .ds-mburger, .ds-moverlay { position: fixed !important; }

/* garde-fou design_site.py (Next, 17/09) : le logo mobile est un <a> absolu centré ; un nom de site
   allemand long (« Kostenlose Sexdates in Deutschland ») débordait ou s'empilait sur 3 lignes
   par-dessus les icônes (capture du 17/09). Une ligne, ellipse, place réservée aux boutons. */
@media (max-width: 767px) {
  header .md\:hidden a[href="/"] {
    max-width: 56% !important; white-space: nowrap !important; overflow: hidden !important;
    text-overflow: ellipsis !important; font-size: clamp(.95rem, 4.4vw, 1.25rem) !important; line-height: 1.2 !important;
    position: absolute !important; /* lot 21 : un `position: relative` posé pour un ::after l'avait mis dans le flux → bouton par-dessus */
  }
  header nav.hidden { display: none !important; }
}
/* garde-fou 18/09 : la carte des pages ville tombait en repli avec un texte FRANÇAIS (« Carte indisponible (fallback) ») —
   corrigé à la source (VilleMap.tsx), masqué ici tant que le dist n'est pas reconstruit. */
main.space-y-12 > div.rounded-2xl.mb-8 > div.mb-3.text-sm.text-zinc-600 { display: none !important; }
@media (max-width: 767px) { /* lot 21 : `display:flex` posé sur nav.hidden.md:flex la faisait sortir sur mobile, par-dessus le logo */
  /* 19/09 (capture de Lucas, pop-up profil mobile) : le bouton « Registrieren… » remonté sous la photo touchait le
     titre « Bio » (bio.top == cta.bottom, toutes variantes pm-v) ; corrigé à la source (popup_skins.css / globals.css),
     posé ici pour les dists déjà construits. */
  .pm-modal .pm-cta { margin-bottom: .9rem !important; }
}
/* __END_DESIGN_SITE__ */
