/* Shared styles for fc-stats strip (Faucet-style UI) */
.fc-stats-wrap {
	margin-bottom: 16px;
}

.fc-stats-wrap > .fc-stats {
	margin-bottom: 0;
}

.fc-stats {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 10px;
	padding: 10px 16px;
	margin-bottom: 20px;
}

.fc-stats-item {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 5px 13px;
	border-radius: 8px;
	background: rgba(255,255,255,.05);
}

.fc-stats-item--prog {
	cursor: pointer;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.fc-stats-item--prog:hover,
.fc-stats-item--prog.is-active {
	background: rgba(167, 139, 250, 0.14);
	box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.35);
}

/* Block progress popup — faucet layout + colorful accents */
.fc-stats-block-prog.fc-progress-wrap--stats {
	display: none;
	margin-top: 10px;
	padding: 12px 14px 13px;
	border-radius: 12px;
	border: 1px solid rgba(167, 139, 250, 0.32);
	background:
		linear-gradient(145deg, rgba(76, 29, 149, 0.22) 0%, rgba(30, 27, 75, 0.42) 48%, rgba(15, 23, 42, 0.55) 100%);
	box-shadow:
		0 8px 22px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
	position: relative;
	overflow: hidden;
}

.fc-stats-block-prog.fc-progress-wrap--stats::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 90% 0%, rgba(251, 191, 36, 0.14), transparent 40%);
	pointer-events: none;
}

.fc-stats-block-prog.is-open {
	display: block;
}

.fc-stats-block-prog.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.fc-stats-block-prog__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
	position: relative;
	z-index: 1;
}

.fc-stats-block-prog__title {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.fc-stats-block-prog__pct {
	font-size: 12px;
	font-weight: 800;
	background: linear-gradient(90deg, #c4b5fd, #fbbf24);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.fc-stats-block-prog__bar {
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
	margin: 7px 0 5px;
	position: relative;
	z-index: 1;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.fc-stats-block-prog__fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #6d28d9 0%, #a78bfa 50%, #fbbf24 100%);
	box-shadow: 0 0 12px rgba(167, 139, 250, 0.45);
	transition: width 0.4s ease;
	position: relative;
}

.fc-stats-block-prog__fill::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
	transform: translateX(-100%);
	animation: fc-stats-prog-shine 2.4s ease-in-out infinite;
}

@keyframes fc-stats-prog-shine {
	0% { transform: translateX(-100%); }
	55%, 100% { transform: translateX(120%); }
}

.fc-stats-block-prog__labels {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	position: relative;
	z-index: 1;
}

.fc-stats-block-prog__labels span:first-child,
.fc-stats-block-prog__labels span:last-child {
	color: rgba(255, 255, 255, 0.62);
	font-weight: 600;
}

.fc-stats-block-prog__labels span:nth-child(2) {
	flex: 1;
	min-width: 0;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fcd34d;
	font-weight: 600;
}

/* Level progress popup — green accent */
.fc-stats-level-prog.fc-progress-wrap--stats {
	display: none;
	margin-top: 10px;
	padding: 12px 14px 13px;
	border-radius: 12px;
	border: 1px solid rgba(52, 211, 153, 0.32);
	background:
		linear-gradient(145deg, rgba(6, 78, 59, 0.28) 0%, rgba(15, 23, 42, 0.48) 52%, rgba(15, 23, 42, 0.55) 100%);
	box-shadow:
		0 8px 22px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
	position: relative;
	overflow: hidden;
}

.fc-stats-level-prog.fc-progress-wrap--stats::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 90% 0%, rgba(52, 211, 153, 0.16), transparent 40%);
	pointer-events: none;
}

.fc-stats-level-prog.is-open {
	display: block;
}

.fc-stats-level-prog.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.fc-stats-level-prog__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
	position: relative;
	z-index: 1;
}

.fc-stats-level-prog__title {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.fc-stats-level-prog__pct {
	font-size: 12px;
	font-weight: 800;
	background: linear-gradient(90deg, #6ee7b7, #34d399);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.fc-stats-level-prog__bar {
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
	margin: 7px 0 5px;
	position: relative;
	z-index: 1;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.fc-stats-level-prog__fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #047857 0%, #34d399 55%, #6ee7b7 100%);
	box-shadow: 0 0 12px rgba(52, 211, 153, 0.45);
	transition: width 0.4s ease;
}

.fc-stats-level-prog__labels {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	position: relative;
	z-index: 1;
}

.fc-stats-level-prog__labels span:first-child,
.fc-stats-level-prog__labels span:last-child {
	color: rgba(255, 255, 255, 0.62);
	font-weight: 600;
}

.fc-stats-level-prog__labels span:nth-child(2) {
	flex: 1;
	min-width: 0;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #6ee7b7;
	font-weight: 600;
}

.fc-stats-item--prog-level:hover,
.fc-stats-item--prog-level.is-active {
	background: rgba(52, 211, 153, 0.14);
	box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}

.fc-stats-lbl { font-size: 14px; color: rgba(255,255,255,.65); white-space: nowrap; }
.fc-stats-val {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.fc-stats-val.gold,
.fc-stats-val--gold,
.fc-stats-val--spins { color: #fbbf24; }
.fc-stats-val.plat,
.fc-stats-val--plat { color: #cbd5e1; }
.fc-stats-val.green,
.fc-stats-val--green { color: #1bb500; }
.fc-stats-val--block { color: #60a5fa; }
.fc-stats-val--level { color: #6ee7b7; }
.fc-stats-val--wager { color: #6ee7b7; }
.fc-stats-val--boost,
.fc-stats-val--mult { color: #a78bfa; }
.fc-stats-val--timer {
	color: #38bdf8;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.fc-stats-sep { width: 1px; height: 26px; background: rgba(255,255,255,.1); flex-shrink: 0; }
.fc-stats-block-icon { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }
.fc-stats-svg-hex { flex-shrink: 0; display: block; }
.fc-free-spin-icon { flex-shrink: 0; display: block; object-fit: contain; }
.fc-stats-item .fc-free-spin-icon { width: 22px; height: 22px; }

/* Game pages — shared margin under title row */
[class$="-page-wrapper"] > .fc-stats-wrap,
[class$="-page-wrapper"] > .fc-stats { margin-bottom: 16px; }

@media (max-width: 768px) {
	.fc-stats-wrap { margin-bottom: 14px; }
	.fc-stats.fc-stats--scroll {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
		margin-bottom: 14px;
		scrollbar-width: thin;
	}
	.fc-stats.fc-stats--scroll .fc-stats-item { flex-shrink: 0; }
	.fc-stats-sep { display: none; }
	.fc-stats-lbl--mob-hide { display: none !important; }
	.fc-stats-block-prog__labels,
	.fc-stats-level-prog__labels {
		font-size: 11px;
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fc-stats-block-prog__fill::after {
		animation: none;
	}
}
