/* /category/{slug} landing page */
.browse-header:has(.tl-cat-hero) { display: block; }

.tl-cat-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    border-radius: 24px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(30, 86, 245, 0.18), transparent 60%),
        rgba(22, 22, 26, 0.35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tl-cat-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.tl-cat-crumb a { color: var(--text-muted); text-decoration: none; }
.tl-cat-crumb a:hover { color: var(--brand-soft, #5280ff); }
.tl-cat-crumb [aria-current] { color: var(--text); font-weight: 700; }

.tl-cat-hero__row {
    display: flex;
    gap: clamp(14px, 2.5vw, 24px);
    align-items: flex-start;
}
.tl-cat-hero__art { flex: 0 0 auto; }
.tl-cat-hero__art img {
    display: block;
    width: clamp(78px, 11vw, 120px);
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.tl-cat-hero__copy { min-width: 0; }
.tl-cat-hero__copy h1 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3.2vw, 1.9rem);
    font-weight: 900;
    line-height: 1.25;
    color: var(--text);
}
.tl-cat-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.tl-cat-hero__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.tl-cat-hero__stat .fa-circle { font-size: 0.5rem; }
.tl-cat-hero__stat.is-live { color: #fca5a5; border-color: rgba(239, 68, 68, 0.35); background: rgba(239, 68, 68, 0.12); }
.tl-cat-hero__stat.is-live .fa-circle { color: #ef4444; }
.tl-cat-hero__lead {
    margin: 0;
    max-width: 52rem;
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--text-muted);
}

.tl-cat-section { margin-top: 34px; }
.tl-cat-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}
.tl-cat-section__title i { color: var(--brand-soft, #5280ff); }

.tl-cat-streamers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
}
.tl-cat-streamer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.tl-cat-streamer:hover { transform: translateY(-2px); border-color: rgba(82, 128, 255, 0.45); }
.tl-cat-streamer img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
}
.tl-cat-streamer.is-live img { border-color: #ef4444; }
.tl-cat-streamer__name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.86rem;
    font-weight: 700;
}
.tl-cat-streamer__meta { font-size: 0.74rem; color: var(--text-muted); }
.tl-cat-streamer__live {
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: #ef4444;
}

.tl-cat-faq__item {
    margin-bottom: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tl-cat-faq__item summary {
    cursor: pointer;
    padding: 13px 16px;
    font-weight: 700;
    color: var(--text);
    list-style-position: inside;
}
.tl-cat-faq__item p {
    margin: 0;
    padding: 0 16px 14px;
    line-height: 1.85;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.tl-cat-faq__more { margin: 14px 0 0; font-size: 0.88rem; }
.tl-cat-faq__more a { color: var(--brand-soft, #5280ff); text-decoration: none; font-weight: 700; }

[data-theme="light"] .tl-cat-hero {
    background: radial-gradient(90% 80% at 0% 0%, rgba(30, 86, 245, 0.1), transparent 60%), rgba(252, 252, 253, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .tl-cat-hero__stat,
[data-theme="light"] .tl-cat-streamer,
[data-theme="light"] .tl-cat-faq__item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 560px) {
    .tl-cat-hero__art img { width: 72px; }
    .tl-cat-streamers { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}
