/* Dipindah dari views/footer.php (dulu <style> inline di setiap halaman) —
 * PRD-GSC-ADSENSE R-PERF-06 / PROMPT 9.5. Dimuat lewat iah_aset_url() (?v=filemtime). */
	.footer-visitor-block {
		margin: 0;
		width: 100%;
		padding-bottom: 0;
		text-align: left;
		min-width: 0;
	}

	.footer-main-row {
		display: grid;
		grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
		align-items: start;
		gap: 1.4rem;
		width: 100%;
		padding-bottom: 0.85rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	}

	.footer-visitor-title {
		margin-bottom: 0.35rem;
		font-size: 0.88rem;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: #ffffff;
	}

	.footer-visitor-meta {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.35rem 0.75rem;
		font-size: 0.94rem;
		line-height: 1.5;
		color: #ffffff;
	}

	.footer-visitor-stat strong {
		font-weight: 700;
	}

	.footer-visitor-dot {
		opacity: 0.8;
	}

	.footer-contact-wrap {
		width: 100%;
		margin: 0;
		padding-top: 0.2rem;
		text-align: center;
		font-size: 0.94rem;
		line-height: 1.6;
	}

	.footer-contact-link {
		display: inline-block;
		margin-top: 0.2rem;
		color: #ffffff;
		font-weight: 700;
	}

	.hadits-imam-download-wrap {
		width: 100%;
		max-height: 260px;
		overflow-y: auto;
		overflow-x: hidden;
		padding: 10px 12px 10px 10px;
		border: 1px solid rgba(255, 255, 255, 0.26);
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.12);
		scrollbar-width: thin;
		scrollbar-color: #ffffff rgba(255, 255, 255, 0.2);
	}

	.hadits-imam-download-wrap::-webkit-scrollbar {
		width: 6px;
	}

	.hadits-imam-download-wrap::-webkit-scrollbar-thumb {
		background: #ffffff;
		border-radius: 999px;
	}

	.hadits-imam-download-wrap::-webkit-scrollbar-track {
		background: rgba(255, 255, 255, 0.2);
		border-radius: 999px;
	}

	.hadits-imam-download-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px 12px;
	}

	.hadits-imam-language-box {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 42px 42px;
		align-items: center;
		gap: 8px;
		min-width: 0;
		min-height: 48px;
		padding: 4px 8px;
		border: 1px solid #d5e7ec;
		border-radius: 8px;
		background: #f4f9fb;
		box-shadow: 0 2px 8px rgba(79, 150, 166, 0.08);
	}

	.hadits-imam-language-box.download-language-focus {
		background: #fff8dc;
		border-color: #e1b640;
		box-shadow: 0 4px 16px rgba(200, 148, 24, 0.28);
	}

	.hadits-imam-language-name {
		min-width: 0;
		color: #2fa66e;
		font-size: 0.78rem;
		font-weight: 700;
		line-height: 1.25;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.hadits-imam-open,
	.hadits-imam-download {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		min-width: 42px;
		min-height: 42px;
		padding: 0;
		border: 0;
		background: transparent;
		text-decoration: none;
		overflow: visible;
	}

	.hadits-imam-open:hover,
	.hadits-imam-download:hover {
		background: transparent;
		text-decoration: none;
		transform: translateY(-1px);
	}

	.hadits-imam-icon-image {
		display: block;
		width: 38px;
		height: 38px;
		object-fit: contain;
	}

	.hadits-imam-open.is-unavailable,
	.hadits-imam-download.is-unavailable {
		cursor: not-allowed;
		opacity: 0.58;
	}

	.hadits-imam-download.download-button-focus {
		border-radius: 999px;
		box-shadow: 0 0 0 4px rgba(247, 216, 103, 0.38), 0 6px 16px rgba(200, 148, 24, 0.28);
		transform: scale(1.08);
	}

	@media (max-width: 1199.98px) {
		.footer-main-row {
			grid-template-columns: 1fr;
			gap: 1rem;
		}

		.hadits-imam-download-grid {
			grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
		}
	}

	@media (max-width: 767.98px) {
		.footer-visitor-title {
			font-size: 0.88rem;
		}

		/* Tiga angka disusun ke bawah: bila dibiarkan membungkus, baris
		 * berikutnya diawali titik pemisah yatim. */
		.footer-visitor-meta {
			font-size: 0.9rem;
			flex-direction: column;
			align-items: flex-start;
			gap: 0.1rem;
		}

		.footer-visitor-dot {
			display: none;
		}

		.footer-contact-wrap {
			font-size: 0.9rem;
		}

		.footer-main-row {
			gap: 0.85rem;
		}

		.hadits-imam-download-wrap {
			max-height: 320px;
			padding: 9px;
		}

		.hadits-imam-download-grid {
			grid-template-columns: 1fr;
		}

		.hadits-imam-language-box {
			grid-template-columns: minmax(0, 1fr) 40px 40px;
			min-height: 46px;
		}

		.hadits-imam-open,
		.hadits-imam-download {
			width: 40px;
			min-width: 40px;
			min-height: 40px;
		}

		.hadits-imam-icon-image {
			width: 36px;
			height: 36px;
		}
	}
