/* ========================================================
   BROZ TV VIP - WEB MEDIA PLAYER STYLESHEET
   Design Ultra-Moderno Brasil VIP (Verde Neon, Amarelo Ouro, Azul Real e Branco)
   ======================================================== */

/* Fontes Inter/Outfit agora são carregadas via <link> não-bloqueante no player.html
   (o @import aqui travava a primeira pintura da tela, principalmente no EXE/WebView2). */

:root {
    /* ========================================================
       DESIGN SYSTEM MASTER: DARK SLATE & GLASSMORPHISM VIP
       Padrão Internacional (Apple TV / Netflix / HBO Max)
       ======================================================== */
    --bg-base: #070b14;
    --bg-surface: #0e1726;
    --bg-sidebar: #0a1120;
    --bg-card: rgba(13, 21, 38, 0.6);
    --bg-card-hover: rgba(20, 32, 58, 0.85);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-active: rgba(0, 255, 136, 0.7);
    
    /* Acentos Cirúrgicos de Alta Tecnologia */
    --accent: #00ff88;
    --accent-glow: #00ff88;
    --accent-cyan: #00e5ff;
    --accent-gradient: linear-gradient(135deg, #00ff88 0%, #00e5ff 100%);
    --gold: #ffb703;
    --gold-gradient: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    
    /* Tipografia & Hierarquia de Contraste */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --status-ok: #00ff88;
    --glass-blur: blur(24px);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --smooth-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 50% 35%, #0e1726 0%, #070b14 100%);
    background-color: var(--bg-base);
    color: var(--text-main);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}

/* TOP NAVBAR */
.player-navbar {
    height: 68px;
    background: rgba(5, 14, 26, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-badge img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.brand-badge strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-badge strong span {
    color: var(--accent-glow);
}

.nav-categories {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 20px;
}

.cat-tab {
    padding: 8px 18px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-tab:hover {
    color: #fff;
    background: rgba(0, 214, 108, 0.16);
}

.cat-tab.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: var(--accent-glow);
    box-shadow: 0 4px 14px rgba(0, 214, 108, 0.4);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-box {
    position: relative;
    width: 260px;
}

.search-box input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease;
}

.search-box input:focus {
    border-color: var(--accent-glow);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 214, 108, 0.3);
}

.search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.user-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--status-ok);
}

.user-status-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-ok);
    box-shadow: 0 0 8px var(--status-ok);
}

/* MAIN LAYOUT */
.player-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* SIDEBAR CATEGORIES */
.sidebar {
    width: 280px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-heading {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 8px 14px;
}

.category-item {
    padding: 11px 16px;
    border-radius: 10px;
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.category-item:hover {
    background: rgba(0, 214, 108, 0.16);
    color: #fff;
}

.category-item.active {
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 214, 108, 0.35);
}

/* CONTENT GRID */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background-image: 
        radial-gradient(ellipse at 50% 10%, rgba(0, 214, 108, 0.16) 0%, transparent 60%);
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}

.media-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ========================================================
   MENU DE CONTEXTO DO VÍDEO (BOTÃO DIREITO NO PLAYER)
   ======================================================== */
.video-context-menu {
    position: absolute;
    z-index: 99999;
    background: rgba(4, 20, 22, 0.96);
    border: 1px solid rgba(0, 214, 108, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 214, 108, 0.25);
    border-radius: 14px;
    padding: 8px;
    min-width: 240px;
    backdrop-filter: blur(16px);
    animation: vcmFadeIn 0.18s ease-out;
}

@keyframes vcmFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.vcm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}

.vcm-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 0.5px;
}

.vcm-lock-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.vcm-lock-status.unlocked {
    background: rgba(0, 214, 108, 0.2);
    color: #00ff88;
}

.vcm-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vcm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    width: 100%;
}

.vcm-item:hover,
.vcm-item:focus {
    background: rgba(0, 214, 108, 0.2);
    color: #00ff88;
    transform: translateX(3px);
}

.vcm-unlock-box {
    background: #041416;
    border: 1px solid var(--accent-glow);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 214, 108, 0.35);
    border-radius: 20px;
    padding: 32px;
    max-width: 440px;
    width: 90%;
    margin: auto;
    position: relative;
    text-align: center;
    color: #fff;
}

.vcm-unlock-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.vcm-unlock-box h3 {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.vcm-unlock-box p {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.4;
}

.vcm-input-row {
    display: flex;
    gap: 10px;
}

.vcm-input-row input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 1.05rem;
    text-align: center;
    letter-spacing: 2px;
    outline: none;
}

.vcm-input-row input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

.vcm-unlock-err {
    margin-top: 12px;
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 700;
}

.vcm-track-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.vcm-track-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.vcm-track-btn:hover {
    background: rgba(0, 214, 108, 0.2);
    border-color: #00ff88;
    color: #00ff88;
}

.vcm-track-btn.active {
    background: linear-gradient(135deg, rgba(0, 214, 108, 0.3), rgba(0, 135, 68, 0.3));
    border-color: #ffd700;
    color: #ffd700;
}

/* Filtros Avançados no Catálogo VOD */
.vod-filter-select {
    background: rgba(8, 20, 24, 0.9);
    border: 1px solid var(--border-color);
    color: #e5e7eb;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vod-filter-select:hover,
.vod-filter-select:focus {
    border-color: var(--accent-glow);
    color: #00ff88;
    background: rgba(4, 20, 22, 0.98);
}

.vod-filter-select option {
    background: #041416;
    color: #fff;
}

/* Card SVG Cache & Carregamento Otimizado de Pôsteres */
.media-poster-box {
    background: radial-gradient(circle at center, #07191d 0%, #030e10 100%);
    contain: paint;
}

.media-poster {
    content-visibility: auto;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.media-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--accent-glow);
    box-shadow: 0 12px 30px rgba(0, 214, 108, 0.35);
    background: var(--bg-card-hover);
}

.media-card:focus-visible,
.media-card.dpad-focus {
    outline: none;
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.7), 0 12px 32px rgba(0, 214, 108, 0.45) !important;
    transform: translateY(-6px) scale(1.04) !important;
    z-index: 5;
}

.live-channel-row:focus-visible,
.live-channel-row.dpad-focus {
    outline: none;
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 2px #ffd700, 0 4px 16px rgba(0, 214, 108, 0.4) !important;
    background: rgba(0, 214, 108, 0.22) !important;
}

.episode-card:focus-visible,
.episode-card.dpad-focus {
    outline: none;
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.7), 0 8px 24px rgba(0, 214, 108, 0.35) !important;
    transform: scale(1.02);
}

.media-poster-box {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #150924;
    overflow: hidden;
    position: relative;
}

.media-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.media-card:hover .media-poster {
    transform: scale(1.06);
}

.play-overlay-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-card:hover .play-overlay-icon {
    opacity: 1;
}

.play-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 214, 108, 0.6);
}

.media-info {
    padding: 12px;
}

.media-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* VIDEO PLAYER OVERLAY */
.video-player-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: none;
    flex-direction: column;
}

.video-player-overlay.active {
    display: flex;
}

.video-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 18px 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.video-title-wrap h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.video-title-wrap p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.video-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-close-btn:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: scale(1.08);
}

.video-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

video {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    object-fit: contain;
    outline: none;
}

.live-tag-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.live-card {
    border-color: rgba(239, 68, 68, 0.2);
}

.live-card:hover {
    border-color: #ef4444;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.25);
}

/* FAVORITE BUTTON ON CARDS (CORAÇÃO DOURADO / AMARELO FLÚOR) */
.fav-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(4, 12, 24, 0.85);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 215, 0, 0.35);
    color: rgba(255, 215, 0, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    padding: 0;
}

.fav-btn svg {
    pointer-events: none;
    transition: all 0.2s ease;
}

.fav-btn:hover {
    color: #ffd700;
    border-color: #ffd700;
    background: rgba(4, 12, 24, 0.95);
    transform: scale(1.15);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
}

.fav-btn.active {
    color: #ffd700 !important;
    border-color: #ffd700 !important;
    background: rgba(255, 215, 0, 0.22) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.75), inset 0 0 8px rgba(255, 215, 0, 0.4) !important;
    transform: scale(1.08);
}

.fav-btn.active svg {
    fill: #ffd700 !important;
    stroke: #ffd700 !important;
}

.fav-btn:not(.active) svg {
    fill: none !important;
    stroke: currentColor;
}

.btn-movie-fav.active .fav-icon svg {
    fill: #ffd700 !important;
    stroke: #ffd700 !important;
}

.btn-movie-fav:not(.active) .fav-icon svg {
    fill: none !important;
    stroke: currentColor;
}

/* VIDEO HEADER ACTIONS & LIVE CONTROLS */
.video-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-channel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent-glow);
    transform: scale(1.04);
}

/* CHANNEL DRAWER */
.channel-drawer {
    position: absolute;
    top: 0;
    right: -360px;
    width: 340px;
    height: 100%;
    background: rgba(5, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 20;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.channel-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.drawer-close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.drawer-close-btn:hover {
    color: #fff;
}

.drawer-channels-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-channel-item:hover {
    background: rgba(0, 214, 108, 0.2);
    border-color: var(--border-active);
}

.drawer-channel-item.active {
    background: var(--accent-gradient);
    border-color: var(--accent-glow);
}

.drawer-channel-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
}

.drawer-channel-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================================
   MODAL GENERAL (SERIES & ACCOUNT)
   ======================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 1, 9, 0.88);
    backdrop-filter: blur(14px);
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active {
    display: flex;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: scale(1.08);
}

/* SERIES MODAL CONTAINER */
.series-modal-container {
    position: relative;
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    background: #0f071d;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.series-modal-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.35);
    z-index: 0;
}

.series-modal-header {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
}

.series-modal-poster {
    width: 140px;
    height: 210px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 2px solid var(--border-color);
}

.series-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.series-modal-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.series-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-pill {
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0, 214, 108, 0.25);
    border: 1px solid var(--border-color);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-glow);
}

.series-modal-plot {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 10px;
    max-height: 80px;
    overflow-y: auto;
}

