.obu-cookie {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 99980;
    width: min(1120px, calc(100% - 28px));
    transform: translateX(-50%) translateY(18px);
    opacity: 0;
    pointer-events: none;
    color: #ffffff;
    transition: opacity .28s ease, transform .28s ease;
}

.obu-cookie.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.obu-cookie__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px 12px 16px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 20%, rgba(215, 230, 196, .14), transparent 34%),
        rgba(20, 27, 22, .72);
    border: 1px solid rgba(215, 230, 196, .20);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .36);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.obu-cookie__text {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .82);
}

.obu-cookie__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(215, 230, 196, .13);
    border: 1px solid rgba(215, 230, 196, .18);
}

.obu-cookie__text strong {
    color: #ffffff;
    font-weight: 950;
}

.obu-cookie__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.obu-cookie__btn {
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    padding: 8px 13px;
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease, background .18s ease;
    white-space: nowrap;
}

.obu-cookie__btn:hover {
    transform: translateY(-1px);
}

.obu-cookie__btn--accept {
    color: #172018;
    background: linear-gradient(135deg, #d7e6c4, #8fa785);
    box-shadow: 0 10px 24px rgba(143, 167, 133, .18);
}

.obu-cookie__btn--decline,
.obu-cookie__btn--details {
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.obu-cookie__btn--decline:hover,
.obu-cookie__btn--details:hover {
    background: rgba(255, 255, 255, .12);
}

.obu-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, .54);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.obu-cookie-modal.is-visible {
    display: flex;
}

.obu-cookie-modal__box {
    width: min(680px, 100%);
    max-height: min(720px, calc(100vh - 44px));
    overflow: auto;
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 8%, rgba(215, 230, 196, .16), transparent 36%),
        linear-gradient(145deg, rgba(31, 38, 32, .97), rgba(12, 16, 13, .97));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
    color: #ffffff;
}

.obu-cookie-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 0;
}

.obu-cookie-modal__head h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.08;
}

.obu-cookie-modal__close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.obu-cookie-modal__body {
    padding: 18px 22px 22px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.62;
}

.obu-cookie-modal__body h3 {
    margin: 18px 0 8px;
    color: #ffffff;
}

.obu-cookie-modal__body p {
    margin: 0 0 10px;
}

.obu-cookie-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
}

.obu-cookie-noscript {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 99970;
    padding: 12px 14px;
    border-radius: 18px;
    color: #fff;
    background: rgba(20, 27, 22, .86);
    border: 1px solid rgba(215, 230, 196, .18);
}

@media (max-width: 760px) {
    .obu-cookie {
        bottom: 12px;
        width: calc(100% - 20px);
    }

    .obu-cookie__inner {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .obu-cookie__text {
        align-items: flex-start;
        font-size: 13px;
    }

    .obu-cookie__actions {
        justify-content: stretch;
    }

    .obu-cookie__btn {
        flex: 1 1 auto;
    }
}