.cookie-consent {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1090;
    display: grid;
    width: min(620px, calc(100vw - 44px));
    padding: 16px;
    border: 1px solid rgba(116, 56, 238, .2);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 64px rgba(50, 25, 110, .2), 0 0 0 1px rgba(255, 255, 255, .8) inset;
    gap: 14px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(18px);
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-icon {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eee4ff, #faf7ff);
    color: #6f20ff;
    place-items: center;
}

.cookie-consent-icon svg {
    width: 27px;
    height: 27px;
}

.cookie-consent-copy strong {
    display: block;
    margin-bottom: 3px;
    color: #18162d;
    font-size: 15px;
    font-weight: 800;
}

.cookie-consent-copy p {
    margin: 0;
    color: #6e7190;
    font-size: 12px;
    line-height: 1.5;
}

.cookie-consent-copy a {
    color: #6424e7;
    font-weight: 700;
    text-underline-offset: 2px;
}

.cookie-consent-button {
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #6424e7, #8f45ff);
    box-shadow: 0 10px 24px rgba(100, 36, 231, .24);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cookie-consent-button:hover {
    box-shadow: 0 13px 30px rgba(100, 36, 231, .32);
    transform: translateY(-1px);
}

.cookie-consent-button:focus-visible {
    outline: 3px solid rgba(100, 36, 231, .28);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 15px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
    }

    .cookie-consent-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .cookie-consent-button {
        width: 100%;
        grid-column: 1 / -1;
    }
}

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