:root {
    --tsg-cookie-accent: var(--site-accent, #ff7591);
    --tsg-cookie-accent-2: var(--site-accent-2, #fe9544);
    --tsg-cookie-bg: #202430;
}

.tsg-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.tsg-cookie__box {
    width: min(980px, 100%);
    display: flex;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    background: linear-gradient(140deg, rgba(66, 72, 84, 0.48) 0%, rgba(44, 49, 61, 0.44) 100%);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    color: #e9edf7;
    padding: 14px 14px 14px 16px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tsg-cookie.is-hide .tsg-cookie__box {
    opacity: 0;
    transform: translateY(10px);
}

.tsg-cookie__content {
    flex: 1 1 auto;
    min-width: 0;
}

.tsg-cookie__title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
}

.tsg-cookie__text {
    font-size: 13px;
    line-height: 1.45;
    color: rgba(234, 239, 250, 0.9);
}

.tsg-cookie__meta {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(214, 221, 239, 0.85);
}

.tsg-cookie__meta a {
    color: #9cc0ff;
    text-decoration: none;
}

.tsg-cookie__meta a:hover {
    text-decoration: underline;
}

.tsg-cookie__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.tsg-cookie__btn {
    border: 0;
    border-radius: 11px;
    height: 40px;
    min-width: 124px;
    padding: 0 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--tsg-cookie-accent) 0%, var(--tsg-cookie-accent-2) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.12s ease, opacity 0.16s ease, filter 0.16s ease;
}

.tsg-cookie__btn:hover {
    filter: brightness(1.06);
}

.tsg-cookie__btn:active {
    transform: translateY(1px);
}

/* Solution (Pink-like) */
.tsg-cookie--solution .tsg-cookie__box {
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.16);
}

.tsg-cookie--solution .tsg-cookie__btn {
    border-radius: 12px;
    text-transform: uppercase;
    font-size: 12px;
}

/* Standart */
.tsg-cookie--standart .tsg-cookie__box {
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(72, 78, 90, 0.44) 0%, rgba(48, 53, 66, 0.42) 100%);
}

.tsg-cookie--standart .tsg-cookie__btn {
    border-radius: 6px;
    height: 38px;
    font-size: 12px;
}

/* GrayMound */
.tsg-cookie--graymound .tsg-cookie__box {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(70, 75, 87, 0.45) 0%, rgba(46, 51, 62, 0.43) 100%);
}

.tsg-cookie--graymound .tsg-cookie__btn {
    border-radius: 8px;
    height: 38px;
    font-size: 12px;
}

@media (max-width: 820px) {
    .tsg-cookie__box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }

    .tsg-cookie__actions {
        width: 100%;
    }

    .tsg-cookie__btn {
        width: 100%;
        min-width: 0;
    }
}
