/* Live result strips — empty by default so they don't disturb existing layout. */
.kc-live-strip {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.kc-live-strip.is-active {
    margin: 0.5rem 0 0.75rem 0;
    line-height: normal;
}

.kc-live-banner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px 2px 8px;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.92);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.kc-live-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    animation: kcLivePulse 1.4s ease-in-out infinite;
}
@keyframes kcLivePulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.85); }
    70%  { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.kc-live-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kc-live-card {
    flex: 1 1 180px;
    min-width: 160px;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,251,235,0.95));
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 4px solid #ffc107;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform .15s ease;
    color: #222;
    animation: kcLiveSlideIn .35s ease both;
}
@keyframes kcLiveSlideIn {
    from { transform: translateY(8px); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}
.kc-live-card--double { border-left-color: #198754; }
.kc-live-card--single { border-left-color: #0d6efd; }
.kc-live-card--lucky7 { border-left-color: #ff7a00; }

.kc-live-name {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2a2a2a;
}
.kc-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #dc3545;
    box-shadow: 0 0 6px rgba(220,53,69,0.7);
    animation: kcLivePulse 1.4s ease-in-out infinite;
}

.kc-live-body {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.kc-live-half {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,0.04);
    padding: 3px 7px;
    border-radius: 6px;
}
.kc-live-tag {
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.kc-live-num {
    font-size: 1.05rem;
    font-weight: 800;
    color: #222;
    line-height: 1;
}
.kc-live-pana {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    letter-spacing: 1px;
}
.kc-live-jodi {
    font-size: 0.75rem;
    margin-top: 4px;
    color: #444;
    text-align: right;
}
.kc-live-jodi b {
    font-size: 0.95rem;
    color: #d4006a;
    margin-left: 4px;
}

/* Dark theme tweaks — keep readable on the dark variant of the site. */
[data-bs-theme="dark"] .kc-live-card {
    background: linear-gradient(135deg, rgba(33,37,41,0.92), rgba(60,40,10,0.92));
    color: #f1f1f1;
    border-color: rgba(255,255,255,0.10);
}
[data-bs-theme="dark"] .kc-live-name { color: #ffe9ad; }
[data-bs-theme="dark"] .kc-live-num  { color: #fff; }
[data-bs-theme="dark"] .kc-live-pana { color: #ccc; }
[data-bs-theme="dark"] .kc-live-jodi { color: #ddd; }
[data-bs-theme="dark"] .kc-live-half { background: rgba(255,255,255,0.06); }

@media (max-width: 480px) {
    .kc-live-card { flex: 1 1 100%; }
    .kc-live-num { font-size: 1rem; }
    .kc-live-pana { font-size: 0.78rem; }
}