.series-modal-cast {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* SEASON SELECTOR */
.season-selector-bar {
    position: relative;
    z-index: 2;
    padding: 14px 30px;
    background: rgba(16, 7, 30, 0.95);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
}

.season-selector-label {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.season-tabs {
    display: flex;
    gap: 8px;
}

.season-tab-btn {
    padding: 6px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.season-tab-btn:hover {
    color: #fff;
    border-color: var(--accent-glow);
}

.season-tab-btn.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: var(--accent-glow);
    box-shadow: 0 4px 12px rgba(0, 214, 108, 0.4);
}

/* EPISODES LIST */
.episodes-container {
    position: relative;
    z-index: 2;
    flex: 1;
    overflow-y: auto;
    padding: 24px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.episode-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.episode-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-glow);
    background: rgba(0, 214, 108, 0.16);
    box-shadow: 0 10px 24px rgba(0, 214, 108, 0.3);
}

.ep-thumb-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.ep-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ep-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.75);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

.ep-info-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ep-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-plot {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ACCOUNT MODAL CONTAINER */
.account-modal-container {
    position: relative;
    width: 520px;
    max-width: 95vw;
    background: #0f071d;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.account-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 214, 108, 0.35);
}

.chips-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.code-chip {
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(0, 214, 108, 0.16);
    border: 1px solid var(--border-color);
    color: var(--accent-glow);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-chip:hover {
    background: var(--accent);
    color: #fff;
}

.modal-divider {
    text-align: center;
    position: relative;
    margin: 8px 0;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.modal-divider span {
    position: relative;
    padding: 0 12px;
    background: #0f071d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-actions-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.btn-action-primary {
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--accent-gradient);
    border: 1px solid var(--accent-glow);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 214, 108, 0.4);
    transition: all 0.2s ease;
}

.btn-action-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.btn-action-ghost {
    padding: 10px 18px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}



/* BOTÕES ESTILO PÍLULA NO PLAYER */
.btn-action-primary,
.account-modal-container button[type="submit"],
.btn-pill-primary {
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #00d66c 0%, #0077ff 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(0, 214, 108, 0.4) !important;
    transition: all 0.25s ease !important;
}

.btn-action-primary:hover,
.btn-pill-primary:hover {
    background: linear-gradient(135deg, #00ff88 0%, #0099ff 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 214, 108, 0.55) !important;
}

.cat-tab.active {
    background: linear-gradient(135deg, #00d66c 0%, #0077ff 100%) !important;
    box-shadow: 0 4px 14px rgba(0, 214, 108, 0.4) !important;
    color: #ffffff !important;
}

.cat-tab[data-tab="favorites"].active {
    background: linear-gradient(135deg, #ffd700 0%, #ff8800 100%) !important;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.45) !important;
    color: #040913 !important;
}

.brand-badge strong span {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.code-chip {
    border-radius: 9999px !important;
    border: 1px solid rgba(0, 214, 108, 0.3) !important;
    background: rgba(0, 214, 108, 0.08) !important;
    color: #7ee8b0 !important;
}

.code-chip:hover {
    background: rgba(0, 214, 108, 0.22) !important;
    border-color: #00ff88 !important;
    color: #ffffff !important;
}

.account-modal-container {
    border-radius: 28px !important;
    border: 1px solid rgba(0, 214, 108, 0.3) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 214, 108, 0.2) !important;
    background: linear-gradient(165deg, rgba(8, 24, 44, 0.98) 0%, rgba(4, 12, 24, 0.98) 100%) !important;
}

.btn-action-ghost {
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 11px 24px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.btn-action-ghost:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(0, 214, 108, 0.5) !important;
    color: #00ff88 !important;
}

/* ESTILOS DE MODAL PÍLULA NO PLAYER (#error-overlay) */
.modal-pill-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: linear-gradient(165deg, rgba(8, 24, 44, 0.98) 0%, rgba(4, 12, 24, 0.98) 100%);
    border: 1px solid rgba(0, 214, 108, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 214, 108, 0.2);
    border-radius: 28px;
    padding: 36px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-pill-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.modal-pill-icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: rgba(0, 214, 108, 0.15);
    border: 2px solid rgba(0, 214, 108, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
}

.modal-pill-icon.icon-warning {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

.modal-pill-badge {
    padding: 3px 12px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.modal-pill-badge.badge-warning {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
}

.modal-pill-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.modal-pill-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-pill-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-pill-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00d66c 0%, #0077ff 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 214, 108, 0.4);
    transition: all 0.25s ease;
}

.btn-pill-primary:hover {
    background: linear-gradient(135deg, #00ff88 0%, #0099ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 214, 108, 0.55);
}

.btn-pill-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-pill-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 214, 108, 0.5);
    color: #00ff88;
    transform: translateY(-2px);
}

/* ========================================================
   ONBOARDING TUTORIAL MODAL STYLES (SMART TV & CONTROLE)
   ======================================================== */
.onboarding-dots-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.onboarding-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-dot.active {
    width: 28px;
    background: linear-gradient(135deg, #00d66c 0%, #00ff88 100%);
    box-shadow: 0 0 12px rgba(0, 214, 108, 0.6);
}

.onboarding-step-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: fadeInStep 0.35s ease;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   TECLADO NUMÉRICO VIRTUAL SMART TV & LOGIN 8 DÍGITOS
   ======================================================== */
.login-modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 24px;
    width: 100%;
    align-items: start;
}

@media (max-width: 768px) {
    .login-modal-grid {
        grid-template-columns: 1fr;
    }
}

.modal-pill-card {
    position: relative;
    background: rgba(4, 12, 24, 0.96);
    border: 1px solid rgba(0, 214, 108, 0.35);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 214, 108, 0.2);
    backdrop-filter: blur(24px);
}

.modal-pill-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.modal-pill-close:hover {
    background: rgba(255, 51, 102, 0.3);
    border-color: #ff3366;
    color: #ff3366;
    transform: scale(1.1);
}

.login-code-display {
    width: 100%;
    background: rgba(3, 10, 20, 0.85);
    border: 2px solid rgba(0, 214, 108, 0.4);
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', monospace;
    letter-spacing: 8px;
    text-align: center;
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    outline: none;
    transition: all 0.25s ease;
    margin-bottom: 16px;
    cursor: text;
    user-select: text;
}

.login-code-display:focus {
    border-color: #00ff88;
    box-shadow: 0 0 25px rgba(0, 214, 108, 0.6);
    background: rgba(3, 14, 28, 0.95);
}

.tv-numpad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
}

.tv-numpad-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 14px 0;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    user-select: none;
}

.tv-numpad-btn:hover,
.tv-numpad-btn:focus {
    background: linear-gradient(135deg, rgba(0, 214, 108, 0.25) 0%, rgba(0, 119, 255, 0.25) 100%);
    border-color: #00ff88;
    color: #00ff88;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 214, 108, 0.35);
}

.tv-numpad-btn:active {
    transform: scale(0.96);
}

.tv-numpad-btn.btn-action {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.tv-numpad-btn.btn-action:hover,
.tv-numpad-btn.btn-action:focus {
    color: #ffd700;
    border-color: #ffd700;
}

.device-info-sidebar {
    background: rgba(4, 12, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.device-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.device-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.device-info-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    font-family: monospace;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================================
   SISTEMA DE POPUPS / TOAST VIP BRASIL (ESTILIZADO)
   ======================================================== */
.vip-toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.vip-toast {
    pointer-events: auto;
    background: rgba(4, 12, 24, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 214, 108, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 214, 108, 0.2);
    border-radius: 999px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    animation: vipToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

.vip-toast.toast-error {
    border-color: rgba(255, 51, 102, 0.6);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 51, 102, 0.25);
}

.vip-toast.toast-warning {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.25);
}

.vip-toast.toast-info {
    border-color: rgba(0, 119, 255, 0.6);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 119, 255, 0.25);
}

.vip-toast-icon {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
}

.vip-toast-text {
    line-height: 1.3;
}

.vip-toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 6px;
    display: flex;
    align-items: center;
    padding: 0;
    transition: color 0.2s;
}

.vip-toast-close:hover {
    color: #fff;
}

@keyframes vipToastSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes vipToastFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
}

/* ========================================================
   TELA DE DADOS / DETALHES DE FILME (MOVIE DETAILS MODAL)
   ======================================================== */
.movie-modal-container {
    position: relative;
    width: 960px;
    max-width: 95vw;
    max-height: 90vh;
    background: #060e1c;
    border: 1px solid rgba(0, 214, 108, 0.25);
    border-radius: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 214, 108, 0.15);
    z-index: 12001;
}

.movie-modal-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.28);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    z-index: 0;
    pointer-events: none;
}

.movie-modal-content {
    position: relative;
    z-index: 2;
    padding: 36px 40px;
    display: flex;
    gap: 32px;
}

.movie-poster-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.movie-modal-poster {
    width: 200px;
    height: 300px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 214, 108, 0.2);
    border: 2px solid rgba(0, 214, 108, 0.35);
}

.movie-format-badge {
    padding: 5px 14px;
    background: rgba(0, 119, 255, 0.2);
    border: 1px solid rgba(0, 119, 255, 0.4);
    color: #4da6ff;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: 1px;
}

.movie-details-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.movie-header-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-pill.badge-rating {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    color: #ffd700;
}

.badge-pill.badge-age {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 51, 102, 0.4);
    color: #ff3366;
}

.badge-pill.badge-genre {
    background: rgba(0, 214, 108, 0.15);
    border-color: rgba(0, 214, 108, 0.4);
    color: #00d66c;
}

.movie-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 18px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.movie-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-movie-play {
    background: linear-gradient(135deg, #00d66c 0%, #00994d 100%);
    color: #040913;
    padding: 13px 32px;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 214, 108, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-movie-play:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 214, 108, 0.6);
}

.btn-movie-fav {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-movie-fav:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    color: #ffd700;
}

.btn-movie-fav.active {
    background: rgba(255, 215, 0, 0.25);
    border-color: #ffd700;
    color: #ffd700;
}

.movie-tabs-bar {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.movie-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.movie-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.movie-tab-btn.active {
    color: #00d66c;
    background: rgba(0, 214, 108, 0.12);
    border: 1px solid rgba(0, 214, 108, 0.25);
}

.movie-tab-panel {
    display: none;
}

.movie-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.movie-section-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 8px 0;
}

.movie-modal-plot {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 8px;
}

