/*
 * Rubrique « Histoires érotiques » (extension senkys-histoires) : page de lecture
 * (serif, lettrine, parties), fiche de la nouvelle, images de la suite (VIP) et
 * bandeau « la suite est réservée aux VIP ». Couleurs de l'espace VIP du comparateur :
 * nuit, violet, bordeaux des couvertures et or.
 * html.sk-vip : repère VIP (cookie du comparateur), le bandeau s'efface le temps que
 * la suite arrive ; html.sk-h-ouvert : la suite est là, le fondu du texte disparaît.
 */
.category-histoires-erotiques {
  --h-nuit: #15112f;
  --h-prune: #2a2160;
  --h-violet: #5a2a6e;
  --h-bordeaux: #7a1f3d;
  --h-or: #d4ad63;
  --h-or-clair: #f3dca6;
  --h-creme: #f7f3ec;
  --h-encre: #2b2530;
  --h-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

/* ─── Lecture ─────────────────────────────────────────────────────────── */
.category-histoires-erotiques .contenu-article { font-family: var(--h-serif); font-size: 19px; line-height: 1.85; color: var(--h-encre); }
.category-histoires-erotiques .contenu-article > p { margin-bottom: 1em; }
.category-histoires-erotiques .contenu-article em { font-style: italic; }
.contenu-article .sk-h-chapo { margin-bottom: 1.4em; font-family: var(--police); font-size: 17px; line-height: 1.7; }
.contenu-article .sk-h-chapo strong { color: var(--encre); font-weight: 600; }
.category-histoires-erotiques .contenu-article h2 { margin: 2.2em 0 1.1em; font-family: var(--h-serif); font-size: 27px; font-style: italic; font-weight: 400; line-height: 1.25; text-align: center; color: var(--h-violet); }
.category-histoires-erotiques .contenu-article h2::before { content: "✦  ✦  ✦"; display: block; margin-bottom: 12px; font-size: 12px; font-style: normal; letter-spacing: .3em; color: var(--h-or); }
/* Lettrine du premier paragraphe du récit. */
.sk-h-fiche + h2 + p::first-letter, .sk-h-fiche + p::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--h-serif); font-size: 4em; font-weight: 700; line-height: .82; color: var(--h-bordeaux); }
/* Le dernier paragraphe public s'efface vers le bandeau. */
html:not(.sk-h-ouvert) .contenu-article .sk-h-dernier { -webkit-mask-image: linear-gradient(180deg, #000 25%, rgba(0, 0, 0, .1) 100%); mask-image: linear-gradient(180deg, #000 25%, rgba(0, 0, 0, .1) 100%); }

/* Fiche : signature, intensité, thèmes, version audio. */
.contenu-article .sk-h-fiche { margin: 0 0 2em; padding: 16px 18px; border-left: 3px solid var(--h-or); border-radius: 0 var(--rayon) var(--rayon) 0; background: #fbf7ef; font-family: var(--police); font-size: 14px; line-height: 1.5; }
.contenu-article .sk-h-fiche p { margin: 0 0 10px; color: var(--gris); }
.contenu-article .sk-h-fiche b { color: var(--encre); }
.contenu-article .sk-h-fiche ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.contenu-article .sk-h-fiche li { margin: 0; padding: 4px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #eadfc8; color: var(--h-encre); font-weight: 600; font-size: 12.5px; }
.contenu-article .sk-h-fiche li.sk-h-niveau-explicite { background: var(--h-bordeaux); box-shadow: none; color: #fff; }
.contenu-article .sk-h-fiche li.sk-h-niveau-suggestif { background: var(--h-violet); box-shadow: none; color: #fff; }
.contenu-article .sk-h-fiche li.sk-h-audio { background: var(--h-nuit); box-shadow: none; color: var(--h-or-clair); }

/* ─── Suite (VIP) ─────────────────────────────────────────────────────── */
.sk-h-texte { animation: sk-h-apparait .8s ease both; }
@keyframes sk-h-apparait { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sk-h-texte > p { margin: 0 0 1em; }
.contenu-article .sk-h-image { margin: 2.2em 0; }
.contenu-article .sk-h-image img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 22px 50px rgba(21, 17, 47, .28); }
.sk-h-fin { margin: 3em 0 2.4em; text-align: center; font-family: var(--police); }
.contenu-article .sk-h-fin-mot { margin: 0 0 18px; font-family: var(--h-serif); font-size: 32px; font-style: italic; color: var(--h-violet); }
.sk-h-fin-mot::before, .sk-h-fin-mot::after { content: "✦"; margin: 0 14px; font-size: 14px; font-style: normal; vertical-align: middle; color: var(--h-or); }
.contenu-article .sk-h-fin-audio { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--h-nuit); color: var(--h-or-clair); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(21, 17, 47, .3); }
.contenu-article .sk-h-fin-audio::before { content: "♪"; }
.contenu-article .sk-h-fin-audio:hover { background: var(--h-prune); color: #fff; text-decoration: none; }
.sk-h-autres { margin: 0 0 1em; padding: 22px; border-radius: var(--rayon); background: var(--fond-doux); font-family: var(--police); }
.contenu-article .sk-h-autres-titre { margin: 0 0 12px; font-family: var(--h-serif); font-size: 22px; font-style: italic; color: var(--h-violet); }
.contenu-article .sk-h-autres ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contenu-article .sk-h-autres li { margin: 0; }
.contenu-article .sk-h-autres a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--rayon-petit); background: #fff; color: var(--texte); text-decoration: none; box-shadow: 0 1px 0 var(--bordure); }
.contenu-article .sk-h-autres a:hover { box-shadow: 0 0 0 2px var(--h-or); }
.sk-h-autres b { color: var(--encre); font-size: 16px; }
.sk-h-autres span { color: var(--gris); font-size: 13.5px; line-height: 1.45; }

/* Chargement de la suite pour un VIP (repère sk-vip) : ni voile ni bandeau. */
.sk-h-charge { display: none; align-items: center; gap: 10px; margin: 0 0 2em; font-family: var(--police); font-size: 14px; color: var(--gris); }
.sk-h-charge span { width: 16px; height: 16px; border: 2px solid #e8dcc4; border-top-color: var(--h-or); border-radius: 50%; animation: sk-h-tourne .8s linear infinite; }
@keyframes sk-h-tourne { to { transform: rotate(360deg); } }
.sk-vip .sk-h-charge { display: flex; }
.sk-vip .sk-pw, .sk-vip .sk-h-voile { display: none; }

/* ─── Voile : le texte continue, flouté ───────────────────────────────── */
.sk-h-voile { position: relative; margin: -4px 0 26px; filter: blur(4px); opacity: .6; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.sk-h-voile i { display: block; height: 12px; margin: 0 0 15px; border-radius: 6px; background: linear-gradient(90deg, #b9adc6, #ddd4e3); }
.sk-h-voile i:nth-child(1) { width: 96%; } .sk-h-voile i:nth-child(2) { width: 100%; } .sk-h-voile i:nth-child(3) { width: 88%; }
.sk-h-voile i:nth-child(4) { width: 93%; } .sk-h-voile i:nth-child(5) { width: 70%; } .sk-h-voile i:nth-child(6) { width: 84%; }

/* ─── Bandeau VIP ─────────────────────────────────────────────────────── */
.sk-pw { position: relative; margin: 0 0 2.4em; padding: 2px; border-radius: 28px; font-family: var(--police); font-size: 16px; line-height: 1.45; color: var(--h-creme); background: linear-gradient(115deg, #8f6a2e 0%, #f8e7bd 16%, #d4ad63 30%, #7a1f3d 50%, #d4ad63 70%, #f8e7bd 84%, #8f6a2e 100%); background-size: 200% 100%; box-shadow: 0 30px 70px rgba(21, 17, 47, .38), 0 0 70px rgba(212, 173, 99, .22); animation: sk-pw-or 6s linear infinite; transition: opacity .7s ease, transform .9s cubic-bezier(.2, 1.3, .3, 1); }
@keyframes sk-pw-or { from { background-position: 0% 0; } to { background-position: -200% 0; } }
.sk-pw.sk-pw-attente { opacity: 0; transform: translateY(34px) scale(.97); }
.sk-pw.sk-pw-vu .sk-pw-in::after { animation: sk-pw-eclat 1.4s ease-out .2s both; }
.sk-pw *, .sk-pw *::before, .sk-pw *::after { box-sizing: border-box; }
.sk-pw-in { position: relative; overflow: hidden; display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 30px; align-items: center; padding: 32px 34px 30px; border-radius: 26px; background: radial-gradient(80% 110% at 0% 0%, rgba(122, 31, 61, .95) 0%, rgba(122, 31, 61, 0) 60%), radial-gradient(120% 140% at 100% 100%, #5a2a6e 0%, #2a2160 45%, #15112f 100%); }
/* Reflet qui traverse le bandeau, puis éclat doré à son arrivée. */
.sk-pw-in::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 236, 190, .1), transparent); transform: skewX(-18deg); animation: sk-pw-reflet 6s ease-in-out 1s infinite; pointer-events: none; }
.sk-pw-in::after { content: ""; position: absolute; left: 16%; top: 45%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; opacity: 0; pointer-events: none; background: radial-gradient(circle, rgba(248, 231, 189, .7) 0%, rgba(212, 173, 99, .25) 40%, rgba(212, 173, 99, 0) 70%); }
@keyframes sk-pw-reflet { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes sk-pw-eclat { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(16); } }
.sk-pw-etoiles { position: absolute; inset: 0; pointer-events: none; } /* hors de la grille */
.sk-pw-etoiles svg { position: absolute; z-index: 2; width: 12px; height: 12px; fill: #f8e7bd; pointer-events: none; animation: sk-pw-scintille 3.4s ease-in-out infinite; }
.sk-pw-etoiles svg:nth-child(1) { top: 18px; left: 22px; }
.sk-pw-etoiles svg:nth-child(2) { top: 26px; left: 196px; width: 9px; height: 9px; animation-delay: .9s; }
.sk-pw-etoiles svg:nth-child(3) { bottom: 26px; left: 30px; width: 8px; height: 8px; animation-delay: 1.8s; }
.sk-pw-etoiles svg:nth-child(4) { top: 20px; right: 26px; width: 14px; height: 14px; animation-delay: 2.6s; }
@keyframes sk-pw-scintille { 0%, 100% { opacity: .15; transform: scale(.5) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }

/* Couverture : flotte, battement de cœur doré derrière, éclat qui la traverse, cadenas. */
.sk-pw-visuel { position: relative; width: 172px; animation: sk-pw-flotte 6s ease-in-out infinite; }
.sk-pw-visuel::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 79, 139, .45) 0%, rgba(212, 173, 99, .25) 40%, rgba(212, 173, 99, 0) 70%); animation: sk-pw-coeur 2.2s ease-in-out infinite; pointer-events: none; }
.sk-pw-visuel::after { content: ""; position: absolute; inset: 0; border-radius: 12px; transform: rotate(-4deg); background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .38) 50%, transparent 62%); background-size: 260% 100%; animation: sk-pw-brille 4.5s ease-in-out 1.5s infinite; pointer-events: none; }
.contenu-article .sk-pw-couv { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; margin: 0; object-fit: cover; border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 22px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(243, 220, 166, .45); }
.sk-pw-cadenas { position: absolute; z-index: 2; right: -14px; bottom: -12px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #1a0f08; background: linear-gradient(135deg, #f8e7bd, #d4ad63 55%, #a87b2d); box-shadow: 0 10px 22px rgba(0, 0, 0, .45); animation: sk-pw-halo 2.2s ease-out infinite; }
.sk-pw-cadenas svg { width: 22px; height: 22px; }
@keyframes sk-pw-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sk-pw-coeur { 0%, 100% { transform: scale(.92); opacity: .75; } 15% { transform: scale(1.04); opacity: 1; } 30% { transform: scale(.96); } 45% { transform: scale(1.06); opacity: 1; } }
@keyframes sk-pw-brille { 0%, 60% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
@keyframes sk-pw-halo { 0% { box-shadow: 0 10px 22px rgba(0, 0, 0, .45), 0 0 0 0 rgba(243, 220, 166, .6); } 100% { box-shadow: 0 10px 22px rgba(0, 0, 0, .45), 0 0 0 16px rgba(243, 220, 166, 0); } }

.sk-pw-corps { position: relative; z-index: 1; min-width: 0; }
.sk-pw-corps p { margin: 0; } /* moins fort que les marges propres ci-dessous */
.contenu-article .sk-pw-kicker { margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--h-or-clair); }
.contenu-article .sk-pw-titre { margin-bottom: 12px; font-family: var(--h-serif); font-size: 36px; font-weight: 700; line-height: 1.08; color: #fff; }
.sk-pw-titre em { font-style: italic; background: linear-gradient(90deg, #d4ad63, #f8e7bd 30%, #ff8fb7 50%, #f8e7bd 70%, #d4ad63); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sk-pw-or 4s linear infinite; padding-right: .06em; }
.contenu-article .sk-pw-accroche { margin-bottom: 16px; padding-left: 14px; border-left: 2px solid rgba(243, 220, 166, .55); font-family: var(--h-serif); font-size: 18px; font-style: italic; line-height: 1.5; color: var(--h-or-clair); }
.contenu-article .sk-pw-plus { display: grid; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; }
.contenu-article .sk-pw-plus li { position: relative; margin: 0; padding-left: 26px; font-size: 15px; color: rgba(247, 243, 236, .9); }
.contenu-article .sk-pw-plus li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--h-or); }
.sk-pw-plus b { color: #fff; font-weight: 700; }

/* Bouton : or massif, pouls, reflet. */
.contenu-article .sk-pw-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; max-width: 460px; padding: 14px 26px 13px; border-radius: 999px; color: #1a0f08; text-decoration: none; background: linear-gradient(135deg, #f8e7bd 0%, #d4ad63 50%, #a87b2d 100%); box-shadow: 0 16px 36px rgba(212, 173, 99, .38), inset 0 1px 0 rgba(255, 255, 255, .6); animation: sk-pw-pouls 2.4s ease-in-out infinite; transition: transform .15s ease, filter .2s ease; }
.contenu-article .sk-pw-cta:hover, .contenu-article .sk-pw-cta:focus-visible { color: #1a0f08; text-decoration: none; transform: translateY(-2px); filter: brightness(1.06); }
.sk-pw-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 36%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: sk-pw-reflet 3.2s ease-in-out 1.2s infinite; pointer-events: none; }
.sk-pw-cta-texte { font-size: 20px; font-weight: 800; line-height: 1.15; }
.sk-pw-cta-sous { grid-row: 2; font-size: 12.5px; font-weight: 600; opacity: .75; }
.sk-pw-fleche { grid-row: 1 / span 2; grid-column: 2; font-size: 24px; font-weight: 800; transition: transform .2s ease; }
.sk-pw-cta:hover .sk-pw-fleche { transform: translateX(5px); }
@keyframes sk-pw-pouls { 0%, 100% { box-shadow: 0 16px 36px rgba(212, 173, 99, .38), 0 0 0 0 rgba(243, 220, 166, .55), inset 0 1px 0 rgba(255, 255, 255, .6); } 55% { box-shadow: 0 16px 36px rgba(212, 173, 99, .38), 0 0 0 14px rgba(243, 220, 166, 0), inset 0 1px 0 rgba(255, 255, 255, .6); } }
.contenu-article .sk-pw-offre { margin-top: 14px; font-size: 14px; color: rgba(247, 243, 236, .88); }
.sk-pw-offre b { color: #fff; }
.sk-pw-bm { display: inline-block; margin-right: 6px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg, #ff3d7f, #7a1f3d); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.contenu-article .sk-pw-deja { margin-top: 10px; font-size: 13px; color: rgba(247, 243, 236, .6); }
.contenu-article .sk-pw-deja a { color: var(--h-or-clair); text-decoration: underline; text-underline-offset: 3px; }
.contenu-article .sk-pw-deja a:hover { color: #fff; }

@media (max-width: 640px) {
  .category-histoires-erotiques .contenu-article { font-size: 18px; line-height: 1.8; }
  .category-histoires-erotiques .contenu-article h2 { font-size: 23px; }
  .sk-pw { margin-left: calc(var(--gouttiere) * -0.5); margin-right: calc(var(--gouttiere) * -0.5); border-radius: 24px; }
  .sk-pw-in { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 20px 24px; border-radius: 22px; text-align: center; }
  .sk-pw-visuel { width: 128px; margin: 4px auto 0; }
  .sk-pw-etoiles svg:nth-child(2) { left: auto; right: 34%; }
  .contenu-article .sk-pw-titre { font-size: 29px; }
  .contenu-article .sk-pw-accroche { padding: 0; border: 0; font-size: 17px; }
  .contenu-article .sk-pw-plus { justify-items: start; text-align: left; }
  .contenu-article .sk-pw-cta { max-width: none; padding: 14px 22px 13px; text-align: left; }
  .sk-pw-cta-texte { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-pw, .sk-pw-in::before, .sk-pw-etoiles svg, .sk-pw-visuel, .sk-pw-visuel::before, .sk-pw-visuel::after, .sk-pw-cadenas, .sk-pw-titre em, .contenu-article .sk-pw-cta, .sk-pw-cta::after, .sk-h-texte, .sk-h-charge span { animation: none !important; }
}

/* ─── Page de la rubrique ─────────────────────────────────────────────── */
body.category-histoires-erotiques .liste-entete { position: relative; overflow: hidden; padding: 34px 26px; border-radius: var(--rayon); color: var(--h-creme); background: radial-gradient(90% 140% at 0% 0%, #7a1f3d 0%, rgba(122, 31, 61, 0) 60%), radial-gradient(120% 140% at 100% 100%, #5a2a6e 0%, #2a2160 45%, #15112f 100%); box-shadow: 0 0 0 2px rgba(212, 173, 99, .5); }
body.category-histoires-erotiques .liste-titre { font-family: var(--h-serif); font-style: italic; font-weight: 700; color: #fff; }
body.category-histoires-erotiques .liste-chapo { color: rgba(247, 243, 236, .85); }
