.cookie {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 9999;
    width: min(960px, calc(100% - 32px));
    transform: translateX(-50%);
    animation: cookieFadeUp 0.35s ease forwards;
}

.cookie__content {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(18, 22, 28, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cookie__text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.cookie__text a {
    color: #34e88f;
    font-weight: 600;
    text-decoration: none;
}

.cookie__text a:hover {
    color: #58f3a7;
}

.cookie .spacer {
    flex: 1 1 auto;
}

.cookie__btn {
    min-width: 120px;
    height: 42px;
    flex: 0 0 auto;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #34e88f, #1fcf78);
    box-shadow: 0 10px 24px rgba(52, 232, 143, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #07130d;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cookie__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 14px 30px rgba(52, 232, 143, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cookie__btn:focus-visible {
    outline: 3px solid rgba(52, 232, 143, 0.35);
    outline-offset: 3px;
}

.cookie__btn .v-btn__content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes cookieFadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, 14px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 640px) {
    .cookie {
        bottom: 14px;
        width: calc(100% - 24px);
    }

    .cookie__content {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
        border-radius: 16px;
    }

    .cookie .spacer {
        display: none;
    }

    .cookie__text {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }

    .cookie__btn {
        width: 100%;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie {
        animation: none;
    }

    .cookie__btn {
        transition: none;
    }
}
