.ads-preferences[hidden], .ads-preferences [hidden], [data-ads-settings][hidden], [data-ads-policy][hidden] { display: none !important; }
[data-ads-settings] { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: .2em; }
.ads-preferences { position: fixed; z-index: 55; bottom: 1rem; right: 1rem; width: min(31rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: 1.3rem; border: 1px solid #56616a; border-radius: .6rem; background: #141a1f; color: #fff; box-shadow: 0 5px 30px #0006; font: 15px/1.5 Arial, sans-serif; }
.ads-preferences h2 { margin: 0 0 .6rem; font-size: 1.35rem; line-height: 1.2; letter-spacing: normal; color: white; }
.ads-preferences p { font: inherit; margin: .5rem 0 .8rem; color: #e1e7eb; }
.ads-preferences fieldset { padding: 0; border: 0; margin: .7rem 0; }
.ads-preferences legend { font-weight: bold; font-size: .9rem; }
.ads-preferences label { display: flex; align-items: center; gap: .55rem; padding: .35rem 0; cursor: pointer; }
.ads-preferences input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #ff793c; }
.ads-preferences .ads-links { font-size: .86rem; }
.ads-links a { color: #b9e9f2; text-decoration: underline; }
.ads-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.ads-preferences button { cursor: pointer; border: 1px solid #9da8ae; background: #242c32; color: white; font-size: .9rem; font-weight: 600; padding: .65rem .4rem; border-radius: .25rem; min-height: 42px; }
.ads-preferences button:hover { background: #37424a; }
.ads-actions [data-choice="selected"] { grid-column: 1 / -1; }
.ads-preferences [data-choice="close"] { margin-top: .5rem; width: 100%; }
@media (max-width: 700px) { .ads-preferences { bottom: max(.5rem, env(safe-area-inset-bottom)); right: .5rem; width: calc(100% - 1rem); padding: 1rem; max-height: calc(100dvh - 1.5rem); } }
