.analytics-consent[hidden], .analytics-consent-settings[hidden] { display: none !important; }
.analytics-consent {
    position: fixed;
    z-index: 10000;
    inset: auto 8px 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 24px;
    width: calc(100% - 16px);
    max-width: 600px;
    margin-inline: auto;
    max-height: 50dvh;
    overflow-y: auto;
    padding: 8px 12px 8px 24px;
    border: 1px solid #ded8e4;
    border-radius: 999px;
    background: #fff;
    color: #30263c;
    box-shadow: 0 -4px 20px #19121f14;
    font: 400 13px/18px "Open Sans", sans-serif;
}
.analytics-consent .analytics-consent__title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.analytics-consent .analytics-consent__text { flex: 1; min-width: 0; margin: 0; font: inherit; }
.analytics-consent .analytics-consent__policy { color: inherit; font: inherit; text-decoration: none; }
.analytics-consent .analytics-consent__policy:hover { text-decoration: underline; }
.analytics-consent--advertising { flex-wrap: wrap; gap: 12px; border-radius: 24px; padding: 16px 20px; }
.analytics-consent--advertising .analytics-consent__text { flex-basis: 100%; }
.analytics-consent [hidden] { display: none !important; }
.analytics-consent__details { flex-basis: 100%; margin: 0; padding: 0; border: 0; min-width: 0; }
.analytics-consent--advertising .analytics-consent__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
.analytics-consent--advertising .analytics-consent__button { min-width: 0; padding-inline: 8px; overflow-wrap: anywhere; }
.analytics-consent__advertising { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; cursor: pointer; }
.analytics-consent__advertising input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: #61c582; }
.analytics-consent__advertising input:focus-visible { outline: 2px solid #307bff; outline-offset: 3px; }
.analytics-consent__actions { display: flex; flex: 0 0 auto; gap: 10px; }
.analytics-consent .analytics-consent__button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #61c582;
    border-radius: 999px;
    background: #61c582;
    color: #19121f;
    font: 600 14px/20px "Open Sans", sans-serif;
    text-align: center;
    cursor: pointer;
}
.analytics-consent .analytics-consent__button:hover { background: #7ad397; border-color: #7ad397; }
html:not(.-dark_theme) .analytics-consent [data-analytics-choice="granted"], html:not(.-dark_theme) .analytics-consent [data-analytics-save] { color: #fff; }
.analytics-consent .analytics-consent__button--secondary { border-color: transparent; background: #f9f7fb; color: inherit; }
.analytics-consent .analytics-consent__button--secondary:hover { border-color: transparent; background: #f2eef5; }
.analytics-consent__button:focus-visible, .analytics-consent__policy:focus-visible, .analytics-consent-settings:focus-visible { outline: 2px solid #307bff; outline-offset: 3px; }
.analytics-consent-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
.analytics-consent-settings:hover { text-decoration: underline; }
.privacy-cookie-settings { margin-top: 16px; color: #30253d; text-align: center; }
.privacy-cookie-settings .analytics-consent-settings { min-height: 44px; font: 600 14px/20px "Open Sans", sans-serif; text-decoration: underline; }
.privacy-cookie-settings .analytics-consent-settings:hover { text-decoration: none; }
html.-dark_theme .privacy-cookie-settings { color: #e1dae9; }
html.-dark_theme .analytics-consent { background: #30263c; color: #e5deed; border-color: #54475e; }
html.-dark_theme .analytics-consent__button--secondary { background: #372c44; }
html.-dark_theme .analytics-consent__button--secondary:hover { background: #40334d; }
@media (max-width: 767px) {
    .analytics-consent { flex-wrap: wrap; gap: 10px; padding: 12px 16px; max-height: 60dvh; border-radius: 24px; }
    .analytics-consent .analytics-consent__text { flex-basis: 100%; }
    .analytics-consent__actions { flex: 1; }
    .analytics-consent .analytics-consent__button { flex: 1; padding-inline: 10px; }
}
@media (max-width: 420px) {
    .analytics-consent--advertising .analytics-consent__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-consent--advertising [data-analytics-all], .analytics-consent--advertising [data-analytics-save] { grid-column: 1 / -1; }
}
