.ad-slot[hidden], .ad-consent[hidden] { display: none !important; }
.ad-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 100%; margin: 18px auto; }
.ad-label { color: #aab6c6; font: 10px/1.5 system-ui, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.ad-content { flex: none; }
.ad-preview { box-sizing: border-box; display: grid; place-content: center; text-align: center; border: 1px dashed #7c8fa7; color: #d0d8e5; font: 14px system-ui; background: #14202f; }
.ad-consent [data-ad-reload-note] { font-size: 12px; color: #aab6c6; }
.game-with-ads { min-width: 0; }
.game-with-ads > main { min-width: 0; }
.ad-slot[data-ad-placement="sidebar"] { margin: 28px 0 0; }
.ad-consent { width: min(100% - 32px, 780px); margin: 20px auto; padding: 18px 20px; background: #14202f; color: #d8e0eb; border: 1px solid #b98a4566; border-radius: 12px; font: 14px/1.6 system-ui, sans-serif; }
.ad-consent h2 { margin: 0 0 8px; color: #f5f0e8; font: 600 18px/1.4 system-ui, sans-serif; }
.ad-consent p { margin: 0 0 12px; }
.ad-consent a { color: #ffce7a; text-decoration: underline; text-underline-offset: 3px; }
.ad-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ad-actions button { min-height: 44px; padding: 10px 18px; border: 1px solid #b98a4580; background: #1c2c3f; color: #f5f0e8; border-radius: 6px; font: 600 14px/1.4 system-ui, sans-serif; cursor: pointer; }
.ad-actions button:hover { background: #283c53; }
.ad-actions button:focus-visible, #advertising-settings:focus-visible { outline: 2px solid #ffce7a; outline-offset: 4px; }
#advertising-settings { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#ad-choice-status { font-size: 13px; color: #aab6c6; }
@media (min-width: 1440px) {
  body.has-sidebar-ad .game-with-ads { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; max-width: 1440px; padding: 0 24px; margin: auto; }
}
@media (max-width: 360px) { .ad-consent { padding: 16px; } .ad-actions { flex-direction: column; } }