.movie-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.movie-info-grid strong {
    color: var(--text-dim);
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .movie-modal-content {
        flex-direction: column;
        padding: 24px;
        align-items: center;
        text-align: center;
    }
    .movie-poster-column {
        margin-top: 10px;
    }
    .movie-modal-poster {
        width: 150px;
        height: 225px;
    }
    .movie-modal-title {
        font-size: 1.5rem;
    }
    .movie-header-tags, .movie-actions-row {
        justify-content: center;
    }
    .movie-tabs-bar {
        justify-content: center;
    }
}

/* ========================================================
   ALTERNADOR DE EXIBIÇÃO: GRADE VS LISTA
   ======================================================== */
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 14px;
}

.view-mode-selector {
    display: inline-flex;
    align-items: center;
    background: rgba(4, 12, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
    backdrop-filter: blur(12px);
}

.view-mode-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.view-mode-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.view-mode-btn.active {
    background: rgba(0, 214, 108, 0.2);
    border-color: rgba(0, 214, 108, 0.45);
    color: #00ff88;
    box-shadow: 0 0 12px rgba(0, 214, 108, 0.25);
}

/* ========================================================
   ESTILOS DO MODO LISTA (.media-grid.view-list)
   ======================================================== */
.media-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.media-grid.view-list .media-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 20px;
    gap: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(8, 20, 38, 0.75) 0%, rgba(4, 12, 24, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: auto;
    max-height: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.media-grid.view-list .media-card:hover {
    transform: translateX(4px);
    border-color: rgba(0, 214, 108, 0.45);
    background: linear-gradient(135deg, rgba(10, 26, 50, 0.85) 0%, rgba(5, 16, 32, 0.95) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 214, 108, 0.15);
}

.media-grid.view-list .media-poster-box {
    width: 60px;
    height: 90px;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-grid.view-list .media-poster-box.live-box {
    width: 88px;
    height: 60px;
    padding: 6px;
    aspect-ratio: auto;
}

.media-grid.view-list .media-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-grid.view-list .media-poster-box.live-box .media-poster {
    object-fit: contain;
}

.media-grid.view-list .media-info {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.media-grid.view-list .list-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.media-grid.view-list .list-media-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-grid.view-list .list-desc-text {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-grid.view-list .list-badges-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.78rem;
}

.media-grid.view-list .list-badge {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-dim);
    font-weight: 600;
}

.media-grid.view-list .list-badge.year {
    color: #00ff88;
    background: rgba(0, 214, 108, 0.12);
    border-color: rgba(0, 214, 108, 0.3);
}

.media-grid.view-list .list-badge.rating {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.3);
}

.media-grid.view-list .list-actions-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.media-grid.view-list .fav-btn {
    position: static;
    flex-shrink: 0;
}

.media-grid.view-list .btn-list-play {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0, 214, 108, 0.15);
    border: 1px solid rgba(0, 214, 108, 0.4);
    color: #00ff88;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.media-grid.view-list .btn-list-play:hover {
    background: #00d66c;
    color: #040913;
    box-shadow: 0 0 16px rgba(0, 214, 108, 0.45);
    transform: scale(1.04);
}

@media (max-width: 640px) {
    .media-grid.view-list .media-card {
        padding: 10px 14px;
        gap: 12px;
    }
    .media-grid.view-list .btn-list-play span {
        display: none;
    }
    .media-grid.view-list .btn-list-play {
        padding: 8px;
    }
}


/* ========================================================
   TEMA OPCIONAL: ROXO IMPERIAL (ESTILO RX DARK PURPLE)
   Alternável em Configurações -> Sistema
   ======================================================== */
body.theme-purple {
    --bg-base: #0d041a;
    --bg-sidebar: #130726;
    --bg-card: rgba(34, 15, 64, 0.78);
    --bg-card-hover: rgba(52, 22, 96, 0.94);
    --border-color: rgba(168, 85, 247, 0.25);
    --border-active: rgba(192, 132, 252, 0.8);
    --accent: #9333ea;
    --accent-glow: #c084fc;
    --accent-gradient: linear-gradient(135deg, #7e22ce 0%, #4f46e5 100%);
    --text-muted: #d8b4fe;
}

/* ========================================================
   FOCO UNIVERSAL PARA CONTROLE REMOTO (SMART TV / D-PAD)
   Micro-interação viva: Escala 1.03x + Inset Glow + Borda Neon
   ======================================================== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible,
.dpad-focus {
    outline: none !important;
    border-color: #00ff88 !important;
    transform: scale(1.03) !important;
    box-shadow: 
        inset 0 0 16px rgba(0, 255, 136, 0.18),
        0 0 0 2px #00ff88,
        0 12px 32px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(0, 255, 136, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10;
}

body.theme-purple button:focus-visible,
body.theme-purple [tabindex]:focus-visible,
body.theme-purple .dpad-focus {
    border-color: #c084fc !important;
    box-shadow: 
        inset 0 0 16px rgba(192, 132, 252, 0.25),
        0 0 0 2px #c084fc,
        0 12px 32px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(168, 85, 247, 0.45) !important;
}

/* ========================================================
   SISTEMA DE TELAS PRINCIPAIS (VIEWS)
   ======================================================== */
.app-screen-view {
    display: none;
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.app-screen-view.active-view {
    display: flex;
    flex-direction: column;
    animation: viewFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes viewFadeIn {
    from { opacity: 0; transform: scale(0.99); }
    to { opacity: 1; transform: scale(1); }
}

/* ========================================================
   VIEW 1: HUB INICIAL / LAUNCHER SMART TV (Inicio.png)
   ======================================================== */
#hub-view {
    position: relative;
    justify-content: space-between;
    padding: 24px 48px 22px;
    background: radial-gradient(circle at 50% 35%, #0e1726 0%, #070b14 100%) !important;
    overflow-y: auto;
}

body.theme-purple #hub-view {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.32) 0%, transparent 62%),
        radial-gradient(ellipse at 20% 60%, rgba(88, 28, 135, 0.24) 0%, transparent 55%),
        var(--bg-base);
}

.hub-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 8px;
    position: relative;
    min-height: 92px;
}

.hub-brand-center {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.hub-brand-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hub-brand-logo-row img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 24px rgba(0, 214, 108, 0.3);
    border: 1.5px solid var(--border-active);
}

.hub-brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.35rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand-name-broz {
    color: #02A4E1;
    background: linear-gradient(135deg, #00D2FF 0%, #0288D1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(2, 164, 225, 0.45));
    font-weight: 900;
}

.brand-name-tv {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4) !important;
}

.brand-name-vip {
    color: #E3C16A;
    background: linear-gradient(135deg, #FFE082 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 14px rgba(227, 193, 106, 0.5));
    font-weight: 900;
}

body.theme-purple .hub-brand-title span {
    background: linear-gradient(135deg, #e879f9 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-clock-box {
    position: absolute;
    right: 0;
    top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
}

.hub-clock-time {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.hub-runtime-pill {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0, 214, 108, 0.16);
    color: var(--accent-glow);
    border: 1px solid var(--border-color);
}

/* GRADE PRINCIPAL DO LAUNCHER (4 COLUNAS ASSIMÉTRICAS IGUAL Inicio.png) */
.hub-grid-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 410px;
}

.hub-tile {
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-align: center;
}

body.theme-purple .hub-tile {
    background: rgba(34, 15, 64, 0.6) !important;
}

.hub-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 25%, rgba(0, 229, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.hub-tile:hover,
.hub-tile:focus-visible {
    transform: translateY(-4px) scale(1.025);
    border-color: #00ff88;
    background: rgba(20, 32, 58, 0.85) !important;
    box-shadow: 
        inset 0 0 20px rgba(0, 255, 136, 0.15),
        0 18px 40px rgba(0, 0, 0, 0.6),
        0 0 28px rgba(0, 255, 136, 0.25);
}

body.theme-purple .hub-tile:hover,
body.theme-purple .hub-tile:focus-visible {
    box-shadow: 
        inset 0 0 20px rgba(168, 85, 247, 0.25),
        0 18px 40px rgba(0, 0, 0, 0.65),
        0 0 28px rgba(168, 85, 247, 0.35);
}

.hub-tile:hover::before,
.hub-tile:focus-visible::before {
    opacity: 1;
}

.hub-tile-live {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 24px 20px;
}

.hub-tile-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.25s ease, color 0.25s ease;
}

.hub-tile-live .hub-tile-icon {
    width: 88px;
    height: 88px;
}

.hub-tile:hover .hub-tile-icon,
.hub-tile:focus-visible .hub-tile-icon {
    transform: scale(1.08);
    color: var(--accent-glow);
}

.hub-tile-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.hub-tile-live .hub-tile-label {
    font-size: 1.75rem;
}

.hub-tile-count {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 12px;
    border-radius: 999px;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* COLUNA 4 DO LAUNCHER: PLAYLIST, CONTA, CONFIGURAÇÕES, SAIR */
.hub-side-actions {
    grid-column: 4;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    position: relative;
}

/* ============================================================================
   GUIA VISUAL DE ONBOARDING: SETA ANIMADA "COMECE POR AQUI"
   ============================================================================ */
.hub-guide-arrow-tooltip {
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    animation: bounceGuide 1.8s ease-in-out infinite;
    filter: drop-shadow(0 6px 16px rgba(0, 214, 108, 0.6));
}

@keyframes bounceGuide {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -7px);
    }
}

.guide-bubble {
    background: linear-gradient(135deg, #00d66c 0%, #00ff88 60%, #ffd700 100%);
    color: #040e14;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.guide-bubble .guide-icon {
    font-size: 0.95rem;
}

.guide-arrow-down {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #00ff88;
    margin-top: -1px;
}

.hub-action-btn.guide-highlight {
    border-color: #00ff88 !important;
    animation: pulseBorderGuide 1.8s infinite ease-in-out !important;
}

@keyframes pulseBorderGuide {
    0%, 100% {
        box-shadow: 0 0 16px rgba(0, 255, 136, 0.4), inset 0 0 8px rgba(0, 255, 136, 0.15);
        border-color: #00ff88;
    }
    50% {
        box-shadow: 0 0 28px rgba(0, 255, 136, 0.8), inset 0 0 14px rgba(255, 215, 0, 0.3);
        border-color: #ffd700;
    }
}

.hub-action-btn {
    flex: 1;
    min-height: 52px;
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-purple .hub-action-btn {
    background: rgba(34, 15, 64, 0.6) !important;
}

.hub-action-btn:hover,
.hub-action-btn:focus-visible {
    transform: translateY(-2px) scale(1.015);
    border-color: #00ff88;
    background: rgba(20, 32, 58, 0.85) !important;
    box-shadow: 
        inset 0 0 16px rgba(0, 255, 136, 0.12),
        0 14px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 136, 0.2);
}

.hub-action-left {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
}

.hub-action-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hub-action-subcount {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

body.theme-purple .hub-action-subcount {
    color: #d8b4fe;
    background: rgba(168, 85, 247, 0.16);
    border-color: rgba(168, 85, 247, 0.3);
}

.hub-action-arrow {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hub-action-btn:hover .hub-action-arrow {
    transform: translateX(4px);
    color: var(--accent-glow);
}

/* FAIXA CONTINUAR ASSISTINDO (DIFERENCIAL ACIMA DO RODAPÉ) */
.hub-continue-section {
    width: 100%;
    max-width: 1440px;
    margin: 16px auto 0;
    display: none;
    flex-direction: column;
    gap: 8px;
}

.hub-continue-section.has-items {
    display: flex;
}

.hub-continue-header {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hub-continue-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-clear-recent {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
}

.btn-clear-recent:hover,
.btn-clear-recent:focus-visible {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.3);
    outline: none;
    transform: translateY(-1px);
}

.hub-continue-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hub-continue-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.hub-continue-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    min-width: 210px;
    max-width: 270px;
    transition: all 0.2s ease;
}

.hub-continue-chip:hover {
    border-color: var(--accent-glow);
    background: rgba(0, 214, 108, 0.12);
}

.hub-continue-chip img {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}

.hub-continue-meta {
    overflow: hidden;
    text-align: left;
}

.hub-continue-meta strong {
    display: block;
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-continue-meta span {
    font-size: 0.72rem;
    color: var(--text-dim);
}

/* BARRA DE STATUS DO RODAPÉ (FIEL A Inicio.png) */
.hub-status-footer {
    width: 100%;
    max-width: 1320px;
    margin: 16px auto 0;
    background: linear-gradient(160deg, rgba(10, 24, 44, 0.72) 0%, rgba(5, 13, 24, 0.88) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

body.theme-purple .hub-status-footer {
    background: linear-gradient(160deg, rgba(44, 18, 82, 0.65) 0%, rgba(22, 8, 44, 0.88) 100%);
}

.hub-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hub-footer-col.right {
    align-items: flex-end;
}

.hub-footer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

.hub-footer-row strong {
    color: #fff;
    font-weight: 700;
}

.hub-copy-inline {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.hub-copy-inline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   CABEÇALHO PADRÃO DE SUBTELAS (VOLTAR + TÍTULO GRANDE)
   Usado em Minhas Playlists e Configurações
   ======================================================== */
.subscreen-shell {
    flex: 1;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 28px 44px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.subscreen-header {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 26px;
}

.btn-back-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-back-pill:hover {
    border-color: var(--accent-glow);
    background: rgba(0, 214, 108, 0.14);
    transform: translateX(-3px);
}

.subscreen-title-group h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.subscreen-title-group p {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 6px;
}

/* ========================================================
   VIEW 3: MINHAS PLAYLISTS (Playlist.png)
   ======================================================== */
.playlists-layout {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 28px;
    flex: 1;
    align-items: start;
}

.playlists-left-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.playlists-kicker {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.playlists-left-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.playlists-head-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

.playlist-count-pill {
    padding: 6px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
}

.saved-playlists-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.saved-playlist-card {
    background: linear-gradient(155deg, var(--bg-card) 0%, rgba(6, 15, 28, 0.92) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    transition: all 0.22s ease;
}

body.theme-purple .saved-playlist-card {
    background: linear-gradient(155deg, rgba(49, 20, 92, 0.65) 0%, rgba(24, 9, 48, 0.92) 100%);
}

.saved-playlist-card:hover,
.saved-playlist-card.connected {
    border-color: var(--accent-glow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.saved-playlist-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.saved-playlist-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}

.saved-playlist-meta h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.saved-playlist-sub {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.badge-connected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.9);
    color: #fff;
    font-weight: 800;
    font-size: 0.73rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.badge-disconnected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    font-size: 0.73rem;
    text-transform: uppercase;
}

.playlist-validity-text {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}

.playlist-validity-text strong {
    color: #fff;
}

/* PAINEL DIREITO DE MINHAS PLAYLISTS */
.playlist-side-panel {
    background: linear-gradient(165deg, var(--bg-card) 0%, rgba(4, 11, 22, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.theme-purple .playlist-side-panel {
    background: linear-gradient(165deg, rgba(44, 18, 82, 0.72) 0%, rgba(19, 7, 38, 0.95) 100%);
}

.playlist-side-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-side-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.playlist-side-section-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.playlist-device-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.playlist-device-box span.lbl {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.playlist-device-box strong.val {
    font-family: 'Outfit', monospace;
    font-size: 0.98rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.playlist-side-btn {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.playlist-side-btn:hover {
    border-color: var(--accent-glow);
    background: rgba(0, 214, 108, 0.15);
    transform: translateY(-2px);
}

.playlist-legal-note {
    background: rgba(0, 214, 108, 0.06);
    border: 1px solid rgba(0, 214, 108, 0.22);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.76rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.playlists-bottom-disclaimer {
    text-align: center;
    margin-top: auto;
    padding-top: 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.playlists-bottom-disclaimer strong {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 3px;
}

/* ========================================================
   VIEW 4: CENTRAL DE CONFIGURAÇÕES - 6 ABAS (Configurações - *.png)
   ======================================================== */
.settings-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    flex: 1;
    align-items: start;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-nav-btn {
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
    text-align: left;
}

.settings-nav-btn .s-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
}

.settings-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-glow);
}

.settings-nav-btn.active {
    background: linear-gradient(90deg, rgba(0, 214, 108, 0.35) 0%, rgba(0, 119, 255, 0.18) 100%);
    border-color: var(--accent-glow);
    box-shadow: 0 8px 25px rgba(0, 214, 108, 0.22);
}

.settings-nav-btn.active .s-icon {
    background: var(--accent);
    color: #04101f;
}

.settings-pane {
    display: none;
    flex-direction: column;
    gap: 20px;
    animation: fadeInStep 0.22s ease;
}

.settings-pane.active {
    display: flex;
}

.settings-card {
    background: linear-gradient(160deg, var(--bg-card) 0%, rgba(5, 13, 25, 0.94) 100%);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px 28px;
}

body.theme-purple .settings-card {
    background: linear-gradient(160deg, rgba(44, 18, 82, 0.68) 0%, rgba(18, 7, 36, 0.94) 100%);
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    color: #fff;
}

.settings-card-header .c-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 214, 108, 0.15);
    color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.theme-purple .settings-card-header .c-icon {
    background: rgba(168, 85, 247, 0.2);
}

.settings-kv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.95rem;
}

.settings-kv-row:last-child {
    border-bottom: none;
}

.settings-kv-row .k {
    color: rgba(255, 255, 255, 0.78);
}

.settings-kv-row .v {
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* RADIO OPTIONS EM SISTEMA & IDIOMA */
.settings-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.settings-radio-option {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.settings-radio-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-active);
}

.settings-radio-option.selected {
    background: rgba(0, 214, 108, 0.16);
    border-color: var(--accent-glow);
    box-shadow: 0 0 18px rgba(0, 214, 108, 0.16);
}

body.theme-purple .settings-radio-option.selected {
    background: rgba(168, 85, 247, 0.22);
    border-color: #c084fc;
}

.radio-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.settings-radio-option.selected .radio-dot {
    border-color: var(--accent-glow);
}

.settings-radio-option.selected .radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-glow);
}

.settings-help-caption {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.52);
    margin-top: 8px;
}

/* LIMPAR ARMAZENAMENTO (7 LINHAS) */
.storage-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    gap: 14px;
}

.storage-item-row:last-child {
    border-bottom: none;
}

.storage-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.storage-item-left strong {
    display: block;
    font-size: 0.98rem;
    color: #fff;
}

.storage-item-left span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.btn-storage-clear {
    padding: 9px 22px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-storage-clear:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fca5a5;
}

/* TERMOS DE USO INTERNOS */
.terms-block-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terms-block-item:last-child {
    border-bottom: none;
}

.terms-block-item h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.terms-block-item p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

/* ========================================================
   MODAIS DE PLAYLIST (AÇÕES, EDIÇÃO E CONTA/INFORMAÇÕES)
   ======================================================== */
.rx-action-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.rx-stack-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease;
}

.rx-stack-btn:hover {
    border-color: var(--accent-glow);
    background: rgba(255, 255, 255, 0.1);
}

.rx-stack-btn.primary-connect {
    background: linear-gradient(90deg, #15803d 0%, #059669 100%);
    border-color: #34d399;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.35);
}

.rx-stack-btn.primary-connect:hover {
    filter: brightness(1.12);
}

.rx-stack-btn.danger-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fca5a5;
}

/* BOTÃO CADEADO PARENTAL NO CATÁLOGO */
.private-lock-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.private-lock-btn.unlocked {
    background: rgba(255, 215, 0, 0.16);
    border-color: rgba(255, 215, 0, 0.5);
    color: #ffd700;
}

.parental-cat-list {
    max-height: 310px;
    overflow-y: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 20px;
    text-align: left;
}

.parental-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.parental-cat-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

/* RESPONSIVIDADE DO LAUNCHER E SUBTELAS */
@media (max-width: 1024px) {
    #hub-view {
        padding: 20px;
    }
    .hub-grid-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .hub-tile-live {
        grid-column: 1 / span 2;
        grid-row: auto;
        min-height: 180px;
    }
    .hub-side-actions {
        grid-column: 1 / span 2;
        grid-row: auto;
        flex-direction: row;
    }
    .hub-action-btn {
        padding: 16px;
    }
    .playlists-layout,
    .settings-layout {
        grid-template-columns: 1fr;
    }
    .subscreen-shell {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .hub-clock-box {
        position: static;
        margin-top: 8px;
    }
    .hub-top-bar {
        flex-direction: column;
    }
    .hub-side-actions {
        flex-direction: column;
    }
    .hub-footer-col.right {
        align-items: flex-start;
    }
}


/* ============================================================================
   BROZ TV VIP v2.2 — QR CODE DE PAREAMENTO INSTANTÂNEO, STATUS "PARCERIA"
   & PROTEÇÃO DE CREDENCIAIS DO PARCEIRO NA SMART TV
   ============================================================================ */
.tv-qr-pair-card {
    background: linear-gradient(145deg, rgba(12, 26, 48, 0.92), rgba(5, 12, 24, 0.96));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

body.theme-purple .tv-qr-pair-card {
    background: linear-gradient(145deg, rgba(48, 20, 88, 0.72), rgba(20, 8, 42, 0.92));
}

.tv-qr-svg-wrap {
    width: 96px;
    height: 96px;
    min-width: 96px;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.tv-qr-svg-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tv-qr-info {
    text-align: left;
    flex: 1;
}

.tv-qr-info .qr-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-glow);
    display: block;
    margin-bottom: 3px;
}

.tv-qr-info h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
}

.tv-qr-info p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
    margin: 0;
}

.partner-protected-banner {
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(192, 132, 252, 0.45);
    color: #e9d5ff;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 14px;
    display: none;
}

.partner-protected-banner.is-visible {
    display: block;
}

.status-parceria-text {
    color: #f3e8ff;
    font-weight: 700;
}

/* ==========================================================================
   LAYOUT PROFISSIONAL DE CANAIS AO VIVO EM 3 COLUNAS + GUIA EPG (Anexo 1)
   ========================================================================== */
.live-three-column-layout {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 70px);
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(88, 28, 135, 0.18), transparent 50%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.12), transparent 45%),
                #070b14;
    color: #fff;
    user-select: none;
}

.live-metrics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.live-metrics-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-section-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 6, 16, 0.7);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-sec-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.live-sec-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.live-sec-tab.active {
    background: linear-gradient(135deg, #00d66c, #008744);
    color: #fff;
    border: 1px solid #ffd700;
    box-shadow: 0 4px 14px rgba(0, 214, 108, 0.45);
}

.live-metrics-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.metric-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(18, 24, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 5px 14px;
    min-width: 72px;
}

.metric-chip .m-val {
    font-size: 0.96rem;
    font-weight: 800;
    color: #ffd700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.metric-chip .m-lbl {
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
    margin-top: 1px;
}

/* Corpo das 3 Colunas */
.live-columns-body {
    display: grid;
    grid-template-columns: 290px 420px 1fr;
    gap: 14px;
    padding: 14px 20px 20px;
    flex: 1;
    overflow: hidden;
    height: calc(100% - 62px);
}

/* Coluna 1: Categorias */
.live-col-categories {
    display: flex;
    flex-direction: column;
    background: rgba(12, 17, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.live-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(3, 7, 18, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-search-input-wrap svg {
    color: var(--accent-glow);
    flex-shrink: 0;
}

.live-search-input-wrap input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.88rem;
    font-family: inherit;
}

.live-search-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.live-cats-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-cat-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.live-cat-pill:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.live-cat-pill.active {
    background: linear-gradient(135deg, #00a852, #00602c);
    border-color: #ffd700;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 168, 82, 0.35);
}

.live-cat-pill .cat-name-icon {
    display: flex;
    align-items: center;
    gap: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-cat-pill .cat-count-badge {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 0.74rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
}

.live-cat-pill.active .cat-count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Coluna 2: Lista de Canais */
.live-col-channels {
    display: flex;
    flex-direction: column;
    background: rgba(12, 17, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.live-channels-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-channel-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 12px;
}

.live-channel-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}

.live-channel-pill.active {
    background: linear-gradient(135deg, rgba(0, 160, 80, 0.95), rgba(12, 90, 52, 0.92));
    border-color: #ffd700;
    box-shadow: 0 6px 18px rgba(0, 214, 108, 0.4);
    transform: translateX(4px);
}

.live-ch-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    flex: 1;
}

.live-ch-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.live-ch-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.live-ch-fav-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    font-size: 1.15rem;
    padding: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.live-ch-fav-btn:hover {
    color: #ffd700;
    transform: scale(1.15);
}

.live-ch-fav-btn.active {
    color: #ffd700;
}

/* Coluna 3: Preview + EPG */
.live-col-preview-epg {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    height: 100%;
}

.mini-player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 270px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    flex-shrink: 0;
}

.mini-player-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-player-overlay-hud {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 40%, rgba(0,0,0,0.7) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mini-player-box:hover .mini-player-overlay-hud {
    opacity: 1;
}

.hud-live-badge {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.btn-hud-expand {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hud-expand:hover {
    background: #00d66c;
    border-color: #ffd700;
    transform: scale(1.1);
}

/* Card de Informações e Botão Play */
.live-preview-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(14, 19, 38, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    flex-shrink: 0;
}

.btn-live-play-main {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(135deg, #00d66c, #00994c);
    border: 1px solid #00ff88;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 214, 108, 0.4);
    flex-shrink: 0;
}

.btn-live-play-main:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, #00ff88, #00b050);
    border-color: #ffd700;
}

.live-preview-title-wrap {
    overflow: hidden;
    flex: 1;
}

.live-preview-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.live-preview-name-row h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-channel-num {
    font-size: 0.88rem;
    font-weight: 900;
    color: #ffd700;
    font-family: monospace;
}

.preview-channel-status {
    margin: 3px 0 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Guia EPG (Linha do Tempo de Programas) */
.epg-timeline-box {
    flex: 1;
    background: rgba(12, 17, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.epg-programs-scroll {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.epg-prog-card {
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.epg-prog-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.epg-prog-card.now-playing {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(124, 58, 237, 0.16));
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
}

.epg-prog-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.epg-prog-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.epg-prog-dot.green {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.8s infinite;
}

.epg-prog-dot.purple,
.epg-prog-dot.gold {
    background: #ffd700;
}

.epg-prog-time {
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffd700;
    font-family: monospace;
}

.epg-prog-card:not(.now-playing) .epg-prog-time {
    color: #ffd700;
}

.epg-prog-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 0.3px;
}

.epg-prog-desc {
    margin: 5px 0 0;
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   TELA CHEIA (FULLSCREEN OSD) & ALTERNADOR DE FLUXO TS/HLS (Anexos 2 e 3)
   ========================================================================== */
.video-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.fs-badge-live {
    background: rgba(124, 58, 237, 0.9);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #fff;
}

.fs-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse 1.5s infinite;
}

.fs-badge-stat {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.fs-badge-quality {
    background: rgba(2, 6, 23, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

/* BOTÃO DE ALTERNÂNCIA DE FLUXO TS / HLS (Fiel ao Anexo 3) */
.fs-stream-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(76, 29, 149, 0.45));
    border: 2px solid #00d66c;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 214, 108, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.fs-stream-toggle-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.6), rgba(76, 29, 149, 0.7));
    box-shadow: 0 0 22px rgba(0, 214, 108, 0.55);
}

.fs-stream-toggle-btn:active {
    transform: scale(0.97);
}

/* BARRA INFERIOR OSD DE INFORMAÇÕES DO CANAL (Fiel ao Anexo 2) */
.video-osd-bottom-bar {
    position: absolute;
    bottom: 24px;
    left: 28px;
    right: 28px;
    background: rgba(8, 12, 26, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 100;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-osd-bottom-bar.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.btn-osd-minimize {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-osd-minimize:hover {
    background: linear-gradient(135deg, #9333ea, #6d28d9);
    transform: scale(1.05);
}

.osd-content-wrap {
    flex: 1;
    overflow: hidden;
}

.osd-channel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.osd-channel-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #a855f7;
    font-family: 'Outfit', sans-serif;
}

.osd-channel-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osd-epg-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    flex-wrap: wrap;
}

.osd-epg-time {
    color: #c084fc;
    font-weight: 800;
    font-family: monospace;
}

.osd-epg-prog {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.osd-epg-live-dot {
    color: #10b981;
    font-weight: 800;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.osd-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.osd-live-text {
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.2px;
}

.osd-channel-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.15); }
}

@media (max-width: 900px) {
    .live-columns-body {
        grid-template-columns: 1fr;
        height: auto;
        overflow-y: auto;
    }
    .video-osd-bottom-bar {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 12px 14px;
    }
}

/* ========================================================
   SEÇÃO EXCLUSIVA DE MÚSICAS, SHOWS & RÁDIOS (BROZ TV VIP)
   ======================================================== */
.hub-tile-music:hover {
    border-color: #c084fc !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 28px rgba(168, 85, 247, 0.35) !important;
}

.media-card.music-card {
    border: 1px solid rgba(168, 85, 247, 0.22);
}

.media-card.music-card:hover {
    border-color: #c084fc;
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

/* Audio Visualizer Overlay para Rádios e Músicas */
.audio-visualizer-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(30, 16, 56, 0.96) 0%, rgba(7, 10, 20, 0.98) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 10;
    pointer-events: none;
}

.audio-disc-spin {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #0d091a;
    border: 10px solid #1a1430;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spinDisc 8s linear infinite;
}

.audio-disc-spin::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #070b14;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.audio-disc-spin img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes spinDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.audio-waves-container {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 50px;
}

.audio-bar {
    width: 6px;
    background: linear-gradient(to top, #7c3aed, #00e5ff);
    border-radius: 4px;
    animation: audioWave 1.2s ease-in-out infinite alternate;
}

.audio-bar.b1 { height: 16px; animation-delay: 0.1s; }
.audio-bar.b2 { height: 32px; animation-delay: 0.3s; }
.audio-bar.b3 { height: 48px; animation-delay: 0.15s; }
.audio-bar.b4 { height: 24px; animation-delay: 0.4s; }
.audio-bar.b5 { height: 42px; animation-delay: 0.25s; }
.audio-bar.b6 { height: 28px; animation-delay: 0.35s; }
.audio-bar.b7 { height: 18px; animation-delay: 0.05s; }

@keyframes audioWave {
    0% { transform: scaleY(0.3); opacity: 0.5; }
    100% { transform: scaleY(1); opacity: 1; filter: drop-shadow(0 0 8px #00e5ff); }
}

.btn-toggle-visualizer-video {
    pointer-events: auto;
    margin-top: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #fff;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.btn-toggle-visualizer-video:hover {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    border-color: #c084fc;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 28px rgba(168, 85, 247, 0.45);
}


/* ==========================================================================
   AO VIVO · REDESIGN v3 (Identidade Oficial Broz TV VIP: Verde & Amarelo)
   Bloco final: sobrescreve o visual antigo da tela de 3 colunas com cores oficiais.
   ========================================================================== */
#catalog-view > .player-navbar {
    display: none !important;
}

#catalog-view,
.live-three-column-layout {
    --lv-panel: rgba(13, 21, 38, 0.6);
    --lv-panel-strong: rgba(20, 32, 58, 0.85);
    --lv-border: rgba(255, 255, 255, 0.07);
    --lv-border-strong: rgba(0, 255, 136, 0.6);
    --lv-text: #ffffff;
    --lv-text-dim: #94a3b8;
    --lv-accent: #00ff88;
    --lv-gold: #ffb703;
    --lv-active-cat: linear-gradient(135deg, rgba(0, 255, 136, 0.22) 0%, rgba(0, 229, 255, 0.16) 100%);
    --lv-active-ch: linear-gradient(90deg, rgba(0, 255, 136, 0.22) 0%, rgba(0, 229, 255, 0.14) 100%);

    flex: 1;
    height: 100%;
    min-height: 0;
    background: radial-gradient(circle at 50% 35%, #0e1726 0%, #070b14 100%) !important;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    flex-direction: column;
}

/* ---------- Barra superior unificada ---------- */
.live-metrics-header,
.live-three-column-layout .live-metrics-header {
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 14px 16px 6px;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}

.live-metrics-left,
.live-three-column-layout .live-metrics-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.live-metrics-header .btn-back-pill,
.live-three-column-layout .btn-back-pill {
    height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--lv-text);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.live-metrics-header .btn-back-pill:hover,
.live-three-column-layout .btn-back-pill:hover {
    background: rgba(20, 32, 58, 0.85) !important;
    border-color: #00ff88;
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.25);
}

.live-section-tabs,
.live-three-column-layout .live-section-tabs {
    display: flex;
    align-items: center;
    height: 50px;
    gap: 4px;
    padding: 5px;
    border-radius: 14px;
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.live-sec-tab,
.live-three-column-layout .live-sec-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--lv-text-dim);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-sec-tab svg,
.live-three-column-layout .live-sec-tab svg {
    width: 18px;
    height: 18px;
}

.live-sec-tab:hover,
.live-three-column-layout .live-sec-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.live-sec-tab.active,
.live-three-column-layout .live-sec-tab.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.28) 0%, rgba(0, 229, 255, 0.22) 100%) !important;
    color: #fff;
    border: 1px solid #00ff88;
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.35);
}

.live-metrics-right,
.live-three-column-layout .live-metrics-right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-around;
    gap: 6px;
    height: 50px;
    padding: 0 10px;
    border-radius: 14px;
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    min-width: 0;
    overflow: hidden;
}

.metric-chip,
.live-three-column-layout .metric-chip {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 9px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 6px;
    min-width: 0;
}

.metric-chip .m-ico,
.live-three-column-layout .metric-chip .m-ico {
    color: #ffd700;
    flex-shrink: 0;
}

.metric-chip .m-txt,
.live-three-column-layout .metric-chip .m-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.metric-chip .m-val,
.live-three-column-layout .metric-chip .m-val {
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.metric-chip .m-lbl,
.live-three-column-layout .metric-chip .m-lbl {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--lv-text-dim);
    letter-spacing: 1.2px;
}

/* ---------- Corpo 3 colunas ---------- */
.live-three-column-layout .live-columns-body {
    grid-template-columns: minmax(230px, 0.9fr) minmax(300px, 1.3fr) minmax(300px, 1.05fr);
    gap: 12px;
    padding: 8px 16px 14px;
    height: auto;
    min-height: 0;
}

/* Colunas 1 e 2 sem "caixa" externa: os próprios itens são os cartões (igual ao exemplo) */
.live-three-column-layout .live-col-categories,
.live-three-column-layout .live-col-channels {
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    min-height: 0;
}

.live-three-column-layout .live-search-input-wrap {
    height: 50px;
    margin-bottom: 8px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--lv-panel);
    border: 1px solid var(--lv-border);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.live-three-column-layout .live-search-input-wrap:focus-within {
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 214, 108, 0.22);
}

.live-three-column-layout .live-search-input-wrap svg {
    color: #00ff88;
    width: 18px;
    height: 18px;
}

.live-three-column-layout .live-search-input-wrap input {
    font-size: 1rem;
    color: #ffffff;
}

.live-three-column-layout .live-search-input-wrap input::placeholder {
    color: var(--lv-text-dim);
}

.live-three-column-layout .live-cats-scroll,
.live-three-column-layout .live-channels-scroll {
    padding: 0 6px 0 0;
    gap: 8px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 214, 108, 0.35) transparent;
}

.live-three-column-layout .live-cats-scroll::-webkit-scrollbar,
.live-three-column-layout .live-channels-scroll::-webkit-scrollbar,
.live-three-column-layout .epg-programs-scroll::-webkit-scrollbar {
    width: 6px;
}

.live-three-column-layout .live-cats-scroll::-webkit-scrollbar-thumb,
.live-three-column-layout .live-channels-scroll::-webkit-scrollbar-thumb,
.live-three-column-layout .epg-programs-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 214, 108, 0.35);
    border-radius: 6px;
}

.live-three-column-layout .live-cats-scroll::-webkit-scrollbar-track,
.live-three-column-layout .live-channels-scroll::-webkit-scrollbar-track,
.live-three-column-layout .epg-programs-scroll::-webkit-scrollbar-track {
    background: transparent;
}

/* ---------- Categorias (Compartilhado entre Canais Ao Vivo e VOD) ---------- */
.live-cat-pill,
.live-three-column-layout .live-cat-pill {
    min-height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.3);
    color: var(--lv-text);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    content-visibility: auto;
    contain-intrinsic-size: auto 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.live-cat-pill:hover,
.live-cat-pill:focus-visible,
.live-three-column-layout .live-cat-pill:hover,
.live-three-column-layout .live-cat-pill:focus-visible {
    background: rgba(20, 32, 58, 0.85) !important;
    border-color: rgba(0, 255, 136, 0.55);
    transform: scale(1.02);
    box-shadow: inset 0 0 14px rgba(0, 255, 136, 0.12), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.live-cat-pill.active,
.live-three-column-layout .live-cat-pill.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.22) 0%, rgba(0, 229, 255, 0.16) 100%) !important;
    border-color: #00ff88;
    box-shadow: inset 0 0 16px rgba(0, 255, 136, 0.18), 0 4px 18px rgba(0, 255, 136, 0.25);
}

.live-cat-pill .cat-name-icon,
.live-three-column-layout .live-cat-pill .cat-name-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.live-cat-pill .cat-name-icon span:last-child,
.live-three-column-layout .live-cat-pill .cat-name-icon span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    font-weight: 700;
}

.live-cat-pill .cat-ico,
.live-three-column-layout .live-cat-pill .cat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(0, 255, 136, 0.12);
    color: #00ff88;
    flex-shrink: 0;
}

.live-cat-pill .cat-count-badge,
.live-three-column-layout .live-cat-pill .cat-count-badge {
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-cat-pill.active .cat-count-badge,
.live-three-column-layout .live-cat-pill.active .cat-count-badge {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.3);
}

/* ---------- Canais ---------- */
.live-three-column-layout .live-channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 14px 0 12px;
    border-radius: 14px;
    background: rgba(13, 21, 38, 0.5) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 52px;
}

.live-three-column-layout .live-channel-row:hover,
.live-three-column-layout .live-channel-row:focus-visible {
    background: rgba(20, 32, 58, 0.85) !important;
    border-color: rgba(0, 255, 136, 0.55);
    transform: scale(1.025);
    box-shadow: inset 0 0 14px rgba(0, 255, 136, 0.12), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.live-three-column-layout .live-channel-row.active {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.22) 0%, rgba(0, 229, 255, 0.14) 100%) !important;
    border: 1.5px solid #00ff88;
    box-shadow: inset 0 0 16px rgba(0, 255, 136, 0.18), 0 0 20px rgba(0, 255, 136, 0.25);
}

