/* Bakiye kampanyası + sol alt satış bildirimleri */
.htr-campaign-backdrop {
    position: fixed;
    inset: 0;
    z-index: 22040;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(6, 8, 14, 0.62);
    backdrop-filter: blur(4px);
}

.htr-campaign-backdrop.is-open,
.htr-campaign-backdrop.is-open[hidden] {
    display: flex !important;
}

.htr-campaign {
    position: relative;
    width: min(420px, 100%);
    background: #16181f;
    border: 1px solid rgba(47, 107, 255, 0.28);
    border-radius: 22px;
    padding: 28px 22px 18px;
    box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.08), 0 18px 50px rgba(0, 40, 140, 0.28);
    color: #fff;
    text-align: center;
}

.htr-campaign-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #d7dbe6;
    cursor: pointer;
}

.htr-campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #2f6bff;
    color: #3b82f6;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.htr-campaign-title {
    margin: 14px 0 18px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #2f6bff;
    text-shadow: 0 0 18px rgba(47, 107, 255, 0.45);
}

.htr-campaign-offers {
    display: grid;
    gap: 10px;
}

.htr-campaign-offer {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: #1e212a;
    border: 1px solid #2a2e38;
    border-radius: 14px;
    padding: 12px 14px;
}

.htr-campaign-check {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #2f6bff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(47, 107, 255, 0.55);
}

.htr-campaign-offer p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #f3f4f6;
}

.htr-campaign-offer strong {
    color: #3b82f6;
}

.htr-campaign-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.htr-campaign-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.38);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.htr-campaign-cta-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.htr-campaign-cta:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.46);
}

.htr-campaign-later {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    border-radius: 999px;
    border: 1px solid #3a4150;
    background: #1c2028;
    color: #d7dbe6;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.htr-campaign-later:hover {
    background: #252a34;
    border-color: #5b6578;
    color: #fff;
}

.htr-etbis-backdrop {
    z-index: 22045;
}

.htr-etbis {
    width: min(440px, 100%);
    border-color: rgba(57, 255, 20, 0.28);
    box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.08), 0 18px 50px rgba(8, 40, 16, 0.32);
}

.htr-etbis-photo {
    display: flex;
    justify-content: center;
    margin: 2px 0 12px;
}

.htr-etbis-photo img {
    width: min(220px, 72%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(57, 255, 20, 0.18));
}

.htr-etbis-badge {
    border-color: #39ff14;
    color: #7dff9a;
}

.htr-etbis-title {
    margin: 12px 0 8px;
    color: #7dff9a;
    text-shadow: 0 0 18px rgba(57, 255, 20, 0.4);
}

.htr-etbis-lead {
    margin: 0 0 16px;
    color: #c5ccd8;
    font-size: 14px;
    line-height: 1.45;
}

.htr-etbis-check {
    background: #16a34a;
    box-shadow: 0 0 16px rgba(57, 255, 20, 0.45);
}

.htr-etbis .htr-campaign-offer strong {
    color: #7dff9a;
}

.htr-etbis-cta {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%) !important;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.38) !important;
}

.htr-etbis-cta:hover {
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.5) !important;
}

.htr-etbis-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 20, 0.28);
    background: rgba(20, 48, 28, 0.55);
    color: #d1ffd9 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.htr-etbis-page:hover {
    background: rgba(28, 64, 38, 0.85);
    color: #fff !important;
}

.sale-toast {
    position: fixed;
    left: 18px;
    bottom: 22px;
    z-index: 12020;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: min(360px, calc(100vw - 36px));
    padding: 10px 14px 10px 10px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    text-decoration: none;
    transform: translateX(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s ease, opacity 0.38s ease;
}

.sale-toast.is-on {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.sale-toast img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: #eef2f7;
}

.sale-toast-body {
    min-width: 0;
}

.sale-toast-title {
    display: block;
    color: #2563eb;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sale-toast-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: #8b93a3;
    font-size: 12px;
}

.sale-toast-time {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sale-toast-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
}

.sale-toast[data-kind="live"] img,
.sale-toast[data-kind="video"] img {
    border-radius: 50%;
}

.sale-toast[data-kind="live"] img {
    box-shadow: 0 0 0 2px #ef4444, 0 0 0 4px rgba(239, 68, 68, 0.22);
}

.sale-toast[data-kind="live"] .sale-toast-badge {
    background: #ef4444;
    color: #fff;
    letter-spacing: 0.04em;
    animation: sale-toast-live-pulse 1.6s ease-in-out infinite;
}

.sale-toast[data-kind="video"] .sale-toast-badge {
    background: #fee2e2;
    color: #b91c1c;
}

.sale-toast[data-kind="live"] .sale-toast-title {
    color: #111827;
}

@keyframes sale-toast-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
}

@media (max-width: 768px) {
    .sale-toast {
        left: 10px;
        bottom: 78px;
        min-width: 0;
        padding: 8px 12px 8px 8px;
    }

    .htr-campaign-title {
        font-size: 22px;
    }

    .htr-etbis-title {
        font-size: 22px;
    }

    .htr-etbis-photo img {
        width: min(180px, 70%);
    }
}
