/* Reels feed – scroll snap + desktop layout */
.accesfy-sc-feed-layout--reels .accesfy-sc-feed-layout__center--reels {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 0;
}

.accesfy-sc-feed-layout__head--reels {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 420px;
}

.accesfy-sc-reels-mute-global,
.accesfy-sc-reel__mute {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(8px);
	color: #fff;
	cursor: pointer;
	padding: 0;
	transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.accesfy-sc-reels-mute-global:hover,
.accesfy-sc-reel__mute:hover {
	border-color: #c9a962;
	transform: scale(1.05);
}

.accesfy-sc-reels-mute-global.is-unmuted,
.accesfy-sc-reel__mute.is-unmuted {
	border-color: #ff4da6;
}

.accesfy-sc-reel__mute {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
}

.accesfy-sc-reels-feed {
	width: 100%;
	max-width: 420px;
	height: calc(100vh - 140px);
	height: calc(100dvh - 140px);
	max-height: 820px;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	background: #000;
	border-radius: 20px;
	border: 1px solid #1e1e1e;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 169, 98, 0.12);
	scrollbar-width: none;
}

.accesfy-sc-reels-feed::-webkit-scrollbar {
	display: none;
}

.accesfy-sc-reel {
	position: relative;
	height: 100%;
	min-height: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	background: #000;
}

.accesfy-sc-reel__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.accesfy-sc-reel.is-playing .accesfy-sc-reel__video {
	box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.2);
}

.accesfy-sc-reel__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 25%, transparent 60%, rgba(0, 0, 0, 0.65) 100%);
}

.accesfy-sc-reel__overlay > * {
	pointer-events: auto;
}

.accesfy-sc-reel__side {
	align-self: flex-end;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	margin-top: auto;
}

.accesfy-sc-reel__bottom {
	max-width: 85%;
}

.accesfy-sc-reel__user {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.accesfy-sc-reel__bottom p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	margin: 6px 0 0;
	line-height: 1.4;
}

.accesfy-sc-reels-feed__loader {
	text-align: center;
	padding: 16px;
	color: #a1a1aa;
	font-size: 13px;
	scroll-snap-align: end;
}

.accesfy-sc-feed__empty--reels {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	color: #a1a1aa;
	text-align: center;
	padding: 24px;
}

/* Mobile – full screen reels */
@media (max-width: 1024px) {
	.accesfy-sc-reels-feed {
		max-width: none;
		height: 100vh;
		height: 100dvh;
		max-height: none;
		border-radius: 0;
		border: none;
		box-shadow: none;
	}

	.accesfy-sc-feed-layout__head--reels {
		display: none;
	}

	.accesfy-sc-reel__mute {
		top: 12px;
		right: 12px;
	}
}
