.vpe-gcm-likes-wrap {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.vpe-gcm-likes-wrap--gate {
    padding: 1rem;
    border: 1px solid rgba(220, 0, 0, 0.35);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
}

.vpe-gcm-likes-missing {
    font-size: 0.875rem;
    opacity: 0.7;
}

.vpe-gcm-likes-missing--gate {
    opacity: 1;
    color: #dc0000;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(220, 0, 0, 0.4);
    border-radius: 8px;
    background: rgba(220, 0, 0, 0.08);
}

.vpe-gcm-native-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 1px solid #dc0000;
    border-radius: 8px;
    background: #dc0000;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.vpe-gcm-native-like:hover {
    border-color: #ff1a1a;
    background: #ff1a1a;
}

.vpe-gcm-native-like:disabled {
    cursor: default;
    opacity: 0.75;
}

.vpe-gcm-native-like.voted {
    border-color: #198754;
    background: #198754;
}

.vpe-gcm-native-like__icon {
    font-size: 1rem;
    line-height: 1;
}

.vpe-gcm-native-like__count {
    min-width: 1.25rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
}

.vpe-gcm-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.vpe-gcm-modal.show {
    display: flex;
}

.vpe-gcm-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.vpe-gcm-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.vpe-gcm-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
}

.vpe-gcm-modal__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.vpe-gcm-modal__text {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.vpe-gcm-modal__btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #dc0000;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.vpe-gcm-modal__btn:hover {
    background: #ff1a1a;
}

/* CS2: merge the verified like into the existing reactions panel. */
.cs2-engagement-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.cs2-engagement-panel .ks-react {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cs2-engagement-like {
    display: flex;
    flex: 0 0 auto;
    align-self: stretch;
    align-items: center;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cs2-engagement-like .vpe-gcm-likes-wrap,
.cs2-engagement-like .vpe-gcm-likes-wrap--gate {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cs2-engagement-like .vpe-gcm-native-like {
    min-width: 128px;
    min-height: 42px;
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.18);
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cs2-engagement-like .vpe-gcm-native-like:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(255, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .cs2-engagement-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cs2-engagement-panel .ks-react {
        align-items: flex-start;
    }

    .cs2-engagement-like {
        width: 100%;
        padding-top: 12px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .cs2-engagement-like .vpe-gcm-likes-wrap,
    .cs2-engagement-like .vpe-gcm-native-like {
        width: 100%;
    }
}
