#ft-ads-choice[hidden], #ft-ads-reopen[hidden] { display: none; }
#ft-ads-choice {
    position: fixed; z-index: 99999; bottom: 1rem; left: 1rem;
    box-sizing: border-box; width: min(27rem, calc(100% - 2rem)); max-height: 65vh; overflow: auto;
    padding: 1.15rem 1.3rem; border: 1px solid #c8d1d1; border-radius: .65rem;
    color: #17252d; background: #fff; box-shadow: 0 .3rem 1.5rem #17252d30;
    font: inherit; line-height: 1.45; text-align: left;
}
#ft-ads-choice h2 { margin: 0 0 .45rem; color: inherit; font-size: 1.25rem; line-height: 1.2; }
#ft-ads-choice p { margin: .35rem 0; font-size: .94rem; line-height: 1.4; color: inherit; }
#ft-ads-choice a, .ft-ads-settings { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.ft-ads-settings { appearance: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.site-footer .ft-ads-settings { color: inherit; }
#ft-ads-reopen { text-align: center; padding: .5rem; }
.ft-ads-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.ft-ads-actions button { flex: 1; min-height: 44px; padding: .5rem .75rem; border: 1px solid #17252d; border-radius: .35rem; background: #fff; color: #17252d; font: inherit; font-weight: 650; cursor: pointer; }
.ft-ads-actions [data-ft-ads-select="yes"] { background: var(--orange, #ff713e); color: #17252d; }
.ft-ads-actions [data-ft-ads-select="no"] { background: var(--dark, #17232b); color: #fff; }
.ft-ads-actions button:hover { text-decoration: underline; text-underline-offset: .15em; }
.ft-ads-actions button:focus-visible { outline: 3px solid #17252d; outline-offset: 3px; }
.ft-ads-vendors { display: grid; gap: .35rem; margin: .7rem 0; padding: 0; border: 0; }
.ft-ads-vendors legend { margin-bottom: .2rem; font-weight: 650; }
.ft-ads-vendors label { display: flex; align-items: center; gap: .5rem; min-height: 28px; cursor: pointer; }
.ft-ads-vendors input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #17252d; }
.ft-ads-actions [data-ft-ads-select="selection"] { flex-basis: 100%; }
@media (max-width: 430px) {
    #ft-ads-choice { bottom: .5rem; left: .5rem; width: calc(100% - 1rem); padding: .85rem 1rem; }
}
