.analytics-consent {
    position: fixed;
    z-index: 10000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: #202124;
    color: #fff;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .28);
    font-size: 14px;
    line-height: 1.5;
}

.analytics-consent[hidden] {
    display: none;
}

.analytics-consent__content {
    padding-right: 24px;
}

.analytics-consent__content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.analytics-consent__content p {
    margin: 0;
    color: #e8eaed;
}

.analytics-consent__content a {
    color: #ff8790;
    text-decoration: underline;
}

.analytics-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.analytics-consent__button,
.analytics-consent-link {
    font: inherit;
    cursor: pointer;
}

.analytics-consent__button {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #fff;
    border-radius: 5px;
    font-weight: 700;
}

.analytics-consent__button--primary {
    border-color: #ed1c24;
    background: #ed1c24;
    color: #fff;
}

.analytics-consent__button--secondary {
    background: transparent;
    color: #fff;
}

.analytics-consent__button:focus-visible,
.analytics-consent-link:focus-visible {
    outline: 3px solid #ffd166;
    outline-offset: 2px;
}

.analytics-consent-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .analytics-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
        display: block;
        padding: 16px;
    }

    .analytics-consent__content {
        padding: 0 0 14px;
    }

    .analytics-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
