/**
 * Homepage featured-live banner (loaded only on index.php).
 * Separate file so updates are not hidden behind a cached style.css.
 */
.tl-spotlight-wrap {
    padding: 20px 0 8px;
}
.tl-spotlight {
    position: relative;
    width: 100%;
    isolation: isolate;
    min-height: 280px;
    height: clamp(280px, 42vw, 460px);
    overflow: hidden;
    border-radius: 20px;
    background: #07080d;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 48px rgba(0, 0, 0, 0.55);
}
.tl-spotlight__slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}
.tl-spotlight__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.tl-spotlight__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}
.tl-spotlight__pic {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 8s ease-out;
}
.tl-spotlight__slide.is-active .tl-spotlight__pic {
    transform: scale(1.06);
}
.tl-spotlight__shade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:
        linear-gradient(180deg, rgba(5, 6, 12, 0.72) 0%, rgba(5, 6, 12, 0.15) 38%, rgba(5, 6, 12, 0.05) 52%, rgba(5, 6, 12, 0.88) 100%),
        linear-gradient(90deg, rgba(5, 6, 12, 0.55) 0%, transparent 55%);
    pointer-events: none;
}
html[dir="rtl"] .tl-spotlight__shade {
    background:
        linear-gradient(180deg, rgba(5, 6, 12, 0.72) 0%, rgba(5, 6, 12, 0.15) 38%, rgba(5, 6, 12, 0.05) 52%, rgba(5, 6, 12, 0.88) 100%),
        linear-gradient(270deg, rgba(5, 6, 12, 0.55) 0%, transparent 55%);
}
.tl-spotlight__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 26px 26px;
    box-sizing: border-box;
}
.tl-spotlight__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.tl-spotlight__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.tl-spotlight__pill--live {
    color: #fff;
    background: rgba(239, 68, 68, 0.22);
    border: 1px solid rgba(248, 113, 113, 0.65);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.25);
}
.tl-spotlight__pill--live .fa-circle {
    font-size: 0.48rem;
    animation: tl-spotlight-pulse 1.15s ease-in-out infinite;
}
@keyframes tl-spotlight-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.28; }
}
.tl-spotlight__pill--cat {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}
.tl-spotlight__mid {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6px;
    min-height: 0;
}
.tl-spotlight__title {
    margin: 0;
    max-width: 720px;
    max-width: 92%;
    font-size: clamp(1.25rem, 3.2vw, 2.05rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tl-spotlight__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 4px;
}
.tl-spotlight__who {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
}
.tl-spotlight__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
}
.tl-spotlight__name {
    font-weight: 600;
}
.tl-spotlight__verified {
    font-size: 0.82rem;
}
.tl-spotlight__views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.tl-spotlight__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0a0a0f !important;
    text-decoration: none !important;
    background: #fff;
    border: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.tl-spotlight__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    background: #f4f4f8;
}
.tl-spotlight__cta-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(30, 86, 245, 0.12);
    color: var(--brand, #1e56f5);
    font-size: 0.72rem;
}
.tl-spotlight__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 16, 0.55);
    color: #fff;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.tl-spotlight__nav:hover {
    background: rgba(30, 86, 245, 0.85);
    border-color: rgba(255, 255, 255, 0.22);
}
.tl-spotlight__nav--prev {
    left: 14px;
}
.tl-spotlight__nav--next {
    right: 14px;
}
html[dir="rtl"] .tl-spotlight__nav--prev {
    left: auto;
    right: 14px;
}
html[dir="rtl"] .tl-spotlight__nav--next {
    right: auto;
    left: 14px;
}
.tl-spotlight__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tl-spotlight__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.25s ease, width 0.25s ease, transform 0.2s ease;
}
.tl-spotlight__dot.is-active {
    width: 22px;
    border-radius: 6px;
    background: #fff;
}

@media (max-width: 768px) {
    .tl-spotlight {
        min-height: 260px;
        height: clamp(260px, 56vw, 400px);
        border-radius: 16px;
    }
    .tl-spotlight__inner {
        padding: 16px 16px 20px;
    }
    .tl-spotlight__title {
        font-size: clamp(1.02rem, 4.2vw, 1.35rem);
    }
    .tl-spotlight__bottom {
        flex-direction: column;
        align-items: stretch;
    }
    .tl-spotlight__who {
        font-size: 0.8rem;
    }
    .tl-spotlight__cta {
        width: 100%;
        justify-content: center;
        background: linear-gradient(135deg, var(--brand-soft, #5280ff), var(--brand, #1e56f5)) !important;
        color: #fff !important;
        box-shadow: 0 8px 22px rgba(30, 86, 245, 0.38);
    }
    .tl-spotlight__cta:hover {
        background: linear-gradient(135deg, #6a98ff, var(--brand-strong, #1245d6)) !important;
        color: #fff !important;
    }
    .tl-spotlight__cta-icon {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
    }
    .tl-spotlight__nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .tl-spotlight__nav--prev {
        left: 8px;
    }
    .tl-spotlight__nav--next {
        right: 8px;
    }
    html[dir="rtl"] .tl-spotlight__nav--prev {
        right: 8px;
        left: auto;
    }
    html[dir="rtl"] .tl-spotlight__nav--next {
        left: 8px;
        right: auto;
    }
    .tl-spotlight__dots {
        bottom: 10px;
    }
}