.live-three-column-layout .live-ch-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.live-three-column-layout .live-ch-logo-wrap {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.live-three-column-layout .live-ch-logo {
    width: 100%;
    height: 100%;
    padding: 3px;
    border: none;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}

.live-three-column-layout .live-ch-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lv-text);
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-three-column-layout .live-channel-row.active .live-ch-title {
    font-weight: 800;
    color: #ffffff;
}

.live-three-column-layout .live-ch-fav-btn {
    background: transparent;
    border: none;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 215, 0, 0.45);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.live-three-column-layout .live-ch-fav-btn:hover {
    color: #ffd700;
    transform: scale(1.15);
}

.live-three-column-layout .live-ch-fav-btn.active {
    color: #ffd700;
}

.live-three-column-layout .live-col-scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    color: rgba(0, 214, 108, 0.6);
    cursor: pointer;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.live-three-column-layout .live-col-scroll-arrow:hover {
    color: #ffd700;
}

.live-three-column-layout .live-empty-state {
    text-align: center;
    padding: 40px 10px;
    color: var(--lv-text-dim);
    font-size: 0.92rem;
    border-radius: 12px;
    background: var(--lv-panel);
    border: 1px dashed var(--lv-border);
}

/* ---------- Preview + EPG ---------- */
.live-three-column-layout .live-col-preview-epg {
    gap: 10px;
    min-height: 0;
}

