/**
 * Cumhurbaşkanlığı Fors — site geneli CANLI göstergesi (tek kaynak)
 * Küçük boyut + belirgin bilinçaltı pulse.
 */

:root {
    --hs-live-seal-url: url('/assets/img/hs-live-seal.svg');
}

@keyframes hsLiveSealDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.68;
        filter: brightness(0.92);
        box-shadow:
            0 0 0 0 rgba(255, 196, 58, 0.62),
            0 0 2px rgba(255, 180, 50, 0.38);
    }
    50% {
        transform: scale(1.16);
        opacity: 1;
        filter: brightness(1.24);
        box-shadow:
            0 0 0 4px rgba(255, 196, 58, 0),
            0 0 6px rgba(255, 210, 70, 0.72),
            0 0 10px rgba(255, 150, 40, 0.34);
    }
}

@keyframes hsLiveSealDotSync {
    0% { transform: scale(1); }
    40% { transform: scale(1.28); filter: brightness(1.35); }
    100% { transform: scale(1); filter: brightness(1); }
}

@keyframes hsLiveBadgeBreathe {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(227, 6, 19, 0.28);
    }
    50% {
        box-shadow:
            0 2px 14px rgba(227, 6, 19, 0.42),
            0 0 0 1px rgba(227, 6, 19, 0.14);
    }
}

/* ── Ortak fors ── */
.hs-live-seal,
.hs-hot-badge-pulse,
.hs-hot-poll__live-dot,
.hs-live-pulse__dot,
.hs-live-hero__dot,
.hs-nav-live-dot,
.hs-results-hub__kicker-dot,
.hs-gundem-ticker__live-dot,
.hs-main-canli-dot,
.nb-header__pulse-dot {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    vertical-align: middle;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background-color: transparent !important;
    background-image: var(--hs-live-seal-url) !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    animation: hsLiveSealDotPulse 1.45s ease-in-out infinite !important;
    will-change: transform, opacity, box-shadow;
}

.hs-live-pulse__dot.hs-live-dot-sync,
.hs-hot-badge-pulse.hs-live-dot-sync {
    animation: hsLiveSealDotSync 0.55s ease-out !important;
}

.nb-header__pulse-dot,
.hs-nav-live-dot,
.hs-gundem-ticker__live-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
    max-width: 6px !important;
    max-height: 6px !important;
}

.hs-hot-badge-pulse,
.hs-live-hero__dot,
.hs-hot-poll__live-dot,
.hs-results-hub__kicker-dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
}

.hs-live-pulse__dot,
.hs-main-canli-dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
}

.hs-live-pulse--lg .hs-live-pulse__dot {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;
    max-width: 9px !important;
    max-height: 9px !important;
}

body.hs-home-final-v1 .hs-hot-poll__vote-badge--live {
    animation: hsLiveBadgeBreathe 2.1s ease-in-out infinite;
}

body.hs-home-final-v1 .hs-hot-poll__vote-badge--live .hs-hot-badge-pulse,
body.hs-home-final-v1 .hs-hot-badge-pulse,
body.hs-home-final-v1 .hs-hot-poll__live-dot,
body.hs-home-final-v1 .hs-hot-poll__activity.hs-live-pulse .hs-live-pulse__dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
    background-image: var(--hs-live-seal-url) !important;
    background-color: transparent !important;
    animation: hsLiveSealDotPulse 1.45s ease-in-out infinite !important;
}

body.hs-home-final-v1 .hs-hot-poll__activity.hs-live-pulse .hs-live-pulse__dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
}

.nb-trends-card__map-badge::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    max-width: 6px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    background-image: var(--hs-live-seal-url) !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    animation: hsLiveSealDotPulse 1.45s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
    .hs-live-seal,
    .hs-hot-badge-pulse,
    .hs-hot-poll__live-dot,
    .hs-live-pulse__dot,
    .hs-live-hero__dot,
    .hs-nav-live-dot,
    .hs-results-hub__kicker-dot,
    .hs-gundem-ticker__live-dot,
    .hs-main-canli-dot,
    .nb-header__pulse-dot,
    .nb-trends-card__map-badge::before,
    body.hs-home-final-v1 .hs-hot-poll__vote-badge--live {
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        box-shadow: 0 0 3px rgba(255, 190, 60, 0.4) !important;
    }
}
