#cookie-monster-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 2147483000;
    width: min(820px, calc(100% - 30px));
    transform: translateX(-50%);
    background: var(--cm-bg);
    color: var(--cm-text);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .38);
    font-family: inherit;
}

.cookie-monster-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 20px;
}

.cookie-monster-text {
    flex: 1 1 auto;
    font-size: 15px;
    line-height: 1.45;
}

.cookie-monster-text a {
    color: var(--cm-link);
    text-decoration: none;
}

.cookie-monster-text a:hover,
.cookie-monster-text a:focus {
    text-decoration: underline;
}

.cookie-monster-button {
    flex: 0 0 auto;
    min-width: 116px;
    padding: 11px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--cm-button);
    color: var(--cm-button-text);
    font: inherit;
    cursor: pointer;
}

.cookie-monster-button:hover,
.cookie-monster-button:focus {
    filter: brightness(.95);
}

@media (max-width: 640px) {
    #cookie-monster-banner {
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .cookie-monster-content {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .cookie-monster-button {
        width: 100%;
    }
}
