.bc-livestats {
    width: 100%;
    margin: 28px 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.bc-livestats__header {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 16px;
    color: #fff;
    background: #222;
    font-size: 15px;
    line-height: 1.3;
}

.bc-livestats__live-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #e00000;
    box-shadow: 0 0 0 0 rgba(224, 0, 0, .55);
    animation: bc-livestats-pulse 1.8s infinite;
}

.bc-livestats__frame-wrap {
    position: relative;
    width: 100%;
    background: #fff;
}

.bc-livestats__frame {
    display: block;
    width: 100%;
    height: var(--bc-livestats-height, 950px);
    border: 0;
    background: #fff;
}

.bc-livestats__footer {
    padding: 11px 16px;
    text-align: center;
    border-top: 1px solid #eceff2;
    background: #f7f8fa;
}

.bc-livestats__footer a {
    font-weight: 700;
    text-decoration: none;
}

.bc-livestats-error {
    padding: 12px;
    border-left: 4px solid #b32d2e;
    background: #fcf0f1;
}

@keyframes bc-livestats-pulse {
    70% { box-shadow: 0 0 0 8px rgba(224, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 0, 0, 0); }
}

@media (max-width: 767px) {
    .bc-livestats {
        margin: 20px 0;
        border-radius: 8px;
    }

    .bc-livestats__frame {
        height: var(--bc-livestats-mobile-height, 760px);
    }

    .bc-livestats__header {
        padding: 9px 12px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-livestats__live-dot {
        animation: none;
    }
}
