/* Thème BobyShow : mauve, crépuscule, étoiles. */

:root {
	--bst-fond: #0d0a14;
	--bst-fond-2: #110d1a;
	--bst-carte: #15111f;
	--bst-carte-2: #1c1530;
	--bst-texte: #eee8f8;
	--bst-doux: #a99bc4;
	--bst-blanc: #fff;
	--bst-accent: #b794f6;
	--bst-or: #f5c04a;
	--bst-vert: #7cf0c5;
	--bst-ligne: rgba(183, 148, 246, 0.14);
	--bst-titre: "Inter Tight", Inter, system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.bobyshow {
	margin: 0;
	background: var(--bst-fond);
	color: var(--bst-texte);
	font: 16px/1.6 Inter, system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.bobyshow a {
	color: #d9c6ff;
}

body.bobyshow a:hover {
	color: var(--bst-blanc);
}

body.bobyshow img {
	max-width: 100%;
	height: auto;
}

body.bobyshow :focus-visible {
	outline: 3px solid var(--bst-or);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bst-sauter:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--bst-or);
	color: #241700 !important;
}

.bst-conteneur {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

h1,
h2,
h3 {
	font-family: var(--bst-titre);
	color: var(--bst-blanc);
	letter-spacing: -0.02em;
}

/* Boutons */
.bst-btn,
body.bobyshow a.bst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid var(--bst-accent);
	border-radius: 12px;
	background: var(--bst-accent);
	color: #14091f;
	font: 700 15px Inter, system-ui, sans-serif;
	text-decoration: none;
	cursor: pointer;
}

.bst-btn--contour,
body.bobyshow a.bst-btn--contour {
	background: transparent;
	color: var(--bst-texte);
	border-color: rgba(255, 255, 255, 0.24);
}

.bst-btn--grand {
	min-height: 52px;
	padding: 0 28px;
	font-size: 16px;
}

.bst-lien,
body.bobyshow a.bst-lien {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 10px;
	color: var(--bst-texte);
	font-weight: 600;
	text-decoration: none;
}

/* En-tête */
.bst-entete {
	position: relative;
	z-index: 10;
	border-bottom: 1px solid var(--bst-ligne);
	background: var(--bst-fond);
}

.bst-entete--accueil {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	border-bottom: 0;
	background: transparent;
}

.admin-bar .bst-entete--accueil {
	top: 32px;
}

.bst-entete-rangee {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 80px;
}

.bst-logo,
body.bobyshow a.bst-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bst-blanc);
	text-decoration: none;
}

.bst-logo-herisson {
	width: 54px;
	height: auto;
	flex: none;
}

.bst-pied .bst-logo-herisson {
	width: 44px;
}

