/* Direct download wait — 5s slider */
.apk365-direct-wait {
	text-align: center;
	padding: 8px 0 4px;
}

.apk365-wait-wrap {
	max-width: 420px;
	margin: 18px auto 16px;
}

.apk365-wait-count {
	font-size: 2rem;
	font-weight: 700;
	color: #1bbc9b;
	margin-bottom: 12px;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.apk365-wait-count .apk365-wait-num {
	font-size: 2.4rem;
}

.apk365-direct-wait .sdl-bar.apk365-direct-slider {
	height: 14px;
	border-radius: 50px;
	overflow: hidden;
	background: #e8eef2;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.apk365-direct-wait .sdl-bar.apk365-direct-slider div {
	height: 100%;
	width: 0;
	border-radius: 50px;
	background: linear-gradient(90deg, #17a589, #1bbc9b, #34d399);
	transition: width 1s linear;
}

.apk365-wait-manual {
	font-size: 0.9rem;
	color: #64748b;
	margin: 12px 0 0;
}

.apk365-wait-manual a {
	font-weight: 600;
	color: #1bbc9b !important;
}

.apk365-wait-back {
	margin-top: 18px;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.apk365-wait-back[hidden] {
	display: none !important;
}

.apk365-wait-back .buttond,
.apk365-wait-back-btn {
	width: 100%;
	box-sizing: border-box;
}

/* Hide premature Back buttons while countdown runs */
.apk365-back-hidden {
	display: none !important;
}

body:has(.apk365-direct-wait) .apk365-pxtd-back {
	display: none !important;
}

@media (max-width: 768px) {
	.apk365-wait-wrap {
		max-width: 100%;
		padding: 0 4px;
	}

	.apk365-wait-count {
		font-size: 1.75rem;
	}

	.apk365-wait-back {
		max-width: 100%;
	}
}
