.phpbb-ads-center {
	text-align: center;
}

.phpbb-ads-center > :first-child:not(script) {
	display: inline-block;
	max-width: 100%;
}

.phpbbad-slide-up {
	position: fixed;
	bottom: 0;
	width: 100%;
	transition: transform 0.3s;
	transform: translateY(100%);
}

.phpbbad-slide-up-center {
	text-align: center;
}

.phpbbad-slide-up-close {
	background-color: #ffffff;
	width: 30px;
	cursor: pointer;
}

.phpbb-ads-visual-demo {
	font-size: 12px;
	font-weight: bold;
	line-height: 44px;
	text-align: center;
	background-color: #f0e68c;
	border: #ff0000 dashed 3px;
	color: #bc2a4d;
	box-sizing: border-box;
	width: 100%;
	height: 50px;
}

.phpbb-ads-visual-demo-btn {
	text-align: center;
	width: 25%;
	margin: 0 auto !important;
	padding: 10px !important;
}

.phpbb-ads-button {
	font-family: system-ui, sans-serif;
	font-size: 13px;
	vertical-align: middle;
	background: #e3e3e3;
	background: linear-gradient(to bottom, #e3e3e3 0%, #f7f7f7 100%);
	border: solid 1px #afafaf;
	box-shadow: inset 1px 1px 2px #ffffff;
	margin: 2px 0;
	padding: 3px 8px;
}

.phpbb-ads-button:link {
	color: #000000;
}

.phpbb-ads-button:link:hover {
	text-decoration: none;
}

.phpbb-ads-button:hover {
	border-color: #bc2a4d;
	color: #bc2a4d;
	cursor: pointer;
}

.phpbb-ads-button:active {
	background: #c3c3c3;
}

/* Mobil uyumlu reklam düzeltmeleri */
@media (max-width: 768px) {
    .phpbb-ads-center {
        text-align: center;
        width: 100%;
        overflow: hidden;
    }

    .phpbb-ads-center > :first-child:not(script),
    .phpbb-ads-center iframe,
    .phpbb-ads-center img {
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
    }

    /* Slide-up reklamları mobilde tam oturt */
    .phpbbad-slide-up {
        width: 100% !important;
        left: 0;
    }

    /* Butonları mobilde küçült */
    .phpbb-ads-visual-demo-btn {
        width: 50% !important;
        padding: 8px !important;
    }
}
