/* BuySellAds Fallback Styles - Prevents Layout Shift */

/* Top Leaderboard Ad Zone */
@media only screen and (min-width: 0px) and (min-height: 0px) {
	div[id^="bsa-zone_1737553976536-7_123456"] {
		width: 300px !important;
		height: 50px !important;
		min-width: 300px;
		min-height: 50px;
		max-width: 300px;
		max-height: 50px;
		position: relative;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 4px;
		display: block !important;
		margin: 10px auto;
		overflow: hidden;
		box-sizing: border-box;
	}
	div[id^="bsa-zone_1737553976536-7_123456"]:empty::before {
		content: "Advertisement";
		color: #6c757d;
		font-size: 12px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.7;
	}
}

@media only screen and (min-width: 770px) and (min-height: 0px) {
	div[id^="bsa-zone_1737553976536-7_123456"] {
		width: 468px !important;
		height: 60px !important;
		min-width: 468px;
		min-height: 60px;
		max-width: 468px;
		max-height: 60px;
		position: relative;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 4px;
		display: block !important;
		margin: 10px auto;
		overflow: hidden;
		box-sizing: border-box;
	}
	div[id^="bsa-zone_1737553976536-7_123456"]:empty::before {
		content: "Advertisement";
		color: #6c757d;
		font-size: 12px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.7;
	}
}

/* In-content 300x250 Ad Zone */
@media only screen and (min-width: 0px) and (min-height: 0px) {
	div[id^="bsa-zone_1737554165505-3_123456"] {
		width: 300px !important;
		height: 50px !important;
		min-width: 300px;
		min-height: 50px;
		max-width: 300px;
		max-height: 50px;
		position: relative;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 4px;
		display: block !important;
		margin: 10px auto;
		overflow: hidden;
		box-sizing: border-box;
	}
	div[id^="bsa-zone_1737554165505-3_123456"]:empty::before {
		content: "Advertisement";
		color: #6c757d;
		font-size: 12px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.7;
	}
}

@media only screen and (min-width: 770px) and (min-height: 0px) {
	div[id^="bsa-zone_1737554165505-3_123456"] {
		width: 300px !important;
		height: 250px !important;
		min-width: 300px;
		min-height: 250px;
		max-width: 300px;
		max-height: 250px;
		position: relative;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 4px;
		display: block !important;
		margin: 15px auto;
		overflow: hidden;
		box-sizing: border-box;
	}
	div[id^="bsa-zone_1737554165505-3_123456"]:empty::before {
		content: "Advertisement";
		color: #6c757d;
		font-size: 14px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.7;
	}
}

/* Bottom Leaderboard Ad Zone */
@media only screen and (min-width: 0px) and (min-height: 0px) {
	div[id^="bsa-zone_1737554053476-5_123456"] {
		width: 300px !important;
		height: 50px !important;
		min-width: 300px;
		min-height: 50px;
		max-width: 300px;
		max-height: 50px;
		position: relative;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 4px;
		display: block !important;
		margin: 10px auto;
		overflow: hidden;
		box-sizing: border-box;
	}
	div[id^="bsa-zone_1737554053476-5_123456"]:empty::before {
		content: "Advertisement";
		color: #6c757d;
		font-size: 12px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.7;
	}
}

@media only screen and (min-width: 770px) and (min-height: 0px) {
	div[id^="bsa-zone_1737554053476-5_123456"] {
		width: 468px !important;
		height: 60px !important;
		min-width: 468px;
		min-height: 60px;
		max-width: 468px;
		max-height: 60px;
		position: relative;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 4px;
		display: block !important;
		margin: 10px auto;
		overflow: hidden;
		box-sizing: border-box;
	}
	div[id^="bsa-zone_1737554053476-5_123456"]:empty::before {
		content: "Advertisement";
		color: #6c757d;
		font-size: 12px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.7;
	}
}

@media only screen and (min-width: 1500px) and (min-height: 0px) {
	div[id^="bsa-zone_1737554053476-5_123456"] {
		width: 970px !important;
		height: 250px !important;
		min-width: 970px;
		min-height: 250px;
		max-width: 970px;
		max-height: 250px;
		position: relative;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 4px;
		display: block !important;
		margin: 15px auto;
		overflow: hidden;
		box-sizing: border-box;
	}
	div[id^="bsa-zone_1737554053476-5_123456"]:empty::before {
		content: "Advertisement";
		color: #6c757d;
		font-size: 16px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.7;
	}
}

/* Hide fallback styling when ads successfully load */
div[id^="bsa-zone_1737553976536-7_123456"]:not(:empty),
div[id^="bsa-zone_1737554165505-3_123456"]:not(:empty),
div[id^="bsa-zone_1737554053476-5_123456"]:not(:empty) {
	background: none !important;
	border: none !important;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
	div[id^="bsa-zone_1737553976536-7_123456"]:empty,
	div[id^="bsa-zone_1737554165505-3_123456"]:empty,
	div[id^="bsa-zone_1737554053476-5_123456"]:empty {
		background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
		border-color: #4a5568;
	}
	
	div[id^="bsa-zone_1737553976536-7_123456"]:empty::before,
	div[id^="bsa-zone_1737554165505-3_123456"]:empty::before,
	div[id^="bsa-zone_1737554053476-5_123456"]:empty::before {
		color: #a0aec0;
	}
}

/* Remove loading spinner - it was causing layout shifts */
/* div[id^="bsa-zone_1737553976536-7_123456"]:empty::after,
div[id^="bsa-zone_1737554165505-3_123456"]:empty::after,
div[id^="bsa-zone_1737554053476-5_123456"]:empty::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #dee2e6;
	border-top-color: #6c757d;
	border-radius: 50%;
	animation: adSpinner 1s linear infinite;
} */

@keyframes adSpinner {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Accessibility improvements */
div[id^="bsa-zone_1737553976536-7_123456"],
div[id^="bsa-zone_1737554165505-3_123456"],
div[id^="bsa-zone_1737554053476-5_123456"] {
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* Print media - hide ad placeholders */
@media print {
	div[id^="bsa-zone_1737553976536-7_123456"],
	div[id^="bsa-zone_1737554165505-3_123456"],
	div[id^="bsa-zone_1737554053476-5_123456"] {
		display: none !important;
	}
}