/* ============================================================================
   sexanzeigen-niedersachsen.de — habillage « brique & lin » (gabarit sexeannonces, skin-3 split, compo 4)
   Registre : mur de briques en appareil à joints décalés (running bond) + toile de lin. Formes signature :
     1. l'ARCHE de brique (linteau cintré) : photos des annonces, photo de la fiche, formulaire, CTA, pop-up ;
     2. la BRIQUE (pavé aux angles doux) : logo, badge « Frisch », dates, pastilles régions à chant brique, créneaux ;
     3. le CORDON de briques (frise SVG inline) sous l'en-tête, en haut du pied de page, en tête des encarts latéraux ;
     4. le MÉDAILLON cerclé pour les avatars « Frisch dabei ».
   Palette : brique #a0522d (favicon, accent) · brique sombre #8a4423 / #6f3419 (texte accent, ≥ 5:1 sur lin) ·
     lin #f6f0e6 / lin foncé #ece2d2 (neutre chaud) · encre #2b1d17 · mortier #d9c9b3.
   Titres en serif (Georgia), texte en système. Ombres douces teintées brique. reduced-motion respecté.
   Préfixe :not(#_) = (1,0,0) : passe devant toute règle du gabarit sans !important.
   ============================================================================ */
:not(#_) body.sa.skin-3 {
  --brique: #a0522d; --brique-txt: #8a4423; --brique-sombre: #6f3419;
  --lin: #f6f0e6; --lin-2: #ece2d2; --lin-3: #e2d5c1; --mortier: #d9c9b3; --encre: #2b1d17;
  --frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Crect width='64' height='32' fill='%23e3d5c1'/%3E%3Crect x='1' y='1' width='29' height='13' rx='1.5' fill='%23a0522d'/%3E%3Crect x='33' y='1' width='30' height='13' rx='1.5' fill='%239a4c28'/%3E%3Crect x='-15' y='17' width='29' height='13' rx='1.5' fill='%23a85a34'/%3E%3Crect x='17' y='17' width='30' height='13' rx='1.5' fill='%23a0522d'/%3E%3Crect x='49' y='17' width='30' height='13' rx='1.5' fill='%239a4c28'/%3E%3C/svg%3E");
  --sa-accent: var(--brique); --sa-accent-txt: #fff;
  --sa-fond: var(--lin); --sa-fond2: var(--lin-2); --sa-surface: #fffcf7;
  --sa-texte: var(--encre); --sa-muet: #6a5648; --sa-bord: var(--mortier);
  --sa-secondaire: var(--encre); --sa-secondaire-txt: var(--lin);
  --sa-rayon: 14px; --sa-rayon-s: 8px;
  --sa-police: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --sa-police-titre: Georgia, "Times New Roman", "DejaVu Serif", serif;
  --sa-ombre: 0 2px 4px rgba(120, 60, 30, .06), 0 14px 32px -16px rgba(120, 60, 30, .35);
  --sa-tete: var(--lin); --sa-tete-txt: var(--encre);
  --sa-pied: var(--encre); --sa-pied-txt: #e6d8c6; --sa-like: var(--brique);
  background: repeating-linear-gradient(45deg, rgba(160, 82, 45, .035) 0 1px, transparent 1px 7px), repeating-linear-gradient(-45deg, rgba(160, 82, 45, .03) 0 1px, transparent 1px 7px), var(--lin);
  color: var(--encre);
}
.skin-3 a { color: var(--brique-txt); }
:not(#_) .skin-3 :is(.sa-carte__titre, .sa-blog__titre, .sa-similaires__titre, .sa-membres__nom, .sa-side__liste, .sa-tags__liste, .sa-regionsindex__mid h2) a, :not(#_) .skin-3 .sa-pastille { color: var(--encre); }
:not(#_) .skin-3 :is(.sa-carte__titre, .sa-blog__titre, .sa-similaires__titre, .sa-tags__liste) a:hover { color: var(--brique-sombre); }
:not(#_) .skin-3 h1, :not(#_) .skin-3 h2, :not(#_) .skin-3 h3 { font-family: var(--sa-police-titre); font-weight: 700; letter-spacing: -.005em; }
:not(#_) .skin-3 .sa-btn { font-family: var(--sa-police); border-radius: 10px; }
:not(#_) .skin-3 .sa-btn--accent { background: var(--brique); border-color: var(--brique); color: #fff; box-shadow: 0 8px 18px -10px rgba(160, 82, 45, .7); }
:not(#_) .skin-3 .sa-btn--accent:hover { background: var(--brique-txt); border-color: var(--brique-txt); box-shadow: 0 0 0 3px rgba(160, 82, 45, .22), 0 10px 22px -10px rgba(160, 82, 45, .7); }
:not(#_) .skin-3 .sa-btn--ghost { color: var(--brique-txt); border-color: color-mix(in srgb, var(--brique) 40%, var(--mortier)); background: var(--sa-surface); }
:not(#_) .skin-3 .sa-btn--ghost:hover { border-color: var(--brique); color: var(--brique-sombre); }
:not(#_) .skin-3 .sa-badge { background: var(--lin-2); color: var(--brique-sombre); border-radius: 4px; }

/* ---------- en-tête : lin, logo en brique, cordon de briques sous la barre ---------- */
:not(#_) .skin-3 .sa-header { background: var(--lin); border-bottom: 0; box-shadow: 0 6px 18px -14px rgba(120, 60, 30, .4); }
:not(#_) .skin-3 .sa-header::after { content: ""; display: block; height: 8px; background: var(--frise) center / 32px 16px repeat-x; opacity: .9; }
:not(#_) .skin-3 .sa-logo { text-transform: none; letter-spacing: 0; font-family: var(--sa-police-titre); font-size: 1.28rem; color: var(--encre); }
:not(#_) .skin-3 .sa-logo__mark { width: 40px; height: 26px; border-radius: 3px; background: var(--brique); color: #fff; font-size: .8rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 2px 0 var(--mortier); }
:not(#_) .skin-3 .sa-burger { color: var(--brique-txt); }
:not(#_) .skin-3 .sa-nav li a { color: var(--encre); }
@media (min-width: 900px) {
  :not(#_) .skin-3 .sa-nav li a { text-transform: none; letter-spacing: 0; font-size: .84rem; font-weight: 600; border-bottom: 0; border-radius: 6px 6px 0 0; padding: .5rem .4rem; position: relative; }
  :not(#_) .skin-3 .sa-nav li a::after { content: ""; position: absolute; left: .4rem; right: .4rem; bottom: 0; height: 3px; border-radius: 2px; background: var(--brique); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  :not(#_) .skin-3 .sa-nav li a:hover::after, :not(#_) .skin-3 .sa-nav li a.is-actif::after { transform: scaleX(1); }
  :not(#_) .skin-3 .sa-nav li a:hover, :not(#_) .skin-3 .sa-nav li a.is-actif { background: none; color: var(--brique-sombre); }
  :not(#_) .skin-3 .sa-header__actions .sa-btn { padding-inline: .9em; font-size: .9rem; }
}
:not(#_) .skin-3 .sa-header__compte, :not(#_) .skin-3 .sa-header__placer { border-radius: 999px; }

/* ---------- panneau photo collant (desktop) : cadre de lin cintré ---------- */
@media (min-width: 900px) {
  :not(#_) .skin-3.sa-page-home .sa-split { overflow: hidden; }
  :not(#_) .skin-3.sa-page-home .sa-split::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 29, 23, .35), rgba(43, 29, 23, 0) 30%, rgba(43, 29, 23, 0) 60%, rgba(43, 29, 23, .55)); }
  :not(#_) .skin-3.sa-page-home .sa-split::after { content: ""; position: absolute; inset: 22px; border: 2px solid rgba(246, 240, 230, .75); border-radius: 160px 160px 14px 14px; box-shadow: 0 0 0 10px rgba(160, 82, 45, .18); }
  :not(#_) .skin-3.sa-page-home .sa-main { grid-template-columns: 38% minmax(0, 1fr); }
  :not(#_) .skin-3.sa-page-home .sa-main > :not(.sa-split) { padding-left: clamp(.5rem, 2vw, 1.5rem); }
}

/* ---------- bandeau d'inscription (compo 4, en tête) : lin, cordon vertical, formulaire cintré — pas d'aplat géant ---------- */
:not(#_) .skin-3 .sa-inscrire { background: var(--lin-2); color: var(--encre); padding: 1.6rem 0 1.8rem; position: relative; }
:not(#_) .skin-3 .sa-inscrire::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--frise) 0 0 / 32px 16px repeat-y; opacity: .85; }
:not(#_) .skin-3 .sa-inscrire__in { gap: 1.6rem; padding-left: calc(var(--sa-gout) + 8px); }
:not(#_) .skin-3 .sa-inscrire__h { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); color: var(--encre); margin-bottom: .5rem; }
:not(#_) .skin-3 .sa-inscrire__txt p { color: var(--sa-muet); max-width: 46ch; }
:not(#_) .skin-3 .sa-inscrire__form { background: var(--sa-surface); border: 1px solid var(--mortier); border-radius: 34px 34px 14px 14px; padding: 1.5rem 1.3rem 1.2rem; box-shadow: var(--sa-ombre); }
:not(#_) .skin-3 .sa-inscrire .sa-form__lbl, :not(#_) .skin-3 .sa-inscrire .sa-form__check { color: var(--encre); }
:not(#_) .skin-3 .sa-inscrire .sa-form__check a { color: var(--brique-txt); }
:not(#_) .skin-3 .sa-inscrire .sa-btn--accent { background: var(--brique); color: #fff; border-color: var(--brique); }
:not(#_) .skin-3 .sa-inscrire .sa-btn--accent:hover { background: var(--brique-txt); border-color: var(--brique-txt); }

/* ---------- formulaires ---------- */
:not(#_) .skin-3 .sa-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea) { background: #fff; border-radius: 10px; box-shadow: inset 0 1px 2px rgba(120, 60, 30, .06); }
:not(#_) .skin-3 .sa-depot__bloc, :not(#_) .skin-3 .sa-recherche { border-radius: 22px 22px 12px 12px; box-shadow: var(--sa-ombre); }
:not(#_) .skin-3 .sa-depot__bloc legend { font-family: var(--sa-police-titre); color: var(--brique-sombre); background: var(--lin-2); border-radius: 4px; padding: .1rem .6rem; }

/* ---------- thèmes en nuage + encarts latéraux (cordon en tête) ---------- */
:not(#_) .skin-3 .sa-tags { background: var(--sa-surface); border: 1px solid var(--mortier); border-radius: 14px; box-shadow: var(--sa-ombre); }
:not(#_) .skin-3 .sa-tags--nuage { padding: 1.3rem 1.3rem 1.2rem; margin-top: 1.4rem; }
:not(#_) .skin-3 .sa-tags__h { font-size: 1.25rem; }
:not(#_) .skin-3 .sa-tags__liste li[data-poids="5"] a { color: var(--brique-txt); font-family: var(--sa-police-titre); }
:not(#_) .skin-3 :is(.sa-tags--side, .sa-side, .sa-similaires) { background: var(--sa-surface); border: 1px solid var(--mortier); border-radius: 14px; box-shadow: var(--sa-ombre); overflow: hidden; }
:not(#_) .skin-3 :is(.sa-tags--side, .sa-side, .sa-similaires)::before { content: ""; display: block; height: 6px; margin: -1.1rem -1.2rem .9rem; background: var(--frise) center / 32px 16px repeat-x; }
:not(#_) .skin-3 .sa-similaires__img { border-radius: 24px 24px 6px 6px; }

/* ---------- titre de flux : deux briques décalées en soulignement ---------- */
:not(#_) .skin-3 :is(.sa-dernieres__h, .sa-layout__main > .sa-h1) { position: relative; padding-bottom: .9rem; }
:not(#_) .skin-3 :is(.sa-dernieres__h, .sa-layout__main > .sa-h1)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 7px; border-radius: 2px; background: var(--brique); box-shadow: 30px -10px 0 -1px var(--lin-3); }

/* ---------- lignes d'annonce : carte de lin, photo cintrée, zoom doux ---------- */
:not(#_) .skin-3 .sa-grille { gap: .9rem; }
:not(#_) .skin-3 .sa-carte { background: var(--sa-surface); border: 1px solid var(--mortier); border-radius: 14px; padding: .9rem .9rem 1rem; gap: 1rem; align-items: flex-start; }
:not(#_) .skin-3 .sa-carte__img { border-radius: 48px 48px 8px 8px; flex-basis: 104px; width: 104px; align-self: flex-start; box-shadow: 0 6px 16px -8px rgba(120, 60, 30, .45), 0 0 0 3px var(--sa-surface), 0 0 0 4px var(--mortier); background: var(--lin-2); }
@media (min-width: 640px) { :not(#_) .skin-3 .sa-carte__img { flex-basis: 136px; width: 136px; } }
:not(#_) .skin-3 .sa-carte__img img { transition: transform .45s ease; }
:not(#_) .skin-3 .sa-carte:hover .sa-carte__img img { transform: scale(1.05); }
:not(#_) .skin-3 .sa-carte__new { border-radius: 3px; left: 50%; transform: translateX(-50%); top: auto; bottom: .5rem; padding: .2rem .55rem; letter-spacing: .06em; box-shadow: 0 2px 6px rgba(43, 29, 23, .35); }
:not(#_) .skin-3 .sa-carte__pseudo { color: var(--brique-sombre); }
:not(#_) .skin-3 .sa-carte__titre { font-size: 1.15rem; }
:not(#_) .skin-3 .sa-carte__titre a:hover { color: var(--brique-sombre); text-decoration: none; }
:not(#_) .skin-3 .sa-carte__extrait { color: #3d2c23; }
:not(#_) .skin-3 .sa-carte__extrait strong { color: var(--brique-txt); }
:not(#_) .skin-3 .sa-btn--carte { background: var(--lin-2); color: var(--brique-sombre); border-radius: 999px; padding-inline: .9rem; min-height: 34px; }
:not(#_) .skin-3 .sa-btn--carte:hover { background: var(--brique); color: #fff; }
:not(#_) .skin-3 .sa-dernieres__plus > span { font-family: var(--sa-police-titre); color: var(--encre); }

/* ---------- régions : pastilles à chant de brique ---------- */
:not(#_) .skin-3 .sa-regions { background: transparent; padding: 1.4rem 0 1.8rem; }
:not(#_) .skin-3 .sa-pastille { border-left: 6px solid var(--brique); border-radius: 4px 10px 10px 4px; box-shadow: 0 4px 12px -8px rgba(120, 60, 30, .4); transition: transform .15s ease, box-shadow .15s ease; }
:not(#_) .skin-3 .sa-pastille:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -10px rgba(120, 60, 30, .55); }

/* ---------- magazine : carte cintrée, date en brique ---------- */
:not(#_) .skin-3 .sa-blog__item { background: var(--sa-surface); border: 1px solid var(--mortier); border-radius: 28px 28px 12px 12px; padding: 1.4rem 1.3rem 1.2rem; box-shadow: var(--sa-ombre); }
:not(#_) .skin-3 .sa-blog__date { display: inline-block; background: var(--lin-2); color: var(--brique-sombre); border-radius: 3px; padding: .05rem .5rem; font-size: .8rem; font-weight: 700; }
:not(#_) .skin-3 .sa-blog__tous { text-align: left; }

/* ---------- arrivées : médaillons cerclés ---------- */
:not(#_) .skin-3 .sa-membres { padding: 1.6rem 0 2rem; }
:not(#_) .skin-3 .sa-membres__avatar { border-radius: 50%; border: 3px solid var(--sa-surface); box-shadow: 0 0 0 2px var(--brique), 0 8px 16px -8px rgba(120, 60, 30, .6); }

/* ---------- pied de page : encre, cordon de briques en tête, texte lin (le skin le forçait en encre) ---------- */
:not(#_) .skin-3 .sa-liens { background: var(--encre); color: #e6d8c6; padding: 2.4rem 0 1.6rem; position: relative; margin-top: 1rem; }
:not(#_) .skin-3 .sa-liens::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--frise) center / 32px 16px repeat-x; }
:not(#_) .skin-3 :is(.sa-liens__marque, .sa-liens__h) { color: #fff; }
:not(#_) .skin-3 .sa-liens__h { text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
:not(#_) .skin-3 .sa-liens a { color: #e6d8c6; }
:not(#_) .skin-3 .sa-liens a:hover { color: #fff; }
:not(#_) .skin-3 .sa-liens .sa-btn--ghost { color: #fff; border-color: rgba(230, 216, 198, .45); background: transparent; border-radius: 999px; }
:not(#_) .skin-3 .sa-liens .sa-btn--ghost:hover { border-color: var(--brique); background: rgba(160, 82, 45, .25); }
@media (min-width: 768px) { :not(#_) .skin-3 .sa-liens__col--apropos { border-right: 1px dashed rgba(230, 216, 198, .3); } }
:not(#_) .skin-3 .sa-footer__tail { background: #211511; color: #cbb9a4; border-top: 1px dashed rgba(230, 216, 198, .2); }
:not(#_) .skin-3 :is(.sa-footer__legal a, .sa-footer__haut a) { color: #e6d8c6; }
:not(#_) .skin-3 .sa-footer__disclaimer { color: #b8a58f; }

/* ---------- barre basse mobile et barre de fiche (position intouchée) ---------- */
:not(#_) .skin-3 .sa-barre-mobile { background: var(--brique); color: #fff; box-shadow: 0 -4px 14px rgba(43, 29, 23, .35); border-top: 3px solid var(--lin-2); }
@media (max-width: 767px) { :not(#_) .skin-3 .sa-fiche__barre { background: var(--lin); border-top: 3px solid var(--brique); box-shadow: 0 -6px 16px rgba(43, 29, 23, .18); } }

/* ---------- fiche d'annonce : photo en arche, identité à joints, CTA en carte cintrée centrée ---------- */
:not(#_) .skin-3 .sa-crumbs a { color: var(--sa-muet); }
:not(#_) .skin-3 .sa-fiche { background: var(--sa-surface); border: 1px solid var(--mortier); border-radius: 18px; padding: clamp(1rem, 2.5vw, 1.8rem); box-shadow: var(--sa-ombre); }
:not(#_) .skin-3 .sa-fiche__sur { color: var(--brique-txt); font-weight: 600; }
:not(#_) .skin-3 .sa-fiche__photo { border-radius: 130px 130px 12px 12px; box-shadow: 0 0 0 4px var(--sa-surface), 0 0 0 5px var(--mortier), 0 16px 30px -14px rgba(120, 60, 30, .6); }
:not(#_) .skin-3 .sa-fiche__photo img { transition: transform .5s ease; }
:not(#_) .skin-3 .sa-fiche__photo:hover img { transform: scale(1.04); }
:not(#_) .skin-3 .sa-fiche__id > div { border-top: 1px dashed var(--mortier); }
:not(#_) .skin-3 .sa-btn--like { border-radius: 999px; border-color: color-mix(in srgb, var(--brique) 45%, transparent); color: var(--brique-sombre); }
:not(#_) .skin-3 .sa-btn--like:hover { background: var(--brique); color: #fff; border-color: var(--brique); }
:not(#_) .skin-3 .sa-dispo { background: var(--lin-2); border-radius: 14px; border: 1px solid var(--mortier); }
:not(#_) .skin-3 .sa-dispo__h { font-size: 1.05rem; }
:not(#_) .skin-3 .sa-dispo--chips .sa-dispo__jours { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
:not(#_) .skin-3 .sa-dispo--chips .sa-dispo__jour { border-radius: 6px; box-shadow: 0 2px 0 var(--mortier); }
:not(#_) .skin-3 .sa-dispo__jour.is-aujourdhui { border-color: var(--brique); }
:not(#_) .skin-3 .sa-dispo__jour.is-aujourdhui .sa-dispo__nom { color: var(--brique-sombre); }
:not(#_) .skin-3 .sa-fiche__texte p { color: #3d2c23; }
:not(#_) .skin-3 .sa-chip { background: var(--lin-2); border-radius: 4px; border: 1px solid var(--mortier); }
:not(#_) .skin-3 a.sa-chip:hover { border-color: var(--brique); color: var(--brique-sombre) !important; }
:not(#_) .skin-3 .sa-cta { border: 1px solid var(--mortier); border-radius: 40px 40px 14px 14px; background: var(--lin-2); text-align: center; padding: 1.8rem 1.4rem 1.5rem; width: 100%; max-width: 560px; margin: .6rem auto 1rem; justify-self: center; box-shadow: 0 18px 34px -18px rgba(160, 82, 45, .55), inset 0 1px 0 #fff; position: relative; }
:not(#_) .skin-3 .sa-cta::before { content: ""; position: absolute; left: 50%; top: 0; width: 44px; height: 8px; transform: translate(-50%, -4px); border-radius: 2px; background: var(--brique); }
:not(#_) .skin-3 .sa-cta__q { font-family: var(--sa-police-titre); font-size: 1.25rem; }
:not(#_) .skin-3 .sa-cta__btn .sa-btn { width: 100%; }
:not(#_) .skin-3 .sa-commentaires { border-top: 1px dashed var(--mortier); }
:not(#_) .skin-3 .sa-commentaires__note { background: var(--lin-2); }

/* ---------- pop-up d'inscription et consentement : boîte cintrée sur lin ---------- */
:not(#_) .skin-3 :is(.sa-popup__box, .sa-consent__box) { background: var(--lin); border-radius: 44px 44px 16px 16px; border: 1px solid var(--mortier); box-shadow: 0 30px 70px rgba(20, 10, 5, .55); }
:not(#_) .skin-3 .sa-popup__badge { background: var(--brique); color: #fff; border-radius: 3px; }
:not(#_) .skin-3 .sa-popup__croix { background: var(--lin-2); }
:not(#_) .skin-3 .sa-commentaires__ok { background: #e8efe4; }
@media (prefers-reduced-motion: reduce) {
  :not(#_) .skin-3 :is(.sa-carte__img img, .sa-fiche__photo img, .sa-pastille, .sa-nav li a::after) { transition: none; }
}