.bst-logo-nom {
	font-family: var(--bst-titre);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.bst-logo-nom span {
	font-weight: 600;
	color: #bfafdd;
}

.bst-menu {
	display: flex;
	align-items: center;
	gap: 24px;
}

.bst-nav-liste {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bst-nav-liste a,
body.bobyshow .bst-nav-liste a {
	color: #e6ddf5;
	font-weight: 500;
	text-decoration: none;
}

.bst-compte {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bst-menu-bouton {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: transparent;
	color: var(--bst-blanc);
	cursor: pointer;
}

@media (max-width: 900px) {

	.bst-menu-bouton {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.bst-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		padding: 20px 24px;
		background: var(--bst-fond);
		border-bottom: 1px solid var(--bst-ligne);
	}

	.bst-menu.est-ouvert {
		display: flex;
	}

	.bst-nav-liste {
		flex-direction: column;
	}

	.bst-nav-liste a {
		display: block;
		padding: 10px 0;
	}
}

/* Héros */
.bst-heros {
	position: relative;
	overflow: hidden;
	min-height: 720px;
	display: flex;
	align-items: flex-end;
}

.bst-heros-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: 55% 40%;
}

.bst-heros::before,
.bst-heros::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bst-heros::before {
	background: linear-gradient(90deg, rgba(13, 10, 20, 0.92) 0%, rgba(13, 10, 20, 0.65) 40%, rgba(13, 10, 20, 0.1) 75%);
}

.bst-heros::after {
	top: auto;
	height: 220px;
	background: linear-gradient(180deg, rgba(13, 10, 20, 0) 0%, var(--bst-fond) 100%);
}

.bst-heros-contenu {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	padding-top: 160px;
	padding-bottom: 96px;
}

.bst-heros-texte {
	flex: 1 1 520px;
	max-width: 660px;
}

.bst-surtitre {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bst-accent);
}

.bst-heros h1 {
	margin: 0;
	font-size: clamp(40px, 5.4vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.bst-heros-intro {
	max-width: 560px;
	margin: 20px 0 28px;
	font-size: clamp(16px, 1.5vw, 19px);
	color: #d8ceea;
}

.bst-recherche {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 620px;
	padding: 6px;
	border-radius: 14px;
	background: rgba(13, 10, 20, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(12px);
}

.bst-recherche input[type="search"] {
	flex: 1 1 240px;
	min-width: 0;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--bst-blanc);
	font: 16px Inter, system-ui, sans-serif;
}

.bst-recherche input::placeholder {
	color: var(--bst-doux);
}

.bst-populaires {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 14px;
	color: #bfafdd;
}

.bst-populaires a,
body.bobyshow .bst-populaires a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(13, 10, 20, 0.5);
	color: var(--bst-blanc);
	text-decoration: none;
}

.bst-direct {
	flex: 0 1 360px;
	padding: 20px;
	border-radius: 18px;
	background: rgba(13, 10, 20, 0.74);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
}

.bst-direct-titre {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bst-blanc);
}

.bst-pastille-vivant {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bst-vert);
	animation: bst-pouls 2s ease-in-out infinite;
}

@keyframes bst-pouls {

	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(124, 240, 197, 0.6);
	}

	50% {
		box-shadow: 0 0 0 6px rgba(124, 240, 197, 0);
	}
}

.bst-direct ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bst-direct a,
body.bobyshow .bst-direct a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--bst-texte);
	font-size: 14px;
	text-decoration: none;
}

.bst-direct-affiche {
	width: 40px !important;
	height: 54px !important;
	flex: none;
	object-fit: cover;
	border-radius: 6px;
}

/* Sections */
.bst-section {
	padding-top: 40px;
	padding-bottom: 56px;
}

.bst-section-entete {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 20px;
	margin-bottom: 22px;
}

.bst-section-entete h2,
.bst-bande h2 {
	margin: 0;
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 800;
}

.bst-meta {
	margin: 0;
	font-size: 14px;
	color: var(--bst-doux);
}

.bst-meta-forte {
	margin: 0;
	font-weight: 600;
	color: #d9c6ff;
}

.bst-texte {
	font-size: 17px;
	line-height: 1.65;
	color: #d8ceea;
}

.bst-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bst-etiquette {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(13, 10, 20, 0.78);
	color: var(--bst-blanc);
	font-size: 13px;
	font-weight: 700;
}