.live-three-column-layout .mini-player-box {
    max-height: none;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.live-three-column-layout .mini-player-box video {
    object-fit: contain;
    background: #000;
}

.live-three-column-layout .live-preview-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.live-three-column-layout .live-preview-info-card .btn-live-play-main {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00ff88 0%, #00e5ff 100%);
    border: none;
    color: #070b14;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.live-three-column-layout .live-preview-info-card .btn-live-play-main:hover {
    transform: scale(1.08);
    box-shadow: 0 0 26px rgba(0, 255, 136, 0.6);
}

.live-three-column-layout .live-preview-title-wrap {
    flex: 1;
    min-width: 0;
}

.live-three-column-layout .live-preview-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.live-three-column-layout .live-preview-name-row h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-three-column-layout .preview-channel-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.live-three-column-layout .preview-channel-status {
    margin: 3px 0 0;
    font-size: 0.8rem;
    color: var(--lv-text-dim);
    line-height: 1.35;
}

.live-three-column-layout .epg-timeline-box {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: 0;
}

.live-three-column-layout .epg-programs-scroll {
    gap: 8px;
    padding-right: 4px;
}

.live-three-column-layout .epg-prog-card {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(13, 21, 38, 0.5) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-three-column-layout .epg-prog-card.now-playing {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.18) 0%, rgba(0, 229, 255, 0.12) 100%) !important;
    border: 1px solid rgba(0, 255, 136, 0.5);
    box-shadow: 0 4px 18px rgba(0, 255, 136, 0.2);
}

