
/* __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; } }

/* ts-sachsen-anhalt.de — Next, cta-faq, filtres aucun. REGISTRE « NUIT MAUVE » : lin #efe8e0 + violet du favicon
   #5e35b1 + encre #241f2e. Formes : LUEUR douce (halo radial violet sur le hero, le CTA, le footer, le tiroir),
   CARTOUCHE 16 px (cartes, sections, marque, boutons), POINT DE NUIT (petit disque violet à halo devant les titres,
   sous le H1, badge d'âge rond). Composition : header lin bas, marque centrée en cartouche violet, nav à gauche,
   actions à droite ; burger violet ; footer violet avec carte lin centrée ; tiroir nuit.
   ⚠ Aucun contexte d'empilement sur les sections (la pop-up profil vit dans la section profils). */

/* ---------- 1. palette + variables du gabarit (émis avant le :root inline) */
html:root {
--n-v: #5e35b1;      /* violet du favicon : surfaces, blanc dessus 8:1 */
--n-vd: #4a2795;     /* violet profond : hover, footer */
--n-vt: #4527a0;     /* violet texte sur lin : 7:1 */
--n-vn: #2d1b5e;     /* nuit : tiroir, dégradés */
--n-lin: #efe8e0;    /* neutre chaud */
--n-lin2: #f8f4ee;   /* papier des cartes */
--n-lin3: #e5dccf;   /* lin foncé : champs, pastilles */
--n-ink: #241f2e;
--n-inkm: #5a5264;   /* 6,4:1 sur lin */
--n-line: rgba(36, 31, 46, .14);
--n-glow: rgba(94, 53, 177, .22);
--n-glow2: rgba(94, 53, 177, .10);
--n-sh: 0 10px 28px -12px rgba(94, 53, 177, .35);
--text: var(--n-ink); --text-muted: var(--n-inkm); --border: var(--n-line);
--bg: var(--n-lin); --bg-alt: var(--n-lin3); --bg-card: var(--n-lin2);
--primary: var(--n-v); --secondary: var(--n-v); --primary-color: var(--n-v); --secondary-color: var(--n-v);
color-scheme: light; background: var(--n-lin);
}
body.antialiased { background: transparent; color: var(--n-ink); }
main.min-h-screen.bg-white, main.min-h-screen > div.bg-gradient-to-b { background: transparent; }

