#hs-ads-config {
    margin: 0 auto;
    max-width: 76rem;
    padding: .75rem 1.25rem;
}

#hs-ads-settings {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: .35rem 0;
    text-decoration: underline;
}

#hs-ads-choices {
    background: #fff;
    border: 1px solid #bdc5cd;
    border-radius: .75rem;
    box-sizing: border-box;
    color: #17212b;
    inline-size: min(28rem, 100%);
    padding: 1rem;
}

#hs-ads-config[data-checkout="no"] #hs-ads-choices {
    box-shadow: 0 4px 20px rgb(0 0 0 / 16%);
    inset-block-end: 1rem;
    inset-inline-end: 1rem;
    inline-size: min(28rem, calc(100% - 2rem));
    max-block-size: calc(100dvh - 2rem);
    overflow: auto;
    position: fixed;
    z-index: 1000;
}

#hs-ads-choices p {
    margin: .5rem 0 .75rem;
}

#hs-ads-choices button {
    background: #fff;
    border: 1px solid #52616f;
    border-radius: .35rem;
    color: inherit;
    cursor: pointer;
    font: inherit;
    margin: .25rem .35rem .25rem 0;
    min-block-size: 2.75rem;
    padding: .35rem .65rem;
}

#hs-ads-config :focus-visible {
    outline: 2px solid #245ca5;
    outline-offset: 3px;
}