.live-three-column-layout .epg-prog-header {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.live-three-column-layout .epg-prog-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.live-three-column-layout .epg-prog-dot.green {
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

.live-three-column-layout .epg-prog-dot.purple,
.live-three-column-layout .epg-prog-dot.gold {
    background: #00e5ff;
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

.live-three-column-layout .epg-badge-now {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #00ff88, #00e5ff);
    color: #070b14;
    letter-spacing: 0.5px;
}

.live-three-column-layout .epg-prog-time {
    font-size: 0.88rem;
    font-weight: 700;
    color: #00e5ff;
    white-space: nowrap;
}

.live-three-column-layout .epg-prog-card.now-playing .epg-prog-time {
    color: #00ff88;
    font-weight: 800;
}

.live-three-column-layout .epg-prog-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-three-column-layout .epg-prog-desc {
    margin: 5px 0 0 16px;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-three-column-layout .epg-prog-card.now-playing .epg-prog-desc {
    color: #cbd5e1;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
    .live-three-column-layout .metric-chip:nth-child(3) {
        display: none;
    }
}

@media (max-width: 1100px) {
    .live-three-column-layout .live-metrics-header {
        flex-wrap: wrap;
    }
    .live-three-column-layout .live-metrics-right {
        flex-basis: 100%;
    }
    .live-three-column-layout .live-columns-body {
        grid-template-columns: minmax(200px, 0.8fr) minmax(260px, 1.2fr) minmax(260px, 1fr);
    }
}

@media (max-width: 900px) {
    .live-three-column-layout .live-columns-body {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
    .live-three-column-layout .live-cats-scroll,
    .live-three-column-layout .live-channels-scroll {
        max-height: 50vh;
    }
}

/* ==========================================================================
   UNIFICAÇÃO TOTAL VOD (FILMES, SÉRIES, MÚSICAS & RÁDIOS) - TEMA VERDE & DOURADO
   ========================================================================== */
#vod-player-main {
    flex: 1;
    display: flex;
    gap: 12px;
    padding: 8px 16px 14px;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

.vod-col-categories {
    width: 290px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    padding: 0;
}

.vod-col-categories .live-search-input-wrap {
    height: 50px;
    margin-bottom: 8px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--lv-panel);
    border: 1px solid var(--lv-border);
    flex-shrink: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vod-col-categories .live-search-input-wrap:focus-within {
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 214, 108, 0.22);
}

.vod-col-categories .live-search-input-wrap svg {
    color: #00ff88;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.vod-col-categories .live-search-input-wrap input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: #ffffff;
}

.vod-col-categories .live-search-input-wrap input::placeholder {
    color: var(--lv-text-dim);
}

.vod-col-categories .live-cats-scroll {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 6px 0 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 214, 108, 0.35) transparent;
}

.vod-col-categories .live-cats-scroll::-webkit-scrollbar {
    width: 6px;
}

.vod-col-categories .live-cats-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 214, 108, 0.35);
    border-radius: 6px;
}

.vod-col-categories .live-cats-scroll::-webkit-scrollbar-track {
    background: transparent;
}

/* Área de Conteúdo VOD */
#vod-player-main .content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 0 8px 16px;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 214, 108, 0.35) transparent;
}

