/**
 * Homepage featured-live banner (loaded only on index.php).
 * Separate file so updates are not hidden behind a cached style.css.
 */

/* OAuth / public app purpose (visible to crawlers + users) */
.tl-home-app-purpose {
    padding: 18px 0 6px;
}
.tl-home-app-purpose__brand {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text, #f4f4f5);
}
.tl-home-app-purpose__text {
    margin: 0 0 10px;
    max-width: 72ch;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-muted, #a1a1aa);
}
.tl-home-app-purpose__meta {
    margin: 0;
    font-size: 0.82rem;
}
.tl-home-app-purpose__meta a {
    color: var(--brand-soft, #6b9fff);
    font-weight: 600;
}

.tl-spotlight-wrap {
    padding: 20px 0 8px;
}
.tl-hero-live-wrap {
    display: none;
}
.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 {
    /* glass + blue via .tl-glass-chip--live in style.css */
}
.tl-spotlight__pill--live .fa-circle {
    font-size: 0.48rem;
    color: #ef4444;
    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(30, 30, 38, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.16);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .tl-spotlight__pill--cat {
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
    }
}
.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: 12px 14px;
    margin-top: 4px;
    border-radius: 16px;
}
.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;
}
.tl-spotlight__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--brand-soft, #5280ff), var(--brand, #1e56f5));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(30, 86, 245, 0.32);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
    flex-shrink: 0;
}
.tl-spotlight__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(30, 86, 245, 0.42);
    background: linear-gradient(135deg, var(--brand-soft, #5280ff), var(--brand, #1e56f5));
    color: #fff !important;
}
.tl-spotlight__cta-icon {
    display: inline-flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: none;
    color: inherit;
    font-size: 0.62rem;
}
.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-hero-live-wrap {
        display: none !important;
    }
    .tl-spotlight-wrap--mobile {
        display: block;
    }
    .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: row;
        flex-wrap: wrap;
        align-items: center;
    }
    .tl-spotlight__who {
        font-size: 0.8rem;
        flex: 1 1 auto;
        min-width: 0;
    }
    .tl-spotlight__cta {
        width: auto;
        flex-shrink: 0;
    }
    .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;
    }
}

