.consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    max-width: 27rem;
    padding: 1.5rem 1.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background: rgba(12, 12, 12, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.9);
    color: #fff;
    font-family: inherit;
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-user-select: text;
    user-select: text;
}

.consent.is-open {
    opacity: 1;
    transform: none;
}

.consent__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s, background-color 0.3s;
}

.consent__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.consent__close svg {
    width: 1rem;
    height: 1rem;
}

.consent__close[hidden],
.consent__current[hidden] {
    display: none;
}

.consent__title {
    margin: 0 2rem 0.6rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e8e4dc;
}

.consent__text,
.consent__current {
    margin: 0 0 0.75rem;
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
}

.consent__current {
    color: #9ca3af;
    font-size: 0.8rem;
}

.consent__more {
    display: inline-block;
    color: #e8e4dc;
    font-size: 0.8rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.consent__button {
    height: 2.6rem;
    padding: 0 1rem;
    border: 1px solid rgba(232, 228, 220, 0.55);
    background: rgba(232, 228, 220, 0.08);
    color: #f5f5f4;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.consent__button:hover,
.consent__button:focus-visible {
    background: #e8e4dc;
    border-color: #e8e4dc;
    color: #050505;
    outline: none;
}

@media (min-width: 640px) {
    .consent {
        left: 1.5rem;
        right: auto;
        bottom: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .consent {
        transition: none;
    }
}
