/* ---------- Rand de cercuri (stories) ---------- */
.lash-stories-wrap {
	width: 100%;
	background: #fff;
	padding: 12px 0;
}

.lash-stories-row {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0 16px;
}

.lash-stories-row::-webkit-scrollbar {
	display: none;
}

.lash-story-circle {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 72px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: 'Montserrat', sans-serif;
}

.lash-story-ring {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	padding: 3px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	background: conic-gradient(from 33deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
	flex-shrink: 0;
}

.lash-story-circle.lash-story-viewed .lash-story-ring {
	background: #d8d8d8;
}

.lash-story-ring img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-sizing: border-box;
	display: block;
}

.lash-story-label {
	font-size: 11px;
	font-weight: 600;
	color: #222;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 72px;
}

/* ---------- Overlay fullscreen ---------- */
.lash-story-overlay {
	position: fixed;
	inset: 0;
	background: #000;
	z-index: 999999;
	display: none;
	flex-direction: column;
	font-family: 'Montserrat', sans-serif;
	touch-action: none;
	user-select: none;
}

.lash-story-overlay.lash-story-open {
	display: flex;
}

.lash-story-progress {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	gap: 4px;
	z-index: 3;
}

.lash-progress-seg {
	flex: 1;
	height: 3px;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 2px;
	overflow: hidden;
}

.lash-progress-fill {
	height: 100%;
	width: 0%;
	background: #fff;
	border-radius: 2px;
}

.lash-progress-seg.lash-filled .lash-progress-fill {
	width: 100%;
	transition: none;
}

.lash-progress-seg.lash-active .lash-progress-fill {
	transition: width linear;
}

.lash-progress-seg.lash-paused .lash-progress-fill {
	transition-property: none;
}

.lash-story-close {
	position: absolute;
	top: 18px;
	right: 14px;
	z-index: 3;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}

.lash-story-top-cta {
	position: absolute;
	top: 22px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	background: rgba(255, 255, 255, 0.92);
	color: #111;
	font-size: 12px;
	font-weight: 700;
	padding: 8px 18px;
	border-radius: 30px;
	text-decoration: none;
	white-space: nowrap;
	max-width: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lash-story-media {
	position: relative;
	flex: 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
}

.lash-story-tap {
	flex: 1;
	height: 100%;
}

.lash-story-tap--left {
	flex: 0 0 30%;
}

.lash-story-tap--right {
	flex: 1;
}

.lash-story-footer {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(6px);
	padding: 10px 14px;
	padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.lash-story-footer-info {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	color: #fff;
}

.lash-story-footer-info strong {
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lash-story-footer-info span {
	font-size: 11px;
	opacity: 0.8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lash-story-cta {
	flex-shrink: 0;
	background: #fff;
	color: #111;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 14px;
	border-radius: 30px;
	text-decoration: none;
	white-space: nowrap;
}

@media (min-width: 640px) {
	.lash-story-overlay {
		align-items: center;
		background: rgba(0, 0, 0, 0.85);
	}
	.lash-story-overlay > * {
		max-width: 420px;
		margin: 0 auto;
	}
	.lash-story-media,
	.lash-story-progress,
	.lash-story-close,
	.lash-story-footer {
		width: 100%;
		max-width: 420px;
	}
	.lash-story-media {
		border-radius: 12px;
		overflow: hidden;
	}
}
