
/* __DESIGN_SITE__ */
html:not(#_) .sidebar-inner{background:transparent;box-shadow:none;}
/* ^ posé par design_site.py : le panneau blanc d'Astro recouvrait le fond du .sidebar */
/* socle filtres (ajouté par design_site.py) */
html:not(#_) .ds-hide{ display: none !important; }
html:not(#_) body[data-ds-filtres="aucun"] .filters{ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-genre"] .filters .filter-btn[data-filter="type"]{ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-age"] .filters .filter-btn[data-filter="age"]{ display: none !important; }
html:not(#_) 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; }
html:not(#_) body[data-ds-filtres="ligne"] .filters::-webkit-scrollbar{ display: none; }
html:not(#_) body[data-ds-filtres="ligne"] .filters .filter-btn{ flex: 0 0 auto; white-space: nowrap; }
html:not(#_) .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; }
html:not(#_) .filters .ds-fgroup{ display: contents; }
/* Next : barre React (div.shadow-sm > div.scrollbar-hide > .form-group > select ×2 + bouton Recherche) */
html:not(#_) body[data-ds-filtres="aucun"] div.rounded-lg.shadow-sm:has(> div.scrollbar-hide > div.form-group > select){ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-genre"] div.scrollbar-hide > div.form-group:first-child:has(> select){ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-tri"] div.scrollbar-hide > div.form-group:nth-child(2):has(> select){ display: none !important; }
html:not(#_) 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é) */
html:not(#_) .ds-fnext{ display: flex; gap: 8px; flex-wrap: nowrap; }
html:not(#_) .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; }
html:not(#_) .ds-fnext .ds-fchip.active{ background: var(--secondary-color, #18181b); color: #fff; border-color: transparent; }

/* socle menu mobile Astro (ajouté par design_site.py) */
/* 19/09 : la croix du tiroir (label x injecte dans .sidebar-inner) n'etait cachee QUE sous 768 px -> visible en haut
   de la sidebar desktop (3 agents du lot 22 l'ont masquee a la main). Cachee hors tiroir, toutes largeurs. */
html:not(#_) .ds-menu-close{ display: none; }
@media (max-width: 768px) {
  html:not(#_) .ds-burger{ display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 34px; padding: 0 9px; margin-right: 8px; cursor: pointer; border-radius: 8px; color: inherit; flex-shrink: 0; }
  html:not(#_) .ds-burger span{ display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(2){ opacity: 0; }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
  html:not(#_) .ds-menu-overlay{ display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1290; }
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-overlay{ display: block; }
  html:not(#_) .ds-menu-close{ display: none; }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar{ display: block !important; position: fixed !important; top: 0 !important; left: 0; bottom: 0; height: auto !important; width: min(86vw, 340px) !important; max-width: none; margin: 0 !important; padding: 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 1300; overflow-y: auto !important; max-height: 100vh; max-height: 100dvh; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; border-radius: 0; box-shadow: 8px 0 30px rgba(0,0,0,.35); }
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-close{ display: flex; align-items: center; justify-content: center; position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sidebar-inner{ height: auto; min-height: 100%; }
  html:not(#_) body:has(#ds-menu:checked){ overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { html:not(#_) .ds-burger span{ transition: none; } }

/* ==========================================================================
   sex-treff-kostenlos.de — habillage header + footer (gabarit Astro)
   Direction : dégradé "aurore" (violet profond -> magenta -> corail) en
   fond de la sidebar (header desktop) et du bandeau mobile, boutons en
   pilule. Un voile sombre est superposé au dégradé pour garder un
   contraste texte/fond suffisant même sur la zone corail la plus claire.
   Effets : dérive lente de l'aurore, lueur des icônes au survol,
   légère élévation des boutons/pastilles. Tout est coupé si le visiteur
   demande moins d'animation (prefers-reduced-motion).
   ========================================================================== */

html:not(#_){
  --stk-nuit: #23063f;      /* violet très sombre, début du dégradé */
  --stk-violet: #4a148c;    /* violet du site */
  --stk-magenta: #ad1457;   /* transition chaude */
  --stk-corail: #ff7a52;    /* corail, utilisé en fond/bordure/lueur (jamais en texte) */
  --stk-corail-clair: #ffd9c2; /* corail éclairci, utilisable en texte (contraste ok) */
  --stk-creme: #fff4ef;     /* quasi-blanc chaud, texte principal sur l'aurore */
  --stk-encre: #2a0845;     /* texte foncé sur les boutons crème */
}

/* Dérive lente du dégradé, façon aurore boréale */
@keyframes stkAurore {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===================== HEADER — SIDEBAR DESKTOP (nav.sb-nav / .sidebar) ===================== */
html:not(#_) .sidebar.sidebar{
  background:
    linear-gradient(180deg, rgba(14, 4, 26, .52), rgba(14, 4, 26, .52)),
    linear-gradient(160deg, var(--stk-nuit) 0%, var(--stk-violet) 35%, var(--stk-magenta) 68%, var(--stk-corail) 100%);
  background-size: 100% 100%, 220% 220%;
  animation: stkAurore 22s ease-in-out infinite;
  border-right: 1px solid rgba(255, 122, 82, .22);
}

html:not(#_) .sb-logo-text.sb-logo-text{
  background: linear-gradient(90deg, var(--stk-creme), var(--stk-corail-clair));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--stk-creme);
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: .02em;
}

html:not(#_) .sb-logo-dot svg{
  filter: drop-shadow(0 0 4px rgba(255, 122, 82, .55));
}

html:not(#_) .sb-section-title span{
  color: rgba(255, 244, 239, .62);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
}

html:not(#_) .sb-link.sb-link{
  color: rgba(255, 244, 239, .92);
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}

html:not(#_) .sb-link.sb-link:hover, html:not(#_) .sb-link.sb-link:focus-visible{
  background-color: rgba(255, 255, 255, .12);
  color: #fff;
}

html:not(#_) .sb-link.sb-link.active{
  background: rgba(255, 122, 82, .22);
  color: #fff;
}

html:not(#_) .sb-link .sb-ico svg{
  transition: filter .2s ease;
}

html:not(#_) .sb-link:hover .sb-ico svg{
  filter: drop-shadow(0 0 6px rgba(255, 122, 82, .75));
}

html:not(#_) .sb-map-quick-link.sb-map-quick-link{
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: var(--stk-creme);
  transition: background-color .2s ease, transform .2s ease;
}

html:not(#_) .sb-map-quick-link:hover{
  background: rgba(255, 122, 82, .28);
  transform: translateY(-1px);
}

html:not(#_) .sb-silo-region.sb-silo-region{
  color: rgba(255, 244, 239, .85);
  transition: color .2s ease;
}

html:not(#_) .sb-silo-region:hover{
  color: var(--stk-corail-clair);
}

html:not(#_) .sb-silo-ville.sb-silo-ville{
  color: rgba(255, 244, 239, .58);
  transition: color .2s ease;
}

html:not(#_) .sb-silo-ville:hover{
  color: var(--stk-creme);
}

/* ===================== HEADER — BANDEAU MOBILE (.mobile-guest-top) ===================== */
html:not(#_) .mobile-guest-top.mobile-guest-top{
  background:
    linear-gradient(180deg, rgba(14, 4, 26, .5), rgba(14, 4, 26, .5)),
    linear-gradient(120deg, var(--stk-nuit) 0%, var(--stk-violet) 40%, var(--stk-magenta) 72%, var(--stk-corail) 100%);
  background-size: 100% 100%, 220% 220%;
  animation: stkAurore 22s ease-in-out infinite;
}

html:not(#_) .mobile-guest-brand.mobile-guest-brand{
  color: var(--stk-creme);
  font-weight: 700;
}

html:not(#_) .mobile-guest-login.mobile-guest-login{
  color: var(--stk-creme);
  border: 1px solid rgba(255, 244, 239, .45);
  border-radius: 999px;
  padding: .3rem .9rem;
  transition: background-color .2s ease, transform .2s ease;
}

html:not(#_) .mobile-guest-login:hover{
  background: rgba(255, 255, 255, .15);
  transform: translateY(-1px);
}

html:not(#_) .mobile-guest-cta-offer.mobile-guest-cta-offer, html:not(#_) .mobile-guest-cta-kw.mobile-guest-cta-kw{
  color: var(--stk-creme);
}

html:not(#_) .mobile-guest-timer-label.mobile-guest-timer-label{
  color: rgba(255, 244, 239, .72);
}

html:not(#_) .mobile-guest-timer.mobile-guest-timer{
  color: var(--stk-corail-clair);
  font-weight: 700;
}

html:not(#_) .mobile-guest-cta-btn.mobile-guest-cta-btn{
  background: var(--stk-creme);
  color: var(--stk-encre);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

html:not(#_) .mobile-guest-cta-btn:hover, html:not(#_) .mobile-guest-cta-btn:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

/* ===================== HEADER — RECHERCHE / CONFIANCE (.page-header) ===================== */
html:not(#_) .page-header .search-bar .search-input{
  border-radius: 999px 0 0 999px;
}

html:not(#_) .page-header .btn-primary.search-submit{
  background: linear-gradient(120deg, var(--stk-violet), var(--stk-magenta));
  border-radius: 0 999px 999px 0;
  color: #fff;
  font-weight: 700;
  border: none;
  transition: transform .2s ease, filter .2s ease;
}

html:not(#_) .page-header .btn-primary.search-submit:hover, html:not(#_) .page-header .btn-primary.search-submit:focus-visible{
  filter: brightness(1.1);
  transform: translateY(-1px);
}

html:not(#_) .trust-badges .badge{
  background: rgba(74, 20, 140, .07);
  border-radius: 999px;
  padding: .25rem .75rem;
}

/* ===================== FOOTER (.footer-v2) ===================== */
html:not(#_) .footer-v2.footer-v2{
  background: linear-gradient(100deg, var(--stk-nuit) 0%, var(--stk-violet) 55%, var(--stk-magenta) 100%);
  border-top: 2px solid var(--stk-corail);
}

html:not(#_) .footer-logo.footer-logo{
  color: var(--stk-creme) !important;
  font-weight: 700;
  letter-spacing: .02em;
}

html:not(#_) .footer-links a{
  color: rgba(255, 244, 239, .82);
  border-radius: 999px;
  padding: .2rem .7rem;
  transition: background-color .2s ease, color .2s ease;
}

html:not(#_) .footer-links a:hover, html:not(#_) .footer-links a:focus-visible{
  background: rgba(255, 122, 82, .28);
  color: #fff;
}

html:not(#_) .footer-copy.footer-copy{
  color: rgba(255, 244, 239, .72);
}

/* ===================== ACCESSIBILITÉ ===================== */
@media (prefers-reduced-motion: reduce) {
  html:not(#_) .sidebar.sidebar, html:not(#_) .mobile-guest-top.mobile-guest-top{
    animation: none;
  }
  html:not(#_) .sb-link.sb-link, html:not(#_) .sb-link .sb-ico svg, html:not(#_) .sb-map-quick-link.sb-map-quick-link, html:not(#_) .mobile-guest-login.mobile-guest-login, html:not(#_) .mobile-guest-cta-btn.mobile-guest-cta-btn, html:not(#_) .page-header .btn-primary.search-submit, html:not(#_) .footer-links a{
    transition: none;
  }
}

/* ==========================================================================
   RECETTE DE MISE EN PAGE — Astro · villes-bas
   (copiee telle quelle depuis app/design_recettes_v3.css, version du 18/09 --
   ne pas modifier ses :where(), ils evitent que :has() gonfle la specificite
   au-dessus des regles ciblees). Ordre lu : titre -> profils -> CTA -> FAQ ->
   listings de villes/Bundeslaender/carte.
   ========================================================================== */
html:not(#_) body.design-v-villes-bas .container > section.section.ds-villes:first-child{ order: 6; }
html:not(#_) body.design-v-villes-bas div.container.ds-c{ display: flex; flex-direction: column; }
html:not(#_) body.design-v-villes-bas div.container.ds-c > *{ order: 6; }
html:not(#_) body.design-v-villes-bas div.container > .page-header{ order: 0; }
html:not(#_) body.design-v-villes-bas div.container > section.section.ds-profils{ order: 1; }
html:not(#_) body.design-v-villes-bas div.container > .ds-bloc{ order: 2; }
html:not(#_) body.design-v-villes-bas div.container > section.cta-section{ order: 3; }
html:not(#_) body.design-v-villes-bas div.container > section.section.ds-faq{ order: 4; }
html:not(#_) body.design-v-villes-bas div.region-layout{ display: flex; flex-direction: column; }
html:not(#_) body.design-v-villes-bas div.region-layout > aside.region-sidebar{ order: 2; position: static; width: auto; max-width: none; }
html:not(#_) body.design-v-villes-bas div.region-layout > aside.region-sidebar ul.ville-list{ display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   THEME PROFOND -- l'aurore descend dans les pages (cartes, filtres,
   pagination, CTA, FAQ, retour en haut, pop-ups, barre basse mobile).
   Les pages courantes sont sur fond clair : les cadres reprennent le filet
   corail + l'ombre violette du header, les boutons d'action reprennent le
   degrade aurore (texte creme), le CTA de milieu de page reprend le fond
   aurore complet comme le header.
   ========================================================================== */

/* ----- Cartes profil ----- */
html:not(#_) .profile-card.profile-card{
  background: var(--stk-creme);
  border: 1.5px solid rgba(74, 20, 140, .14);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(35, 6, 63, .12);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

html:not(#_) .profile-card.profile-card:hover, html:not(#_) .profile-card.profile-card:focus-within{
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(173, 20, 87, .22);
  border-color: rgba(255, 122, 82, .55);
}

html:not(#_) .profile-card .profile-name{
  color: var(--stk-encre);
  font-weight: 700;
}

html:not(#_) .profile-card .profile-ville{
  color: var(--stk-magenta);
}

html:not(#_) .profile-card .profile-age.profile-age{
  background-image: linear-gradient(120deg, var(--stk-violet), var(--stk-magenta) 70%, var(--stk-corail));
  color: var(--stk-creme);
  border-radius: 999px;
  padding: .12rem .6rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(35, 6, 63, .25);
}

html:not(#_) .profile-card .profile-bio{
  color: rgba(42, 8, 69, .78);
}

html:not(#_) .profile-card .profile-lock svg, html:not(#_) .profile-card .profile-lock{
  color: var(--stk-corail);
}

html:not(#_) .profile-card .profile-cta.profile-cta{
  background-image: linear-gradient(120deg, var(--stk-violet), var(--stk-magenta) 70%, var(--stk-corail));
  color: var(--stk-creme);
  border-radius: 999px;
  font-weight: 700;
  border: none;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

html:not(#_) .profile-card .profile-cta.profile-cta:hover, html:not(#_) .profile-card .profile-cta.profile-cta:focus-visible{
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 18px rgba(173, 20, 87, .3);
}

html:not(#_) .profile-card .profile-footer{
  border-top: 1px solid rgba(74, 20, 140, .1);
}

/* ----- Filtres ----- */
html:not(#_) .filters .filter-btn{
  border: 1.5px solid rgba(74, 20, 140, .25);
  border-radius: 999px;
  color: var(--stk-violet);
  background: rgba(255, 255, 255, .6);
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

html:not(#_) .filters .filter-btn:hover, html:not(#_) .filters .filter-btn:focus-visible{
  border-color: var(--stk-corail);
  transform: translateY(-1px);
}

html:not(#_) .filters .filter-btn.active{
  background-image: linear-gradient(120deg, var(--stk-violet), var(--stk-magenta) 75%, var(--stk-corail));
  color: var(--stk-creme);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(74, 20, 140, .28);
}

/* ----- Pagination ----- */
html:not(#_) .pagination .pagination-link{
  border: 1.5px solid rgba(74, 20, 140, .22);
  border-radius: 999px;
  color: var(--stk-violet);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

html:not(#_) .pagination .pagination-link:hover, html:not(#_) .pagination .pagination-link:focus-visible{
  border-color: var(--stk-corail);
  transform: translateY(-1px);
}

html:not(#_) .pagination .pagination-current.pagination-current{
  background-image: linear-gradient(120deg, var(--stk-violet), var(--stk-magenta) 75%, var(--stk-corail));
  color: var(--stk-creme);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(74, 20, 140, .28);
}

html:not(#_) .pagination .pagination-ellipsis{
  color: rgba(42, 8, 69, .5);
}

html:not(#_) .pagination .pagination-arrow{
  color: var(--stk-magenta);
}

/* ----- Bandeau CTA de milieu de page ----- */
html:not(#_) .cta-section.cta-section{
  background-image:
    linear-gradient(180deg, rgba(14, 4, 26, .5), rgba(14, 4, 26, .5)),
    linear-gradient(135deg, var(--stk-nuit) 0%, var(--stk-violet) 38%, var(--stk-magenta) 72%, var(--stk-corail) 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 122, 82, .3);
  box-shadow: 0 14px 30px rgba(35, 6, 63, .28);
  padding: 2.5rem 1.5rem;
}

html:not(#_) .cta-section.cta-section h2{
  color: var(--stk-creme);
}

html:not(#_) .cta-section.cta-section p{
  color: rgba(255, 244, 239, .82);
}

html:not(#_) .cta-section .btn.btn-primary.btn-lg{
  background: var(--stk-creme);
  color: var(--stk-encre);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

html:not(#_) .cta-section .btn.btn-primary.btn-lg:hover, html:not(#_) .cta-section .btn.btn-primary.btn-lg:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .32);
}

/* ----- FAQ / accordeon ----- */
html:not(#_) .info-duo .info-duo-title{
  color: var(--stk-encre);
  position: relative;
  padding-left: 18px;
}

html:not(#_) .info-duo .info-duo-title::before{
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--stk-corail);
}

html:not(#_) .accordion .accordion-item{
  background: var(--stk-creme);
  border: 1px solid rgba(74, 20, 140, .16);
  border-left: 3px solid var(--stk-corail);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

html:not(#_) .accordion .accordion-item:hover{
  border-left-color: var(--stk-magenta);
  box-shadow: 0 8px 18px rgba(35, 6, 63, .1);
}

html:not(#_) .accordion .accordion-header, html:not(#_) .accordion .accordion-q{
  color: var(--stk-violet);
  font-weight: 700;
}

html:not(#_) .accordion .accordion-body{
  color: rgba(42, 8, 69, .78);
}

/* ----- Retour en haut ----- */
html:not(#_) #back-to-top.back-to-top, html:not(#_) .back-to-top.back-to-top{
  background-image: linear-gradient(135deg, var(--stk-violet), var(--stk-magenta) 70%, var(--stk-corail));
  color: var(--stk-creme);
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(35, 6, 63, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}

html:not(#_) #back-to-top.back-to-top:hover, html:not(#_) #back-to-top.back-to-top:focus-visible{
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(173, 20, 87, .35);
}

/* ----- Pop-up profil (#profileModal) -- cadre et boutons seulement ----- */
html:not(#_) #profileModal .modal-content{
  background: var(--stk-creme);
  border: 1.5px solid rgba(255, 122, 82, .35);
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(35, 6, 63, .4);
}

html:not(#_) #profileModal .modal-name, html:not(#_) #profileModal .modal-titre-ligne{
  color: var(--stk-encre);
}

html:not(#_) #profileModal .modal-meta, html:not(#_) #profileModal .modal-bio{
  color: rgba(42, 8, 69, .78);
}

html:not(#_) #profileModal .modal-tags{
  color: var(--stk-magenta);
}

html:not(#_) #profileModal .modal-close{
  background: rgba(74, 20, 140, .1);
  color: var(--stk-violet);
  border-radius: 999px;
  border: none;
  transition: background-color .2s ease, color .2s ease;
}

html:not(#_) #profileModal .modal-close:hover, html:not(#_) #profileModal .modal-close:focus-visible{
  background: var(--stk-corail);
  color: var(--stk-creme);
}

html:not(#_) #profileModal .modal-dot{
  background: rgba(74, 20, 140, .3);
}

html:not(#_) #profileModal .modal-dot.active, html:not(#_) #profileModal .modal-dot[aria-current="true"]{
  background: var(--stk-corail);
}

html:not(#_) #profileModal .modal-favori{
  color: var(--stk-corail);
}

html:not(#_) #profileModal .btn.btn-primary.modal-action-primary, html:not(#_) #profileModal .modal-cta-overlay{
  background-image: linear-gradient(120deg, var(--stk-violet), var(--stk-magenta) 70%, var(--stk-corail));
  color: var(--stk-creme);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(74, 20, 140, .3);
  transition: transform .2s ease, filter .2s ease;
}

html:not(#_) #profileModal .btn.btn-primary.modal-action-primary:hover, html:not(#_) #profileModal .modal-cta-overlay:hover, html:not(#_) #profileModal .btn.btn-primary.modal-action-primary:focus-visible, html:not(#_) #profileModal .modal-cta-overlay:focus-visible{
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* ----- Pop-up d'inscription / connexion ----- */
html:not(#_) .popup-card.popup-card{
  background: var(--stk-creme);
  border: 1.5px solid rgba(255, 122, 82, .35);
  border-top: 4px solid var(--stk-corail);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(35, 6, 63, .38);
}

html:not(#_) .popup-card .popup-title{
  color: var(--stk-encre);
}

html:not(#_) .popup-card .popup-desc{
  color: rgba(42, 8, 69, .78);
}

html:not(#_) .popup-card .popup-icon{
  color: var(--stk-corail);
}

html:not(#_) .popup-card .popup-alert{
  border: 1px solid rgba(255, 122, 82, .4);
  border-radius: 12px;
  color: var(--stk-magenta);
  background: rgba(255, 122, 82, .08);
}

html:not(#_) .popup-close.popup-close{
  background: rgba(74, 20, 140, .1);
  color: var(--stk-violet);
  border-radius: 999px;
  border: none;
  transition: background-color .2s ease, color .2s ease;
}

html:not(#_) .popup-close.popup-close:hover, html:not(#_) .popup-close.popup-close:focus-visible{
  background: var(--stk-corail);
  color: var(--stk-creme);
}

html:not(#_) .popup-prelinker-host, html:not(#_) .popup-prelinker-panel{
  border-radius: 16px;
}

/* ----- Age gate ----- */
html:not(#_) .age-gate-modal.age-gate-modal{
  background: var(--stk-creme);
  border: 1.5px solid rgba(255, 122, 82, .4);
  border-top: 5px solid var(--stk-corail);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(35, 6, 63, .4);
}

html:not(#_) .age-gate-lead{
  color: var(--stk-encre);
  font-weight: 700;
}

html:not(#_) .age-gate-body{
  color: rgba(42, 8, 69, .78);
}

html:not(#_) .age-gate-footnote, html:not(#_) .age-gate-link{
  color: var(--stk-magenta);
}

html:not(#_) .age-gate-buttons .btn.btn-primary, html:not(#_) .age-gate-actions .btn-primary{
  background-image: linear-gradient(120deg, var(--stk-violet), var(--stk-magenta) 70%, var(--stk-corail));
  color: var(--stk-creme);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(74, 20, 140, .3);
}

html:not(#_) .age-gate-actions .btn:not(.btn-primary){
  border: 1.5px solid rgba(74, 20, 140, .3);
  border-radius: 999px;
  color: var(--stk-violet);
  background: transparent;
}

/* ----- Barre basse mobile (Astro, .btab) ----- */
html:not(#_) .btab.btab{
  background-image:
    linear-gradient(180deg, rgba(14, 4, 26, .55), rgba(14, 4, 26, .55)),
    linear-gradient(100deg, var(--stk-nuit) 0%, var(--stk-violet) 45%, var(--stk-magenta) 80%, var(--stk-corail) 100%);
  border-top: 1px solid rgba(255, 122, 82, .3);
}

html:not(#_) .btab .btab-ico, html:not(#_) .btab .btab-lbl{
  color: rgba(255, 244, 239, .68);
  transition: color .2s ease;
}

html:not(#_) .btab.active .btab-ico, html:not(#_) .btab.active .btab-lbl, html:not(#_) .btab[aria-current="page"] .btab-ico, html:not(#_) .btab[aria-current="page"] .btab-lbl{
  color: var(--stk-corail-clair);
}

/* ----- Reassurance native (.trust-badges) -- pas de bloc ds ajoute ici,
   on approfondit la pastille existante dans le registre aurore ----- */
html:not(#_) .trust-badges .badge.badge{
  background: rgba(74, 20, 140, .07);
  border: 1px solid rgba(255, 122, 82, .28);
  border-radius: 999px;
  padding: .3rem .85rem;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

html:not(#_) .trust-badges .badge:hover{
  background: rgba(255, 122, 82, .14);
  border-color: var(--stk-corail);
  transform: translateY(-1px);
}

html:not(#_) .trust-badges .badge-icon{
  filter: drop-shadow(0 0 3px rgba(255, 122, 82, .5));
}

html:not(#_) .trust-badges .badge-label{
  color: var(--stk-violet);
  font-weight: 600;
}

/* ----- Menu mobile (tiroir de la sidebar, socle pose par l'outil) -----
   Mecanisme intact (display/position des regles body:has non touchees) :
   seule la couleur du burger, du calque et du bouton de fermeture change. */
html:not(#_) .ds-burger{
  color: var(--stk-creme);
}

html:not(#_) .ds-burger span{
  background: var(--stk-creme);
}

html:not(#_) body:has(#ds-menu:checked) .ds-menu-overlay{
  background: rgba(35, 6, 63, .58);
}

html:not(#_) body:has(#ds-menu:checked) .ds-menu-close{
  background: rgba(255, 122, 82, .3);
  color: var(--stk-creme);
}

html:not(#_) body:has(#ds-menu:checked) .ds-menu-close:hover, html:not(#_) body:has(#ds-menu:checked) .ds-menu-close:focus-visible{
  background: var(--stk-corail);
}

/* ----- Accessibilite : coupe les animations/transitions ajoutees ici ----- */
@media (prefers-reduced-motion: reduce) {
  html:not(#_) .profile-card.profile-card, html:not(#_) .profile-card .profile-cta.profile-cta, html:not(#_) .filters .filter-btn, html:not(#_) .pagination .pagination-link, html:not(#_) .cta-section .btn.btn-primary.btn-lg, html:not(#_) .accordion .accordion-item, html:not(#_) #back-to-top.back-to-top, html:not(#_) .popup-close.popup-close, html:not(#_) .trust-badges .badge{
    transition: none;
  }
}

/* top villes lisibles (planche v6/v7, 18/09) : le gabarit pose #4b5563 sur .sb-top-item, illisible sur une sidebar sombre */
html:not(#_) .sb-top-item{ color: rgba(255,244,239,.92); }
html:not(#_) .sb-top-item:hover{ background: rgba(255,255,255,.12); color: rgba(255,244,239,.92); }

/* contraste (audit 18/09) */
html:not(#_) .mobile-guest-cta-btn{ color: #3b1d4f !important; }

/* __CONTRASTE_V1 */
/* contraste mesuré < 2.4 (contraste_audit.mjs) : couleur du texte forcée lisible */
@media (min-width: 900px) { html:not(#_) span.profile-lock, html:not(#_) span.profile-lock a, html:not(#_) span.profile-lock span{ color: #ffffff !important; } }
/* __END_CONTRASTE_V1 */

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

html:not(#_){
  --cro-accent:#ad1457;
  --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. */
html:not(#_) #profileModal .modal-content, html:not(#_) .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;
}
html:not(#_) #profileModal.active .modal-content, html:not(#_) .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 */
html:not(#_) #profileModal .btn-primary, html:not(#_) #profileModal .modal-contact-btn, html:not(#_) #profileModal .btn-cta-overlay, html:not(#_) .pm-cta button, html:not(#_) .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;
}
html:not(#_) #profileModal .btn-primary:hover, html:not(#_) #profileModal .modal-contact-btn:hover, html:not(#_) .pm-cta button:hover, html:not(#_) .pm-cta a:hover{ filter:brightness(1.07); box-shadow:0 14px 26px -10px var(--cro-accent, rgba(20,23,26,.6)); }
html:not(#_) #profileModal .btn-primary:active, html:not(#_) #profileModal .modal-contact-btn:active, html:not(#_) .pm-cta button:active, html:not(#_) .pm-cta a:active{ transform:scale(.985); }
html:not(#_) #profileModal .btn-primary:focus-visible, html:not(#_) .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; } }
html:not(#_) #profileModal.active .btn-primary, html:not(#_) #profileModal.active .modal-contact-btn, html:not(#_) .pm-modal .pm-cta button{ animation:cro-pouls 1.5s ease-out .45s 2; }

/* ---------- Astro : carrousel + corps ---------- */
html:not(#_) #profileModal .modal-image{ object-fit:cover; }
html:not(#_) #profileModal .modal-body{ background:var(--cro-blanc); padding-bottom:0; }
html:not(#_) #profileModal .modal-name{ color:var(--cro-encre); font-size:22px; letter-spacing:-.01em; }
html:not(#_) #profileModal .modal-meta{ color:var(--cro-encre-2); font-size:13.5px; }
html:not(#_) #profileModal .modal-bio, html:not(#_) #profileModal .modal-bio-wrap p{ color:var(--cro-encre); font-size:15px; line-height:1.55; }
html:not(#_) #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;
}
html:not(#_) #profileModal .modal-tags-label{ color:var(--cro-encre-2) !important; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; }
html:not(#_) #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 */
html:not(#_) #profileModal .modal-bio, html:not(#_) #profileModal .modal-bio *, html:not(#_) #profileModal .modal-bio-wrap, html:not(#_) #profileModal .modal-bio-wrap *, html:not(#_) #profileModal .modal-body p, html:not(#_) #profileModal .modal-info-value, html:not(#_) #profileModal .modal-infos li, html:not(#_) #profileModal .modal-infos span, html:not(#_) .pm-modal .pm-bio, html:not(#_) .pm-modal .pm-bio p, html:not(#_) .pm-modal .pm-bio div{
  color:var(--cro-encre) !important;
}
html:not(#_) #profileModal .modal-info-label, html:not(#_) #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). */
html:not(#_) #profileModal .modal-actions .btn:not(.btn-primary):not(.modal-contact-btn), html:not(#_) #profileModal .modal-favoris, html:not(#_) #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 */
html:not(#_) #profileModal .modal-bio-wrap, html:not(#_) #profileModal .modal-body > div[class*="bio"]{
  background:#f7f8f9 !important; border:1px solid var(--cro-trait) !important; border-radius:12px;
}

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

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

  html:not(#_) #profileModal .modal-actions, html:not(#_) .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;
  }
  html:not(#_) #profileModal .modal-tags-block, html:not(#_) .pm-modal .pm-bio{ padding-bottom:6px; }
}

@media (prefers-reduced-motion:reduce){
  html:not(#_) #profileModal.active .modal-content, html:not(#_) .pm-modal, html:not(#_) #profileModal.active .btn-primary, html:not(#_) #profileModal.active .modal-contact-btn, html:not(#_) .pm-modal .pm-cta button{ animation:none !important; }
  html:not(#_) #profileModal .btn-primary, html:not(#_) .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. */

html:not(#_){
  --sg-accent:#ad1457;
  --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 */
html:not(#_) #signupOverlay, html:not(#_) .signup-overlay, html:not(#_) .popup-overlay{ background:rgba(12,16,20,.62) !important; backdrop-filter:blur(2px); }

/* LA surface — une seule, blanche */
html:not(#_) .signup-popup, html:not(#_) .popup-card, html:not(#_) #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. */
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) > div, html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) 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;
}
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) h1, html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) h2{ font-size:23px !important; line-height:1.2 !important; color:var(--sg-encre) !important; }
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) 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;
}
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) button[type="submit"], html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) 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 */
html:not(#_) .signup-header h2, html:not(#_) .popup-title{ color:var(--sg-encre) !important; font-size:23px !important; line-height:1.2; margin:0 0 6px !important; }
html:not(#_) .signup-header p, html:not(#_) .popup-desc{ color:var(--sg-encre-2) !important; font-size:14px !important; margin:0 0 16px !important; }
html:not(#_) .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 */
html:not(#_) .prelinker-embed, html:not(#_) .popup-prelinker-host, html:not(#_) .popup-prelinker-panel, html:not(#_) .ptprelinker--box, html:not(#_) .ptprelinker-content, html:not(#_) .ptprelinker-content-inner, html:not(#_) .ptprelinker-content-content{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}
html:not(#_) .signup-body{ background:transparent !important; padding:0 !important; }

/* champs : plus hauts, bord clair, une seule teinte de fond */
html:not(#_) .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;
}
html:not(#_) .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; }
html:not(#_) .ptprelinker-input-group .ptprelinker-input, html:not(#_) .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 */
}
html:not(#_) .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 */
html:not(#_) .ptprelinker-buttons input[type="submit"], html:not(#_) .ptprelinker-buttons .ptprelinker-button, html:not(#_) .signup-popup button[type="submit"], html:not(#_) .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;
}
html:not(#_) .ptprelinker-buttons input[type="submit"]:hover, html:not(#_) .ptprelinker-buttons .ptprelinker-button:hover{ filter:brightness(1.07) !important; }
html:not(#_) .ptprelinker-buttons input[type="submit"]:active, html:not(#_) .ptprelinker-buttons .ptprelinker-button:active{ transform:scale(.985) !important; }

/* croix et pied : présents, discrets — ils ne doivent pas concurrencer le bouton */
html:not(#_) .signup-close, html:not(#_) .popup-close{
  background:transparent !important; color:var(--sg-encre-2) !important;
  border:1px solid var(--sg-trait) !important; border-radius:999px !important;
}
html:not(#_) .signup-footer, html:not(#_) .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; }
html:not(#_) .signup-footer a, html:not(#_) .popup-footer a{ color:var(--sg-accent, #14171a) !important; font-weight:600; }

@media (max-width:768px){
  html:not(#_) .signup-popup, html:not(#_) .popup-card{ padding:22px 16px 16px !important; border-radius:16px !important; }
  html:not(#_) .signup-header h2, html:not(#_) .popup-title{ font-size:21px !important; }
}
@media (prefers-reduced-motion:reduce){
  html:not(#_) .signup-popup, html:not(#_) .popup-card{ animation:none !important; }
  html:not(#_) .ptprelinker-buttons input[type="submit"], html:not(#_) .ptprelinker-buttons .ptprelinker-button{ transition:none !important; }
}
/* __SIGNUP_CRO_V1_FIN */
html:not(#_) .sidebar-inner{scrollbar-width:thin;scrollbar-color:rgba(128,128,128,.45) transparent;}
/* __END_DESIGN_SITE__ */