#vod-player-main .content-area::-webkit-scrollbar {
    width: 6px;
}

#vod-player-main .content-area::-webkit-scrollbar-thumb {
    background: rgba(0, 214, 108, 0.35);
    border-radius: 6px;
}

#vod-player-main .section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 8px 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--lv-border);
}

#vod-player-main .section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.section-title-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vod-title-search-wrap {
    height: 42px;
    width: 260px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--lv-panel);
    border: 1px solid var(--lv-border);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.vod-title-search-wrap:focus-within {
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 214, 108, 0.22);
}

.vod-title-search-wrap svg {
    color: #00ff88;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.vod-title-search-wrap input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.92rem;
    color: #ffffff;
}

.vod-title-search-wrap input::placeholder {
    color: var(--lv-text-dim);
}

/* Selector Modo Grade vs Lista */
.view-mode-selector {
    display: inline-flex;
    align-items: center;
    background: var(--lv-panel);
    border: 1px solid var(--lv-border);
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
}

.view-mode-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--lv-text-dim);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.view-mode-btn:hover {
    color: #fff;
    background: rgba(0, 214, 108, 0.12);
}

.view-mode-btn.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.28) 0%, rgba(0, 229, 255, 0.22) 100%);
    border-color: #00ff88;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 255, 136, 0.3);
}

/* Cards de Filmes, Séries e Músicas */
.media-card {
    background: rgba(13, 21, 38, 0.6) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.media-card:hover,
.media-card:focus-visible {
    transform: translateY(-6px) scale(1.03);
    border-color: #00ff88;
    box-shadow: 
        inset 0 0 18px rgba(0, 255, 136, 0.15),
        0 16px 36px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(0, 255, 136, 0.25);
    background: rgba(20, 32, 58, 0.85) !important;
}

.media-poster-box {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #08101e;
    overflow: hidden;
    position: relative;
}

.media-card .play-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88 0%, #00e5ff 100%);
    color: #070b14;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(0, 255, 136, 0.5);
    font-size: 1.1rem;
}

.media-card.music-card {
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(13, 21, 38, 0.6) !important;
}

.media-card.music-card:hover,
.media-card.music-card:focus-visible {
    border-color: #00ff88;
    box-shadow: 
        inset 0 0 18px rgba(0, 255, 136, 0.15),
        0 16px 36px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(0, 255, 136, 0.25);
    transform: translateY(-5px) scale(1.025);
}

