/* Thông báo cookie quảng cáo (includes/ads.php, assets/ads.js). */
.ae-ck { position: fixed; left: 20px; bottom: 20px; z-index: 99990; display: flex; align-items: center; gap: 14px; width: min(600px, calc(100vw - 40px)); padding: 14px 16px; border: 1px solid #e6e5f0; border-radius: 18px; background: #fff; color: #2b2a3d; font-family: inherit; font-size: 13.5px; line-height: 1.5; box-shadow: 0 18px 48px rgba(22, 19, 61, .18), 0 2px 6px rgba(22, 19, 61, .06); opacity: 0; transform: translateY(16px); transition: opacity .28s ease, transform .28s ease; box-sizing: border-box; }
.ae-ck.is-in { opacity: 1; transform: none; }
.ae-ck__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff3ea; color: #ff6600; }
.ae-ck p { flex: 1; min-width: 0; margin: 0; }
.ae-ck p b { display: block; margin-bottom: 2px; color: #16133d; font-size: 14px; }
.ae-ck p span { color: #5d5b75; }
.ae-ck a { color: #1800ad; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ae-ck__b { flex: none; display: flex; gap: 8px; }
.ae-ck__b button { min-height: 40px; padding: 0 16px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ae-ck__no { border: 1px solid #d3d1e3; background: #fff; color: #4a4868; }
.ae-ck__no:hover { border-color: #1800ad; color: #1800ad; }
.ae-ck__ok { border: 1px solid #1800ad; background: #1800ad; color: #fff; }
.ae-ck__ok:hover { background: #13008c; }
.ae-ck__b button:focus-visible { outline: 2px solid #ff6600; outline-offset: 2px; }
@media (max-width: 640px) {
	.ae-ck { left: 10px; right: 10px; bottom: 10px; width: auto; flex-wrap: wrap; gap: 10px 12px; padding: 14px; }
	.ae-ck__ic { width: 36px; height: 36px; }
	.ae-ck p { flex-basis: calc(100% - 50px); }
	.ae-ck__b { width: 100%; }
	.ae-ck__b button { flex: 1; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .ae-ck { transition: none; } }
@media print { .ae-ck { display: none; } }
