/* UX 2026-10 : recherche mobile, textes repliés, retour en haut,
   nouveautés, abonnements (/follow), page 404-410. */

.sn-search-toggle {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 1.25rem;
	padding: .4rem .75rem;
	margin-right: .25rem;
}

/* Textes longs repliés */
.sn-clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.sn-clamp.sn-clamp-open,
.sn-clamp.sn-clamp-off {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.sn-clamp-btn {
	border: 0;
	background: transparent;
	color: #6ea8fe;
	font-weight: 600;
	padding: .25rem .5rem;
	margin: .25rem auto 0;
	display: block;
}

@media (min-width: 992px) {
	.sn-clamp {
		-webkit-line-clamp: 6;
	}
}

/* Retour en haut */
.sn-top {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 1020;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(13, 110, 253, .92);
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

/* Bandeau nouveautés (fiche) */
.sn-new-since {
	display: table;
	margin: .25rem auto .75rem;
	padding: .35rem .9rem;
	border-radius: 999px;
	background: #fd5d93;
	color: #fff;
	font-weight: 600;
}

.sn-new-since[hidden] {
	display: none;
}

/* Page 404 / 410 */
.not-found-page {
	padding: 2rem 0 3rem;
}

.not-found-box {
	max-width: 560px;
	margin: 0 auto 2.5rem;
	padding: 0 16px;
	color: #fff;
}

.not-found-code {
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1;
	opacity: .25;
}

.not-found-body {
	opacity: .8;
	margin-bottom: 1.25rem;
}

.not-found-cta {
	margin-bottom: 1.25rem;
}

.not-found-search {
	display: flex;
	gap: .5rem;
}

.not-found-popular-title {
	font-size: 1.2rem;
	color: #fff;
	text-align: center;
	margin-bottom: 1rem;
}

.not-found-popular {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
}

.not-found-chip {
	padding: .4rem .85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	text-decoration: none;
}

.not-found-chip:hover {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

/* Appel Telegram (fiche) */
.sn-telegram-cta {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: .4rem;
	margin: 0 auto .9rem;
	padding: .3rem .85rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .25);
	color: #fff;
	font-size: .9rem;
	text-decoration: none;
}

.sn-telegram-cta:hover {
	background: rgba(41, 168, 233, .2);
	color: #fff;
}

/* Pastille « +N » (bande /follow) */
.sn-new-badge {
	position: absolute;
	top: -4px;
	right: -6px;
	min-width: 1.6rem;
	padding: .1rem .35rem;
	border-radius: 999px;
	background: #fd5d93;
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.sn-new-badge[hidden] {
	display: none;
}

/* Bouton Suivre (fiche) */
.sn-follow-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .55rem 1.2rem;
	border-radius: 999px;
	background: #fd5d93;
	border: 0;
	color: #fff;
	font-weight: 700;
}

.sn-follow-btn:hover {
	background: #ff7aa8;
	color: #fff;
}

.sn-follow-btn.is-active {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .45);
}

.sn-toggle-btn.is-busy {
	opacity: .6;
	pointer-events: none;
}

.sn-toggle-count {
	padding: .05rem .5rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, .2);
	font-size: .85rem;
}

/* Page /follow */
.sn-follow-head {
	text-align: center;
	margin: 1rem 0 1.25rem;
}

.sn-follow-sub {
	opacity: .7;
	margin: 0;
	color: #fff;
}

.sn-follow-strip {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	padding: .5rem .25rem 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sn-follow-strip::-webkit-scrollbar {
	display: none;
}

.sn-follow-creator {
	flex: 0 0 auto;
	width: 84px;
	scroll-snap-align: start;
	text-align: center;
	color: #fff;
	text-decoration: none;
}

.sn-follow-creator:hover {
	color: #fff;
}

.sn-follow-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto .35rem;
	border-radius: 50%;
	background: #2a3456;
	border: 2px solid rgba(255, 255, 255, .2);
	font-size: 1.6rem;
	color: rgba(255, 255, 255, .4);
}