/* ── Desktop live hero (player + chat) ── */
@media (min-width: 769px) {
    .tl-spotlight-wrap--mobile {
        display: none !important;
    }
    .tl-hero-live-wrap {
        display: block;
        padding: 20px 0 8px;
    }
    .tl-hero-live {
        position: relative;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }
    .tl-hero-live__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) min(320px, 30%);
        gap: 10px;
        min-height: 440px;
        height: 440px;
        border-radius: 0;
        overflow: visible;
        transition: opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .tl-hero-live__grid.is-switching {
        opacity: 0.35;
    }
    .tl-hero-live__player-col {
        position: relative;
        min-width: 0;
        height: 100%;
        border-radius: 18px;
        overflow: hidden;
        background: #0a0a0f;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    }
    .tl-hero-live__player-shell {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 440px;
        background: #0a0a0f;
        cursor: pointer;
        overflow: hidden;
        border-radius: 18px;
        --tl-hero-poster: none;
    }
    .tl-hero-live__player-shell::before {
        content: '';
        position: absolute;
        inset: -8%;
        z-index: 0;
        background-image: var(--tl-hero-poster);
        background-size: cover;
        background-position: center;
        filter: blur(18px) brightness(0.45);
        transform: scale(1.05);
        pointer-events: none;
    }
    .tl-hero-live__video {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: center;
        display: block;
        background: transparent;
    }
    .tl-hero-live__shade-bottom {
        position: absolute;
        inset: auto 0 0 0;
        height: 42%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 42%, transparent 100%);
    }
    .tl-hero-live__top-chips {
        position: absolute;
        top: 14px;
        left: 14px;
        z-index: 6;
        display: flex;
        align-items: center;
        gap: 8px;
        pointer-events: none;
    }
    .tl-hero-live__live-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 0.68rem;
    }
    .tl-hero-live__live-badge .fa-circle {
        font-size: 0.48rem;
        animation: tl-spotlight-pulse 1.15s ease-in-out infinite;
    }
    .tl-hero-live__views-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: auto;
        padding: 6px 11px;
        border-radius: 10px;
        font-size: 0.78rem;
        font-weight: 700;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    .tl-hero-live__dock-wrap {
        position: absolute;
        right: 16px;
        bottom: 16px;
        left: 16px;
        z-index: 8;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
        pointer-events: none;
    }
    .tl-hero-live__dock-wrap > * {
        pointer-events: auto;
    }
    .tl-hero-live__dock.tl-glass-panel {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(8, 10, 18, 0.38);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-top-color: rgba(255, 255, 255, 0.22);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 8px 24px rgba(0, 0, 0, 0.32);
        max-width: min(46%, 520px);
        min-width: 0;
    }
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .tl-hero-live__dock.tl-glass-panel {
            background: rgba(10, 12, 20, 0.28);
            backdrop-filter: blur(28px) saturate(180%);
            -webkit-backdrop-filter: blur(28px) saturate(180%);
        }
    }
    .tl-hero-live__dock--left {
        flex: 0 1 auto;
        cursor: pointer;
    }
    .tl-hero-live__dock--right {
        flex: 0 0 auto;
        margin-left: auto;
    }
    .tl-hero-live__dock-row {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .tl-hero-live__dock-nav {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 0.82rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    .tl-hero-live__dock-nav:hover {
        background: rgba(30, 86, 245, 0.55);
        border-color: rgba(255, 255, 255, 0.22);
        transform: scale(1.04);
    }
    .tl-hero-live__player-loading {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.45);
        z-index: 2;
        pointer-events: none;
    }
    .tl-hero-live__player-loading.is-hidden {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease;
    }
    .tl-hero-live__spinner {
        width: 36px;
        height: 36px;
        border: 3px solid rgba(255, 255, 255, 0.15);
        border-top-color: #fff;
        border-radius: 50%;
        animation: tl-hero-spin 0.8s linear infinite;
    }
    @keyframes tl-hero-spin {
        to { transform: rotate(360deg); }
    }
    .tl-hero-live__mute-hint {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 4;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(0, 0, 0, 0.72);
        color: #fff;
        font-size: 0.88rem;
        font-weight: 600;
        cursor: pointer;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    .tl-hero-live__mute-hint.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .tl-hero-live__mute-hint i {
        color: #fbbf24;
        font-size: 1.1rem;
    }
    .tl-hero-live__meta {
        /* legacy selector — see .tl-hero-live__meta.tl-glass-panel */
    }
    .tl-hero-live__meta-left {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1;
    }
    .tl-hero-live__avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(107, 159, 255, 0.45);
        flex-shrink: 0;
    }
    .tl-hero-live__meta-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    .tl-hero-live__streamer {
        font-size: 0.95rem;
        font-weight: 800;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tl-hero-live__title {
        font-size: 0.82rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.88);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }
    .tl-hero-live__category {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.72);
    }
    .tl-hero-live__watch {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: auto;
        height: auto;
        padding: 6px 11px;
        border-radius: 10px;
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.2;
        color: #fff !important;
        text-decoration: none !important;
        background: linear-gradient(135deg, var(--brand-soft, #5280ff), var(--brand, #1e56f5));
        transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
        position: relative;
        z-index: 2;
        box-shadow: 0 4px 14px rgba(30, 86, 245, 0.32);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-sizing: border-box;
    }
    .tl-hero-live__watch:hover {
        transform: translateY(-1px);
        filter: brightness(1.06);
        box-shadow: 0 6px 18px rgba(30, 86, 245, 0.42);
    }
    .tl-hero-live__chat-col {
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: 100%;
        position: relative;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top-color: rgba(255, 255, 255, 0.16);
        background: rgba(14, 16, 22, 0.72);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .tl-hero-live__chat-col.tl-glass-panel {
            background: rgba(22, 24, 32, 0.48);
            backdrop-filter: blur(20px) saturate(165%);
            -webkit-backdrop-filter: blur(20px) saturate(165%);
        }
    }
    .tl-hero-live__cat-img {
        border-radius: 4px;
        object-fit: cover;
    }
    .tl-hero-live__chat-head {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
        font-size: 0.82rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.88);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .tl-hero-live__chat-list {
        flex: 1;
        overflow-y: auto;
        padding: 10px 12px 52px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 0;
        max-height: none;
    }
    .tl-hero-live__chat-line {
        display: flex;
        flex-direction: row;
        direction: rtl;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.82rem;
        line-height: 1.55;
        width: 100%;
    }
    .tl-hero-live__chat-av {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.08);
    }
    .tl-hero-live__chat-main {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px;
        direction: rtl;
    }
    @keyframes tl-hero-chat-intro-from-right {
        from {
            opacity: 0;
            transform: translate3d(1.75rem, 0, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
    .tl-hero-live__chat-line.tl-chat-intro-in {
        animation: tl-hero-chat-intro-from-right 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    @media (prefers-reduced-motion: reduce) {
        .tl-hero-live__chat-line.tl-chat-intro-in {
            animation: none;
        }
    }
    .tl-hero-live__chat-user {
        flex-shrink: 0;
        font-weight: 700;
        color: #a5b4fc;
        white-space: nowrap;
        text-align: right;
    }
    .tl-hero-live__chat-sep {
        color: rgba(255, 255, 255, 0.45);
        margin-inline-start: 1px;
    }
    .tl-hero-live__chat-body {
        flex: 1;
        min-width: 0;
        color: rgba(255, 255, 255, 0.92);
        text-align: right;
        unicode-bidi: plaintext;
        word-break: break-word;
    }
    .tl-hero-live__chat-line .chat-custom-emoji {
        display: inline-block;
        width: 24px;
        height: 24px;
        object-fit: contain;
        vertical-align: middle;
        margin: 0 2px;
        border-radius: 3px;
    }
    .tl-hero-live__chat-line .chat-custom-gif {
        display: inline-block;
        max-width: 120px;
        max-height: 80px;
        vertical-align: middle;
        border-radius: 4px;
    }
    .tl-hero-live__chat-event {
        color: #fbbf24;
    }
    .tl-hero-live__chat-empty {
        margin: auto 0;
        text-align: center;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.45);
        padding: 24px 12px;
    }

    .tl-hero-live__dots {
        position: absolute;
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        z-index: 9;
        display: flex;
        justify-content: center;
        gap: 7px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        pointer-events: auto;
    }
    .tl-hero-live__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;
    }
    .tl-hero-live__dot.is-active {
        width: 22px;
        border-radius: 6px;
        background: #fff;
    }
}

/* Homepage categories — auto marquee when row overflows */
.tl-cat-marquee-wrap {
    width: 100%;
    overflow: hidden;
    padding: 4px 0 2px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
html[dir="rtl"] .tl-cat-marquee-wrap {
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(270deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.tl-cat-marquee-inner {
    display: flex;
    width: max-content;
    will-change: transform;
}
.tl-cat-marquee-wrap.is-active .tl-cat-marquee-inner {
    animation: tl-cat-marquee-ltr var(--tl-cat-marquee-sec, 42s) linear infinite;
}
html[dir="rtl"] .tl-cat-marquee-wrap.is-active .tl-cat-marquee-inner {
    animation-name: tl-cat-marquee-rtl;
}
.tl-cat-marquee-wrap.is-active:hover .tl-cat-marquee-inner {
    animation-play-state: paused;
}
.tl-cat-marquee-wrap.is-paused .tl-cat-marquee-inner {
    animation-play-state: paused;
}
.tl-cat-marquee-track {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding-bottom: 8px;
}
.tl-cat-marquee-track--clone {
    padding-inline-start: 12px;
}
@keyframes tl-cat-marquee-ltr {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}
@keyframes tl-cat-marquee-rtl {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .tl-cat-marquee-wrap.is-active .tl-cat-marquee-inner {
        animation: none;
    }
}

/* Hero dock must stay pinned to bottom of player (not in normal flow) */
@media (min-width: 769px) {
    .tl-hero-live__player-shell {
        isolation: isolate;
    }
    .tl-hero-live__player-shell > .tl-hero-live__dock-wrap {
        position: absolute !important;
        top: auto !important;
        right: 16px !important;
        bottom: 16px !important;
        left: 16px !important;
        width: auto !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* Homepage clips / VODs — glass coming-soon cards */
.tl-coming-soon-card.tl-glass-panel {
    text-align: center;
    padding: 48px 24px;
    border-radius: 16px;
    color: var(--text-muted);
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
}
.tl-coming-soon-card__icon {
    font-size: 2rem;
    opacity: 0.35;
    margin-bottom: 12px;
    display: block;
}
.tl-coming-soon-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text, #f4f4f5);
}

/* Homepage stories row (coming soon) */
.tl-home-stories {
    padding-top: 4px;
    padding-bottom: 8px;
}
.tl-home-stories__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 4px 0 8px;
    min-height: 96px;
}
.tl-home-stories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 96px;
}
.tl-home-stories__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--brand-soft, #6b9fff), var(--brand, #1e56f5));
    box-shadow: 0 4px 14px rgba(30, 86, 245, 0.22);
    opacity: 0.88;
}
.tl-home-stories__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    border: 2px solid rgba(8, 10, 18, 0.9);
    background-color: var(--bg-elev-2, #1a1a22);
    background-size: cover;
    background-position: center;
}
.tl-home-stories__avatar--soon {
    filter: blur(2px) saturate(0.72);
    opacity: 0.62;
    transform: scale(1.04);
}
.tl-home-stories__soon {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brand-soft, #6b9fff);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.92;
    text-align: center;
    line-height: 1.25;
    max-width: 100%;
}
@media (max-width: 600px) {
    .tl-home-stories__ring {
        width: 54px;
        height: 54px;
    }
    .tl-home-stories__avatar {
        width: 48px;
        height: 48px;
    }
    .tl-home-stories__soon {
        font-size: 0.62rem;
    }
    .tl-home-stories__item {
        max-width: 68px;
    }
}

@media (max-width: 768px) {
    .tl-spotlight-wrap--mobile {
        display: block;
    }
}