/* ---------- 2. header : lin, bas, nav à gauche, marque centrée en cartouche violet, actions à droite */
header.sticky {
background: var(--n-lin); backdrop-filter: none; border-bottom: 1px solid var(--n-line) !important;
box-shadow: 0 8px 24px -18px rgba(45, 27, 94, .5);
}
header.sticky .container > div.flex { height: 58px; gap: 1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
header.sticky .container > div.flex > nav { order: 1; grid-column: 1; justify-self: start; min-width: 0; gap: .35rem; }
header.sticky .container > div.flex > div:nth-child(1) { order: 2; grid-column: 2; justify-self: center; }
header.sticky .container > div.flex > div:nth-child(4) { order: 3; grid-column: 3; justify-self: end; gap: .5rem; }
header.sticky a.font-bold[href="/"] {
display: inline-block; color: #fff !important; background: linear-gradient(135deg, var(--n-v), var(--n-vd)); padding: .5rem 1.15rem;
border-radius: 16px; font-size: 1.05rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2; white-space: nowrap;
box-shadow: 0 8px 20px -10px rgba(94, 53, 177, .7); transition: box-shadow .25s ease, translate .2s ease;
}
header.sticky a.font-bold[href="/"]:hover { translate: 0 -1px; box-shadow: 0 12px 24px -10px rgba(94, 53, 177, .8); }
header.sticky nav > div > button {
display: block; color: var(--n-ink); font-weight: 600; padding: .45rem .7rem; border-radius: 16px; font-size: .9rem;
max-width: min(100%, 22ch); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background-color .2s, color .2s;
}
header.sticky nav > div > button svg { display: inline-block; vertical-align: middle; margin-left: .2rem; }
header.sticky nav > div > button:hover { background: var(--n-lin3); color: var(--n-vt); }
header.sticky .container > div.flex > nav > div { min-width: 0; flex: 0 1 auto; }
@media (max-width: 1100px) { header.sticky nav > div > button { font-size: .82rem; max-width: min(100%, 17ch); } }
header.sticky .container > div.flex > div:nth-child(4) button {
width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0;
color: var(--n-vt); background: var(--n-lin3); border-radius: 50%; transition: background-color .2s, color .2s;
}
header.sticky .container > div.flex > div:nth-child(4) button:hover { background: var(--n-v); color: #fff; }
header.sticky nav div.absolute.rounded-xl { background: var(--n-lin2); border: 1px solid var(--n-line); border-radius: 16px; box-shadow: var(--n-sh); }
header.sticky nav div.absolute span, header.sticky nav div.absolute a { color: var(--n-ink); }
header.sticky nav div.absolute div.rounded-lg { border-radius: 12px; }
header.sticky nav div.absolute div.rounded-lg:hover { background: var(--n-lin3); }
header.sticky nav div.absolute [style*="color"] { color: var(--n-vt) !important; }
header.sticky div.absolute.whitespace-nowrap.text-white[style] { background: var(--n-v) !important; color: #fff !important; border-radius: 16px !important; font-weight: 700; box-shadow: var(--n-sh); left: auto !important; right: 0; transform: none !important; }
header.sticky div.absolute.whitespace-nowrap.text-white[style] > div.rotate-45 { background: var(--n-v) !important; left: auto; right: 14px; }
@media (max-width: 767px) {
header.sticky .container > div.flex { height: 60px; display: flex; }
header.sticky .md\:hidden > button:first-child { color: var(--n-ink); }
header.sticky a.font-bold[href="/"] { padding: .35rem .8rem; font-size: .95rem !important; }
header.sticky .md\:hidden > button:last-child { color: #fff; background: var(--n-v); border-radius: 50%; min-height: 40px; min-width: 40px; padding: .4rem .5rem; font-weight: 700; }
header.sticky .md\:hidden > button:last-child span { color: #fff; }
}

/* ---------- 3. menu mobile Next (socle recoloré) : tiroir nuit à lueur */
@media (max-width: 767px) {
.ds-mburger { background: var(--n-v); color: #fff; border-radius: 50%; box-shadow: 0 6px 16px -6px rgba(94, 53, 177, .7); }
.ds-mburger span { background: #fff; height: 2.5px; }
.ds-moverlay { background: rgba(36, 31, 46, .6); }
.ds-mdrawer { background: radial-gradient(120% 40% at 50% 0, rgba(255, 255, 255, .12), transparent 70%), var(--n-vn); color: #fff; border-right: 0; }
.ds-mhead { border-bottom: 1px solid rgba(255, 255, 255, .16); background: transparent; }
.ds-mbrand { color: #fff; font-weight: 700; }
.ds-mclose { background: rgba(255, 255, 255, .14); color: #fff; border-radius: 50%; }
.ds-msec-t { color: #cbb9f0; opacity: 1; font-weight: 700; letter-spacing: .08em; }
.ds-mlink { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; min-height: 40px; display: inline-flex; align-items: center; border-radius: 16px; padding: 6px 14px; }
.ds-mlink:active { background: rgba(255, 255, 255, .22); }
.ds-mnav .ds-mlink { background: var(--n-v); border-color: transparent; }
.ds-mcta { background: var(--n-lin2); color: var(--n-vt); border-radius: 16px; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
}

/* ---------- 4. footer : violet à lueur, carte lin centrée */
footer.border-t { background: radial-gradient(60% 200px at 50% 0, rgba(255, 255, 255, .14), transparent 70%), linear-gradient(180deg, var(--n-vd), var(--n-vn)); border-top: 0 !important; padding: 3rem 1rem 2.25rem; }
footer.border-t > div.container { background: var(--n-lin2); color: var(--n-ink); border-radius: 16px; padding: 2.25rem 1.75rem 1.5rem; max-width: 1080px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5); }
footer.border-t h3.font-semibold { color: var(--n-ink) !important; }
footer.border-t div.lg\:col-span-1 h3.font-semibold { font-size: 1.15rem; font-weight: 700; display: inline-block; background: var(--n-v); color: #fff !important; padding: .35rem .9rem; border-radius: 16px; }
footer.border-t div:not(.lg\:col-span-1) > h3.font-semibold { color: var(--n-vt) !important; font-size: .74rem; letter-spacing: .1em; }
footer.border-t div:not(.lg\:col-span-1) > h3.font-semibold::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--n-v); box-shadow: 0 0 0 3px var(--n-glow); margin: 0 .5rem 1px 0; vertical-align: middle; }
footer.border-t p, footer.border-t div.lg\:col-span-1 p { color: var(--n-inkm); }
footer.border-t a { color: var(--n-inkm); transition: color .2s; }
footer.border-t ul.space-y-2\.5 li a { color: var(--n-ink); padding: .15rem 0; }
footer.border-t a:hover, footer.border-t ul.space-y-2\.5 li a:hover { color: var(--n-vt); }
footer.border-t div.border-t.border-zinc-200 { border-top: 1px solid var(--n-line); }
footer.border-t div.border-t.border-zinc-200 p, footer.border-t div.border-t.border-zinc-200 a { color: var(--n-inkm); }
footer.border-t div.border-t.border-zinc-200 a.underline { color: var(--n-ink); }

/* ---------- 5. recette Next · cta-faq (telle quelle, app/design_recettes_v3.css) */
@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; }
}

/* ---------- 6. zones */
nav[aria-label^="Fil"] { background: var(--n-lin3); border-bottom: 1px solid var(--n-line); }
nav[aria-label^="Fil"] a { color: var(--n-inkm); }
nav[aria-label^="Fil"] a:hover { color: var(--n-vt); }
nav[aria-label^="Fil"] span, nav[aria-label^="Fil"] li.text-zinc-400 { color: var(--n-ink); }
/* hero à lueur douce */
div.container > header.text-center, div.container > header.mb-12 {
position: relative; padding: 2.25rem 1.5rem 1.75rem; margin-bottom: 1rem; border-radius: 16px;
background: radial-gradient(55% 140px at 50% 0, var(--n-glow), transparent 100%), var(--n-lin2);
box-shadow: var(--n-sh);
}
div.container > header.text-center h1, div.container > header.mb-12 h1 { color: var(--n-ink); font-weight: 700; letter-spacing: -.01em; }
div.container > header.text-center h1::after, div.container > header.mb-12 h1::after { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; margin: 1rem auto 0; background: var(--n-v); box-shadow: 0 0 0 5px var(--n-glow), 0 0 22px 6px var(--n-glow2); }
div.container > header.mb-12 h1::after { margin-left: 0; }
div.container > header.text-center div.text-xl, div.container > header.text-center div.leading-relaxed { color: var(--n-inkm); }
div.container > header.mb-12 p.text-3xl { font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--n-vt); font-weight: 700; }
main.space-y-12 [class*="text-zinc-9"], main.space-y-12 [class*="text-zinc-8"], div.space-y-8 [class*="text-zinc-9"], div.space-y-8 [class*="text-zinc-8"] { color: var(--n-ink); }
main.space-y-12 [class*="text-zinc-7"], main.space-y-12 [class*="text-zinc-6"], main.space-y-12 [class*="text-zinc-5"], main.space-y-12 [class*="text-zinc-4"],
div.space-y-8 [class*="text-zinc-7"], div.space-y-8 [class*="text-zinc-6"], div.space-y-8 [class*="text-zinc-5"] { color: var(--n-inkm); }
main.space-y-12 [class*="bg-zinc-"], div.space-y-8 [class*="bg-zinc-"] { background-color: var(--n-lin3); }
main.space-y-12 > section.rounded-2xl, main.space-y-12 > div.rounded-2xl.mb-8, div.space-y-8 > section.rounded-2xl {
background: var(--n-lin2) !important; border: 1px solid rgba(94, 53, 177, .12) !important; border-radius: 16px !important; box-shadow: var(--n-sh) !important;
}
div.min-h-\[500px\] div.overflow-x-auto.scrollbar-hide { padding: 6px 8px 14px 4px; }
main.space-y-12 section.rounded-2xl > h2, div.space-y-8 section.rounded-2xl h2, main.space-y-12 > div.rounded-2xl.mb-8 h2, main.space-y-12 > div.rounded-2xl.mb-8 h3 { color: var(--n-ink); font-weight: 600; letter-spacing: -.01em; }
main.space-y-12 section.rounded-2xl > h2::before, div.space-y-8 section.rounded-2xl > h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 .6rem 2px 0; vertical-align: middle; background: var(--n-v); box-shadow: 0 0 0 4px var(--n-glow); }
button[aria-label="Mehr anzeigen"], button[aria-label="Weniger anzeigen"] { color: var(--n-vt) !important; font-weight: 600; }
section#departements input { background: var(--n-lin3); color: var(--n-ink); border: 1px solid var(--n-line); border-radius: 16px; }
section#departements input::placeholder { color: var(--n-inkm); opacity: .9; }
section#departements input:focus { border-color: var(--n-v); outline: 3px solid var(--n-glow); }
section#departements div.absolute.rounded-xl { background: var(--n-lin2); border: 1px solid var(--n-line); border-radius: 16px; box-shadow: var(--n-sh); }
section#departements a.block.group > div { background: var(--n-lin3); color: var(--n-ink); border-radius: 16px; border: 0; transition: background-color .2s, color .2s; }
section#departements a.block.group:hover > div { background: var(--n-v); color: #fff; }
div.rounded-lg.shadow-sm.border:has(> div.scrollbar-hide) { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding-left: 0; padding-right: 0; }
div.rounded-lg.shadow-sm select, div.rounded-lg.shadow-sm button, div.min-h-\[500px\] button.rounded-lg.border {
background: var(--n-lin3) !important; color: var(--n-ink) !important; border: 0 !important; border-radius: 16px !important;
min-height: 40px; padding: 8px 16px; font-weight: 600; transition: background-color .2s, color .2s;
}
div.rounded-lg.shadow-sm button:hover, div.min-h-\[500px\] button.rounded-lg.border:hover { background: var(--n-v) !important; color: #fff !important; }
div.rounded-lg.shadow-sm select:focus { outline: 3px solid var(--n-glow); }
div.rounded-lg.shadow-sm div.absolute, div.rounded-lg.shadow-sm div.absolute div.rounded-lg { background: var(--n-lin2); color: var(--n-ink); border-color: var(--n-line); border-radius: 12px; }
div.min-h-\[500px\] span, div.min-h-\[500px\] p { color: var(--n-inkm); }
/* cartes profil : cartouche papier, photo arrondie à voile de nuit, badge d'âge rond en bas à gauche */
div.w-40.cursor-pointer {
background: var(--n-lin) !important; border: 1px solid rgba(94, 53, 177, .1) !important; border-radius: 16px !important; box-shadow: none !important;
padding: .6rem !important; transition: translate .25s ease, box-shadow .25s ease;
}
div.w-40.cursor-pointer:hover { translate: 0 -3px; box-shadow: var(--n-sh) !important; }
div.w-40.cursor-pointer div.relative.mb-3 { overflow: hidden; border-radius: 12px; }
div.w-40.cursor-pointer div.relative.mb-3::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(45, 27, 94, .45)); }
div.w-40.cursor-pointer img { border-radius: 12px; transition: transform .45s ease; }
div.w-40.cursor-pointer:hover img { transform: scale(1.04); }
div.w-40.cursor-pointer div.absolute.top-2.right-2 {
top: auto; right: auto; bottom: 8px; left: 8px; z-index: 1; background: var(--n-lin2) !important; color: var(--n-vt) !important; border-radius: 999px;
padding: .25rem .65rem; font-weight: 700; white-space: nowrap; box-shadow: 0 0 0 3px var(--n-glow);
}
div.w-40.cursor-pointer h3 { color: var(--n-ink); margin-top: .35rem; }
div.w-40.cursor-pointer p.truncate { color: var(--n-vt); font-weight: 600; }
div.w-40.cursor-pointer p.line-clamp-2 { color: var(--n-inkm); }
main.space-y-12 > div.rounded-2xl.mb-8 > div.w-full.rounded-lg { border-radius: 12px; }
div.prose h2, div.prose h3, div.prose strong { color: var(--n-ink); }
div.prose, div.prose p, div.prose li, div.prose span { color: var(--n-inkm); }
div.prose a, a.text-blue-600 { color: var(--n-vt); text-decoration: underline; text-decoration-color: rgba(94, 53, 177, .45); text-underline-offset: 3px; }
div.prose a:hover, a.text-blue-600:hover { color: var(--n-ink); text-decoration-color: var(--n-v); }
/* FAQ */
section.rounded-2xl:has(> div.space-y-0) > div.space-y-0 > div { border-bottom: 1px solid var(--n-line); }
section.rounded-2xl:has(> div.space-y-0) button { border-radius: 12px; padding-left: .6rem; padding-right: .6rem; transition: background-color .2s; }
section.rounded-2xl:has(> div.space-y-0) button:hover { background: var(--n-glow2); }
section.rounded-2xl:has(> div.space-y-0) button h3 { color: var(--n-ink); font-weight: 600; }
section.rounded-2xl:has(> div.space-y-0) button svg { color: var(--n-vt); }
section.rounded-2xl:has(> div.space-y-0) div.pb-4, section.rounded-2xl:has(> div.space-y-0) div.pb-4 p { color: var(--n-inkm); padding-left: .6rem; padding-right: .6rem; }
/* CTA : carte de nuit à lueur, bouton lin */
main.space-y-12 > section.rounded-2xl.text-center {
background: radial-gradient(70% 120px at 50% 0, rgba(255, 255, 255, .16), transparent 100%), linear-gradient(160deg, var(--n-v), var(--n-vn)) !important;
border: 0 !important; padding: 2.75rem 1.5rem; box-shadow: 0 22px 44px -22px rgba(45, 27, 94, .7) !important;
}
main.space-y-12 > section.rounded-2xl.text-center h2 { color: #fff !important; font-weight: 600; font-size: 1.7rem; }
main.space-y-12 > section.rounded-2xl.text-center > h2::before { display: none; }
section.rounded-2xl.text-center p, section.rounded-2xl.text-center [class*="text-zinc-"] { color: rgba(255, 255, 255, .82) !important; }
section.rounded-2xl.text-center button {
background: var(--n-lin2) !important; color: var(--n-vt) !important; border-radius: 16px; border: 0;
min-height: 52px; padding: .9rem 2.3rem; font-weight: 800; font-size: 1.05rem; box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 14px 30px -12px rgba(0, 0, 0, .6);
transition: translate .2s ease, box-shadow .2s ease;
}
section.rounded-2xl.text-center button:hover { translate: 0 -2px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .2), 0 18px 34px -12px rgba(0, 0, 0, .6); }
@media (min-width: 992px) {
body.design-v-cta-faq main.space-y-12:not(:has(div.space-y-0)) > section.rounded-2xl.text-center { grid-column: 1 / -1; width: 100%; max-width: 640px; justify-self: center; }
}
nav[aria-label] a[style*="border-left"] { background: var(--n-lin2); color: var(--n-ink); border-radius: 12px; border-left-color: var(--n-v) !important; border-left-width: 4px !important; transition: background-color .2s; }
nav[aria-label] a[style*="border-left"]:hover { background: var(--n-lin3); color: var(--n-vt); }
section.w-full.bg-zinc-100 { background: var(--n-lin3); border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); }
section.w-full.bg-zinc-100 div.absolute.left-0 { background-image: linear-gradient(90deg, var(--n-lin3), transparent); }
section.w-full.bg-zinc-100 div.absolute.right-0 { background-image: linear-gradient(270deg, var(--n-lin3), transparent); }
section.w-full.bg-zinc-100 a.rounded-full { background: var(--n-lin2); color: var(--n-ink); border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; font-weight: 600; }
section.w-full.bg-zinc-100 a.rounded-full:hover { background: var(--n-v) !important; color: #fff !important; }
section.border-t.border-b.py-12 { background: var(--n-lin); border-color: var(--n-line); }
section.border-t.border-b.py-12 div.w-16.h-16.rounded-full { background: var(--n-v) !important; box-shadow: 0 0 0 6px var(--n-glow), 0 0 26px 8px var(--n-glow2); }
section.border-t.border-b.py-12 div.w-16.h-16.rounded-full svg { color: #fff !important; stroke: #fff; }
section.border-t.border-b.py-12 p { color: var(--n-ink); }
button.fixed.bottom-6.right-6 { background: var(--n-v) !important; color: #fff !important; border-radius: 50% !important; box-shadow: 0 0 0 5px var(--n-glow), 0 10px 20px -8px rgba(45, 27, 94, .7) !important; }

/* ---------- 7. pop-ups (couleurs, bordures, rayons) */
div.inset-0.bg-zinc-900\/90 { background: rgba(36, 31, 46, .82); }
div.inset-0.bg-zinc-900\/90 > div.rounded-xl { background: radial-gradient(60% 90px at 50% 0, var(--n-glow), transparent 100%), var(--n-lin2); color: var(--n-ink); border: 1px solid var(--n-line); border-radius: 16px; box-shadow: 0 30px 60px -30px #000; }
div.inset-0.bg-zinc-900\/90 h1, div.inset-0.bg-zinc-900\/90 p.font-medium { color: var(--n-ink); }
div.inset-0.bg-zinc-900\/90 p, div.inset-0.bg-zinc-900\/90 [class*="text-zinc-"] { color: var(--n-inkm); }
div.inset-0.bg-zinc-900\/90 div.w-16.h-1 { background: var(--n-v); border-radius: 999px; }
div.inset-0.bg-zinc-900\/90 div.bg-zinc-50.rounded-lg, div.inset-0.bg-zinc-900\/90 [class*="bg-zinc-"] { background: var(--n-lin3); border-radius: 12px; }
div.inset-0.bg-zinc-900\/90 button.text-white { background: var(--n-v) !important; color: #fff !important; border-radius: 16px; font-weight: 800; box-shadow: var(--n-sh); }
div.inset-0.bg-zinc-900\/90 a.flex-1, div.inset-0.bg-zinc-900\/90 button.bg-zinc-100 { background: var(--n-lin3); color: var(--n-ink); border: 1px solid var(--n-line); border-radius: 16px; }
div.max-w-md.rounded-2xl { background: var(--n-lin2); color: var(--n-ink); border: 1px solid var(--n-line); border-radius: 16px; box-shadow: 0 30px 60px -30px #000; }
div.max-w-md.rounded-2xl h1, div.max-w-md.rounded-2xl h2 { color: var(--n-ink); }
div.max-w-md.rounded-2xl p, div.max-w-md.rounded-2xl label, div.max-w-md.rounded-2xl [class*="text-zinc-"] { color: var(--n-inkm); }
div.max-w-md.rounded-2xl input:not([type="checkbox"]) { background: var(--n-lin3); color: var(--n-ink); border: 1px solid var(--n-line); border-radius: 12px; }
div.max-w-md.rounded-2xl input:not([type="checkbox"]):focus { border-color: var(--n-v); outline: 3px solid var(--n-glow); }
div.max-w-md.rounded-2xl button.w-full.text-white { background: var(--n-v) !important; color: #fff !important; border-radius: 16px; font-weight: 800; box-shadow: var(--n-sh); }
div.max-w-md.rounded-2xl button[style*="color"] { color: var(--n-vt) !important; font-weight: 700; }
.prelinker-embed { --primary: var(--n-v); }
.prelinker-embed .ptprelinker-input-group { border: 1px solid var(--n-line); border-radius: 12px; background: var(--n-lin2); }
.prelinker-embed .ptprelinker-input-group:focus-within { border-color: var(--n-v); box-shadow: 0 0 0 3px var(--n-glow); }
.prelinker-embed.prelinker-embed .ptprelinker-buttons .ptprelinker-button, .prelinker-embed.prelinker-embed .ptprelinker-buttons input[type="submit"], .prelinker-embed.prelinker-embed button[type="submit"], .prelinker-embed.prelinker-embed button.w-full {
background: var(--n-v) !important; color: #fff !important; border: 0 !important; border-radius: 16px !important; box-shadow: var(--n-sh) !important; font-weight: 800 !important;
}
.pm-modal.pm-modal { background: var(--n-lin2); color: var(--n-ink); border: 1px solid var(--n-line); border-radius: 16px; box-shadow: 0 30px 60px -30px #000; }
.pm-modal h2, .pm-modal h3, .pm-modal h4, .pm-modal [class*="text-zinc-9"], .pm-modal [class*="text-zinc-8"] { color: var(--n-ink); }
.pm-modal p, .pm-modal span.font-medium, .pm-modal [class*="text-zinc-7"], .pm-modal [class*="text-zinc-6"], .pm-modal [class*="text-zinc-5"], .pm-modal [class*="text-zinc-4"] { color: var(--n-inkm); }
.pm-modal [class*="bg-zinc-"], .pm-modal .bg-white { background-color: var(--n-lin3); }
.pm-modal img { border-radius: 12px; }
.pm-modal span.font-semibold { color: var(--n-vt); }
.pm-modal span.rounded-full.text-white[style] { background: var(--n-v) !important; color: #fff !important; border-radius: 999px !important; }
.pm-modal span.rounded-full, .pm-modal span.rounded-md { background: var(--n-lin3); color: var(--n-ink); border: 1px solid var(--n-line); border-radius: 999px; }
.pm-modal button.text-white[style], .pm-modal .pm-cta button, .pm-modal .pm-cta a { background: var(--n-v) !important; color: #fff !important; border: 0; border-radius: 16px !important; font-weight: 800; box-shadow: var(--n-sh); min-height: 48px; }
.pm-modal .pm-cta { border-top: 1px solid var(--n-line); padding-top: .6rem; }
.pm-modal .pm-close { color: var(--n-ink); background: var(--n-lin3); border-radius: 50%; }

/* ---------- 8. mouvement réduit */
@media (prefers-reduced-motion: reduce) {
header.sticky *, main *, main *::before, footer.border-t *, .ds-mdrawer { transition: none !important; animation: none !important; }
header.sticky a.font-bold[href="/"]:hover, div.w-40.cursor-pointer:hover, section.rounded-2xl.text-center button:hover { translate: none; }
div.w-40.cursor-pointer:hover img { transform: none; }
}

/* __POPUP_CRO_V1 — fiche profil : blanche, sobre, et réglée pour le clic (23/09, demande de Lucas).
   Posé en fin de la feuille du site : hérite donc de sa palette, et `--cro-accent` est écrit par
   popup_cro_apply.py avec la teinte du site (repli : sa variable primaire).

   Ce que ça change, et pourquoi :
   1. FOND BLANC partout (la fiche était crème, ivoire ou transparente selon les sites) — une surface
      neutre fait ressortir la photo et le bouton, et ne discute pas avec la palette du site.
   2. PHOTO PLAFONNÉE à 42vh sur mobile : elle prenait 400 à 455 px sur un écran de 844 (jusqu'à 54 %),
      ce qui repoussait le bouton à 553 px sur Next. Moins de photo = le bouton remonte dans l'œil.
   3. BOUTON : 54 px, pleine largeur, accent du site, collé en bas de la fiche sur mobile AVEC une marge
      (les puces passaient dessous — défaut mesuré le 19/09 et revu le 22/09).
   4. ANIMATIONS : une ouverture (200 ms), une pression, et UNE seule impulsion du bouton à l'ouverture.
      Rien qui tourne en boucle : sur une page de conversion, le mouvement permanent détourne l'œil.
   Tout est coupé sous prefers-reduced-motion. */

:root{
  --cro-accent:#4527a0;
  --cro-cta-texte:#ffffff;
  --cro-blanc:#ffffff;
  --cro-encre:#14171a;
  --cro-encre-2:#5b656e;
  --cro-trait:#e9ecef;
  --cro-ombre:0 18px 48px -12px rgba(16,20,24,.26);
  --cro-cta-texte:#ffffff;   /* recalculé par site : encre foncée si l'accent est clair (jaune, lime…) */
}

/* ---------- socle commun aux trois gabarits ---------- */
/* ⚠️ Passer le fond au blanc ne suffit pas : les textes de la fiche prennent leur couleur des
   variables du gabarit, réglées pour le fond d'origine (souvent sombre). Sur free-sexkontakt.de la
   bio est ressortie gris pâle sur blanc. On rescope donc les variables SUR la fiche — même remède
   que le 21/09 — et on force la couleur du texte courant. */
#profileModal .modal-content,
.pm-modal{
  --text:#14171a; --text-muted:#5b656e; --bg:#ffffff; --bg-card:#ffffff; --bg-alt:#f7f8f9; --border:#e9ecef;
  background:var(--cro-blanc) !important;
  color:var(--cro-encre);
  border-radius:16px;
  box-shadow:var(--cro-ombre);
  overflow:hidden;
}
#profileModal.active .modal-content,
.pm-modal{ animation:cro-entree .2s cubic-bezier(.16,1,.3,1) both; }
@keyframes cro-entree{ from{ opacity:0; transform:translateY(10px) scale(.994); } to{ opacity:1; transform:none; } }

/* le bouton : même dessin partout, quelle que soit la palette du site */
#profileModal .btn-primary,
#profileModal .modal-contact-btn,
#profileModal .btn-cta-overlay,
.pm-cta button,
.pm-cta a{
  background:var(--cro-accent, var(--primary, #14171a)) !important;
  color:var(--cro-cta-texte, #fff) !important;
  border:0 !important;
  min-height:54px;
  width:100%;
  border-radius:12px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.01em;
  box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6));
  transition:transform .12s ease, filter .12s ease, box-shadow .2s ease;
  cursor:pointer;
}
#profileModal .btn-primary:hover,
#profileModal .modal-contact-btn:hover,
.pm-cta button:hover,
.pm-cta a:hover{ filter:brightness(1.07); box-shadow:0 14px 26px -10px var(--cro-accent, rgba(20,23,26,.6)); }
#profileModal .btn-primary:active,
#profileModal .modal-contact-btn:active,
.pm-cta button:active,
.pm-cta a:active{ transform:scale(.985); }
#profileModal .btn-primary:focus-visible,
.pm-cta button:focus-visible{ outline:3px solid var(--cro-accent, #14171a); outline-offset:3px; }

/* une seule impulsion, au moment où la fiche s'ouvre */
@keyframes cro-pouls{ 0%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 0 color-mix(in srgb, var(--cro-accent, #14171a) 55%, transparent); }
  70%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 12px transparent; }
  100%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 0 transparent; } }
#profileModal.active .btn-primary,
#profileModal.active .modal-contact-btn,
.pm-modal .pm-cta button{ animation:cro-pouls 1.5s ease-out .45s 2; }

/* ---------- Astro : carrousel + corps ---------- */
#profileModal .modal-image{ object-fit:cover; }
#profileModal .modal-body{ background:var(--cro-blanc); padding-bottom:0; }
#profileModal .modal-name{ color:var(--cro-encre); font-size:22px; letter-spacing:-.01em; }
#profileModal .modal-meta{ color:var(--cro-encre-2); font-size:13.5px; }
#profileModal .modal-bio, #profileModal .modal-bio-wrap p{ color:var(--cro-encre); font-size:15px; line-height:1.55; }
#profileModal .modal-tag{
  background:#f5f7f8 !important; color:var(--cro-encre-2) !important;
  border:1px solid var(--cro-trait) !important; border-radius:999px; font-size:12px; padding:4px 10px;
}
#profileModal .modal-tags-label{ color:var(--cro-encre-2) !important; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; }
#profileModal .modal-close{ background:rgba(255,255,255,.92) !important; color:var(--cro-encre) !important; border-radius:999px; }

/* le texte courant de la fiche, quelle que soit la couleur que lui donnait le gabarit */
#profileModal .modal-bio, #profileModal .modal-bio *,
#profileModal .modal-bio-wrap, #profileModal .modal-bio-wrap *,
#profileModal .modal-body p, #profileModal .modal-info-value,
#profileModal .modal-infos li, #profileModal .modal-infos span,
.pm-modal .pm-bio, .pm-modal .pm-bio p, .pm-modal .pm-bio div{
  color:var(--cro-encre) !important;
}
#profileModal .modal-info-label, #profileModal .modal-infos-label{ color:var(--cro-encre-2) !important; }

/* Un seul bouton doit attirer l'œil : « Favoris » reste accessible mais cesse de rivaliser avec
   « Contacter » (même largeur, même poids visuel = attention partagée, donc moins de clics utiles). */
#profileModal .modal-actions .btn:not(.btn-primary):not(.modal-contact-btn),
#profileModal .modal-favoris,
#profileModal .btn-favori{
  background:transparent !important;
  color:var(--cro-encre-2) !important;
  border:1px solid var(--cro-trait) !important;
  min-height:42px; font-size:14px; font-weight:500; box-shadow:none !important;
}
/* le corps de la fiche reste sur le blanc : les encarts teintés du site y perdaient la hiérarchie */
#profileModal .modal-bio-wrap,
#profileModal .modal-body > div[class*="bio"]{
  background:#f7f8f9 !important; border:1px solid var(--cro-trait) !important; border-radius:12px;
}

/* ---------- Next ---------- */
.pm-modal .pm-head h3{ color:var(--cro-encre) !important; font-size:22px; }
.pm-modal .pm-bio, .pm-modal .pm-bio p{ color:var(--cro-encre); }
.pm-modal .pm-infos .rounded-full{
  background:#f5f7f8 !important; color:var(--cro-encre-2) !important; border:1px solid var(--cro-trait) !important;
}
.pm-modal .pm-cta{ border-top:1px solid var(--cro-trait) !important; }

/* ---------- mobile : le bouton reste sous la main ---------- */
@media (max-width:768px){
  #profileModal .modal-carousel,
  #profileModal .modal-image,
  #profileModal .modal-slide,
  .pm-modal .pm-photo,
  .pm-modal .pm-media{ max-height:42vh !important; }
  #profileModal .modal-image{ height:42vh !important; }

  #profileModal .modal-actions,
  .pm-modal .pm-cta{
    position:sticky; bottom:0; z-index:4;
    background:linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--cro-blanc) 22%) !important;
    padding:14px 16px calc(16px + env(safe-area-inset-bottom)) !important;
    margin-top:8px;
  }
  #profileModal .modal-tags-block,
  .pm-modal .pm-bio{ padding-bottom:6px; }
}

@media (prefers-reduced-motion:reduce){
  #profileModal.active .modal-content, .pm-modal,
  #profileModal.active .btn-primary, #profileModal.active .modal-contact-btn, .pm-modal .pm-cta button{ animation:none !important; }
  #profileModal .btn-primary, .pm-cta button{ transition:none !important; }
}
/* __POPUP_CRO_V1_FIN */

/* __SIGNUP_CRO_V1 — pop-up d'inscription : UNE SEULE surface claire (23/09, capture de Lucas).

   Ce qu'elle montrait : un cadre bleu nuit avec, posée dedans, une carte blanche portant le
   formulaire — deux fonds, deux bords, deux ombres pour un seul geste. L'œil doit choisir où
   regarder avant de pouvoir remplir trois champs.

   Ici : une surface blanche unique, du premier pixel du cadre au dernier champ. Le formulaire du
   prestataire perd son propre fond (il devient une partie de la pop-up, pas une pièce rapportée),
   les champs gagnent en hauteur, et le bouton prend la couleur du site sur toute la largeur.
   Moins de bords à lire = moins de friction avant le clic. */

:root{
  --sg-accent:#4527a0;
  --sg-blanc:#ffffff;
  --sg-encre:#14171a;
  --sg-encre-2:#5b656e;
  --sg-trait:#e4e8eb;
  --sg-champ:#fbfcfc;
}

/* le voile : plus sombre et légèrement flouté, pour détacher la pop-up claire du fond du site */
#signupOverlay,
.signup-overlay,
.popup-overlay{ background:rgba(12,16,20,.62) !important; backdrop-filter:blur(2px); }

/* LA surface — une seule, blanche */
.signup-popup,
.popup-card,
#signupOverlay > div:not(.signup-overlay):not(.popup-overlay){
  background:var(--sg-blanc) !important;
  color:var(--sg-encre) !important;
  border:0 !important;
  border-radius:18px !important;
  box-shadow:0 24px 60px -16px rgba(10,14,18,.45) !important;
  padding:26px 22px 20px !important;
  animation:sg-entree .2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes sg-entree{ from{ opacity:0; transform:translateY(12px) scale(.99); } to{ opacity:1; transform:none; } }

/* Next n'a pas de classe parlante : sa pop-up d'inscription est un `div.fixed.inset-0` qui contient
   un formulaire. On la reconnaît à ça (et pas à son nom), ce qui évite d'attraper la fiche profil. */
/* ⚠️ PAS de :where() ici : il met la spécificité à zéro, et la feuille du site gagne alors avec
   `div.fixed.inset-0 > div.bg-white{border:3px solid …!important}` — c'est ce qui laissait une bordure
   jaune vif autour d'une pop-up censée être d'une seule teinte. */
div.fixed.inset-0:has(input[type="email"], form) > div,
div.fixed.inset-0:has(input[type="email"], form) > div.bg-white{
  background:var(--sg-blanc) !important;
  border:0 !important;
  border-radius:18px !important;
  box-shadow:0 24px 60px -16px rgba(10,14,18,.45) !important;
  padding:0 !important;
}
div.fixed.inset-0:has(input[type="email"], form) h1,
div.fixed.inset-0:has(input[type="email"], form) h2{ font-size:23px !important; line-height:1.2 !important; color:var(--sg-encre) !important; }
div.fixed.inset-0:has(input[type="email"], form) input:not([type="checkbox"]):not([type="radio"]){
  min-height:50px !important; font-size:16px !important; border-radius:11px !important;
  border:1px solid var(--sg-trait) !important; background:var(--sg-champ) !important; color:var(--sg-encre) !important;
}
div.fixed.inset-0:has(input[type="email"], form) button[type="submit"],
div.fixed.inset-0:has(input[type="email"], form) form button:not([type="button"]){
  background:var(--sg-accent, #14171a) !important; color:#fff !important; border:0 !important;
  width:100% !important; min-height:54px !important; border-radius:12px !important;
  font-size:16px !important; font-weight:600 !important;
}

/* titres : hiérarchie nette, rien de décoratif entre le titre et le premier champ */
.signup-header h2, .popup-title{ color:var(--sg-encre) !important; font-size:23px !important; line-height:1.2; margin:0 0 6px !important; }
.signup-header p, .popup-desc{ color:var(--sg-encre-2) !important; font-size:14px !important; margin:0 0 16px !important; }
.popup-icon{ display:none !important; }   /* l'icône décorative repousse le formulaire vers le bas */

/* le formulaire cesse d'être une carte dans la carte */
.prelinker-embed, .popup-prelinker-host, .popup-prelinker-panel,
.ptprelinker--box, .ptprelinker-content, .ptprelinker-content-inner, .ptprelinker-content-content{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}
.signup-body{ background:transparent !important; padding:0 !important; }

/* champs : plus hauts, bord clair, une seule teinte de fond */
.ptprelinker-input-group{
  background:var(--sg-champ) !important;
  border:1px solid var(--sg-trait) !important;
  border-radius:11px !important;
  margin-bottom:10px !important;
  overflow:hidden;
}
.ptprelinker-input-group:focus-within{ border-color:var(--sg-accent, #14171a) !important; box-shadow:0 0 0 3px color-mix(in srgb, var(--sg-accent, #14171a) 18%, transparent) !important; }
.ptprelinker-input-group .ptprelinker-input,
.ptprelinker-input-group .ptprelinker-select{
  background:transparent !important; color:var(--sg-encre) !important;
  min-height:50px !important; font-size:16px !important;   /* 16px : en dessous, iOS zoome au focus */
}
.ptprelinker-input-group .ptprelinker-input::placeholder{ color:#98a2ab !important; }

/* le bouton : la couleur du site, pleine largeur, seul élément coloré de la pop-up */
.ptprelinker-buttons input[type="submit"],
.ptprelinker-buttons .ptprelinker-button,
.signup-popup button[type="submit"], .popup-card button[type="submit"]{
  background:var(--sg-accent, #14171a) !important;
  color:#fff !important;
  border:0 !important;
  width:100% !important;
  min-height:54px !important;
  border-radius:12px !important;
  font-size:16px !important; font-weight:600 !important;
  box-shadow:0 10px 22px -10px var(--sg-accent, rgba(20,23,26,.6)) !important;
  transition:transform .12s ease, filter .12s ease !important;
}
.ptprelinker-buttons input[type="submit"]:hover,
.ptprelinker-buttons .ptprelinker-button:hover{ filter:brightness(1.07) !important; }
.ptprelinker-buttons input[type="submit"]:active,
.ptprelinker-buttons .ptprelinker-button:active{ transform:scale(.985) !important; }

/* croix et pied : présents, discrets — ils ne doivent pas concurrencer le bouton */
.signup-close, .popup-close{
  background:transparent !important; color:var(--sg-encre-2) !important;
  border:1px solid var(--sg-trait) !important; border-radius:999px !important;
}
.signup-footer, .popup-footer{ color:var(--sg-encre-2) !important; font-size:13px !important; border-top:1px solid var(--sg-trait); padding-top:12px !important; margin-top:14px !important; }
.signup-footer a, .popup-footer a{ color:var(--sg-accent, #14171a) !important; font-weight:600; }

@media (max-width:768px){
  .signup-popup, .popup-card{ padding:22px 16px 16px !important; border-radius:16px !important; }
  .signup-header h2, .popup-title{ font-size:21px !important; }
}
@media (prefers-reduced-motion:reduce){
  .signup-popup, .popup-card{ animation:none !important; }
  .ptprelinker-buttons input[type="submit"], .ptprelinker-buttons .ptprelinker-button{ transition:none !important; }
}
/* __SIGNUP_CRO_V1_FIN */

/* 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__ */