.sn-follow-creator.has-new .sn-follow-avatar {
	border-color: #fd5d93;
	box-shadow: 0 0 0 2px rgba(253, 93, 147, .35);
}

.sn-follow-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.sn-follow-name {
	display: block;
	font-size: .8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sn-follow-feed-title {
	font-size: 1.2rem;
	color: #fff;
	margin: 0 0 .5rem;
}

.sn-follow-empty {
	max-width: 480px;
	margin: 1rem auto 2rem;
	text-align: center;
	color: #fff;
}

.sn-follow-empty i {
	font-size: 2.5rem;
	opacity: .4;
	margin-bottom: .75rem;
}

/* Bouton ❤ J'aime (photo / vidéo) */
.sn-like-wrap {
	margin: .25rem 0 1rem;
}

.sn-like-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem 1.15rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .35);
	background: transparent;
	color: #fff;
	font-weight: 700;
}

.sn-like-btn:hover {
	border-color: #fd5d93;
	color: #fff;
}

.sn-like-btn .fa-heart {
	color: #fd5d93;
}

.sn-like-btn.is-active {
	background: #fd5d93;
	border-color: #fd5d93;
}

.sn-like-btn.is-active .fa-heart {
	color: #fff;
}

.sn-like-hint {
	display: block;
	margin: .4rem auto 0;
	max-width: 420px;
	font-size: .85rem;
	opacity: .75;
	color: #fff;
}

a.sn-like-hint:hover {
	opacity: 1;
	color: #fff;
}

/* Page /likes */
.sn-liked-card {
	position: relative;
	display: block;
	color: #fff;
	text-decoration: none;
}

.sn-liked-type {
	position: absolute;
	top: .5rem;
	right: .5rem;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(0, 0, 0, .6);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .8rem;
}

.sn-liked-name {
	display: block;
	margin-top: .35rem;
	font-size: .85rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Porte d'âge : carte compacte aux couleurs du site, contenu visible flouté derrière */
.sn-age {
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 16, 45, .72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.sn-age-card {
	width: 100%;
	max-width: 360px;
	padding: 24px 22px 18px;
	border-radius: 18px;
	background: rgb(23, 25, 65);
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
	color: #fff;
	text-align: center;
	font-family: inherit;
}

.sn-age-brand {
	font-weight: 800;
	font-size: 1.1rem;
	margin-bottom: .75rem;
}

.sn-age-badge {
	display: inline-block;
	margin-left: .35rem;
	padding: .05rem .45rem;
	border-radius: 6px;
	background: #fd5d93;
	font-size: .8rem;
	vertical-align: middle;
}

.sn-age-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 .5rem;
	color: #fff;
}

.sn-age-body {
	font-size: .92rem;
	opacity: .8;
	margin: 0 0 1.1rem;
}

.sn-age-enter {
	display: block;
	width: 100%;
	padding: .75rem 1rem;
	border: 0;
	border-radius: 999px;
	background: #fd5d93;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.sn-age-enter:hover {
	background: #ff7aa8;
}

.sn-age-leave {
	display: block;
	margin: .6rem auto 0;
	padding: .3rem .5rem;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, .6);
	font-size: .85rem;
	cursor: pointer;
}

.sn-age-legal {
	margin: .9rem 0 0;
	font-size: .72rem;
	line-height: 1.4;
	opacity: .55;
}

.sn-age-legal a {
	color: #fff !important;
	text-decoration: underline;
}

/* Fraîcheur /photos */
.sn-fresh-summary {
	text-align: center;
	color: rgba(255, 255, 255, .8);
	margin: -.25rem 0 1rem;
	font-size: .95rem;
}

.sn-fresh-summary .pg-fresh {
	margin: 0 .35rem 0 0;
}

.pg-ago {
	opacity: .7;
}

/* ===== Boutons : DA commune (2026-10-01) =====
   Chargé après style.min.css. Le thème forçait a.btn:hover{color:#000 !important}
   → texte noir sur fond sombre au survol. Principal = rose plein, secondaire =
   contour blanc translucide, forme pilule, survol toujours lisible. */
