/* Live platform analytics bar — top social proof */

.eh-live {
    --eh-live-bg: linear-gradient(100deg, #0c3d33 0%, #145c4c 48%, #0f4a3d 100%);
    --eh-live-ink: #f4f7f5;
    --eh-live-muted: rgba(244, 247, 245, 0.72);
    --eh-live-gold: #d4b06a;
    position: relative;
    z-index: 60;
    background: var(--eh-live-bg);
    color: var(--eh-live-ink);
    border-bottom: 1px solid rgba(212, 176, 106, 0.28);
    box-shadow: 0 8px 24px rgba(8, 28, 24, 0.18);
}

.eh-live-inner {
    max-width: var(--container, 1728px);
    margin: 0 auto;
    padding: 0.55rem var(--gutter-mobile, 16px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(12rem, 0.9fr) auto;
    gap: 0.75rem 1rem;
    align-items: center;
}

.eh-live-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 9.5rem;
}

.eh-live-pulse {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #3dde9a;
    box-shadow: 0 0 0 0 rgba(61, 222, 154, 0.55);
    animation: eh-live-pulse 1.8s ease-out infinite;
    flex: 0 0 auto;
}

@keyframes eh-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 222, 154, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(61, 222, 154, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 222, 154, 0); }
}

.eh-live-kicker {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--eh-live-gold);
}

.eh-live-title {
    margin: 0.1rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.eh-live-metrics {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 0.1rem;
}

.eh-live-metric {
    flex: 0 0 auto;
    min-width: 5.6rem;
    padding: 0.35rem 0.55rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

a.eh-live-metric:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.eh-live-metric strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.15;
}

.eh-live-metric span {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--eh-live-muted);
    white-space: nowrap;
}

.eh-live-feed {
    min-width: 0;
}

.eh-live-feed p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--eh-live-muted);
}

.eh-live-feed em {
    font-style: normal;
    font-weight: 700;
    color: var(--eh-live-gold);
    margin-right: 0.35rem;
}

.eh-live-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--eh-live-gold);
    color: #10241f;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.eh-live-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

@media (max-width: 1100px) {
    .eh-live-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "brand metrics cta"
            "feed feed feed";
    }
    .eh-live-brand { grid-area: brand; }
    .eh-live-metrics { grid-area: metrics; }
    .eh-live-cta { grid-area: cta; }
    .eh-live-feed { grid-area: feed; }
}

@media (max-width: 720px) {
    .eh-live-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand cta"
            "metrics metrics"
            "feed feed";
        gap: 0.55rem;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
    .eh-live-title { font-size: 0.78rem; }
    .eh-live-metric { min-width: 5.1rem; }
    .eh-live-cta { font-size: 0.72rem; padding-inline: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    .eh-live-pulse { animation: none; }
}