.media-grid.view-list .media-card {
    background: rgba(13, 21, 38, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.media-grid.view-list .media-card:hover,
.media-grid.view-list .media-card:focus-visible {
    border-color: #00ff88;
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.2);
    background: rgba(20, 32, 58, 0.85) !important;
}

.media-grid.view-list .btn-list-play {
    background: linear-gradient(135deg, #00ff88, #00e5ff);
    color: #070b14;
    border: none;
    font-weight: 800;
}

.media-grid.view-list .btn-list-play:hover {
    box-shadow: 0 4px 18px rgba(0, 255, 136, 0.45);
}

/* ==========================================================================
   OTIMIZAÇÃO MOBILE COMPLETA (WEB & APK ANDROID / CAPACITOR)
   Smartphones em modo retrato/paisagem, entalhes (notches) e gestos de toque
   ========================================================================== */
@media (max-width: 768px) {
    /* Barra Superior Unificada no Celular */
    .live-metrics-header,
    .live-three-column-layout .live-metrics-header {
        flex-wrap: wrap;
        padding: 8px 10px 4px;
        gap: 8px;
    }

    .live-metrics-left,
    .live-three-column-layout .live-metrics-left {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .live-metrics-header .btn-back-pill,
    .live-three-column-layout .btn-back-pill {
        height: 44px;
        padding: 0 14px;
        font-size: 0.88rem;
        flex-shrink: 0;
    }

    .live-section-tabs,
    .live-three-column-layout .live-section-tabs {
        height: 44px;
        flex: 1;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .live-section-tabs::-webkit-scrollbar {
        display: none;
    }

    .live-sec-tab,
    .live-three-column-layout .live-sec-tab {
        padding: 0 12px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .live-metrics-right,
    .live-three-column-layout .live-metrics-right {
        display: none;
    }

    /* Layout de Canais 3 Colunas no Celular */
    .live-three-column-layout .live-columns-body {
        display: flex;
        flex-direction: column;
        padding: 6px 10px 12px;
        gap: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .live-three-column-layout .live-col-preview-epg {
        order: -1;
        width: 100%;
        flex-shrink: 0;
    }

    .live-three-column-layout .mini-player-box {
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: 220px;
    }

    .live-three-column-layout .live-col-categories {
        width: 100%;
        flex-shrink: 0;
    }

    .live-three-column-layout .live-col-categories .live-cats-scroll {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .live-three-column-layout .live-col-categories .live-cats-scroll::-webkit-scrollbar {
        display: none;
    }

    .live-three-column-layout .live-col-categories .live-cat-pill {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .live-three-column-layout .live-col-channels {
        width: 100%;
        min-height: 300px;
    }

    .live-three-column-layout .live-channels-scroll {
        max-height: 48vh;
        -webkit-overflow-scrolling: touch;
    }

    /* VOD (Filmes, Séries, Músicas) no Celular */
    #vod-player-main {
        flex-direction: column;
        padding: 6px 10px 14px;
        gap: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .vod-col-categories {
        width: 100%;
        flex-shrink: 0;
    }

    .vod-col-categories .live-cats-scroll {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .vod-col-categories .live-cats-scroll::-webkit-scrollbar {
        display: none;
    }

    .vod-col-categories .live-cat-pill {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    #vod-player-main .content-area {
        padding: 0;
        overflow: visible;
    }

    #vod-player-main .section-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-bottom: 8px;
    }

    .section-title-actions {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

    .vod-title-search-wrap {
        width: 100%;
        height: 40px;
    }

    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 10px !important;
    }

    .media-card .play-circle {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    /* Hub Inicial no Celular */
    #hub-view {
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0));
    }

    .hub-brand-logo-row img {
        width: 52px;
        height: 52px;
    }

    .hub-brand-title {
        font-size: 1.7rem;
    }

    .hub-grid-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        min-height: auto;
    }

    .hub-tile-live {
        grid-column: 1 / span 2;
        min-height: 140px;
    }

    .hub-side-actions {
        grid-column: 1 / span 2;
        flex-direction: column;
        gap: 8px;
    }

    .hub-action-btn {
        min-height: 48px;
        padding: 0 16px;
    }

    .hub-action-left {
        font-size: 1.05rem;
    }

    /* Modal e Teclado Numérico no Celular */
    .tv-code-keypad-grid {
        gap: 6px;
    }

    .tv-keypad-btn {
        min-height: 48px;
        font-size: 1.25rem;
    }

    .tv-access-code-screen {
        font-size: 1.7rem;
        letter-spacing: 4px;
        min-height: 54px;
    }

    .tv-qr-pair-card {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .hub-brand-title {
        font-size: 1.45rem;
    }

    .live-metrics-header .btn-back-pill {
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

/* SCROLLABLE MODAL CARD FIX */
.modal-pill-card {
    max-height: 90vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: auto !important;
}

@media (max-width: 768px) {
    .modal-backdrop {
        padding: 14px 10px !important;
        align-items: flex-start !important;
    }
    .modal-pill-card {
        max-height: 94vh !important;
        padding: 24px 16px !important;
        border-radius: 20px !important;
    }
    .login-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ==========================================================================
   OTIMIZAÇÃO MOBILE PORTRAIT 9:16 (SMARTPHONES E TELAS VERTICAIS)
   ========================================================================== */
@media (max-width: 768px) {
    /* Oculta setas de rolagem em touch screens (usuário rola naturalmente com o polegar) */
    .live-col-scroll-arrow {
        display: none !important;
    }

    /* Container de Canais Ao Vivo no formato vertical 9:16 */
    #live-three-column-view {
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
    }

    .live-three-column-layout .live-columns-body {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding: 4px 10px 8px !important;
        gap: 8px !important;
        overflow: hidden !important;
    }

    /* 1. Preview Player Fixo no Topo */
    .live-three-column-layout .live-col-preview-epg {
        order: -2 !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .live-three-column-layout .mini-player-box {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        max-height: 215px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: #000 !important;
        border: 1.5px solid rgba(0, 255, 136, 0.4) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
    }

    /* Card com nome do canal atual e botão play tela cheia */
    .live-preview-info-card {
        padding: 8px 12px !important;
        background: rgba(14, 23, 42, 0.85) !important;
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .live-preview-name-row h3 {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .live-preview-title-wrap p {
        font-size: 0.74rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: rgba(255, 255, 255, 0.65) !important;
    }

    /* Oculta grade EPG longa na vertical para deixar 100% do espaço livre para os canais */
    .live-three-column-layout .epg-timeline-box {
        display: none !important;
    }

    /* 2. Categorias em Barra Deslizante Horizontal (Chips) */
    .live-three-column-layout .live-col-categories {
        order: -1 !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .live-three-column-layout .live-col-categories .live-search-input-wrap {
        height: 38px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        background: rgba(18, 28, 48, 0.9) !important;
    }

    .live-three-column-layout .live-col-categories .live-cats-scroll {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 2px 0 6px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .live-three-column-layout .live-col-categories .live-cat-pill {
        min-height: 34px !important;
        height: 34px !important;
        padding: 0 14px !important;
        font-size: 0.82rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* 3. Lista de Canais Ocupa Todo o Restante da Altura da Tela Vertical */
    .live-three-column-layout .live-col-channels {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .live-three-column-layout .live-channels-scroll {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
        height: 100% !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-right: 4px !important;
    }

    .live-three-column-layout .live-channel-row {
        min-height: 52px !important;
        padding: 8px 12px !important;
        margin-bottom: 6px !important;
        border-radius: 12px !important;
        background: rgba(14, 23, 42, 0.7) !important;
    }

    .live-three-column-layout .live-ch-logo {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }

    .live-three-column-layout .live-ch-title {
        font-size: 0.88rem !important;
    }

    .live-three-column-layout .live-ch-epg {
        font-size: 0.74rem !important;
    }

    /* Player Tela Cheia em 9:16 */
    .video-player-overlay {
        background: #000 !important;
        z-index: 99999 !important;
    }

    .video-container {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .video-container video {
        width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
}

/* ========================================================
   OVERLAYS DE GESTO DO USUÁRIO & POLÍTICA DE AUTOPLAY MOBILE
   ======================================================== */
.video-touch-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10005;
    cursor: pointer;
    animation: fadeInTouch 0.25s ease-out;
}

.touch-play-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 28, 0.95);
    border: 2px solid #ff7a00;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 122, 0, 0.35);
    text-align: center;
    max-width: 300px;
}

.touch-play-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00, #ff4500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 122, 0, 0.6);
    animation: pulseTouchPlay 1.8s infinite;
}

.touch-play-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.touch-play-sub {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.3;
}

@keyframes pulseTouchPlay {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(255, 122, 0, 0.6); }
    50% { transform: scale(1.08); box-shadow: 0 6px 28px rgba(255, 122, 0, 0.9); }
}

@keyframes fadeInTouch {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-unmute-pill {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.92);
    border: 1.5px solid #ff7a00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 10006;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
    animation: bounceUnmute 2s infinite;
    transition: transform 0.2s, background 0.2s;
}

.video-unmute-pill:active {
    transform: translateX(-50%) scale(0.95);
    background: #ff7a00;
}

@keyframes bounceUnmute {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-6px); }
    60% { transform: translateX(-50%) translateY(-3px); }
}

/* ========================================================
   RESPONSIVIDADE COMPLETA DO PLAYER EM DISPOSITIVOS MÓVEIS
   (Preserva Desktop >= 769px)
   ======================================================== */
@media (max-width: 768px) and (orientation: portrait) {
    #video-player-overlay,
    .video-player-overlay {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #000 !important;
        display: none;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 99999 !important;
        overflow: hidden !important;
    }

    #video-player-overlay.active,
    .video-player-overlay.active {
        display: flex !important;
    }

    .video-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100dvh !important;
        margin: auto !important;
        position: relative !important;
    }

    .video-container video,
    #video-player-overlay video {
        width: 100% !important;
        height: auto !important;
        max-height: 100dvh !important;
        object-fit: contain !important;
        margin: auto !important;
    }
}

@media (max-width: 992px) and (orientation: landscape) {
    #video-player-overlay,
    .video-player-overlay {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #000 !important;
        display: none;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 99999 !important;
        overflow: hidden !important;
    }

    #video-player-overlay.active,
    .video-player-overlay.active {
        display: flex !important;
    }

    .video-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100dvh !important;
        position: relative !important;
    }

    .video-container video,
    #video-player-overlay video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}
/* ========================================================
   MOBILE PORTRAIT ALIGNMENT (NEW)
   ======================================================== */
@media (max-width: 768px) and (orientation: portrait) {
    .video-header {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        height: auto !important;
    }

    .video-header-left {
        flex-wrap: wrap !important;
        gap: 6px !important;
        align-items: center !important;
    }

    .video-playing-title-wrap {
        margin: 0 8px !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }

    #video-playing-title {
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .video-header-actions {
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
        justify-content: flex-end !important;
    }

    .player-nav-btn {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }

    .video-container video {
        width: 100% !important;
        height: auto !important;
        max-height: 56vw !important;
        object-fit: contain !important;
        margin: auto !important;
    }

    .video-osd-bottom-bar {
        position: static !important;
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
    }

    .osd-content-wrap {
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }

    .video-container {
        padding-top: 96px !important;
    }
}

/* ============================================================================
   COLOR-CODED HUB TILES
   ============================================================================ */
.hub-tile-live::before { background: radial-gradient(circle at 50% 25%, rgba(239, 68, 68, 0.10), transparent 70%); }
.hub-tile-movies::before { background: radial-gradient(circle at 50% 25%, rgba(59, 130, 246, 0.10), transparent 70%); }
.hub-tile-series::before { background: radial-gradient(circle at 50% 25%, rgba(16, 185, 129, 0.10), transparent 70%); }
.hub-tile-music::before { background: radial-gradient(circle at 50% 25%, rgba(245, 158, 11, 0.10), transparent 70%); }
.hub-tile-favorites.has-favorites::before { background: radial-gradient(circle at 50% 25%, rgba(250, 204, 21, 0.10), transparent 70%); }

.hub-tile-live .hub-tile-icon { color: #ef4444; }
.hub-tile-movies .hub-tile-icon { color: #3b82f6; }
.hub-tile-series .hub-tile-icon { color: #10b981; }
.hub-tile-music .hub-tile-icon { color: #f59e0b; }
.hub-tile-favorites.has-favorites .hub-tile-icon { color: #facc15; }

.hub-tile-live:hover, .hub-tile-live:focus-visible {
    border-color: #ef4444;
    box-shadow: inset 0 0 20px rgba(239, 68, 68, 0.15), 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(239, 68, 68, 0.25);
}
.hub-tile-movies:hover, .hub-tile-movies:focus-visible {
    border-color: #3b82f6;
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.15), 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(59, 130, 246, 0.25);
}
.hub-tile-series:hover, .hub-tile-series:focus-visible {
    border-color: #10b981;
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.15), 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(16, 185, 129, 0.25);
}
.hub-tile-music:hover, .hub-tile-music:focus-visible {
    border-color: #f59e0b;
    box-shadow: inset 0 0 20px rgba(245, 158, 11, 0.15), 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(245, 158, 11, 0.25);
}
.hub-tile-favorites.has-favorites:hover, .hub-tile-favorites.has-favorites:focus-visible {
    border-color: #facc15;
    box-shadow: inset 0 0 20px rgba(250, 204, 21, 0.15), 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(250, 204, 21, 0.25);
}

.hub-tile-live:hover .hub-tile-icon, .hub-tile-live:focus-visible .hub-tile-icon { color: #ef4444; transform: scale(1.08); }
.hub-tile-movies:hover .hub-tile-icon, .hub-tile-movies:focus-visible .hub-tile-icon { color: #3b82f6; transform: scale(1.08); }
.hub-tile-series:hover .hub-tile-icon, .hub-tile-series:focus-visible .hub-tile-icon { color: #10b981; transform: scale(1.08); }
.hub-tile-music:hover .hub-tile-icon, .hub-tile-music:focus-visible .hub-tile-icon { color: #f59e0b; transform: scale(1.08); }
.hub-tile-favorites.has-favorites:hover .hub-tile-icon, .hub-tile-favorites.has-favorites:focus-visible .hub-tile-icon { color: #facc15; transform: scale(1.08); }