.btn {
	border-radius: 999px;
	font-weight: 600;
	padding-left: 1.1rem;
	padding-right: 1.1rem;
	transition: background-color .15s, border-color .15s, color .15s;
}

.btn-sm {
	padding-left: .8rem;
	padding-right: .8rem;
}

a.btn:hover,
button.btn:hover,
a.btn:focus,
button.btn:focus {
	color: #fff !important;
}

.btn:focus,
.btn:focus-visible {
	box-shadow: 0 0 0 .2rem rgba(253, 93, 147, .35) !important;
}

.btn-primary {
	background-color: #fd5d93;
	border-color: #fd5d93;
	color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: #ee467e !important;
	border-color: #ee467e !important;
}

.btn-secondary,
.btn-outline-light,
.btn-outline-primary,
.btn-outline-secondary {
	background-color: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .35);
	color: #fff;
}

.btn-secondary:hover,
.btn-outline-light:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover {
	background-color: rgba(255, 255, 255, .16) !important;
	border-color: rgba(255, 255, 255, .6) !important;
}

.btn-outline-danger {
	border-color: rgba(220, 53, 69, .7);
	color: #ff8a96;
}

.btn-outline-danger:hover {
	background-color: #dc3545 !important;
	border-color: #dc3545 !important;
}

.btn-light:hover,
.btn-warning:hover,
.btn-info:hover {
	color: #000 !important;
}

/* Boutons du site alignés sur la même DA */
.sn-follow-btn,
.sn-like-btn,
.sn-telegram-cta,
.sn-age-enter {
	border-radius: 999px;
}

.sn-like-btn {
	background-color: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .35);
}

.sn-like-btn:hover {
	background-color: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .6);
}

.sn-like-btn.is-active,
.sn-like-btn.is-active:hover {
	background-color: #fd5d93;
	border-color: #fd5d93;
}

.sn-follow-btn.is-active:hover {
	background-color: rgba(255, 255, 255, .16);
}

/* Suivre et J'aime = même composant (retour Jim 01/10) : rose plein par défaut,
   contour translucide + icône rose une fois actif. Surcharge les règles .sn-like-btn
   / .sn-follow-btn ci-dessus. */
.sn-follow-btn,
.sn-like-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .55rem 1.2rem;
	border-radius: 999px;
	border: 1px solid #fd5d93;
	background-color: #fd5d93;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
}

.sn-follow-btn:hover,
.sn-like-btn:hover {
	background-color: #ee467e;
	border-color: #ee467e;
	color: #fff;
}

.sn-follow-btn .fa-bell,
.sn-like-btn .fa-heart {
	color: #fff;
}

.sn-follow-btn.is-active,
.sn-like-btn.is-active {
	background-color: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .35);
}

.sn-follow-btn.is-active:hover,
.sn-like-btn.is-active:hover {
	background-color: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .6);
}

.sn-follow-btn.is-active .fa-bell,
.sn-like-btn.is-active .fa-heart {
	color: #fd5d93;
}

/* Lecteur cam flottant (app.js) : taille réduite, vrai bouton de fermeture */
#js-iframe-cam {
	position: fixed;
	right: 10px;
	bottom: 10px;
	width: 192px;
	height: 108px;
	z-index: 1020;
	border-radius: 12px;
	overflow: visible;
	background-color: #171941;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
}

#embed-float {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 12px;
}

.sn-cam-close {
	position: absolute;
	top: -12px;
	left: -12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, .85);
	border-radius: 50%;
	background: #171941;
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

/* zone de toucher élargie à ~48 px sans grossir le bouton */
.sn-cam-close::after {
	content: '';
	position: absolute;
	inset: -8px;
}

@media (min-width: 768px) {
	#js-iframe-cam {
		right: 16px;
		bottom: 16px;
		width: 320px;
		height: 180px;
	}
}