.bst-etiquette--or {
	background: var(--bst-or);
	color: #241700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Vedette */
.bst-vedette {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding: 28px;
	border-radius: 24px;
	background: var(--bst-carte);
	border: 1px solid var(--bst-ligne);
}

.bst-vedette-image {
	position: relative;
	flex: 0 1 340px;
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
}

.bst-vedette-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.bst-vedette-image .bst-etiquette {
	position: absolute;
	top: 14px;
	left: 14px;
}

.bst-vedette-texte {
	flex: 1 1 400px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bst-vedette-texte h2 {
	margin: 0;
	font-size: clamp(32px, 3.4vw, 46px);
	line-height: 1.04;
}

.bst-vedette-texte h2 a,
body.bobyshow .bst-vedette-texte h2 a {
	color: var(--bst-blanc);
	text-decoration: none;
}

.bst-puces {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bst-puces li {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(183, 148, 246, 0.3);
	font-size: 13px;
	font-weight: 600;
}

/* Bientôt */
.bst-bientot {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	padding: 40px;
	border-radius: 24px;
	background: linear-gradient(120deg, #1c1230 0%, #2a1a48 55%, #3a2667 100%);
	border: 1px solid rgba(183, 148, 246, 0.3);
}

.bst-bientot-texte {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.bst-bientot-texte h2 {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.04;
}

.bst-bientot-affiche {
	position: relative;
	flex: 0 0 240px;
	height: 360px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.bst-bientot-affiche img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.bst-bientot-titre {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	font-family: var(--bst-titre);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.05;
	color: var(--bst-blanc);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Affiches défilantes */
.bst-defilant {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 14px;
	scrollbar-width: thin;
	scrollbar-color: #3a2f55 transparent;
}

.bst-affiche,
body.bobyshow a.bst-affiche {
	flex: 0 0 200px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--bst-texte);
	text-decoration: none;
}

.bst-affiche-image {
	display: block;
	aspect-ratio: 2 / 3;
	border-radius: 14px;
	overflow: hidden;
	background: var(--bst-carte-2);
}

.bst-affiche-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.bst-affiche:hover .bst-affiche-image img {
	transform: scale(1.05);
}

.bst-affiche-titre {
	font-weight: 700;
	color: var(--bst-blanc);
}

/* Critiques récentes */
.bst-bande {
	margin: 40px 0;
	padding: 80px 0;
	background: var(--bst-fond-2);
	border-top: 1px solid var(--bst-ligne);
	border-bottom: 1px solid var(--bst-ligne);
}

.bst-grille-critiques {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 26px;
}

.bst-critique {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border-radius: 18px;
	background: var(--bst-carte);
	border: 1px solid var(--bst-ligne);
}

.bst-critique-entete {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bst-critique-entete img {
	width: 52px !important;
	height: 76px !important;
	object-fit: cover;
	border-radius: 8px;
}

.bst-critique-entete strong {
	display: block;
	color: var(--bst-blanc);
}

.bst-critique blockquote {
	flex: 1;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #e6ddf5;
}

.bst-critique figcaption {
	padding-top: 12px;
	border-top: 1px solid var(--bst-ligne);
	font-size: 14px;
	color: var(--bst-doux);
}

/* Devenir membre */
.bst-membre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding: 40px;
	border-radius: 24px;
	background: var(--bst-carte-2);
	border: 1px solid var(--bst-accent);
	box-shadow: 0 24px 60px rgba(120, 80, 200, 0.22);
}

.bst-membre > div {
	flex: 1 1 380px;
}

.bst-membre h2 {
	margin: 0;
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.05;
}

.bst-avantages {
	flex: 1 1 320px;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bst-avantages li {
	position: relative;
	padding-left: 32px;
	font-size: 16px;
}

.bst-avantages li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--bst-vert);
	font-weight: 800;
}

/* Pages intérieures */
.bst-page {
	padding-top: 48px;
	padding-bottom: 96px;
}

.bst-page-entete {
	margin-bottom: 28px;
}

.bst-page-entete h1 {
	margin: 0;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.05;
}

.bst-contenu {
	max-width: 760px;
	font-size: 17px;
	line-height: 1.75;
}

.bst-une img {
	border-radius: 18px;
	margin-bottom: 24px;
}

.bst-404 {
	text-align: center;
}

.bst-404 .bst-recherche {
	margin: 24px auto;
}

/* Fiche d'une œuvre : fond flouté de l'affiche derrière le haut de fiche */
.single-bs_oeuvre .bs-fiche-hero {
	position: relative;
}

/* Pied de page */
.bst-pied {
	margin-top: 40px;
	background: #09070f;
	border-top: 1px solid var(--bst-ligne);
}

.bst-pied-haut {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px;
	padding-top: 52px;
	padding-bottom: 32px;
}

.bst-pied-marque p {
	max-width: 320px;
	color: var(--bst-doux);
}

.bst-pied-liens {
	display: grid;
	grid-template-columns: repeat(2, minmax(140px, 1fr));
	gap: 10px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bst-pied-liens a,
body.bobyshow .bst-pied-liens a {
	color: #cfc4e2;
	text-decoration: none;
}

.bst-pied-bas {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 24px;
	padding-top: 22px;
	padding-bottom: 28px;
	border-top: 1px solid var(--bst-ligne);
	font-size: 13px;
	color: #8f82ad;
}

.bst-pied-bas p {
	margin: 0;
}

.bst-tmdb {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bst-tmdb a {
	font-weight: 800;
	color: #90cea1;
	text-decoration: none;
}

@media (max-width: 782px) {

	.admin-bar .bst-entete--accueil {
		top: 46px;
	}

	.bst-heros {
		min-height: 0;
	}

	.bst-heros-contenu {
		padding-top: 130px;
		padding-bottom: 64px;
	}

	.bst-vedette,
	.bst-bientot,
	.bst-membre {
		padding: 22px;
	}

	.bst-bientot-affiche {
		flex-basis: 100%;
		height: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	.bst-pastille-vivant {
		animation: none;
	}

	.bst-affiche-image img {
		transition: none;
	}
}

/* Œuvre sans affiche : hérisson centré sur fond nuit */
.bst-affiche-image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.bst-affiche-image .bst-sans-affiche {
	width: 55% !important;
	height: auto !important;
	object-fit: contain;
	opacity: 0.85;
}

/* ==========================================================================
   1.3.0 — Ambiance « forêt dans la brume » en tons mauves : photo réelle,
   brume qui dérive, titres en serif, boutons dorés. Fond mauve, jamais noir.
   ========================================================================== */
:root {
	--bst-fond: #2a1d4d;
	--bst-fond-2: #33246a;
	--bst-carte: rgba(255, 255, 255, 0.09);
	--bst-carte-2: #3b2a72;
	--bst-texte: #f4f1fa;
	--bst-doux: #d6cdea;
	--bst-accent: #cdb8ff;
	--bst-lune: #efe8ff;
	--bst-or: #ffc94d;
	--bst-brume: #6f93a3;
	--bst-ligne: rgba(255, 255, 255, 0.2);
	--bst-titre: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
}

body.bobyshow {
	font-size: 17px;
	background: linear-gradient(180deg, #2a1d4d 0%, #35256a 30%, #3d2b78 60%, #2b2052 100%);
	background-attachment: fixed;
}

body.bobyshow :is(h1, h2, h3) {
	font-family: var(--bst-titre);
	font-weight: 600;
	letter-spacing: 0.005em;
	color: #fff;
}

.bst-section-entete h2,
body.bobyshow .bst-section h2 {
	font-size: clamp(32px, 3.6vw, 48px);
	line-height: 1.1;
}

/* Petit trait de lune sous les titres de section */
.bst-section-entete h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin-top: 12px;
	background: linear-gradient(90deg, var(--bst-lune), transparent);
}

/* Boutons : or chaud sur nuit froide */
.bst-btn,
body.bobyshow a.bst-btn {
	background: var(--bst-or);
	border-color: var(--bst-or);
	color: #1d1436;
	font-weight: 700;
	box-shadow: 0 8px 28px rgba(255, 201, 77, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bst-btn:hover,
body.bobyshow a.bst-btn:hover {
	background: #ffe08f;
	color: #1d1436;
	transform: translateY(-2px);
	box-shadow: 0 12px 34px rgba(255, 201, 77, 0.34);
}

.bst-btn--contour,
body.bobyshow a.bst-btn--contour {
	background: rgba(239, 232, 255, 0.06);
	border-color: rgba(239, 232, 255, 0.55);
	color: #fff;
	box-shadow: none;
	backdrop-filter: blur(6px);
}

.bst-btn--contour:hover,
body.bobyshow a.bst-btn--contour:hover {
	background: var(--bst-lune);
	border-color: var(--bst-lune);
	color: #1d1436;
	box-shadow: none;
}

/* En-tête en verre dépoli */
.bst-entete {
	background: linear-gradient(180deg, rgba(34, 22, 66, 0.78), rgba(34, 22, 66, 0));
}

/* ---------- Héros ---------- */
.bst-heros {
	min-height: min(880px, 100vh);
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
}

.bst-heros-image {
	object-position: 50% 60%;
	animation: bst-respire 26s ease-in-out infinite alternate;
}

@keyframes bst-respire {

	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.08) translateY(-1.5%);
	}
}

.bst-heros::before {
	background: linear-gradient(90deg, rgba(34, 22, 66, 0.88) 0%, rgba(40, 26, 80, 0.55) 38%, rgba(60, 40, 110, 0) 72%);
}

.bst-heros::after {
	height: 240px;
	background: linear-gradient(180deg, rgba(42, 29, 77, 0) 0%, #2a1d4d 100%);
}

/* Brume qui dérive lentement entre les arbres */
.bst-brume {
	position: absolute;
	left: -30%;
	right: -30%;
	bottom: 12%;
	height: 46%;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(closest-side, rgba(236, 226, 255, 0.24), transparent) 0 60% / 46% 70% no-repeat,
		radial-gradient(closest-side, rgba(225, 212, 255, 0.2), transparent) 48% 30% / 52% 80% no-repeat,
		radial-gradient(closest-side, rgba(240, 232, 255, 0.18), transparent) 100% 70% / 44% 60% no-repeat;
	filter: blur(18px);
	animation: bst-derive 46s linear infinite alternate;
}

.bst-brume--2 {
	bottom: 2%;
	height: 34%;
	opacity: 0.8;
	animation-duration: 64s;
	animation-direction: alternate-reverse;
}

@keyframes bst-derive {

	from {
		transform: translateX(-9%);
	}

	to {
		transform: translateX(9%);
	}
}

.bst-heros-contenu {
	padding-bottom: 36px;
	z-index: 4;
}

.bst-surtitre {
	color: var(--bst-lune);
	letter-spacing: 0.24em;
}

.bst-heros h1 {
	font-size: clamp(48px, 6.6vw, 96px);
	line-height: 0.98;
	letter-spacing: 0;
	font-weight: 600;
	text-shadow: 0 2px 40px rgba(34, 22, 66, 0.6);
}

.bst-heros-intro {
	color: #dbe3f0;
	font-size: clamp(17px, 1.5vw, 20px);
}

.bst-recherche {
	position: relative;
	background: rgba(34, 22, 66, 0.6);
	border: 1px solid rgba(239, 232, 255, 0.35);
	backdrop-filter: blur(10px);
}

.bst-recherche:focus-within {
	border-color: var(--bst-or);
	box-shadow: 0 0 0 4px rgba(255, 201, 77, 0.18);
}

.bst-suggestions {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 20;
	padding: 8px;
	border-radius: 16px;
	background: #2b1e55;
	border: 1px solid var(--bst-ligne);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.bst-suggestions p {
	margin: 0;
	padding: 12px;
	color: var(--bst-doux);
}

body.bobyshow .bst-suggestions a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 10px;
	color: var(--bst-doux);
	text-decoration: none;
}

body.bobyshow .bst-suggestions a:hover,
body.bobyshow .bst-suggestions a:focus-visible {
	background: rgba(239, 232, 255, 0.1);
}

.bst-suggestions img {
	width: 40px;
	height: 58px !important;
	object-fit: cover;
	border-radius: 6px;
}

.bst-suggestions strong {
	display: block;
	color: #fff;
}

/* Chiffres de la communauté */
.bst-chiffres {
	position: relative;
	z-index: 4;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin-top: 0;
	margin-bottom: 72px;
	padding-top: 0;
	padding-bottom: 0;
	list-style: none;
}

.bst-chiffres li {
	padding: 16px 20px;
	border-radius: 16px;
	background: rgba(34, 22, 66, 0.5);
	border: 1px solid var(--bst-ligne);
	backdrop-filter: blur(10px);
}

.bst-chiffres strong {
	display: block;
	font-family: var(--bst-titre);
	font-size: clamp(34px, 3.4vw, 48px);
	font-weight: 600;
	line-height: 1;
	color: #fff;
	font-variant-numeric: lining-nums;
}

.bst-chiffres span {
	color: var(--bst-doux);
	font-size: 15px;
}

/* ---------- Sections et cartes en verre ---------- */
.bst-anime .bst-section {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.bst-anime .bst-section.est-visible {
	opacity: 1;
	transform: none;
}

.bst-vedette,
.bst-bientot,
.bs-rangee,
.bst-critique,
.bs-filtres {
	background: var(--bst-carte);
	border: 1px solid var(--bst-ligne);
	backdrop-filter: blur(8px);
}

.bst-bientot {
	background:
		radial-gradient(420px 300px at 88% 10%, rgba(239, 232, 255, 0.2), transparent 65%),
		linear-gradient(135deg, rgba(74, 52, 140, 0.85) 0%, rgba(52, 36, 104, 0.85) 100%);
}

/* ---------- Rangées d'affiches ---------- */
.bst-section-entete {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 16px;
}

/* La phrase d'explication passe sous le titre, sur toute la largeur. */
.bst-section-entete p {
	flex: 1 1 100%;
	margin: 0;
}

.bst-fleches {
	display: flex;
	gap: 8px;
}

.bst-fleches button {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(239, 232, 255, 0.45);
	background: rgba(239, 232, 255, 0.06);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.bst-fleches button:hover {
	background: var(--bst-lune);
	color: #1d1436;
}

.bst-defilant {
	gap: 20px;
	padding: 14px 4px 22px;
	scrollbar-color: #6a55a8 transparent;
}

.bst-affiche {
	position: relative;
	flex: 0 0 210px;
}

body.bobyshow a.bst-affiche-lien {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--bst-texte);
	text-decoration: none;
}

.bst-affiche-image {
	border-radius: 16px;
	border: 1px solid var(--bst-ligne);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.bst-affiche:hover .bst-affiche-image,
.bst-affiche:focus-within .bst-affiche-image {
	transform: translateY(-8px);
	border-color: rgba(239, 232, 255, 0.7);
	box-shadow: 0 26px 60px rgba(170, 130, 255, 0.4), 0 0 0 1px rgba(239, 232, 255, 0.25);
}

.bst-affiche-titre {
	margin-top: 6px;
	font-family: var(--bst-titre);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.15;
}

.bst-affiche-meta {
	color: var(--bst-doux);
	font-size: 14px;
}

.bst-affiche-plus {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 7px 12px;
	border-radius: 20px;
	border: 0;
	background: rgba(34, 22, 66, 0.85);
	color: #fff;
	font: 700 13.5px Inter, system-ui, sans-serif;
	cursor: pointer;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
	backdrop-filter: blur(6px);
}

.bst-affiche:hover .bst-affiche-plus,
.bst-affiche:focus-within .bst-affiche-plus,
.bst-affiche-plus[aria-pressed="true"] {
	opacity: 1;
	transform: none;
}

.bst-affiche-plus:hover,
.bst-affiche-plus[aria-pressed="true"] {
	background: var(--bst-or);
	color: #1d1436;
}

/* ---------- Palmarès : grands chiffres, podium éclairé ---------- */
body.bobyshow .bs-rang {
	font-family: var(--bst-titre);
	font-size: 46px;
	font-weight: 600;
	line-height: 1;
	color: transparent;
	font-variant-numeric: lining-nums;
	-webkit-text-stroke: 1.5px rgba(239, 232, 255, 0.7);
}

body.bobyshow .bs-rangee-texte h3 {
	font-size: 24px;
	line-height: 1.15;
}

body.bobyshow .bs-rangee {
	transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

body.bobyshow .bs-rangee:hover {
	transform: translateX(6px);
	border-color: rgba(239, 232, 255, 0.5);
	background: rgba(255, 255, 255, 0.15);
}

body.bobyshow .bs-rangee:nth-child(-n+3) .bs-rang {
	color: var(--bst-or);
	-webkit-text-stroke: 0;
}

body.bobyshow .bs-rangee:first-child {
	border-color: rgba(255, 201, 77, 0.55);
	box-shadow: 0 0 40px rgba(255, 201, 77, 0.12);
}

@media (prefers-reduced-motion: reduce) {

	.bst-heros-image,
	.bst-brume {
		animation: none;
	}

	.bst-affiche-image,
	.bst-btn,
	body.bobyshow .bs-rangee {
		transition: none;
	}
}

/* ---------- Héros « À la une » : les œuvres en vedette défilent en grand ---------- */
.bst-une {
	position: relative;
	min-height: min(860px, 96vh);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	isolation: isolate;
}

.bst-une-fond {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: 50% 30%;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity 1.2s ease, transform 8s ease-out;
}

.bst-une-fond.est-active {
	opacity: 1;
	transform: scale(1);
}

/* Voile mauve : le texte reste lisible, l'image respire à droite. */
.bst-une::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(31, 20, 64, 0.94) 0%, rgba(42, 29, 77, 0.72) 36%, rgba(60, 40, 110, 0.12) 70%),
		linear-gradient(180deg, rgba(42, 29, 77, 0.55) 0%, rgba(42, 29, 77, 0) 22%, rgba(42, 29, 77, 0) 62%, #2a1d4d 100%),
		linear-gradient(rgba(96, 62, 180, 0.26), rgba(96, 62, 180, 0.26));
}

.bst-une-contenu {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 36px;
	padding-top: 150px;
	padding-bottom: 56px;
}

.bst-une-textes {
	flex: 1 1 480px;
	max-width: 660px;
	display: grid;
}

.bst-une-fiche {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s 0.7s;
}

.bst-une-fiche.est-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.bst-une-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 20px;
	background: var(--bst-or);
	color: #1d1436;
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bst-une-meta {
	margin: 16px 0 6px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--bst-lune);
}

body.bobyshow .bst-une-titre {
	margin: 0;
	font-size: clamp(46px, 6.4vw, 96px);
	line-height: 0.98;
	text-shadow: 0 4px 44px rgba(31, 20, 64, 0.7);
}

body.bobyshow .bst-une-titre a {
	color: #fff;
	text-decoration: none;
}

.bst-une-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 18px 0 0;
	font-weight: 600;
	color: #fff;
}

.bst-une-resume {
	max-width: 560px;
	margin: 14px 0 26px;
	font-size: clamp(17px, 1.4vw, 19px);
	color: #efe9fb;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Vignettes : choisir l'œuvre affichée ; la barre dorée montre le temps restant. */
.bst-une-vignettes {
	display: flex;
	gap: 12px;
}

.bst-une-vignette {
	position: relative;
	width: 104px;
	padding: 0;
	border: 2px solid rgba(239, 232, 255, 0.35);
	border-radius: 14px;
	overflow: hidden;
	background: var(--bst-carte-2);
	cursor: pointer;
	opacity: 0.72;
	transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.bst-une-vignette img,
.bst-une-vignette-image {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	height: auto !important;
	object-fit: cover;
}

.bst-une-vignette:hover,
.bst-une-vignette:focus-visible,
.bst-une-vignette.est-active {
	opacity: 1;
	transform: translateY(-6px);
	border-color: var(--bst-or);
}

.bst-une-vignette::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 4px;
	width: 0;
	background: var(--bst-or);
}

.bst-une.est-en-marche .bst-une-vignette.est-active::after {
	width: 100%;
	transition: width 7s linear;
}

/* Bande de recherche sous le héros */
.bst-trouver {
	position: relative;
	z-index: 5;
	margin-top: -8px;
	padding-top: 28px;
	padding-bottom: 8px;
}

.bst-trouver .bst-recherche {
	max-width: none;
}

.bst-trouver .bst-chiffres {
	margin: 18px 0 0;
	padding: 0;
	width: auto;
}

@media (max-width: 760px) {

	.bst-une-vignettes {
		width: 100%;
		overflow-x: auto;
		padding-top: 8px;
	}

	.bst-une-vignette {
		flex: 0 0 84px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.bst-une-fond,
	.bst-une-fiche,
	.bst-une-vignette {
		transition: none;
	}
}

/* Lien « Mon profil » de l'en-tête, avec l'image du membre */
body.bobyshow a.bst-profil-lien {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.bst-profil-lien img {
	width: 36px;
	height: 36px !important;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--bst-or);
	background: rgba(255, 255, 255, 0.12);
}
